Commit graph

122 commits

Author SHA1 Message Date
Paul Beckingham
1571981b57 Lexer: Migrated from ISO8601p to Duration 2018-05-13 22:51:30 -04:00
Paul Beckingham
e20fb95a43 Lexer: Migrated from ISO8601d to Datetime 2018-05-13 22:51:18 -04:00
Paul Beckingham
de8d9d88ff Lexer: Typo 2018-05-13 22:45:38 -04:00
Paul Beckingham
3a69609ffd DOM: New references: tw.syncneeded, tw.program, tw.args, tw.width, tw.height
- And deprecating context.program, context.args, context.width, context.height
2018-05-13 22:41:19 -04:00
Paul Beckingham
ce97fd5901 TW-1827: Extract annotations from a task
- Thanks to Ryan.
2018-05-13 22:22:04 -04:00
Paul Beckingham
88516acdaa Copyright update 2018-05-13 20:50:26 -04:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Paul Beckingham
ba23b926dd Lexer: Missing include 2015-10-30 12:44:00 -04:00
Paul Beckingham
6ce3285c77 Lexer: Modified ::trim to make one less copy 2015-10-30 11:41:16 -04:00
Paul Beckingham
182b5427cd Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer 2015-10-30 11:17:23 -04:00
Paul Beckingham
51def4b12b Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer 2015-10-30 10:57:14 -04:00
Paul Beckingham
e8f4d6904b Lexer: Removed one indirect lookup from ::dequote 2015-10-11 09:05:12 -04:00
Paul Beckingham
808600a705 Lexer: ::isAllDigits should not return true on trivial input 2015-10-10 20:42:00 -04:00
Paul Beckingham
d4abae0f70 Lexer: Removed ::isoEnabled, which belongs in ISO8601{d,p} 2015-10-04 11:11:48 -04:00
Paul Beckingham
7641a86f23 Lexer: Migrated from Date to ISO8601d 2015-10-03 19:37:30 -04:00
Paul Beckingham
b4e5285a50 Lexer: Updated list of Unicode space characters 2015-09-15 17:02:59 -04:00
Paul Beckingham
e4132f6a02 CLI2: Expand DOM references in single-token values 2015-09-07 11:49:55 -04:00
Paul Beckingham
29f17aed68 Lexer: Duration replaced by ISO8601p 2015-08-12 07:56:48 -04:00
Paul Beckingham
38500fd90b TW-1652: task rm misparsed
- Thanks to Daniel Shahaf.
2015-08-07 19:33:27 -04:00
Paul Beckingham
92d37e5124 Lexer: An 8-digit string is now allowed to be considered a UUID 2015-08-07 09:21:58 -04:00
Paul Beckingham
fda8161be8 Lexer: Added missing rollback 2015-08-05 08:16:17 -04:00
Paul Beckingham
f7ab55abeb Lexer: Improved the recognition in ::isSet 2015-08-04 17:41:19 -04:00
Paul Beckingham
a5507678e8 Lexer: ::isDOM failed to enforce minimum size before allowing no endBoundary 2015-07-27 01:53:32 -04:00
Paul Beckingham
c2f08c8f05 Lexer: Bug in ::isDOM required '.' separators to have endBoundary 2015-07-27 01:52:59 -04:00
Paul Beckingham
99a53edca0 Lexer: ::isLiteral now stops at EOS 2015-07-27 00:57:30 -04:00
Paul Beckingham
0c7e731b0d Lexer: Integrated ::commonLength
- Uses std::string::size_type for all string lengths, offsets.
- Rewrote ::isLiteral to be simpler.
- Added support for abbreviated DOM refs.
- Obeys rc.abbreviation.minimum, indirectly.
- Added tests.
2015-07-27 00:31:15 -04:00
Paul Beckingham
a9b701ae6d Lexer:: Implemented ::commonLength with offsets, for embedded parsing 2015-07-27 00:04:00 -04:00
Paul Beckingham
244c81a647 Lexer: Implemented ::commonLength for word root comparison 2015-07-26 23:52:17 -04:00
Paul Beckingham
f5792a03fb Lexer: Captures minimumMatchLength for abbreviated attribute matching 2015-07-26 22:58:02 -04:00
Paul Beckingham
4646a86d4d Lexer: Added missing rc.<name> DOM parsing 2015-07-26 16:18:58 -04:00
Paul Beckingham
f5571c80c6 Lexer: Rewrote ::isDOM to perform exact matching, not pattern matching 2015-07-26 12:22:35 -04:00
Paul Beckingham
d0c4326af3 Lexer: Upgraded attributes vector to a map of name to type 2015-07-26 12:22:02 -04:00
Paul Beckingham
52d2bbd11a Lexer: Implemented ::isOneOf using a std::map as input 2015-07-26 12:09:40 -04:00
Paul Beckingham
391d527328 Lexer: Added end-boundary sensitivity to ::isLiteral and ::isOneOf 2015-07-26 10:48:26 -04:00
Paul Beckingham
3e74aa51e2 Lexer: Added 'endBoundary' requirement to ::isUUID 2015-07-25 17:59:40 -04:00
Paul Beckingham
c769891b76 Lexer: Implemented ::isInteger to help parsing. 2015-07-25 17:54:55 -04:00
Paul Beckingham
37e31e8e0b Lexer: Implemented ::isOneOf, to help with parsing 2015-07-25 17:34:51 -04:00
Paul Beckingham
9394b96202 Lexer: Implemented ::isLiteral, to help with parsing 2015-07-25 17:34:01 -04:00
Paul Beckingham
4f0e32b69b Lexer: Improved ::decomposePattern to extract raw string 2015-07-25 00:34:18 -04:00
Paul Beckingham
d6f977e2dd Lexer: Boosted precedence of UUID detection 2015-07-19 23:27:27 -04:00
Paul Beckingham
fed3b815a0 Lexer: Dead code removal 2015-07-17 14:59:42 -04:00
Paul Beckingham
76d3efe313 Lexer: Improved termination for UUID types 2015-07-16 16:15:07 -04:00
Paul Beckingham
1ec029be9b Lexer: Relocated instantiation closer to first use 2015-07-13 16:44:55 -04:00
Paul Beckingham
d0e4f4ca10 Lexer: Implemented ::decomposePattern 2015-07-11 17:09:29 -04:00
Paul Beckingham
1bef45ff47 Lexer: Added ::decomposeSubstitution and more flexible ::dequote
- ::dequote can now be given a string of valid quote characters, which defaults
  to '".
- ::decomposeSubstitution properly parses the /from/to/g construct allowing for
  escaped characters (\/).
- The 'g' at the end of a substitution is now considered to be a string of flag
  characters, which may contain 'g'. No other flag values are currently
  supported.
2015-07-11 16:40:52 -04:00
Paul Beckingham
642f378462 Lexer:: Implemented ::isHardBoundary to detect filter tokens 2015-07-11 13:12:09 -04:00
Paul Beckingham
8afc7443e4 Lexer: Fixed bug that allowed unterminated quotes strings, again 2015-07-11 11:25:24 -04:00
Paul Beckingham
d3971d2384 Lexer: Replaced ::isString implementation with a call to ::readWord 2015-07-11 11:06:43 -04:00
Paul Beckingham
b7438edfd5 Lexer: Fixed bug that allowed unterminated quotes strings 2015-07-11 10:56:55 -04:00
Paul Beckingham
daba36860b Lexer: Modified ::isSubstitution to use ::readWord 2015-07-11 10:27:23 -04:00