Paul Beckingham
f5792a03fb
Lexer: Captures minimumMatchLength for abbreviated attribute matching
2015-07-26 22:58:02 -04:00
Paul Beckingham
8406dd4c6f
Documentation: Updated README
2015-07-26 17:12:24 -04:00
Paul Beckingham
466d1ddb69
Test: Cleaned up lexer.t.cpp
...
- Added more DOM types for testing.
- Added attribute/type mapping to give Lexer a chance to find DOM refs.
- Recategorized DOM-like token to Lexer::Type::identifier, because now DOM
parsing is more precise.
2015-07-26 16:21:10 -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
7eae358aca
Documentation: Improved zsh support (thanks to Daniel Shahaf).
2015-07-26 14:15:27 -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
18295a3b32
Test: Added Lexer::isLiteral and Lexer::isOneOf tests
2015-07-26 10:56:18 -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
f910ce39de
Test: Added TODO notes for further test scenarios
2015-07-25 17:55:39 -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
3fd8545d43
Test: Propagated typo fix to tests
2015-07-25 14:07:14 -04:00
Paul Beckingham
1dc1cf0cb7
Test: Added explanation
2015-07-25 14:06:32 -04:00
Paul Beckingham
77190eda6c
Test: Added space separator for DOM output
...
- When using multiple arguments (task _get 1.due 2.due), the results are
separated by a space, even if the values are blank. The consistency of this
is good, but the test ignored it.
2015-07-25 14:05:12 -04:00
Paul Beckingham
d05cb1c147
L10N: Typo fix
...
- Thanks to Daniel Shahaf.
2015-07-25 14:03:50 -04:00
Paul Beckingham
804c3526ba
Test: Accepted the de facto behavior is better than the intended behavior
...
- Adding an 'until' date to a recurring task is propagated to the task instances
and they expire at the same time. It was assumed otherwise, but the working
behavior is better.
2015-07-25 14:00:27 -04:00
Paul Beckingham
42d5ebfd4b
Test: Reduced sensitivity of test
...
- Some virtual tags appear only when a task is due in the same MONTH, so it is
easy to imagine on July 31st testing 'due:tomorrow' and it being a different
month.
2015-07-25 13:59:08 -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
Paul Beckingham
ebbd20b719
Test: Extended dom tests
2015-07-24 18:50:21 -04:00
Paul Beckingham
61a9eec512
Documentation: Updated for 2.4.5/2.5.0
2015-07-24 18:49:21 -04:00
Paul Beckingham
564a84d603
Test: Merged tw-285.t into tag.t
2015-07-24 17:38:15 -04:00
Paul Beckingham
7357d1003d
Test: Converted to Python, enabled
2015-07-24 17:12:37 -04:00
Paul Beckingham
4eeea35c7e
Test: Removed obsolete tests
...
- Addtionally removed rc creation test, which did almost nothing
2015-07-24 17:04:15 -04:00
Paul Beckingham
29b18c216c
Test: Converted to Python
2015-07-24 17:01:57 -04:00