Commit graph

739 commits

Author SHA1 Message Date
Paul Beckingham
cdd07be331 Enhancement - Att::type
- Implemented Att::type to discern attribute types to assist with
  type-specific modifier evaluation.
- Fixed bug that required attributes to have specified values, whereas
  stating "name:" means no value for name.
2009-06-16 00:51:11 -04:00
Paul Beckingham
db0d85f5e7 Bug Fix - description in filter
- The description attribute may now be used in a filter.
2009-06-16 00:30:56 -04:00
Paul Beckingham
6a77d61faa Enhancements - undo command
- Implemented the undo command.
2009-06-16 00:16:43 -04:00
Paul Beckingham
71b320b361 Enhancement - undelete command
- Implemented undelete command.
2009-06-16 00:08:02 -04:00
Paul Beckingham
41e137a92c Enhancements - stop command
- Implemented stop command
- Fixed bug in TDB that failed to truncate the pending file on
  update.
2009-06-15 23:59:56 -04:00
Paul Beckingham
1551362d1e Enhancements - delete, start
- Implemented delete command.
- Implemented start command.
2009-06-15 23:47:42 -04:00
Paul Beckingham
6e6f86783f Unit Tests - rc override
- Unit tests to make sure rc.name:value is working.
2009-06-15 21:10:57 -04:00
Paul Beckingham
858f34cf95 Bug Fix - std::vector::erase
- Fixed bug whereby code called std::vector::erase, but then continued
  as though the iterator was still good.
2009-06-15 20:15:40 -04:00
Paul Beckingham
108b486ac1 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-06-15 19:28:01 -04:00
Federico Hernandez
0fe4a850df Initial german localization 2009-06-16 00:55:15 +02:00
Federico Hernandez
bc65d7292f * INSTALL file is now jsut include in dist tarball
but no longer "installed" together with the binary
  package documentation.
2009-06-16 00:08:07 +02:00
Paul Beckingham
00c5e61d49 Bug Fix - rc:alternate
- Fixed handling of rc: alternate rc file.
- Reorganized Config.cpp regarding defaults.  More work needed.
2009-06-15 17:31:29 -04:00
Federico Hernandez
717e0f6329 * rpm now installs bash completion
* changes for doc (scripts) and man pages
2009-06-15 23:26:59 +02:00
Paul Beckingham
4470c3b88c Bug Fix - Task::determineVersion
- Fixed determineVersion details.
- Strips \n from  EOL before attempting parse.
2009-06-15 14:22:34 -04:00
Paul Beckingham
62f240aad4 Bug Fix - composeF4 -> parse -> composeF4
- Fixed bug that meant Task::composeF4 added a newline, but Task::parse
  did not expect a newline.  This caused Task::determineVersion to
  detect a format 1 encoding and throw.  Changed TDB::load to not remove
  any \n characters, and Task::parse to accept lines either with or
  without.
2009-06-15 12:37:35 -04:00
Paul Beckingham
b742712bb1 Bug Fix - Cmd
- The two load* methods were conflicting - if loadCustomReports was
  called first, it stomped on the commands list and prevented
  loadCommands from running.  Now there is only one method.
- Rewrote util.cpp/autoComplete to use STL over libc.  Might reduce
  code size.
2009-06-15 12:18:04 -04:00
Paul Beckingham
9f1880e050 Enhancement - done command
- Implemented done command.
2009-06-15 11:27:50 -04:00
Paul Beckingham
c65b6e9f48 Portability - util.cpp #warning
- Removed useless warning pragma - it only confuses people.
2009-06-15 10:37:32 -04:00
Paul Beckingham
91da9440c5 Portability
- Fixed compiler warnings on Fedora/Ubuntu.
- Fixed bug found by compiler warnings.  Woohoo!
2009-06-15 10:00:06 -04:00
Paul Beckingham
98316f7ab1 Enhancement - append
- Implemented append command.
2009-06-15 01:44:42 -04:00
Paul Beckingham
3d9ec60153 Unit Tests - tdb.t
- Now cleans up it's temporary files.
2009-06-15 00:54:25 -04:00
Paul Beckingham
7ff178cecc Integration - TDB write operations
- TDB::gc rewritten.
- TDB::commit fixed.
- Corrected usage of handleRecurringTasks wrt TDB.
- Unit tests for TDB.
2009-06-15 00:52:24 -04:00
Federico Hernandez
314ce572e1 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-06-15 00:44:14 +02:00
Federico Hernandez
f98abbe036 Intitial swedish localization. 2009-06-15 00:43:39 +02:00
Paul Beckingham
80bb9f0a18 Integration - TDB
- Renamed TDB2 to TDB.
- Integration of new code complete.
2009-06-14 18:19:00 -04:00
Paul Beckingham
53d0d1cbac Integration - TDB*
- Obsoleted TDB.h, TDB.cpp
- Implemented missing functionality in TDB2.cpp
2009-06-14 17:58:37 -04:00
Paul Beckingham
1560463f9e Integration - Obsolete T removed
- Removed the obsolete T object (the old Task object), that is no
  longer needed since the Task object is now complete, and there is
  nothing in T to refer to.  This is a big milestone.
2009-06-14 16:14:10 -04:00
Paul Beckingham
ffd887747f Enhancement - calendar report
- Implemented calendar report.
2009-06-14 15:49:58 -04:00
Paul Beckingham
9004b65956 Enhancement - next report
- Implemented next report.
2009-06-14 14:53:22 -04:00
Paul Beckingham
f470acadaa Enhancements - export
- Implemented Task::composeCSV.
- Implemented export command, but removed filename support.  This
  needs to be documented.
2009-06-14 14:26:39 -04:00
Paul Beckingham
efe0b86708 Integration - report helper functions
- Added getDueDate helper function.
- Added getFullDescription (description + annotations) helper function.
2009-06-14 14:02:14 -04:00
Paul Beckingham
8529daaf28 Enhancements - timesheet report
- Implemented timesheet report.
2009-06-14 13:32:53 -04:00
Paul Beckingham
819c33e491 Enhancements - summary report
- Implemented summary report.
2009-06-14 12:46:01 -04:00
Paul Beckingham
a09246fd71 Enhancement - ghistory report
- Implemented the ghistory report.
2009-06-14 12:31:19 -04:00
Paul Beckingham
9f6b112003 Enhancement - history report
- Implemented history report.
- Improved (not to the point of them working) filters.
- Improved automatic filter construction.
- Removed obsolete members from Task.
- Added tag support to the "add" command.
2009-06-14 12:09:57 -04:00
Paul Beckingham
85e38e67d3 Integration - fully eliminated T.cpp, T.h 2009-06-13 19:09:00 -04:00
Paul Beckingham
113c15ef2f Integration - removed T
- T.cpp no longer compiled and linked.  Kept for reference, but no
  longer part of task.
2009-06-13 19:03:35 -04:00
Paul Beckingham
c89a222c7c Integration - removing T
- Removed linkage to T.o in unit tests.  The first step towards
  eliminating T.cpp.
2009-06-13 18:53:01 -04:00
Paul Beckingham
841958d889 Unit Tests - decommission t.t.cpp
- Eliminated obsolete t.t.cpp.
2009-06-13 17:59:54 -04:00
Paul Beckingham
a04bfc468b Integration - mod
- Now handles blank modifiers.  Like it should.
2009-06-13 17:56:48 -04:00
Paul Beckingham
25d27bec93 Integration - attribute validation
- Implemented digitsOnly primitive.
- Implemented noSpaces primitive.
- Added unit tests for above.
- Att now manages the lists of valid attributes and modifier names.
- validName migrated to Att.
- validModifiableName migrated to Att.
- New Att::validNameValue.
- Removed obsolete validDescription.
- Removed obsolete validPriority.
- Removed obsolete valid.cpp/guess.
- Implemented text.cpp/noVerticalSpace.
- Added unit tests for text.cpp/noVerticalSpace.
- Removed final static lists from valid.cpp.
2009-06-13 16:27:13 -04:00
Paul Beckingham
eda17772c9 Enhancement - color
- Color routines are now table driven and much smaller.
- Implemented Text::guessColor.
2009-06-13 14:18:49 -04:00
Paul Beckingham
0665caae55 Enhancements - date
- Relocated valid.cpp/dataValid to Date::valid.
- Added new unit tests in date.t.cpp.
2009-06-13 12:51:51 -04:00
Paul Beckingham
d99dec5556 Enhancements - info report
- Implemented info report.
- Removed odd Subst and Sequence objects from Task - are they just
  vestigial limbs, or did I add them for a good reason?  They are
  gone now.
- Added Filter::applySequence to replace old filterSequence.
- Removed obsolete report.cpp filter function.
2009-06-13 00:50:48 -04:00
Paul Beckingham
5288e167d0 Enhancement - gc/shadow
- shadow file update is now triggered by the type of command, not
  explicitly by name.
- Context::inShadow now keeps track of whether it is running a shadow
  file update to prevent recursion.
2009-06-12 22:45:42 -04:00
Paul Beckingham
788e264378 Enhancements - custom reports
- Converted active, overdue and completed reports to custom reports.
- Added new recurring report.
- Added support for new 'end' column, which is the completion date.
2009-06-12 22:12:35 -04:00
Paul Beckingham
c9807f4636 Unit Tests - parse
- Eliminated parse.t.
- Fixed t.t.cpp tests.
2009-06-12 21:34:42 -04:00
Paul Beckingham
6ac8bdc5ca Enhancements - modifier cleanup
- Removed obsolete modifiers
- Added above/below
2009-06-12 21:23:15 -04:00
Paul Beckingham
bd0309b4ff Enhancements - modifiers
- Now only allows one modifier.
- Removed "not", "synth", "next", "first", "last" modifiers.
- Modified match logic.
2009-06-12 21:11:33 -04:00
Paul Beckingham
5a0535c9b5 Enhancment - Record::has
- Used new Record::has method for efficiency.
2009-06-12 01:54:53 -04:00