Commit graph

3464 commits

Author SHA1 Message Date
Paul Beckingham
fb48177e90 Dates
- Eliminated redundant implementations of daysInMonth().
2014-07-05 13:02:01 -04:00
Paul Beckingham
8861193999 Date
- Simplified ::daysInMonth.
2014-07-05 12:53:31 -04:00
Paul Beckingham
4a931868c1 Date
- Removed unused list of obsolete relative dates.
2014-07-05 12:03:29 -04:00
Paul Beckingham
79fd38d3a8 L10N
- Removed oddly broken strings.
2014-07-05 11:46:01 -04:00
Paul Beckingham
57e63dfeb2 L10N
- Localized Dates.
2014-07-05 11:39:22 -04:00
Paul Beckingham
4996576d64 Dates
- Removed unused constants.
2014-07-05 11:30:04 -04:00
Paul Beckingham
ffd9a96ae6 Code Cleanup
- Removed unused strings.
2014-07-05 11:22:03 -04:00
Paul Beckingham
3716e61259 L10N
- Localized Lexer.
2014-07-05 11:11:19 -04:00
Paul Beckingham
beb2ee4d66 L10N
- Localized Variant.
2014-07-05 10:45:40 -04:00
Paul Beckingham
5da1d4471e Code Cleanup
- Marked legacy items, formatting cleanup.
2014-07-05 09:39:26 -04:00
Paul Beckingham
4dd57a01bb ISO8601
- Removed debugging code.
2014-07-05 09:38:52 -04:00
Paul Beckingham
378799e27d L10N
- Localized Parser.
2014-07-04 18:03:25 -04:00
Paul Beckingham
70156d3c3d L10N
- Localized Eval.
2014-07-04 17:40:11 -04:00
Paul Beckingham
222c357c0a TW-257
- TW-257 limit: not working properly (thanks to Aikido Guy).
2014-07-04 11:26:49 -04:00
Paul Beckingham
7ac533a82d CmdCustom
- Removed unused local ::getLimits method, in favor of Context::getLimits.
2014-07-04 11:11:15 -04:00
Paul Beckingham
0cd56932a5 Context
- Added ::getLimits, copied from CmdCustom, for more general use.
2014-07-04 11:03:23 -04:00
Paul Beckingham
fa58c24c66 Deprecation
- Removed deprecated 'report.X.limit' feature.
2014-07-04 11:02:10 -04:00
Paul Beckingham
0f38f1decd Verbosity
- Made 'new-id' and 'new-uuid' mutually exclusive.
2014-07-04 10:41:49 -04:00
Paul Beckingham
1ac7dc0d5d TW-1360
- TW-1360 color.until directive missing.
2014-07-04 10:00:26 -04:00
Paul Beckingham
b60a4aff22 TW-294
- TW-294 Display UUID of task created by add (thanks to John West).
2014-07-04 09:24:55 -04:00
Paul Beckingham
c65b30fbba Parser
- Implemented ::resolveAliases to expand them.
2014-07-03 22:40:43 -04:00
Paul Beckingham
4a063843b1 Parser
- Only lex arguments into sub-branches if there is more than one lexeme per
  argument.  Of course, you have to do the lex first, otherwise you don't
  know.
2014-07-03 22:39:27 -04:00
Paul Beckingham
531e490e44 Context
- Properly extract alias 'from' from the configuration variable name.
2014-07-03 22:34:05 -04:00
Paul Beckingham
a91d6227f8 Alias
- Removed last traces of Alias object.
2014-07-03 20:47:28 -04:00
Paul Beckingham
bc24d107d5 Context
- Stuffs parser with alias definitions, from Context::loadAliases.  This keeps
  the configuration settings apart from the Parser implementation.
2014-07-03 19:09:24 -04:00
Paul Beckingham
08b0d573e8 Parser
- Stubbed ::resolveAliases.
2014-07-03 19:07:29 -04:00
Paul Beckingham
29604d0626 Context
- Stubbed a ::loadAliases method to stuff the Parser with alias defs.
2014-07-03 19:06:05 -04:00
Paul Beckingham
5b9413b02c Alias
- Removal of alias load/resolve code, which (1) needs a rewrite, and (2) belongs
  in the Parser.
2014-07-03 19:04:48 -04:00
Paul Beckingham
6145869f43 Parser
- Added alias collection methods.
2014-07-03 18:49:32 -04:00
Paul Beckingham
468da9dcde Parser
- Sets proper ambiguity required during Parser::initialize.
2014-07-03 18:17:35 -04:00
Paul Beckingham
a04df10d11 TW-1267
- TW-1267 If default.project is defined it's not possible to add a task without
          a project (thanks to Renato Alves).
2014-07-03 17:41:39 -04:00
Paul Beckingham
58c46bc292 Task
- Now that ::composeF4 guarantees not to write out attributes with blank values,
  we can use blank values to indicate that blanks were specified on the command
  line, and avoid apllication of defaults.
2014-07-03 17:13:26 -04:00
Paul Beckingham
c5dacd7d78 Legacy
- Addded 'm' to the list of legacy duration formats, for mapping into 'months'.
2014-07-03 16:42:51 -04:00
Paul Beckingham
9778100d29 Lexer
- When parsing two-character operators ('or') from a string ('ordinary'), the
  lack of boundary between the 'r' and the 'd' now prevents the operator 'or'
  from being recognized.
2014-07-03 16:26:17 -04:00
Paul Beckingham
a3cfc2de7f Filter
- The 'ambiguity' control for Eval was being set *after* the expression was
  parsed, which was useless and misleading.
2014-07-03 15:27:00 -04:00
Paul Beckingham
b7c2fd0d9c Legacy
- Now maps unsupported duration values to supported values.
2014-07-03 13:38:18 -04:00
Paul Beckingham
e5834c8a4f TW-1306
- TW-1306 Arguments before 'add' are ignored.
2014-07-03 10:50:25 -04:00
Paul Beckingham
d6e734b57d TW-128
- TW-128 new helper command; _envs. Actually no, not a new command, but the
  $TASKRC and $TASKDATA environment variables are now show in the 'diag'
  command output.
2014-07-02 00:17:51 -04:00
Paul Beckingham
5413d3172b TW-230, TW-1329
- TW-230 Filter tasks on partial UUIDs (thanks to Paul Kishimoto).
- TW-1329 Short UUIDs (thanks to Benjamin Weber).
2014-07-01 23:56:53 -04:00
Paul Beckingham
d850510375 TW-1366
- TW-1366 In diagnostics it's called 'Cert', and in config it's called
  'certificate' (thanks to Jack).
2014-07-01 20:58:15 -04:00
Paul Beckingham
e7c8c0ca2a L10N
- Localized backlog/sync feedback string.
2014-07-01 20:25:33 -04:00
Paul Beckingham
82e14c30bc TW-1341
- TW-1341 confirmation config setting should apply to config command as well
  (thanks to Charles Ulrich).
2014-07-01 20:10:45 -04:00
Paul Beckingham
f2a545bc25 Hooks
- First pass at a portable 'popen' implementation.  Thanks to Wim.
2014-07-01 20:02:27 -04:00
Paul Beckingham
5170a842d6 Duration
- Distinguishes between a 'standalone' duration like 'year', and one that
  requires a numeric leader, '2 weeks'.
2014-07-01 17:22:20 -04:00
Leo
9095f47ff3 L10N
- The latest translation update from leowzukw.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-01 07:12:28 -04:00
Paul Beckingham
91670e9cb5 Dates
- Named dates now store the raw form as the source, to assist parsing.
2014-06-29 22:18:43 -04:00
Paul Beckingham
0c0e36993d Date
- Added a new date parse method that indicates the length of the parsed item,
  and does not require Nibbler::depletion.
2014-06-29 22:16:44 -04:00
Leo
fe02466100 French (fra-FRA) Localization
- The latest translation update from leowzukw.
2014-06-29 12:32:30 -04:00
Paul Beckingham
be6ec99fcb Lexer
- Shut off the depletion requiremeent for lexed dates.
2014-06-29 11:36:51 -04:00
Paul Beckingham
3d10dee67d Date
- Formatting for readability.
2014-06-29 11:12:08 -04:00