Commit graph

4598 commits

Author SHA1 Message Date
Tomas Babej
8683574b18 Hooks: Make sure that original task is properly detected
On modify event uses UUID of the original task being modified
to determine which line should be interpreted as modification
of the task.

This was achieved by searching by a substring in a specific JSON
format, which, consenquently, failed on JSON strings of other (valid)
formats.
2015-01-25 10:28:04 -05:00
Tomas Babej
654159b2fd Hooks: Add per-hook time measurement 2015-01-19 16:07:34 -05:00
Tomas Babej
6fdf0738a7 Hooks: Improve debugging messages for on-exit hooks 2015-01-18 13:27:32 -05:00
Paul Beckingham
41003fc78b Code Cleanup
- Removed whitespace at EOL.
2015-01-17 19:05:09 -05:00
Wilhelm Schuermann
d2928dc4e4 TW-1516 Hook input not ended with EOF
- Made execute() send EOF when all input is written.
- Minor code cleanup.
2015-01-17 19:04:31 -05:00
Jens Erat
cd31335742 TW-1491 - TW-1491 Regression in deleting due dates 2015-01-12 15:42:58 -05:00
Paul Beckingham
a22d173b9b TW-1487
- TW-1487 Task export exports some numeric attributes as strings (thanks to
          Tomas Babej).
2015-01-11 09:07:04 -05:00
Paul Beckingham
547d9edb55 TW-1484
- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
2015-01-10 15:49:42 -05:00
Paul Beckingham
cdde747733 TW-1498
- TW-1498 Filtering for presence of UDA matches all tasks (thanks to Ralph Bean).
2015-01-10 14:36:21 -05:00
Paul Beckingham
588009d679 TW-1501
- TW-1501 Calc can't handle multi-digit numbers in some expressions (thanks to
          Jeremy John Reeder).
2015-01-08 20:40:29 -05:00
Paul Beckingham
ea0397f542 TW-1495
- TW-1495 German translation for taskwarrior (thanks to Jens Erat).
2015-01-07 23:23:25 -05:00
Paul Beckingham
411fab3a27 Hooks
- Added debug output on startup, if a hook script is found and does not have
  a valid name.
2015-01-07 22:54:55 -05:00
Paul Beckingham
da6a57b203 Hooks
- The 'diag' command should indicate misnamed hook scripts (thanks to Tomas
  Babej).
2015-01-07 18:43:14 -05:00
Paul Beckingham
845fe047cc C++11
- Converted one source file to use an actual C++11 feature. If no one notices
  we can move forward and start using supported featues. If it's a problem,
  this commit gets rolled back.

  GCC 4.6 (released March 2011), and Clang 3.0 (releasd November 2011) both
  support N2930 (range-based for) which is the feature being tried here.
2015-01-04 22:01:22 -05:00
Paul Beckingham
5932d9f90b Portability
- More STDOUT_FILENO conversions.
2015-01-04 22:00:08 -05:00
Paul Beckingham
99ebf82c3a Context
- Eliminated fileno() by using unistd.h STDOUT_FILENO. This is because fileno()
  is not visible with '--std=c++11'.
2015-01-04 20:25:25 -05:00
Paul Beckingham
231e8ca913 Portability
- Missing include on Cygwin only.  Odd.
2015-01-04 20:17:56 -05:00
Paul Beckingham
f32c4d1f73 TW-1492
- TW-1492 compiling v2.4.0 using musl(libc) (thanks to V.Krishn).
2015-01-04 10:14:15 -05:00
Paul Beckingham
07eff0f3c1 Bug
- Changed assorted reports so they do not use '.age' format for dates that are
  in the future, because those are never shown with this format.
2015-01-03 17:56:20 -05:00
Paul Beckingham
dad0ac0c27 TW-1486
- TW-1486 task wait shows completed tasks which has a wait attribute (thanks to
          Sujeevan Vijayakumaran).
2015-01-03 09:31:54 -05:00
Paul Beckingham
d6bd5630fa Config
- Updated the default, built-in themes.
2015-01-01 17:27:05 -05:00
Paul Beckingham
7111e9d5f5 Config
- The list of themes in the default .taskrc file is now complete and correct.
2015-01-01 17:22:26 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
38daf415ff TW-1482
- TW-1482 Priority values may be 'H', 'M' or 'L', not ''.
2014-12-30 23:24:54 -05:00
Paul Beckingham
8afdb3d8d5 TW-1477
- TW-1477 Incompatibility with recurring tasks created with 2.3.0 (thanks to
          David Costa).
2014-12-28 19:23:08 -05:00
Paul Beckingham
d8691bc993 Text
- More polymorphic formatting.
2014-12-28 13:05:32 -05:00
Paul Beckingham
8de2a1030e Eval
- Reduced the verbosity of Eval under rc.debug.parser=3, improving readability.
- Updated unit tests regarding modified debug output.
2014-12-28 12:48:16 -05:00
Paul Beckingham
c0424cedeb Eval
- The _neg_ operator was a copy/paste of the ! operator, and needed to be
  numeric, not boolean.
2014-12-28 09:18:59 -05:00
Paul Beckingham
3f8095166e TW-161
- TW-161 UDA indicator (thanks to Jim B).
2014-12-27 15:30:41 -05:00
Paul Beckingham
bbc40c051d Tw-145
- TW-145 default.due should accept a Duration (thanks to Ozgur Akgun).
2014-12-27 14:44:31 -05:00
Paul Beckingham
1488c1c6fa TW-1, TW-1438
- TW-1 Recurring task message on the same task (thanks to Profpatsch).
2014-12-26 10:16:11 -05:00
Paul Beckingham
8795b0a692 TW-1447
- TW-1447 Not possible to filter on a UDA of type String (thanks to atomicules).
2014-12-25 17:18:44 -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
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
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
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
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
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
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
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
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
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
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