- Supports 'scheduled' date for tasks, which represent the earliest opportunity
to work on a task.
- Added unit tests for urgency.
- Implemented color rule.
- Added scheduled to 'info' report.
- Updated assorted documentation.
- Removed comments in default rc because they are never seen.
- Added (broken) 'ready' report, which is like 'next' but only for ready tasks.
- Allow UUIDs and IDs range when modifying task dependencies.
- Update man page.
- Add unit tests.
- Fatorize code when adding and removing dependencies in Task.cpp.
- Complete the previous fix: dates in the journal entries are also formatted
according to the correct configuration variable.
- Add unit tests.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Instead of checking if a date in its epoch representation has changed, 'task
edit' checks if a date has changed in its 'dateformat' representation.
- The check has not been extended to the annotations for a technical reason
(bug #705).
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- The dates shown and accepted when editing are formated using dateformat even
for annotations (dateformat.annotation is thus ignored).
- No test is provided because it involves an external editor.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Fixed bug #991, which removes an obsolete consistency check.
- Removed 'annotations' example from man page, because it is obsolete.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Fixed bug #987, so that total active time does not continue to accumulate
after an active task is completed.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Introduced a new filter optimization that recognizes filters with no 'OR', or
'XOR' operators, includes IDs, but does not include UUIDs. This combination
means completed.data is not referenced.
- Fixed bug #837, which caused incorrect urgency calculations for tasks that
have completed dependencies, and problems when editing those tasks (thanks
to Matt Kraai).
- Added Task::addDependency (const std::string&) method for reconstructing
dependencies on tasks with no ID.
- Modfified Task::urgency_blocked so that it considers the blocking task's
status. This is an expensive test, and so it is wrapped by a cheaper test
to see if there are/were any dependencies at all. This means that urgency
calculations are not slowed for tasks without dependencies, and is slower
but more accurate for tasks that do have dependencies.
- Modified edit command so that dependencies are shown as IDs or UUIDs
depending on whether the task is pending or not.
- Modified edit command so that dependencies are parsed as IDs or UUIDs
depending on whether the task is pending or not.
- Modified wording in the template of the edit command to reflect the above.
- Added unit tests bug.837.t.
- When bulk tasks are modified, the "project changed" messages are
now retained until processing is completed, so that only one message
per project is generated.
- Fixed bug #552, where 'rc.verbose=off' suppressed warnings (thanks to Peter
De Poorter).
- Fixed bug #863, which suppressed report labels with rc.verbose=off (thanks to
Michelle Crane).
Manually include unistd.h in a couple of places get things building with gcc
4.7, which removed it from the global namespace. This fixes the following build
errors:
src/A3.cpp:283:3: error: 'STDIN_FILENO' was not declared in this scope
src/commands/CmdEdit.cpp:598:30: error: 'getpid' was not declared in this scope
src/commands/CmdEdit.cpp:603:47: error: 'chdir' was not declared in this scope
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Fixed bug that caused only parent recurring tasks to have their attributes
properly removed.
- When duplicating a parent recurring task, a new recurring parent task is
created. When a child recurring task is duplicated, a plain task is created.
- Added unit tests.
- Thanks to Jennifer Cormier.
- Fixed bug #636, which causes the burndown reports to not honor the
_forcecolor=off setting (thanks to Steve Rader, Uli Martens).
Signed-off-by: Paul Beckingham <paul@beckingham.net>