Commit graph

905 commits

Author SHA1 Message Date
Paul Beckingham
d390433ec7 CmdCommands: Added 'commands' command to show command internal details 2015-08-01 15:47:21 -04:00
Paul Beckingham
752e737f18 Command: Added DNA for commands 2015-08-01 11:20:17 -04:00
Paul Beckingham
e0f7983a28 TW-1621: Recurrent parent tasks shouldn't be counted in history
- Tthanks to Denis Kasak.
2015-07-29 00:04:16 -04:00
Paul Beckingham
51cf195b99 CmdImport: JSON parse errors are assumed to imply old-style format 2015-07-28 23:22:04 -04:00
Paul Beckingham
0f4d3c1d60 Task: Dependencies are exported as a JSON array
- The 'json.depends.array' setting controls whether dedendencies are encoded as
  a JSON array, or comma-separated string.
- The default value is on.
- Both forms are imported.
2015-07-28 21:54:29 -04:00
Paul Beckingham
0747cc38aa CmdImport: Removed unused method 2015-07-28 00:20:28 -04:00
Paul Beckingham
c2c26b338b CmdImport: Added support for free-form JSON import 2015-07-27 20:48:51 -04:00
Paul Beckingham
97e52c8f17 CmdInstall: Removed obsolete, unlinked code 2015-07-26 14:17:08 -04:00
Paul Beckingham
3158883dc4 Cleanup: De-tabbed source 2015-07-26 14:13:29 -04:00
Paul Beckingham
5b61420b52 CmdCommands: zshCommand::operator< wanted to be const for clang 3.2 2015-07-26 14:12:36 -04:00
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