Commit graph

2878 commits

Author SHA1 Message Date
Paul Beckingham
31aa0de426 I18N
- Localized more commands.
2011-09-24 10:56:14 -04:00
Paul Beckingham
63203cd91a Minor Edits 2011-09-24 10:59:13 -04:00
Federico Hernandez
fa67569093 Bumped version number to 2.0.0.beta3 2011-09-21 23:27:45 +02:00
Paul Beckingham
a40d1bbf76 Bug #839
- Fixed hard-coded '1m'.  Must have been sleepy.
2011-09-21 07:34:48 -04:00
Paul Beckingham
d3c6ddb87f Bug #839
- Fixed bug #839, which caused problems when recurrence frequencies of '1m'
  were used.  This is an obsolete form, and should now be '1mo' (thanks to
  Gour D).
2011-09-21 00:32:13 -04:00
Paul Beckingham
e478f6626b Bug #835
- Fixed bug #835, which prevented hierarchical projects from being recognized.
2011-09-21 00:19:42 -04:00
Paul Beckingham
965e15fe91 Bug #831
- Fixed bug #831 that imposed an arbitrary and incorrect assumption that
  caused some date fields from being parsed properly.
2011-09-20 23:58:33 -04:00
Paul Beckingham
4901089408 Unit Tests
- Added unit tests for bug 839.
2011-09-19 20:55:32 -04:00
Paul Beckingham
5a760cb1b2 Command: tags
- CmdTags was missing one special tag.
2011-09-19 20:14:43 -04:00
Johannes Schlatow
b018042130 Scripts
- added conjunctions to zsh tab completion
2011-09-16 15:12:17 +02:00
Paul Beckingham
db279ee237 Documentation
- Fixed formatting problem, which has been there for a long time.
2011-09-16 00:31:44 -04:00
Paul Beckingham
c5a834dc98 Documentation
- Added rc.regex back to the taskrc.5 man page.
2011-09-16 00:08:35 -04:00
Paul Beckingham
a732733950 Unit Tests
- Began unit tests for DOM support.
2011-09-15 22:33:50 -04:00
Paul Beckingham
ea633e9e7c Unit Tests
- Added unit tests to prove the support of ISO and epoch format dates,
  regardless of rc.dateformat.
2011-09-15 22:31:37 -04:00
Johannes Schlatow
711e943c25 Scripts
- changed naming in zsh tab completion
2011-09-15 23:17:33 +02:00
Johannes Schlatow
3e73f43272 Scripts
- modified zsh tab completion to support 2.0 syntax
2011-09-15 23:04:33 +02:00
Federico Hernandez
25e3453321 Disabled gcov for the time being - cygwin. 2011-09-14 23:17:29 +02:00
Federico Hernandez
8920f5c10c Bug #832
- gcc feature prevents one from using _L
  task under cygwin compiles again
2011-09-14 22:24:14 +02:00
Federico Hernandez
38c4bd3760 Bumped version number to 2.0.0.beta2 2011-09-14 20:34:03 +02:00
Federico Hernandez
4ea74101db Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-09-14 20:00:42 +02:00
Federico Hernandez
ee0ef16487 task export. Clarified the export to other formats 2011-09-14 20:00:29 +02:00
Johannes Schlatow
70919803a8 Unit Test - Bug #835 2011-09-14 13:03:23 +02:00
Paul Beckingham
c927cd34b2 Documentation
- Improved consistency among command descriptions.
2011-09-13 23:54:01 -04:00
Federico Hernandez
e37f0c0db0 Removed 2 #ifdef in CmdDiagnostics due to cmake only builds 2011-09-14 01:42:36 +02:00
Federico Hernandez
90184081cf Bumped version number to 2.0.0.beta1 2011-09-14 01:12:28 +02:00
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