Paul Beckingham
|
7e2582f2b8
|
Hooks
- Fixed bug where the identifier "on-modify" contained some bogus UTF8.
- Ensured that every input line has a \n.
|
2014-10-19 00:57:30 -04:00 |
|
Paul Beckingham
|
719e9d242b
|
Hooks
- Bug due to missing reference & in calls to callHookScript. Dumbass.
|
2014-10-18 23:59:40 -04:00 |
|
Paul Beckingham
|
f1639e6862
|
Hooks
- Revised all event functions to use the new callHookScript method, which is
now common to all events.
|
2014-10-18 23:47:32 -04:00 |
|
Paul Beckingham
|
d1f6b36ecf
|
Hooks
- Standardized formatting of hook input and output in debug.hooks mode.
|
2014-10-18 17:26:20 -04:00 |
|
Paul Beckingham
|
8d75d0c7f3
|
Hooks
- Reduced validation to simply checking that a description attribute is present.
This is the bare minimum for the Task(const std::string&) contructor.
|
2014-10-18 17:23:39 -04:00 |
|
Paul Beckingham
|
21bbedbfc5
|
Hooks
- Now performs a full JSON parse on hook script output before accepting it as a
task.
|
2014-10-18 16:59:46 -04:00 |
|
Paul Beckingham
|
b6be1cdc99
|
Hooks
- Factored out the code that determines if the JSON output from a hook script is
actually JSON.
|
2014-10-18 16:55:26 -04:00 |
|
Paul Beckingham
|
5275c0ce60
|
TW-1441
- TW-1441 task import continues happily if filename doesn't exist.
|
2014-10-18 14:41:12 -04:00 |
|
Renato Alves
|
18581a6ca4
|
Unittest - Avoid second exception on framework tracing error
* Prevents masking of the initial exception due to a second one.
|
2014-10-18 01:29:01 +01:00 |
|
Paul Beckingham
|
171fabbcda
|
CLI
- Corrected comment to include quotes that are necessary for patterns.
|
2014-10-17 16:32:11 -04:00 |
|
Renato Alves
|
dc4a3e8038
|
Unittest - dash compatibility on debian/ubuntu
|
2014-10-17 17:24:50 +01:00 |
|
Renato Alves
|
65b6875846
|
Unittest - Remove execute bit from template.t and unnecessary comments
|
2014-10-17 16:42:44 +01:00 |
|
Renato Alves
|
a9c9fbc7df
|
Unittest - Only run tests that have execute bit set
|
2014-10-17 16:42:44 +01:00 |
|
Paul Beckingham
|
51f08496b5
|
Lexer
- When parsing '\o/' the state Lexer::typeIdentifierEscape had no exit but a
successful outcome, and looped.
- Fixed test.
|
2014-10-16 21:22:34 -04:00 |
|
Renato Alves
|
bb060d5ff8
|
Unittest - Allow specifying custom timeout for slow commands.
* Useful when testing with big tasks (1000+ annotations) or sync
operations that take longer than 1 second (default)
|
2014-10-16 20:52:17 +01:00 |
|
Renato Alves
|
b236e78f2e
|
Unittest - Testcase for TW-1438
|
2014-10-16 20:48:45 +01:00 |
|
Renato Alves
|
cf5c7abd01
|
Unittest - Workaround race condition when killing slow processes
* In some cases the process finishes normally very close to the timeout
|
2014-10-16 16:47:10 +01:00 |
|
Renato Alves
|
6facb140a4
|
Unittest - Test cases for TW-1436
|
2014-10-16 15:51:39 +01:00 |
|
Paul Beckingham
|
8d359ddd70
|
CLI
- Implemented ::unsweetenPatterns.
|
2014-10-16 00:53:59 -04:00 |
|
Paul Beckingham
|
932865d3b5
|
CLI
- Renamed unsweetenAtts to unsweetenAttributes, unsweetenAttMods to
unsweetenAttributeModifiers.
|
2014-10-16 00:39:56 -04:00 |
|
Paul Beckingham
|
0603711aac
|
CLI
- Implemnted ::unsweetenAttMods.
|
2014-10-16 00:37:48 -04:00 |
|
Paul Beckingham
|
80b385ee93
|
CLI
- Renamed 'canonical' to 'name', for legacy reasons.
|
2014-10-16 00:36:52 -04:00 |
|
Paul Beckingham
|
9f8c4e02a7
|
CLI
- Implemented ::getFilter to extract all the non-PSEUDO, FILTER items.
|
2014-10-15 07:42:29 -04:00 |
|
Paul Beckingham
|
8afb39dea6
|
CLI
- Implemented ::unsweetenAtts to resolve syntactic sugar to an expression.
|
2014-10-15 07:34:29 -04:00 |
|
Paul Beckingham
|
f29b6a4be4
|
CLI
- Convert ::unsweetenTags from _filter to _args.
|
2014-10-15 02:34:44 -04:00 |
|
Paul Beckingham
|
ae4272f477
|
CLI
- When unsweetening tags, preserve the FILTER tag.
|
2014-10-15 02:33:50 -04:00 |
|
Paul Beckingham
|
8dd9082697
|
CLI
- Categorize has a better definition of FILTER.
|
2014-10-15 02:32:32 -04:00 |
|
Paul Beckingham
|
83898359e3
|
CLI
- Combined all elements into the single _args list.
|
2014-10-15 02:24:35 -04:00 |
|
Paul Beckingham
|
dd8391351d
|
CLI
- Merged _program into _args.
- Merged _overrides into _args.
- Rewrote :extractOverrides as ::findOverrides.
|
2014-10-15 02:08:48 -04:00 |
|
Paul Beckingham
|
c3f7524006
|
CLI
- Now only dumps the parse tree on ::getFilter.
|
2014-10-15 01:47:36 -04:00 |
|
Paul Beckingham
|
295feda3b4
|
Parser
- Corrected findTags comment.
|
2014-10-15 01:44:21 -04:00 |
|
Paul Beckingham
|
698c801dbc
|
CLI
- Converted _command from std::string to A.
|
2014-10-15 01:43:27 -04:00 |
|
Paul Beckingham
|
e5780474da
|
CLI
- Converted _program from std::string to A.
|
2014-10-15 01:34:36 -04:00 |
|
Paul Beckingham
|
b3b509eabe
|
CLI
- Added default constructor, so it plays nice with others.
- Added ::clear method to reset all members.
|
2014-10-15 01:33:12 -04:00 |
|
Paul Beckingham
|
6388d3827b
|
CLI
- Converted from std::string to A.
|
2014-10-15 01:24:02 -04:00 |
|
Paul Beckingham
|
854dc08615
|
CLI
- Upgraded _args vector from std::string to A.
|
2014-10-15 01:08:44 -04:00 |
|
Paul Beckingham
|
87ece489db
|
CLI
- Implemented A::dump.
|
2014-10-15 00:35:46 -04:00 |
|
Paul Beckingham
|
b98da56a7c
|
CLI
- Implemented A class, to represent a single argument. Much like a tree node.
|
2014-10-15 00:28:16 -04:00 |
|
Paul Beckingham
|
8b78251735
|
CLI
- Filter elements are now rendered on one line in ::dump.
|
2014-10-15 00:27:43 -04:00 |
|
Paul Beckingham
|
c2f8c81a88
|
CLI
- Implemented ::unsweetenTags, which resolves the syntactic sugar to an expression.
|
2014-10-15 00:02:45 -04:00 |
|
Paul Beckingham
|
34fd7b4b04
|
CLI
- Relocated public methods to top.
- Removed const for methods, which are no longer const.
|
2014-10-14 23:49:13 -04:00 |
|
Paul Beckingham
|
f353e1f3d5
|
CLI
- Removed reset of _program on ::add, which never gets restored.
|
2014-10-14 23:40:13 -04:00 |
|
Paul Beckingham
|
d6e11761a6
|
CLI
- Added diagnostics only to ::initialize and ::add.
- Now properly clears and regenerates all data on change.
|
2014-10-14 23:26:12 -04:00 |
|
Paul Beckingham
|
7812bce079
|
CLI
- Reorganized methods to match header sequence.
|
2014-10-14 23:25:26 -04:00 |
|
Paul Beckingham
|
6d64472826
|
Context
- Removed calls to now-private methods.
|
2014-10-14 23:23:09 -04:00 |
|
Paul Beckingham
|
51a98609d9
|
CLI
- Stubbed ::getWords and ::getModifications.
|
2014-10-14 23:22:25 -04:00 |
|
Wilhelm Schuermann
|
ae9705561c
|
Hooks
- Throw exception instead of segfaulting for on-add hooks not adhering to the specs. More work needed.
|
2014-10-14 15:58:24 -04:00 |
|
Renato Alves
|
1e14097ea5
|
Unittest - Add test to tw-252 to prevent future regressions
|
2014-10-14 15:22:52 +01:00 |
|
Paul Beckingham
|
54d975dac3
|
CLI
- Colㄡrized the ::dump output.
|
2014-10-14 01:52:39 -04:00 |
|
Paul Beckingham
|
05fdfafd2a
|
CLI
- Preserves original args.
|
2014-10-14 01:42:37 -04:00 |
|