Paul Beckingham
78170e0fd4
Signal: Removed useless attempt to trap SIGKILL
2015-08-04 22:31:01 -04:00
Paul Beckingham
f7ab55abeb
Lexer: Improved the recognition in ::isSet
2015-08-04 17:41:19 -04:00
Paul Beckingham
37bd07883b
DOM: Clarified _get behavior
...
- It is an error to provide no DOM references (task _get).
- It is an error to provide bad DOM references (task _get donkey). In this
example, 'donkey' could be a UDA orphan.
- It is not an error for a valid DOM reference to yield no value.
2015-08-03 09:05:17 -04:00
Paul Beckingham
ebecaf420e
Debug: Display the final parse tree for rc.debug.parser=1.
2015-08-03 07:54:56 -04:00
Paul Beckingham
a604e14ea9
Context: GC now only called when the commands request it
2015-08-02 15:54:24 -04:00
Paul Beckingham
0c85725a4c
CLI2: Plain arg detection was failing if the arg was the last arg
2015-08-02 11:17:05 -04:00
Paul Beckingham
d9fc334098
Context: Added filter prep for write commands that don't instantiate Filter
2015-08-02 10:26:05 -04:00
Paul Beckingham
941e8c9f37
CLI2: When applying extra filters, insert at the beginning, thus avoiding '--'
2015-08-02 10:20:12 -04:00
Paul Beckingham
1921ed77d5
CLI2: Removed command-specific logic in addContextFilter
...
- This is now driven by command DNA.
2015-08-02 10:14:15 -04:00
Paul Beckingham
758df84539
Context: Now obeys command DNA
...
- Applying a context filter is now performed only when a command requests it.
2015-08-02 10:08:04 -04:00
Paul Beckingham
bf80c7d514
Cmd*: Added command DNA, which will ѕoon drive functionality
2015-08-01 15:56:04 -04:00
Paul Beckingham
d390433ec7
CmdCommands: Added 'commands' command to show command internal details
2015-08-01 15:47:21 -04:00
Paul Beckingham
234ad3d03b
ISO8601: Year validation should extend beyond 2100
2015-08-01 15:40:34 -04:00
Paul Beckingham
752e737f18
Command: Added DNA for commands
2015-08-01 11:20:17 -04:00
Paul Beckingham
5914418fb1
Test: Corrected util.cpp/confirm calls to check std::cin::eof
2015-07-29 22:37:59 -04:00
Wilhelm Schuermann
3433770e9b
l10n: Busy work
2015-07-29 19:38:16 +02:00
Wilhelm Schuermann
d3a3769ad4
Context: Make "context define" show usage info
...
- TW-1570 requested a "Do you want to set context $name now?" prompt
when defining a context; this does the next best thing and shows how
to activate the context right away.
2015-07-29 19:08:57 +02:00
Paul Beckingham
e0f7983a28
TW-1621: Recurrent parent tasks shouldn't be counted in history
...
- Tthanks to Denis Kasak.
2015-07-29 00:04:16 -04:00
Paul Beckingham
16cee8e263
TW-1627: 'mon' is replaced with date in project field
...
- Thanks to James Cline.
2015-07-28 23:44:20 -04:00
Paul Beckingham
51cf195b99
CmdImport: JSON parse errors are assumed to imply old-style format
2015-07-28 23:22:04 -04:00
Paul Beckingham
0f4d3c1d60
Task: Dependencies are exported as a JSON array
...
- The 'json.depends.array' setting controls whether dedendencies are encoded as
a JSON array, or comma-separated string.
- The default value is on.
- Both forms are imported.
2015-07-28 21:54:29 -04:00
Paul Beckingham
caab26247c
TW-1642: After "--", an apostrophe unexpectedly ends the task description
...
- Thanks to Jeremy John Reeder.
2015-07-28 19:58:18 -04:00
Paul Beckingham
f1651862a0
L10N: Removed unused strings
2015-07-28 17:07:29 -04:00
Paul Beckingham
0747cc38aa
CmdImport: Removed unused method
2015-07-28 00:20:28 -04:00
Paul Beckingham
8adb6ae889
DOM: Missing value UDAs now return "", not "''".
2015-07-28 00:07:51 -04:00
Paul Beckingham
5c27f80432
Recurrence: updated code and ISO8601 recurrence processing
...
- Converted from 'atoi' to 'strtol'.
- Updated special handling for recurrence values to include ISO8601 durations.
2015-07-27 22:22:08 -04:00
Paul Beckingham
84a9140763
Task: Stubbed duration storage change
2015-07-27 20:48:54 -04:00
Paul Beckingham
c2c26b338b
CmdImport: Added support for free-form JSON import
2015-07-27 20:48:51 -04:00
Paul Beckingham
5995320164
Task: Added a code path allowing parseJSON to be handed a JSON tree
2015-07-27 20:48:48 -04:00
Paul Beckingham
965b7cfd3d
JSON: Made ::dump const, because it should be
2015-07-27 20:48:45 -04:00
Paul Beckingham
f2ecb61edf
CLI2: PSEUDO args are no longer candidates for search terms
2015-07-27 02:36:35 -04:00
Paul Beckingham
9c8edc4121
CLI2: ::desugarFilterPlainArgs now needs to look for Lexer::Type::identifier
2015-07-27 02:18:36 -04:00
Paul Beckingham
16620bed45
CLI2: Demoting Lexer::Type::dom args that fail to canonicalize no longer makes sense
2015-07-27 02:13:43 -04:00
Paul Beckingham
a5507678e8
Lexer: ::isDOM failed to enforce minimum size before allowing no endBoundary
2015-07-27 01:53:32 -04:00
Paul Beckingham
c2f08c8f05
Lexer: Bug in ::isDOM required '.' separators to have endBoundary
2015-07-27 01:52:59 -04:00
Paul Beckingham
99a53edca0
Lexer: ::isLiteral now stops at EOS
2015-07-27 00:57:30 -04:00
Paul Beckingham
0c7e731b0d
Lexer: Integrated ::commonLength
...
- Uses std::string::size_type for all string lengths, offsets.
- Rewrote ::isLiteral to be simpler.
- Added support for abbreviated DOM refs.
- Obeys rc.abbreviation.minimum, indirectly.
- Added tests.
2015-07-27 00:31:15 -04:00
Paul Beckingham
a9b701ae6d
Lexer:: Implemented ::commonLength with offsets, for embedded parsing
2015-07-27 00:04:00 -04:00
Paul Beckingham
244c81a647
Lexer: Implemented ::commonLength for word root comparison
2015-07-26 23:52:17 -04:00
Paul Beckingham
f5792a03fb
Lexer: Captures minimumMatchLength for abbreviated attribute matching
2015-07-26 22:58:02 -04:00
Paul Beckingham
4646a86d4d
Lexer: Added missing rc.<name> DOM parsing
2015-07-26 16:18:58 -04:00
Paul Beckingham
97e52c8f17
CmdInstall: Removed obsolete, unlinked code
2015-07-26 14:17:08 -04:00
Paul Beckingham
3158883dc4
Cleanup: De-tabbed source
2015-07-26 14:13:29 -04:00
Paul Beckingham
5b61420b52
CmdCommands: zshCommand::operator< wanted to be const for clang 3.2
2015-07-26 14:12:36 -04:00
Daniel Shahaf
aea3091bdb
zcmdcat: Refactor for clang 3.0 compatibility
2015-07-26 14:04:58 -04:00
Daniel Shahaf
c78fc47402
zcmdcat: zsh completion: group commands by category
2015-07-26 14:01:59 -04:00
Daniel Shahaf
5ca1dd540e
zcmdcat: Categorize 'task context'.
2015-07-26 14:00:02 -04:00
Daniel Shahaf
de9a815063
zcmdcat: Categorize 'task install'.
2015-07-26 13:57:37 -04:00
Daniel Shahaf
53a702d79a
zcmdcat: Categorize commands.
2015-07-26 13:55:23 -04:00
Daniel Shahaf
c83f702f58
zcmdcat: Categorize reports.
2015-07-26 13:51:33 -04:00