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
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
9ea61e25e8
Context
...
- Removed Parser member, which is now local to ::initialize.
2014-11-01 00:04:02 -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
9f8ab6e4e2
Context
...
- Switched from Parser::getLimit to CLI::getLimit.
2014-10-31 23:34:17 -04:00
Paul Beckingham
8863458879
Context
...
- Converted from Parser::getCommand to CLI::getCommand.
2014-10-31 23:12:41 -04:00
Paul Beckingham
f80d57ff48
Context
...
- Sets up fixed-name attributes first. Extends that list with dynamic
attributes (UDAs) later, when known.
2014-10-31 19:14:47 -04:00
Paul Beckingham
3700d2df9f
Context
...
- Relocated some (more needed) entity declarations into ::setupEntities.
2014-10-31 08:53:25 -04:00
Paul Beckingham
67581187ae
CLI
...
- Converted CmdCalc from Parser to CLI.
2014-10-25 22:20:32 -04:00
Paul Beckingham
07bb370637
Merge branch 'parser2' into 2.4.0
2014-10-25 19:43:13 -04:00
Paul Beckingham
cd8f7ddac4
CLI
...
- Can now safely re-analyze command line if something changes. This required a
::analzye method to be called late in Context::initialize.
2014-10-19 17:59:51 -04:00
Paul Beckingham
87538589a6
Context
...
- Setting rc.debug.hooks or rc.debug.parser to non-zero values also sets
rc.debug=true, otherwise the output is not visible.
2014-10-19 17:34:35 -04:00
Paul Beckingham
d873a15aa7
Context
...
- Removed the restriction that debug messages must be unique. Because it's
insane.
2014-10-19 01:30:24 -04:00
Paul Beckingham
6d64472826
Context
...
- Removed calls to now-private methods.
2014-10-14 23:23:09 -04:00
Paul Beckingham
632cb3e194
Context
...
- Now calls aliasExpansion and categorization.
2014-10-14 00:59:33 -04:00
Paul Beckingham
f4183fd6b1
Context
...
- Added CLI rc: and rc. override extraction.
2014-10-13 23:54:16 -04:00
Paul Beckingham
c73e864cdd
Context
...
- CLI is initialized with command line args.
2014-10-13 23:24:08 -04:00
Paul Beckingham
df54b8ee43
Context
...
- Integrated new CLI object.
- Provided aliases and entities to CLI.
2014-10-13 23:18:14 -04:00
Paul Beckingham
8eb773b263
Context
...
- Corrected comment.
2014-10-06 23:24:28 -04:00
Paul Beckingham
fa22cff5be
Context
...
- rc.debug.hooks and rc.debug.parser are now valid settings. They are
not yet obeyed.
2014-10-04 19:20:38 -04:00
Paul Beckingham
a71d4f1596
Context
...
- Setting rc.debug implicitly sets debug.tls, debug.parser and debug.hooks.
2014-10-04 19:12:23 -04:00
Paul Beckingham
dcc5dbf16a
Variant
...
- The ::operator_match (and by extension operator_nomatch) now obey the rc.regex
setting.
2014-09-28 13:39:50 -04:00
Paul Beckingham
90edba9113
Context
...
- Both ::initialize and ::run need to catch a 'throw (0)' from the hook system.
2014-09-14 16:33:10 -04:00
Paul Beckingham
150f72eed4
Shadow Files
...
- Removed the shadow file feature, which has caused much suffering since version
1.4.3.
2014-09-08 01:09:24 -04:00
Paul Beckingham
c4c25706ac
Context
...
- Removed the auto_commit feature, because now every command call TDB2::commit,
in case a hook script generated new tasks. This is harmless in NOP situations.
2014-09-08 00:08:05 -04:00
Paul Beckingham
f0a2f0d70e
Context
...
- Restructured code that handles initialization failure, which was checking
the rc value at each step, which is not necessary and confusing.
2014-09-08 00:06:41 -04:00
Paul Beckingham
d290b8792b
Context
...
- Relocated Hooks::onLaunch call from the end of ::initialize to the beginning
of ::run.
- Added a TDB2::commit between ::dispatch and Hooks::onExit.
2014-09-08 00:04:09 -04:00
Paul Beckingham
5ce317bb48
Hooks
...
- Modified ::onExit to remove the indicator that data was modified. This is not
supported.
2014-09-07 22:56:28 -04:00
Paul Beckingham
0da5f9160e
STDIN
...
- Removed the stdin reading feature, which has not been enabled, and is more
problematic than it should be.
2014-09-07 13:38:46 -04:00
Paul Beckingham
04b2378d57
Context
...
- Removed unreachable code.
2014-09-06 16:47:34 -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
8ee02c8bac
Context
...
- If Hooks::onExit indicates changes, TDB2::commit is called.
2014-08-09 21:06:58 -04:00
Paul Beckingham
3136fa1746
Context
...
- Added clarifying comment to the strange test in ::verbose.
2014-08-09 20:39:18 -04:00
Paul Beckingham
bd7e66a939
Context
...
- Improved sort column parsing to include an optional trailing solidus, in
addition to the +/- sort direction.
2014-07-10 22:14:35 -04:00
Wilhelm Schuermann
7548ce662a
TW-296
...
- TW-296 urgency of blocked task should affect urgency of blocking task
Signed-off-by: Paul Beckingham <paul@beckingham.net >
2014-07-06 14:11:10 -04:00
Paul Beckingham
0cd56932a5
Context
...
- Added ::getLimits, copied from CmdCustom, for more general use.
2014-07-04 11:03:23 -04:00
Paul Beckingham
b60a4aff22
TW-294
...
- TW-294 Display UUID of task created by add (thanks to John West).
2014-07-04 09:24:55 -04:00
Paul Beckingham
531e490e44
Context
...
- Properly extract alias 'from' from the configuration variable name.
2014-07-03 22:34:05 -04:00
Paul Beckingham
bc24d107d5
Context
...
- Stuffs parser with alias definitions, from Context::loadAliases. This keeps
the configuration settings apart from the Parser implementation.
2014-07-03 19:09:24 -04:00
Paul Beckingham
29604d0626
Context
...
- Stubbed a ::loadAliases method to stuff the Parser with alias defs.
2014-07-03 19:06:05 -04:00
Paul Beckingham
5b9413b02c
Alias
...
- Removal of alias load/resolve code, which (1) needs a rewrite, and (2) belongs
in the Parser.
2014-07-03 19:04:48 -04:00
Paul Beckingham
850dbb36f0
Context
...
- ::clear now calls Parser::clear, which prevents the parse tree from growing
with every shell command.
2014-06-03 01:31:25 -04:00
Paul Beckingham
56a70b00c4
Context
...
- No longer segfaults when ::initialize (argç, argv) is called with zero
arguments, which is what the shell is doing.
2014-06-03 00:55:18 -04:00
Paul Beckingham
cd837a006c
Task
...
- ::modify was not casting strings to dates for date types.
2014-06-03 00:42:21 -04:00
Paul Beckingham
1cd09bc87b
Alias
...
- Implemented simple word substitution aliases. This is not the ultimate form
which will involve the ability to insert arbitrary constructs. Later.
2014-06-03 00:11:42 -04:00
Paul Beckingham
7196ac8554
Variant
...
- ::operator_match disobeyed rc.search.case.sensitive.
2014-06-02 23:15:25 -04:00
Paul Beckingham
fc5dad7a9a
Parser
...
- Now that all (?) Parser methods for tree scanning can be called more than
once, move all methods into the ::parse method.
2014-05-31 22:17:56 -04:00
Paul Beckingham
592a3bb60f
Lexer
...
- Lexer now makes a speculative legacy dateformat parse whenever it encounters
a decimal digit. This assumes that rc.dateformat begins with a numeric date
element, which is a restriction, but not a big one.
2014-05-29 18:09:11 -04:00