31 Commits

Author SHA1 Message Date
Josh Holtrop
2f9c4e7df8 add initial Config class, calculate config fname 2011-02-21 23:04:01 -05:00
Josh Holtrop
cd1fbf332c take dbfile as an argument, default to ~/.dwtt.db 2011-02-21 22:14:04 -05:00
Josh Holtrop
5fc2cb8a53 switching to new GUI, remove CmdWindow 2011-02-08 22:07:08 -05:00
Josh Holtrop
9af4c655b1 only do an implicit out if the start task exists 2011-01-03 15:41:18 -05:00
Josh Holtrop
5fb84110e1 allowed command window to persist across commands 2011-01-03 14:55:44 -05:00
Josh Holtrop
7a10dd335a added Result class to hold command result 2011-01-03 13:53:45 -05:00
Josh Holtrop
b8d96c8b5a added cheap status handler, printing to console 2011-01-03 13:45:56 -05:00
Josh Holtrop
8dac698ca2 show full path to current task in command window 2011-01-03 12:57:24 -05:00
Josh Holtrop
1acaefb193 added short name lookups for tasks 2011-01-03 12:15:54 -05:00
Josh Holtrop
99d37c6268 added start time parameter to CmdWindow 2011-01-03 11:05:40 -05:00
Josh Holtrop
4d641af494 add status line to CmdWindow 2011-01-03 10:58:14 -05:00
Josh Holtrop
987145e530 better type checking, only store >0 time entries 2011-01-03 09:06:05 -05:00
Josh Holtrop
32d4226eb6 fix adding tasks with no parents 2011-01-03 08:31:37 -05:00
Josh Holtrop
24451fa127 temporary print errors to console 2011-01-03 08:31:04 -05:00
Josh Holtrop
7f5aef193d always exit on empty command line 2011-01-03 08:27:08 -05:00
Josh Holtrop
4edabbdf3b processing start, out, and task commands 2011-01-02 22:10:58 -05:00
Josh Holtrop
0ee8461ef2 added command handlers, handling "task" command 2011-01-02 21:42:50 -05:00
Josh Holtrop
e6d8d36aeb loop to handle commands & possibly re-show window 2011-01-01 23:14:12 -05:00
Josh Holtrop
78cb101357 Command constructor: default_time optional 2011-01-01 17:51:04 -05:00
Josh Holtrop
4779e75ffd Changed dbfile argument to be optional, default to ~/.dwtt.db 2011-01-01 17:30:19 -05:00
Josh Holtrop
cc54eb8883 added Command.__str__(), setting the_time with relative time offset 2010-12-29 00:02:05 -05:00
Josh Holtrop
40e36c4a02 separate local module imports 2010-12-28 19:05:08 -05:00
Josh Holtrop
be2789de8d remove -c option, made its behavior the default, fix DataStore bug 2010-12-28 19:02:28 -05:00
Josh Holtrop
1d9f305cf9 moved sqlite code to DataStore.py 2010-12-26 22:09:23 -05:00
Josh Holtrop
3af40dc453 add Command class 2010-12-09 21:47:16 -05:00
Josh Holtrop
920897cf2f fixed usage of "when" sqlite keyword; made dbfile a required argument 2010-12-06 22:37:57 -05:00
Josh Holtrop
9a70a7e9f8 reworked database schema again with foreign keys 2010-12-06 22:24:33 -05:00
Josh Holtrop
27ba8d30d9 reformatted SQL statements 2010-12-05 22:48:22 -05:00
Josh Holtrop
df2d40afb2 passing command back to main program 2010-12-03 00:45:29 -05:00
Josh Holtrop
75059ed223 added skeleton CmdWindow class 2010-12-02 17:59:11 -05:00
Josh Holtrop
b0b8ce1716 initial commit of dwtt, skeleton for now 2010-12-02 16:29:45 -05:00