- Fixed bug in color.duetoday.t: now that the definition of overdue
means 'due < now', adding a task with 'due:now' instantly creates
an overdue task, not a due task. To create a due task, use 'due:1hr'
or some duration which gets added to now.
- Fixed bug in extractLine that performed std::string::length when it
should have use the new characters function. The problem was incorrect
hyphenation with utf8 text in narrow fields.
- The dependencies.t unit test script failed to unlink completed.data,
which polluted the subsequent test script.
- Simplified some Perl in start.t.
- Allowed for line wrapping in start.t.
- Implemented export.yaml, import (yaml).
- Updated man page.
- 'export' is now an alias to 'export.yaml'.
- Added missing 'tags' attribute as an internal Att.
- Improved recognition of YAML.
- Added unit tests for export.yaml, import (yaml).
- Added missing unlink from dependencies.t
- Relocated the Table::getCharLength() from Johannes to text.cpp/characters()
because it is a general-purpose function, and will be the start of the UTF8
conversion of all text.cpp code.
- Added unit tests for characters().
- Applied patch from Johannes.
- Also included extra calls to getCharLength in other parts of the code.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
- Patch to correct the sorting of priorities, which had a condition
flipped making the Table::descendingPriority consider a missing
priority to be 'higher' than 'H'.
- Fixed bug #449, so the wait: attribute can be applied to a task at any
time, not just on add.
- While searching for problems with the waiting status, noticed that
importCSV doesn't appear to set any tasks to pending status.
- Fixed bug #445, which caused task to not notice that the command 'h' is
ambiguous. This was caused by mistakenly first autoCompleting against
a set of alias names, during canonicalization, instead of autoCompleting
against the whole set of possible commands and aliases, then doing the
canonicalization. The order was reversed.
- Also populated list of all commands with alias names, so the above
could be corrected.
- Added feature #43, now task supports relative dates like '3wks',
'1 month', '4d' for 'due', 'wait' and 'until' dates. Essentially
durations are now allowed where dates are expected, and are treated
as relative to the current date/time.
- Now dates (due, wait, limit) are parsed first as Durations, and on
error reparsed as Date. When a Duration is found instead of a Date,
the Duration is added to the current date/time.
- Reorganized Duration::valid and Duration::parse to use the same list
of supported constructs.
- Added missing copy constructor.
- Added missing ctor initializer list.
- Corrected handling of negative time_t values.
- Added support for more duration formats.
- Corrected autoComplete use.
- Added Duration::negative.
- Corrected unit test descriptions.