Commit graph

5356 commits

Author SHA1 Message Date
Paul Beckingham
9246176588 CmdDone
- Removed TDB2::commit.
2014-09-08 00:19:07 -04:00
Paul Beckingham
177dda1dd4 CmdDenotate
- Removed TDB2::commit.
2014-09-08 00:16:24 -04:00
Paul Beckingham
77b3f70ba6 CmdDelete
- Removed TDB2::commit.
2014-09-08 00:15:59 -04:00
Paul Beckingham
9400aba1d1 CmdCustom
- Removed TDB2::commit.
2014-09-08 00:15:18 -04:00
Paul Beckingham
38001ed6ff CmdCount
- Removed TDB2::commit.
2014-09-08 00:14:47 -04:00
Paul Beckingham
0875f04bca CmdCalendar
- Removed TDB2::commit.
2014-09-08 00:13:46 -04:00
Paul Beckingham
4ceae16a24 CmdBurndown
- Removed TDB2::commit.
2014-09-08 00:12:57 -04:00
Paul Beckingham
6f68f8a1c0 CmdAppend
- Removed TDB2::commit.
2014-09-08 00:12:08 -04:00
Paul Beckingham
6d6c8b3ac1 CmdAnnotate
- Removed TDB2::commit.
2014-09-08 00:11:38 -04:00
Paul Beckingham
3bdaeb5f91 CmdAdd
- Removed TDB2::commit.
- Removed unnecessary return code.
2014-09-08 00:10:27 -04:00
Paul Beckingham
c4c25706ac Context
- Removed the auto_commit feature, because now every command call TDB2::commit,
  in case a hook script generated new tasks. This is harmless in NOP situations.
2014-09-08 00:08:05 -04:00
Paul Beckingham
f0a2f0d70e Context
- Restructured code that handles initialization failure, which was checking
  the rc value at each step, which is not necessary and confusing.
2014-09-08 00:06:41 -04:00
Paul Beckingham
d290b8792b Context
- Relocated Hooks::onLaunch call from the end of ::initialize to the beginning
  of ::run.
- Added a TDB2::commit between ::dispatch and Hooks::onExit.
2014-09-08 00:04:09 -04:00
Paul Beckingham
6dff1f36bf Hooks
- Added notes regarding the use of 'first', which may be problematic.
2014-09-08 00:01:54 -04:00
Paul Beckingham
fe549094e3 Task
- Added 'modified' attribute in ::validate, if not already present. This is not
  strictly necessary, but it is good to be explicit.
2014-09-07 23:24:07 -04:00
Paul Beckingham
5ce317bb48 Hooks
- Modified ::onExit to remove the indicator that data was modified. This is not
  supported.
2014-09-07 22:56:28 -04:00
Paul Beckingham
a9cf61c1d1 Hooks
- Removed code supporting data modification during the on-exit event.
- Fixed hook script interface descriptions.
2014-09-07 22:44:03 -04:00
Paul Beckingham
4b70a26e60 Hooks
- Clarified the interface for on-exit, as there is no opportunity for scripts
  triggered by this event to modify data directly.
2014-09-07 22:42:41 -04:00
Paul Beckingham
f47054c485 Hooks
- Added README describing the hook system.
- Corrected hook interface details regarding exit codes.
2014-09-07 22:13:31 -04:00
Paul Beckingham
9e45f5e637 Hooks
- Fixed typo in example hook scripts.
2014-09-07 21:59:31 -04:00
Paul Beckingham
01f2db4b48 Documentation
- Updated developer docs, in preparation for beta.
2014-09-07 21:28:34 -04:00
Paul Beckingham
e15907f3f1 Code Cleanup
- Removed unused uti.cpp indentTree function.
2014-09-07 17:32:46 -04:00
Paul Beckingham
adee92a6b9 Code Cleanup
- Removed unused util.cpp escape function.
2014-09-07 17:27:50 -04:00
Paul Beckingham
66bb5b3906 Code Cleanup
- Removed unused util.cpp encode and decode functions.
2014-09-07 17:25:47 -04:00
Paul Beckingham
a7171193ca Task
- Migrated util.cpp encode and decode functions because this is the only place
  they are used.
2014-09-07 17:23:16 -04:00
Paul Beckingham
bffc7a2ac8 Code Cleanup
- Removed unused util.cpp combine function.
2014-09-07 17:14:03 -04:00
Paul Beckingham
4aa79dccfa Code Cleanup
- Removed unused util.cpp round_up_to and burndown_size functions.
2014-09-07 17:10:06 -04:00
Paul Beckingham
ab95ef5ba5 CmdBurndown
- Migrated util.cpp round_up_to and burndown_size functions to CmdBurndown,
  as they are only called once.
2014-09-07 17:06:11 -04:00
Paul Beckingham
4f54578241 Code Cleanup
- Removed unused util.cpp compressIds function.
2014-09-07 16:57:05 -04:00
Paul Beckingham
dd6399aba7 CmdIDs
- Migrated util.cpp compressIds to CmdIDs::compressIds, as this is the only
  place it is used.
2014-09-07 16:54:59 -04:00
Paul Beckingham
8a31ccabdc Code Cleanup
- Removed unused util.cpp delay function.
2014-09-07 16:48:42 -04:00
Paul Beckingham
be104ee7c4 Code Cleanup
- Removed unused util.cpp confirm3 function.
2014-09-07 16:46:20 -04:00
Paul Beckingham
d9d5d004e6 Code Cleanup
- Removed unused text.cpp cutOff function.
2014-09-07 16:39:05 -04:00
Paul Beckingham
fdb4c1f1bc Code Cleanup
- Removed unused text.cpp visible function.
2014-09-07 16:35:51 -04:00
Paul Beckingham
6303f1c436 Code Cleanup
- Removed unused text.cpp guess function.
2014-09-07 16:30:27 -04:00
Paul Beckingham
f17c59b1f6 Code Cleanup
- Removed unused text.cpp split_minimal function.
2014-09-07 16:27:46 -04:00
Paul Beckingham
8a904fc287 Code Cleanup
- Removed unused text.cpp noVerticalSpace function.
2014-09-07 16:21:32 -04:00
Paul Beckingham
3f07173a03 Code Cleanup
- Removed unused text.cpp isWordEnd function.
2014-09-07 16:15:32 -04:00
Paul Beckingham
7890cf0ab7 Code Cleanup
- Removed unused text.cpp isWordStart function.
2014-09-07 16:12:06 -04:00
Paul Beckingham
c1806303a1 Code Cleanup
- Removed unused text.cpp isTokenEnd function.
2014-09-07 16:06:42 -04:00
Paul Beckingham
2f815a4c6a Unit Tests
- Added test to make sure that rc.default.command is used.
- Added test to make sure that the 'information' command is used when there are
  ID/UUID args but no command.
2014-09-07 14:52:57 -04:00
Paul Beckingham
eebe3b0806 Parser
- Changed ::injectDefaults from collectLeaf to collectTerminated, when scanning
  args to construct the "[task next]" feedback.
2014-09-07 14:51:24 -04:00
Paul Beckingham
9e3a8e5c82 Parser
- Restored default.command in ::injectDefaults.
- Restored 'information' command when an ID/UUID is provided, but no CMD.
2014-09-07 14:37:44 -04:00
Paul Beckingham
ac73a47f9b Parser
- Added the beginnings of the lex-only arg classification.
2014-09-07 13:40:29 -04:00
Paul Beckingham
090c80cb90 Parser
- Removed ::appendStdin.
2014-09-07 13:40:00 -04:00
Paul Beckingham
0da5f9160e STDIN
- Removed the stdin reading feature, which has not been enabled, and is more
  problematic than it should be.
2014-09-07 13:38:46 -04:00
Paul Beckingham
68fb1136cc Lexer
- Added notes about additional lexeme types that are needed, long term.
2014-09-07 13:37:46 -04:00
Paul Beckingham
9ddf447321 Unit Tests
- Added a new set of tests for date math. More of these should be added.
  Some fail and are disabled currently.
2014-09-07 11:22:09 -04:00
Paul Beckingham
803ef4fee2 CmdCustom
- Report filters are now properly lexed, which includes the new typeTag.
2014-09-07 01:20:14 -04:00
Paul Beckingham
aab23692f1 Lexer
- Added a new type Lexer::typeTag.
2014-09-07 01:17:48 -04:00