Commit graph

3377 commits

Author SHA1 Message Date
Paul Beckingham
50ac189693 Parser
- Converted ::applyOverrides to use collect.
2014-08-17 12:18:01 -04:00
Paul Beckingham
bbff0123b0 Parser
- Modified ::resolveAliases to use collect.
2014-08-17 12:12:11 -04:00
Paul Beckingham
4645bbc85d Parser
- Modified ::findOverrides to use collect.
2014-08-17 12:10:51 -04:00
Paul Beckingham
f1a61aaeb6 Parser
- Modified ::findCommand to use collect.
2014-08-17 12:10:08 -04:00
Paul Beckingham
4ef7d9c7fb Parser
- Modified ::findTerminator to look at all nodes.
2014-08-17 12:08:56 -04:00
Paul Beckingham
fbf8550274 Parser
- ::findBinary diagnostics.
2014-08-17 12:07:31 -04:00
Paul Beckingham
d1e38a7843 Parser
- Converted ::findTerminator to use collect.
2014-08-17 11:56:34 -04:00
Paul Beckingham
b84736a05f Parser
- Added ::collect method for recursive node gathering that needs some local
  persistence.
2014-08-17 11:37:08 -04:00
Paul Beckingham
6a9cca82d7 Parser
- Converted ::findOperator to use recursive scan.
2014-08-17 01:33:41 -04:00
Paul Beckingham
34215449a8 Parser
- Converted ::findTag to use recursive scan.
2014-08-17 01:20:10 -04:00
Paul Beckingham
c681017961 Parser
- Converted ::findSubstitution to use recursive scan.
2014-08-17 01:17:05 -04:00
Paul Beckingham
0e86233a0a Parser
- Converted ::findPattern to use recursive scan.
2014-08-17 01:13:01 -04:00
Paul Beckingham
4b47229e8f Parser
- Marked ::resolveAliases as needing recursion.
2014-08-17 01:07:27 -04:00
Paul Beckingham
989c503446 Parser
- Converted ::findAttribute to use recusive ::scan.
2014-08-17 01:04:08 -04:00
Paul Beckingham
3a8d42dae7 Parser
- Converted ::findAttributeModifier to use the recursive scanner.
2014-08-17 00:49:20 -04:00
Paul Beckingham
24c2c0cbee Parser
- ::scan should skip nodes tagged with both TERMINATOR and TERMINATED.
2014-08-17 00:43:26 -04:00
Paul Beckingham
ccecec6895 Parser
- Lexemes not immediately recognized in ::initialize MUST be tagged with "?".
2014-08-17 00:42:23 -04:00
Paul Beckingham
3c612a8551 Parser
- Converted ::findTerminator to use the recursive scanner.
2014-08-17 00:41:11 -04:00
Paul Beckingham
fb32b160b8 Parser
- Corrected comment regarding instantly recognized lexemes in ::initialize.
2014-08-17 00:31:45 -04:00
Paul Beckingham
7848b9284d Parser
- Modified ::scan to be recursive, which will now allow arbitrary parse tree
  depth.
2014-08-17 00:26:41 -04:00
Paul Beckingham
3145134953 Parser
- Improved comment. It's an important comment.
2014-08-16 23:53:56 -04:00
Paul Beckingham
314ac28a0f Parser
- Implemented ::scan, which iterates over parse tree nodes and calls back.
  This method skips parent nodes, terminated nodes, and nodes without the '?'
  tag.
2014-08-16 23:53:22 -04:00
Paul Beckingham
1a17aac77b TW-1377
- TW-1377 Tags in default.command are treated as "operator text".
2014-08-16 16:38:04 -04:00
Paul Beckingham
b540257a34 Config
- The 'blocking' report has no business reporting a 'parent' column.
2014-08-16 16:20:14 -04:00
Paul Beckingham
5c6c14e21b TW-1381
- TW-1381 blocking report exits with "Unknown error" and exit code 3.
2014-08-16 16:14:28 -04:00
Paul Beckingham
77047cf07c Column
- Added a missing method to access Column::_name.
2014-08-16 16:12:46 -04:00
Paul Beckingham
b235b6ca60 Config
- Consistent ordering, for readability and easy comparison.
2014-08-16 14:44:56 -04:00
Paul Beckingham
69eb9e8df1 CmdDuplicate
- When duplicating a task, reset the ID, so that TDB2::add can set it properly.
2014-08-16 14:26:05 -04:00
Paul Beckingham
6faf6bb678 TDB2
- Now updates the task ID of any new task, therefore avoiding off-by-one
  errors that occur when code calls TDB2::next_id.
2014-08-16 14:20:00 -04:00
Paul Beckingham
fa4fba6573 Code Cleanup
- Corrected comment which was saying the opposite of what happens.
2014-08-16 10:50:05 -04:00
Paul Beckingham
ce07b9ba7b Code Cleanup
- Removed unused attribute lookup from Task::validate.
2014-08-16 10:46:55 -04:00
Paul Beckingham
e91a6a1897 Color
- Removed obsolete second index for color.
2014-08-16 10:40:18 -04:00
Paul Beckingham
1ccc284cc7 Safety Valve Override
- Support 'allow.empty.filter', defaulting to 'yes', but if 'no' disallows the
  combination of a write command and an empty filter.  Ordinarily this is just
  a warning that requires confirmation (thanks to Lee Lieske).
2014-08-11 12:32:11 -04:00
Paul Beckingham
c2ffee1352 Config
- Corrected typo in config.
- Added example values for taskd.trust.
2014-08-11 11:34:24 -04:00
Paul Beckingham
8ee02c8bac Context
- If Hooks::onExit indicates changes, TDB2::commit is called.
2014-08-09 21:06:58 -04:00
Paul Beckingham
4ef189d7b6 Hooks
- ::onExit now indicates whether changes were made.
2014-08-09 21:06:16 -04:00
Paul Beckingham
3136fa1746 Context
- Added clarifying comment to the strange test in ::verbose.
2014-08-09 20:39:18 -04:00
Paul Beckingham
6209529aaa TDB2
- In debug mode, if any TF2 objects are dirty, they speak up.
2014-08-09 20:26:51 -04:00
Paul Beckingham
9996e5adef Hooks
- Correct handling for JSON and non-JSON output.
2014-08-09 20:19:02 -04:00
Paul Beckingham
2ea9b8786e Hooks
- It is safe to call free() with a null pointer.
2014-08-07 07:51:22 -04:00
Paul Beckingham
0825ce3c56 TDB2
- Updated ID:UUID mapping on ::add, which is the first part of the fix for
  TW-1389.
2014-08-06 10:45:15 -04:00
Paul Beckingham
cb2b1b1e37 Bug
- The 'diagnostics' command obeys color settings.
2014-07-28 00:59:22 -04:00
Paul Beckingham
75fe62149d TW-1359
- TW-1359 "one-two-three" in description triggers Malformed ID error.
2014-07-13 23:40:40 -04:00
Richard Boß
f998037086 Typo
- Fixed typo in 'newest' and 'oldest' report definitions.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-13 14:24:24 -04:00
Paul Beckingham
e8cd1c8eb0 Config
- Updated report titles.
2014-07-10 23:57:39 -04:00
Paul Beckingham
fae31e5e4d Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-07-10 23:00:17 -04:00
Paul Beckingham
4a81dc89f2 Config
- Added listing breaks on the 'project' columns, for the 'list' and 'minimal'
  reports.
2014-07-10 22:56:07 -04:00
Paul Beckingham
ab3935ac85 TW-193
- TW-193 Support listing breaks.
2014-07-10 22:48:17 -04:00
Paul Beckingham
bd7e66a939 Context
- Improved sort column parsing to include an optional trailing solidus, in
  addition to the +/- sort direction.
2014-07-10 22:14:35 -04:00
Paul Beckingham
9c2aea6d62 ViewTask
- When supplied with a vector of attribute names, can insert spacing into the
  rendered output when values change.  These we call listing breaks.
2014-07-10 21:34:17 -04:00