Commit graph

5515 commits

Author SHA1 Message Date
Paul Beckingham
12941488ce CmdCustom
- Removed redundant pair of parentheses from custom report filters. Only one
  pair is needed.
2014-10-25 13:44:56 -04:00
Paul Beckingham
d0ae05ba1c CLI
- Removed MODIFIABLE tags for FILTER args - pointless.
- Added LITERAL and REGEX tags for ATTMOD values.
2014-10-25 13:43:39 -04:00
Paul Beckingham
22d3852bfd CLI
- Updated ::desugarAttributes to properly handle UDA and PSEUDO args.
- Cleaned up handling or ATTRIBUTE.
2014-10-25 13:42:05 -04:00
Paul Beckingham
7ff55037a6 CLI
- Tagged expanded aliases with ALIAS.
2014-10-25 13:16:31 -04:00
Paul Beckingham
5daf673387 CLI
- Standardized use of 'ATT' and 'ATTR' tags to 'ATTRIBUTE'.
2014-10-25 13:15:24 -04:00
Paul Beckingham
b7efb753b5 Filter
- Rewrote ::pendingOnly to work with CLI instead of Parser.
2014-10-24 23:00:06 -04:00
Paul Beckingham
e0fac11eed CLI
- Argument decomposition now skips terminated args.
2014-10-24 22:01:53 -04:00
Paul Beckingham
dbefd7d6fe CLI
- Tightened restriction in ::categorize.
2014-10-24 22:00:36 -04:00
Paul Beckingham
5add257d8b CLI
- Preserve ORIGINAL tag after ::unTagAll.
2014-10-24 16:33:35 -04:00
Paul Beckingham
ce2679c3fa CLI
- Properly tags TERMINATOR, TERMINATED.
2014-10-24 16:24:35 -04:00
Paul Beckingham
2c6b3b3991 TD-79
- TD-79 Bad error message for wrong hostname configuration (thanks to Jens
        Erat).
2014-10-23 22:46:50 -04:00
Paul Beckingham
959df159fa Eval
- Code cleanup.
2014-10-23 22:42:21 -04:00
Paul Beckingham
014a09cd55 CLI
- Implemented TERMINATOR/TERMINATED detection.
2014-10-23 01:18:42 -04:00
Paul Beckingham
371bb0a5b1 CLI
- Implemented A::unTagAll, to clear all tags.
2014-10-23 01:17:54 -04:00
Paul Beckingham
5d790a07de CLI
- PSEUDO args are no longer considered FILTER.
2014-10-23 00:45:39 -04:00
Paul Beckingham
7f3cc3897e CLI
- Implemented ::findOperators.
2014-10-23 00:45:20 -04:00
Paul Beckingham
fab9fe2a7d Filter
- Modified algorithm for ::pendingOnly.
2014-10-23 00:36:04 -04:00
Paul Beckingham
e4a237fcd3 CLI
- Implemented ::insertJunctions.
2014-10-23 00:34:52 -04:00
Paul Beckingham
8cb287ec69 CLI
- Tags the binary basename as either TW or CALENDAR.
2014-10-22 23:44:31 -04:00
Wilhelm Schuermann
f8a44819c3 ViewTask
- Free space of empty columns if rc.print_empty_columns is set. They were previously sent into nirvana, making the ViewTask destructor miss them.
2014-10-22 23:22:41 -04:00
Renato Alves
d49a2614ba Bug - import/export now output JSON as individual objects
* For JSON as array, json.array=1 behaves as before
* Tests and add-on scripts used in import tests were updated
2014-10-20 20:21:11 +01:00
Renato Alves
b569504139 Unittest - Refresh TW-1418 which still fails on \- 2014-10-20 20:04:59 +01:00
Renato Alves
d09fcf398e Unittest - Adjust failing tests due to split of streams 2014-10-20 18:52:18 +01:00
Renato Alves
efdb31fb90 Unittest - default to not merging stdout/stderr during tests
* Tests will now check that stderr is used for errors
* Tests were adjusted to reflect the API change
2014-10-20 14:01:21 +01:00
Renato Alves
c9102fd79c Unittest - SIGABORT was not being correctly identified
* In Python if the process receives a signal, the exit code is negative
2014-10-20 13:52:02 +01:00
Renato Alves
b4f33ec0c6 Unittest - Replace None by objects representing the state of stdout/err 2014-10-20 13:29:30 +01:00
Paul Beckingham
6dea38806b CLI
- Implemented ::decomposeModЅubstitutions.
2014-10-20 02:04:56 -04:00
Paul Beckingham
5dcc415057 CLI
- Implemented ::decomposeModTags.
2014-10-20 01:48:33 -04:00
Paul Beckingham
f2e533d013 CLI
- Implemented ::decomposeModAttributeModifiers.
2014-10-20 01:33:42 -04:00
Paul Beckingham
626354999c CLI
- Implemented ::decomposeModAttribute.
2014-10-20 01:22:49 -04:00
Paul Beckingham
b484abea4a CLI, Filter
- Moved parse tree dump into Context::debug output.
2014-10-20 01:01:27 -04:00
Paul Beckingham
24219e23a1 CLI
- Renamed unsweeten methods to desugar, because they remove syntactic sugar.
2014-10-20 00:35:00 -04:00
Paul Beckingham
caaa07f889 CLI
- Implemented ::unsweetenIDs.
2014-10-20 00:26:00 -04:00
Paul Beckingham
97f302f276 CLI
- Added constructors to match the overloaded ::attribute methods.
2014-10-20 00:22:47 -04:00
Paul Beckingham
c8f49bcafb CLI
- Added comma (,) to the set of acceptable characters for a UUID list.
2014-10-20 00:22:02 -04:00
Paul Beckingham
811d0e029d Parser
- UUIDs were being rejected because the contain commas, which are actually part
  of a UUID list. This meant that 'task $UUID1,$UUID2 info' failed.
2014-10-19 23:54:08 -04:00
Paul Beckingham
7f61bcecca CLI
- Implemented ::unsweetenUUIDs.
2014-10-19 23:42:16 -04:00
Paul Beckingham
60d356f009 CLI
- Stubbed ::unsweetenUUIDs.
2014-10-19 23:18:25 -04:00
Paul Beckingham
c4bb9fbc96 CLI
- Stubbed ::unsweetenIDs.
2014-10-19 23:17:49 -04:00
Paul Beckingham
83ab844ba4 CLI
- ::unsweetenPatterns no longer clobbers non-FILTER args.
2014-10-19 18:19:27 -04:00
Paul Beckingham
f809f2d819 CLI
- ::unsweetenAttributeModifiers no longer clobbers non-FILTER args.
2014-10-19 18:19:09 -04:00
Paul Beckingham
720cc57192 CLI
- ::unsweetenAttributes no longer clobbers non-FILTER args.
2014-10-19 18:18:48 -04:00
Paul Beckingham
f862ad15e6 CLI
- ::unsweetenTags no longer clobbers non-FILTER args.
2014-10-19 18:18:03 -04:00
Paul Beckingham
cd8f7ddac4 CLI
- Can now safely re-analyze command line if something changes. This required a
  ::analzye method to be called late in Context::initialize.
2014-10-19 17:59:51 -04:00
Paul Beckingham
87538589a6 Context
- Setting rc.debug.hooks or rc.debug.parser to non-zero values also sets
  rc.debug=true, otherwise the output is not visible.
2014-10-19 17:34:35 -04:00
Wilhelm Schuermann
cfe267f2e5 Tests
- tw-1441.t now calls runError() with merge_streams disabled.
- Taskwarrior only displays an error for the first file that is not found, so only check one.
2014-10-19 09:50:54 -04:00
Paul Beckingham
d9222606e7 Hooks
- The on-exit hook can now terminate processing.
2014-10-19 01:47:33 -04:00
Paul Beckingham
7895ea0f42 Hooks
- Added safety measure in case of a hook misfire.
- Made debug output consistent.
2014-10-19 01:32:41 -04:00
Paul Beckingham
23e2719e1a TDB2
- Restored blank line for clarity, now that duplicate debug messages are allowed.
2014-10-19 01:31:03 -04:00
Paul Beckingham
d873a15aa7 Context
- Removed the restriction that debug messages must be unique. Because it's
  insane.
2014-10-19 01:30:24 -04:00