Simon Ruderich
2271bd9eea
Use https:// link for opensource.org
2018-03-16 23:11:08 +01:00
Paul Beckingham
7cc8618c80
Rules: Added support for the platform-dependent behavior of strtoimax
2017-04-08 13:38:11 -04:00
Paul Beckingham
2dd14c0b4c
Cleanup: Greater use of const
2017-02-25 15:20:18 -05:00
Paul Beckingham
848c6e33fc
CmdChart: Default value handling
...
- Added default value ('15') for 'rules.<type>.cell'.
- Corrected EINVAL and ERANGE handling inside Rule::getInteger.
- Made the error message for the above more specific.
- Added the '> 0' constraint to the man page.
2017-02-25 13:00:20 -05:00
Paul Beckingham
887e419ed4
Rules: Corrected errno values
2016-11-05 11:42:40 -04:00
Paul Beckingham
2eeb374aba
Rules: Added conversion failure detection
2016-11-05 11:35:13 -04:00
Jelle van der Waa
c33a3a9d9a
Add defaultValue argument to Rules::getInteger
...
The defaultValue can be used for callers who do not want 0 to be
returned when conversion fails since strtoimax returns 0 when the
conversion fails.
2016-11-05 11:29:52 -04:00
Paul Beckingham
4c0a212c3c
Rules: Added minimal theme colors
2016-08-08 22:56:27 -04:00
Paul Beckingham
935145eb9b
Rules: Typo
2016-08-05 17:41:09 -04:00
Paul Beckingham
082eca0679
CmdChart: Renamed 'reports.<type>.style=compact' to 'reports.<type>.axis=internal'
2016-07-17 10:42:09 -04:00
Paul Beckingham
254d95cc41
Rules: Added defaults for chart cell size
2016-06-30 17:15:49 -04:00
Paul Beckingham
193644cd88
Rules: Added default holiday display for the summary report
2016-05-30 10:14:00 -04:00
Paul Beckingham
6688e98c1a
CmdChart: Renamed rc.reports.<type>.24h to rc.reports.<type>.hours with 'all' or 'auto' as values
2016-05-29 15:44:52 -04:00
Paul Beckingham
b2a8a0abfb
Rules: Added defaults for showing holidays on charts
2016-05-29 14:38:55 -04:00
Paul Beckingham
6b2b7b19e3
CmdGaps: Now supports report.gaps.range setting
2016-05-28 14:34:47 -04:00
Paul Beckingham
5593621198
Rules: day report no longer shows totals
2016-05-21 16:31:38 -05:00
Paul Beckingham
ffeb1d774c
Rules: Added more report defaults
2016-05-21 15:45:33 -05:00
Paul Beckingham
2ccafd0765
Rules: Added more report configuration defaults
2016-05-20 15:27:47 -05:00
Paul Beckingham
9b5774a725
Rules: Added report configuration defaults
2016-05-20 12:06:35 -05:00
Paul Beckingham
bd5121e2c8
Rules: Fixed bug where all values were tokenized, thereby introducing spaces
2016-05-10 19:54:27 -04:00
Paul Beckingham
d7ad32b6d3
Rules: Removed unused method
2016-05-10 19:51:54 -04:00
Paul Beckingham
b441f0c020
Rules: Simplified rule parsing
2016-05-05 19:47:53 -04:00
Paul Beckingham
35330b3f09
Rules: Added ::isRuleType
2016-05-05 19:36:55 -04:00
Paul Beckingham
28b78f94f5
CmdReport: Renamed 'version' to 'temp.version' to reflect that it's added automatically
2016-05-02 17:16:18 -04:00
Paul Beckingham
dca99349d9
Rules: Allows 'define report x:' to grouping settings
2016-04-29 18:21:14 -04:00
Paul Beckingham
49715320ef
Cleanup: Replaced "\n" with '\n'
2016-04-23 13:30:54 -04:00
Paul Beckingham
bef3bfbb27
Rules: Sets up defaults in ctor
2016-04-06 00:17:45 -04:00
Paul Beckingham
a4d767fdcf
Rules: Flipped !quiet --> verbose
2016-04-06 00:06:24 -04:00
Paul Beckingham
6988e81319
Rules: Added default values (off) for 'debug' and 'quiet'
2016-04-05 22:57:40 -04:00
Paul Beckingham
2a47f769cd
Cleanup: Removed 'const auto', which is implied by the container
2016-04-05 22:55:18 -04:00
Paul Beckingham
3cf09863d4
Rules: Added default 'version' setting
2016-03-28 22:55:31 -04:00
Paul Beckingham
fa1863d032
Rules: Removed useless debugging code
2016-03-28 00:35:02 -04:00
Paul Beckingham
ae3627761d
Rules: No longer lexes RHS of settings
2016-03-28 00:32:29 -04:00
Paul Beckingham
1a559d4215
Rules: Eliminated ::parseRuleExclusions
2016-03-28 00:31:23 -04:00
Paul Beckingham
090fa3c674
Rules: Migrated from ::parseRuleExclusions to ::parseRuleSettings
2016-03-28 00:30:22 -04:00
Paul Beckingham
1eb93056f1
Rules: Removed obsolete ::parseRuleTag
2016-03-26 19:11:10 -04:00
Paul Beckingham
6abd6be7ab
Rules: Switched from ::parseRuleTag to ::parseRuleSettings
2016-03-26 19:09:27 -04:00
Paul Beckingham
0fd109924f
Rules: ::parseRulesSettings now accepts a namespace prefix
2016-03-26 19:07:46 -04:00
Paul Beckingham
5a8c3e11ae
Rules: ::all now matches keys against a stem
2016-03-26 17:18:12 -04:00
Paul Beckingham
4883f3d93d
Rules: Replaced ::parseRuleHolidays with ::parseRuleSettings
2016-03-26 17:13:34 -04:00
Paul Beckingham
f8c485b231
Rules: Renamed ::parseRuleTheme to ::parseRuleSettings
2016-03-26 17:01:11 -04:00
Paul Beckingham
3fb1878ffb
Rules: Added parseRuleTheme
2016-03-26 16:45:10 -04:00
Paul Beckingham
78d29f8f1d
Rules: Stubbed ::parseRuleHolidays
2016-03-26 14:31:55 -04:00
Paul Beckingham
64f87e3c38
TD-115: Throw error when config file is missing or not readable
...
TD-49: Log when file management fails
- Thanks to Jelle van der Waa, Ben Boeckel.
2016-03-26 10:35:18 -04:00
Paul Beckingham
1844baba55
Rules: Added line loops for parser methods, stubs
2016-03-25 23:55:26 -04:00
Paul Beckingham
12adc97d6d
Rules: Added ::parseGroup
2016-03-25 23:54:05 -04:00
Paul Beckingham
9403fa4974
Rules: Added ::tokenizeLine
2016-03-25 23:53:34 -04:00
Paul Beckingham
321bddba74
Rules: Added ::getIndentation
2016-03-25 23:52:28 -04:00
Paul Beckingham
c410ef0037
Rules: Parsing bug
2016-03-24 23:37:47 -04:00
Paul Beckingham
409fb199f1
Rules: Stubbed ::parseRuleTag
2016-03-24 23:17:20 -04:00