Paul Beckingham
f524bd38e4
Unit Tests
...
- Converted test to use a better value than a hard-coded date.
- Removed useless setup/teardown tests.
2014-05-31 23:07:49 -04:00
Paul Beckingham
eae398f203
Unit Tests
...
- Converted test to use a better value than a hard-coded date.
- Removed useless setup/teardown tests.
2014-05-31 23:05:55 -04:00
Paul Beckingham
48e2e19ae1
Unit Tests
...
- Used command at least rc.abbreviation.minimum in length.
- Removed useless setup/teardown tests.
2014-05-31 22:39:37 -04:00
Paul Beckingham
9303bfb26a
Unit Tests
...
- Used command at least rc.abbreviation.minimum in length.
- Removed useless setup/teardown tests.
2014-05-31 22:35:26 -04:00
Paul Beckingham
5315196175
Unit Tests
...
- Updated recurrence period to an ISO8601 value.
- Removed useless setup/teardown tests.
2014-05-31 22:31:29 -04:00
Paul Beckingham
d69d38c7d2
Unit Tests
...
- Removed useless setup/teardown tests.
2014-05-31 22:29:49 -04:00
Paul Beckingham
8d0f1f6990
Unit Tests
...
- Removed useless setup/teardown tests.
2014-05-31 22:28:37 -04:00
Paul Beckingham
5df49ec5e3
Parser
...
- ::findAttributeModifier now tolerates missing values and generates the
correct expression term.
2014-05-31 22:26:44 -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
a86408c5a3
Unit Tests
...
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 22:04:17 -04:00
Paul Beckingham
37acb90579
Unit Tests
...
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 21:42:51 -04:00
Paul Beckingham
72ceee198a
Unit Tests
...
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 21:41:18 -04:00
Paul Beckingham
622532c38e
Unit Tests
...
- Uncommented some old tests that pass, but obviously once did not.
- Removed useless setup/teardown tests.
2014-05-31 18:18:58 -04:00
Paul Beckingham
5b8aef5463
Parser
...
- ::findAttribute now tolerates missing values, as it should if I'd written
it properly in the first place.
2014-05-31 18:18:20 -04:00
Paul Beckingham
2da3258dd0
Unit Tests
...
- Corrected one time stamp, but not all.
- Removed useless setup/teardown tests.
2014-05-31 18:02:13 -04:00
Paul Beckingham
afd948167f
Unit Tests
...
- Removed useless setup/teardown tests.
- Increased command length to match rc.abbreviation.minimum.
2014-05-31 17:55:15 -04:00
Paul Beckingham
4f8d6c877d
Variant
...
- Implemented an (unused) operator_nopartial for the sake of symmetry.
2014-05-31 17:54:43 -04:00
Paul Beckingham
b272513747
Unit Tests
...
- Modified test to use a command that exceeded the rc.abbreviation.minuіmum
length.
2014-05-31 17:30:20 -04:00
Paul Beckingham
a799b54ad4
Unit Tests
...
- Modified test to use a command that exceeded the rc.abbreviation.minuіmum
length.
2014-05-31 17:24:29 -04:00
Paul Beckingham
cefbaf779b
Parser
...
- ::initialize only overrides Parser::minimumMatchLength when
rc.abbreviation.minimum is non-zero.
2014-05-31 17:23:00 -04:00
Paul Beckingham
68555315e0
Parser
...
- Scans the tree to find the binary, after the calendar report runs the main
report and prepares to run the detail report. Now I think about it, this
feature could be implemented vai hooks.
2014-05-31 15:36:12 -04:00
Paul Beckingham
382881c0e1
CmdCustom
...
- Filter args must contain spaces between them. Splitting on token boundaries
goes too far and separates '-' from 'tag'.
2014-05-31 15:11:24 -04:00
Paul Beckingham
a1ee44ac17
Parser
...
- ::findPlainArgs will now only upgrade an arg to a search if the arg itself
cannot be lexed into subtokens.
2014-05-31 14:11:53 -04:00
Paul Beckingham
cf5eb73f04
CmdCustom
...
- Now places ( ) around the custom report filter. This gives it a chance at
allowing 'or' and 'xor' operators when combined with a command lne filter.
2014-05-31 13:58:40 -04:00
Paul Beckingham
5ac3db3168
Parser
...
- Modified ::injectDefault to use Lexer::token_split instead of
Lexer::word_split which allows stranger default commands. Not sure if this
is necessary, but it seems like the right thing.
2014-05-31 13:54:56 -04:00
Paul Beckingham
f4605a1bc7
Parser
...
- Implemented ::capture_last, so that new args can be injected at either end
of the command line.
2014-05-31 13:52:59 -04:00
Paul Beckingham
7598997e70
Lexer
...
- Implemented ::token_split, which performs a full lex, and doesn't require
white space like ::word_split does.
- Added unit tests.
2014-05-31 13:51:10 -04:00
Paul Beckingham
0af9bbdc03
Lexer
...
- Renamed ::split to ::word_split, for clarity and because of the need for a
full token split, coming next.
2014-05-31 13:48:52 -04:00
Paul Beckingham
e753473dc4
Documentation
...
- Updated DEVELOPER docs regarding unit tests and the use of the 'needsTest'
label in the bug database.
2014-05-31 13:46:00 -04:00
Paul Beckingham
30fee92914
Parser
...
- ::findPlainArgs was only being run in debug mode. Not a good idea.
2014-05-31 12:27:56 -04:00
Paul Beckingham
190b6fe635
Diagnostics
...
- Display debug/release build type in the diagnostics command.
2014-05-31 12:12:40 -04:00
Paul Beckingham
744f0f55ac
Unit Tests
...
- Removed obsolete references to 'synch.key'.
2014-05-31 11:53:17 -04:00
Paul Beckingham
6514bdfc4d
TW-28, TW-271, TW-277, TW-752, TW-1265
...
- TW-1265 cannot add UDA with underscore (thanks to Jakub Wilk).
- Added unit tests for TW-1265.
- Added ChangeLog and AUTHOR entries for other fixed issues.
2014-05-31 11:11:53 -04:00
Paul Beckingham
4694cfe0fe
Variant
...
- Added specialized handling for 'priority' attributes when compared using the
<, <=, > or >= operators.
2014-05-31 10:02:50 -04:00
Paul Beckingham
ba8c007ace
Filter
...
- When a filter resolves an identifier through a DOM reference, it records
the source. In other words, when 'priority' is resolved to 'H', the source
reference ('priority') is stored in the variant. This is because different
data attributes behave differently when compared.
2014-05-31 10:01:00 -04:00
Paul Beckingham
3bc44681a5
Variant
...
- A variant now contains a source reference, which indicates where it came
from. This is used to determine whether 'H' is a priority or just a word.
2014-05-31 09:59:18 -04:00
Paul Beckingham
6bcb9e4bf3
Parser
...
- Plain words found in filters are now upgraded to search terms.
2014-05-31 08:50:52 -04:00
Paul Beckingham
6ccca32434
Unit Tests
...
- Downgraded bash constructs to sh, reducing the requirements from bash to sh.
2014-05-30 21:39:55 -04:00
Paul Beckingham
87dcbd556e
Recurrence
...
- Task::validate and getNextRecurrence needed to consider both Duration and
ISO8601p.
2014-05-30 21:29:42 -04:00
Paul Beckingham
6d5d93d753
Task
...
- Added diagnostics for date assignments. Only duration assignment diagnostics
were present.
2014-05-30 18:14:33 -04:00
Paul Beckingham
f2a8e22866
Unit Tests
...
- Uses full duration names '9months' rather than abbreviations '9mo'.
This is in anticipation of reduced flexibility.
2014-05-30 18:13:33 -04:00
Paul Beckingham
9f6e37fa06
Portability
...
- Reordered includes to allow build on FreeBSD (thanks to Pietro Cerutti).
2014-05-30 15:25:34 -04:00
Paul Beckingham
688dcb6cd3
Filter
...
- Fixed ::pendingOnly, which now has a clearly-defined set of rules.
2014-05-30 00:39:38 -04:00
Paul Beckingham
da95c16da9
Unit Tests
...
- Modified a test that relies on an obsolete message.
2014-05-29 23:17:02 -04:00
Paul Beckingham
5baa999459
Build
...
- Added missing define for FreeBSD.
2014-05-29 20:21:34 -04:00
Paul Beckingham
46d1f2c679
Build
...
- Added missing include for FreeBSD.
2014-05-29 20:05:29 -04:00
Paul Beckingham
3e34679f4a
Build
...
- Added missing include for FreeBSD.
2014-05-29 19:39:30 -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
Paul Beckingham
79576819c3
Date
...
- Added the ability to suppres ISO (fixed) and epoch date parsing.
2014-05-29 18:06:52 -04:00
Paul Beckingham
52eaf3f9c2
Variant
...
- Can now convert type_string to type_date via legacy dateformat, provided
that Context transmits the format.
2014-05-29 00:43:39 -04:00