Commit graph

5733 commits

Author SHA1 Message Date
Federico Hernandez
1cb1ceae08 Bumping version number to beta2 2014-10-11 22:10:18 +02:00
Paul Beckingham
9325098b5c Unit Tests
- Commented out the bare word tests. Bare word searching is deprecated and these
  failures are the reason why. Retaining the tests for possible later rescue.
- Modified remaining tests because there is a difference in adding 'foo-' and
  searching for 'foo\\-'.
2014-10-11 11:29:23 -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
Renato Alves
53fd37cae2 Unittest - Also propagate the correct exit code 2014-10-10 16:42:41 +01:00
Renato Alves
40a95e1196 Unittest - Fix case where exit code was incorrectly registered 2014-10-10 16:19:39 +01:00
Paul Beckingham
cabc099def Portability
- Missing include.
2014-10-10 10:07:43 -04:00
Renato Alves
a7e2dfcbcc Unittest - Include additional test cases mentioned in the bugtracker 2014-10-10 12:13:20 +01:00
Paul Beckingham
94e243d8d0 Hooks
- Added 'read -t 1' as an example for the on-exit sample hook.
2014-10-09 19:05:24 -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
Renato Alves
dffd4c0477 Unittest - Remove redundant checks
self.t == self.runSuccess -> fails if exit code is != 0
2014-10-09 13:17:12 +01:00
Renato Alves
27f21d375b Unittest - Clarify documentation of runSuccess/runError 2014-10-09 13:16:47 +01:00
Renato Alves
72823a453f Unittest - Helpers to manage hook scripts during tests 2014-10-08 20:29:56 +01:00
Paul Beckingham
0a234ec2ba Documentation
- Noted the deprecated status of 'limit:N'.
2014-10-07 23:23:48 -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
108a4c7959 Documentation
- Added rc.debug.parser.
2014-10-06 23:27:53 -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
d2ca1c498c Documentation
- Added not about debug value propagation.
2014-10-06 23:13:23 -04:00
Paul Beckingham
8ca096689c Util
- Minor formatting.
2014-10-06 23:10:19 -04:00
Paul Beckingham
0075dbe429 Documentation
- Removed 'extensions' mention, and improved 'debug.tls' section.
2014-10-06 23:06:29 -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
Paul Beckingham
015575295c Unit Tests
- Corrected test description in for 1110.
2014-10-04 18:25:55 -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
ffc456be88 Hooks
- Cleaned up on-add.the example hook; now works with huge input without falling over.
2014-10-02 14:50:52 -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
47cfe515e6 Unit Tests
- Fixed cal.t test that fails when EOY is within 3 months.
2014-10-01 18:30:36 -04:00
Paul Beckingham
d2d270f486 Documentation
- Added note in the NEWS file about deprecated future features.
- Updated ChangeLog with 'taskd.trust' change.
2014-09-28 18:00:58 -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
61bed34a19 Performance
- Generalized the perf scripts a little, to make it easier to test old versions.
2014-09-27 16:10:50 -04:00
Paul Beckingham
d44c8c5147 Config
- Removed redundant sorting for the 'list' report.
2014-09-27 15:26:07 -04:00