Paul Beckingham
d0c4326af3
Lexer: Upgraded attributes vector to a map of name to type
2015-07-26 12:22:02 -04:00
Paul Beckingham
52d2bbd11a
Lexer: Implemented ::isOneOf using a std::map as input
2015-07-26 12:09:40 -04:00
Paul Beckingham
58edbb9630
DOM: Aligned comments with Lexer
2015-07-26 12:08:40 -04:00
Paul Beckingham
18295a3b32
Test: Added Lexer::isLiteral and Lexer::isOneOf tests
2015-07-26 10:56:18 -04:00
Paul Beckingham
391d527328
Lexer: Added end-boundary sensitivity to ::isLiteral and ::isOneOf
2015-07-26 10:48:26 -04:00
Paul Beckingham
3e74aa51e2
Lexer: Added 'endBoundary' requirement to ::isUUID
2015-07-25 17:59:40 -04:00
Paul Beckingham
f910ce39de
Test: Added TODO notes for further test scenarios
2015-07-25 17:55:39 -04:00
Paul Beckingham
c769891b76
Lexer: Implemented ::isInteger to help parsing.
2015-07-25 17:54:55 -04:00
Paul Beckingham
37e31e8e0b
Lexer: Implemented ::isOneOf, to help with parsing
2015-07-25 17:34:51 -04:00
Paul Beckingham
9394b96202
Lexer: Implemented ::isLiteral, to help with parsing
2015-07-25 17:34:01 -04:00
Paul Beckingham
7354a8f13f
CLI2: Context not applied for certain commands and args
...
- The 'undo', 'export' and all helper commands are exempt from context
filtering.
- Any command line containing a FILTER with Lexer:Type::set or Lexer::Type:uuid
is also exempt from context filtering.
2015-07-25 17:23:06 -04:00
Paul Beckingham
3fd8545d43
Test: Propagated typo fix to tests
2015-07-25 14:07:14 -04:00
Paul Beckingham
1dc1cf0cb7
Test: Added explanation
2015-07-25 14:06:32 -04:00
Paul Beckingham
77190eda6c
Test: Added space separator for DOM output
...
- When using multiple arguments (task _get 1.due 2.due), the results are
separated by a space, even if the values are blank. The consistency of this
is good, but the test ignored it.
2015-07-25 14:05:12 -04:00
Paul Beckingham
d05cb1c147
L10N: Typo fix
...
- Thanks to Daniel Shahaf.
2015-07-25 14:03:50 -04:00
Paul Beckingham
804c3526ba
Test: Accepted the de facto behavior is better than the intended behavior
...
- Adding an 'until' date to a recurring task is propagated to the task instances
and they expire at the same time. It was assumed otherwise, but the working
behavior is better.
2015-07-25 14:00:27 -04:00
Paul Beckingham
42d5ebfd4b
Test: Reduced sensitivity of test
...
- Some virtual tags appear only when a task is due in the same MONTH, so it is
easy to imagine on July 31st testing 'due:tomorrow' and it being a different
month.
2015-07-25 13:59:08 -04:00
Paul Beckingham
5f30c9e2c3
Feature: Extra arg detection
...
- Commands that do not accept filters or modifications now generate an error
when extra arguments are specified.
2015-07-25 13:58:15 -04:00
Paul Beckingham
8684639f72
Filter: Implemnted ::hasFilter to detect command line filters
2015-07-25 10:01:06 -04:00
Paul Beckingham
99e0953489
TW-1641: 'edit' should process or reject <mods> arguments
...
- Thanks to Daniel Shahaf.
2015-07-25 09:39:13 -04:00
Paul Beckingham
7aa101de58
Filter: Implemented ::hasModifications to detect command line modifications
2015-07-25 09:28:55 -04:00
Paul Beckingham
6510026189
RC: Conditional compilation regarding REG_ENHANCED.
2015-07-25 01:04:11 -04:00
Paul Beckingham
6c31098ad2
CLI2: Context no longer applies to any helper command.
2015-07-25 01:01:24 -04:00
Paul Beckingham
3df84516d2
RX: Was missing REG_ENHANCED, which omits \d support
2015-07-25 00:43:48 -04:00
Paul Beckingham
4f0e32b69b
Lexer: Improved ::decomposePattern to extract raw string
2015-07-25 00:34:18 -04:00
Paul Beckingham
41a76c6798
Tags: New 'UDA' and 'ORPHAN' virtual tags.
2015-07-24 23:46:24 -04:00
Paul Beckingham
297b0c4b04
Dates: Added exact-match 'eaѕter' logic
...
- Without checking for an exact match for 'easter', the date 'easter' is a
valid partial match for 'eastermonday'.
2015-07-24 22:57:47 -04:00
Paul Beckingham
0f72d3d502
TW-1640: '_get <id>.start' for an inactive tasks returns a date formatted from epoch 0.
2015-07-24 22:47:50 -04:00
Paul Beckingham
ebbd20b719
Test: Extended dom tests
2015-07-24 18:50:21 -04:00
Paul Beckingham
61a9eec512
Documentation: Updated for 2.4.5/2.5.0
2015-07-24 18:49:21 -04:00
Paul Beckingham
564a84d603
Test: Merged tw-285.t into tag.t
2015-07-24 17:38:15 -04:00
Paul Beckingham
7357d1003d
Test: Converted to Python, enabled
2015-07-24 17:12:37 -04:00
Paul Beckingham
4eeea35c7e
Test: Removed obsolete tests
...
- Addtionally removed rc creation test, which did almost nothing
2015-07-24 17:04:15 -04:00
Paul Beckingham
29b18c216c
Test: Converted to Python
2015-07-24 17:01:57 -04:00
Paul Beckingham
70e4d16768
util: Sends all read input to debug output
2015-07-24 12:51:52 -04:00
Paul Beckingham
18046ae92d
util: Deliberately initializing confirmation responses inside the loop
2015-07-24 12:49:11 -04:00
Renato Alves
68debe2561
Test: Mark known failure as expectedFailure and add note
2015-07-24 17:24:06 +01:00
Renato Alves
846e09cfc3
Test: Convert bug.955.t and merge with recurrence.t
2015-07-24 16:09:42 +01:00
Renato Alves
92b71a76fc
Test: Fix flapping test
...
Every now and then "Age" would show up breaking the column matching
2015-07-24 15:51:47 +01:00
Renato Alves
9d09d35c59
Test: Convert bug.calc.t to Python
2015-07-24 15:33:26 +01:00
Renato Alves
3c7187d801
Tests: Create compat.py for Python 3 compatibility
...
Individual tests are not yet fully compatible with Python 3.
Some still have issues with I/O encoding/decoding. The painful part...
2015-07-24 15:29:41 +01:00
Renato Alves
341b528980
Tests: More Python 3 compatibility changes
2015-07-24 15:29:41 +01:00
Renato Alves
ce4f67e1bd
Test: Convert calc.t to Python
2015-07-24 15:29:41 +01:00
Renato Alves
600b3f7656
Test: Remove unused import
2015-07-24 15:29:41 +01:00
Paul Beckingham
773b133562
Test: Converted to Python
2015-07-24 08:57:34 -04:00
Paul Beckingham
f1b06bff93
Test: Converted to Python
2015-07-24 08:20:31 -04:00
Paul Beckingham
8c4188f705
Test: Converted to Python
2015-07-24 00:01:09 -04:00
Paul Beckingham
1f3ffac893
Test: Merged start_NEW.t into start.t
2015-07-23 23:35:56 -04:00
Paul Beckingham
e05b31a89f
Test: Converted to Python
2015-07-23 23:14:05 -04:00
Paul Beckingham
a3f4c08659
Test: Converted to Python
2015-07-23 22:51:52 -04:00