Commit graph

1159 commits

Author SHA1 Message Date
Paul Beckingham
eb2cb99532 Performance
- Removed "std::endl" in cases where the autoflush is only going to
  slow things down.
2010-10-02 12:02:06 -04:00
Paul Beckingham
1d3aa891d6 Performance
- Removed "std::endl" in cases where the autoflush is only going to
  slow things down.
2010-09-30 23:44:38 -04:00
Paul Beckingham
dd86c2c875 Dependencies
- Code now in final form, but still incomplete.
2010-09-29 01:06:39 -04:00
Paul Beckingham
f351bf6dec Minor Edits
- Corrected typo in tips file.
- Added explanatory comment regarding dependency chains.
2010-09-22 22:23:24 -04:00
Paul Beckingham
1e7bebb3b2 Bug - timesheet report
- The headers for the second table ('Started') were not underlined like
  those of the first table ('Completed').
2010-09-18 23:13:00 -04:00
Paul Beckingham
34c21f5d43 Documentation
- Cleaned up ugly message.
2010-09-17 00:28:38 -04:00
Paul Beckingham
ec3c1c4def Dependencies
- Added support for rc.dependency.reminder.
- Modified man page.
2010-09-16 22:09:03 -04:00
Paul Beckingham
975c2bbcb9 Dependencies
- Added dependencyGetBlocking and dependencyGetBlocked API calls, in
  the ongoing effort to find a workable API for dependencies.  The
  goal is to make the calling code as small as possible when dealing
  with dependencies.
- Corrected the algorithm for determining whether a task is blocked or
  blocking to also check that the other task is pending or waiting.
  For example:
    task add one
    task add two depends:1
    task do 1
  As the first task is completed, task 2 still depends on 1, but is
  no longer blocked due to the completed status.
- Modified the "info" report to use the modified API.
2010-09-16 21:54:18 -04:00
Paul Beckingham
8904daf9e5 Debug message
- Added debug message when a task is woken from the waiting state.
2010-09-16 21:18:42 -04:00
Paul Beckingham
9aedaba7f2 Unit Tests
- Cleaned up message that is generated when a recurring task is past
  its until: date and all child tasks have been dismissed, as the
  parent task is deleted.
- Added unit tests recur.until.t to prove that the above is working.
2010-09-12 11:43:46 -04:00
Paul Beckingham
b1933c5d25 Themes
- Added Kathryn's new themes into the default .taskrc file template.
2010-09-10 00:51:11 -04:00
Paul Beckingham
87158f505a Bug - #489 - tags.none: is not filtering tagless tasks
- Context::autoFilter was suppressing 'tags' filter terms due to the
  +tag/-tag syntax, which we now know only augments attribute modifiers,
  and doesn't replace them.
2010-09-09 21:56:16 -04:00
Paul Beckingham
73ff6ea973 Task 2.0.0 Code Salvage 2010-09-09 20:49:17 -04:00
Paul Beckingham
7f54b89f24 Unit Tests
- Removed inadvertent binary checkin.
2010-09-07 21:00:44 -04:00
Johannes Schlatow
0930f3c5f7 Unit tests
- Added tests for Transport class
2010-09-07 15:44:50 +02:00
Paul Beckingham
9d41d9046d Build System
- Added missing '-lpthread' argument to unit test makefile.
2010-09-05 11:43:15 -04:00
Paul Beckingham
3d5656fb57 Unit Tests
- The lisp.t.cpp tests were written for an older and different Tree
  object.  This change brings it more up to date.
2010-09-05 09:14:36 -04:00
Paul Beckingham
f0a5c917c9 Unit Tests
- Fixed three sets of unit tests that recently broke when TDB::add
  started checking whether the uuid was really unique.  This was
  intended to prevent accidental double import, but also caused these
  tests to break because they all shared the same uuid, which is wrong.
2010-09-05 08:54:20 -04:00
Paul Beckingham
d012fc9717 Code Salvage
- Integrated some code from the (soon to be obsolete) 2.0.0 branch,
  which is general in nature and will be needed.
- And the corresponding unit tests.
2010-09-05 08:48:27 -04:00
Paul Beckingham
1cc67e9895 Enhancement
- Importing the same YAML twice now generates an error.
2010-09-02 21:32:33 -04:00
Cory Donnelly
21c3d1ab80 Unit Test - Bug #476
- Added test to wait.t for Bug #476 - User can specify due: dates that are before wait: dates
2010-09-02 09:08:28 -04:00
Paul Beckingham
db9333ec64 Bug #476
- Fixed bug #476, so that task now issues a warning when a wait date falls
  after a due date (thanks to T. Charles Yun).
2010-09-01 23:08:21 -04:00
Paul Beckingham
04ddf74a07 Documentation Update
- Fixed typo in copyright.
- Added new feature to NEWS file.
- Added 'merge.autopush' as a valid configuration variable.
2010-09-01 22:39:37 -04:00
Paul Beckingham
4d46be0767 Copyright
- Fixed typo in copyright.
- Added 'merge.autopush' as a valid config variable.
2010-09-01 22:26:09 -04:00
Johannes Schlatow
2eaba55481 Merge branch '1.9.3' of tasktools.org:task into 1.9.3
Conflicts:
	src/Config.cpp
2010-09-02 01:53:25 +02:00
Johannes Schlatow
869655e818 Merge
- Added support for URIs
 - Added push command (pushes *.data to remote location)
 - Added config option: merge.autopush
2010-09-02 01:27:31 +02:00
Johannes Schlatow
d362088305 Merge
- Fixed segmentation fault if undo.data is empty
2010-09-02 01:24:58 +02:00
Johannes Schlatow
87ce13c8e0 Merge
- Added Transport classes to handle URIs like ssh://user@host:port/
2010-09-02 01:24:05 +02:00
Paul Beckingham
4139f32acf Unit Tests
- Added more unit tests to verify that @ in a tag does not interfere
  with multiple inclusions (+) and exclusions (-).
2010-08-31 23:03:12 -04:00
Paul Beckingham
d3ca5c04e3 Code Cleanup
- Improved the consistency of info output regarding recurring task
  parent and child tasks.
2010-08-31 23:02:16 -04:00
Paul Beckingham
d8913c2f15 Unit Tests
- Bug 485 refers to the fact that recurrence values are not autocompleted,
  and are stored literally.
2010-08-31 23:00:47 -04:00
Paul Beckingham
808934483f Recurrence
- Removed vestigial mask:"..." attribute from newly generated recurring
  task instances.
2010-08-31 01:30:20 -04:00
Paul Beckingham
d738f778ee Dependencies
- Restricted dependency nag message to only tasks that have dependencies.
2010-08-31 01:29:48 -04:00
Paul Beckingham
3a566460a2 Unit Tests
- Renamed bug.425.t to bug.425.x to reflect that fact that we're
  going to address this bug in 1.9.4, not 1.9.3.
2010-08-30 23:35:04 -04:00
Paul Beckingham
69ac9a4296 Bug #461 - due:today doesn't work as a filter - due.is:today does
- Fixed bug #461, in which the filter 'due:today' failed, but 'due.is:today'
  worked.  This is because while iterating over tasks, not every task has a
  due date, in which case Date::Date ("") was called, which fails.
- Moved 'wait' up to second position in the Att::type method, for efficiency.
2010-08-30 23:30:48 -04:00
Paul Beckingham
f2a5dde3a6 Themes
- Updated themes to include blank entries for the new color.tag.none
  and color.project.none rules.
2010-08-30 20:37:44 -04:00
Paul Beckingham
4cd528661a Feature #481 - color should follow rc order
- Added feature #481, allowing for user control of the color rule order
  of precedence via the 'rule.precedence.color' configuration variable.
- Color rules now obey the rc.search.case.sensitive configuration option.
- The color.keyword.XXX color rule now applies to annotations too.
2010-08-29 13:40:53 -04:00
Paul Beckingham
c27097e286 Bug
- Fixed a precision problem with average age on the summary report.
  The problem was that average age is calculated as the sum of all
  ages, divided by the count.  The sum was already being stored as
  a double, to allow for very high values, but was being truncated
  to an int before being divided by the count.  Classic precision
  mishandling.
2010-08-28 09:37:32 -04:00
Paul Beckingham
e619f8c91d Dependencies
- Added dependency nagging to the 'start', 'done' and 'delete' commands.
2010-08-27 17:45:22 -04:00
Paul Beckingham
199114abcd Dependencies
- Improved error message when entering "task 1 dep:2; task 1 dep:2".
- Documented circularity checking.
- Stubbed dependencyChainBroken ().
- Stubbed dependencyNag ().
- Improved existing unit tests, added more.
2010-08-27 17:19:15 -04:00
Paul Beckingham
0e2c090dc5 Dependencies
- Added check for circular dependencies.
2010-08-26 22:52:57 -04:00
Paul Beckingham
58d678f927 Bug #480 - @ Symbol in context not returning
- Fixed bug #480, which didn't properly support @ characters in tags.
  The problem was that the ctype.h ispunct() function considers @,
  # and $ to be punctuation, which I don't.  An override now allows
  these characters in tags, and specificallt '+@context' style tags.
- Added unit tests.
2010-08-24 19:08:08 -04:00
Paul Beckingham
3cfcc9fb6b Bug
- The 'verbose' configuration variable was not considered valid.
2010-08-23 23:09:53 -04:00
Cory Donnelly
7d048a8ef8 Unit Tests - wait.t
- added unit test to demonstrate wait:tomorrow report issue
2010-08-23 12:42:06 -04:00
Paul Beckingham
44fe227595 Product Name Change
- Converted all (appropriate) uses of 'task' to 'taskwarrior'.
2010-08-21 12:31:00 -04:00
Paul Beckingham
a9b18da214 Feature #478
- Added feature #478, which uses the colorization rules in the 'info'
  report.
2010-08-21 00:30:24 -04:00
Paul Beckingham
5c235ce1ef Feature #471
- Added feature #471, which makes greater use of projects by reporting
  changes to the completion percentage when it changes.
- Added unit tests.
2010-08-20 23:53:57 -04:00
Paul Beckingham
d460e604ff Bug #470 - 'task rc.color.alternate:none list' shows incorrect colors
- Fixed bug #470, which caused task to not support the color 'none'.
  Simultaneous vitapi bug fix.
2010-08-17 23:17:44 -04:00
Paul Beckingham
612c613764 Dependencies
- Improved a few of the unit tests.
- Minor progress on the support functions.
2010-08-17 21:36:58 -04:00
Paul Beckingham
91d5448a5a Enhancement - Nibbler
- Added Nibbler::getQuoted with support for unescaping escaped quotes
  and for including the original quotes.
2010-08-13 00:48:05 -04:00