Commit graph

5588 commits

Author SHA1 Message Date
Paul Beckingham
0c61f50da6 Unit Tests
- Corrected for absolute path names in the Config::load timing.
2014-11-02 23:59:22 -05:00
Paul Beckingham
9ae3bcb7ef Unit Tests
- Corrected description for the version tests.
2014-11-02 23:50:38 -05:00
Paul Beckingham
71b33453f1 Unit Tests
- Fixed mistake introduced by template upgrade.
2014-11-02 23:45:41 -05:00
Paul Beckingham
216d8bafa5 CLI
- Relocated ::injectDefaults call to after ::findOverrides, and insert a call
  to ::applyOverりides.
2014-11-02 23:39:11 -05:00
Paul Beckingham
6ccec121c9 CLI
- Implemented ::injectDefaults for rc.default.command and auto info.
2014-11-02 23:30:59 -05:00
Paul Beckingham
086f7ec684 CLI
- Half-implemented ::injectDefaults. This is a highly problematic method, and
  needs some thinking.
2014-11-02 22:50:56 -05:00
Paul Beckingham
5685bf95a6 CLI
- Implemented ::insert.
2014-11-02 22:46:11 -05:00
Paul Beckingham
f4147f2ea3 Parser
- Obsoleted Parser object.
2014-11-02 22:33:04 -05:00
Paul Beckingham
6d75045658 Tree
- Eliminated Tree object from the repository.
2014-11-02 22:30:21 -05:00
Paul Beckingham
f7ba181db2 CMake
- Removed Parser.{h,cpp} from the build.
2014-11-02 22:20:37 -05:00
Paul Beckingham
7ad99cb7fa Context
- Removed last calls to Parser::.
2014-11-02 22:19:20 -05:00
Paul Beckingham
9c245f838a CLI
- Implemented ::applyOverrides.
- Calls ::applyOverrides from Context.
2014-11-02 22:12:48 -05:00
Paul Beckingham
c8dfa8f7fd CLI
- Implemented ::getDataLocation.
- Called ::getDataLocation from Context.
2014-11-02 22:10:47 -05:00
Paul Beckingham
7845786398 Context
- Removed unused ::program member.
2014-11-02 21:52:41 -05:00
Paul Beckingham
083b0cb0de CLI
- Implemented ::getBinary.
- Removed Context::program, and converted DOM and dom.t to call ::getBinary.
2014-11-02 21:49:42 -05:00
Paul Beckingham
9799fcefed CLI
- Updated ::getOverride to scan all args, display the debug feedback, and derive
  the home dir.
- Removed Parser::getOverrides calls from Context.
- Cleaned up dead code in Context::initialize.
2014-11-02 21:31:25 -05:00
Paul Beckingham
d49222e8c7 CLI
- Implemented ::getOverride, and updated Context to use it.
2014-11-02 21:14:08 -05:00
Paul Beckingham
03176b45ad CLI
- Forgot to commit the change declaring the default argument for ::addArg.
2014-11-02 12:02:29 -05:00
Paul Beckingham
290f248db8 CLI
- Implemented ::isCommand.
2014-11-02 11:58:33 -05:00
Paul Beckingham
78625d00ec Unit Tests
- Upgraded to the new template.
2014-11-01 23:06:27 -04:00
Paul Beckingham
9bee3a6c92 Unit Tests
- Upgrded to the new template.
2014-11-01 22:40:43 -04:00
Paul Beckingham
8e039c4a8a Task
- Fixed bug where tag modifications were trying to access a 'tag' attribute,
  instead of the 'name' attribute.
2014-11-01 22:21:18 -04:00
Paul Beckingham
a078ad41e8 Task
- Removed unnecessary include.
2014-11-01 21:56:18 -04:00
Renato Alves
d261a38d17 Unittest - Enhanced support for testing hooks (wip)
* It is now possible to test:
  * Hook Input/Output on STDIN/STDOUT channels
  * Exit code of hook script
  * Execution count (how many times the hook was executed)
  * Timestamp execution (when was the hook executed - milisec resolution)
2014-11-02 00:01:06 +00:00
Paul Beckingham
9ea61e25e8 Context
- Removed Parser member, which is now local to ::initialize.
2014-11-01 00:04:02 -04:00
Paul Beckingham
05a3973107 CLI
- Removed unused ::clear method.
2014-10-31 23:57:42 -04:00
Paul Beckingham
45bcf113d9 Context
- Removed unnecessary Parser calls, leaving only minimal rc processing.
2014-10-31 23:55:03 -04:00
Paul Beckingham
0b212ad8bc CLI
- Switched PSEUDO args to use 'canonical' instead of 'name'.
2014-10-31 23:39:02 -04:00
Paul Beckingham
9f8ab6e4e2 Context
- Switched from Parser::getLimit to CLI::getLimit.
2014-10-31 23:34:17 -04:00
Paul Beckingham
5387ab1dcb CLI
- Fixed bug where PSEUDO args did not have the correct 'raw' or 'value'
  attribute.
2014-10-31 23:30:16 -04:00
Paul Beckingham
fa890f9961 CLI
- Implemented ::getLimit.
2014-10-31 23:29:54 -04:00
Paul Beckingham
8863458879 Context
- Converted from Parser::getCommand to CLI::getCommand.
2014-10-31 23:12:41 -04:00
Paul Beckingham
6056ca4cd7 CLI
- Implemented ::getCommand.
2014-10-31 23:11:40 -04:00
Paul Beckingham
6324e3b63a CmdCustom
- Removed Parser details.
2014-10-31 22:59:32 -04:00
Paul Beckingham
bc5cfb2740 Args
- Converted args.cpp from Parser to CLI.
2014-10-31 22:58:50 -04:00
Paul Beckingham
771ec1d080 Filter
- Removed all Parser references.
2014-10-31 22:53:00 -04:00
Paul Beckingham
d36d6fc303 Documentation
- Documented rc.debug.parser=3.
2014-10-31 22:52:04 -04:00
Paul Beckingham
f804a43cee Filter
- Corrected use of rc.debug.parser.
- Added notes for fixing ::pendingOnly.
2014-10-31 22:31:58 -04:00
Paul Beckingham
0a7d02787d Task
- Converted ::modify to use CLI.
2014-10-31 22:30:39 -04:00
Paul Beckingham
9bc8e3bae3 CLI
- Corrected lookup for existing entities.
2014-10-31 21:54:01 -04:00
Paul Beckingham
7420ef8e28 CLI
- ::addArg now lexes args, and looks for embedded operators before deciding to
  use the lexemes.
2014-10-31 20:11:34 -04:00
Paul Beckingham
975b20a517 CLI
- Modifier entities are now available early, so use them to identify
  attmods.
2014-10-31 20:08:50 -04:00
Paul Beckingham
d5e732b47d CLI
- Added debug.parser=3 support to ::analyze.
2014-10-31 20:07:45 -04:00
Paul Beckingham
c01ee07981 CLI
- Added debug.parser=3 support to ::decomposeModSubstitutions.
2014-10-31 20:05:12 -04:00
Paul Beckingham
de6f97174e CLI
- Added debug.parser=3 support to ::decomposeModTags.
2014-10-31 20:04:40 -04:00
Paul Beckingham
5d662c0efa CLI
- Added debug.parser=3 support to ::decomposeModAttributeModifiers.
2014-10-31 20:03:54 -04:00
Paul Beckingham
caa4e0d6b9 CLI
- Added debug.parser=3 support to ::decomposeModAttributes.
2014-10-31 20:03:06 -04:00
Paul Beckingham
8abc2967f7 CLI
- Added debug.parser=3 support to ::insertJunctions.
2014-10-31 20:02:33 -04:00
Paul Beckingham
299cda2283 CLI
- Added debug.parser=3 support to ::findAttributes.
2014-10-31 20:01:56 -04:00
Paul Beckingham
399097d683 CLI
- Added debug.parser=3 support to ::findOperators.
2014-10-31 20:01:33 -04:00