Commit graph

5695 commits

Author SHA1 Message Date
Paul Beckingham
44eae76188 Unit Tests
- Implemented proper Test::More skipping.
2014-12-25 16:29:16 -05:00
Paul Beckingham
db9b17bcb2 Unit Tests
- Skipped regex case-insensitive tests on Cygwin.  Doesn't work.
2014-12-25 16:19:21 -05:00
Paul Beckingham
41473252bf Unit Tests
- Skip regex, case-insensitive tests on Cygwin.  Because it doesn't work.
2014-12-25 16:03:11 -05:00
Paul Beckingham
5a81fda835 Unit Tests
- Made test more portable.
2014-12-25 15:57:06 -05:00
Paul Beckingham
8e31ae2075 TW-1445
- TW-1445 Aliases broken: cannot contain multiple arguments anymore (thanks to
          Johannes Schlatow).
2014-12-25 15:24:58 -05:00
Paul Beckingham
e924913e11 TW-1417
- TW-1417 Misaligned fields in report for "remaining" date (thanks to Jeremy
          John Reeder).
2014-12-24 10:00:57 -05:00
Paul Beckingham
84dc7dd245 TW-1423
- TW-1423 Using the date February 29th, in a non leap year does not fail well
          (thanks to Black Ops Testing).
2014-12-24 09:03:49 -05:00
Paul Beckingham
2c1f18bf26 TW-1442
- TW-1442 Dateformat incorrectly interpreted (thanks to Dirk Deimeke).
2014-12-24 00:29:46 -05:00
Paul Beckingham
be659a7325 TW-1416
- TW-1416 Dates can't be input with hyphens (thanks to Jeremy John Reeder).
2014-12-24 00:26:29 -05:00
Paul Beckingham
1be01b19a4 Task
- Prevented some (but not all) errors from being incorrectly displayed as "no
  longer support file format 1".
2014-12-24 00:15:35 -05:00
Paul Beckingham
632fca4c9a Unit Tests
- Explicitly set colors so that tests are not dependent on current defaults.
2014-12-24 00:11:16 -05:00
Paul Beckingham
eb7b55ceef Unit Tests
- Explicitly set colors so that tests are not dependent on current defaults.
2014-12-23 23:57:14 -05:00
Paul Beckingham
7e8c277bb7 Unit Tests
- Added explicit rc.rule.precedence.color to make the test independent of the
  current defaults.
2014-12-23 23:51:37 -05:00
Paul Beckingham
7795570e61 Build
- Broke the build with code in a hidden ifdef.
2014-12-23 23:46:28 -05:00
Paul Beckingham
b6a4a9c197 Config
- The default color theme is now dark-256 for Linux, and dark-16 for everything
  else.
2014-12-23 22:45:04 -05:00
Paul Beckingham
7a243816c0 Themes
- Updated light & dark themes (thanks to David Patrick).
2014-12-23 22:30:39 -05:00
Paul Beckingham
4926888332 Documentation
- Updated man page to reflect the rc.regex=on default.
2014-12-14 18:43:07 -05:00
Paul Beckingham
d01d2109cf TW-1471
- TW-1471 task calc uses output it doesn't understand (thanks to Jens Erat).
2014-12-14 18:34:12 -05:00
Paul Beckingham
63dcea9c37 Documentation
- Updated man page for tw-1469.
2014-12-14 13:38:24 -05:00
Paul Beckingham
7b8ccf57c6 TW-1469
- TW-1469 Case-insensitive searching broken on Cygwin (thanks to Richard
          Boß).
2014-12-14 13:31:33 -05:00
Paul Beckingham
8228c8bf83 Unit Tests
- Added unit tests for tw-1469.t, to verify behavior on suported platforms.
2014-12-14 11:02:36 -05:00
Paul Beckingham
34ef9f6dd7 TW-1449
- TW-1449 Nag function does not respect urgency (thanks to Tomas Babej).
2014-11-29 16:58:06 -05:00
Paul Beckingham
9349d5808c Unit Tests
- Modified test so that it passes, which is a temporary measure. The problem is
  unfixed, but there is a workaround.
2014-11-29 16:38:35 -05:00
Paul Beckingham
206323dd6a TW-1468
- TW-1468 Filtering for project and description has issues (thanks to Richard
          Boß).
2014-11-28 12:24:51 -05:00
Paul Beckingham
9a95696872 Code Cleanup
- Improved white space for readability and style compliance.
2014-11-28 12:15:00 -05:00
Paul Beckingham
7ca40db738 Unit Tests
- Corrected escaping for a test, where '+' does not need to be escaped when
  added in a description, or when scanning output with '+ in string', but does
  need to be escaped when it is part of a regular expression, because it has
  regex semantics.
2014-11-22 14:03:30 -05:00
Paul Beckingham
d5c937ba8c Filter
- Diagnostics for filter eval were not enabled properly. Now rc.debug.parser=2
  will show all filter eval diagnostics.
2014-11-22 13:48:28 -05:00
Paul Beckingham
85518c646f Task
- Modification diagnostics were missing for 'recur' attribute.
2014-11-22 13:38:24 -05:00
Paul Beckingham
dc1e01b1c2 Filter
- Identifies Filter::subset as source of CLI::dump call, rather than the
  default label, which was confusing.
2014-11-22 12:24:55 -05:00
Paul Beckingham
06319711f1 Quoting
- Removed automatic dequoting by the Lexer.
- Implemented Lexer::dequote for manual control.
- Variant dequotes string values when appropriate.
- Fixed some unit tests that became wrong.
2014-11-18 00:59:52 -05:00
Paul Beckingham
f28ccdc8b1 CLI/CmdCalendar
- When the binary is named (or symlinked to) 'cal', then CLI::_args[0]
  must be clobbered, and restored for subsequent commands.
2014-11-17 19:13:19 -05:00
Federico Hernandez
13b1982efd Fixed typo in name of holidays rc file 2014-11-17 20:35:53 +01:00
Paul Beckingham
82c6a6ecf4 TW-256
- Holidays not displayed for some locales (thanks to Leon Feng).
2014-11-17 08:20:21 -05:00
Federico Hernandez
dfdd2d3f35 Holidays rc-files
- Updated existing files up to 2016.
- Added bunch of new locales from holidata.net.
2014-11-17 00:09:25 +01:00
Paul Beckingham
2eabe85cca TW-1460
- TW-1460 Empty due dates lead to endless loop.
2014-11-15 14:43:49 -05:00
Wilhelm Schuermann
00b15ca407 TW-1460
- Display error for empty due: attribute when adding recurring tasks.
- Prevent endless loop for tasks that have an empty due: attribute.
2014-11-15 14:16:02 -05:00
Paul Beckingham
7422a76153 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-11-12 12:00:00 -05:00
Wilhelm Schuermann
5b4793e750 CmdSync
- CmdSync::send () is TLSClient specific and breaks the build if libgnutls
  is not found, so #ifdef it.
2014-11-12 11:58:03 -05:00
Federico Hernandez
885c97a279 Bumping version to beta3 2014-11-12 00:07:49 +01:00
Paul Beckingham
66c303daef CLI
- Removed inverted range error, and instead the parser just downgrades from an
  ID range to unknown.
2014-11-10 23:55:38 -05:00
Paul Beckingham
0ac751c94d TW-1429
- TW-1429 Filtering of tags containing special words does not work (thanks to
          Johannes Schlatow).
2014-11-10 23:13:24 -05:00
Paul Beckingham
dd7a9e32db Context
- Improved command line feedback.
2014-11-10 22:53:33 -05:00
Paul Beckingham
d511c9d0be L10N
- Removed unused strings associated with file format 3.
2014-11-10 22:29:18 -05:00
Paul Beckingham
9ab722cd8c L10N
- Removed unused string STRING_ERROR_MEMORY.
2014-11-10 22:21:46 -05:00
Paul Beckingham
55d7442abc CLI
- Restored message about nested alias safety valve.
2014-11-10 22:19:15 -05:00
Paul Beckingham
d5d60b672a Context
- Restored header if the 'information' command is assumed.
2014-11-10 22:15:53 -05:00
Paul Beckingham
97428397a5 CLI/Context
- Removed repeated header calls that display a reconstructed command line in
  the event that default.command is used.
2014-11-10 22:07:02 -05:00
Paul Beckingham
65ca1ab84d Unit Tests
- Removed './' from relative paths, which seems to make a difference to FreeBSD.
2014-11-10 21:41:57 -05:00
Paul Beckingham
ba9043e6a7 Unit Tests
- Removed debugging output from test - that was not helping.
- Added more basic tests because FreeBSD is misbehaving.
2014-11-10 21:04:22 -05:00
Paul Beckingham
9936157704 TW01438
- TW-1438 Configuration setting rc.confirmation=no no longer disables
          confirmation requests (thanks to Adam Coddington).
2014-11-10 20:05:28 -05:00