Expressions

- Support and documentation for rc.patterns, which enables/disables
  support for /pattern/ command line arguments.
- Support and documentation for rc.expressions, which enables/disables
  support for command line expressions.
- Now canonicalizes attribute names.
- Now canonicalizes modifier names.
- New colorization (temporary) that colors all Arguments::dump output
  green when processed.
- New distinction between 'old' and 'new' style command lines.  Old style
  is "pro:A +foo pri.not:M" with implicit "and" operators.  New style
  includes operators but does not include "+foo" and "/foo/".
- Many tokens are converted directly to primitive types (int, number,
  string) when no further processing is required.
- Restored CmdShow to functionality, and linearized the list of supported
  configuration variables, for easier insertion.
- Modified arguments.t.cpp unit tests.
This commit is contained in:
Paul Beckingham 2011-06-12 09:17:50 -04:00
parent 94fa671522
commit c8d9a2a268
8 changed files with 462 additions and 157 deletions

View file

@ -299,6 +299,16 @@ among users that are not comfortable with regular expressions.
.B xterm.title=no
Sets the xterm window title when reports are run. Defaults to off.
.TP
.B patterns=on
Enables or disables pattern support on the command line, such as /foo/.
Defaults to on.
.TP
.B expressions=on
Enables or disables algebraic expression support on the command line, such as
"due<eom and (pri=H or pri=M)". Defaults to on.
.TP
.B _forcecolor=no
Taskwarrior shuts off color automatically when the output is not sent directly