Thomas Lauf
297d9e3c19
Remove comments
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-12 15:49:05 +02:00
Thomas Lauf
920e3b4019
Add field reference_hour
, extract determination of color for hour label
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 23:13:41 +02:00
Thomas Lauf
a6b9e4204c
Use fields directly instead of passing them as function parameters
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 22:43:27 +02:00
Thomas Lauf
0510b59460
Make cell width a field
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 22:23:48 +02:00
Thomas Lauf
5085c6ce99
Advertise Travis build status
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 16:56:24 +02:00
Thomas Lauf
b5dc745969
Add missing 'Z' to datetime string when using UTC
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 16:44:52 +02:00
Thomas Lauf
f0f49ebef9
Update AUTHORS & ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 16:42:19 +02:00
Thomas Lauf
186dd8e3de
Fix padding for determined hour range (+1h before and after)
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 16:39:28 +02:00
Thomas Lauf
36d7b6f387
Consider open track only until reference datetime when determining hour range
...
- Close #107
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 16:39:28 +02:00
Thomas Lauf
b3799ede03
Use early return
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 16:07:57 +02:00
Thomas Lauf
6f439097d6
Make use of a default value
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 10:46:39 +02:00
Thomas Lauf
a672fd0647
Apply exclusions to open interval only within range within interval start and now
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-11 10:42:08 +02:00
Thomas Lauf
daec6b1fae
Clean up .gitignore files
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-10 12:08:42 +02:00
Thomas Lauf
ea9a5e341e
Make parameter 'configuration' a const reference
...
- Clang-Tidy: The parameter 'configuration' is copied for each invocation but only used as a const reference;
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-10 12:02:07 +02:00
Thomas Lauf
42cb7273cd
Inject reference datetime (= now) into chart
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-10 12:00:25 +02:00
Thomas Lauf
69de6b4412
Replace fixed time with relative time when testing timew start <datetime>
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-09 16:23:37 +02:00
Thomas Lauf
b4a15b3c84
Use internal fields color_today and color_holiday in getDayColor
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-09 16:23:37 +02:00
Thomas Lauf
9fcadaee1c
Reorder and group function declarations
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-04-09 16:23:37 +02:00
Thomas Lauf
58c392b0b9
Move color definitions into configuration
2019-04-09 16:23:37 +02:00
Thomas Lauf
4ef248b973
Extract more parameters into chart configuration
2019-04-09 16:23:37 +02:00
Thomas Lauf
e2bd076357
Extract chart configuration into separate class
2019-04-09 16:23:37 +02:00
Thomas Lauf
40ea90c000
Update libshared
2019-04-09 16:23:37 +02:00
Jonathan Neidel
750c5ac658
Fix typo
2019-04-09 16:18:39 +02:00
Jonathan Neidel
4a6e801dd8
Update link text and description
2019-04-09 16:18:39 +02:00
Jonathan Neidel
7df41ac26b
Fix links
...
Make links clickable instead of showing them in a code block.
2019-04-09 16:18:39 +02:00
Jonathan Neidel
08c31b3c8c
Fix typo
...
calendar-base -> calendar-based
2019-04-07 19:15:07 +02:00
Thomas Lauf
ef9a5b5a0a
Rename variable day
to dates
, function current_date
to default_dates
2019-03-02 18:01:56 +01:00
Thomas Lauf
b2fd299f33
Rename function random_minute
to default_minutes
2019-03-02 18:00:19 +01:00
Thomas Lauf
29d54086f4
Fix sed RE for mac os x
2019-03-02 17:57:57 +01:00
Thomas Lauf
428d377b84
Add missing -r
option to jot
...
- Otherwise output is always `0` and not a random number
2019-03-02 17:43:50 +01:00
Thomas Lauf
a6d97365fc
Add special handling for mac os x (mojave/darwin18)
...
- date does not have option `--rfc-3339`
- `rand` is not available, use `jot` instead
2019-03-02 17:01:55 +01:00
Thomas Lauf
f05596fa1d
Extract generation of current date into function
2019-03-02 16:59:36 +01:00
Thomas Lauf
e6b409144d
Extract generation of random minute into function
2019-03-02 16:58:50 +01:00
Thomas Lauf
544ebfadb7
Extract generation of default hours
2019-03-02 16:57:28 +01:00
Thomas Lauf
b248f13172
Add check for installed libfaketime
2019-03-02 16:55:47 +01:00
Thomas Lauf
5c6bd53e02
Fix file mode
2019-02-27 22:08:29 +01:00
Thomas Lauf
c1ada61a85
Fix undo.t
...
- resulting interval has union of tags of all joined intervals
2019-02-27 21:26:10 +01:00
Thomas Lauf
f69620d113
Fix service name
2019-02-27 21:08:34 +01:00
Thomas Lauf
0787b8a984
Fix container name
2019-02-27 00:13:52 +01:00
Thomas Lauf
455b9b9614
Fix docker-image name
...
- base/archlinux is deprecated
- rename from arch180101 to archlinux
2019-02-27 00:11:20 +01:00
Thomas Lauf
94b16585e5
Update AUTHORS, ChangeLog
...
- Close #198
2019-02-26 22:26:26 +01:00
Thomas Lauf
747d560630
Use dynamic_cast instead of static_cast to downcast from a base to a derived class
2019-02-26 22:22:21 +01:00
Thomas Lauf
04adb50480
Add curly braces
2019-02-26 22:20:06 +01:00
Shaun Ruffell
44ed56ad38
test/tag.t: Add test for '%' character in a tag.
2019-02-26 21:56:55 +01:00
Shaun Ruffell
01d1142480
#198 : Add '%' to operator list in quote if needed.
...
Since the Lexer is looking for '%' as operators, it too needs to be quoted in
order to allow the data files to be parsed properly.
2019-02-26 21:56:55 +01:00
Shaun Ruffell
465d3bd676
Database: Display error message if tags database is not in expected format.
...
Had an early tags database conversion script that was not labeling the tag
counts with "count". Instead of a segfault, this prints an error message to
hopefully point the user in the correct location to look for the error.
2019-02-26 21:56:55 +01:00
Shaun Ruffell
7c5503f962
CmdJoin: Fix segment fault on join.
...
Code was attempting to dereference the end () iterator, which is invalid.
Since sets are already ordered, we can use the first and last element directly
instead of using the min/max functions.
Fixes a bug introduced in ( 8ce9e83ab5
"TI-93 #97 Make CLI::getIds() return a
set to guarantee uniqueness of ids" )
2019-02-26 21:56:55 +01:00
Thomas Lauf
3780966ccd
Fix section header
2019-02-25 21:26:32 +01:00
Thomas Lauf
1c85721876
Update EXAMPLES section
2019-02-21 23:46:16 +01:00
Thomas Lauf
fc49a4003a
Add CONFIGURATION section
2019-02-21 23:23:22 +01:00