Commit graph

5664 commits

Author SHA1 Message Date
Paul Beckingham
3b1f244f42 CLI/Context
- Reordering init sequence.
- Removed ::assumeLocations.
2014-11-09 10:38:40 -05:00
Paul Beckingham
8ff32b767f TW-1444
- TW-1444 Tag ordering is preserved, but should be sorted in reports.
2014-11-08 16:52:19 -05:00
Paul Beckingham
da8e16a38b TW-1437
- TW-1437 taskd.trust has a bad default value.
2014-11-08 15:23:55 -05:00
Paul Beckingham
ab17450820 CLI
- Code cleanup, removed ::getModifications.
2014-11-08 15:21:07 -05:00
Paul Beckingham
1ff19c3b8f TW-1414.t
- default.command doesn't work with execute anymore (thanks to Johannes
  Schlatow).
2014-11-08 15:15:50 -05:00
Paul Beckingham
c818a2fa3a Unit Tests
- Removed whitespace for readability.
2014-11-08 15:05:54 -05:00
Paul Beckingham
c2bf56af71 CLI
- Removed the requirement in ::getWords that the ORIGINAL tag be present.
2014-11-08 15:05:19 -05:00
Paul Beckingham
db13a676bb Unit Tests
- Enabled failing tests.  Maybe it can be fixed instead.
2014-11-08 14:48:27 -05:00
Paul Beckingham
283cae5e8c CLI
- The ::categorize method now only allows one TERMINATOR - the first one.
2014-11-08 14:35:24 -05:00
Paul Beckingham
26f8d8c45d CLI
- Implemented ::findStrayModifications to spot FILTER args detected before 'add'
  or 'log' commands, and upgrade them to MODIFICATIONs.
2014-11-08 14:22:25 -05:00
Paul Beckingham
b9b998c769 CLI
- Added a strict analysis mode that throws errors. In non-strict mode no errors
  are thrown because parsing is incomplete most of the time, and only the final
  pass needs to be strict.
2014-11-08 14:00:39 -05:00
Paul Beckingham
11d210a7c7 CLI
- Hooked up the parser to rc.abbreviation.minimum.
2014-11-08 13:41:19 -05:00
Paul Beckingham
2797541b8d CLI
- Raised the lexeme count threshold to 3 to consider lexing an argument. This
  accomodates binary operators.
2014-11-04 23:16:37 -05:00
Paul Beckingham
f790ee65c4 CLI
- The ::addArg method now trims incoming args.
2014-11-04 23:11:51 -05:00
Paul Beckingham
d9712322a7 CLI
- Stricter definition of what is an attribute.
2014-11-04 23:00:07 -05:00
Paul Beckingham
55962058de CLI
- Further restrictions on tag definition.
2014-11-04 22:53:41 -05:00
Paul Beckingham
39983e5f82 CLI
- Implemented ::isName.
2014-11-04 22:53:12 -05:00
Paul Beckingham
38359b779a Lexer
- Exposed more primitives as static methods.
2014-11-04 22:51:25 -05:00
Paul Beckingham
4ec1f17557 CLI
- More strict definition of what is a tag.
2014-11-04 22:34:18 -05:00
Paul Beckingham
2b3f7a2fb6 CLI
- Added explanatory comment for commented out code. Not sure what to do about
  it yet.
2014-11-04 22:17:33 -05:00
Paul Beckingham
645d728f0f CLI
- The ::insert method is not needed, and is removed.
2014-11-04 22:16:50 -05:00
Paul Beckingham
529217cf75 Unit Tests
- One test has the rc.monthsperline:1 on the wrong command. Not sure what was
  going on there. Not important.
2014-11-04 22:01:07 -05:00
Paul Beckingham
c4116d43e1 CLI
- Moved ID and UUID parsing earlier in the sequence.
2014-11-04 21:42:39 -05:00
Paul Beckingham
c817607465 Unit Tests
- Upgraded to the new template.
2014-11-04 21:42:03 -05:00
Paul Beckingham
5a293b1f28 CLI
- An attribute name may not contains spaces.
2014-11-03 22:18:34 -05:00
Renato Alves
d9c4ff0700 Documentation - Man and help now mentions /g in /from/to/g 2014-11-03 13:50:56 +00:00
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