brian m. carlson
bb3f89f9b0
Add support for removing file format backends.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2015-01-11 17:03:34 +00:00
brian m. carlson
8c71535123
Add the ability to register a file format backend.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2015-01-11 17:01:39 +00:00
brian m. carlson
72c30291fa
manual: document the key bindings.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-17 04:32:57 +00:00
brian m. carlson
21e1d69117
Add "hook" as a synonym for "txn".
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-16 04:00:25 +00:00
brian m. carlson
1f031fad16
Rename transactions to hook, since that's what they are.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-15 02:46:48 +00:00
brian m. carlson
08ded8196b
manual: describe hook directives.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-14 23:41:30 +00:00
brian m. carlson
16c9da38e0
Strengthen check for invalid columns.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-13 21:33:41 +00:00
brian m. carlson
7fdde37c27
Move temporary database creation code into a class.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-12 21:17:26 +00:00
brian m. carlson
e8e4546870
Provide a more useful error for invalid column values.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-11 23:38:47 +00:00
brian m. carlson
eadf33033f
Add missing self argument to exception constructors.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-11 23:38:19 +00:00
brian m. carlson
5a1ffec85d
manual: document column directives.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-10 23:08:56 +00:00
brian m. carlson
3416ca1d93
manual: document exection directives.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-09 12:36:22 +00:00
brian m. carlson
e482bc6e36
Allow completely disabling execution from config file.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-09 00:15:25 +00:00
brian m. carlson
d084fcd18d
manual: document key field directive.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-08 23:47:05 +00:00
brian m. carlson
8c6c5bf3c8
manual: document field definition directives.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-07 16:25:49 +00:00
brian m. carlson
43ff0d4eee
manual: document table definition directives.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-07 16:25:29 +00:00
brian m. carlson
c08856ab16
manual: document format directives.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-05 21:35:49 +00:00
brian m. carlson
d8c099fd9f
manual: document the CSV format exactly.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-04 01:11:05 +00:00
brian m. carlson
2af7432fcd
manual: document comments and extra fields.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-12-03 02:21:14 +00:00
brian m. carlson
bdb8691bd0
manual: document configuration files.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-26 03:18:49 +00:00
brian m. carlson
a48ce88ac1
manual: use Atx-style headers except for document title
...
These are easier to remember than using the Setext-style titles. Also,
move the Data Layout section to a second-level title from a third-level.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-23 21:23:47 +00:00
brian m. carlson
8a2721289c
manual: document schema file format.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-23 21:16:11 +00:00
brian m. carlson
358efbab51
manual: document that CSV is colon-separated.
...
Traditionally, CSV has meant comma-separated values, but in the context
of newfol, it always means colon-separated. Document this.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-23 21:14:45 +00:00
brian m. carlson
9611bf42df
manual: describe the data layout.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-22 23:09:05 +00:00
brian m. carlson
470d0dbe73
manual: expand overview.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-19 03:31:43 +00:00
brian m. carlson
df8e916995
Build PostScript docs by default.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-19 03:19:10 +00:00
brian m. carlson
a78ef81c3a
Set all test files executable.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-18 03:10:22 +00:00
brian m. carlson
7a8d6632d1
Makefile: enhance clean rule.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-11-18 02:23:58 +00:00
brian m. carlson
b61846a3dc
Don't rely on magic array indices in AboutView.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-10-23 22:36:32 +00:00
brian m. carlson
1f2070602d
Localize help output.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-10-22 01:52:26 +00:00
brian m. carlson
a7a13284c8
Note that development follows newer Python 3 versions.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-10-21 00:56:17 +00:00
brian m. carlson
f9cc2980df
Render all views using the session.
...
This ensures that each view will get access to the appropriate session
object.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-20 22:52:29 +00:00
brian m. carlson
438c563871
Format logging text correctly.
...
If passed a single string, the logging code would insert spaces between
each character. Also, it was not possible to print non-string args.
Ensure that the logging behavior is as similar to what print() would
provide as possible,
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-18 10:54:31 +00:00
brian m. carlson
9727fc5967
Allow specifying debug path through the environment.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-18 10:52:02 +00:00
brian m. carlson
08cb029916
Render views from keyboard shortcuts with Session.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-17 23:26:47 +00:00
brian m. carlson
03395e3235
Add session attribute to view objects.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-17 23:26:16 +00:00
brian m. carlson
4b42f4b69e
Localize most of the main program.
...
Some format strings have been converted from the Python 3-style strings
to the %s strings, as these are more common for potential translators.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-16 02:03:33 +00:00
brian m. carlson
21b8a44ccb
newfol: add basic gettext support.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-15 22:57:45 +00:00
brian m. carlson
69f7cd5be2
Write log files in the user's home directory.
...
The log function stored logs in /tmp, but only if the NEWFOL_DEBUG
environment variable was set and logging statements were added.
However, avoid any possibility of attacks by storing this file in the
user's home directory instead.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-14 20:55:41 +00:00
brian m. carlson
67baea4318
Bump version to v6~pre.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-09 23:00:35 +00:00
brian m. carlson
bf9fde8329
Update version number to version 5.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-09 22:55:13 +00:00
brian m. carlson
0f2d370f86
Simplify code for starting GUI.
2014-09-08 22:25:00 +00:00
brian m. carlson
3ca6275c50
Print supported transaction types for --version.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-09-07 23:43:38 +00:00
brian m. carlson
f6c5e4bbb7
Use dict.get instead of catching exceptions.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-08-31 20:30:56 +00:00
brian m. carlson
dc4f8e4909
Ensure that locale character set is UTF-8.
...
newfol uses Unicode strings internally, and Python wants to read strings
from the terminal based on the locale. We want the locale to be in
UTF-8 so that all files are also written that way, and also so that the
behavior is consistent between invocations.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-08-28 23:16:30 +00:00
brian m. carlson
2f0693e87d
Handle editor process failures.
...
If the editor process couldn't be spawned, or it exited nonzero, provide
a message box with a sensible error message to indicate this to the
user.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-08-25 10:32:50 +00:00
brian m. carlson
2ea7c15601
Clarify confusing comment.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-08-21 07:53:39 +00:00
brian m. carlson
182759b9b8
Add basic tests for KeyboardShortcuts.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-08-21 07:42:03 +00:00
brian m. carlson
083faadb12
Allow unsetting a keyboard shortcut.
...
Also make it possible to override an existing shortcut.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-08-21 06:53:50 +00:00
brian m. carlson
8282016c8e
Move a large set of if statements to a table.
...
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2014-08-13 23:08:49 +00:00