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
Daniel Shahaf
8eb965d71d
zcmdcat: Initial infrastructure.
2015-07-26 13:49:19 -04:00
Paul Beckingham
f5571c80c6
Lexer: Rewrote ::isDOM to perform exact matching, not pattern matching
2015-07-26 12:22:35 -04:00
Paul Beckingham
d0c4326af3
Lexer: Upgraded attributes vector to a map of name to type
2015-07-26 12:22:02 -04:00
Paul Beckingham
52d2bbd11a
Lexer: Implemented ::isOneOf using a std::map as input
2015-07-26 12:09:40 -04:00
Paul Beckingham
58edbb9630
DOM: Aligned comments with Lexer
2015-07-26 12:08:40 -04:00
Paul Beckingham
391d527328
Lexer: Added end-boundary sensitivity to ::isLiteral and ::isOneOf
2015-07-26 10:48:26 -04:00
Paul Beckingham
3e74aa51e2
Lexer: Added 'endBoundary' requirement to ::isUUID
2015-07-25 17:59:40 -04:00
Paul Beckingham
c769891b76
Lexer: Implemented ::isInteger to help parsing.
2015-07-25 17:54:55 -04:00
Paul Beckingham
37e31e8e0b
Lexer: Implemented ::isOneOf, to help with parsing
2015-07-25 17:34:51 -04:00
Paul Beckingham
9394b96202
Lexer: Implemented ::isLiteral, to help with parsing
2015-07-25 17:34:01 -04:00
Paul Beckingham
7354a8f13f
CLI2: Context not applied for certain commands and args
...
- The 'undo', 'export' and all helper commands are exempt from context
filtering.
- Any command line containing a FILTER with Lexer:Type::set or Lexer::Type:uuid
is also exempt from context filtering.
2015-07-25 17:23:06 -04:00
Paul Beckingham
d05cb1c147
L10N: Typo fix
...
- Thanks to Daniel Shahaf.
2015-07-25 14:03:50 -04:00
Paul Beckingham
5f30c9e2c3
Feature: Extra arg detection
...
- Commands that do not accept filters or modifications now generate an error
when extra arguments are specified.
2015-07-25 13:58:15 -04:00
Paul Beckingham
8684639f72
Filter: Implemnted ::hasFilter to detect command line filters
2015-07-25 10:01:06 -04:00
Paul Beckingham
99e0953489
TW-1641: 'edit' should process or reject <mods> arguments
...
- Thanks to Daniel Shahaf.
2015-07-25 09:39:13 -04:00
Paul Beckingham
7aa101de58
Filter: Implemented ::hasModifications to detect command line modifications
2015-07-25 09:28:55 -04:00
Paul Beckingham
6510026189
RC: Conditional compilation regarding REG_ENHANCED.
2015-07-25 01:04:11 -04:00
Paul Beckingham
6c31098ad2
CLI2: Context no longer applies to any helper command.
2015-07-25 01:01:24 -04:00
Paul Beckingham
3df84516d2
RX: Was missing REG_ENHANCED, which omits \d support
2015-07-25 00:43:48 -04:00
Paul Beckingham
4f0e32b69b
Lexer: Improved ::decomposePattern to extract raw string
2015-07-25 00:34:18 -04:00
Paul Beckingham
41a76c6798
Tags: New 'UDA' and 'ORPHAN' virtual tags.
2015-07-24 23:46:24 -04:00
Paul Beckingham
297b0c4b04
Dates: Added exact-match 'eaѕter' logic
...
- Without checking for an exact match for 'easter', the date 'easter' is a
valid partial match for 'eastermonday'.
2015-07-24 22:57:47 -04:00
Paul Beckingham
0f72d3d502
TW-1640: '_get <id>.start' for an inactive tasks returns a date formatted from epoch 0.
2015-07-24 22:47:50 -04:00