Commit graph

4551 commits

Author SHA1 Message Date
Paul Beckingham
e6df1b38e2 DOM
- Standardized DOM interface to return success/failure, with the possibility
  of blank values. This matches the Eval::source callback interface‥
- Added more unit tests.
2014-06-04 18:57:36 -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
512fe2f6c7 Variant
- ::operator_match and ::operator_nomatch now take a 'const Task&' argument to
  use for description/annotation matching.
- Updated unit tests.
2014-06-03 01:27:02 -04:00
Paul Beckingham
ca6940ba2e Variant
::operator_hastag now uses contextTask for resolution.
2014-06-03 01:10:58 -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
a470e50ee6 Variant
- Attempts legacy date conversion ahead of ISO.
2014-06-02 23:30:40 -04:00
Paul Beckingham
7196ac8554 Variant
- ::operator_match disobeyed rc.search.case.sensitive.
2014-06-02 23:15:25 -04:00
Paul Beckingham
ac07189941 Task
- ::modify was setting the wrong attribute value, namely the original, not the
  one that had passed through the expression evaluator's intestines.
2014-06-02 22:22:39 -04:00
Paul Beckingham
870e45be0d Lexer
- Extended Lexer to consider forms like '123.abc' as identifiers. This is
  essential to recignizing and extending DOM support.
2014-06-02 22:19:38 -04:00
Paul Beckingham
43718cbce5 Task
- Evaluates attribute values on modify.
2014-06-01 22:50:33 -04:00
Paul Beckingham
05d46b8345 TW-1331
- TW-1331 date more than 5 years away is faulty (thanks to Onion).
2014-06-01 20:08:32 -04:00
Paul Beckingham
6a0c61ad27 Portability
- Fixed wcwidth error in the #ifdef CYGWIN.
2014-06-01 19:39:28 -04:00
Paul Beckingham
55b5149be0 TW-72
- TW-72 extend info report with urgency column
2014-06-01 16:33:14 -04:00
Paul Beckingham
a1ba10d820 Unit Tests
- qw is not qq.  Cleanup now happens properly.
2014-06-01 13:25:29 -04:00
Paul Beckingham
91523b3574 Unit Tests
- Removed 'sleep' commands that slow down the test suite unnecessarily,
  by replacing them with specific timestamps in pending.data.
2014-06-01 13:16:39 -04:00
Paul Beckingham
7b3acbb81b Unit Tests
- Removed 'sleep' commands that slow down the test suite unnecessarily,
  by replacing them with specific timestamps in pending.data.
2014-06-01 13:00:04 -04:00
Paul Beckingham
eef39c3355 Unit Tests
- Removed sleep commands from wait.t, using specific timestamps in pending.data
  to speed up tests.
2014-06-01 12:30:19 -04:00
Paul Beckingham
c01d15d3b8 Unit Tests
- Replaced 'sleep' commands in the unit test (which slow things down too much)
  with pending.data lines with modified timestamps.
2014-06-01 11:39:03 -04:00
Paul Beckingham
92ba0055fb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:38:51 -04:00
Paul Beckingham
e1602057dd Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:36:42 -04:00
Paul Beckingham
e70ec9f967 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:34:24 -04:00
Paul Beckingham
e1d6b84dcd Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:32:38 -04:00
Paul Beckingham
ab7370a2eb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:30:29 -04:00
Paul Beckingham
e3e21b72a9 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:28:24 -04:00
Paul Beckingham
1c5a9f70cb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:25:30 -04:00
Paul Beckingham
fbdceac548 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:24:43 -04:00
Paul Beckingham
ca06927eea Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:23:19 -04:00
Paul Beckingham
abb663fae3 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:22:05 -04:00
Paul Beckingham
7f08ec5a63 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:20:43 -04:00
Paul Beckingham
fb11379630 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:20:00 -04:00
Paul Beckingham
f85ff7bde1 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:05:10 -04:00
Paul Beckingham
307ea1c857 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:02:53 -04:00
Paul Beckingham
eaffa392f9 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:00:45 -04:00
Paul Beckingham
8eef295bea Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:57:59 -04:00
Paul Beckingham
bdad6642c8 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:56:14 -04:00
Paul Beckingham
0a1bcbd48d Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:51:25 -04:00
Paul Beckingham
7ab8d4db6d Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:49:57 -04:00
Paul Beckingham
a59f8644f1 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:48:19 -04:00
Paul Beckingham
102792e425 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:45:46 -04:00
Paul Beckingham
c0f4baa8d9 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:44:18 -04:00
Paul Beckingham
77d93ef631 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:43:00 -04:00
Paul Beckingham
6706d1b955 Date/ISO8601
- Changed the order of parsing from ISO, Date to Date, ISO. This favors the
  old dateformat mechanism more than the new one. One day this will flip.
2014-06-01 00:10:16 -04:00
Paul Beckingham
483c1b5787 Unit tests
- Test relied on an error message that no longer applies.
2014-06-01 00:00:09 -04:00
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