Commit graph

7201 commits

Author SHA1 Message Date
Paul Beckingham
995de68c90 ISO8601: Converted various calls of ::format to ::formatVague 2015-08-12 21:35:09 -04:00
Paul Beckingham
35b52c421b ISO8601: Implemented ISO8601p::formatVague for short-form, rounded values 2015-08-12 16:22:13 -04:00
Paul Beckingham
565232eccd Duration: Obsolete, removed 2015-08-12 11:41:15 -04:00
Paul Beckingham
14b36a5dc6 ColScheduled: Duration replaced by ISO8601p 2015-08-12 11:36:38 -04:00
Paul Beckingham
cc120689ee ColRecur: Duration replaced by ISO8601p 2015-08-12 11:36:24 -04:00
Paul Beckingham
195a821781 ColDue: Duration replaced by ISO8601p 2015-08-12 11:36:08 -04:00
Paul Beckingham
25da9ee5cd ColDate: Duration replaced by ISO8601p 2015-08-12 11:35:34 -04:00
Paul Beckingham
3563aa8414 ColUDA: Duration replaced by ISO8601p 2015-08-12 11:29:33 -04:00
Paul Beckingham
15e0fa5286 CmdBurndown: Duration replaced by ISO8601p 2015-08-12 11:29:13 -04:00
Paul Beckingham
6933ce137f CmdInfo: Duration replaced by ISO8601p 2015-08-12 10:23:50 -04:00
Paul Beckingham
830b3e9562 CmdEdit: Duration replaced by ISO8601p 2015-08-12 10:17:58 -04:00
Paul Beckingham
e8fe7f0304 ISO8601: Fixed problem with uninitialized members 2015-08-12 10:07:43 -04:00
Paul Beckingham
593b334d5e Test: Corrected test 2015-08-12 10:03:11 -04:00
Paul Beckingham
392a5dacd9 Task: Duration replaced by ISO8601p 2015-08-12 08:27:08 -04:00
Paul Beckingham
f17187a4b6 CmdSummary: Duration replaced by ISO8601p 2015-08-12 08:22:23 -04:00
Paul Beckingham
dbcd5dbe1d Feedback: Duration replaced by ISO8601p 2015-08-12 08:21:13 -04:00
Paul Beckingham
dffb1abdf1 Variant: Duration replaced by ISO8601p 2015-08-12 08:04:29 -04:00
Paul Beckingham
a4371752c1 CmdStats: Duration replaced by ISO8601p 2015-08-12 08:02:15 -04:00
Paul Beckingham
a86e45c31e ISO8601: Added time_t ctor 2015-08-12 08:01:43 -04:00
Paul Beckingham
29f17aed68 Lexer: Duration replaced by ISO8601p 2015-08-12 07:56:48 -04:00
Paul Beckingham
88eb355e3b DOM: Duration replaced by ISO8601p 2015-08-12 07:54:12 -04:00
Paul Beckingham
ab7f0741d0 Recurrence: Duration replaced by ISO8601p 2015-08-12 07:52:17 -04:00
Paul Beckingham
aab9ea1563 Sort: Duration replaced by ISO8601p 2015-08-12 07:48:27 -04:00
Paul Beckingham
0f611a34e3 Test: Corrected final errors
- ISO8601p now contains all Duration functionality.
2015-08-12 07:38:22 -04:00
Paul Beckingham
6a2e8dcc54 Test: Corrected more expected values 2015-08-12 07:35:39 -04:00
Paul Beckingham
124381c5ff Test: Corrected more test expectations 2015-08-12 00:19:01 -04:00
Paul Beckingham
ffda6b1ecf Test: Corrected test expectations 2015-08-11 23:56:11 -04:00
Paul Beckingham
ad07e944cc Test: Fixed some test expected values. 2015-08-11 23:47:29 -04:00
Paul Beckingham
1ec62bc652 Test: Corrected expected member values 2015-08-11 23:23:04 -04:00
Paul Beckingham
4a6df38e6a ISO8601: Modifed ::format to use only precise values. 2015-08-11 23:13:23 -04:00
Paul Beckingham
f10f7cf690 TW-263: Unexpected zsh autocomplete behaviour
- Thanks to Leon Feng, Marc Cornellà.
2015-08-11 22:50:20 -04:00
Paul Beckingham
42e2bb0d1f Test: Fixing duration tests 2015-08-10 09:03:41 -04:00
Paul Beckingham
35570b89cd Test: Fxied broken tests 2015-08-09 17:26:33 -04:00
Paul Beckingham
645af76ddb ISO8601: Merged Duration::parse functionality 2015-08-09 17:15:25 -04:00
Paul Beckingham
dfee4b485f Nibbler: Added missing util.h 2015-08-09 16:53:50 -04:00
Paul Beckingham
f183d8829a Test: Migrated Duration test to ISO8601p, which fail 2015-08-09 16:34:04 -04:00
Paul Beckingham
6dc7244fa6 ISO8601: Began merge of Duration and ISO8601p 2015-08-09 16:33:21 -04:00
Paul Beckingham
9cd10a5c1e Legacy: Code cleanup
- Removed legacyCheckForDeprecatedColor.
2015-08-09 13:30:22 -04:00
Paul Beckingham
02173be81a Duration: Addressed problem of UUID/Duration overlap
- The "d" unit is a special case, because it is the only one that can
  legitimately occur at the beginning of a UUID, and be followed by an
  operator:

    1111111d-0000-0000-0000-000000000000

  Because Lexer::isDuration is higher precedence than Lexer::isUUID,
  the above UUID looks like:

    <1111111d> <-> ...
    duration   op  ...

  So as a special case, durations, with units of "d" are rejected if the
  quantity exceeds 10000.
2015-08-09 11:46:55 -04:00
Paul Beckingham
77ae4a3613 Task: Code cleanup 2015-08-09 10:43:43 -04:00
Paul Beckingham
f04a6177ac Test: Another UUID validation test 2015-08-09 10:42:15 -04:00
Paul Beckingham
f16ce91d45 Test: Added a UUID parse test 2015-08-09 10:35:02 -04:00
Paul Beckingham
2a6a40d97b Test: Verify that invalid UUIDs are not accepted 2015-08-09 10:26:10 -04:00
Paul Beckingham
3e7c9157a1 Task: Code cleanup 2015-08-09 10:20:49 -04:00
Paul Beckingham
4529bcf24a Import: UUID attribute is now validated 2015-08-09 10:20:25 -04:00
Paul Beckingham
2a621a4367 TW-1636: UUID with numeric-only first segment is not parsed properly
- Switched Nibbler::getUUID to Nibbler::getPartialUUID, which caused partial
  UUID mathcing to fail sometimes.
- Changed precedence to search for UUID before ID, which solves the numeric
  UUID problem.
2015-08-08 00:49:54 -04:00
Daniel Shahaf
9cdabf288e Test: Added sugar testß 2015-08-08 00:25:14 -04:00
Paul Beckingham
76f9475950 Test: Switched from 'out' to 'err' for a footnote message 2015-08-07 23:54:43 -04:00
Paul Beckingham
3ef8112173 Test: Modificed dependency test to not use abbreviated DOM refs 2015-08-07 19:34:23 -04:00
Paul Beckingham
ce0bd430d0 Test: Modified abbreviated DOM test 2015-08-07 19:33:57 -04:00