Commit graph

7181 commits

Author SHA1 Message Date
Paul Beckingham
12de296d42 Test: Oops, broken C++ test build in #else 2015-07-29 00:53:16 -04:00
Paul Beckingham
0e3c35fbb1 Test: Made \d a DARWIN-only test and added portable alternatives 2015-07-29 00:49:36 -04:00
Paul Beckingham
0221a7e742 TW-158: JSON export should model dependencies as array
- Thanks to Nicholas E. Rabenau.
2015-07-29 00:37:09 -04:00
Paul Beckingham
2faa2f73b5 Tw-1426: Adding a date in 1963 (why not?) stores a negative epoch, which fails to export
- Thanks to Black Ops Testing.
2015-07-29 00:28:42 -04:00
Paul Beckingham
e0f7983a28 TW-1621: Recurrent parent tasks shouldn't be counted in history
- Tthanks to Denis Kasak.
2015-07-29 00:04:16 -04:00
Paul Beckingham
87c438d51d TW-1555: Project Names Converted to Dates
- Thanks to Ryan.
2015-07-28 23:57:51 -04:00
Paul Beckingham
e508fd656b TW-1637: project name "mod" interpreted as date
- Thanks to Wim Schuermann.
2015-07-28 23:44:58 -04:00
Paul Beckingham
16cee8e263 TW-1627: 'mon' is replaced with date in project field
- Thanks to James Cline.
2015-07-28 23:44:20 -04:00
Paul Beckingham
51cf195b99 CmdImport: JSON parse errors are assumed to imply old-style format 2015-07-28 23:22:04 -04:00
Paul Beckingham
6e5fe0631f Test: Now sets rc.json.depends.array=off for testing 2015-07-28 21:59:53 -04:00
Paul Beckingham
0f4d3c1d60 Task: Dependencies are exported as a JSON array
- The 'json.depends.array' setting controls whether dedendencies are encoded as
  a JSON array, or comma-separated string.
- The default value is on.
- Both forms are imported.
2015-07-28 21:54:29 -04:00
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