Commit graph

541 commits

Author SHA1 Message Date
Paul Beckingham
2ce9322a28 Bug #917
- Fixed bug #917, which mis-encoded quotes (thanks to Uli Martens).
- Added unit tests.
- Minor unrelated edits.
2012-02-02 22:58:36 -05:00
Paul Beckingham
89b5c91a35 Unit Tests
- Corrected method name.
2012-01-30 20:27:50 -05:00
Paul Beckingham
5609711d47 Feature #571 - Special tag feedback
- The verbosity token 'special' now controls whether the feedback is provided
  when special tags are added to a task.
- Added new 'special' verbosity token documentation to man page.
- Added missing 'next' special tag to man page.
- Added new localized strings for describing special tags.
2012-01-29 18:28:07 -05:00
Paul Beckingham
bf9e14f581 Bug 899
- Fixed bug #899, which displayed incorrect project completion numbers (thanks
  to Paul-Gheorghe Barbu).
- Added unit tests.
2012-01-29 17:44:43 -05:00
Paul Beckingham
c092b027a6 Code Cleanup
- Removed 'synch_key' tests and file I/O.  Soon, soon...
2012-01-29 17:42:52 -05:00
Paul Beckingham
ec96d929a0 Bug 879 - Description/Annotation ending with Slash Causes Problems
- Backslashes actually.  The escaping mechanism in the low-level parser
  was eating leading \ characters when it should not.  Very hard bug to
  find, trivial to fix.
- Added unit tests to several components while narrowing this down.
2012-01-29 15:36:05 -05:00
Paul Beckingham
15030599fd Unit Tests
- Added more verbosity token tests, which show up some unimplemented
  loose ends.
2012-01-12 16:49:54 -05:00
Paul Beckingham
9853bfee46 Unit Tests
- Restored a 'skip' unit test, because it works most of the time, and
  only fails during the one end of daylight savings day.  Along with
  several others.
2012-01-10 23:19:54 -05:00
Ralph Bean
36ed70ad93 Exports
- Provided sample sqlite3 export script in Python, to serve as a
  starting point for anyone wanting to migrate taskwarrior data into
  a SQL database.  Illustrates JSON parsing and separation of the
  relational data.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-10 17:58:34 -05:00
Paul Beckingham
0215e708ad Unit Tests
- Fixed bug in TAP 'diag' output generation, which was missing a newline.
2012-01-05 23:29:33 -05:00
Paul Beckingham
938a33f236 Unit Tests
- Typo in #ifdef caused incorrect number of reported tests.
2012-01-05 20:17:03 -05:00
Paul Beckingham
fb38dca1db Parsing
- Integrated modified Nibbler and test code from kronisk.  These
  changes make both test and Nibbler standalone objects, with configurable
  features.
2012-01-05 17:37:50 -05:00
Paul Beckingham
a262d41828 Backlog
- Removed backlog file processing, which slows down processing.  When
  2.1 has taskd support, the backlog will be cleared, but until then there
  is no point in accumulating transactions.
2012-01-03 00:55:20 -05:00
Paul Beckingham
6580095002 Copyright
- Year change.
2012-01-02 23:32:10 -05:00
Paul Beckingham
0001457612 Enhancement
- Added indentTree function that will provide the basis for a new 'projects'
  command, and potentially more.  Includes unit tests.  Based on a patch from
  Ralph Bean.
2011-12-27 15:32:51 -05:00
Wilhelm Schuermann
30a97f5f52 Cleanup
- Removed unnecessary definitions of max() and min(), replaced existent calls
  with std::max().  Precursor to Bugfix #887.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-12-18 10:13:21 -05:00
Paul Beckingham
52f70f6901 Regexes
- Added support for \< and \> for Solaris (thanks to Owen Clarke).
2011-12-16 07:44:19 -05:00
Owen Clarke
f173469f98 Unit Tests
- Fixed test so it work on Solaris and Perl 5.8.4.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-12-16 07:36:46 -05:00
Johannes Schlatow
56d652d058 Unit Tests
- re-opened bug #819
2011-12-02 17:11:50 +01:00
Paul Beckingham
e99a03dbcb Unit Tests
- Automatically passes tests that are known problems on OSX.  These are
  limitations in the regex library that cannot be worked around.
2011-12-01 01:01:16 -05:00
Paul Beckingham
6473c9f39b Unit Test Bug
- Fixed an odd bug in the unit tests.  If today is the 14th of the month,
  then subtracting 14 * 86_400 from the current time results in a date that
  is in the prior month.  Except of course, for one month following the shift
  from summer time to standard time, when the test is run between 11:00pm and
  midnight.  The reverse happens in the spring.
2011-11-14 23:40:19 -05:00
Paul Beckingham
7f577e8885 Code Cleanup
- Minor edits.
2011-10-29 10:49:41 -04:00
Paul Beckingham
e5303a2180 Deletion
- An already-completed task may now also be deleted.
- Added unit tests.
2011-10-23 23:49:25 -04:00
Paul Beckingham
dd88965d3a Unit Tests
- The timesheet tests were doing data math wrong.
2011-10-21 00:42:26 -04:00
Paul Beckingham
ba0d471981 Unit Tests
- rx.t was mis-reporting the expected number of tests.
2011-10-21 00:27:02 -04:00
Paul Beckingham
fc9f9980b8 Unit Tests
- Added more word-boundary tests, even though they are broken on OSX.
  I don't think there is anythign we can do about this.
2011-10-16 11:19:33 -04:00
Paul Beckingham
c1cf2b743d Unit Tests
- Fixed several test files that were reporting an incorrect test count.
2011-10-16 01:02:19 -04:00
Paul Beckingham
6e72430a58 Unit Tests
- Corrected cleanup code for bug.hang.t which was removing the wrong
  config file.
2011-10-16 00:46:38 -04:00
Paul Beckingham
45262be011 Bug #860
- Fixed bug #860, which prevented lower-case priority values from being
  accepted (thanks to Michelle Crane).
- Added unit tests.
- Also included ChangeLog updates from other fixes that were misseed.
2011-10-16 00:46:13 -04:00
Paul Beckingham
27d6407493 Bulk
- Modified the meaning of 'rc.bulk'.  The old meaning was: the largest number
  of tasks that could be modified without confirmation.  New meaning is: the
  number of tasks that trigger bulk confirmation.  Default was 2 (meaning that
  2 tasks affected were not in need of confirmation), is now 3 (meaning 3 tasks
  now trigger confirmation.
  Despite the dog's dinner I made of the preceding statement, the configuration
  variable is now easier to understand.
2011-10-15 23:02:01 -04:00
Paul Beckingham
44e7fdac4b Unit Tests
- Improved signal to noise ratio of all remaining unit tests.
2011-10-15 22:25:38 -04:00
Paul Beckingham
23991f72da Unit Tests
- Removed bulk tests that are obsoleted by those in bulk.t.
2011-10-15 19:09:32 -04:00
Paul Beckingham
88cab4825c Unit Tests
- Implemented new 'bulk.t' to test confirmation and bulk confirmation for
  sets of 1, 2 and 3 tasks (single, multiple, bulk).  This test file obsoletes
  several unit tests in other files.
2011-10-15 19:06:34 -04:00
Paul Beckingham
4d03cdce3b Unit Tests
- Marked the 'soq' test as skipped for now, because it is wrong.
2011-10-15 17:00:24 -04:00
Paul Beckingham
6677dd2104 Unit Tests
- Now that bulk modifications trigger confirmation properly, the tests
  need to raise bulk=3 to a higher value.
2011-10-15 16:59:34 -04:00
Paul Beckingham
a06bba7379 Unit Tests
- Reworded test to match the new confirmation.
2011-10-15 16:52:54 -04:00
Paul Beckingham
f04304d24b Unit Tests
- Added rc.confirmation=off to unit tests to bypass the new, stringent
  confirmation rules.
2011-10-14 03:04:16 -04:00
Paul Beckingham
6e1ad5207d Unit Tests
- Corrected unit tests to match task output.
2011-10-12 01:26:59 -04:00
Paul Beckingham
b7ab366c71 Unit Tests
- Improved signal to noise ratio.
2011-10-11 00:29:55 -04:00
Paul Beckingham
f64f45ac26 Unit Tests
- Improved signal to noise ratio.
2011-10-10 23:42:22 -04:00
Paul Beckingham
c879eb6811 Code Cleanup
- Renamed recur.t to recur.sort.t, because more recur unit tests are on the
  way, and this one was a misnomer.
- Minor edits - whitespace.
2011-10-10 22:54:28 -04:00
Federico Hernandez
6346c5ed81 License
- last files with reference to GPL or GNU changed to MIT
2011-10-08 17:01:42 +02:00
Federico Hernandez
8d38725306 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-10-08 16:57:31 +02:00
Federico Hernandez
23e3bc56fb License
- perl unit tests
2011-10-08 16:57:13 +02:00
Paul Beckingham
997ed7079a Unit Tests
- Fixed unit test that relied on certain wording of the 'version'
  command output.
2011-10-08 10:48:50 -04:00
Federico Hernandez
bbe218a6f1 License
- first round of unit tests
2011-10-08 12:17:42 +02:00
Paul Beckingham
8ba2dc1fa1 Unit Tests
- Fixed tests that were broken by the new 'help' command output.
2011-10-02 09:49:55 -04:00
Paul Beckingham
160c9708a5 Verbosity
- Deprecated 'rc.edit.verbose'.
- Added support for verbosity token 'edit'.
- Updated documentation.
2011-10-01 11:34:05 -04:00
Paul Beckingham
78f91ffa91 Verbosity
- Added 'affected' verbosity token.
- Deprecated 'rc.echo.command'.
- Updated config defaults.
- Labelled all deprecated 'echo.command' references with '// Deprecated 2.0'
- Added unit tests to start the verbosity testing.  Not complete.
- Updated taskrc.5 man page.
2011-10-01 11:16:12 -04:00
Federico Hernandez
87bca169c5 Cleanup ANALYSIS 2011-09-29 23:51:13 +02:00