Commit graph

6765 commits

Author SHA1 Message Date
Paul Beckingham
b173fd67c2 Test: Updated to use newer form of call 2015-07-16 16:17:51 -04:00
Paul Beckingham
6890fd32c7 Task: Duration handling improvements
- Separated handling for 'recur' (store in raw form) and type 'duration'
  attributes (store formatted).
- Added missing storage handling for type duration attributes.
2015-07-16 16:15:47 -04:00
Paul Beckingham
76d3efe313 Lexer: Improved termination for UUID types 2015-07-16 16:15:07 -04:00
Paul Beckingham
82802f7f47 CmdInfo: Properly formats ISO durations 2015-07-16 16:14:34 -04:00
Paul Beckingham
ac011807d2 ISO: Changed the incorrect 'P0S' to the correct 'PT0S' 2015-07-16 16:14:17 -04:00
Paul Beckingham
3a9505f56c DOM: Durations may now be ISO8601p or Duration 2015-07-16 16:12:31 -04:00
Paul Beckingham
6aaa7c5074 CLI2: Some plain args were not spotted
- A plain arg can be Lexer::Type::word or Lexer::Type::dom.
2015-07-16 16:07:41 -04:00
Wilhelm Schuermann
10f684c09b Tests: More JSON formatting for "import" 2015-07-16 15:30:48 +02:00
Paul Beckingham
2f831898fa README: Added some needed tests (thanks to Tomas Babej). 2015-07-16 09:13:25 -04:00
Wilhelm Schuermann
2bc418c7e5 Tests: Merge import_NEW.t into import.t 2015-07-16 13:38:34 +02:00
Wilhelm Schuermann
8613a49f6e Import: Allow importing JSON arrays
- "export" defaults to JSON array output now.  Make "import" read it
  instead of throwing an error.
2015-07-16 12:37:38 +02:00
Paul Beckingham
b92802c2fb Entities: There is no spoon^H^H^H^H^Huda entity
- The code was trying to canonicalize 'attribute' and 'uda' separately,
  but there are no 'uda' entities.
2015-07-15 19:40:13 -04:00
Paul Beckingham
264dae02bc TW-1592: Able to add duplicate tags using 'tags:<value>'
- Thanks to Tomas Babej.
2015-07-15 13:48:47 -04:00
Paul Beckingham
b8a68683cd TW-1626: Wrong wait date
- Thanks to Andrea Rizzi.
2015-07-15 08:03:00 -04:00
Paul Beckingham
695185e62e Duration: No longer accepts 123e456d as a duration
- Prohibits the use of [eE] in the units.
- Permits use of [+-] only in the first position.
2015-07-15 07:43:08 -04:00
Paul Beckingham
f68d6fd812 Test: Cleanup and test split
- Test was adding tasks for no reaѕon.
- Split into two tests, testing distinct problems.
2015-07-15 07:41:36 -04:00
Paul Beckingham
cf816be717 CLI2: Removed incorrect comment 2015-07-13 16:46:07 -04:00
Paul Beckingham
2355738c7a Duration: May also terminate on Lexer::singleCharOperator 2015-07-13 16:45:34 -04:00
Paul Beckingham
1ec029be9b Lexer: Relocated instantiation closer to first use 2015-07-13 16:44:55 -04:00
Paul Beckingham
a7eb32272c TW-1419: On add '-tag' is considered a tag removal, which makes no sense. 2015-07-13 14:24:24 -04:00
Paul Beckingham
585ae52be3 TW-1319: UDA is NOT sorted corresponding to the order of UDA list entries
- Thanks to Onion.
2015-07-13 12:27:16 -04:00
Paul Beckingham
d8160c5b52 Test: Added tw-1419.t 2015-07-13 12:17:27 -04:00
Paul Beckingham
a059f06a43 TW-1456: Filter parser does not always handle multiple arguments bundled into one with apostrophes
- Thanks to Tomas Babej.
2015-07-13 12:14:17 -04:00
Paul Beckingham
9d1bcc3fd5 TW-1479: Task arguments not properly parsed if they contain a space
- Thanks to Tomas Babej.
2015-07-13 12:10:47 -04:00
Paul Beckingham
1565c5d01a TW-1455: Filter parser does not properly handle parentheses in attributes
- Thanks to Tomas Babej.
2015-07-13 12:02:05 -04:00
Paul Beckingham
54ee72a6f9 TW-1569: update wait:<wait-date> manpage entry
- Thanks to David Patrick.
2015-07-13 11:59:03 -04:00
Paul Beckingham
75e2431825 Test: Removed useless comparison 2015-07-13 11:58:19 -04:00
Paul Beckingham
6814fd8d31 TW-1511: Project titles not properly parsed if they contain hyphens
- Thanks to Leon Feng, Blake Sweeney, Dylan Mikus.
2015-07-13 11:46:04 -04:00
Paul Beckingham
326367a36e TW-1488: You have more urgent tasks
- Thanks to Stefan Betz, Denis Kasak.
2015-07-13 11:40:42 -04:00
Paul Beckingham
8ad5fa1b78 TW-1617: Can't search for multi-word project
- Thanks to Audrey Easterday.
2015-07-13 11:34:43 -04:00
Paul Beckingham
cbab4d0eba TW-1480: Weird behaviour on redundant filter beginning with number
- Thanks to Tomas Babej.
2015-07-13 11:17:49 -04:00
Paul Beckingham
6dfcf3ae02 TW-1529: Parser incorrectly inserting spaces into task description
- Thanks to David Brenner.
2015-07-13 11:02:01 -04:00
Paul Beckingham
0990b0d582 TW-1575: task log mangles URLs when quoted
- Thanks to Luke Macken.
2015-07-13 10:41:55 -04:00
Paul Beckingham
78bfe98070 TW-1632: Japanese translation for Taskwarrior(150713)
- Thanks to ribbon.
2015-07-13 09:43:28 -04:00
Paul Beckingham
6563911953 TW-1430: Slashes in project names don't work
- Thanks to Richard Boß.
2015-07-13 09:35:31 -04:00
Paul Beckingham
264e318be5 TW-1475: task config expands values with unnecessary spaces
- Thanks to Tomas Babej.
2015-07-13 09:26:47 -04:00
Paul Beckingham
bba7cddd9c TW-1612: Spurious whitespace added in task descriptions around certain symbols
- Thanks to Denis Kasak.
2015-07-13 09:22:23 -04:00
Paul Beckingham
d85e0620c1 TW-1389: tw will import same UUID n-times if part of same import
- Thanks to Markus Beppler.
2015-07-13 08:51:32 -04:00
Paul Beckingham
9ca2194566 Test: Renamed 2015-07-13 08:47:09 -04:00
Paul Beckingham
b30f1c64e3 TW-1527: Extra spaces added around slashes
- Thanks to Renato Alves.
2015-07-13 08:40:52 -04:00
Paul Beckingham
b7fe868f47 Test: Added tw-1609 test 2015-07-13 08:28:25 -04:00
Paul Beckingham
b113ab2348 TW-1609: In 'urgency<10', 10 is interpreted as an ID
- Thanks to Wim Schuermann.
2015-07-13 08:24:41 -04:00
Paul Beckingham
43e7aace46 Improvement: TW-1615
- TW-1615 Japanese translation for Taskwarrior(150513) (thanks to ribbon).
2015-07-13 08:15:27 -04:00
Paul Beckingham
98792dafbc Test: Added test for bug tw-1627 2015-07-13 08:06:51 -04:00
Paul Beckingham
71d2376ff1 Bug: TW-1600
- Filtering "regressions"(?) in task-2.4.3, task-2.4.4 (thanks to Ralph Bean).
2015-07-13 08:01:26 -04:00
Renato Alves
123d72be49 Test: Note to reproducibility of TW-1262.
Almost thought this was fixed already when I ran it the first time and
got everything green...
2015-07-13 12:09:43 +01:00
Renato Alves
774b9558ad Test: Remove commented WaitingFor which has been fixed 2015-07-13 11:54:03 +01:00
Renato Alves
1371c9616a Test: Add stress_test to find reproducibility test failures
Running stress_test without arguments runs all of the test-suite 100
times (serially) and stops on first failure.
Passing test names as arguments (stress_test bug.123.t ...) will run
only these.
If 100 is found to be too small or too large pass --repeat <integer>.

Run stress_test -h for more information
2015-07-13 11:46:07 +01:00
Renato Alves
9a913a9357 Test: Rename class for bug 954 2015-07-13 11:45:43 +01:00
Paul Beckingham
a09a2bc241 CLI2: Added conditional expression eval
- Only non-'string' type attributes ('numeric', 'date', 'duration') support the
  evaluation of values in FILTER arguments, for example:
    due.before:now+1d
  If evaluation is supported, values need to be lexed into tokens, and if there
  are multiple tokens, parenthesize the set.
2015-07-13 01:09:11 -04:00