Paul Beckingham
03d564dd78
Revert "CmdStats: Converted from strtol to std::stoul"
...
This reverts commit 2b8ce968fc
.
2015-11-02 18:38:59 -05:00
Paul Beckingham
49ad7c2ce2
Revert "CmdSummary: Converted from strtol to std::stoul"
...
This reverts commit 0d88df1c18
.
2015-11-02 18:38:44 -05:00
Paul Beckingham
de43e34c5e
Revert "CmdTimesheet: Converted from strtol to std::stoi"
...
This reverts commit 02f1fa371c
.
2015-11-02 18:38:31 -05:00
Paul Beckingham
02f1fa371c
CmdTimesheet: Converted from strtol to std::stoi
2015-11-01 22:08:24 -05:00
Paul Beckingham
0d88df1c18
CmdSummary: Converted from strtol to std::stoul
2015-11-01 22:07:46 -05:00
Paul Beckingham
2b8ce968fc
CmdStats: Converted from strtol to std::stoul
2015-11-01 22:06:28 -05:00
Paul Beckingham
037514bcbf
CmdInfo: Converted from strtol to std::stoul
2015-11-01 22:05:46 -05:00
Paul Beckingham
3745f83a7b
CmdCalendar: Converted from strtol to std::stoul/stoi
2015-11-01 22:05:11 -05:00
Paul Beckingham
cf831a9b7c
CmdEdit: Converted from strtol to std::stoi/stoul
2015-11-01 22:00:44 -05:00
Paul Beckingham
5d9ca9864e
Cmd*: Moved include to top of list, per flint++ recommendation
2015-11-01 19:53:19 -05:00
Paul Beckingham
25b7f42810
CmdExport: Simplified looping with 'auto'
2015-11-01 13:50:45 -05:00
Tomas Babej
98973a9390
CmdContext: Handle errors in a consistent way
2015-10-30 16:33:16 -04:00
Paul Beckingham
182b5427cd
Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer
2015-10-30 11:17:23 -04:00
Paul Beckingham
51def4b12b
Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
2015-10-30 10:57:14 -04:00
Paul Beckingham
112621ef13
CmdIDs: _zshuuids no longer obeys context
2015-10-30 00:51:37 -04:00
Paul Beckingham
4d9ac995fe
CmdUrgency: _urgency no longer obeys context
2015-10-30 00:50:49 -04:00
Tomas Babej
de8c7d230f
CmdDiagnostics: Add broken reference detection
2015-10-29 20:52:00 -04:00
Tomas Babej
0693f3cfc4
CmdDiagnostics: Remove redundant nesting
2015-10-29 20:51:57 -04:00
Tomas Babej
2d25cf6f59
TW-1704: Task: Use Task::identifier to reference the task
...
To achieve consistent output, use a helper method to generate a proper
handle - ID for tasks with non-zero ID, UUID otherwise.
2015-10-29 20:00:53 -04:00
Paul Beckingham
1236abc7d5
CmdColumns: Now shows whether a column is modifiable or read only
2015-10-29 14:14:07 -04:00
Paul Beckingham
7d58ddff6b
CmdSummary: Removed unreachable code
2015-10-28 18:41:55 -04:00
Paul Beckingham
778ba44beb
CmdImport: Removed redundant filter processing
2015-10-28 18:21:59 -04:00
Paul Beckingham
958637e2ca
CmdBurndown: Removed unreachable code (completed/deleted tasks have no 'start' date)
2015-10-28 17:06:47 -04:00
Paul Beckingham
a82558064b
Cleanup: Prep for '-Wextra'
2015-10-16 16:27:05 -04:00
Paul Beckingham
79886e03ce
Merge branch 'isodate' into 2.5.0
2015-10-07 07:40:28 -04:00
Paul Beckingham
26fbca7896
CmdCalendar: Migrated from Date to ISO8601d
2015-10-03 19:31:58 -04:00
Paul Beckingham
b085006d1a
CmdTimesheet: Migrated from Date to ISO8601d
2015-10-03 19:27:42 -04:00
Paul Beckingham
4002778a36
CmdStats: Migrated from Date to ISO8601d
2015-10-03 19:23:01 -04:00
Paul Beckingham
69c8125ea7
CmdHistory: Migrated from Date to ISO8601d
2015-10-03 19:22:51 -04:00
Paul Beckingham
aa3304798b
CmdEdit: Migrated from Date to ISO8601d
2015-10-03 19:22:42 -04:00
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