Commit graph

6425 commits

Author SHA1 Message Date
Wilhelm Schuermann
9e20f83f24 Tests: Implement export() for task access 2015-05-28 10:09:02 +02:00
Wilhelm Schuermann
916ca29507 Tests: Remove bashism in conversion script 2015-05-27 19:02:01 +02:00
Paul Beckingham
e04eb4256b CMake: Ignore 'lex' binary. 2015-05-26 00:32:36 -04:00
Renato Alves
90806f3b49 Tests: conversion -v now also lists any perl file under test/ 2015-05-25 18:48:10 +01:00
Renato Alves
4c22f1ddb0 Tests: Include TW-1600 into filter.t 2015-05-25 18:31:30 +01:00
Renato Alves
09bfc27260 Test template now includes an example of expected failure 2015-05-25 18:28:46 +01:00
Renato Alves
1302e69d51 Expected failures are now treated as skipped tests
Before they were being treated as "passing" tests.
Since this might cause them to be silently ignored, classifying them
under "skipped" will ensure they won't go unnoticed.

Expected failures != skipped. The former will always be executed.
2015-05-25 18:15:31 +01:00
Renato Alves
53899296b1 List expected failures with test/problems 2015-05-25 17:57:00 +01:00
Renato Alves
5a0120f0f2 Add test for TW-1262 (currently skipped) 2015-05-25 16:55:55 +01:00
Renato Alves
6ecfab9647 test/README - Add guidelines for writing tests 2015-05-25 16:55:55 +01:00
Wilhelm Schuermann
a78c9a6eb8 TW-1440: Implement "task import" from STDIN
- Read tasks from STDIN when no files are specified, or only "-"
  is specified.
2015-05-25 16:47:37 +02:00
Paul Beckingham
3e043291f0 Cleanup: Combined File, Path and Directory into FS
- The three objects are related and always travel together, so they are now
  combined.
2015-05-25 10:11:41 -04:00
Paul Beckingham
ff88d9da16 Bug: ::execute concatenates output
- The ::execute function concatenates output to the std::string provided, which
  is almost never wanted. Now it clears first.
2015-05-25 09:22:14 -04:00
Paul Beckingham
8fd1bb630d Code: Formatting cleanup 2015-05-25 09:21:58 -04:00
Paul Beckingham
e8d04bdce6 C++11: N1984 auto 2015-05-24 13:36:26 -04:00
Paul Beckingham
7bbc794d3a C++11: N2672 Initializer lists
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00
Wilhelm Schuermann
49f7612704 TW-1572: Implement better urgency inheritance
- Implement recursive urgency inheritance.  If this is to be made a
  default setting, some thought will have to be put into making it
  more efficient.
2015-05-22 23:01:21 +02:00
Wilhelm Schuermann
8800ad33cf Util: Minor formatting cleanup of execute() 2015-05-13 20:59:59 +02:00
Paul Beckingham
e74c6963a9 C++11: Cleaned up program framework with range-based for 2015-05-11 17:50:53 -04:00
Paul Beckingham
5a57dfd70d C++11: Cleaned up commands code with range-based for 2015-05-11 17:45:15 -04:00
Paul Beckingham
bd3d58484a C++11: Cleaned up column code wiht range-based for 2015-05-11 17:33:20 -04:00
Federico Hernandez
5b675ea834 ChangeLog fix 2015-05-10 23:25:52 +02:00
Federico Hernandez
4ba41d4fe7 Bumped version in ref page 2015-05-10 23:21:17 +02:00
Federico Hernandez
1800ab0e1b Bumped version number to 2.4.5 2015-05-10 23:11:26 +02:00
Federico Hernandez
e989dee505 Added SHA1 of tagged release commit 2015-05-10 23:07:55 +02:00
Federico Hernandez
df49aaba12 Version number and release date for 2.4.4 2015-05-10 22:57:16 +02:00
Paul Beckingham
0d45bb75e8 Merge branch '2.4.4' of ssh://git.tasktools.org/tm/task into 2.4.4 2015-05-10 13:19:12 -04:00
Paul Beckingham
5d5e824453 Docs: Filled in balnks in NEWS file. 2015-05-10 13:18:54 -04:00
Wilhelm Schuermann
92b5dfd83d Add-ons: Fix UTF8 problems with export-sql.py 2015-05-10 17:58:20 +02:00
Paul Beckingham
7293de75b0 TW-1608: The recur/recurring report shows tasks without a recur interval
- Lexer needed additional lookbehind criteria for ::isTag (thanks to Brad
  Collette).
2015-05-09 21:27:48 -04:00
Paul Beckingham
f30f4d45c6 TW-1285: I'd like to use relative dates combined with times
- With the new parser and datemath in place, this can now be done (thanks to
  Adam Gibbins).
2015-05-09 11:22:05 -04:00
Paul Beckingham
32ef3fdb3d TW-69: wait dates relative to due date
- Possible now with DOM access:  task add ... due:eom wait:due-1wk
  (thanks to John Florian).
2015-05-09 11:15:35 -04:00
Wilhelm Schuermann
65b6a35ef5 Tests: Make self.t('add proj:"with space" foo') work 2015-05-08 18:19:37 +02:00
Roman Inflianskas
e16bd6ee83 Fish: Use variables for completion options 2015-05-07 20:21:32 -04:00
Wilhelm Schuermann
69698454c3 Tests: Speed up filter.t
- None of the tests in filter.t write data.  Make use of that by
  setting up task data once for all included tests.
2015-05-07 17:23:14 +02:00
Wilhelm Schuermann
3a7af017f8 Tests: Make "run_all --fast" even faster
- Run isolated tests in the background, bringing the time for running
  "run_all" down to the time it takes to run the old tests.
2015-05-07 11:41:05 +02:00
Wilhelm Schuermann
accd51bc35 Tests: Fix problems with "run_all --fast" on OpenBSD 2015-05-06 22:06:11 +02:00
Wilhelm Schuermann
5fee3ef27c Tests: Clean up after "run_all --fast" 2015-05-06 20:56:35 +02:00
Paul Beckingham
0850e26a3e Tests: Removed annoying comment. 2015-05-06 14:44:35 -04:00
Wilhelm Schuermann
4deb17696e Tests: Parallelize Python tests
- "./run_all --fast" parallelizes all Python tests.  Perl and C++ tests
  are not guaranteed to run in an isolated environment, so run them
  serially instead.
- Adjust some tests in order to recognize them as Python.
2015-05-06 19:17:33 +02:00
Wilhelm Schuermann
7d859d6b6d Tests: Beautify gc.t, add one more GC test 2015-05-05 21:00:39 +02:00
Wilhelm Schuermann
f6e04585ae Tests: Add simpler self.t("add foo +bar") syntax 2015-05-05 20:28:10 +02:00
Renato Alves
1e31df3c7a Tests: bug.368.t > feature.recurrence.t as python 2015-05-05 15:13:01 +01:00
Renato Alves
db04f1b583 Tests: bug.327.t > feature.recurrence.t in python 2015-05-05 15:05:42 +01:00
Wilhelm Schuermann
1c9edcc2ec TW-1610: Add tests
- More GC tests needed, this is just a basic "starter pack" to
  reproduce the problem reported in TW-1610.
2015-05-05 10:10:29 +02:00
Wilhelm Schuermann
710372b8db TW-1610: Disabling GC can lead to editing the wrong task
- 9e6c6ecb93 introduced a change that
  can lead to the wrong task being edited when GC is manually turned
  off.  Fix this by taking the user's GC setting into account.
2015-05-04 09:01:01 +02:00
Paul Beckingham
c8756f0201 TW-1474: Documentation is confusing with respect to user/uuid on the server
- Man page clarified, mention of 'password' removed (thanks to Tomas Babej).
2015-05-03 11:21:01 -04:00
Paul Beckingham
b6b49ca7e4 Docs: Added comment to prevent changes 2015-05-03 10:54:52 -04:00
Renato Alves
ec9b8c5aa9 Tests: Force protocol to IPv4 on localhost 2015-05-03 15:52:12 +01:00
Wilhelm Schuermann
023a17e6be (t|T)ask(w|W)arrior ---> Taskwarrior
- Standardize spelling of "Taskwarrior" across most files.
- Fix other minor typos in help text and docs.
2015-05-02 18:12:21 +02:00