Commit graph

85 commits

Author SHA1 Message Date
Paul Beckingham
d9a3be9993 Variant: Converted from ISO8601p to Duration 2016-12-11 21:03:15 -05:00
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
2d20f4d57b Cleanup: Converted all sprintf to snprintf 2016-02-25 00:19:38 -05:00
Paul Beckingham
96f04ffc25 Variant: C++11 2016-02-03 20:22:30 -05:00
Paul Beckingham
da96962b00 Variant: Removed obsolete method 2016-01-09 22:26:58 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
a2bd6d8342 Revert "Variant: Converted from sprintf to std::to_string"
This reverts commit f339672b89.
2015-11-02 18:46:36 -05:00
Paul Beckingham
b4b41215a2 Revert "C++11: Migrated from strtod to std::stod"
This reverts commit db49efd72f.
2015-11-02 18:44:29 -05:00
Paul Beckingham
ef3e072436 Revert "Variant: Converted from strtol/substr to std::stoi/std::compare"
This reverts commit 6df55c9156.
2015-11-02 18:41:44 -05:00
Paul Beckingham
6df55c9156 Variant: Converted from strtol/substr to std::stoi/std::compare 2015-11-01 21:33:07 -05:00
Paul Beckingham
db49efd72f C++11: Migrated from strtod to std::stod 2015-11-01 19:44:15 -05:00
Paul Beckingham
f339672b89 Variant: Converted from sprintf to std::to_string 2015-11-01 18:36:37 -05:00
Paul Beckingham
54ca77bfab Variant: Uses ISO8601{d,p} instead of duplicating formatting 2015-10-30 00:39:53 -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
13b8c1a3cc Task: Migrated from Date to ISO8601d 2015-10-04 17:18:31 -04:00
Paul Beckingham
b1d2d6d5e8 Variant: Migrated from Date to ISO8601d 2015-10-04 13:25:28 -04:00
Paul Beckingham
dffb1abdf1 Variant: Duration replaced by ISO8601p 2015-08-12 08:04:29 -04:00
Paul Beckingham
2f61a7e946 TW-1630: "Due" parsing behavior seems inconsistent
- Thanks to Jim B.
2015-08-05 17:06:43 -04:00
Paul Beckingham
c4cd855876 TW-1472: Syntactic sugar morphs into regex expressions, even if turned off
- Tthanks to Richard Boß.
2015-07-20 00:28:05 -04:00
Paul Beckingham
87b1809ef4 Variant: Dead code removal 2015-07-17 14:23:06 -04:00
Paul Beckingham
ac011807d2 ISO: Changed the incorrect 'P0S' to the correct 'PT0S' 2015-07-16 16:14:17 -04:00
Paul Beckingham
e74c6963a9 C++11: Cleaned up program framework with range-based for 2015-05-11 17:50:53 -04:00
Paul Beckingham
e3e72e32f1 Build: More changes to address 32-bit builds 2015-04-18 10:26:37 +01:00
Paul Beckingham
5af4579741 Priority: Converted 'priority' attribute to a UDA
- 'priority.long' and 'priority.short' formats now map to 'priority', and
  generate a warning.
- Man page updated.
- Converted priority urgency coefficients to UDA equivalents.
- Converted priority color rules to UDA color rules.
- Removed 'default.priority' support.
- Removed special sort handling for 'priority' field in Variant, added special
  UDA sort handling.
- Removed ColPriority.{h,cpp} source files.
- Removed asorted newly-unused variables.
- The 'show' command now highlights unused priority settings.
- Removed unused localized priority-relateѕ strings.
- Added legacy mapping for columns and sort columns for 'priority.long' and
  'priority.short' columns in report definitions.
- Removed priority color rules implementation.
- Removed obsolete tests for #860, #990, custom.priority_long.t.
- Updated various tests that set priority default, colors.
2015-04-04 19:30:33 -04:00
Paul Beckingham
7a9d314016 Variant: Temporarily put back the priority string handling
- In order to test that the UDA sorting is good, the priority processing must
  be in place, as many test rely on priority values. Will be removed later.
2015-04-04 16:16:51 -04:00
Paul Beckingham
29a09707f3 Variant: Implemented custom UDA sorting 2015-04-04 15:47:41 -04:00
Paul Beckingham
8c0f46309b Variant: Return const refs rather than string copies 2015-04-04 12:51:56 -04:00
Paul Beckingham
9630b76990 Build: Resolve warnings from flod build 2015-03-29 18:21:33 -04:00
Paul Beckingham
745aad0d27 Lexer
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
aab93b2cda Lexer2
- Migrated ::dequote method from Lexer.
2015-02-19 21:43:22 -08:00
Paul Beckingham
6626207ad1 TW-1522
- TW-1522 Date format doesn't like hyphens (thanks to Scott Carter).
2015-01-25 14:49:02 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -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
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
e59a48080c Variant
- ::operator_partial was not treating the status field as a special caseless
  compare, like operator== does.
2014-10-01 18:58:28 -04:00
Paul Beckingham
dcc5dbf16a Variant
- The ::operator_match (and by extension operator_nomatch) now obey the rc.regex
  setting.
2014-09-28 13:39:50 -04:00
Paul Beckingham
8e9e544376 Code Cleanup
- Source alignment. Pretty.
2014-09-09 22:23:02 -04:00
Paul Beckingham
a0736706e8 Variant
- Implemented same-day comparison for date types using the partial_match
  operator (=).
2014-09-09 22:11:40 -04:00
Paul Beckingham
beb2ee4d66 L10N
- Localized Variant.
2014-07-05 10:45:40 -04:00
Paul Beckingham
db0a56e4f5 Variant
- Improved copy ctor.
2014-06-18 23:50:24 -04:00
Paul Beckingham
13bbcba3f9 Variant
- ::operator== uses a caseless compare for the status attribute.
2014-06-17 01:10:16 -04:00
Paul Beckingham
2a3c5e59c7 Variant
- Corrected handling for ::operator_partial when one of the operands is
  trivial.
2014-06-17 01:00:51 -04:00
Paul Beckingham
6a4a046b1a Variant
- Updated operator%= to handle trivial values.
2014-06-16 18:44:37 -04:00
Paul Beckingham
74af53cb4f Variant
- Updated operator/= to handle trivial values.
2014-06-16 18:43:44 -04:00
Paul Beckingham
a7cc2a594a Variant
- Updated operator*= to handle trivial values.
2014-06-16 18:43:11 -04:00
Paul Beckingham
2a552d4fc0 Variant
- Updated operator+= to handle trivial values.
2014-06-16 18:42:53 -04:00
Paul Beckingham
5dbbca882f Variant
- Updated operator-= to handle trivial values.
2014-06-16 18:42:31 -04:00
Paul Beckingham
e0bca6c4ad Variant
- Updated operator_partial to handle trivial values.
2014-06-16 18:42:11 -04:00
Paul Beckingham
c1a9e1e452 Variant
- Updated operator== to handle trivial values.
2014-06-16 18:41:36 -04:00
Paul Beckingham
5e9229db76 Variant
- Updated operator>= to handle trivial values.
2014-06-16 18:41:04 -04:00