- With P.C. Shyamshankar's blessing, updated the _task script for zsh
by using the new task built-in _commands command to enumerate all
supported commands. This replaces code that forces task usage output,
and parses it for commands.
- Note that _task for zsh lacks attribute completion. We need a zsh
developer to make this enhancement.
- Fixed util.cpp formatSeconds and formatSecondsCompact, that were using
an algorithm that accentuated rounding errors.
- Fixed unit tests that were expecting wrong answers from the wrong
algorithm above.
- Added include file support to Config.cpp.
- Implemented isAbsolutePath helper.
- Added unit tests for isAbsolutePath.
- Fixed small bug in bug.bulk.t.
- Added TODO items to config.t.cpp.
- The 'version' command now complains about use of deprecated color names and
duplicate entries.
- Unit tests verify duplicate detection.
- Unit tests verify deprecated color detection.
- Most validation code moved from command.cpp to Config.cpp.
- Added new attribute modifiers 'word' and 'noword' which find the existence
of whole words, or prove the non-existence of whole words. If a task has
the description "Pay the bill", then "description.word:the" will match, but
"description.word:th" will not. For partial word matches, there is still
"description.contains:th".
- Added unit tests for the text.cpp functions.
- Added unit tests including the new modifiers in filters.
- Added unit tests to parse the new modifiers.
- Modified man page.
- Modified the Context::autoFilter processing to use the new modifiers for
+tag and -tag filtering.
- Added a support email to an error message, while looking at the filter code.
- Added new modifiers to the help report.
- Modified a utf8.t unit test to include an alphanumeric tag, rather than a
smiley face.
- Fixed a broken fix (e7c8114dff) for
the calendar command - previously if task could find no tasks with
due dates, no calendar was displayed, and an error message shown.
That broken fix was only on the 1.9.0 branch and never released.
The correct behavior is to show a line of months. This bug broke
15 unit tests.
- Fixed minor problem in unit tests where the output was not captured,
although this has no bearing on the results.
- Added feature #341 that makes explicit references to the task and taskrc
man pages, both in the auto-generated .taskrc file and the version command
output (thanks to Cory Donnelly).
Signed-off-by: Federico Hernandez <ultrafredde@gmail.com>
- Simplified and make clearer and error message that complained about
things that were beyond user control (thanks to John Florian).
(cherry picked from commit a2152628251c6d8c9bc840b8f36851f4ce680c99)
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Added feature #341 that makes explicit references to the task and taskrc
man pages, both in the auto-generated .taskrc file and the version command
output (thanks to Cory Donnelly).
- Fixed bug that caused task to not properly detect the removal of a
tag when obtaining confirmation from the user fora bulk modification
(thanks to Cory Donnelly).
- The fix to bug #322 means the way default commands are specified
is now a little different. If the command "task rc:x" is run, the
default command no longer needs to also include "rc:x".
- Fixed bug #332 where task complained that the 'recur_ind' custom report
column was invalid. It was misnamed in the documentation, which should
have read 'recurrence_indicator'. Also, the 'tag_indicator' column was
not mentioned anywhere (thanks to T. Charles Yun).
- Added ChangeLog entry for the #333 fix.
- Fixed bug #322 which failed to propagate rc overrides to shell commands.
- Context now properly records overrides to file and variables.
- The text.cpp:split (...) functions can now skip trivial split results.
- Fixed bug #317 which colored tasks in the 'completed' report according to
due dates, which are no longer relevant to a completed task (thanks to
Cory Donnelly).
- Fixed bug that was causing the 'completed' report to sort incorrectly.
- Fixed bug that inadvertently converted the entire command line to
lower case in the shell, rather than just the command, for testing
against the "quit" string (thanks to Juergen Daubert).
- Fixed bug #317 which colored tasks in the 'completed' report according to
due dates, which are no longer relevant to a completed task (thanks to
Cory Donnelly).
- Fixed bug that was causing the 'completed' report to sort incorrectly.