Commit graph

2853 commits

Author SHA1 Message Date
Federico Hernandez
070ec91566 Fixed bugs #533 and #536
- correct paths are now written to default .taskrc
2011-09-14 01:10:52 +02:00
Paul Beckingham
6e52194ab0 Documentation
- While the man pages were not exactly updated for 2.0, the harmful and
  obsolete stuff was removed.
2011-09-13 18:33:14 -04:00
Paul Beckingham
761def8fb7 Merge
- Applied patch to correct autopush after merge, thanks to Johannes.
2011-09-13 18:07:56 -04:00
Johannes Schlatow
295e23aac4 Merge
- removed previous hack that created a zero-byte undo.data file.
  Now the undo.data is created as needed in TDB2::merge.
2011-09-13 10:28:30 +02:00
Paul Beckingham
561af0a0f5 ANALYSIS
- Updated info to be current.
2011-09-13 01:05:43 -04:00
Paul Beckingham
87df2f66ec Merge
- Fixed merge, with an egregious hack for now, by creating zero-byte undo.data
  file.  This goes against the whole TDB2 philosophy, so it is temporary.
- Updated PUNCHLIST.
- Removed old tdb comment from CmdMerge.
2011-09-13 00:51:58 -04:00
Paul Beckingham
dcd0bd1de7 TDB2
- Fixed a bug, or rather a side-effect of more efficient i/o.  Now that
  a TDB2::GC call does not write out files until the final TDB2::commit,
  the GC has the effect of not modifying task IDs based on shuffling tasks
  between pending.data and completed.data until the next command.  Fixed.
2011-09-13 00:22:11 -04:00
Paul Beckingham
776bfea402 Dependencies
- Fixed bug in Task::addDependency where a 'dup dep' error string was not
  properly composed, which cause the error message to be shown as 'k'.
- Relocated expression evaluation on modification to only be processed for
  date attributes.  This impacts DOM, but fixes more than it breaks.
- Corrected unit test that was expecting an old-style error message.
- Added protection against array overrun in next_mod_group.  Again.
2011-09-12 23:53:46 -04:00
Paul Beckingham
d1e52c05d6 Unit Tests
- While fixing bug.360.t, discovered a bigger problem, which is not yet
  fixed.  When a due date is removed from a recurring child task, the
  imask, parent and recur attributes should also be removed.  Similarly
  when a recur frequency is removed from a recurring child task, the
  imask and parent should also be removed.
- Net result: two new failing tests.
2011-09-12 22:57:32 -04:00
Paul Beckingham
02047a6e99 Legacy
- Created legacy checking function to determine whether deprecated or obsolete
  attributes are being used.
2011-09-12 22:45:58 -04:00
Paul Beckingham
fa22b98dc4 Legacy
- Created a home for all the legacy checks.
2011-09-12 22:39:00 -04:00
Federico Hernandez
664e4deb6a ANALYSIS
- project.t Failed test 'project with spaces'
2011-09-12 22:42:30 +02:00
Paul Beckingham
157dad0026 Unit Tests
- Fixed broken unit test.
- Updated PUNCHLIST.
- Clarified task counting in helpers.cpp.
2011-09-12 01:38:35 -04:00
Alexei Romanoff
082f7d703e [PATCH] GCOV support added for measuring code test coverage.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-09-12 00:51:20 -04:00
Paul Beckingham
03e53ceaf2 Miscellaneous
- Minor edits of little consequence.
2011-09-11 23:06:51 -04:00
Federico Hernandez
147dd61758 ANALYSIS file 2011-09-12 00:41:58 +02:00
Federico Hernandez
cf9b5ca5c6 CmdCalendar
- fix for failing unit tests as calendar args are treated special
2011-09-12 00:40:01 +02:00
Paul Beckingham
9ada2f554a Bug
- The modify command no longer claims that a task was modified if no
  changes were applied.
2011-09-11 13:49:07 -04:00
Paul Beckingham
19f598419e Bug
- Dependencies were disabled during TDB2 development and not re-enabled.  Oops.
- Removed stray debug statement.
2011-09-11 13:23:47 -04:00
Paul Beckingham
dcc0ab19c2 Bug
- Fixed crash bug on Linux where Command::next_mod_group just walked off
  the end of a vector.
2011-09-11 11:46:19 -04:00
Paul Beckingham
6e649f3f45 Recurring Tasks
- Rewrote updateRecurrenceMask, which was hopelessly muddled after the
  TDB -> TDB2 change.
- Modified associated code.
- Improved signal to noise ratio in unit tests.
2011-09-11 01:56:56 -04:00
Paul Beckingham
6e8d2ca79c Build
- Fixed broken build due to missing include.  Just like the old days.
2011-09-11 01:19:26 -04:00
Paul Beckingham
b0abe5a5ba Unit Tests
- Improved signal to noise ratio, which in this case helps with testing.
2011-09-11 01:03:51 -04:00
Paul Beckingham
038687b801 Helpers
- Forced the format(double) helper function to not use scientific notation,
  which was causing problems.
2011-09-11 01:02:43 -04:00
Paul Beckingham
e31e80961a Expressions
- Implemented Command::next_mod_group, which walks the A3 list looking for
  consecutive grouped args for modification purposes.
2011-09-11 00:49:56 -04:00
Paul Beckingham
c7464a59b3 Parsing
- Tags may no longer begin with a digit.
2011-09-11 00:49:08 -04:00
Paul Beckingham
966501f5da Parsing
- Implemented Nibbler::getUnsignedNumber.
2011-09-11 00:47:54 -04:00
Paul Beckingham
22e9d84074 Expressions
- Implemented E9:operator_negate, the unary -.
2011-09-11 00:47:11 -04:00
Paul Beckingham
d9fa6fbac8 Unit Tests
- Improved signal to noise ratio for op_*.t tests.
- Updated ANALYSIS file.
2011-09-10 13:27:14 -04:00
Paul Beckingham
1994240899 Parsing
- Created A3::is_operator to allow for more complex processing.  Renamed
  old A3::is_operator to A3::which_operator.
2011-09-10 13:25:46 -04:00
Paul Beckingham
562fd8ce3c Helpers
- Implemented isTokenEnd, as a special case of isWordEnd, but considers
  consecutive punctuation to be a set of individual tokens.
2011-09-10 13:24:54 -04:00
Federico Hernandez
94bb98edac uuid.t TZ problem solved 2011-09-09 06:51:35 +02:00
Federico Hernandez
1dc0230aba Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-09-09 06:38:57 +02:00
Federico Hernandez
2836ae66c7 The usual TZ problem... 2011-09-09 06:38:38 +02:00
Paul Beckingham
c42179aff4 ANALYSIS
- Removed some fixed items, added more info about other tests.
2011-09-09 00:34:44 -04:00
Paul Beckingham
66a8ebe014 EXPOSITION
- Began an overview document of how the processing works.
2011-09-09 00:24:50 -04:00
Paul Beckingham
2de82aa3c1 Enhancement
- Added the onProjectChange call to CmdModify.
2011-09-09 00:22:01 -04:00
Paul Beckingham
d37e46cc48 Enhancement
- Re-enabled the onProjectChange function, and upgraded it to TDB2.
  Now it does a lot less, which is another way of saying it is faster.
2011-09-09 00:13:08 -04:00
Paul Beckingham
c54bb8a42a Beta Punchlist
- Added beta punch list.  This will go away eventually.
2011-09-09 00:12:28 -04:00
Paul Beckingham
22e39538c7 Unit Tests
- The bug.uuid.t test was relying on 'stats' to perform a GC, which is
  no longer true.
2011-09-08 23:13:59 -04:00
Paul Beckingham
a297756ff0 Unit Tests
- Improved the signal to noise ratio for unit tests.
2011-09-08 22:51:17 -04:00
Paul Beckingham
38c325d469 Bug - Tag Recognition
- Lowered the precedence of tag detection so that dates and durations are
  recognized first.
- Modified the allowable tokens for a tag to be almost anything.
2011-09-08 22:49:58 -04:00
Paul Beckingham
8cd1efd609 Bug - Confirmation
- Confirmation for multiple task changes was not being sought.
2011-09-08 22:47:56 -04:00
Federico Hernandez
9fee765d35 ANALYSIS
- delete.t  task info with a filter on ID matches completed tasks
2011-09-09 01:23:23 +02:00
Federico Hernandez
2d338b218e ANALYSIS
- merge.duplicate.t several tests fail because of missing undo.data
                    and ignoring URI
2011-09-09 00:44:37 +02:00
Federico Hernandez
d4e90e8857 ANALYSIS
- confirmation.t CmdModify doesn't ask for confirmation.
2011-09-08 23:53:28 +02:00
Paul Beckingham
b9ad044eef Expressions - hasnt (!~)
- The operator_nomatch was not properly defaulting a "true" result.
- Improved signal to noise ratio in bug.hasnt.t.
- Removed obsolete entries in ANALYSIS file.
2011-09-07 00:54:46 -04:00
Paul Beckingham
5a07dce93a Unit Tests
- Improved the signal to noise ratio.
2011-09-07 00:42:38 -04:00
Paul Beckingham
40aca079eb Unit Tests
- Unit test relied on capturing parentheses, which are no longer necessary.
2011-09-07 00:41:07 -04:00
Paul Beckingham
255af9e110 Nibbler
- Removed unnecessary addition of capturing parentheses to a regex.
2011-09-07 00:39:02 -04:00