Commit graph

2922 commits

Author SHA1 Message Date
Paul Beckingham
39c476134f Hooks
- Added ::onLaunch.
2014-05-13 16:34:23 -04:00
Paul Beckingham
6cff8d9ff6 Hooks
- Added ::initialize method.
2014-05-13 16:31:27 -04:00
Paul Beckingham
bfb19e0a64 Hooks
- Gutted the Hooks object.
- Commented out on-launch and on-exit triggers.
2014-05-13 16:23:50 -04:00
Paul Beckingham
7f3e42e4e1 TLS
- Reworded error messages for bad PEM files (thanks to catern).
2014-05-12 22:04:01 -04:00
Paul Beckingham
23f02b2268 Command
- Marked obsolete methods.
2014-05-12 00:26:41 -04:00
Paul Beckingham
8a92c36916 CmdEdit
- Converted from A3 to Filter.
2014-05-12 00:18:22 -04:00
Paul Beckingham
468e02c73b Eval
- Marked the partial match operator as needing special consideration for
  proejct and UUID.
2014-05-12 00:17:36 -04:00
Paul Beckingham
ffec82701d A3t
- Added ID and UUID sequence generation, as part of the filter expression.
  Now creates efficient filters, like '(id >= 1 and id <= 10)'
2014-05-12 00:16:32 -04:00
Paul Beckingham
9095cedd5e CLI Samples
- Added a multi-UUID sample test.
2014-05-11 23:57:51 -04:00
Paul Beckingham
73ecd13597 Code cleanup
- Tidied CMakeLists.txt to trigger a flod build as a test.
2014-05-11 16:23:56 -04:00
Paul Beckingham
702e4e41fc Calendar
- Typo.
2014-05-11 14:48:32 -04:00
Paul Beckingham
7ffd391faa Filter
- Filter mismatch reports now only show in debug mode.
2014-05-11 14:46:46 -04:00
Paul Beckingham
8f02fb1b13 Filter
- Clearly marked the obsolete code.
2014-05-11 13:54:28 -04:00
Paul Beckingham
e6817033d3 TW-1321
- TW-1321 Unit test view.t fails oddly on Ubuntu 13.10 (thanks to John West).
2014-05-11 17:39:44 +00:00
Paul Beckingham
ea6ff48d58 Portability
- Attempt 4 to eliminate build warning without causing problems.
2014-05-11 10:44:51 -04:00
Paul Beckingham
a899fb941d Code Cleanup 2014-05-11 10:44:17 -04:00
Paul Beckingham
a97ce45cdf Eval
- Debug mode can now be disabled.
2014-05-11 10:15:10 -04:00
Paul Beckingham
25abf04fdf TW-1318
- TW-1318 creating a UDA in the wrong sequence will cripple taskwarrior (thanks
          to Onion).
2014-05-09 22:57:40 -04:00
Paul Beckingham
49d39984d9 Regex
- Regular expressions are now enabled by default.
2014-05-08 07:07:08 -04:00
Paul Beckingham
eb6c38ac17 Code Cleanup
- Removed obsolete configuration variable 'patterns', which is no longer
  used.
2014-05-08 07:05:29 -04:00
Paul Beckingham
fa2af30857 A3t
- Implemented ::findPlainArgs, for locating words that can be promoted to
  patterns.
2014-05-06 21:26:30 -04:00
Paul Beckingham
d00c685699 Tree
- Added ::countTags method.
2014-05-06 21:16:30 -04:00
Paul Beckingham
b158b1ac06 Test
- Flod test 1.
2014-05-04 19:16:51 -04:00
Paul Beckingham
656dcde272 Filter
- Implemented ::pendingOnly (was named ::shortcut), for detecting filters
  that do not need to access completed.data.
2014-05-02 23:39:03 -04:00
Paul Beckingham
fcb039f801 Eval
- Labeled the (now differentiated) = and == operators.
2014-05-02 23:09:00 -04:00
Paul Beckingham
159f632eff Reports
- Removed redundant sorting for report defs.
2014-04-30 23:15:11 -04:00
Paul Beckingham
1e796bb276 A3t
- Implemented attmod expansion.
2014-04-27 13:15:29 -07:00
Paul Beckingham
9ee3e03922 Args
- Modified FILTER output to match debug output of tw.
2014-04-27 13:14:45 -07:00
Paul Beckingham
6f611d07f1 DOM
- Converted from A3::is_attribute to A3t::canonicalize.
2014-04-27 12:51:02 -07:00
Paul Beckingham
dea9d3f4ef Filter
- rc.debug=1 propagates to Eval::debug.
- Corrected comments.
2014-04-27 12:49:54 -07:00
Paul Beckingham
899e65714a Filter
- Added domSource, and a context Task so that Eval can access attributes.
  Doesn't work.
2014-04-27 11:06:02 -07:00
Paul Beckingham
e924468de6 CmdCount
- Converted from Command::filter to Filter::subset.
2014-04-27 10:17:34 -07:00
Paul Beckingham
e3a1789b3f Eval
- Added support for compiled expressions that are compiled once and
  evaluated multiple times in different contexts.
2014-04-27 10:07:11 -07:00
Paul Beckingham
fe2634b472 Filter
- New Filter object to control filtering, instead of commands/Command.cpp.
2014-04-27 10:05:05 -07:00
Paul Beckingham
3e7052b500 A3t
- Inserts implicit AND operators into filters that otherwise don't.
2014-04-26 17:10:01 -07:00
Paul Beckingham
3add6c3c7e A3t
- Stubbed attmod expansion, copied over from A3.
2014-04-26 15:24:18 -07:00
Paul Beckingham
4a392a53a2 A3t
- ::getFilterExpression expands +tag to tags _hastag_ tag,
  -tag to tags _notag_ tag.
2014-04-26 15:15:10 -07:00
Paul Beckingham
2770f0388c A3t
- Stubbed ::patchInfix to insert missing and implied logical operators.
2014-04-26 14:56:48 -07:00
Paul Beckingham
c1d02a7730 A3t
- ::getFilterExpression expands /pattern/ to description ~ pattern
2014-04-26 13:53:12 -07:00
Paul Beckingham
db0f147b72 A3t
- Reordered recognition of PSEUDO, UDA and ATTRIBUTE, which is a better
  precedence.
2014-04-26 13:48:16 -07:00
Paul Beckingham
17c7c9646a A3t
- Attributes in filter now properly expanded.
2014-04-26 13:34:05 -07:00
Paul Beckingham
942e2ddbc1 Code Cleanup
- Removed diagnostics from default command handling.
2014-04-26 13:32:32 -07:00
Paul Beckingham
49aadb7636 Command
- Added filter expression debug diagnostics.
2014-04-26 13:31:59 -07:00
Paul Beckingham
2e0b7c8052 CmdCustom
- After injecting custom filter, re-parse.
2014-04-26 13:26:54 -07:00
Paul Beckingham
d70df55c2d CmdBurndown
- Converted from A3 to A3t.
2014-04-26 12:03:28 -07:00
Paul Beckingham
1f8763829d CmdUndo
- Converted from A3 to A3t.
2014-04-26 11:58:35 -07:00
Paul Beckingham
f89f5469a4 Shell
- Converted from A3 to A3t.  Still doesn't work though.
2014-04-26 11:53:05 -07:00
Paul Beckingham
22c5bc28e1 CmdCalendar
- Converted from A3 to A3t.
2014-04-25 22:32:49 -07:00
Paul Beckingham
b5bd3e44c8 A3t
- Added ::clear method.
- Handles ::captureFirst with an empty tree.
2014-04-25 22:31:52 -07:00
Paul Beckingham
74cfc972fc Code Cleanup
- Converted use of isspace (which doesn't know Unicode) to Lexer::is_ws.
2014-04-24 17:06:05 -04:00