Commit graph

6839 commits

Author SHA1 Message Date
Paul Beckingham
29486144c9 Test: Converted to Python 2015-07-10 11:22:42 -04:00
Paul Beckingham
e55528e21e Lexer: ::readWord now skips leading whiteSpace 2015-07-08 11:24:46 -04:00
Paul Beckingham
6c56f4b695 Test: Updated task arg call 2015-07-08 09:58:39 -04:00
Paul Beckingham
5a21945a0d CLI2: Integrated Lexer::decomposePair 2015-07-08 09:48:15 -04:00
Paul Beckingham
e6c4f48a48 Lexer: readWords for quoted strings now retains the quotes 2015-07-08 09:03:48 -04:00
Paul Beckingham
1fed8c55f1 Lexer: Collapsed two ::isString calls into one 2015-07-06 16:40:18 -04:00
Paul Beckingham
7a6d546a0d Lexer:: Added polymorphic ::readWord for quoteѕ and unquoted strings 2015-07-06 16:37:46 -04:00
Paul Beckingham
abaf326855 CLI2: Added note about path exclusion 2015-07-06 16:03:24 -04:00
Paul Beckingham
4bdfde4aa4 Test: Added tests for Lexer::readWord 2015-07-06 15:34:04 -04:00
Paul Beckingham
d82da280cb Lexer: Implemented ::readWord
- Lexer::readWord is a general-purpose text parser, for finding plain words and
  quoted strings. It supports \uNNNN and U+NNNN unicode sequences, and general
  escapes, \t, \', \" etc.
2015-07-06 15:32:12 -04:00
Paul Beckingham
26e6dd2131 Test: Missing include 2015-07-06 12:23:38 -04:00
Paul Beckingham
0ee26a0cae CLI2: No longer attempts to canonicalize rc:<file> and rc.<name>:<value> 2015-07-06 12:14:52 -04:00
Paul Beckingham
dcb13bd2b4 CLI2: Integrated Lexer::decomposePair into A2::decompose 2015-07-06 12:13:46 -04:00
Paul Beckingham
e36fb2f10c Lexer: Switched argument order for ::decomposePair 2015-07-06 12:10:50 -04:00
Paul Beckingham
826c6986ae Test: Added Lexer::decomposePair tests 2015-07-06 11:29:09 -04:00
Paul Beckingham
81599071e7 Lexer: Implemented ::decomposePair 2015-07-06 11:28:39 -04:00
Paul Beckingham
7411ac55a1 Test: Merged duplicate2.t into duplicate.t, converted to Python 2015-07-05 21:30:41 -04:00
Paul Beckingham
0dc64a7ec2 Test: Converted to Python 2015-07-05 20:57:53 -04:00
Paul Beckingham
a19afe1a77 Test: Converted to Python 2015-07-05 17:33:49 -04:00
Paul Beckingham
412a97a58a Test: Converted to Python 2015-07-05 17:28:17 -04:00
Paul Beckingham
3b515e8636 Test: Converted to Python 2015-07-05 17:16:24 -04:00
Paul Beckingham
773ce924bf Test: Converted to Python 2015-07-05 17:10:39 -04:00
Paul Beckingham
84e8ff6a70 Test: Converted to Python 2015-07-05 16:58:21 -04:00
Paul Beckingham
a5bf414256 Test: Converted to Python 2015-07-05 16:51:46 -04:00
Paul Beckingham
023fd9d38a CLI2: Removed obsolete ::decomposeModSubstitutions 2015-07-05 16:31:30 -04:00
Paul Beckingham
af71af1085 CLI2: Removed obsolete ::decomposeModTags 2015-07-05 16:30:59 -04:00
Paul Beckingham
f5ece63ec0 CLI2: Removed obsolete ::decomposeModAttributes 2015-07-05 16:29:54 -04:00
Paul Beckingham
460f2aeea5 CLI2: Refactoring
- Whenever A2::attribute sees 'raw' being set, it automaticall decomposes the
  arg, which can now be removed from other methods.
- New ::canonicalizeNames method means that the ::decomposeMod* methods are no
  longer needed.
- Removed ::findOverrides which now does nothing.
2015-07-05 16:13:56 -04:00
Paul Beckingham
b46bf15f40 Test: Cleaned up test 2015-07-05 15:56:30 -04:00
Paul Beckingham
c9120f692a Test: Corrected tests
- Removed tests that were passing for the wrong reason.
- Removed '@expectedFailures' from tests that now pass.
2015-07-05 15:30:20 -04:00
Paul Beckingham
0df1c48f42 ISO8601: Added range checking for various date elements 2015-07-05 15:29:41 -04:00
Paul Beckingham
a71fc887d9 Test: Converted to Python 2015-07-05 13:02:37 -04:00
Paul Beckingham
0c568580b3 CLI2: Removed obsolete ::isUUIDList
- Removed unsupported UUID lists, which shoudl have been removed earlier when
  Lexer::Type::list was dropped.
- Reversed logic in 'if' statements to perform the lowest cost comparison first.
2015-07-05 10:39:34 -04:00
Paul Beckingham
5f186bbbe1 Test: Corrected calc test 2015-07-04 23:52:27 -04:00
Paul Beckingham
6bca259420 Test: Converted to Python 2015-07-04 23:31:45 -04:00
Paul Beckingham
e1b93495ca Test: Combined label.t, custom.t 2015-07-04 23:23:26 -04:00
Paul Beckingham
156a732931 Test: Modified test class 2015-07-04 23:20:24 -04:00
Paul Beckingham
b8f803c83f Test: Corrected broken tests 2015-07-04 17:03:49 -04:00
Paul Beckingham
07c76b208e Test: Corrected broken tests 2015-07-04 17:02:36 -04:00
Paul Beckingham
0572db902d Test: Cleaned up broken test 2015-07-04 16:40:15 -04:00
Paul Beckingham
184fde0f5f CLI2: Skips first terminator, --, but not others 2015-07-04 16:39:15 -04:00
Paul Beckingham
42073656c7 Test: Corrected separator test 2015-07-04 16:25:03 -04:00
Paul Beckingham
61ae9d936a Test: Cleaned up tests 2015-07-04 16:16:15 -04:00
Paul Beckingham
b0c8f4ca4f ISO8601: Restored support for the UTC & local non-extended full form 2015-07-04 16:04:03 -04:00
Paul Beckingham
a7982e434a CLI2: Quoted Lexer::Type::pair args are maximal 2015-07-04 15:33:44 -04:00
Paul Beckingham
1836ac29e2 Lexer: Removed expermental code, didn't help 2015-07-04 15:03:28 -04:00
Paul Beckingham
d8e48e1e2b Test: Added tests for (unimplemented) Lexer::token classifier 2015-07-04 11:40:12 -04:00
Paul Beckingham
3b99559216 Lexer: Added standalone token support
- Added default ctor.
- Added ::token method for classifying whole tokens.
- Stubbed token classifier methods.
2015-07-04 11:38:09 -04:00
Paul Beckingham
4141215d4b Lexer: Clarified ::isTag lookbehind rules 2015-07-04 10:48:44 -04:00
Paul Beckingham
18b1f32466 Test: Removed unsupported feature from lexer test 2015-07-04 10:35:53 -04:00