- Fixed bug #231 by removing the operator int () cast from the Duration
class. On a 32-bit system, "time_t" may be defined as "int", in
which case the int cast and time_t cast are essentially duplicates.
Thanks to Pietro Cerutti, who also provided a patch.
- Changed program version number.
- Changed NEWS file to refer only to 1.8, not 1.8.1. This means we now only
need to update the NEWS file on major releases, not patches. This is the
right thing to do now that we have only "whats new" in the NEWS file.
- Not a fix, but working towards a fix. When a recurring task is edited,
the other sibling tasks are not modified. This is difficult to do.
Perhaps we can skip for 1.8.
- Now supports "rc:complete.all.projects" to show all historical
project names.
- Now supports "rc:complete.all.tags" to show all historical tags names.
- Fixed bug in modify and append that was erroneously reporting "No
changes" when a bulk update occurred.
- Added bug.bulk.t unit tests to cover this example.
- Conditional compilation (via FEATURE_NCURSES_COLS) to either use
ncurses COLS and LINES global variables, or determine these from
the WINDOW structure.
Improved VIM Support
- added vim support for undo.data
- eliminated misc. whitespace per Bram Moolenaar's request
- added Updated time stamp per Bram Moolenaar's request
- Fixed bug that failed to anchor to end of string when searching for
"cal" or "itask", but instead matched on elements of the path,
like /usr/local/bin. Thanks to Eric Farris.
- t.t.cpp was throwing an error because UUID is no longer set in Task::Task
and so the sample task t3 was 'empty', which doesn't sit well with the
round trip testing.
- Fixed bug that was causing more non-unique UUIDs. Here are the
changes made:
- Task.cpp, tasks are no longer provided with a UUID in Task::Task.
This prevents the global context.task from being constructed before
srandom/srand is called.
- main.cpp, instead of srandom/srand (time (NULL)), it now uses
struct timeval tv_usec member, which has a micro-second granularity,
instead of time (NULL) which has a second granularity. When
"task add ..." is called in a unit test, several calls are made per
second, this the random number generator is seeded with the same
value.
- Modified the unit test to cover all 6 tasks created, instead of
5.