Commit graph

64 commits

Author SHA1 Message Date
Paul Beckingham
462caf5bd4 Copyright
- Updated copyright to 2011.
2010-12-31 22:03:05 -05:00
Paul Beckingham
7fdfcbacc6 Dependencies - #410
- Completed support for 'task 1 depends:2,-3' to manipulate the
  dependencies.
- Now supports rc.dependency.reminder to indicate when to nag about
  dependency chain violations, defaulting to on.
- Now supports rc.dependency.confirm to require confirmation before
  fixing dependency chains, defaulting to on.
- New source file dependency.cpp which implements a low-level API for
  determining dependency status, and assorted handlers for task state
  changes.
- Adds blocking tasks to the 'next' report.
- Added more dependency unit tests, changed the wording in a couple of
  them and numbered them for easy reference.
2010-10-03 18:52:59 -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
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
d738f778ee Dependencies
- Restricted dependency nag message to only tasks that have dependencies.
2010-08-31 01:29:48 -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
44fe227595 Product Name Change
- Converted all (appropriate) uses of 'task' to 'taskwarrior'.
2010-08-21 12:31:00 -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
1687e85335 Dependencies
- Implemented/stubbed some of the dependency helper functions.
2010-08-04 00:55:08 -04:00
Paul Beckingham
7dc55d831d Code Reorganization
- Beginning to stub out the dependency helper functions in the new
  file dependency.cpp.
2010-07-24 06:38:08 -07:00