Paul Beckingham
ae3257b623
Bug Fix - tags report using std::cout
...
- The tags report was writing directly to std::cout, therefore
bypassing the header/footer control.
2009-06-18 18:37:53 -04:00
Paul Beckingham
b9a1993692
Bug Fix - limit:
...
- The limit: attribute can now be specified on the command line, to
override any custom report filter.
2009-06-18 18:34:40 -04:00
Paul Beckingham
af606598fa
Bug Fix - recur.t
...
- Fixed bug that causes recur.t to fail. The "recur:" duration was
being converted to days, whereas it should have been kept as a
literal.
2009-06-18 17:45:27 -04:00
Federico Hernandez
96be49b78d
Replaced nested if statement with boolean logic expression
2009-06-18 09:48:46 +02:00
Federico Hernandez
8cf7888fd5
* Wrong unit test and algorithm for leapyears (year 1900)
2009-06-18 09:18:13 +02:00
Federico Hernandez
0ae76d3bf2
Fixed include statement for Linux
2009-06-18 09:11:59 +02:00
Paul Beckingham
5eb4d23685
Bug Fix - nag
...
- TDB::gc now displays a header message.
- nag function now piggy-backs on existing locked TDB.
2009-06-18 01:55:04 -04:00
Paul Beckingham
b932d9b9b7
Bug Fix - custom report filters
...
- Added support for using parent in a filter.
- Fixed bug that ignored custom report filters.
- Made Context::parse and Context::autoFilter reentrant.
2009-06-18 01:41:15 -04:00
Paul Beckingham
4d43b77441
Enhancement - recurring tasks
...
- Implemented handleRecurringTasks.
- Implemented TDB::nextId.
2009-06-18 00:02:12 -04:00
Paul Beckingham
840c61cbbf
Enhancement - nag
...
- Implemented nag feature.
2009-06-17 23:39:39 -04:00
Paul Beckingham
7e2da42f40
Bug Fix - due date, colorization
...
- Fixed bug that caused colorization to be way, way off. Silly
mistake.
- Fixed bug whereby due dates and durations were stored as-is, but
should have been converted.
- On a related note, added Date::toEpochString,
Duration::operator (std::string).
2009-06-17 22:52:04 -04:00
Federico Hernandez
f701f10234
* Files needed for cygwin packaging
...
- usr <- binary tarball
- CYGWIN-PATCHES <- source tarball
- patch to create CYGWIN PATCHES inside source tarball
2009-06-17 22:53:09 +02:00
Paul Beckingham
61cedc3ad1
Enhancement - import command
...
- Implemented import command
- Implemented Context::clearMessages to remove all accumulated
messages. This is needed because parts of the import process are
recursive and we don't want Context to dump messages for every
import record on completion.
2009-06-17 00:59:31 -04:00
Paul Beckingham
07cf8d6ee8
Enhancements - edit command
...
- Implemented edit command.
2009-06-17 00:03:09 -04:00
Paul Beckingham
b2c76f6123
Enhancement - modify command
...
- Implemented modify command
2009-06-16 23:25:35 -04:00
Paul Beckingham
051720a279
Enhancement - annotate
...
- Implemented annotation command.
2009-06-16 22:55:05 -04:00
Paul Beckingham
23f0a9658e
Enhancement - duplicate
...
- Implemented duplicate command.
- Now allows duplication (and demotion) of recurring tasks.
2009-06-16 22:40:59 -04:00
Paul Beckingham
8a22ac7cf2
Enhancement - header, footer, message
...
- Added header, footer and message sinks.
- Added individual colorization of headers, footers and messages.
- Added new configuration variables to Config.cpp, taskrc.5.
- Added colorization functions to rules.cpp
2009-06-16 21:55:30 -04:00
Paul Beckingham
e7a0a20d55
Optimization
...
- TDB::load can entirely skip the loading of completed.data if the
specified filter is just so.
- Added FEATURE_TDB_OPT definition to allow disabling of this.
2009-06-16 18:35:02 -04:00
Paul Beckingham
7a77cd6d4a
Unit Tests - export.t
...
- Corrected export unit test to account for the new syntax of the export
command, which no longer accepts a file name argument, and send the report to
stdout instead.
2009-06-16 16:34:46 -04:00
Paul Beckingham
78ec411067
Enhancements
...
- Added text.cpp/ucFirst function to capitalize words, so that "pending"
can now appear as "Pending" on the info report. This helps task pass
many more test cases.
2009-06-16 13:32:11 -04:00
Paul Beckingham
7a2c40626e
Unit tests - add.t
...
- Reduced verbiage in tests.
2009-06-16 12:51:13 -04:00
Paul Beckingham
027b343e49
Bug Fixes - autofilter
...
- Auto filter now only creates a filter for read-only commands.
- Fixed bug whereby ambiguities were reported twice:
"could be one of a, b, a, b".
2009-06-16 12:05:04 -04:00
Paul Beckingham
97d732e5f7
Enhancements - filters
...
- The project attribute is now automatically filtered with
project.startswith:<value>
to provide leftmost matching (ie subprojects).
- Unmodifiable attributes (uuid, start ...) are now prevented from
being updated if the command is designated as a "write" command.
2009-06-16 10:42:53 -04:00
Paul Beckingham
5691ed0588
Bug Fix - custom reports
...
- Fixed bug that applied an empty sequence as a filter, which passed
no tasks.
2009-06-16 01:31:49 -04:00
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