Commit graph

5226 commits

Author SHA1 Message Date
Paul Beckingham
2cececd205 Color: Removed unused ctor 2015-10-28 13:19:23 -04:00
Paul Beckingham
fa920f02aa TDB2: Removed unused ::has methods 2015-10-28 12:16:46 -04:00
Paul Beckingham
6570a42eee ISO8601: Removed unused methods 2015-10-28 11:47:28 -04:00
Paul Beckingham
67c28b7015 FS: Removed unused ::read method 2015-10-28 11:09:38 -04:00
Paul Beckingham
411c735d4e FS: Removed unused ::openAndLock method 2015-10-28 11:06:38 -04:00
Paul Beckingham
342624f272 FS: Removed unused ostream operator<< 2015-10-28 11:02:29 -04:00
Wilhelm Schuermann
f4ba6015a8 JSON: Improve json::decode() performance
- Improves "load" time by ~28% across all performance tests.
- Improves the "add" performance test by ~20% since "load" takes most
  of the time there.
2015-10-24 10:47:34 +02:00
Paul Beckingham
bb58b796fd Task Data Parsing
- Improved the handling when parsing blank lines and empty task in the data, so
  that instead of the message:

    Taskwarrior no longer supports file format 1, originally used between 27
    November 2006 and 31 December 2007.

  We now see:

    Unrecognized Taskwarrior file format or blank line in data.

- Merged t2.t.cpp into t.t.cpp.
2015-10-23 10:13:38 -04:00
Paul Beckingham
10ebefa8eb TW-1716: on-modify hooks fail if date.iso is not set
- Thanks to Jens Erat.
2015-10-18 10:47:25 -04:00
Paul Beckingham
a82558064b Cleanup: Prep for '-Wextra' 2015-10-16 16:27:05 -04:00
Paul Beckingham
84be60fdca Cleanup: Removed unneeded function 2015-10-16 15:57:12 -04:00
Paul Beckingham
f687ea1010 TW-1715: Dates misinterpreted when no dateformat active.
- To be more specific, dates were misinterpreted when an input date was could
  be unambiguously parsed as either ISO or dateformat, for example, if the
  dateformat was 'Y-M-D', it matches ISO 'Y-M-DTH:N:S', and the dateformat
  was considered a match which ignored the 'H:N:S', if specified.
2015-10-16 11:37:34 -04:00
Paul Beckingham
980dff3048 ISO8601d: Improved ::dump output 2015-10-16 11:35:39 -04:00
Paul Beckingham
4f11740896 ISO8601: Made some methods const 2015-10-16 08:22:57 -04:00
Paul Beckingham
5110a83efa Cleanup: Corrected object initialization using {} 2015-10-16 08:22:03 -04:00
Paul Beckingham
9b5d0a7cdd Config: Removed useless const 2015-10-16 08:18:08 -04:00
Paul Beckingham
638c2b35c3 ISO8601: Added ::dump methods for debugging 2015-10-16 07:53:11 -04:00
Paul Beckingham
dc92e7ca32 Variant: handled the case of empty strings being coerced into ISO8601d 2015-10-13 13:25:14 -04:00
Paul Beckingham
e8f4d6904b Lexer: Removed one indirect lookup from ::dequote 2015-10-11 09:05:12 -04:00
Paul Beckingham
4882a50b1b ISO8601d: Fixed parsing of day and month name 2015-10-10 22:48:47 -04:00
Paul Beckingham
053c97fc1d ISO8601d: Allowed zero-padded values for short form dateformat elements 2015-10-10 21:48:51 -04:00
Paul Beckingham
808600a705 Lexer: ::isAllDigits should not return true on trivial input 2015-10-10 20:42:00 -04:00
Paul Beckingham
1590ab6564 RX: Inherited RX fixes from clog 2015-10-10 20:37:15 -04:00
Paul Beckingham
79886e03ce Merge branch 'isodate' into 2.5.0 2015-10-07 07:40:28 -04:00
Paul Beckingham
b1678a55df Date: Removed 2015-10-07 07:28:42 -04:00
Paul Beckingham
13b8c1a3cc Task: Migrated from Date to ISO8601d 2015-10-04 17:18:31 -04:00
Paul Beckingham
5018057f19 ISO8601d: ::parse_named now only considers the first token. 2015-10-04 13:26:10 -04:00
Paul Beckingham
b1d2d6d5e8 Variant: Migrated from Date to ISO8601d 2015-10-04 13:25:28 -04:00
Paul Beckingham
d4abae0f70 Lexer: Removed ::isoEnabled, which belongs in ISO8601{d,p} 2015-10-04 11:11:48 -04:00
Paul Beckingham
61e494195a ISO8601: Added separate ::isoEnabled settings for ISO8601d and ISO8601p 2015-10-04 10:58:28 -04:00
Paul Beckingham
9adfddfe65 ISO8601: Disentangled ISO8601d and ISO8601p 2015-10-04 10:47:34 -04:00
Paul Beckingham
abbebf69ad ISO8601d: ::parse_named can also skip ::validate and ::resolve 2015-10-04 10:43:44 -04:00
Paul Beckingham
7641a86f23 Lexer: Migrated from Date to ISO8601d 2015-10-03 19:37:30 -04:00
Paul Beckingham
26fbca7896 CmdCalendar: Migrated from Date to ISO8601d 2015-10-03 19:31:58 -04:00
Paul Beckingham
0772f7ea36 Code Cleanup: Removed unnecessary include 2015-10-03 19:28:40 -04:00
Paul Beckingham
709e871061 rules: Migrated from Date to ISO8601d 2015-10-03 19:28:09 -04:00
Paul Beckingham
df00368f79 feedback: Migrated from Date to ISO8601d 2015-10-03 19:27:55 -04:00
Paul Beckingham
b085006d1a CmdTimesheet: Migrated from Date to ISO8601d 2015-10-03 19:27:42 -04:00
Paul Beckingham
4002778a36 CmdStats: Migrated from Date to ISO8601d 2015-10-03 19:23:01 -04:00
Paul Beckingham
69c8125ea7 CmdHistory: Migrated from Date to ISO8601d 2015-10-03 19:22:51 -04:00
Paul Beckingham
aa3304798b CmdEdit: Migrated from Date to ISO8601d 2015-10-03 19:22:42 -04:00
Paul Beckingham
4e3eb1f420 ColDue, ColScheduled: Migrated from Date to ISO8601d 2015-10-03 19:18:39 -04:00
Paul Beckingham
a0a302822b CmdBurndown: Migrated from Date to ISO8601d 2015-10-03 18:05:24 -04:00
Paul Beckingham
8136a59572 Nibbler: Migrated from Date to ISO8601d 2015-10-03 18:02:55 -04:00
Paul Beckingham
9a5def4c95 ColDate: Migrated from Date to ISO8601d 2015-10-03 16:24:26 -04:00
Paul Beckingham
fb280edbc2 TND2: Migrated from Date to ISO8601d 2015-10-03 15:27:23 -04:00
Paul Beckingham
ec073c5dae CmdInfo: Migrated from Date to ISO8601d 2015-10-03 15:22:22 -04:00
Paul Beckingham
6bb58286dc DOM: Migrated from Date to ISO8601d 2015-10-03 15:14:39 -04:00
Tomas Babej
4fe23fcfcd context: Do not use context for reports not meant for direct human consumption 2015-10-03 10:59:55 -04:00
Tomas Babej
97dbb0cfe4 CmdModify: Do not use filter context 2015-10-03 10:59:42 -04:00