Commit graph

331 commits

Author SHA1 Message Date
Paul Beckingham
cefc129e9a Task
- Delegated the modifiability check to Column::modifiable.
2015-03-01 21:36:56 -05:00
Paul Beckingham
58e62711f3 Virtual Tags
- The 'info' command now shows virtual tags.
2015-02-26 21:09:50 -05:00
Paul Beckingham
2ef0214248 TW-1542
- TW-1542 Large numeric UDA values get rendered in scientific notation on export
          (thanks to Ralph Bean).
2015-02-15 11:24:24 -05:00
Tomas Babej
328b7ec260 Task: Do not export empty attributes in composeJSON 2015-02-14 16:32:41 -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
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
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
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
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
85518c646f Task
- Modification diagnostics were missing for 'recur' attribute.
2014-11-22 13:38:24 -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
8e039c4a8a Task
- Fixed bug where tag modifications were trying to access a 'tag' attribute,
  instead of the 'name' attribute.
2014-11-01 22:21:18 -04:00
Paul Beckingham
a078ad41e8 Task
- Removed unnecessary include.
2014-11-01 21:56:18 -04:00
Paul Beckingham
0a7d02787d Task
- Converted ::modify to use CLI.
2014-10-31 22:30:39 -04:00
Paul Beckingham
0c4b447c77 Task
- Added CLI::dump.
2014-10-25 14:35:00 -04:00
Paul Beckingham
0183c8a231 TW-1420, TW-1421, TW-1422
- TW-1420 Modifying 'uuid' fails to generate error (thanks to Black Ops Testing).
- TW-1421 Modifying 'uuid' with bogus value can corrupt undo.data (thanks to
          Black Ops Testing).
- TW-1422 Attempt to modify 'id' attribute creates an id attribute (thanks to
          Black Ops Testing).
2014-10-13 00:18:01 -04:00
Paul Beckingham
963e79696b TW-1354
- Tweaks.
2014-10-10 16:27:55 -04:00
Johannes Schlatow
a88a062d3d Urgency
- Supports 'urgency.uda.<name>.<value>.coefficient' (TW-1354)
2014-10-10 16:21:36 -04:00
Paul Beckingham
4513248360 Task
- Upgrades UDA values of type 'duration' to supported values.
2014-10-07 22:49:46 -04:00
Paul Beckingham
b972c2c6c8 Task
- Improved structure of legacy duration value upgrades, so it can be used for
  other things, namely UDA durations.
2014-10-07 22:38:44 -04:00
Paul Beckingham
1a5fb437a5 Task
- Upgrades legacy recur values.
2014-10-07 00:24:03 -04:00
Paul Beckingham
a0c488cfcf Code Cleanup
- Removed support for legacy format FF3 (v1.6.0 - v1.7.1).
2014-09-14 12:16:27 -04:00
Paul Beckingham
e93c61ae8d L10N
- Localized two remaining errors in Task.cpp that were missed.
2014-09-14 12:11:45 -04:00
Paul Beckingham
b5f3cfd9a3 Code Cleanup
- Replaced multiple Task:setX methods with Task::setAsNow (x).
2014-09-14 11:57:02 -04:00
Paul Beckingham
fe549094e3 Task
- Added 'modified' attribute in ::validate, if not already present. This is not
  strictly necessary, but it is good to be explicit.
2014-09-07 23:24:07 -04:00
Paul Beckingham
a7171193ca Task
- Migrated util.cpp encode and decode functions because this is the only place
  they are used.
2014-09-07 17:23:16 -04:00
Paul Beckingham
2e3be1c5a0 Task
- Now decodes backslashes on annotation add.
2014-08-31 13:26:06 -04:00
Paul Beckingham
bd4a7081c1 Task
- Now decodes backslashes on attribute set.
2014-08-31 13:25:46 -04:00
Paul Beckingham
fa4fba6573 Code Cleanup
- Corrected comment which was saying the opposite of what happens.
2014-08-16 10:50:05 -04:00
Paul Beckingham
ce07b9ba7b Code Cleanup
- Removed unused attribute lookup from Task::validate.
2014-08-16 10:46:55 -04:00
Paul Beckingham
af75fa8b05 TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task (thanks
         to Sitaram Chamarty).
2014-07-06 17:19:29 -04:00
Wilhelm Schuermann
7548ce662a TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-06 14:11:10 -04:00
Paul Beckingham
75af8d6ca4 Task
- The ::remove method only needs to set ::recalc_urgency if the attribute was
  actually removed.
2014-07-06 00:36:16 -04:00
Paul Beckingham
a04df10d11 TW-1267
- TW-1267 If default.project is defined it's not possible to add a task without
          a project (thanks to Renato Alves).
2014-07-03 17:41:39 -04:00
Paul Beckingham
58c46bc292 Task
- Now that ::composeF4 guarantees not to write out attributes with blank values,
  we can use blank values to indicate that blanks were specified on the command
  line, and avoid apllication of defaults.
2014-07-03 17:13:26 -04:00
Paul Beckingham
b7c2fd0d9c Legacy
- Now maps unsupported duration values to supported values.
2014-07-03 13:38:18 -04:00
Paul Beckingham
28ed6ae74d Task
- Now recognizeѕ '', "" and <blank> as examples of an attribute values that
  should be cleared.
2014-06-27 19:09:26 -04:00
Paul Beckingham
92f74fc664 Task
- Quotes arguments for readability.
2014-06-27 19:07:39 -04:00
Paul Beckingham
9dd7acac0b Task
- Simplified dependency modification hnadling.
2014-06-26 23:55:50 -04:00
Paul Beckingham
1ccbb3b43a Task
- Added ::get_float method for accessing numeric attributes.
2014-06-24 22:14:46 -04:00
Paul Beckingham
ef3deaad4a Task
- When a duration fails to parse during ::modify, it must raise an exception,
  and not silently skip the attribute.
2014-06-15 23:34:43 -04:00
Paul Beckingham
64c9cbe943 Task
- Å duration field is stored in raw form, but must still be parseable.
2014-06-15 23:21:54 -04:00
Paul Beckingham
d1f5020fab Task
- Improved implementation of is_duemonth and is_dueweek.
2014-06-15 22:37:56 -04:00
Paul Beckingham
d2685a8212 Task
- If the a numeric attribute is modified with a result that is not readily
  convertible to a numeric value, then this is an error.
2014-06-15 10:15:23 -04:00
Paul Beckingham
65890bc8d4 Task
- All attribute types (number, string, date, duration) are ѕpecifically
  handled, with no default cases.
2014-06-15 09:36:35 -04:00
Paul Beckingham
518f56b499 Task
- Durations are now stored as-is, with no evaluation.
2014-06-15 09:34:21 -04:00
Paul Beckingham
3727d2f09c Task
- The 'recur' attribute should be stored in raw form.
2014-06-10 20:05:50 -04:00