Commit graph

5093 commits

Author SHA1 Message Date
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
2ce350b3bf AUTHORS
- Added Peter, reporter of a fixed bug.
2014-08-23 12:21:34 -04:00
Paul Beckingham
25ac584466 TW101
- Renamed bug.101.t to tw-101.t, which is basically namespace resolution.
- Typo in NEWS.
2014-08-23 12:11:03 -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
Paul Beckingham
079669e73b Parser
- Modified ::getWords to look at all nodes, including parents.
2014-08-22 16:07:31 -04:00
Paul Beckingham
8376d99e88 Tree
- Added node pointer to ::dump output.  Helps debugging.
2014-08-22 16:07:03 -04:00
Paul Beckingham
f59be41389 Unit Tests
- Updated to use new template.
2014-08-19 00:00:21 -04:00
Paul Beckingham
c371af75b2 Parser
- Fixed ::findStrayModifications to identify the right node to upgrade.
2014-08-18 23:55:48 -04:00
Paul Beckingham
a2a69e94fc Unit Tests
- Updated to use new template.
2014-08-18 23:45:08 -04:00
Paul Beckingham
e81a95c8f7 Unit Tests
- Updated to use new template.
2014-08-18 23:29:09 -04:00
Paul Beckingham
e9f71b152c Parser
- Migrated from Boolean to tristate ::collect method.
2014-08-18 23:18:41 -04:00
Paul Beckingham
4447200357 Parser
- Upgraded the 'bool all' argument to ::collect to a tri-state enum, in a
  polymorphic method.
2014-08-18 23:10:14 -04:00
Paul Beckingham
118f930fad Parser
- Improved, but did not fix, ::insertOr, regarding insertion of nodes into
  _tree and not nodes.  There is still a problem.
2014-08-17 23:39:59 -04:00
Paul Beckingham
6635cd9d84 Parser
- Corrected indirect node insertion, which must be into _tree, not into
  nodes.
2014-08-17 23:39:06 -04:00
Paul Beckingham
293f4d6258 Parser
- ::initialize now recognizes more things it should not lex.
2014-08-17 17:10:13 -04:00
Paul Beckingham
cfc5c08777 Unit Tests
- Updated add.t to the new template.
2014-08-17 16:35:08 -04:00
Paul Beckingham
f9aa34cb67 Parser
- When ::findPlainArgs promotes a WORD to a PATTERN, it needs to move the FILTER
  tag down to the child nodes.
2014-08-17 16:04:50 -04:00
Paul Beckingham
37bf45b696 Parser
- ::insertOr and ::insertAnd must use nodes, not _tree->_branches.
2014-08-17 15:53:49 -04:00
Paul Beckingham
a1ba3df7fb Parser
- ::getLimit does not need to manually skip TERMINATOR nodes.
2014-08-17 15:53:16 -04:00
Paul Beckingham
ea7afa112b Parser
- ::applyOverrides scans all nodes, and must manually skip TERMINATOR.
2014-08-17 15:52:42 -04:00
Paul Beckingham
e2b6e9b65e Parser
- ::getOverrides scans all nodes, and must manually skip TERMINATOR.
2014-08-17 15:51:58 -04:00
Paul Beckingham
075eb4ca74 Parser
- ::findFilter must scan all nodes.
2014-08-17 15:51:28 -04:00
Paul Beckingham
6920b022b2 Parser
- ::findMissingOperators scans all nodes.
2014-08-17 14:38:19 -04:00
Paul Beckingham
1b60478bc7 Parser
- ::findPlainArgs scans all nodes.
2014-08-17 14:37:57 -04:00
Paul Beckingham
ddb5313747 Parser
- ::findStrayModifications scans all nodes.
2014-08-17 14:37:37 -04:00
Paul Beckingham
06b41218c5 Parser
- ::findModifications scans all nodes.
2014-08-17 14:37:17 -04:00
Paul Beckingham
d9e26c3a95 Parser
- ::applyOverrides scans all nodes.
2014-08-17 14:36:55 -04:00
Paul Beckingham
a4b43c2604 Parser
- ::getOverrides scans all nodes.
2014-08-17 14:36:25 -04:00
Paul Beckingham
3eb611057d Parser
- When locating a command, all nodes must be scanned, not just the unknown ones.
2014-08-17 14:30:19 -04:00
Paul Beckingham
bea4c6fd77 Parser
- On initialization, bypass lexing for argv[0] (program name) and any
  'rc:' and 'rc.' arguments.
2014-08-17 14:29:25 -04:00
Paul Beckingham
a3d2750f40 Parser
- Converted all remaining methods to use collect.  Now there is full recursion
  everywhere, which means the parse tree can be arbitrarily deep.
2014-08-17 13:41:17 -04:00
Paul Beckingham
dff7dae3bc Parser
- Modified ::findMissingOperators to use collect.
2014-08-17 13:31:49 -04:00