Commit graph

1678 commits

Author SHA1 Message Date
Cory Donnelly
1528fdc7e1 Unit Tests
- Created unit test bug.425.x for unaddressed Bug #425 - Parser preventing
  editing of an existing task depending on description
2010-07-20 21:35:28 -04:00
Paul Beckingham
e34f278e1d Documentation
- Commented the code to suggest that T and Z should never be used in
  Date::Date.
2010-07-20 17:36:24 -07:00
Paul Beckingham
455be5b8b7 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-20 17:21:57 -07:00
Paul Beckingham
9df86d9aab Documentation Update
- Removed deprecated fields.
2010-07-20 17:21:40 -07:00
Cory Donnelly
0e9ce4c85f Bug #440 - Parser recognizes an attempt to simultaneously subst and append, but doesn't do it
- Added unit test
2010-07-20 20:17:31 -04:00
Paul Beckingham
4ca69b013f Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-20 16:57:59 -07:00
Paul Beckingham
1a34a29b7a Bug #438 - Reports sorting by end_time, start_time, and entry_time are ordered incorrectly
- Fixed bug #438, correcting the sorting of the entry_time, start_time
  and end_time columns (thanks to Michelle Crane).
- Reordered ChangeLog so that bugs, features are in sequence.  Don't know
  why I did this.  Some inner compulsion.
- Deprecated silly start_time, end_time and entry_time columns, which are
  now (and were) superseded by start, end and entry columns with time formats.
- Config.cpp now detects use of these deprecated fields and complains to the
  show command.
- Date.cpp now uses the variable 'input' instead of 'mdy', which was confusing
  and implied that it contained a date without a time.
- Obsoleted and removed Date::toStringWithTime, which ignored requested formats.
- When checking for an epoch, Date::isEpoch just looked for strings of more
  than 8 digits.  The additional restriction of less than or equal to 10 digits
  was added.  This was breaking unit tests using the dateformat YMDHNS, which is
  reasonable.
- Removed the obsolete field format hooks format-entry_time, format-start_time
  and format-end_time
- Removed the obsolete field format hook unit tests hook.format-entry_time.t,
  hook.format-start_time.t and hook.format-end_time.t.
- Removed use of deprecated field in hook.format-countdown_compact.t.
- Added missing shortcut comparisons in Table::sort that was causing an
  unnecessary full parse of dates even if they were identical as strings.
- Coded entry_time as a synonym for entry.  Ditto for start_time and end_time.
- Marked the new synonyms as deprecated.
- Added bug.438.t unit test.
- Added deprecated fields to the NEWS file.
2010-07-20 16:57:41 -07:00
Cory Donnelly
1bb21f9982 Unit Tests
- Added a unit test for sorting reports by countdown value
  (there was some confusion about proper behaviour, see
  Bug #432.)
2010-07-20 19:37:44 -04:00
Paul Beckingham
a57326a026 Documentation
- Modified description of journal.time entry.
2010-07-20 14:45:04 -07:00
Paul Beckingham
3f6358fea0 Feature - import.yaml
- Not fully implemented (need research on libyaml first), but the
  file type recognition and stubs are there.
2010-07-20 14:30:07 -07:00
Federico Hernandez
81a5461d92 ChangeLog editing 2010-07-20 22:19:03 +02:00
Federico Hernandez
af3f60cfeb Bug #439 - dateformat.annotation not considered
- dateformat.annotation were not considered when doing annotation=sparse
2010-07-20 22:11:42 +02:00
Federico Hernandez
445dc415d0 Fixed missing color.blocked in the recognized string 2010-07-20 22:06:37 +02:00
Federico Hernandez
afb4d64a0c Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-20 20:21:51 +02:00
Federico Hernandez
942f665d71 Feature #189 - annotation of start and stop times
- task can now record the invocation of the 'start' and 'stop'
  command as an annotation by setting journal.time to yes.
- the annoatation test can be customized with
  journal.time.start.annoation and
  journal.time.stop.annotation
2010-07-20 20:19:34 +02:00
Cory Donnelly
51c357af2e Unit Tests
- Added unit tests for history.monthly and history.annual
2010-07-20 12:17:50 -04:00
Federico Hernandez
5ac0bd3800 Feature #428 - detailed listing of new commands
Prepared the new structur to add new or changed commands and configuration
options to the NEWS files.
2010-07-20 15:24:35 +02:00
Federico Hernandez
bdaf403a1c ChangeLog entry for prev. fixed bug #427 2010-07-20 14:08:34 +02:00
Federico Hernandez
1b2cfd427c Bug #427 - Task edit can't correctly parse annotations with times
Task edit was assuming a space as separator between the date and
text field of an annotation. As the dateformat for an annotation
now can be more flexible incl. time and spaces, task couldn't
parse the annotation lines of task edit correctly anymore. The bug
was fixed by introducing a new separator ' --' between the date
and text parts of an annotation.
2010-07-20 13:59:58 +02:00
Cory Donnelly
9a50c0b963 Bug #434 - Task shouldn't prevent users from marking as done tasks with status:waiting
- Added unit test
2010-07-19 13:22:55 -04:00
Cory Donnelly
6864ff91cd Bug #434 - Task shouldn't prevent users from marking as done tasks with status:waiting
- Users can now complete tasks with status:waiting in addition to status:pending
2010-07-19 10:57:20 -04:00
Cory Donnelly
d6a2c1872c Bug #433 - Missing punctuation in some command output
- Made punctuation consistent throughout the code and addressed a few
    broken tests.
2010-07-18 19:06:07 -04:00
Cory Donnelly
c43eb31374 Feature #431 - The log command doesn't provide any output on success
- Now states that the task was logged.
2010-07-17 19:36:42 -04:00
Paul Beckingham
89eb8371ba Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-17 19:35:40 -04:00
Cory Donnelly
3dca0283f4 Feature #431
- Added feedback after running the 'log' command, because task was
  otherwise silent.
2010-07-17 19:35:21 -04:00
Cory Donnelly
5776d608c0 Enhancement
- Added feedback after running the 'log' command, because task was
  otherwise silent.
2010-07-17 19:33:19 -04:00
Paul Beckingham
63e42c6607 Feature 429 - The default 'all' report should exclude tasks with status:deleted
- Added feature #429, which improves the 'all' report to exclude deleted
  tasks, provide a new sort order and include the 'end' column.
2010-07-16 22:39:07 -04:00
Paul Beckingham
9385492114 Unit Tests
- Corrected expected number of unit tests so that the tinderbox is not
  thrown off, because tests aren't failing.
2010-07-15 08:39:11 -04:00
Paul Beckingham
beef03af13 Unit Tests
- Fixed several tests that were broken, and generated diagnostic output,
  but didn't fail in the traditional sense.  This was found by looking
  through the tinderbox data file.
2010-07-14 09:13:44 -04:00
Paul Beckingham
10a8916eb1 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-12 20:30:53 -04:00
Paul Beckingham
45bb3dd583 Unit Tests
- Added unit tests for the color.blocked rule.
- Added unit tests for dependencies (placeholder).
- Added unit tests for the format-depends hook.
2010-07-12 20:28:44 -04:00
Paul Beckingham
64344d0328 Dependencies - blocked
- The blocked report now shows the dependencies as well as restricting
  the tasks to those that are blocked.
2010-07-12 20:27:46 -04:00
Paul Beckingham
bcd2a79a54 Dependencies - next
- The next report now longer shows blocked tasks.
2010-07-12 20:27:04 -04:00
Paul Beckingham
7233fcd05b Dependencies - add
- Allowed dependencies to be specified when adding a new task.
2010-07-12 20:25:33 -04:00
Paul Beckingham
54cf7e5471 Dependencies - info
- Added blocked and blocking tasks to the info report.
2010-07-12 20:24:29 -04:00
Paul Beckingham
19b803312f Dependencies - TDB
- Allowed const access to the internal lists of the TDB object.
2010-07-12 20:22:51 -04:00
Paul Beckingham
27a56d15db Dependencies - log
- Prevent completed tasks, via the log command, from being marked
  as dependent.
2010-07-12 20:21:46 -04:00
Paul Beckingham
98cef98111 Dependencies - depend on self
- Prevented tasks from being specified as depending on themselves.
2010-07-12 20:19:02 -04:00
Paul Beckingham
d87e7c6934 Performance
- Switched Hooks to a hash lookup, instead of linearly comparison.
2010-07-12 20:17:59 -04:00
Paul Beckingham
fdf7d2203f Dependencies
- Added new color.blocked to all themes (placeholders for now).
- Added new color rule for applying color.blocked.
2010-07-12 20:14:07 -04:00
Federico Hernandez
f814435939 Unit tests
- changed run_all script to bash
2010-07-12 21:52:47 +02:00
Federico Hernandez
5af7e3a7b7 Typo in packaging readme for OS X 2010-07-12 21:52:14 +02:00
Paul Beckingham
8c3fd40c1b Report - blocked
- Added new 'blocked' report.
2010-07-12 02:19:57 -04:00
Paul Beckingham
e9c8bcff63 Enhancement - default .taskrc
- Now relies completely on default colors, but include the seven
  themes, all commented out, for ready use.
2010-07-12 02:10:01 -04:00
Paul Beckingham
7a23b67020 Enhancement
- Minimized the default .taskrc file that is generated.  It now relies
  heavily on default values, but supplies data.location, and includes
  the default theme.
- Updated taskrc.5 man page to include new depends column.
2010-07-12 02:06:46 -04:00
Paul Beckingham
93e862b367 Dependencies
- Added 'depends' to Config.cpp.
- Added formatting for the 'depends' column.
- Added notes to t.t.cpp regarding missing tests.
2010-07-12 01:45:53 -04:00
Paul Beckingham
90c40dbebf Dependencies
- Added 'depends' as a valid report column.
- Added 'depends' to the 'long' report.
- Updated hook.format*t unit tests to accommodate new long report.
- Added new join () function that handles std::vector<int>.
- Updated text.t unit tests.
2010-07-12 01:42:52 -04:00
Paul Beckingham
7e5c0eb9a5 Dependencies
- Supports new "depends" attribute.
- Supports "task <id> depends:1,2".
- Supports "task <id> depends:-1,-2".
- Supports id <--> uuid mapping in TDB.
2010-07-12 01:05:25 -04:00
Paul Beckingham
c6f6d405e3 Documentation
- #423 was a feature, not a bug.
2010-07-11 14:05:50 -04:00
Paul Beckingham
b29f9969e5 Bug - #423
- The report.foo.filter line in a report definition accepts attributes
  as filters, but not rc overrides.
- Added unit tests.
2010-07-11 14:03:15 -04:00