Paul Beckingham
28d0c534b1
CmdContext: Added 'const' for method args that are const
2015-09-05 14:39:52 -04:00
Paul Beckingham
bf80c7d514
Cmd*: Added command DNA, which will ѕoon drive functionality
2015-08-01 15:56:04 -04:00
Daniel Shahaf
5ca1dd540e
zcmdcat: Categorize 'task context'.
2015-07-26 14:00:02 -04:00
Daniel Shahaf
53a702d79a
zcmdcat: Categorize commands.
2015-07-26 13:55:23 -04:00
Paul Beckingham
737cb23546
CLI2: Eliminated CLI
...
- This is a large commit, as all the changes are centered around the elimination
of CLI.
- CLI is no longer compiled.
- Context no longer maintains CLI + CLI2.
- Filter now walks the parse tree and sends to Eval a
std::vector <std::pair <std::string, Lexer::Type>> containing only args tagged
with FILTER.
- Filter more efficiently sets/unsets Eval::debug, by doing it less often.
- The filterExpr.length() check is no longer meaningful, and instead the size of
the std::vector above is used.
- Filter::pendingOnly performs better analysis.
- Filter::safety makes use of the std::vector size also.
- Task::modify makes use of 'canonical' rather than 'name', which is a policy
change, not a fix.
2015-06-24 13:23:56 -04:00
Paul Beckingham
72073b7515
CmdContext: Converted from CLI to CLI2
2015-06-16 21:53:51 -04:00
Paul Beckingham
2f1ca72334
Code: Improved comments regarding filters/args.
2015-06-07 15:34:33 -04:00
Renato Alves
21d5a7fbe8
Display the active context when listing known contexts
2015-06-04 20:14:14 +01:00
Paul Beckingham
5a57dfd70d
C++11: Cleaned up commands code with range-based for
2015-05-11 17:45:15 -04:00
Tomas Babej
85d0e1789a
CmdContext: Validate context's filter upon definition
2015-02-24 16:55:28 -05:00
Tomas Babej
e19c99ce1e
CmdContext: Fix incorrect exception handling
2015-02-24 16:53:23 -05:00
Paul Beckingham
394acae790
CmdContext
...
- Trivіal code edits.
2015-02-23 20:07:53 -05:00
Tomas Babej
1278226c16
CmdContext: Localize the hardcoded strings
2015-02-23 19:22:01 -05:00
Tomas Babej
ee23a099f2
CmdContext: Minor style and message changes
2015-02-23 19:21:50 -05:00
Tomas Babej
09fe5be086
CmdContext: Add show subcommand
2015-02-23 19:19:41 -05:00
Tomas Babej
1a3550541b
CmdContext: Add support for unsetting context
2015-02-23 19:19:38 -05:00
Tomas Babej
371ca27da0
CmdContext: Add support for setting context
2015-02-23 19:19:35 -05:00
Tomas Babej
5f3dd43893
CmdCompletionContext: Implement the context completion list
2015-02-23 19:19:32 -05:00
Tomas Babej
edb54a51b3
CmdContext: Add list subcommand
2015-02-23 19:19:29 -05:00
Tomas Babej
636f6bfd96
CmdContext: Add initial implementation of the delete subcommand
2015-02-23 19:19:24 -05:00
Tomas Babej
e91063426a
CmdContext: Add initial implementation of the context define subcommand
2015-02-23 19:19:18 -05:00
Tomas Babej
49a7e46eaf
CmdContext: Add initial plumbing
2015-02-23 19:19:08 -05:00