Commit graph

4526 commits

Author SHA1 Message Date
Paul Beckingham
3799b5dc9c A3t
- Added ::getLimit to find the 'limit:n' pseudo attribute.
2014-05-24 14:51:27 -04:00
Paul Beckingham
051a92bf91 Unit Tests
- Test was not setting proper verbosity level.
2014-05-24 14:29:09 -04:00
Paul Beckingham
7558527823 Unit Tests
- Test was looking for 'one', and found a false positive of 'none'.
2014-05-24 14:26:07 -04:00
Paul Beckingham
856e777004 Unit Tests
- Test was not specifying correct verbosity for the tests.
2014-05-24 14:23:23 -04:00
Paul Beckingham
492272dec4 CmdExport
- Converted from A3 to Filter.
2014-05-24 14:16:12 -04:00
Paul Beckingham
7e8e48ff08 Filter
- Stubbed code for eventual elimination of E9 in Filter.
2014-05-24 14:15:39 -04:00
Paul Beckingham
66d8a1267c CmdUrgency
- Converted from A3 to Filter.
2014-05-24 13:34:54 -04:00
Paul Beckingham
2a72d0f1d6 Filter
- Added a static contextTask task reference instead of an iterator that
  domSource cannot dereference.  Idiot.
2014-05-24 13:33:15 -04:00
Paul Beckingham
b7d7646c28 Performance
- Moved DOM stack variable instantiation to immediately before first use, which
  is after more common use cases.
2014-05-24 13:01:53 -04:00
Paul Beckingham
a801ec2f50 CmdUDAs
- Converted from A3 to Filter.
2014-05-24 12:15:39 -04:00
Paul Beckingham
c3a759c63d Dates
- Moved an invariant to greater scope.
2014-05-24 11:37:21 -04:00
Paul Beckingham
b532b94b81 Dates
- Implemented midsommar and midsommarafton.
2014-05-24 11:34:40 -04:00
Paul Beckingham
4851e0ed2b Unit Tests
- Added TW-1267 unit tests (thank to Renato Alves).
2014-05-24 11:10:28 -04:00
Paul Beckingham
f4fc65e1ed Unit Tests
- Added DOM id --> UUID --> id round trip tests.
2014-05-24 11:04:32 -04:00
Paul Beckingham
958848656a A3t
- Uses rc.abbreviation.minimum for autocompletion.
2014-05-24 10:56:41 -04:00
Paul Beckingham
704e85fcbc TD-57
- TD-57 taskdctl script assumes /bin/sh is /bin/bash (thanks to Tatjana Heuser).
2014-05-23 16:34:08 -04:00
Paul Beckingham
30dc62703d TD-56
- TD-56 File.cpp needs to include <string.h> on Solaris (thanks to Tatjana
        Heuѕer).
2014-05-23 16:26:55 -04:00
Paul Beckingham
c60ec0b6ee TD-55
- TD-55 TLSServer/Client need to include <errno.h> on Solaris (thanks to Tatjana
        Heuser).
2014-05-23 16:23:51 -04:00
Paul Beckingham
cdf9f3c04e Eval
- Protection against array overrun.
- Typo in diagnostic output.
2014-05-23 15:49:15 -04:00
Paul Beckingham
8d45e73744 A3t
- ::findUUIDList no longer assumes success after matching the first
  UUID.
2014-05-23 15:47:38 -04:00
Paul Beckingham
42f3419bd3 Eval
- Added range checking to the while loop for the parser, to prevent
  runnig over, which caused some of the problems with segfaults on
  Debian & Ubuntu.
2014-05-22 22:52:23 -04:00
Paul Beckingham
5893bfede5 Revert "Unit Tests"
This reverts commit 93a241417e.
2014-05-22 22:48:31 -04:00
Paul Beckingham
14a74fefdc A3t
- ::getWords now only extracts original args, not synthetics.
2014-05-22 16:14:35 -04:00
Paul Beckingham
93a241417e Unit Tests
- Removed tests that are no longer relevant, and fail.
2014-05-22 16:14:05 -04:00
Paul Beckingham
213f889a55 A3t
- Removed diagnostic output.
2014-05-21 23:53:39 -04:00
Paul Beckingham
ea00f20425 A3t
- When a pattern or UUID is found, quote the literal.
2014-05-21 23:47:02 -04:00
Paul Beckingham
6a9b95079c A3t
- Inserts an 'or' between ID/UUID range/lists, and inserts an 'and' between
  consecutive non-operators.
2014-05-21 23:39:35 -04:00
Paul Beckingham
1b2b110a1c A3t
- Implemented ::insertMissingOperators.
- Eliminated unused code.
2014-05-21 23:06:14 -04:00
Paul Beckingham
5f143bee49 Context
- Found another case where an empty verbosity token list was being examined.
2014-05-21 20:22:38 -04:00
Paul Beckingham
ad0c349684 Context
- Verbose control bug fix which was caused by verbose=off due to a
  missing rc.verbose setting, then later comparison with the first
  token, which did not exist.
2014-05-21 20:11:37 -04:00
Paul Beckingham
d53c432ff9 Verbosity
- New verbosity token 'filter' shows the complete filter used by the last
  command.
2014-05-21 17:21:22 -04:00
Paul Beckingham
58d8938fda A3t
- Switch sub nodes from using 'value' to the more uniform 'raw'.
2014-05-21 00:07:50 -04:00
Paul Beckingham
2f46c5de31 A3t
- ::findMissingOperators now detects all locations where a logicl operator
  is needed.
2014-05-21 00:03:05 -04:00
Paul Beckingham
c9a94f0205 A3t
- ::findAttribute now properly inserts sub nodes.
2014-05-20 23:51:46 -04:00
Paul Beckingham
9562fad396 A3t
- Removed tag 'EXPANDED', which can be replaced by a call to node.size ().
2014-05-20 23:50:55 -04:00
Paul Beckingham
195fa20a48 A3t
- Implemented the stubbed outline of ::findMissingOperators, for injecting
  'and' or 'or' into filter expressions, where needed.
2014-05-20 23:49:41 -04:00
Paul Beckingham
10d08ad4f9 A3t
- Filter expressions are parenthesized.
2014-05-20 23:48:14 -04:00
Paul Beckingham
5aeb35663b A3t
- ::getFilterExpression now has a simplified implementation.  Sure, it
  returns bad filters, but that will change.
2014-05-20 18:29:05 -04:00
Paul Beckingham
2cd0494221 A3t
- ::findAttributeModifier now creates sub nodes.
2014-05-20 18:26:32 -04:00
Paul Beckingham
6c6c3df104 A3t
- ::findIDSequence now creates sub nodes.
2014-05-20 18:25:47 -04:00
Paul Beckingham
81614dda84 A3t
- ::findUUIDList now creates sub nodes.
2014-05-20 18:24:58 -04:00
Paul Beckingham
5f6230da3a A3t
- ::findTag now creates sub nodes.
2014-05-20 18:24:21 -04:00
Paul Beckingham
922b80a5be A3t
- ::findPattern now creates sub nodes.
2014-05-20 18:23:25 -04:00
Paul Beckingham
623b1619df Dates
- Converted atoi to strtol, and added the missing include.
2014-05-20 18:01:35 -04:00
Paul Beckingham
d9e1607f05 Eval
- Attempts named source resolution as part of primitive parsing.
2014-05-19 22:06:58 -04:00
Paul Beckingham
52edc9b7cf Dates
- Easter needs time set to 0:00:00.
2014-05-19 22:06:11 -04:00
Paul Beckingham
23f6840b95 Dates
- Supports '21st' as a date.  Theoretically.
2014-05-19 22:02:08 -04:00
Paul Beckingham
05fbdd594e CmdEdit
- Now diplays an unmodifiable 'modified' attribute.
2014-05-19 20:16:25 -04:00
Paul Beckingham
c9f6a4b9df Unit Tests
- Added Variant::operator_partial unit tests, based initially on
  ::operator==.
2014-05-19 20:15:32 -04:00
Paul Beckingham
592b3bdcb9 Eval
- Connected operator '=' to Variant::operator_partial.
2014-05-19 20:13:35 -04:00