Paul Beckingham
f483d1ed9d
Unit Tests - arguments.t
...
- Removed two obsolete expression operators, % and ^.
2011-07-09 17:49:41 -04:00
Paul Beckingham
322824567f
Unit Tests - args.1.t
...
- Added tests to verify that '<id> <command>' and '<command> <id>'
both work as expected.
2011-07-09 17:48:14 -04:00
Paul Beckingham
9b2e61f9b3
Arguments
...
- Corrected mishandling of sequence in both read-only and write
command filters.
2011-07-09 17:05:25 -04:00
Paul Beckingham
1cb4d19c3c
Argument Parsing
...
- On task modification, all attributes are canonicalized.
2011-07-09 09:51:19 -04:00
Paul Beckingham
2b135ed3c2
Expressions
...
- Variants can now construct dates and duration from std::string.
2011-07-09 09:03:15 -04:00
Paul Beckingham
aea1c8fea6
Command - config
...
- Reenabled the config command with new argument processing.
2011-07-08 01:32:26 -04:00
Paul Beckingham
8731bf9ac6
Calendar
...
- If the program is renamed 'cal' or 'calendar', or symlinked to
either 'cal' or 'calendar', then the calendar report is run.
2011-07-08 01:16:05 -04:00
Paul Beckingham
e92a7fdf7d
Commands - color
...
- Reenabled the color command using new argument processing.
2011-07-07 01:35:37 -04:00
Paul Beckingham
2ce0b5a1ab
closeEnough
...
- Implemented closeEnough, which does a truncated, caseless compare
between two strings. For example, "FoO" is cloneEnough to "food."
to be a match. Used to allow mixed case and abbreviated arguments.
2011-07-07 01:33:43 -04:00
Paul Beckingham
63e3f5711e
Merge branch '2.0.0' of tasktools.org:task into 2.0.0
2011-07-06 22:53:32 -04:00
Paul Beckingham
01253f1cdf
Error Handling
...
- Errors that occur during initialization no longer prevent the
display of debug info.
2011-07-06 22:52:59 -04:00
Paul Beckingham
7a544489ae
Command Line
...
- Added a method for extracting unstructured text from the command line.
2011-07-06 22:47:47 -04:00
Bryce Harrington
5e693b2530
Bug #799
...
- Applied documentation patch for #799 , fixing a broken link in the man page.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-06 18:39:44 -04:00
Paul Beckingham
8ff3a1675d
Duration
...
- Implemented operator+=, operator-=.
- Added unit tests.
2011-07-04 14:22:33 -04:00
Paul Beckingham
b70f4e8528
Variant
...
- Cleaned up some operator implementations.
- Added Date, Duration formatting.
2011-07-04 13:51:36 -04:00
Paul Beckingham
fc793e7b1d
Duration
...
- Implemented missing operator<=, operator>=.
- Added corresponding unit tests.
2011-07-04 13:34:20 -04:00
Paul Beckingham
33bb6b6d85
Expressions
...
- Improved categorization by using the Triple to represent the three
(raw/inferred/category) values to aid in extraction.
2011-07-04 11:58:55 -04:00
Paul Beckingham
2d4ee13a46
Urgency
...
- Broke out urgency into separate functions.
2011-07-04 00:28:44 -04:00
Paul Beckingham
42becb9e41
Expressions/Arguments
...
- Converted the arguments parsed from a pair (token/modified-category)
to a triple (token/type/category)
2011-07-02 11:47:39 -04:00
Paul Beckingham
e1aea08f81
Unit Tests
...
- Fixed test that assumed old-style command usage.
- Corrected duration unit tests.
2011-07-02 10:09:37 -04:00
Paul Beckingham
32392b8650
Edit - reenabled
...
- Reenabled the edit command with the new filtering mechanism.
2011-07-02 09:59:50 -04:00
Paul Beckingham
f1b5999983
Bug - ColDescriptionf indent
...
- Fixed bug in description.default rendering that inserted the indentation
twice.
2011-07-02 09:57:42 -04:00
Paul Beckingham
72fa53ad3d
I18N
...
- Localized more files.
2011-07-01 22:55:46 -04:00
Paul Beckingham
59ccad5b62
I18N
...
- Localized more files.
2011-07-01 22:33:49 -04:00
Paul Beckingham
99d25bd0db
Enhancement
...
- Implemented Record::get_duration as a helper.
2011-07-01 22:21:25 -04:00
Paul Beckingham
63f91c2f88
Enhancement
...
- Implemented Record::get_date to eliminated the need to obtain a date
as a string, then convert to time_t, then instantiate a Date.
2011-07-01 22:13:34 -04:00
Paul Beckingham
7d5f4fdfc7
I18N
...
- Localized Task.cpp
2011-07-01 21:50:23 -04:00
Paul Beckingham
a9a4c1c692
I18N
...
- Localized more files.
2011-07-01 21:16:28 -04:00
Owen Clarke
3b2e93f1a0
Bug #772
...
- Implemented custom uuid function that doesn't suffer from the precision
and cyclic lack of randomness of the previous implementation.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-01 15:34:41 -04:00
Ben Boeckel
9f2c5a6190
Bug #798
...
- Applied patches for bug #798 which allows out-of-source builds (thanks to
Ben Boeckel).
- Added Ben to the AUTHORS file.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-01 09:21:23 -04:00
Owen Clarke
3af5194442
Bug #797
...
- Fixed bug #797 which corrects a build problem with 'srandom' (thanks to Owen
Clarke).
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-01 09:04:52 -04:00
Paul Beckingham
fd484ee264
Feature
...
- The duration 'm' is now interpreted as 'months', not 'minutes'.
2011-06-30 18:35:54 -04:00
Paul Beckingham
829a26d70b
I18N
...
- Localized projects and _projects commands.
2011-06-29 23:05:53 -04:00
Owen Clarke
f5e155e54d
Bug 795
...
- Improved detection of uuid library, and the uuid_unparse_lower
function.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-29 22:38:41 -04:00
Paul Beckingham
9ceae7c5c2
Expressions
...
- Eliminated % modulus operator - who cares?
- Found a potential problem with argv[0].
2011-06-28 00:47:28 -04:00
Paul Beckingham
3096364352
Expressions
...
- Implemented type-specific <, <=, >, <= for "priority". Untested.
2011-06-28 00:35:15 -04:00
Paul Beckingham
2c621eaadc
Unit Tests
...
- The dom.t tests were segfaulting because they used a blank Context
with no arguments, and when the DOM referecne 'context.program' was
queried, it failed because there was no Context::args[0].
2011-06-27 23:26:51 -04:00
Paul Beckingham
45a757832a
Feature #559
...
- Added feature #559 , which implements a new configuration variable,
rc.exit.on.missing.db, which causes taskwarrior to exit if the
rc.data.location is missing (thanks to Sander Marechal).
2011-06-27 23:23:28 -04:00
Owen Clarke
526fa07326
Bug #795
...
- Addressed lack of uuid_unparse_lower on Solaris.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 22:57:58 -04:00
Owen Clarke
2bc8dfbfe7
Bug #793
...
- Replaced timegm with equivalent code.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 22:49:37 -04:00
Owen Clarke
8fbce0288e
Bug #794
...
- Corrected typo and missing ; for Solaris builds.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 22:40:45 -04:00
Owen Clarke
e4c173771f
Bug #792
...
- Applied patch to allow Solaris to be recognized by cmake.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 21:59:38 -04:00
Paul Beckingham
8c6e5277ec
Expressions
...
- Project and Recur attributes now match leftmost by default.
2011-06-27 00:40:56 -04:00
Paul Beckingham
43e72b8ac8
Footnotes
...
- Relocated 'N tasks' style message to footnotes.
2011-06-27 00:22:18 -04:00
Paul Beckingham
1813f67230
Clean Build
...
- Removed a warning for a clean build on CentOS.
2011-06-27 00:10:33 -04:00
Paul Beckingham
f5ea55031c
Commands - add, log
...
- Made code more consistent between the two commands.
2011-06-26 23:58:17 -04:00
Paul Beckingham
32cbe7a049
Bug
...
- rc.default.due needs to be converted to an epoch before storage.
2011-06-26 23:45:17 -04:00
Paul Beckingham
2ac33089b1
Commands - delete
...
- The delete command is now working.
2011-06-26 23:36:48 -04:00
Paul Beckingham
877ecbc864
Commands - done
...
- The 'done' command now functional.
- Localized CmdDone.cpp.
2011-06-26 23:28:21 -04:00
Paul Beckingham
1b90adc1aa
Bug
...
- Fixed 'limit:N' bug, whereby when a report specifies a limit, and
the user overrides it, there are potentially two limit arguments,
in which case the last one, not the first one is needed.
2011-06-26 15:19:14 -04:00