Commit graph

1349 commits

Author SHA1 Message Date
Paul Beckingham
46ab996018 CmdStart: Syntax error 2016-05-10 20:45:04 -04:00
Paul Beckingham
df27564231 CmdStop: Simplified code 2016-05-10 20:43:38 -04:00
Paul Beckingham
b8eb23ceef CmdCancel: Simplified code 2016-05-10 20:42:08 -04:00
Paul Beckingham
990117a4c9 CmdContinue: Simplified code 2016-05-10 20:39:23 -04:00
Paul Beckingham
023d4ba1bc CmdStart: Switched to Range::open 2016-05-10 20:36:51 -04:00
Paul Beckingham
f101962008 Range: Added ::open 2016-05-10 20:33:50 -04:00
Paul Beckingham
5952652e67 data: Fixed bug in flatten which yielded multiple intervals 2016-05-10 20:00:33 -04:00
Paul Beckingham
0d0bb19b35 CmdTrack: Removed unused vector 2016-05-10 19:59:16 -04:00
Paul Beckingham
86ff9189bd data: Renamed 'collapse' to 'flatten', for accuracy 2016-05-10 19:57:45 -04:00
Paul Beckingham
bd5121e2c8 Rules: Fixed bug where all values were tokenized, thereby introducing spaces 2016-05-10 19:54:27 -04:00
Paul Beckingham
d7ad32b6d3 Rules: Removed unused method 2016-05-10 19:51:54 -04:00
Paul Beckingham
a2e21d14a0 Range: Implemented ::encloses 2016-05-09 17:13:01 -04:00
Paul Beckingham
2770103f7d helper: Removed obsolete getExcludedRanges 2016-05-09 00:03:47 -04:00
Paul Beckingham
33827a2da0 data: Fixed bug in subtractRanges 2016-05-07 00:14:02 -04:00
Paul Beckingham
7638499f44 data: Implemented getUntrackedRanges 2016-05-07 00:13:16 -04:00
Paul Beckingham
1c69b54fa7 CmdGaps: Added outline, no formatting 2016-05-07 00:11:07 -04:00
Paul Beckingham
0e23f222b9 CmdClear: Propagated cli, rules, database 2016-05-07 00:10:12 -04:00
Paul Beckingham
97cf6dfddb CmdReportDay: Updated to use the new config settings names 2016-05-06 00:28:43 -04:00
Paul Beckingham
f85295d4dd CmdHelp: Added 'show' command 2016-05-06 00:22:58 -04:00
Paul Beckingham
3bc1acdafd init: Dispatch to CmdShow 2016-05-06 00:16:14 -04:00
Paul Beckingham
e56062da69 CmdConfig: Now delegates to Cmdshow 2016-05-06 00:12:56 -04:00
Paul Beckingham
5df1416f20 CmdShow: Broke out config dump for a show command 2016-05-06 00:12:30 -04:00
Paul Beckingham
73dee3e0da CmdHelp: Added config command details 2016-05-05 22:09:41 -04:00
Paul Beckingham
b0b29b45ae CmdConfig: Now propagates return code on no change 2016-05-05 21:10:20 -04:00
Paul Beckingham
f0cc48f4f1 CmdConfig: Added check for empty file 2016-05-05 20:54:02 -04:00
Paul Beckingham
d879833ebe CmdConfig: Omitted the boolean return 2016-05-05 20:37:57 -04:00
Paul Beckingham
cb05700d20 CmdConfig: Implemented unsetConfigVariable 2016-05-05 19:57:40 -04:00
Paul Beckingham
d56028f9ca CmdConfig: Implemented setConfigVariable 2016-05-05 19:57:19 -04:00
Paul Beckingham
fdabe88c78 CmdConfig: Added ability to show all settings, in hierarchical form 2016-05-05 19:56:16 -04:00
Paul Beckingham
165fc7bf80 CmdGaps: Holidays no longer needed 2016-05-05 19:54:37 -04:00
Paul Beckingham
b419a97d8b CmdConfig: Passed Rules to the set/unset functions 2016-05-05 19:52:04 -04:00
Paul Beckingham
b441f0c020 Rules: Simplified rule parsing 2016-05-05 19:47:53 -04:00
Paul Beckingham
35330b3f09 Rules: Added ::isRuleType 2016-05-05 19:36:55 -04:00
Paul Beckingham
c9501f09dd Build: Included JSON2 parser 2016-05-05 17:53:46 -04:00
Paul Beckingham
c02ebec65a CmdHelp: Added 'interval' syntax help 2016-05-03 08:41:05 -04:00
Paul Beckingham
48eb398c8d CmdHelp: Added 'track' command 2016-05-03 08:40:44 -04:00
Paul Beckingham
c793fed8d7 CmdTrack: If the tracked interval is open or trivial, delegate to CmdStart 2016-05-03 08:28:36 -04:00
Paul Beckingham
ecdfd2879c CmdHelp: Expanded the definition of an interval 2016-05-03 08:09:55 -04:00
Paul Beckingham
7d3fb34a87 data: Added support for 'for <duration>' and removed the last use of 'since' 2016-05-03 08:05:10 -04:00
Paul Beckingham
252a470ef8 CLI: Corrected list of keywords 2016-05-03 07:47:05 -04:00
Paul Beckingham
276b53f2fc data: Distinguished closed intevals from open intervals using hte same separator 2016-05-03 07:21:49 -04:00
Paul Beckingham
3c8ebe976e data: getLatestInterval always returns any open interval before a closed one 2016-05-03 07:10:41 -04:00
Paul Beckingham
7f3dce9efd CmdConfig: Added command handling 2016-05-03 00:38:05 -04:00
Paul Beckingham
8bf0a2a0bc init: Propagates cli, rules to CmdConfig 2016-05-03 00:32:54 -04:00
Paul Beckingham
adae77e99e init: Added :yes as a hint to override confirmation 2016-05-03 00:29:28 -04:00
Paul Beckingham
1b6c6ee274 helper: Corrected :day hint range 2016-05-02 17:18:33 -04:00
Paul Beckingham
28b78f94f5 CmdReport: Renamed 'version' to 'temp.version' to reflect that it's added automatically 2016-05-02 17:16:18 -04:00
Paul Beckingham
2368e211ef CmdReportDay: Corrected location of '+' indicator for open intervals 2016-05-01 21:48:30 -04:00
Paul Beckingham
91831ccf41 CmdReportDay: Only renders open intervals to 'now' instead of EOD 2016-05-01 21:46:27 -04:00
Paul Beckingham
4fc69efcd0 CmdReportSummary: Handles open intervals 2016-05-01 21:05:50 -04:00