Paul Beckingham
caab26247c
TW-1642: After "--", an apostrophe unexpectedly ends the task description
...
- Thanks to Jeremy John Reeder.
2015-07-28 19:58:18 -04:00
Paul Beckingham
4e2062cd25
Test: Added test for TW-1642
2015-07-28 19:35:29 -04:00
Paul Beckingham
d4b450bc53
Test: Added Lexer::dequote tests
2015-07-28 19:33:58 -04:00
Paul Beckingham
f1651862a0
L10N: Removed unused strings
2015-07-28 17:07:29 -04:00
Paul Beckingham
387c981b6d
Test: Fixed error message
2015-07-28 16:57:40 -04:00
Paul Beckingham
1b764e1641
Test: Reverted change, because deletion propagates, and that's okay
2015-07-28 16:54:10 -04:00
Renato Alves
2ef6248f53
Test: Reorganize and cleanup bulk.t tests
2015-07-28 20:30:00 +01:00
Renato Alves
2f15bb8fa5
Test: Revert recurrence.t test as per comment
...
The comment mentions one behaviour but the test was performing another.
It was also failing for a different reason, which is filters with no
matches always exit with non-zero. If the correct behaviour is indeed
expiring all recurring tasks, the test must use runError instead.
Also added a TODO for easier finding.
2015-07-28 20:01:39 +01:00
Renato Alves
3908c29a21
Test: Add confirmation test on recurrence.t
...
I'm a little unsure about the correct behaviour here.
I would expect both features to depend on rc.recurrence.confirmation and
not rc.confirmation. Yet when rc.confirmation=on no prompt is shown
about recurring parents.
2015-07-28 19:59:19 +01:00
Renato Alves
0f8c995934
Test: Correct output message of an undo test
2015-07-28 19:57:18 +01:00
Renato Alves
64e7939122
Test: Add another test for truncated STDIN
2015-07-28 19:57:18 +01:00
Renato Alves
fe23510c51
Test: Drop default confirmation:off and correct tests accordingly
2015-07-28 19:57:18 +01:00
Renato Alves
1ad8aa9aec
Test: Add unexpected successes to problems script
2015-07-28 16:57:51 +01:00
Paul Beckingham
7956fbe9c0
Test: Added test of initial .taskrc generation
2015-07-28 10:03:10 -04:00
Paul Beckingham
e6a4b50da1
Test: Fixed mistake where the 'annual' variant was not run
2015-07-28 00:22:41 -04:00
Paul Beckingham
0747cc38aa
CmdImport: Removed unused method
2015-07-28 00:20:28 -04:00
Paul Beckingham
e1a102d717
Test: Corrected UDA tests
2015-07-28 00:08:49 -04:00
Paul Beckingham
8adb6ae889
DOM: Missing value UDAs now return "", not "''".
2015-07-28 00:07:51 -04:00
Paul Beckingham
e69a44e788
Test: Removed 'json.array:off'
2015-07-27 23:48:40 -04:00
Paul Beckingham
2961c3ee85
Test: Added free-form JSON test
2015-07-27 22:57:29 -04:00
Paul Beckingham
5c27f80432
Recurrence: updated code and ISO8601 recurrence processing
...
- Converted from 'atoi' to 'strtol'.
- Updated special handling for recurrence values to include ISO8601 durations.
2015-07-27 22:22:08 -04:00
Paul Beckingham
87e713e97c
Documentation: Removed Perl references
2015-07-27 22:21:15 -04:00
Paul Beckingham
44fc565f6d
Test: Updated test to have ISO8601 duration value
2015-07-27 20:48:56 -04:00
Paul Beckingham
84a9140763
Task: Stubbed duration storage change
2015-07-27 20:48:54 -04:00
Paul Beckingham
c2c26b338b
CmdImport: Added support for free-form JSON import
2015-07-27 20:48:51 -04:00
Paul Beckingham
5995320164
Task: Added a code path allowing parseJSON to be handed a JSON tree
2015-07-27 20:48:48 -04:00
Paul Beckingham
965b7cfd3d
JSON: Made ::dump const, because it should be
2015-07-27 20:48:45 -04:00
Renato Alves
8c36db1272
Test: Remove Perl from conversion script
2015-07-27 23:48:37 +01:00
Renato Alves
2a4674eb3b
Test: Convert bash_completion.t to Python
...
Last Perl test converted.
Celebration dance: ~o~ \o\ \o| |o| |o/ /o/ ~o~
2015-07-27 23:46:20 +01:00
Renato Alves
a5b8936f7a
Test: Simplify path construction of calc binary
2015-07-27 21:33:14 +01:00
Renato Alves
1b8e38fb7e
Test: Convert feature.559.t to Python
2015-07-27 19:42:38 +01:00
Paul Beckingham
f2ecb61edf
CLI2: PSEUDO args are no longer candidates for search terms
2015-07-27 02:36:35 -04:00
Paul Beckingham
d103862bff
Test: ID range support was dropped some time ago for dependencies
...
- 'task <id> modify depends:1-10' has not worked for a while. Not sure
it needs to be added.
2015-07-27 02:24:45 -04:00
Paul Beckingham
9c8edc4121
CLI2: ::desugarFilterPlainArgs now needs to look for Lexer::Type::identifier
2015-07-27 02:18:36 -04:00
Paul Beckingham
cd1bd1eec9
Test: Reduced performance sensitivity
2015-07-27 02:15:24 -04:00
Paul Beckingham
16620bed45
CLI2: Demoting Lexer::Type::dom args that fail to canonicalize no longer makes sense
2015-07-27 02:13:43 -04:00
Paul Beckingham
1021bb530a
Test: 'a360fc44-315c-4366-b70c-ea7e7520b749.foo.bar' is not a DOM ref because '.foo.bar' isn't
2015-07-27 01:54:38 -04:00
Paul Beckingham
a5507678e8
Lexer: ::isDOM failed to enforce minimum size before allowing no endBoundary
2015-07-27 01:53:32 -04:00
Paul Beckingham
c2f08c8f05
Lexer: Bug in ::isDOM required '.' separators to have endBoundary
2015-07-27 01:52:59 -04:00
Paul Beckingham
99a53edca0
Lexer: ::isLiteral now stops at EOS
2015-07-27 00:57:30 -04:00
Paul Beckingham
f2fe397048
Test: Removed time-sensitive tests
...
- Removed assumptions that 'due:eow' matched +MONTH.
- Removed assumptions that 'due:eom' didn't match +WEEK.
2015-07-27 00:38:24 -04:00
Paul Beckingham
0c7e731b0d
Lexer: Integrated ::commonLength
...
- Uses std::string::size_type for all string lengths, offsets.
- Rewrote ::isLiteral to be simpler.
- Added support for abbreviated DOM refs.
- Obeys rc.abbreviation.minimum, indirectly.
- Added tests.
2015-07-27 00:31:15 -04:00
Paul Beckingham
a9b701ae6d
Lexer:: Implemented ::commonLength with offsets, for embedded parsing
2015-07-27 00:04:00 -04:00
Paul Beckingham
244c81a647
Lexer: Implemented ::commonLength for word root comparison
2015-07-26 23:52:17 -04:00
Paul Beckingham
f5792a03fb
Lexer: Captures minimumMatchLength for abbreviated attribute matching
2015-07-26 22:58:02 -04:00
Paul Beckingham
8406dd4c6f
Documentation: Updated README
2015-07-26 17:12:24 -04:00
Paul Beckingham
466d1ddb69
Test: Cleaned up lexer.t.cpp
...
- Added more DOM types for testing.
- Added attribute/type mapping to give Lexer a chance to find DOM refs.
- Recategorized DOM-like token to Lexer::Type::identifier, because now DOM
parsing is more precise.
2015-07-26 16:21:10 -04:00
Paul Beckingham
4646a86d4d
Lexer: Added missing rc.<name> DOM parsing
2015-07-26 16:18:58 -04:00
Paul Beckingham
97e52c8f17
CmdInstall: Removed obsolete, unlinked code
2015-07-26 14:17:08 -04:00
Paul Beckingham
7eae358aca
Documentation: Improved zsh support (thanks to Daniel Shahaf).
2015-07-26 14:15:27 -04:00