Paul Beckingham
03c9b96955
Output Cleanup
...
- No point display "blocked by" and "is blocking" in the info report
if there are no other tasks to list.
2010-08-07 00:40:45 -04:00
Paul Beckingham
80d1c03457
Unit Tests
...
- All tests that sleep will now announce the duration of the sleep
beforehand.
2010-08-07 00:22:05 -04:00
Paul Beckingham
6dd4067167
Unit Tests - urgency
...
- Implemented unit tests for calculating urgency.
2010-08-07 00:15:46 -04:00
Paul Beckingham
2c858c6988
Feature - urgency
...
- Added the urgency value to the 'info' report.
2010-08-06 19:04:56 -04:00
Paul Beckingham
d8544181ce
Feature - Urgency
...
- Implemented the urgency algorithm according to rfc31.
- Added a new '_urgency' command to test the algorithm.
2010-08-06 19:04:01 -04:00
Paul Beckingham
3ac627978c
Merge branch '1.9.3' of tasktools.org:task into 1.9.3
2010-08-06 19:00:40 -04:00
Paul Beckingham
fce4633de6
Bug #459 - Error when using limit:n where n < lines on screen and < results
...
- Fixed bug that displays 'limit' result lines when it has no need to.
2010-08-06 18:58:34 -04:00
Johannes Schlatow
f6cfa1dfa5
Merge command
...
- Added call of gc() before executing the merge algorithm
- Removed workaround in unit test merge.t
2010-08-06 14:58:38 +02:00
Johannes Schlatow
aa891401e4
Hooks
...
- Applied patch from Johannes to add missing hooks.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2010-08-04 14:39:17 -04:00
Johannes Schlatow
c640e05049
Unit tests
...
- Added tests for class Taskmod
- Added tests for _merge command
2010-08-04 19:04:16 +02:00
Paul Beckingham
3945ccf019
Unit tests
...
- color.duetoday.t now tolerates 16- and 256-color variants of 'red'.
2010-08-04 08:18:15 -04:00
Paul Beckingham
1687e85335
Dependencies
...
- Implemented/stubbed some of the dependency helper functions.
2010-08-04 00:55:08 -04:00
Paul Beckingham
b050d67ba9
Dependencies
...
- Added TDB::gc code to remove dangling dependencies.
2010-08-04 00:43:38 -04:00
Paul Beckingham
cade134f40
Unit tests
...
- 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.
2010-08-03 23:12:40 -04:00
Paul Beckingham
92ede80e4b
Unit tests
...
- Fixed export.yaml.t because 'tail +2 file' does not work on tasktools.org.
2010-08-03 23:07:18 -04:00
Paul Beckingham
448f865cf1
Code Cleanup
...
- Fixed compiler warning in text.cpp.
2010-08-03 22:55:08 -04:00
Paul Beckingham
e26f29537a
Documentation
...
- Added sections on the task shell and advanced filters.
2010-08-03 13:39:57 -04:00
Cory Donnelly
d85579d69f
Documentation
...
- Fixed a few typos in the script for the new movie and revised tutorial.
2010-08-03 12:57:22 -04:00
Paul Beckingham
462c3e1c55
Documentation
...
- Updates to the script for the new movie and revised tutorial.
2010-08-03 00:05:49 -04:00
Paul Beckingham
70bf3099ee
Bug
...
- 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.
2010-08-02 17:58:55 -04:00
Paul Beckingham
db27328558
Unit tests
...
- 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.
2010-08-02 17:56:34 -04:00
Paul Beckingham
e090f556da
Feature #244 , #272 , #274 , #275
...
- 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
2010-08-02 17:55:23 -04:00
Paul Beckingham
f60205c704
Documentation
...
- Modified old task movie script.
- Added new 1.9.3 task movie script, which will form the basis of the
new tutorial.
2010-08-02 01:16:29 -04:00
Paul Beckingham
233a6ae951
Bug
...
- Fixed problem with the 'undo' command not observing the rc.color or the
rc._forcecolor settings.
2010-08-02 01:00:20 -04:00
Paul Beckingham
d890e05298
Merge branch '1.9.3' of tasktools.org:task into 1.9.3
2010-08-01 13:08:00 -04:00
Paul Beckingham
2f1c582d7d
Code Cleanup
...
- 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().
2010-08-01 13:05:53 -04:00
Cory Donnelly
cddc2d5f10
Revert "Documentation"
...
This reverts commit 44e7a24170
. I just saw that
Fredde intentionally removed X-2 versions from the OS list in NEWS.
2010-08-01 10:11:11 -04:00
Cory Donnelly
44e7a24170
Documentation
...
- Added Mac OS X Tiger to NEWS
2010-08-01 10:05:16 -04:00
Cory Donnelly
471571e493
Unit Tests - UTF-8 characters in reports
...
- Added bug.455.t for Bug #455 - Text alignment in reports is broken when text
contains utf8 characters
2010-08-01 09:56:41 -04:00
Johannes Schlatow
6e1aa42d1a
Bug #455 - Text alignment in reports is broken when text contains utf8 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>
2010-08-01 09:30:42 -04:00
Johannes Schlatow
3939503377
Bug #453 - Priorities are sorted inconsistently (asc vs. desc)
...
- 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'.
2010-07-31 09:03:01 -04:00
Paul Beckingham
fecdb930d4
Enhancement (related to #452 )
...
- A task is now considered overdue if it is past the due date, not
due before today.
2010-07-30 22:54:55 -04:00
Paul Beckingham
d0db821298
Bug 452 - Need relative date value 'now' to fully support times
...
- Added 'now' as a relative date.
- Modified 'overdue' report to use 'now' instead of 'today' as the
distinction between due and overdue.
2010-07-30 22:50:20 -04:00
Paul Beckingham
1cf1e79e43
Merge branch '1.9.3' of tasktools.org:task into 1.9.3
2010-07-30 22:33:08 -04:00
Cory Donnelly
69c3ba6f59
Documentation
...
- Comment for getDueState() updated to reflect actual return values
2010-07-30 09:47:55 -04:00
Paul Beckingham
9cab648d8a
Merge branch 'sort' into 1.9.3
2010-07-29 14:50:54 -04:00
Paul Beckingham
2ef30b1183
Bug 449 - Inconsistent wait: attribute results
...
- 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.
2010-07-28 23:22:59 -04:00
Paul Beckingham
4d266412ee
Unit Tests - Date
...
- Added unit tests for Date::operator-.
2010-07-28 19:58:32 -04:00
Paul Beckingham
e44c4ffb82
Unit Tests - Duration
...
- Added tests for Duration::negative.
2010-07-28 19:46:51 -04:00
Paul Beckingham
bef7b9b655
Merge branch '1.9.3' of tasktools.org:task into 1.9.3
2010-07-28 17:56:43 -04:00
Paul Beckingham
209a7b8cee
Unit Tests - wait
...
- Added unit tests to prove that the wait: attribute is working,
which it is not.
2010-07-28 17:54:11 -04:00
Paul Beckingham
3952765de0
Bug 445 - The command 'task h' should be ambiguous, yet works
...
- 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.
2010-07-28 17:50:47 -04:00
Paul Beckingham
e886f7635b
Enhancement
...
- When presenting lists of ambiguous command, attributes and modifiers
to the user, it is now a sorted list.
2010-07-28 17:47:58 -04:00
Federico Hernandez
76fa56d3fb
Merge branch '1.9.3' of tasktools.org:task into 1.9.3
2010-07-28 18:08:44 +02:00
Federico Hernandez
903b5b34d4
Feature #446 - start of {week, month, year}
...
- Bug fix for som and soy.
- Added synonyms soww and eoww for sow and eow.
- Added start/end of calendar week: socw and eocw.
2010-07-28 18:07:09 +02:00
Cory Donnelly
189fdaf9ac
Bug #444 - Interactive undo locks pending.data and doesn't give it up
...
- TDB::undo () now exits gracefully when a user declines to proceed with
the undo, ensuring context.tdb.unlock () is called
2010-07-28 10:18:34 -04:00
Federico Hernandez
96bd3ff8db
Feature #446 - start of {week, month, year}
...
- Added sow (depending on rc.weekstart), som and soy as possible
dates (similar to eow, eom and eoy).
2010-07-28 00:15:26 +02:00
Federico Hernandez
a6fbb40a12
Added GPL and copyright information to color themes and holiday files
2010-07-27 23:17:26 +02:00
Cory Donnelly
78edb61c4c
Bug #444 - Interactive undo locks pending.data and doesn't give it up
...
- flock() now uses LOCK_EX | LOCK_NB so it won't wait for the file lock
2010-07-26 14:02:37 -04:00
Paul Beckingham
3846954c42
Feature #43 - Relative dates: +3d, -2w
...
- 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.
2010-07-25 23:14:52 -04:00