Commit graph

6839 commits

Author SHA1 Message Date
Paul Beckingham
f305a973da CmdDenotate: Converted from CLI to CLI2 2015-06-22 14:47:26 -04:00
Paul Beckingham
f8ab97a07e CmdCustom: Converted from CLI to CLI2 2015-06-22 14:46:47 -04:00
Paul Beckingham
3d19bffd55 CLI2: Raised the precedence of ::desugarPlainArgs 2015-06-22 14:12:05 -04:00
Paul Beckingham
076b2aaa95 CLI2: Fix bug where a second terminator (--) was stripped 2015-06-22 14:11:28 -04:00
Renato Alves
53f7786da5 Simpletap: Handle "Unexpected success" cases
When a test decorated with @expectedFailure unexpectedly passes, fail
that test until the decorator is removed.
2015-06-22 17:32:46 +01:00
Paul Beckingham
02b91a94fc CLI2: Fixed bug recognizing command names
- If a command is found via canonicalization, but that command is also an exact
  match for an attribute, then it is not a command.
2015-06-22 11:55:55 -04:00
Paul Beckingham
fd35190ab0 Lexer: Fixed bug that caused 'name=value' to not be a Lexer::Type::pair 2015-06-22 11:55:19 -04:00
Paul Beckingham
b573a0ddcc CLI2: Added missing ::analyze call after ::add for ::addFilter 2015-06-22 11:34:02 -04:00
Paul Beckingham
fcc1bb3ef2 CLI2: Fixed bug where ::desugarFilterAttributes set 'name' instead of 'canonical' 2015-06-22 11:09:49 -04:00
Paul Beckingham
633d07f75b CLI2: Added disqualifier list to ::addContextFilter stub 2015-06-22 10:46:42 -04:00
Paul Beckingham
82c5d019a3 CLI2: Added ::addFilter method 2015-06-22 10:30:29 -04:00
Paul Beckingham
c8fd51bd27 CLI2: Removed unused tag MODIFIABLE 2015-06-22 10:20:24 -04:00
Paul Beckingham
0cfa873776 CLI2: Fixed bug where a reference was being copied over 2015-06-22 10:19:47 -04:00
Paul Beckingham
30ad00fb7f CLI2: Removed unused default constructor A::A 2015-06-22 10:18:43 -04:00
Paul Beckingham
7432c0aead CLI2: Added ::getToken method for obtaining the canonical form, if possible 2015-06-22 00:35:35 -04:00
Paul Beckingham
9db73962da Eval: Added method for providing a precompiled expression 2015-06-22 00:20:03 -04:00
Paul Beckingham
ad18d13c29 CLI2: Removed unnecessary CLI2::dump call 2015-06-21 23:47:34 -04:00
Paul Beckingham
54b2227729 CLI2: Removed unused ::decomposeModAttributeModifiers method 2015-06-21 23:47:05 -04:00
Paul Beckingham
82acbb28e3 CLI2: Added ::decomposeModAttributes 2015-06-21 23:43:02 -04:00
Paul Beckingham
c369f37509 CLI2: Removed unused A::unTagAll method 2015-06-21 23:06:06 -04:00
Paul Beckingham
82021f46f7 Context: Converted from CLI::getLimit to CLI2 2015-06-21 23:03:09 -04:00
Paul Beckingham
77b97d658a CLI2: Added ::getLimit method 2015-06-21 21:19:19 -04:00
Paul Beckingham
867910f7de CLI2: Remove unused ::disqualifyOnlyParenOps method 2015-06-21 21:15:05 -04:00
Paul Beckingham
4b11ac2dae CLI2: Removed unused ::disqualifyOnlyParenOps method 2015-06-21 21:13:34 -04:00
Paul Beckingham
5c44929acb CLI2: Removed unused ::disqualifyNoOps method 2015-06-21 21:13:08 -04:00
Paul Beckingham
d9b15cec2e CLI2: Removed unused ::disqualifyInsufficientTerms method 2015-06-21 21:12:19 -04:00
Paul Beckingham
c1f4cc3554 CLI2: Added ::decomposeModSubstitutions 2015-06-21 21:08:42 -04:00
Paul Beckingham
b4b15c7f45 CLI2: Added polymorphic ::attribute 2015-06-21 21:08:11 -04:00
Paul Beckingham
7c604cdb8f CLI2: Fixed bug where MODIFICATION tags were expanded as a filter 2015-06-21 20:44:09 -04:00
Paul Beckingham
15e9c91d85 CLI2: Added ::decomposeModTags 2015-06-21 20:43:42 -04:00
Paul Beckingham
706ca72a75 CLI2: Added ::insertJunctions 2015-06-21 20:15:05 -04:00
Paul Beckingham
cd8eb4b1b0 Tests: Some 'expectedFailure' test were fixed 2015-06-21 16:13:33 -04:00
Paul Beckingham
8085b15b50 CLI2: Added special case handling for '<name>:<value>', using operator '='
- By adding the special case, the desugarFilterAttributes and
  desugarFilterAttributeModifiers methods can be merged.
2015-06-21 15:57:21 -04:00
Paul Beckingham
e504149a43 CLI2: Removed unused ::desugarFilterAttributeModifiers method 2015-06-21 15:55:44 -04:00
Paul Beckingham
9b23eb2d23 CLI2: Bug parsing attribute modfiiers
- Consider 'project.is:home' and 'project:home.garden'. The colon ':' and the
  dot '.' switch places and change the meaning. This was not caught by the paser.
- Removed commented call that is now merged.
2015-06-21 15:49:17 -04:00
Paul Beckingham
fe9891f2f9 CLI2: Added ::desugarFilterAttributes 2015-06-21 15:43:52 -04:00
Paul Beckingham
23e3180d7b CLI2: Moved ::desugarFilterPlainArgs higher in precedence
- Because of hte relaxed conditions in hte ::desugarFilterPlainArgs method,
  this was causing problems evaluating attribute modifiers.
2015-06-21 15:41:13 -04:00
Paul Beckingham
4162756560 CLI2: Removed unused ::findAttributes method 2015-06-20 12:39:44 -07:00
Paul Beckingham
62307f64da CLI2: Added ::desugarFilterPlainArgs 2015-06-20 12:37:10 -07:00
Paul Beckingham
8229d29100 CLI2: Added ::desugarFilterPatterns 2015-06-20 12:15:11 -07:00
Paul Beckingham
20d259a129 CLI2: Removed unused ::addArgs method 2015-06-20 11:59:37 -07:00
Paul Beckingham
db3150d7b2 CLI2: Added ::findStrayModifications 2015-06-20 11:50:42 -07:00
Paul Beckingham
c235b63572 CLI2: Added ::unTag 2015-06-20 11:49:53 -07:00
Paul Beckingham
eca0e35451 CLI2: Removed unused ::findOperators method 2015-06-20 11:18:09 -07:00
Paul Beckingham
53e7d74ce3 CLI2: With Lexer::Type::string args, there is no need to insert quotes 2015-06-20 11:15:34 -07:00
Paul Beckingham
97bcfd3006 CLI2: Fixed bug where all FILTER args were tagged with 'ID' 2015-06-20 11:15:24 -07:00
Paul Beckingham
a21767aa15 CLI2: Added ::desugarFilterTags 2015-06-20 11:14:37 -07:00
Paul Beckingham
040f990bd1 CLI2: Removed unnecessary tagging, given Lexer::Type 2015-06-20 10:54:20 -07:00
Paul Beckingham
c44b155e97 CLI2: Added ::insertIDExpr
- Converted ::_id_ranges to std::vector <std::pair <std::string, std::string>>,
  which reduced the nubmer of string->int conversions, and the need for integer
  formatting.
2015-06-20 10:47:02 -07:00
Paul Beckingham
c49b9f352c CLI2: Removed unused ::isAttribute method 2015-06-20 10:03:54 -07:00