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
Thomas Lauf
661e9f658e
Consolidate chart documentation into timew-chart.1
2019-02-21 23:23:22 +01:00
Thomas Lauf
73bdb819e5
Improve formatting
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-21 23:23:22 +01:00
Thomas Lauf
cf045bc762
Set date in man pages to cmake generation date
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-21 23:23:22 +01:00
Thomas Lauf
e53e92f448
Update man page creation
...
- add new man pages
- register new installation directory for section 7
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-21 23:23:22 +01:00
Thomas Lauf
4c19a055f4
Rename file
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 17:01:53 +01:00
Thomas Lauf
8022d88034
Remove trailing whitespace
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 17:00:50 +01:00
Thomas Lauf
ff6e9a4776
Add SEE ALSO section
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 17:00:31 +01:00
Thomas Lauf
ebe6bb6ce7
Rename file
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 16:56:32 +01:00
Thomas Lauf
9638672adc
Add sections NAME, SYNOPSIS, and DESCRIPTION
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 16:54:13 +01:00
Thomas Lauf
857419d502
Add "see also" section
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 16:43:56 +01:00
Thomas Lauf
789b4b99fd
Add missing quotes
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 16:20:10 +01:00
Thomas Lauf
574922708e
Rename section "SEE ALSO" to "FURTHER DOCUMENTATION"
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 16:19:25 +01:00
Thomas Lauf
e78ebb5c84
Extract documentation about intervals into separate man page
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 14:12:52 +01:00
Thomas Lauf
27cf2e0ef2
Extract documentation about dates into separate man page
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 14:08:53 +01:00
Thomas Lauf
94ac7bd58a
Extract documentation aboug hints into separate man page
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 14:07:03 +01:00
Thomas Lauf
eeb4645563
Extract documentation about durations into separate man page
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 14:05:57 +01:00
Thomas Lauf
f12356f35c
Extract documentation about DOM into separate man page
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 14:05:07 +01:00
Thomas Lauf
7538cbf2f1
Extract documentation about configuration file into separate man page
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 14:04:03 +01:00
Thomas Lauf
bbf0e059ce
Update ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 10:26:28 +01:00
Thomas Lauf
bdb28fa744
Fix tests
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 10:16:12 +01:00
Thomas Lauf
85e2ec741f
Remove line breaks
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 10:09:41 +01:00
Thomas Lauf
4c71aa0ac7
Fix padding
...
Closes #11
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-02-15 10:09:04 +01:00
Thomas Lauf
a01c2bf19e
Extract chart rendering into its own class (fixup)
2019-02-01 08:19:30 +01:00
Thomas Lauf
22902fe9a1
Make Chart::render return a string instead of writing to std::cout (fixup)
2019-01-31 23:16:48 +01:00
Thomas Lauf
8e649a9456
Extract calculation of total_width from day-loop
2019-01-31 23:06:44 +01:00
Thomas Lauf
cf88f1585a
Use fields directly instead of via parameters to calculate indent size
2019-01-31 23:06:44 +01:00
Thomas Lauf
c7b7b483ba
Move configuration for label to contructor
2019-01-31 23:06:44 +01:00
Thomas Lauf
0523262115
Reduce interface of Chart to function 'render'
2019-01-31 23:06:44 +01:00
Thomas Lauf
49f25ba7d7
Make functions of Chart member functions
2019-01-31 23:06:44 +01:00
Thomas Lauf
c562f3fc81
Make Chart::render return a string instead of writing to std::cout
2019-01-31 23:06:44 +01:00
Thomas Lauf
365ae27e49
Extract chart rendering into own class
2019-01-31 23:06:44 +01:00