Commit graph

4747 commits

Author SHA1 Message Date
Paul Beckingham
74b4684d40 Duration
- Now distinguishes between duration that require prefix quantities ('days') and
  those that do not ('annual').
2014-06-27 19:08:29 -04:00
Paul Beckingham
92f74fc664 Task
- Quotes arguments for readability.
2014-06-27 19:07:39 -04:00
Paul Beckingham
46c9ddc91f Parser
- Now tags ORIGINAL arguments that were quoted or escaped with QUOTED.
2014-06-27 19:06:35 -04:00
Paul Beckingham
9dd7acac0b Task
- Simplified dependency modification hnadling.
2014-06-26 23:55:50 -04:00
Paul Beckingham
e688176310 Parser
- Plain arguments may only be upgraded to search patterns if they cannot be
  split into multiple lexemes, and do not canonicalize to an attribute name.
2014-06-25 22:04:56 -04:00
Paul Beckingham
8bad1591dc Parser
- Rewrote ::findIdSequence to be more exacting in the definition of an ID.
  The previous implementation considered '1.2' to be an ID.
2014-06-25 21:42:00 -04:00
Paul Beckingham
d4a003f121 TW-1324
- TW-1324 Numeric UDAs are compared as strings (thanks to Ben Boeckel).
2014-06-24 23:26:41 -04:00
Paul Beckingham
525f3cda75 TW-266
- TW-266 Allow project auto-completion to search completed tasks (thanks to
         Kosta Harlan).
2014-06-24 23:19:50 -04:00
Paul Beckingham
d29b6d5631 TW-1316
- TW-1316 Some filter expressions require space before closing paren (thanks to
          Will Dietz).
2014-06-24 22:32:56 -04:00
Paul Beckingham
7cae96a87c TW-168
- TW-168 modification of due date relative to current due date (thanks to Dirk
         Sarpe).
2014-06-24 22:30:44 -04:00
Paul Beckingham
45e4eaa780 TW-249
- TW-249 Report filters don't allow parantheses (thanks to Philipp Woelfel).
2014-06-24 22:27:55 -04:00
Paul Beckingham
c0069c8341 TW-186
- TW-186 Increase for numerical UDAs (thanks to Steffen Uhlig).
2014-06-24 22:21:36 -04:00
Paul Beckingham
db6cecd2f3 DOM
- When attributes are accessed via DOM references, the value extracted is now
  imbued with the attribute type.
2014-06-24 22:16:57 -04:00
Paul Beckingham
f72aa7b02c Eval
- Updated Eval runtime diagnostics, so that all stack I/O is shown during
  evaluation.
2014-06-24 22:15:59 -04:00
Paul Beckingham
1ccbb3b43a Task
- Added ::get_float method for accessing numeric attributes.
2014-06-24 22:14:46 -04:00
Paul Beckingham
f3bdac085b TW-1345
- TW-1345 taskrc.5 manpage errors.
2014-06-21 07:36:30 -04:00
Paul Beckingham
db0a56e4f5 Variant
- Improved copy ctor.
2014-06-18 23:50:24 -04:00
Paul Beckingham
e14c867a9b Unit Tests
- Added tests for Lexer::boundary.
2014-06-18 17:46:05 -04:00
Paul Beckingham
008ba6ecab Lexer
- Implmented boundary detection hints.
2014-06-18 17:45:25 -04:00
Paul Beckingham
cbb6decf93 Unit Tests
- Added Lexer test to split 'ordinary' into 'ordinary', not 'or' and 'dinary'.
2014-06-18 00:18:18 -04:00
Paul Beckingham
1ca58fad52 Unit Tests
- Corrected verbosity settings to keep filter terms out of results, and
  affecting tests.
2014-06-17 23:20:36 -04:00
Paul Beckingham
43c097e10e Unit Tests
- Updated to conform to template.
2014-06-17 01:18:34 -04:00
Paul Beckingham
45d41bbe75 Unit Tests
- Compares to the correct error message.
- Updated to conform to template.
2014-06-17 01:14:21 -04:00
Paul Beckingham
27801c3666 Unit Tests
- Updated to conform to template.
2014-06-17 01:10:59 -04:00
Paul Beckingham
13bbcba3f9 Variant
- ::operator== uses a caseless compare for the status attribute.
2014-06-17 01:10:16 -04:00
Paul Beckingham
2a3c5e59c7 Variant
- Corrected handling for ::operator_partial when one of the operands is
  trivial.
2014-06-17 01:00:51 -04:00
Paul Beckingham
adb5f2b4bd Unit Tests
- Updated to conform to template.
2014-06-17 00:59:59 -04:00
Paul Beckingham
5f61c55b83 Unit Tests
- Corrected tests to use 3-letter day abbreviation, and look for the correct
  error message.
- Updated to conform to template.
2014-06-16 21:44:30 -04:00
Paul Beckingham
8ec5533d39 Parser
- Removed unused constant.
2014-06-16 19:50:00 -04:00
Paul Beckingham
6a4a046b1a Variant
- Updated operator%= to handle trivial values.
2014-06-16 18:44:37 -04:00
Paul Beckingham
74af53cb4f Variant
- Updated operator/= to handle trivial values.
2014-06-16 18:43:44 -04:00
Paul Beckingham
a7cc2a594a Variant
- Updated operator*= to handle trivial values.
2014-06-16 18:43:11 -04:00
Paul Beckingham
2a552d4fc0 Variant
- Updated operator+= to handle trivial values.
2014-06-16 18:42:53 -04:00
Paul Beckingham
5dbbca882f Variant
- Updated operator-= to handle trivial values.
2014-06-16 18:42:31 -04:00
Paul Beckingham
e0bca6c4ad Variant
- Updated operator_partial to handle trivial values.
2014-06-16 18:42:11 -04:00
Paul Beckingham
c1a9e1e452 Variant
- Updated operator== to handle trivial values.
2014-06-16 18:41:36 -04:00
Paul Beckingham
5e9229db76 Variant
- Updated operator>= to handle trivial values.
2014-06-16 18:41:04 -04:00
Paul Beckingham
fc3688ea70 Variant
- Updated operator> to handle trivial values.
2014-06-16 18:40:34 -04:00
Paul Beckingham
78a748e865 Variant
- Updated operator<= to handle trivial values.
2014-06-16 18:40:00 -04:00
Paul Beckingham
7484b5a22f Variant
- Updated operator< to handle trivial values.
2014-06-16 18:38:43 -04:00
Paul Beckingham
8e16a3e0e4 Variant
- Implemented ::trivial to faclitate operator shortcuts.
2014-06-16 17:25:48 -04:00
Paul Beckingham
841c78768c Unit Tests
- Removed invliad test.
2014-06-15 23:54:14 -04:00
Paul Beckingham
392c9971f5 Unit Tests
- Corrected expectation that assumeѕ all duration fields are in ISO format.
2014-06-15 23:42:16 -04:00
Paul Beckingham
ef3deaad4a Task
- When a duration fails to parse during ::modify, it must raise an exception,
  and not silently skip the attribute.
2014-06-15 23:34:43 -04:00
Paul Beckingham
64c9cbe943 Task
- Å duration field is stored in raw form, but must still be parseable.
2014-06-15 23:21:54 -04:00
Paul Beckingham
d2a5a89bcf Unit Tests
- Now conform to template.
2014-06-15 23:21:30 -04:00
Paul Beckingham
8c34d46687 Unit Tests
- Corrected unit tests that assume 'sod' and 'eod' are the same day.
2014-06-15 23:10:47 -04:00
Paul Beckingham
464d0ec690 Unit Tests
- Corrected test to expect an ISO date instead of an epoch.
2014-06-15 23:09:05 -04:00
Paul Beckingham
ffb201a068 Parser
- Pruned the unnecessary filter sub branches off the parse tree for branches
  tagged with MODIFICATION.
2014-06-15 23:04:29 -04:00
Paul Beckingham
b9fd2560eb Parser
- Removed warning about compounded plain args, which are now handled early in
  Parser::initialize, where new args are immediately lexed.
2014-06-15 22:59:14 -04:00