Commit graph

3596 commits

Author SHA1 Message Date
Federico Hernandez
a3242f7b5b Merge branch 'master' into 2.2.0
- merge of 2.1.2 release being now the current released version in
  master.

Conflicts:
	CMakeLists.txt
	NEWS
	test/bug.1104.t
	test/run_all
2012-09-18 22:58:59 +02:00
Federico Hernandez
b93f384b3a Added SHA1 of tagged release commit 2012-09-18 21:58:23 +02:00
Federico Hernandez
1e3176ed70 Version number and release date for 2.1.2 2012-09-18 21:07:43 +02:00
Pietro Cerutti
1c5068edb2 Bug
- Fixed bug where shadow files are not properly created when there is a missing
  .taskrc file.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-09-18 07:50:55 -04:00
Scott Kostyshak
d8a4aab85b Enhancement
- Improve bash completion for 'project:', 'depends:', and 'priority:'.
- 'projABC:' no longer expands (same for 'depends:' and 'priority:').
- 'proj:' only expands if abbreviation.minimum is less than 5
  (same for 'depends:' and 'priority:' and for other values of
  abbreviation.minimum).
- Unit tests for the above.
2012-09-16 22:11:52 -04:00
Paul Beckingham
ad3e249a64 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-09-16 15:19:39 -04:00
Paul Beckingham
c2ccd1b3ee Unit Tests
- Enhanced the bug #956 tests to cover both supported methods of eliminating
  extraneous output from commands (redirect stderr, and verbose=nothing).
2012-09-16 15:16:32 -04:00
Paul Beckingham
9d1ae99656 Virtual Tags
- Added virtual tag TODAY as a synonym for DUETODAY.
2012-09-16 14:57:59 -04:00
Paul Beckingham
2f10e8d2e2 Bug #1083
- Partially fixed #1083, which showed 'task 0 ...' when modifying a non-
  pending task (thanks to Aikido Guy).
2012-09-16 14:57:07 -04:00
Federico Hernandez
eb09f4da9a Unit tests
- removed special characters in the logging output that
  disturbed the correct counting of ok unit tests when
  using flod.
2012-09-15 00:20:00 +02:00
Federico Hernandez
112d0d8771 Unit tests
- portability to help flod
2012-09-12 00:00:54 +02:00
Federico Hernandez
31bbc0ea2f Unit testing
- verbose unit testing to help flod tinderbox in displaying the results.
2012-09-11 22:38:40 +02:00
Paul Beckingham
8cd43ce2b2 Chase warning due to the opaque type time_t in printf
Signed-off-by: Paul Beckingham <paul@beckingham.net>

Conflicts:
	src/Duration.cpp
2012-09-11 20:58:16 +02:00
Paul Beckingham
724f29a50b Unit Tests
- Fixed ids, uuids, zshids, _ids, _uuids, _zshids commands to suppress
  headers that prevent these from being used.
2012-09-10 22:55:50 -04:00
Johannes Schlatow
bbd8a9556e Merge branch '2.1.2' of tasktools.org:task into 2.1.2 2012-09-10 23:42:30 +02:00
Johannes Schlatow
68c1ca3f69 Bug #1104
Fixed the bug where the sort order of transactions with equal timestamps
 was not stable, i.e. due to the lack of a total order, different merges
 produced different sortings and hence messed up transactions which
 have already been merged.
2012-09-10 22:53:44 +02:00
Paul Beckingham
d868294d90 Unit Tests
- Corrected FreeBSD rx unit tests.

Conflicts:
	test/rx.t.cpp
2012-09-10 22:41:34 +02:00
Paul Beckingham
36e3317907 Prebuild
- Removed obsolete WIN32 reference that causes lots of verbose warnings
  from cmake.
2012-09-10 22:40:51 +02:00
Federico Hernandez
da37c08dbd Documentation
- bumped information in related files to 2.1.2
2012-09-10 21:45:49 +02:00
Federico Hernandez
89a7f2a459 Unit tests
- run_all should also look for *.t.exe files on cygwin
2012-09-10 21:07:05 +02:00
Johannes Schlatow
98da8ddcb8 Bug #1104
Added unit test.

 Implemented a quick fix for the issue with a broken branch-off algorithm
 which disregarded the transaction boundaries in the undo.data file.
2012-09-10 20:33:32 +02:00
Federico Hernandez
cf634a22c9 Bumped version number to 2.1.2 2012-09-10 20:27:05 +02:00
Johannes Schlatow
55fe8810ce Bug #1104
Added unit test.

 Implemented a quick fix for the issue with a broken branch-off algorithm
 which disregarded the transaction boundaries in the undo.data file.
2012-09-10 14:42:44 +02:00
Scott Kostyshak
6a4fd6b133 Code Cleanup
- Remove an unused parameter.
2012-09-05 06:57:58 -04:00
Scott Kostyshak
ed8be2e2f2 Bug #1059
- Fixed Bug #1059, where CmdEdit incorrectly ran gc.
  (Thanks to Louis-Claude Canon)
2012-09-04 22:11:53 -04:00
Scott Kostyshak
7a6cdde571 Code Cleanup
- Constify some catches.
2012-09-04 22:04:41 -04:00
Paul Beckingham
589d8fab5c Prebuild
- Removed obsolete WIN32 reference that causes lots of verbose warnings
  from cmake.
2012-08-31 14:24:54 +02:00
Pietro Cerutti
b0af5f1496 Portability
- Use Time::Local (in Perl core) instead of Date::Parse

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-08-28 17:27:13 +02:00
Paul Beckingham
e4e58e6571 Unit Tests
- Corrected FreeBSD rx unit tests.
2012-08-28 15:19:17 +02:00
Paul Beckingham
efeb00d423 Code Cleanup
- Typo in unit test.
- Removed obsolete ANALYSIS file.
2012-08-28 14:41:18 +02:00
Paul Beckingham
e796d7a2f1 Unit Tests
- Fixed syntax error in test.
- Fixed tests that were broken, but did not detect that.
2012-08-28 14:36:21 +02:00
Paul Beckingham
660f7bd98e Unit Tests
- Added direct TAP support to run_all via the '--verbose' option.
- Disabled regex tests that use \b for Cygwin.
2012-08-27 12:46:42 +02:00
Owen Clarke
7c408f4c5f Portabality
- Added comment to explain the use of perl in run_all to get the current
  epoch time in seconds
2012-08-23 08:42:01 +10:00
Owen Clarke
c5de9df963 Portability
- Changed bash-style syntax to sh syntax
- Reverted date printing to using perl as per 0cb71a8 for support on
  Solaris
2012-08-22 20:34:01 +10:00
Pietro Cerutti
98a5788a40 Use sh instead of bash in test/run_all 2012-08-21 16:23:09 +01:00
Paul Beckingham
968d1c32e8 Portability
- Removed unnecessary dependence on Bash: sh is POSIX, bash is not.
2012-08-21 16:13:45 +01:00
Paul Beckingham
23cd59a9a1 Chase warning due to the opaque type time_t in printf
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-08-21 15:41:30 +01:00
Paul Beckingham
945127ad05 Portability
- Fixed warning that only appears on FreeBSD.
2012-08-21 11:11:55 +01:00
Scott Kostyshak
8850bc849f Documentation
- Updated the ChangeLog.
2012-08-15 22:46:43 -04:00
Scott Kostyshak
e89aa6cdbc Feature #1069
- Throw a custom error if uda.<uda-name>.type is not set
  but, for example, uda.<uda-name>.label is set.
2012-08-15 21:37:01 -04:00
Federico Hernandez
f1c156be39 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-08-14 00:59:11 +02:00
Federico Hernandez
b02bbb3c2c Unit tests
- run_all should also look for *.t.exe files on cygwin
2012-08-14 00:50:22 +02:00
Scott Kostyshak
60c1017e68 Code Cleanup
- Show no longer indents the warning.
2012-08-13 17:31:42 -04:00
Scott Kostyshak
109c6434f5 Code Cleanup
- Recycle an object.
- A second argument to task show now gives an error.
2012-08-13 08:10:22 -04:00
Scott Kostyshak
7b0b3210a5 Bug #1065
- Fixed bug #1065, where CmdShow issued messages in incorrect situations.
- Added unit tests.
2012-08-12 17:49:27 -04:00
Paul Beckingham
8d66d801c0 Enhancement
- Added virtual tag support for the first batch.  There will be follow-up
  work, tests and so on.
2012-08-12 13:46:23 -04:00
Scott Kostyshak
d73766484d Bug
- Fixed Bug #1060 where an error that was thrown by undo was not
  correctly caught and reported.
- Added a couple of tests to ensure that the correct error was
  caught and reported.
2012-08-11 07:03:56 -04:00
Scott Kostyshak
bd085a820d Code Cleanup
- Improved style and efficiency of Perl test code.
- Added alias expansion to feature log of bash completion script.
- Added comments to bash completion script.
2012-08-05 16:41:09 -04:00
Scott Kostyshak
54b2e10da4 Unit Tests
- Create a framework for testing bash completion.
- Test that aliases are expanded.
- Test that task commands are expanded.
2012-08-05 08:43:24 -04:00
Paul Beckingham
fd731dfd6e Bug
- Fixed ambiguous operator precedence in unit test.
2012-08-02 00:27:18 -04:00