Commit graph

995 commits

Author SHA1 Message Date
Daniel Shahaf
aea3091bdb zcmdcat: Refactor for clang 3.0 compatibility 2015-07-26 14:04:58 -04:00
Daniel Shahaf
c78fc47402 zcmdcat: zsh completion: group commands by category 2015-07-26 14:01:59 -04:00
Daniel Shahaf
5ca1dd540e zcmdcat: Categorize 'task context'. 2015-07-26 14:00:02 -04:00
Daniel Shahaf
de9a815063 zcmdcat: Categorize 'task install'. 2015-07-26 13:57:37 -04:00
Daniel Shahaf
53a702d79a zcmdcat: Categorize commands. 2015-07-26 13:55:23 -04:00
Daniel Shahaf
c83f702f58 zcmdcat: Categorize reports. 2015-07-26 13:51:33 -04:00
Daniel Shahaf
8eb965d71d zcmdcat: Initial infrastructure. 2015-07-26 13:49:19 -04:00
Paul Beckingham
5f30c9e2c3 Feature: Extra arg detection
- Commands that do not accept filters or modifications now generate an error
  when extra arguments are specified.
2015-07-25 13:58:15 -04:00
Paul Beckingham
99e0953489 TW-1641: 'edit' should process or reject <mods> arguments
- Thanks to Daniel Shahaf.
2015-07-25 09:39:13 -04:00
Paul Beckingham
41a76c6798 Tags: New 'UDA' and 'ORPHAN' virtual tags. 2015-07-24 23:46:24 -04:00
Paul Beckingham
84b1921b36 CmdInfo: Fixed bug that caused UDA orphans to not be displayed 2015-07-23 22:32:48 -04:00
Daniel Shahaf
9360bd577f Feature: Editing failure stops all editing of multiple tasks
- Thanks to Daniel Shahaf.
2015-07-19 20:23:10 -04:00
Paul Beckingham
063255ba16 TW-1553: Setting defaultheight:0 makes burndown command hang
- Thanks to Tomas Babej.
2015-07-19 17:59:14 -04:00
Paul Beckingham
d66d53a013 CmdColumns: Added <uda> to the sample column formats 2015-07-18 14:38:38 -04:00
Paul Beckingham
afab04b2f7 CmdShow: Fixed text formatting bug
- Two feedback messasges got concatenated, with no spacing in between.
2015-07-17 23:58:18 -04:00
Paul Beckingham
92f79c682b Command: Dead code removal 2015-07-17 13:18:19 -04:00
Paul Beckingham
e8fe6ef773 Documentation: Updated to reflect the '_tags' changes 2015-07-17 09:12:41 -04:00
Daniel Shahaf
b6bf4e6072 _tags: Print virtual tags too. 2015-07-17 09:06:47 -04:00
Paul Beckingham
82802f7f47 CmdInfo: Properly formats ISO durations 2015-07-16 16:14:34 -04:00
Wilhelm Schuermann
8613a49f6e Import: Allow importing JSON arrays
- "export" defaults to JSON array output now.  Make "import" read it
  instead of throwing an error.
2015-07-16 12:37:38 +02:00
Paul Beckingham
b92802c2fb Entities: There is no spoon^H^H^H^H^Huda entity
- The code was trying to canonicalize 'attribute' and 'uda' separately,
  but there are no 'uda' entities.
2015-07-15 19:40:13 -04:00
Paul Beckingham
0990b0d582 TW-1575: task log mangles URLs when quoted
- Thanks to Luke Macken.
2015-07-13 10:41:55 -04:00
Paul Beckingham
012affa46a CmdUnique: New helper command to generate unique value lists 2015-07-12 22:03:00 -04:00
Paul Beckingham
987fab388d CmdCalc: Removed Eval::disambiguity 2015-07-01 17:53:44 -04:00
Paul Beckingham
4820bde41e CmdCalc: Eliminated temporary storage 2015-06-27 23:08:56 -04:00
Paul Beckingham
f96a42d8b0 Feature: Error on virtual tag modification attempt
- An attempt to add or remove a virtual tag is now an error (thanks to Scott M).
2015-06-27 18:39:50 -04:00
Paul Beckingham
b67b2ccc96 CLI2: Added ::addContextFilter, and supporting processing 2015-06-27 15:53:24 -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
f305a973da CmdDenotate: Converted from CLI to CLI2 2015-06-22 14:47:26 -04:00
Paul Beckingham
f8ab97a07e CmdCustom: Converted from CLI to CLI2 2015-06-22 14:46:47 -04: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
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
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
e4ab3574e4 CmdCalendar: Converted from CLI::_args[0] to CLI2::_original_args[0] 2015-06-14 22:33:09 -04:00
Paul Beckingham
8a0bffc5b3 Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5 2015-06-07 15:34:52 -04:00
Paul Beckingham
2f1ca72334 Code: Improved comments regarding filters/args. 2015-06-07 15:34:33 -04:00
Wilhelm Schuermann
e95167a984 Plumbing: Use variadic templates for format()
- Use variadic templates, with a slight twist for properly supporting
  Taskwarrior's l10n strings.
- Adjust code that relied on implicit type conversion which led to
  problems with template instantiation.
- Move some functionality out of format() in order to keep it generic.
2015-06-07 20:54:02 +02:00
Wilhelm Schuermann
e4b9c1f01e Fix "task edit" dropping annotation text after newlines. 2015-06-05 22:25:48 +02:00
Renato Alves
21d5a7fbe8 Display the active context when listing known contexts 2015-06-04 20:14:14 +01:00