- Fixed Bug #1060 where an error that was thrown by undo was not
correctly caught and reported.
- Added a couple of tests to ensure that the correct error was
caught and reported.
- Factorize code for parsing date elements.
- Better order of blocks for parsing date elements.
- Add corresponding minimal-digit date parsing method for reading seconds,
minutes and week.
- Update documentation and test.
- Remove the code related to the format "day of year" (number of day starting
from the January 1) as mktime does not allow to specify it with the field
tm_yday.
- Cleaner check of the date (everything is done by Date::valid).
- Correct hour, minute and second is also checked.
- Undefined variables are put to today in dates (if year and month is not
specified, the current ones are considered). But if a global ones is
specified, lower one are put to their default values (0 or 1).
- When formating real numbers that are between 0 and 1, the width controls the
number of characters that are shown (with width "4", "0.01234" is shown as
"0.01").
- Remove duplicate modify call to TDB2.
- Check if quitting in bulk change only if permission fails.
- Correct test logic (the unit for each operation is the second, not the day).
- Consistency in test for feature.1013.t
- Correctly color deleted tasks.
test
- Removed deprecated 'fg:' and 'bg:' attributes, which involves code,
documentation and tests.
- Cleaned out NEWS file.
- Cleaned out config import synonyms, which should have been deleted a while
ago.
- Removed unused localized strings, but left the 'deprecated' one behind,
because it will be needed.
- Fixed bug #1038, which prints blank lines with bulk changes and when the
verbose attributes does not specify it.
- Lines do a better separation between each changes also.
- Remove the test that prevents 'until' attributes to be modified for
non-recurring tasks (thanks to Stéphane Pezennec).
- Unit test.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Fixed a bug that caused a commond dateformat (YDM-HN) to be misinterpreted
as a UUID. Solution is to increase minimum partial UUID length from 9 to
14.
- Added portable implementation of timegm for non GNU/BSD platforms that
don't have their own implementation
- Removed the use of tm_gmtoff on non GNU/BSD platforms that don't have
it as part of the tm struct in time.h
- Added CMake tests HAVE_TIMEGM and HAVE_TM_GMTOFF
- Fixed bug #1022, where dependencies were note released when a blocking task
was completed (thanks to Arkady Grudzinsky).
- The Task object now caches ::is_blocked and ::is_blocking Booleans that are
determined on pending.data load.
- Simplified and sped up color rule processing using cached values, reducing
the number of map lookups, and removed loop invariants when the rules are
not defined.
- Simplified urgency calculations given the cached values for blocked/blocking.
- On load, pending.data is scanned for accurate blocked/blocking status
determination.
- Obsoleted and removed complex single-task dependency calculations.
- Sped up 'nag' processing by using cached values..
- Modified the 'show' command to consider color.blocking to be valid.
- Added default config value for color.blocking, and included it in the
precedence list ahead of blocked, as it is more important.
- Updated taskrc.5 man page to include the new color.blocking rule, and its
place in the rule precedence.
- Feature #1026, command line overrides are now applied before and after the
creation of the default rc file and data directory, which allows for
programmatic initialization without keystroke synthesis (thanks to Nicholas
Rabenau).