Commit graph

6560 commits

Author SHA1 Message Date
Paul Beckingham
c696a1748a CLI2: Implemented FILTER/MODIFICATION categorization 2015-06-19 10:18:41 -07:00
Paul Beckingham
6c0ba77204 CLI2: Added ::prepareFilter for the deferred parsing of filters 2015-06-19 10:15:01 -07:00
Paul Beckingham
dc5f9e38a6 Context: Convert some CLI calls to CLI2 2015-06-19 07:03:57 -07:00
Paul Beckingham
49e7196dec Context: Removed unused ::clear method 2015-06-17 14:24:14 -07:00
Paul Beckingham
80052949d9 CmdUndo: Converted from CLI to CLI2 2015-06-17 01:41:35 -07:00
Paul Beckingham
f6f89ac333 CmdGet: Converted form CLI to CLI2 2015-06-17 04:16:19 -04:00
Paul Beckingham
12825c5205 CLI2: Added ::getWords and ::getCommand variations
- ::getWords (false) now returns an unfiltered list of command line args,
  specifically any rc.<name>:<value> or rc:<file> args are left uninterpreted.
- ::getCommand (false) now returns the raw command, not the canonical command.
2015-06-17 04:14:37 -04:00
Paul Beckingham
cbf20217dc CmdTimesheet: Converted from CLI to CLI2 2015-06-16 21:54:38 -04:00
Paul Beckingham
bbaf8f4572 CmdSync: Converted from CLI to CLI2 2015-06-16 21:54:27 -04:00
Paul Beckingham
8a7b4440b5 CmdShow: Converted from CLI to CLI2 2015-06-16 21:54:17 -04:00
Paul Beckingham
a24269a0c9 CmdImport: Converted from CLI to CLI2 2015-06-16 21:54:06 -04:00
Paul Beckingham
72073b7515 CmdContext: Converted from CLI to CLI2 2015-06-16 21:53:51 -04:00
Paul Beckingham
1ab3f951c9 CmdColumns: Converted from CLI to CLI2 2015-06-16 21:53:16 -04:00
Paul Beckingham
af9e7fa7fa CmdCalendar: Converted from CLI to CLI2 2015-06-16 21:52:48 -04:00
Paul Beckingham
46060c63c9 CmdBurndown: Converted from CLI to CLI2 2015-06-16 21:52:31 -04:00
Paul Beckingham
672b6b0c66 CmdColor: Converted from CLI to CLI2 2015-06-16 21:46:41 -04:00
Paul Beckingham
f718ec90a5 CmdExec: Converted from CLI to CLI2. 2015-06-16 21:40:36 -04:00
Paul Beckingham
40d019c249 CLI2: ::defaultCommand now expands both _args and _original_args 2015-06-16 21:39:51 -04:00
Paul Beckingham
9ea2702696 CLI2: ::aliasExpansion now expands in both _args and _original_args 2015-06-16 21:39:16 -04:00
Paul Beckingham
bb283de1dd CLI2: Modified ::getWords to ignore either raw or canonicalized command 2015-06-16 21:17:19 -04:00
Paul Beckingham
ba63472068 CLI2: Added ::getCommandRaw
- Used when the canonicalized form is not wanted - just the raw.
2015-06-16 21:15:34 -04:00
Paul Beckingham
e36d358115 CmdCalc: Coneverted to CLI2::getWords 2015-06-14 23:24:11 -04:00
Paul Beckingham
8894dc1244 CmdConfig: Converted to CLI2::getWords 2015-06-14 23:22:27 -04:00
Paul Beckingham
687e7c5e70 CLI2: Added ::getWords, done properly 2015-06-14 23:16:00 -04:00
Paul Beckingham
e4ab3574e4 CmdCalendar: Converted from CLI::_args[0] to CLI2::_original_args[0] 2015-06-14 22:33:09 -04:00
Paul Beckingham
31fb7726c0 Hooks: Converted from CLI to CLI2 2015-06-14 22:29:23 -04:00
Paul Beckingham
afa39de68b Tests: Combined and converted DOM unit tests
- Eliminated dom.t.cpp and therefore dom.t
- Eliminated dom.2.t (perl)
- Created dom.t (python) combining the above
2015-06-14 22:15:33 -04:00
Paul Beckingham
a6c99f3ba5 CLI2: Added ::getCommand 2015-06-14 20:54:01 -04:00
Paul Beckingham
75028f6ad9 DOM: Converted to CLI2::canonicalize 2015-06-14 20:51:21 -04:00
Paul Beckingham
ee03261573 DOM: Converted DOM 'context.args' to use CLI2 2015-06-14 20:50:24 -04:00
Paul Beckingham
ddf44de23d DOM: Converted to use CLI2 2015-06-14 20:45:25 -04:00
Paul Beckingham
323674b08d CLI2: Added ::getBinary 2015-06-14 20:45:06 -04:00
Paul Beckingham
f59724297f CLI2: Added ::defaultCommand 2015-06-14 17:49:16 -04:00
Paul Beckingham
81844753fd CLI2: Removed unused include 2015-06-14 17:48:41 -04:00
Paul Beckingham
778bd4ae2f CLI2: Simplified A2::dump by removing useless node name 2015-06-14 17:47:53 -04:00
Paul Beckingham
68ac07080c CLI2: ::findCommand now return a bool indicating what happened. 2015-06-14 17:45:18 -04:00
Paul Beckingham
9af18183c9 CLI2: Eliminate useless ::disqualifySugarFree 2015-06-14 16:46:38 -04:00
Paul Beckingham
0aff903024 CLI2: Simplified all parsing by removing terminator considerations 2015-06-14 16:39:03 -04:00
Paul Beckingham
2cab600674 CLI2: Added ::handleTerminator
- CLI2::handleTerminator removes all terminator arguments it finds
  and downgrades all subsequent arguments to Lexer::Type::word. This
  simplifies all further processing.
2015-06-14 16:33:34 -04:00
Paul Beckingham
370df8e07f CLI2: Added A::A default ctor 2015-06-14 16:32:44 -04:00
Paul Beckingham
d1e7537e76 CLI2: Simplified ::findCommand 2015-06-14 15:38:27 -04:00
Paul Beckingham
cacc427cbd CLI2: ADded ::findCommand. 2015-06-14 15:29:40 -04:00
Paul Beckingham
9d5a10bd89 CLI2: Added ::lexArguments to perform *all* lexing 2015-06-14 15:27:05 -04:00
Paul Beckingham
ab367145c6 CLI2: Added ::exactMatch. 2015-06-14 15:11:21 -04:00
Paul Beckingham
ad69f84794 CLI2: Added ::canonicalize 2015-06-14 15:05:03 -04:00
Paul Beckingham
addcbe15d5 CLI2: Removed unnecessary TW and CALENDAR tags 2015-06-14 14:21:55 -04:00
Paul Beckingham
c305768ed8 CLI2: Now relies on Lexer::Type::separator, rather than literal "--". 2015-06-14 14:14:27 -04:00
Paul Beckingham
078e9fe751 CLI2: Tagging the binary as 'ORIGINAL' is no longer useful 2015-06-14 14:13:51 -04:00
Paul Beckingham
e701d6d607 CLI2: Eliminated unused ::removeAttribute. 2015-06-14 14:13:02 -04:00
Paul Beckingham
d43ca96056 CLI2: aliasExpansion & argv[0] handling
- Added ::handleArg0 method to clean up ::analyze.
- Implemented ::aliasExpansion, which now applies to lexemes, not full command
  line arguments.
2015-06-14 09:28:20 -04:00