Commit graph

3025 commits

Author SHA1 Message Date
Paul Beckingham
87a48ab7f5 A3
- Removed obsolete _read_only_command member.
2014-05-25 09:06:49 -04:00
Paul Beckingham
562beac12b A3
- Removed obsolete ::find_limit method and _limit member.
2014-05-25 09:04:36 -04:00
Paul Beckingham
3f8a723903 A3
- Removed obsolete ::extract_filter.
2014-05-25 08:58:24 -04:00
Paul Beckingham
f5a13e5e42 Filter
- Full transition to the new filtering mechanism, using the new expression
  evaluator. It is working well enough to start the dogfood.  Many tests
  now broken.
2014-05-25 08:51:56 -04:00
Paul Beckingham
df173d7d84 Command
- Removed unnecessary #includes.
2014-05-25 00:25:21 -04:00
Paul Beckingham
6b53cf4027 Command
- Removed obsolete ::filter, ::filter_shortcut and ::safety methods.
  These are now implemented in the Filter object, and use A3t.
2014-05-25 00:02:27 -04:00
Paul Beckingham
4ba2761aa6 CmdStop
- Converted from A3 to Filter.
2014-05-24 23:53:26 -04:00
Paul Beckingham
9f7bc7b11c CmdStart
- Converted from A3 to Filter.
2014-05-24 23:53:09 -04:00
Paul Beckingham
82ccc80e9a CmdProjects
- Converted from A3 to Filter.
2014-05-24 23:52:51 -04:00
Paul Beckingham
510be02b64 CmdPrepend
- Converted from A3 to Filter.
2014-05-24 23:52:32 -04:00
Paul Beckingham
1cbada6bc5 CmdModify
- Converted from A3 to Filter.
2014-05-24 23:52:06 -04:00
Paul Beckingham
cc5ae78f31 CmdDuplicate
- Converted from A3 to Filter.
2014-05-24 23:51:46 -04:00
Paul Beckingham
09d4941bc1 CmdDone
- Converted from A3 to Filter.
2014-05-24 23:51:25 -04:00
Paul Beckingham
1964ffc053 Filter
- Implemented the safety mechanism that checks for confirmation is a
  write command processes a filter, but the filter expression is blank.
  For example, running "task delete" would delete all tasks unless this
  safety check is in place.
2014-05-24 23:48:20 -04:00
Paul Beckingham
4e9c8ede2b CmdDenotate
- Converted from A3 to Filter.
2014-05-24 23:01:42 -04:00
Paul Beckingham
df1f571061 CmdDelete
- Converted from A3 to Filter.
2014-05-24 22:59:54 -04:00
Paul Beckingham
2495c1606a CmdAppend
- Converted from A3 to Filter.
2014-05-24 22:58:48 -04:00
Paul Beckingham
47b1321028 CmdAnnotate
- Converted from A3 to Filter.
2014-05-24 22:58:20 -04:00
Paul Beckingham
46b360beb0 CmdTags
- Converted from A3 to Filter.
2014-05-24 22:55:00 -04:00
Paul Beckingham
7a196bac9c CmdIDs
- Converted from A3 to Filter.
2014-05-24 22:52:04 -04:00
Paul Beckingham
644b1ae7ef CmdSummary
- Converted from A3 to Filter.
2014-05-24 15:18:53 -04:00
Paul Beckingham
7ac1a7d5e5 CmdStats
- Converted from A3 to Filter.
2014-05-24 15:17:00 -04:00
Paul Beckingham
6cb64e370e Filter
- Added more stubbed transition code.
2014-05-24 15:16:07 -04:00
Paul Beckingham
1561075b51 CmdHistory
- Converted from A3 to Filter.
2014-05-24 15:09:08 -04:00
Paul Beckingham
581c310631 CmdBurndown
- Converted from A3 to Filter.
2014-05-24 15:06:58 -04:00
Paul Beckingham
614331aa23 CmdInfo
- Converted from A3 to Filter.
2014-05-24 15:01:24 -04:00
Paul Beckingham
410f4a3983 CmdCustom
- Converted from A3 to Filter.
2014-05-24 14:58:13 -04:00
Paul Beckingham
3799b5dc9c A3t
- Added ::getLimit to find the 'limit:n' pseudo attribute.
2014-05-24 14:51:27 -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
958848656a A3t
- Uses rc.abbreviation.minimum for autocompletion.
2014-05-24 10:56:41 -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
14a74fefdc A3t
- ::getWords now only extracts original args, not synthetics.
2014-05-22 16:14:35 -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