Paul Beckingham
c9a6d2a750
Improved GC and Shadow File Handling
...
- Every command now returns an output string, or at least has an
opportunity to do so.
- TDB::gc is only performed a) when allowed, and b) when the command
will display line numbers.
- updateShadowFile is only performed when a) shadow updates are allowed,
and either b) when a command is guaranteed to have modified a task or
c) when TDB:gc has already made changes.
2009-03-14 12:05:32 -04:00
Paul Beckingham
4a524a220e
Bug Fix - default command, default unit test
...
- Task runs the default command when no arguments are provided, but
when an "rc:..." argument is provided, it does not run the default
command.
- Implemented unit tests to verify the functioning of default commands,
default project and default priority.
2009-03-14 00:21:42 -04:00
Paul Beckingham
2216eee678
Help Consistency
...
- Added note about frequent releases to the shortUsage output, so it
is now consistent with that of "version".
2009-03-13 13:12:34 -04:00
Paul Beckingham
c35a764019
Custom Reports - oldest, newest
...
- Added support for the "report.X.limit" configuration variable, to
restrict the number of rows a report generates.
- Added support for Table::render (limit) to limit the number of rows
that are rendered.
- Removed "oldest" and "newest" report code.
- Added "oldest" and "newest" custom report details to Config.cpp
- Updated various documentation.
2009-03-12 22:34:45 -04:00
Paul Beckingham
2d07b08260
Custom Reports - usage
...
- Added defined custom reports to the usage text. This includes the
new "report.X.description" configuration variable.
2009-03-10 22:21:23 -04:00
Paul Beckingham
d174bb1143
Bug Workaround - locking
...
- Added support for the "locking" configuration variable that disables
file locking. This can be helpful to folks who use task on Solaris,
and store their task data files on an NFS mount.
2009-03-10 15:21:29 -04:00
Paul Beckingham
6a7c66aa05
Unit Tests - color.disable color.pri config.obsolete
...
- Added unit tests to cover automatic colorization by priority.
- Added unit tests to cover automatic disabling of color when !isatty.
- Added unit tests to cover display of unsupported configuration
variable in the 'version' report.
- Added support the '_forcecolor' configuration variable to allow the
possibility of unit tests that test color support, yet redirect
output to a file. This configuration variable will not be
documented.
2009-03-07 00:14:58 -05:00
Paul Beckingham
964d04322c
Bug Fix - nag
...
- Implemented new nag algorithm, and debugged why it then broke.
2009-03-03 00:46:02 -05:00
Paul Beckingham
1e70400143
Shadow File Rewrite
...
- No longer writes shadow files based on TDB onChange trigger.
- Addressed bug whereby adding a recurring task trigger a shadow
file rewrite, which in turn performs trigger another rewrite...
2009-03-02 23:47:41 -05:00
Paul Beckingham
bcf512e529
Nag Rewrite
...
- Now uses a better escalating scale of "importance".
2009-02-16 21:09:00 -05:00
Paul Beckingham
481a0aa1eb
Custom Reports - old reports removed
2009-02-15 15:13:24 -05:00
Paul Beckingham
2307dcab8a
Copyright Update
...
- bumped the year, on the source copyright notices.
2009-02-14 17:50:38 -05:00
Paul Beckingham
748300631a
- Now parses the command line and can distinguish regular commands, as well as
...
custom reports.
2008-11-09 22:46:12 -05:00
Paul Beckingham
ee961daef6
Merge branch 'master' into 1.5.0
...
Conflicts:
ChangeLog
NEWS
configure.ac
html/task.html
src/task.cpp
src/task.h
2008-11-02 22:29:38 -05:00
Paul Beckingham
ce42ae9622
Merge branch '1.4.3' of git@github.com:pbeckingham/task into 1.4.3
...
Conflicts:
ChangeLog
html/task.html
src/task.cpp
2008-11-02 21:50:55 -05:00
Paul Beckingham
396d85cd53
- Removed "usage" command.
2008-11-01 16:48:28 -04:00
Paul Beckingham
2cae1df42f
- Merged 1.4.3 to master
2008-11-01 16:31:30 -04:00
Paul Beckingham
b7e889339d
- Added support for shadow.notify to indicate when the shadow file is updated
...
- Fixed description validation bug that allowed \n, \r and \f in a description, then rendered the pending.data file unparseable
2008-10-25 02:03:21 -04:00
Paul Beckingham
2a5736b876
- TDB::gc now only calls overwritePending when something changed.
...
- Removed TDB::gc calls from report.cpp.
- Made TDB::gc calls from task.cpp whenever necessary.
- Disabled TDB::gc calls when running a report for the sake of the shadow file.
- Shadow file overwrite now implemented using ostream, instead of cout.rdbuf trickery, for the well-being of cygwin.
2008-10-24 23:15:52 -04:00
Paul Beckingham
b176591261
- Converted reports/command to return strings
2008-10-23 00:44:21 -04:00
Paul Beckingham
0987171280
- Added support for "task stop <id>" command, that removes the start time from a task.
...
- Updated documentation accordingly.
2008-10-19 11:47:03 -04:00
Paul Beckingham
47c02965e9
Merge branch '1.4.3' into 1.5.0
...
Conflicts:
NEWS
TUTORIAL
configure.ac
html/advanced.html
html/task.html
html/versions.html
src/task.cpp
2008-10-18 18:19:47 -04:00
Paul Beckingham
ce561a6c43
- Instrumented version for shadow file testing.
2008-10-15 10:16:46 -04:00
Paul Beckingham
b4b389c27e
- Added checks to ensure that a shadow.file value doesn't collide with either the pending.data or completed.data files.
2008-10-09 21:24:12 -04:00
Paul Beckingham
3ed1269753
- Added support for plain text shadow files.
2008-10-09 18:24:35 -04:00
Paul Beckingham
a5ec1e4b27
- Added support for shadow file, shadow file command
...
- Added support for TDB::onChange callback
2008-10-09 17:19:57 -04:00
Paul Beckingham
d837a25be7
- Removed support for the "command.logging" configuration variable and
...
the "task usage" command.
2008-09-20 20:46:20 -04:00
Paul Beckingham
ec15dc9342
- Added "#include <string.h>" to task.cpp to ensure clean build under GCC 4.3
2008-09-12 16:22:51 -04:00
Paul Beckingham
fb87039d8c
- Task now supports "default.command" configuration variable (for example
...
it could contain "list due:tomorrow") that is the command that is run
whenever task is invoked with no arguments.
2008-09-12 16:07:50 -04:00
Paul Beckingham
d265ac6c2d
- Implemented "task undo" to counteract "task do".
2008-07-19 22:12:01 -04:00
Paul Beckingham
2380c8b33a
- Added new, stubbed, T::validate method for full T validation, one day.
2008-07-09 23:57:31 -04:00
Paul Beckingham
849cb65b0e
- Added URL to usage, version.
2008-07-09 23:26:33 -04:00
Paul Beckingham
2150642f9d
- Properly expands ~ characters in data.location
2008-07-09 22:56:39 -04:00
Paul Beckingham
ec8da0baaa
- Updated docs, announced deprecation of TUTORIAL.
2008-07-09 03:39:29 -04:00
Paul Beckingham
6f7b9b7d42
- Recurring tasks!
2008-07-09 03:26:44 -04:00
Paul Beckingham
ba342eeeb6
- Recurring faintly working without (the very necessary) mask attribute
2008-07-08 01:40:07 -04:00
Paul Beckingham
0e611eda19
- Disabled undelete for deleted recurring tasks, because it is too difficult to know what to restore.
2008-07-06 17:02:10 -04:00
Paul Beckingham
17152d8a46
- Renamed checkRecurring -> handleRecurrence
2008-07-06 03:04:54 -04:00
Paul Beckingham
947e65c1e2
- Inserted recurring task checks at appropriate points.
2008-07-06 02:47:29 -04:00
Paul Beckingham
b1aaab0a8e
- "task stats" now supports recurring tasks.
2008-07-06 02:03:39 -04:00
Paul Beckingham
1712ad2cde
- "task delete" now properly supports recurring tasks.
2008-07-06 02:01:51 -04:00
Paul Beckingham
79f6ef075e
- Supports ::isatty call to shut off color, ncurses when stdout is not to a tty
2008-07-06 01:48:48 -04:00
Paul Beckingham
2181041c8c
- Filtering now on all reports.
2008-07-06 01:04:27 -04:00
Paul Beckingham
e85d36cea0
- Fixed bug whereby adding a new task with "task add asdfsd pri:" resulted in gibberish values in the priority field.
2008-07-05 16:49:41 -04:00
Paul Beckingham
6c7ad2b398
- Added error checking for "recur" without "due"
...
- Added error checking for "until" without "recur"
- Added status setting for "task add" regarding T::recurring
2008-07-05 02:02:10 -04:00
Paul Beckingham
00b7a5f1b4
- Zero values no longer generate a 1-char bar in "task ghistory"
2008-06-27 18:05:02 -04:00
Paul Beckingham
6066cc3bab
- Implemented "task ghistory" command to draw a bar chart.
2008-06-27 00:15:06 -04:00
Paul Beckingham
1ef7b0c43a
- Now allows rc:<file> override of ~/.taskrc file.
2008-06-25 01:29:42 -04:00
Paul Beckingham
5d158d752d
- Fixed bug whereby table headers were underlined when color is turned off.
2008-06-24 01:37:18 -04:00
Paul Beckingham
cc9235033f
- Added averages to the "task history" report.
2008-06-22 01:04:33 -04:00