Commit graph

7157 commits

Author SHA1 Message Date
Paul Beckingham
26f218a1e4 Test: Wrong color name 2015-08-02 16:22:13 -04:00
Paul Beckingham
c8287ba752 Test: Removed 16/256-color sensitivity in test 2015-08-02 16:12:09 -04:00
Paul Beckingham
a604e14ea9 Context: GC now only called when the commands request it 2015-08-02 15:54:24 -04:00
Paul Beckingham
0c85725a4c CLI2: Plain arg detection was failing if the arg was the last arg 2015-08-02 11:17:05 -04:00
Paul Beckingham
d9fc334098 Context: Added filter prep for write commands that don't instantiate Filter 2015-08-02 10:26:05 -04:00
Paul Beckingham
941e8c9f37 CLI2: When applying extra filters, insert at the beginning, thus avoiding '--' 2015-08-02 10:20:12 -04:00
Paul Beckingham
1921ed77d5 CLI2: Removed command-specific logic in addContextFilter
- This is now driven by command DNA.
2015-08-02 10:14:15 -04:00
Paul Beckingham
7d5fad721e Test: Removed another time-sensitive test 2015-08-02 10:13:37 -04:00
Paul Beckingham
758df84539 Context: Now obeys command DNA
- Applying a context filter is now performed only when a command requests it.
2015-08-02 10:08:04 -04:00
Paul Beckingham
8d5a60a2a2 Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5 2015-08-01 16:06:02 -04:00
Paul Beckingham
a57f0bbbc3 Documentation: Added the 'commands' command 2015-08-01 15:58:28 -04:00
Paul Beckingham
bf80c7d514 Cmd*: Added command DNA, which will ѕoon drive functionality 2015-08-01 15:56:04 -04:00
Paul Beckingham
d390433ec7 CmdCommands: Added 'commands' command to show command internal details 2015-08-01 15:47:21 -04:00
Paul Beckingham
234ad3d03b ISO8601: Year validation should extend beyond 2100 2015-08-01 15:40:34 -04:00
Paul Beckingham
752e737f18 Command: Added DNA for commands 2015-08-01 11:20:17 -04:00
Paul Beckingham
3478d1f03b Test: Removed date-sensitive test
- Removed test that assumes 'due:yesterday' matches '+MONTH', which of course
  is not true for the 1st of the month.
2015-08-01 10:52:45 -04:00
Daniel Shahaf
3a7216cd9a docs: Have report.X.annotations document its replacement 2015-08-01 09:42:33 -04:00
Paul Beckingham
b9ac0bf22d Test: Merged filter-prefix.t and filter-empty.t into filter.t 2015-07-31 16:40:32 -04:00
Paul Beckingham
deb177a546 Test: Added ID misparse test 2015-07-31 16:23:47 -04:00
Wilhelm Schuermann
9e8c4ba813 Tests: Update bash_tap.sh 2015-07-30 17:39:16 +02:00
Wilhelm Schuermann
cd30295922 TW-1643: Add failing test 2015-07-30 13:13:38 +02:00
Paul Beckingham
5914418fb1 Test: Corrected util.cpp/confirm calls to check std::cin::eof 2015-07-29 22:37:59 -04:00
Wilhelm Schuermann
3433770e9b l10n: Busy work 2015-07-29 19:38:16 +02:00
Wilhelm Schuermann
d3a3769ad4 Context: Make "context define" show usage info
- TW-1570 requested a "Do you want to set context $name now?" prompt
  when defining a context; this does the next best thing and shows how
  to activate the context right away.
2015-07-29 19:08:57 +02:00
Wilhelm Schuermann
4b9c2c4743 Tests: Adjust tw-46.t for rc.confirmation=on change 2015-07-29 07:09:23 +02:00
Paul Beckingham
6e1d30a2ef Test: Once more... 2015-07-29 00:57:56 -04:00
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