Commit graph

955 commits

Author SHA1 Message Date
Paul Beckingham
d1fe1279ed Command: Code cleanup, added ::category accessor
- The Command object failed to initialize all member on construction and
  initialized them out of order (is this still a thing in C++11?).
- The _category was the only member with no accessor, which is not right.
2015-09-06 14:07:21 -04:00
Paul Beckingham
77b17379d6 CmdAdd/Log: No longer obey context
Context is good for filtering, terrible for commands that do not take filters.
2015-09-06 14:05:58 -04:00
Paul Beckingham
9db03a317b CmdAliases: Code formatting 2015-09-06 14:05:45 -04:00
Paul Beckingham
9bb2e4f8f5 CmdVersion: Removed redundant arg checks 2015-09-06 02:15:49 -04:00
Paul Beckingham
3b18ca4f50 CmdUDAs: Remvoed redundant arg checks 2015-09-06 02:14:36 -04:00
Paul Beckingham
4183667efd CmdReports: Removed redundant arg checks 2015-09-06 02:12:16 -04:00
Paul Beckingham
d55b5907cd CmdLogo: Removed redundant arg checks 2015-09-06 02:11:15 -04:00
Paul Beckingham
5cd79d08b3 CmdHelp: Removed redundant arg checks 2015-09-06 02:10:05 -04:00
Paul Beckingham
58ec954d11 CmdExport: Removed redundant arg checks 2015-09-06 02:08:36 -04:00
Paul Beckingham
ea1ce4fad5 CmdEdit: Removed redundant arg checks 2015-09-06 02:06:37 -04:00
Paul Beckingham
283f9bb2bc CmdDiagnostics: Removed redundant arg checks 2015-09-06 02:01:33 -04:00
Paul Beckingham
a7fd5de5c3 CmdUndo: Removed redundant arg checks 2015-09-06 01:58:49 -04:00
Tomas Babej
e0a808a6ba commands: Colorize only if color=on is set
Commands 'columns', 'commands' and 'custom' would output color
escape sequences desipte color=off being set.
2015-09-05 20:18:58 -04:00
Paul Beckingham
44afdb89e3 CmdImport: Tyo 2015-09-05 18:27:36 -04:00
Tomas Babej
6c7aecc2a6 CmdImport: Neglect attributes with dynamic default values
If not explicitly stated on import, values with default dynamic
values (such as modified, entry or end) can produce a false
notion of incoming 'modified' data, where the only difference
between the data in the database and data being imported is
that the dynamic defaults differ, since they have been
generated at different times.

Solve the issue by neglecting the attributes with dynamic defaults,
if they have been generated.
2015-09-05 18:25:12 -04:00
Tomas Babej
4042cbf964 feedback: Replace taskDiff method by Task inequality operator 2015-09-05 17:19:18 -04:00
Paul Beckingham
98991c1c1a Command: Defaulted ::_uses_context to false, which is predominant setting
- It's actually not yet predominant, but it looks like it will be. Since the
  introduction of the context feature, subsequent changes have been made to
  restrict it's influence. It appears that ultimately ゐt will only affect
  reports, but currently enjoys a broader scope.
2015-09-05 15:27:04 -04:00
Paul Beckingham
28d0c534b1 CmdContext: Added 'const' for method args that are const 2015-09-05 14:39:52 -04:00
Tomas Babej
56aad60a41 CmdShow: Update the list of supported config values 2015-09-04 08:15:53 -04:00
Tomas Babej
6b83945a21 Urgency: Replace 'next' coefficient with configuration entry 2015-09-04 08:10:36 -04:00
Paul Beckingham
288bd81d8f CmdShow: Added 'rule.color.merge' as a valid configuration setting 2015-09-04 07:58:36 -04:00
Paul Beckingham
4008a64fdd Virtual Tags: New 'PROJECT', 'PRIORITY' and 'LATEST' virtual tags
- Added documentation.
2015-08-31 16:54:18 -04:00
Paul Beckingham
ada6c24789 Virtual Tag: Undocumented, experimental support for 'LATEST' 2015-08-31 12:59:44 -04:00
Paul Beckingham
28d872dd31 CmdCommands: Added command description column
- Shrunk the default widths of all the columns, for better spacing.
2015-08-29 12:32:17 -04:00
Paul Beckingham
70b252f280 CmdColumns: Added 'type' 2015-08-28 09:18:36 -04:00
Paul Beckingham
6c643d66dd CmdCustom: 'rc.report.<report>.sort:none' now retains UUID order only 2015-08-28 07:36:04 -04:00
Paul Beckingham
f850e0946b CmdUnique: Converted to use CLI2::getWords 2015-08-22 11:02:35 -04:00
Paul Beckingham
23318103ed CmdCustom: Special case sequence override 2015-08-17 19:14:58 -04:00
Paul Beckingham
d285f3a247 CmdSummary: Corrected duration formatting 2015-08-15 23:50:55 -04:00
Paul Beckingham
598a2e02fa CmdStats: Restored sane formats for durations 2015-08-15 10:06:55 -04:00
Paul Beckingham
ffcc574c85 TW-1653: info report regression; shouldn't be context sensitive
- Thanks to David Patrick, Tomas Babej.
2015-08-12 21:39:04 -04:00
Paul Beckingham
995de68c90 ISO8601: Converted various calls of ::format to ::formatVague 2015-08-12 21:35:09 -04:00
Paul Beckingham
15e0fa5286 CmdBurndown: Duration replaced by ISO8601p 2015-08-12 11:29:13 -04:00
Paul Beckingham
6933ce137f CmdInfo: Duration replaced by ISO8601p 2015-08-12 10:23:50 -04:00
Paul Beckingham
830b3e9562 CmdEdit: Duration replaced by ISO8601p 2015-08-12 10:17:58 -04:00
Paul Beckingham
f17187a4b6 CmdSummary: Duration replaced by ISO8601p 2015-08-12 08:22:23 -04:00
Paul Beckingham
a4371752c1 CmdStats: Duration replaced by ISO8601p 2015-08-12 08:02:15 -04:00
Paul Beckingham
9cd10a5c1e Legacy: Code cleanup
- Removed legacyCheckForDeprecatedColor.
2015-08-09 13:30:22 -04:00
Paul Beckingham
4529bcf24a Import: UUID attribute is now validated 2015-08-09 10:20:25 -04:00
Paul Beckingham
6f294e2968 Debug: rc.sugar enables ID/UUID snytactic sugar
- This is not documented.  It is not for users.
2015-08-07 11:35:27 -04:00
Tomas Babej
1dbca67bb4 CmdIDs: Replace comma with space as a separator 2015-08-06 20:38:26 -04:00
Tomas Babej
7ba98ea241 CmdLog: Display the UUID of the logged task 2015-08-06 18:58:05 -04:00
Paul Beckingham
889e36116c Feedback: Improved feedback for tasks that do not have ID
- Thanks to Tomas Babej.
2015-08-06 18:56:07 -04:00
Tomas Babej
85990351e3 CmdAdd: Display UUID instead of ID 0 for completed tasks 2015-08-06 18:55:06 -04:00
Paul Beckingham
9cc9567cf4 CmdDiag: Added "diag" command details regarding file sizes 2015-08-06 18:38:18 -04:00
Paul Beckingham
78170e0fd4 Signal: Removed useless attempt to trap SIGKILL 2015-08-04 22:31:01 -04:00
Paul Beckingham
37bd07883b DOM: Clarified _get behavior
- It is an error to provide no DOM references (task _get).
- It is an error to provide bad DOM references (task _get donkey). In this
  example, 'donkey' could be a UDA orphan.
- It is not an error for a valid DOM reference to yield no value.
2015-08-03 09:05:17 -04:00
Paul Beckingham
a604e14ea9 Context: GC now only called when the commands request it 2015-08-02 15:54:24 -04:00
Paul Beckingham
758df84539 Context: Now obeys command DNA
- Applying a context filter is now performed only when a command requests it.
2015-08-02 10:08:04 -04:00
Paul Beckingham
bf80c7d514 Cmd*: Added command DNA, which will ѕoon drive functionality 2015-08-01 15:56:04 -04:00