Commit graph

614 commits

Author SHA1 Message Date
brian m. carlson
dab9cda656 Remove useless function.
This function was from the first attempt at a curses interface.  Since we're
using urwid now instead of curses directly, we don't need it anymore.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-08 16:09:14 -05:00
brian m. carlson
05d2b16ca2 Change name of export function.
We can't use the name "import" for our import code because it would conflict
with a built-in function.  As a consequence, we use the name import_into
instead.  For consistency, we'll call the export function export_from.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-08 16:06:27 -05:00
brian m. carlson
3f00576062 Create a class to store database data.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-08 16:05:02 -05:00
brian m. carlson
d6eec09d7d Don't import curses needlessly.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-08 15:30:34 -05:00
brian m. carlson
27f731aec4 Move setlocale call so it's not hidden.
setlocale should be the first thing called, and it was, except that it was
hidden among unrelated code.  Move it to the main function so that it's clear
that it's called.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-08 15:28:34 -05:00
brian m. carlson
39acaf3b95 License code under GPLv2 with peter's permission.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-08 15:26:33 -05:00
brian m. carlson
a56f094d0c Move ncurses code into a set of classes.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-08 15:24:37 -05:00
brian m. carlson
a2829333fc Begin work on new urwid interface. 2011-09-08 18:40:49 +00:00
brian m. carlson
17c7938858 Fix code to start ncurses interface. 2011-09-08 18:39:07 +00:00
brian m. carlson
6f711891a4 Remove implemented TODO comment. 2011-09-08 18:37:55 +00:00
brian m. carlson
cf081619af Add a version number. 2011-09-08 18:18:41 +00:00
brian m. carlson
8e3ba5feb5 newfol: use a sane mode for database directory. 2011-09-08 17:42:32 +00:00
brian m. carlson
e7e4d3fb61 newfol: ensure database directory exists. 2011-09-08 17:41:42 +00:00
brian m. carlson
efaefd32a5 Initial commit.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
2011-09-02 17:38:53 +00:00