Commit graph

3464 commits

Author SHA1 Message Date
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
Leo
284ad21466 French (fra-FRA) Localization
- The latest translation update from leowzukw.
2014-07-10 18:18:03 -04:00
Paul Beckingham
32566c9844 Bug
- Segfault when 'project:android' is split into 'and' and 'roid' (thanks to
  Richard Boß).
2014-07-07 21:43:09 -04:00
Paul Beckingham
af75fa8b05 TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task (thanks
         to Sitaram Chamarty).
2014-07-06 17:19:29 -04:00
Wilhelm Schuermann
7548ce662a TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-06 14:11:10 -04:00
Paul Beckingham
0c1fa8b20e TW-288
- TW-288 `task edit` mangles descriptions with embedded newlines (thanks to
         Kevin Ballard).
2014-07-06 12:14:44 -04:00
Paul Beckingham
68ceea953a TW-1293, TW-1294
- TW-1293 Modifying or deleting a child task does not propagate if there are no
          siblings (thanks to darkfeline).
- TW-1294 Modifying a child task does not propagate to parent (thanks to
          darkfeline).
2014-07-06 09:55:59 -04:00
Paul Beckingham
e3d7479211 CmdUrgency
- Removed unnecessary variable.
2014-07-06 09:30:00 -04:00
Paul Beckingham
2e27ed0268 Code Cleanup
- Removed unnecessary include.
- Removed extra whitespace.
2014-07-06 09:29:32 -04:00
Paul Beckingham
6fb1cbdc7f CMake
- Removed 'args' binary, which is no longer needed.
2014-07-06 09:24:14 -04:00
Paul Beckingham
5697270ecf TW-252
- TW-252 task done - Doesn't stop task before marking complete (thanks to
         Renato Alves).
2014-07-06 00:47:53 -04:00
Paul Beckingham
75af8d6ca4 Task
- The ::remove method only needs to set ::recalc_urgency if the attribute was
  actually removed.
2014-07-06 00:36:16 -04:00
Paul Beckingham
c54a17089a Dates
- Converted ::isDay to use Date::dayOfWeek.
2014-07-06 00:20:25 -04:00
Paul Beckingham
d5919d9608 Dates
- Removed unused ::leapYear function.
2014-07-06 00:10:48 -04:00