Commit graph

1126 commits

Author SHA1 Message Date
Paul Beckingham
a0a302822b CmdBurndown: Migrated from Date to ISO8601d 2015-10-03 18:05:24 -04:00
Paul Beckingham
ec073c5dae CmdInfo: Migrated from Date to ISO8601d 2015-10-03 15:22:22 -04:00
Tomas Babej
4fe23fcfcd context: Do not use context for reports not meant for direct human consumption 2015-10-03 10:59:55 -04:00
Tomas Babej
97dbb0cfe4 CmdModify: Do not use filter context 2015-10-03 10:59:42 -04:00
Paul Beckingham
fff27ffabe CmdExport: Measures JSON composition time under context.timer_render 2015-10-03 08:56:05 -04:00
Paul Beckingham
4f156c407c Recur: Migrated recurrence from Date to ISO8601d
- Changed signature of recur functions, which needed a main.h change, which led
  to removing '#include <Date.h>' from main.h, which necessitated adding the
  sam include to various other source files.  Temporarily.
- Added 'ISO8601d ISO8601d::operator+ (time_t)', because of differences from the
  original Date object.
2015-09-30 09:52:09 -04:00
Paul Beckingham
244a80f799 ISO8601: Migrated more Date instances to ISO8601d 2015-09-26 23:20:08 -04:00
Paul Beckingham
68c6afbdd4 ISO8601d: Conversion from Date to ISO8601d 2015-09-26 23:08:29 -04:00
Paul Beckingham
18804a743c CmdCalendar: Converted from Date::daysInMonth to ISO8601d::daysInMonth 2015-09-26 14:09:51 -04:00
Paul Beckingham
86df438579 CmdBurndown: Converted from Date::daysInMonth to ISO8601d::daysInMonth 2015-09-26 14:08:50 -04:00
Paul Beckingham
5eb9948235 CmdExport: Measures JSON composition time under context.timer_render 2015-09-26 12:20:14 -04:00
Paul Beckingham
bb53ae17ae ISO8601p: Renamed ::_value to ::_period 2015-09-26 12:17:57 -04:00
Tomas Babej
d006a2820b CmdExport: Do not use context
Per the design of the context feature, 'task export' is not
supposed to leverage context. This is a regression from 2.4.4.
2015-09-22 06:45:04 -04:00
Tomas Babej
45dea75faa CmdEdit: Do not allow concurrent edits 2015-09-16 20:24:13 -04:00
Paul Beckingham
f42de556fa CmdUnique: Changed from std::to_string to ::format
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
2015-09-12 09:52:09 -04:00
Paul Beckingham
75aa4008e1 CmdUnique: Missing header 2015-09-12 09:40:48 -04:00
Tomas Babej
2d0ac20720 CmdUnique: Special-case 'id' attribute 2015-09-12 09:25:01 -04:00
Paul Beckingham
c59afe34c4 TW-1656: Implicitly parenthesize argv filter
- Thanks to Daniel Shahaf.
2015-09-12 08:57:38 -04:00
Paul Beckingham
f55afe33d7 Color: Removed FEATURE_COLOR conditional compile
- No need any more.
2015-09-10 22:17:25 -04:00
Tomas Babej
023cc3c383 CmdEdit: Do not bump annotation timestamps without need 2015-09-06 21:54:20 -04:00
Paul Beckingham
c256096118 CmdDenotate: Migrated to use new MISCELLANEOUS args 2015-09-06 15:19:34 -04:00
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