Commit graph

2598 commits

Author SHA1 Message Date
Paul Beckingham
84fb46f233 Code Cleanup
- Eliminated 'Sensor' code and tests, which would only have been used
  for the interactive version.
- Eliminated obsolete ui code.
2011-03-27 12:36:25 -04:00
Paul Beckingham
c502f0216a i18n
- Eliminated StringTable.{h,cpp}.
- Eliminated strings.<locale> files.  This is not the way to do it.
2011-03-27 02:06:09 -04:00
Paul Beckingham
3cccdf722e Bug #723
- Fixed Bug #723, which displayed a misleading message when the output was
  truncated to a page.
2011-03-26 10:59:02 -04:00
Paul Beckingham
a1d47e9509 Bug #703 - /foo/bar/g doesn't operate globally on annotations
- Fixed bug #703 that was failing to reset a moving pattern cursor between
  annotations.
- Added unit tests to  verify this functionality.
2011-03-26 09:50:26 -04:00
Paul Beckingham
bd0dbe3af6 Unit Tests, Documentation
- Added 'ids' command to task.1.in.
- Added unit test for 'ids' command.
- Reformatted 'help' output for the ~ modifier.
2011-03-19 01:18:56 -04:00
Dan White
4b71fa73f8 Feature #710
- Added feature #710, which adds an attribute modifier prefix to return the
  complement of a filtered set (thanks to Dan White).
- Added missing description to the 'help' command.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-03-19 00:56:45 -04:00
Cory Donnelly
994404d6e1 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-03-16 08:40:02 -04:00
Cory Donnelly
45e0ef20da Bug #708
- Project completion report didn't account for multiple changes made
  at once. For example, task 1-3 done, task 4-6 del, task 7-9 pro:new
2011-03-16 08:37:29 -04:00
Paul Beckingham
9470e9af17 New 'ids' command, and stdin reading
- New 'ids' command that returns a filtered set of task ID numbers, instead
  of the actual tasks.  For advanced pipeline use.
- Now supplements the command line with data read from standard input, which
  allows commands like:  echo 'add Pay the bills' | task
2011-03-16 00:53:29 -04:00
Cory Donnelly
d3447165c8 Bug #704
- Polished journal messages
2011-03-14 21:35:51 -04:00
Federico Hernandez
4de854a3c3 CMake
- zapped autoh*ll from build system. No more pain.
2011-03-04 03:58:55 +01:00
Paul Beckingham
19ef6a672d Unit Tests
- Fixed assumption that "task add ...; sleep 1; task list" will never yield
  results with "2 secs" as a task age.
2011-02-27 12:05:10 -05:00
Federico Hernandez
f2f590e193 Unit test
- disabled unit test that requires faketime
  which is not available on Mac OS X
2011-02-16 23:38:08 +01:00
Federico Hernandez
a840b6505b Unit tests
- bug 605 is postponed
2011-02-14 20:13:15 +01:00
Cory Donnelly
2ed73c0700 Bug #605
- Added unit test
2011-02-13 18:31:23 -05:00
Cory Donnelly
d845dca3af Feature #608
- Unit test added (will need to be updated when journal text is finalized)
2011-02-13 18:14:15 -05:00
Cory Donnelly
930e695ea4 Bug #628
- Unit test had noncritical spelling mistake (yes, I realize I have problems)
2011-02-13 18:09:05 -05:00
Johannes Schlatow
079bcff893 Unit test
* was using the default data.location
2011-02-13 01:51:51 +01:00
Johannes Schlatow
ea57b560d9 Bug
* fixed bug in merge command where the first match of a uuid in
  pending.data was on the depends attribute
2011-02-13 01:51:34 +01:00
Paul Beckingham
f93273ef23 Related to bug #649
- You can no longer directly complete or delete parent recurring tasks.
2011-02-12 15:30:05 -05:00
Paul Beckingham
b2828b9702 Bug #656
- Fixed bug that caused multiple recurring child tasks to be generated
  under certain circumstances.
- Removed text.t.cpp tests that are not in task.
- Added Bryce Harrington to AUTHORS file.
- Corrected tests that were broken by the fix.
2011-02-12 01:00:33 -05:00
Cory Donnelly
d80e9aa7c5 Bug #674
- Unit test created based on Peter Lewis's bug report
2011-02-11 09:12:46 -05:00
Paul Beckingham
3a7e620ce6 Unit Tests
- Inherited improved text.cpp unit tests from taskd.
2011-02-08 23:55:57 -05:00
Paul Beckingham
036d77e08f Bug
- Disallowed @ and / from an attribute name or modifier.  This causes
  input like 'user@host:path' to now be parsed as description, and not
  as an unrecognized attribute.
2011-02-04 12:14:52 -05:00
Cory Donnelly
3a623af363 Bug #668
- Inconsequential typo in bug.668.t
2011-01-31 18:37:52 -05:00
Johannes Schlatow
feb19cafdd Unit tests
* Bug #668
2011-01-31 22:09:42 +01:00
Paul Beckingham
06e15b6e25 Regex
- Removed regex support (controlled in main.h by #ifdef FEATURE_REGEX),
  because it has proven buggy.
2011-01-25 23:54:44 -05:00
Cory Donnelly
4d95dcf1da Bug c001
- Added unit test bug.c001.t to test for an unreported issue in 1.9.4
  commit 2d50d1c that involves the creation of a recurring task not
  incrementing the displayed Task ID.
2011-01-23 17:47:52 -05:00
Cory Donnelly
03d8cf1114 Bug #656
- Unit test bug.656.t added (thanks Bryce Harrington)
2011-01-23 17:34:05 -05:00
Paul Beckingham
57c1983e07 Code Migration
- Migrated taskd JSON parser into task, to provide encode/decode
  capability to Task::composeJSON.
- Migrated taskd utf8 code, replacing old unused code.
- Added unit tests or JSON.
- Migrated Tree updates from taskd.
2011-01-22 23:33:47 -05:00
Cory Donnelly
c5b61a3125 Bugs #628, #634, #635
- Unit tests added for a few issues.
2011-01-22 14:29:58 -05:00
Cory Donnelly
f820e7a8be Bug #649
- Unit test bug.649.t added to demonstrate issue with 1.9.4 commit ae4e286
2011-01-21 15:15:32 -05:00
Federico Hernandez
200fbe3334 Fixed broken unit tests that use _version
- _verstion now outputs the short git sha1 id and not longer the
  task version when building from the git repository.
2011-01-18 02:37:06 +01:00
Federico Hernandez
0cac03ad4a Feature #638
- added worded dates "later" and "someday" to enable the hiding of
  a task until doomsday.
2011-01-18 02:21:00 +01:00
Paul Beckingham
10a69c4d3d Import
- Modified man page to acknowledge import from file or URL.
- Changed FEATURE_URL from #if to #ifdef, for consistency.
- Modified import.url.t to accomodate a new URL for the test.
2011-01-09 23:05:01 -05:00
Paul Beckingham
0c05069baf Bug #624
- Enhanced unit tests in response to bug #624 (thanks to Steve Rader).
2011-01-08 11:12:39 -05:00
Federico Hernandez
e28d03df82 CMake
- build only target for the unit tests - to be used by the tinderbox
2011-01-07 23:04:04 +01:00
Paul Beckingham
2bee2f4aa5 Unit Tests
- Added new "is" method for double-precision floating point comparison,
  with tolerance value.
2011-01-04 16:29:31 -05:00
Steve Rader
e2d11d8575 Bug #590
- Applied patch to fix bug #590, which makes the yes/no/all/quit
  confirmation prompts consistent (thanks to Steve Rader).
- Patch modified to work with autocomplete.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-01-03 23:11:38 -05:00
Federico Hernandez
2663f437fc CMake
- foreach loop in test to compile the unit tests
2011-01-03 01:41:48 +01:00
Federico Hernandez
94224d0ac5 CMake
- finalized unit tests transition to CMake
- introduced 2 variables to collect inlcude dirs and libraries
2011-01-03 01:05:39 +01:00
Federico Hernandez
3a599b66f5 CMake
- added stub for the cmake file in test
- proof of concept to generate the test binaries by linking to libtask
2011-01-02 23:53:50 +01:00
Paul Beckingham
462caf5bd4 Copyright
- Updated copyright to 2011.
2010-12-31 22:03:05 -05:00
Paul Beckingham
552c594d3f Documentation
- Updated the INSTALL file to discuss cmake, not autoconf.
- Removed the transient test/Makefile from git.
2010-12-29 16:48:54 -05:00
Federico Hernandez
fb24835ac5 First commit of cmake stubs - more to come 2010-12-29 00:31:20 +01:00
Federico Hernandez
dd10bf52e7 Unit tests:
- TZ related bug in date.t.cpp (test 78). 1234567890 is 2/14 in CET.
  Changed epoch to 1234526400 which is 2/13/2009 12:00:00 UTC.
2010-12-28 22:33:18 +01:00
Federico Hernandez
5d775fdc3e Cmake:
- adapted makefile and unit tests to new place of test dir
2010-12-28 21:38:03 +01:00
Federico Hernandez
17ef077e27 Moved src/tests to test (cmake preperations) 2010-12-28 21:17:23 +01:00