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
Paul Beckingham
3c0a17c195
Task
...
- Removed urgency diagnostics, now that the 'info' command displays them.
2014-06-09 23:11:47 -04:00
Paul Beckingham
63eb32d177
Task
...
- Disabled ambiguous date parsing. Ain't nobody got time for that.
2014-06-08 16:20:31 -04:00
Paul Beckingham
cd837a006c
Task
...
- ::modify was not casting strings to dates for date types.
2014-06-03 00:42:21 -04:00
Paul Beckingham
ac07189941
Task
...
- ::modify was setting the wrong attribute value, namely the original, not the
one that had passed through the expression evaluator's intestines.
2014-06-02 22:22:39 -04:00
Paul Beckingham
43718cbce5
Task
...
- Evaluates attribute values on modify.
2014-06-01 22:50:33 -04:00
Paul Beckingham
6706d1b955
Date/ISO8601
...
- Changed the order of parsing from ISO, Date to Date, ISO. This favors the
old dateformat mechanism more than the new one. One day this will flip.
2014-06-01 00:10:16 -04:00
Paul Beckingham
87dcbd556e
Recurrence
...
- Task::validate and getNextRecurrence needed to consider both Duration and
ISO8601p.
2014-05-30 21:29:42 -04:00
Paul Beckingham
6d5d93d753
Task
...
- Added diagnostics for date assignments. Only duration assignment diagnostics
were present.
2014-05-30 18:14:33 -04:00
Paul Beckingham
9c5222be8f
Task
...
- Converted from OldDuration to Duration.
2014-05-28 21:03:59 -04:00
Paul Beckingham
c39285b61c
Task
...
- Renamed 'mods_required' argument to the more accurate 'text_required' in the
::modify method.
2014-05-27 00:37:31 -04:00
Paul Beckingham
b4539a9df9
Task
...
- ::modify now assumes that it is not mandatory that there be a non-trivial set
of changes. This can be overridden.
2014-05-27 00:34:48 -04:00
Paul Beckingham
398bc9c824
Task
...
- If a date attribute is eval'ed and the result is a duration, add the value
of 'now' to it, and store the result. So '2wks' as a due date is interpreted
as 'now + 2ks'.
2014-05-26 23:18:20 -04:00