Commit graph

3464 commits

Author SHA1 Message Date
Paul Beckingham
820c327a81 Util
- Made arg vector const.
- Applied coding conventions.
2014-08-30 23:27:49 -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
Jeremy John Reeder
a471120e18 Updated grammar in epo-RUS.h localization.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-30 15:02:26 -04:00
Paul Beckingham
40d72c3cd9 L10N
- Moved all the localizations into a subdirectory.  Because there are 7 now.
2014-08-28 17:25:10 -04:00
Paul Beckingham
2c8d795f21 L10N
- Added completed Esperanto translation (thanks to Jeremy John Reeder).
2014-08-26 23:40:34 -04:00
Paul Beckingham
d96c79f47c L10N
- Renamed epo-EPO to epo-RUS, which is where Esperanto originated.
2014-08-26 23:39:01 -04:00
Paul Beckingham
aa156412b5 Context
- Reorganized ::inintialize sequence regarding Parser::initialize and the need
  for the rc file to be loaded (and/or overridden) before full parsing could
  proceed.
2014-08-26 23:28:04 -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
bc3dc1e50e Tree
- Removed pointers from ::dumpNode, which are useful for debugging new/delete,
  but simply noise at other times.
2014-08-24 12:12:07 -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
63808b8920 Unit Tests
- Updated 'run' test script to use 'task' instead of the defunct 'args' program.
2014-08-23 17:13:42 -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
atomicules
87f9d548df TW-101 - New description column format: Truncated WITH annotation count
Adds a "truncated with annotation count" column style for the
description field and corresponding unit test.
2014-08-23 12:05:00 -04:00
atomicules
7c6618e50a TLSServer/Client need to include <errno.h> on NetBSD
Same fix applied as per Solaris. See TD-55 and
c60ec0b6ee
2014-08-23 12:05:00 -04:00
Paul Beckingham
0313057446 L10N
- Esperanto localization (thanks to Jeremy John Reeder).
2014-08-23 11:42:50 -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
Paul Beckingham
dbc55b5f73 Parser
- ::findOverrides moves branch pruning out of the iterated loop.
- Now scans all nodes.
2014-08-22 23:45:33 -04:00
Paul Beckingham
3fce252461 Parser
- ::findCommand moves branch pruning out of the iterated loop.
2014-08-22 23:44:18 -04:00
Paul Beckingham
6dad8ddb1b Parser
- ::findTerminator now moves branch pruning out of the iterated loop.
2014-08-22 23:42:58 -04:00
Paul Beckingham
9f9c07a955 Parser
- In ::findBinary, it is not necessary to prune branches.
2014-08-22 23:41:57 -04:00
Paul Beckingham
62725c97e4 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-08-22 22:38:16 -04:00
Paul Beckingham
d4adf13b69 Parser
- Made use of the other ::collect variants.
2014-08-22 22:37:53 -04:00
Paul Beckingham
3aef4f74b9 Parser
- Rewrote ::collect to be simpler.
2014-08-22 22:36:10 -04:00
Paul Beckingham
a735c7eb63 CmdInfo
- Removed the 'total active time' display.  Should have done this a long time ago.
2014-08-22 16:08:16 -04:00