Commit graph

4347 commits

Author SHA1 Message Date
Paul Beckingham
4d921c7920 CLI
- Implemented ::canonicalize.
2014-10-14 00:45:53 -04:00
Paul Beckingham
227e0bd8c8 CLI
- Implemented ::exactMatch.
2014-10-14 00:45:04 -04:00
Paul Beckingham
b0cf4adc4e CLI
- Stubbed methods for further parsing.
2014-10-14 00:43:50 -04:00
Paul Beckingham
1639e6bb68 CLI
- Stubbed ::aliasExpansion.
- Fixed variable types.
- Added ::dump calls.
2014-10-14 00:09:47 -04:00
Paul Beckingham
9a2bcbed3e CLI
- Added ::dump for diagnostics.
2014-10-14 00:08:55 -04:00
Paul Beckingham
f4183fd6b1 Context
- Added CLI rc: and rc. override extraction.
2014-10-13 23:54:16 -04:00
Paul Beckingham
226c143922 CLI
- Override detection and extraction.
2014-10-13 23:52:50 -04:00
Paul Beckingham
c73e864cdd Context
- CLI is initialized with command line args.
2014-10-13 23:24:08 -04:00
Paul Beckingham
64d4d659ef CLI
- ::initialize captures all args.
2014-10-13 23:23:45 -04:00
Paul Beckingham
df54b8ee43 Context
- Integrated new CLI object.
- Provided aliases and entities to CLI.
2014-10-13 23:18:14 -04:00
Paul Beckingham
3b0606922f CMake
- Added new CLI class.
2014-10-13 23:17:20 -04:00
Paul Beckingham
8bb17fb2e8 CLI
- CLI is a streamlined version of Parser, now that wisdom is upon us.
2014-10-13 23:11:46 -04:00
Paul Beckingham
8905dd1c32 Eval
- The operator classifier failed to include '!=='.
2014-10-13 21:39:51 -04:00
Paul Beckingham
0183c8a231 TW-1420, TW-1421, TW-1422
- TW-1420 Modifying 'uuid' fails to generate error (thanks to Black Ops Testing).
- TW-1421 Modifying 'uuid' with bogus value can corrupt undo.data (thanks to
          Black Ops Testing).
- TW-1422 Attempt to modify 'id' attribute creates an id attribute (thanks to
          Black Ops Testing).
2014-10-13 00:18:01 -04:00
Paul Beckingham
ca14657f0c TW-1428
- Minor tweaks.
2014-10-12 23:48:55 -04:00
Johannes Schlatow
2c7013cc1c Color
- Supports 'color.uda.<name>.<value>' (TW-1428)
2014-10-12 23:44:43 -04:00
Paul Beckingham
630d0f209e Parser
- Code cleanup.
2014-10-11 11:25:23 -04:00
Paul Beckingham
0e0c4fa578 Parser
- Code cleanup.
2014-10-11 11:24:56 -04:00
Paul Beckingham
03a3b41254 Parser
- Locates mis-parsed SUBSTITUTIONS in FILTER, and downgrades to PATTERN.
2014-10-11 11:24:07 -04:00
Paul Beckingham
963e79696b TW-1354
- Tweaks.
2014-10-10 16:27:55 -04:00
Johannes Schlatow
a88a062d3d Urgency
- Supports 'urgency.uda.<name>.<value>.coefficient' (TW-1354)
2014-10-10 16:21:36 -04:00
Paul Beckingham
cabc099def Portability
- Missing include.
2014-10-10 10:07:43 -04:00
Paul Beckingham
39469a1917 Color
- Supports 'color.label.sort' for column labels of sort columns.
2014-10-09 19:04:59 -04:00
Paul Beckingham
aac0753b07 ViewTask
- Supports the notion of different colors for sorted columns.
2014-10-09 18:55:39 -04:00
Paul Beckingham
489750c80a Errors
- Added error handling for std::bad_alloc.
2014-10-09 18:09:38 -04:00
Paul Beckingham
9b7fa8b7ec Parser
- No point checking return value of 'new' operator, because it throws.
2014-10-07 23:12:03 -04:00
Paul Beckingham
4513248360 Task
- Upgrades UDA values of type 'duration' to supported values.
2014-10-07 22:49:46 -04:00
Paul Beckingham
b972c2c6c8 Task
- Improved structure of legacy duration value upgrades, so it can be used for
  other things, namely UDA durations.
2014-10-07 22:38:44 -04:00
Paul Beckingham
1a5fb437a5 Task
- Upgrades legacy recur values.
2014-10-07 00:24:03 -04:00
Paul Beckingham
f0e4f3f4dc Parser
- Modified to obey rc.debug.parser.
2014-10-06 23:26:53 -04:00
Paul Beckingham
fa011c5bfb Filter
- Modified diagnostics to observe rc.debug.parser.
2014-10-06 23:25:31 -04:00
Paul Beckingham
8eb773b263 Context
- Corrected comment.
2014-10-06 23:24:28 -04:00
Paul Beckingham
8ca096689c Util
- Minor formatting.
2014-10-06 23:10:19 -04:00
Paul Beckingham
02c3925ec6 Config
- Removed obsolete (or rather, unused) 'extensions' variable.
2014-10-06 23:05:53 -04:00
Paul Beckingham
7521dc56e8 Hooks
- Supports 'debug.hooks' configuration setting.
2014-10-06 23:04:44 -04:00
Paul Beckingham
b34fd64a9c Parser
- Updated comments.
2014-10-05 11:45:08 -04:00
Paul Beckingham
fa22cff5be Context
- rc.debug.hooks and rc.debug.parser are now valid settings.  They are
  not yet obeyed.
2014-10-04 19:20:38 -04:00
Paul Beckingham
a71d4f1596 Context
- Setting rc.debug implicitly sets debug.tls, debug.parser and debug.hooks.
2014-10-04 19:12:23 -04:00
Paul Beckingham
c360923909 Config
- Added a :has method to detect settings that have no default value.
2014-10-04 19:10:59 -04:00
Wilhelm Schuermann
d5648b511c Util
- Added includes to make FreeBSD happy.
- Added more error handling.
2014-10-03 14:15:11 -04:00
Wilhelm Schuermann
1fa4c8ff7b Util
- Reimplemented execute(), this time (hopefully) deadlock-proof.
- Added error handling.
2014-10-02 14:50:47 -04:00
Paul Beckingham
e59a48080c Variant
- ::operator_partial was not treating the status field as a special caseless
  compare, like operator== does.
2014-10-01 18:58:28 -04:00
Paul Beckingham
5c485f6c53 Parser
- Modified ':' to perform partial matches, which means dates now match
  on same day.
2014-10-01 18:31:50 -04:00
Paul Beckingham
fe46dadeee TLS
- When an invalid value for 'taskd.trust' is noticed, the 'sync' command will
  error out, and the 'diag' command will refer the user to the man page.
  This is because the allowed values were 'yes'/'no', and now are
  'strict'/'ignore hostname'/'allow all'.
2014-09-28 17:42:14 -04:00
Paul Beckingham
dcc5dbf16a Variant
- The ::operator_match (and by extension operator_nomatch) now obey the rc.regex
  setting.
2014-09-28 13:39:50 -04:00
Paul Beckingham
9e0ea1cb4a Eval
- Better error message for malformed expressions, ie when a binary operator
  expects two values, and sees less then two or when a unary operator sees
  less than one.
2014-09-27 17:08:26 -04:00
Paul Beckingham
071cf55c00 Unit Tests
- Added a default 'hooks=off' to the basetest class, after it was discovered
  that the scan for runnable hooks takes non-trivial time.
2014-09-27 16:49:06 -04:00
Paul Beckingham
d44c8c5147 Config
- Removed redundant sorting for the 'list' report.
2014-09-27 15:26:07 -04:00
Paul Beckingham
b4eed6333a Diagnostics
- Included C++ compiler compliance level. If 'diag' output is then included in
  the test suite, we can monitor compliance across platforms, and decide when
  to use new features.
2014-09-27 11:51:17 -04:00
Paul Beckingham
69d4e0392b CmdCustom
- Removed a vector of column labels that is simply not used.
2014-09-20 14:12:39 -04:00