Commit graph

2602 commits

Author SHA1 Message Date
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
Shaun Ruffell
c76d004897 #212: "--help" should show help, not considered to be a tag.
This change makes any instance of '--help' on the command line to be made the
command for this particular invocation.
2019-04-07 16:48:24 -05: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
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