Paul Beckingham
4cb9330567
Parser
...
- Removed obsolete ::getWords method.
2014-10-25 22:41:35 -04:00
Paul Beckingham
07bb370637
Merge branch 'parser2' into 2.4.0
2014-10-25 19:43:13 -04:00
Paul Beckingham
811d0e029d
Parser
...
- UUIDs were being rejected because the contain commas, which are actually part
of a UUID list. This meant that 'task $UUID1,$UUID2 info' failed.
2014-10-19 23:54:08 -04:00
Paul Beckingham
295feda3b4
Parser
...
- Corrected findTags comment.
2014-10-15 01:44:21 -04:00
Paul Beckingham
630d0f209e
Parser
...
- Code cleanup.
2014-10-11 11:25:23 -04:00
Paul Beckingham
0e0c4fa578
Parser
...
- Code cleanup.
2014-10-11 11:24:56 -04:00
Paul Beckingham
03a3b41254
Parser
...
- Locates mis-parsed SUBSTITUTIONS in FILTER, and downgrades to PATTERN.
2014-10-11 11:24:07 -04:00
Paul Beckingham
9b7fa8b7ec
Parser
...
- No point checking return value of 'new' operator, because it throws.
2014-10-07 23:12:03 -04:00
Paul Beckingham
f0e4f3f4dc
Parser
...
- Modified to obey rc.debug.parser.
2014-10-06 23:26:53 -04:00
Paul Beckingham
b34fd64a9c
Parser
...
- Updated comments.
2014-10-05 11:45:08 -04:00
Paul Beckingham
5c485f6c53
Parser
...
- Modified ':' to perform partial matches, which means dates now match
on same day.
2014-10-01 18:31:50 -04:00
Paul Beckingham
eebe3b0806
Parser
...
- Changed ::injectDefaults from collectLeaf to collectTerminated, when scanning
args to construct the "[task next]" feedback.
2014-09-07 14:51:24 -04:00
Paul Beckingham
9e3a8e5c82
Parser
...
- Restored default.command in ::injectDefaults.
- Restored 'information' command when an ID/UUID is provided, but no CMD.
2014-09-07 14:37:44 -04:00
Paul Beckingham
ac73a47f9b
Parser
...
- Added the beginnings of the lex-only arg classification.
2014-09-07 13:40:29 -04:00
Paul Beckingham
090c80cb90
Parser
...
- Removed ::appendStdin.
2014-09-07 13:40:00 -04:00
Paul Beckingham
363baa34aa
Parser
...
- Added disqualifier characters for UUID lists.
2014-09-06 23:45:09 -04:00
Paul Beckingham
cb080e70de
Parser
...
- Added disqualifier for id sequences in the form of a set of acceptable
characters. Prevents strange problems due to the 'split' calls that are used
in the implementation.
2014-09-06 23:40:57 -04:00
Paul Beckingham
b4438b4e8f
TW-1400
...
- TW-1400 task "" gives a segfault (thanks to Scott Kostyshak).
2014-09-06 17:22:27 -04:00
Paul Beckingham
a894a3dedb
TW-262
...
- TW-262 Attribute modifiers not working within parentheses (thanks to Johannes
Schlatow).
2014-08-31 09:45:42 -04:00
Paul Beckingham
a503a02663
Parser
...
- Rewrote ::insertOr to only operate at the ORIGINAL node level, which is
appropriate for this operation.
2014-08-30 15:36:08 -04:00
Paul Beckingham
f87ead8804
Parser
...
- Fixed bug where ::findAttribute and ::findAttributeModifier were scanning
all nodes, but thinking that '--' was a tag, not a raw value.
2014-08-26 23:26:49 -04:00
Paul Beckingham
3f519785d8
Parser
...
- Added static method to scan argv[] for overrides without a parse tree, so
that any rc:<file> arguments can be used to locate the rc file, load it, and
proceed with command line parsing which relies on things like rc.dateformat.
2014-08-26 23:25:08 -04:00
Paul Beckingham
7e460f10d1
Parser
...
- Removed parser upgrade diagnostics, as tw is now stable.
2014-08-24 16:46:39 -04:00
Paul Beckingham
59ffcd858e
Parser
...
- ::findAttribute was not considering all nodes, and failed to remove the "?" tag.
2014-08-24 16:37:17 -04:00
Paul Beckingham
8b904a57f4
Parser
...
- ::findPattern was performing the wrong scan, and needed branch pruning outside
the iterator loop.
2014-08-24 16:09:30 -04:00
Paul Beckingham
961b4ade9b
Parser
...
- ::findPattern now scans all nodes.
2014-08-24 15:25:10 -04:00
Paul Beckingham
dac6a9ced5
Parser
...
- ::resolveAliases needs to scan all nodes.
2014-08-24 15:22:10 -04:00
Paul Beckingham
c446786d46
Parser
...
- ::getDataLocation needs to scan all nodes. You'd think I'd learn this by now.
2014-08-24 15:17:14 -04:00
Paul Beckingham
bf533df39c
Parser
...
- Commented out all diagnostics, as we converge on stable.
2014-08-24 14:06:50 -04:00
Paul Beckingham
06210056f8
Parser
...
- Corrected comments for accuracy.
2014-08-24 13:54:00 -04:00
Paul Beckingham
a2763a275c
Parser
...
- Code cleanup for ::findCommand.
2014-08-24 13:25:12 -04:00
Paul Beckingham
ce914a31f9
Parser
...
- Code cleanup of ::findTerminator.
2014-08-24 13:23:19 -04:00
Paul Beckingham
0a4dcc1a21
Parser
...
- Code cleanup of ::findBinary.
2014-08-24 13:21:51 -04:00
Paul Beckingham
f898953a2e
Parser
...
- ::findIdSequence now safely removes nodes out of the iterator loop.
2014-08-24 13:14:52 -04:00
Paul Beckingham
df80050c13
Parser
...
- ::findUUIDList now safely removes nodes out of the iterator loop.
2014-08-24 12:53:50 -04:00
Paul Beckingham
c46f8a4626
Parser
...
- ::findTerminator needs to scan all nodes.
2014-08-24 12:15:15 -04:00
Paul Beckingham
e353d8eb8b
Parser
...
- ::findModifications code cleanup.
- ::findStrayModifications now prunes nodes out of the iterator loop.
2014-08-23 17:34:16 -04:00
Paul Beckingham
13e49f6b00
Parser
...
- ::findAttributeModifier now repeats without breaking the iterator.
2014-08-23 17:27:10 -04:00
Paul Beckingham
37614ac6b3
Parser
...
- ::findAttribute now repeats without breaking the iterator.
2014-08-23 17:26:28 -04:00
Paul Beckingham
110fedb18f
Parser
...
- Removed diagnostics from override handling.
2014-08-23 17:09:50 -04:00
Paul Beckingham
711ababc76
Parser
...
- ::getLimit now scans all nodes.
2014-08-23 16:01:58 -04:00
Paul Beckingham
bc17bf7cbe
Parser
...
- ::findCommand needs to scan all nodes, to find an existing CMD.
2014-08-23 14:59:57 -04:00
Paul Beckingham
312ffe7463
Parser
...
- Clarified an important comment.
2014-08-23 13:32:26 -04:00
Paul Beckingham
5b5adc4240
Parser
...
- ::findBinary no longer requires diagnostics.
2014-08-23 13:31:48 -04:00
Paul Beckingham
af77e2e150
Parser
...
- Modified ::findTag to perform one action and repeat, rather than attempt
everything at once, with an invalid iterator.
2014-08-23 13:08:52 -04:00
Paul Beckingham
4a07f4e546
Parser
...
- ::findModifications moves branch pruning out of the iterated loop.
2014-08-22 23:52:24 -04:00
Paul Beckingham
d6ad010085
Parser
...
- ::findOperator moves brnach pruning outside the iterated loop.
2014-08-22 23:50:54 -04:00
Paul Beckingham
e26f0f0dc9
Parser
...
- ::findSubstitution moves branch prining out of the iterated loop.
2014-08-22 23:49:06 -04:00
Paul Beckingham
6753176d89
Parser
...
- ::findPattern moves branch pruning out of the iterated loop.
2014-08-22 23:47:54 -04:00
Paul Beckingham
1b39a03e96
Parser
...
- ::applyOverrides looks at all nodes.
2014-08-22 23:47:07 -04:00