Thomas Lauf
63f230013a
Detect whether a date is meant as range
...
- Add DatetimeParser::parse_range: If a date contains no time, it is assumed to be a fixed range, else an open range starting at given datetime
- Add tests for summary with named dates 'yesterday' and 'today'
- Remove closing of filter in CmdSummary.cpp
- Closes #333
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-06-28 20:52:43 +02:00
Thomas Lauf
c9eec956e4
Add hint :all
...
- Closes #206
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-06-03 18:44:36 +02:00
Thomas Lauf
6117ce1a84
Introduce default range parameter when requesting filter from CLI
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-06-03 17:47:14 +02:00
Thomas Lauf
13f1de2c49
Identify DOM references by their prefix ('dom.<...>') and mark them as such when analyzing the command line
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-05-10 21:44:30 +02:00
Thomas Lauf
9ae3ace109
Make getFilter(cli) a method of CLI
2020-05-10 21:44:30 +02:00
Thomas Lauf
422e49bacb
Extract function getDomReferences
and move it to CLI
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-05-10 21:44:30 +02:00
Thomas Lauf
ad58309159
Update Copyright
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-04-19 12:41:23 +02:00
Thomas Lauf
e8511c5efd
Extract function CLI::getDuration ()
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2020-03-03 07:58:04 +01:00
Thomas Lauf
d64017a7a6
Update copyright dates
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-10-18 10:59:16 +02:00
Thomas Lauf
037550b791
'-h' should show help
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2019-05-18 18:40:26 +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
Thomas Lauf
58e7cec118
Added first version of command 'annotate'
...
Closes #68
Closes #77
2018-10-09 17:00:36 +02:00
Janik Rabe
616ca4b884
#157 : Change error message for non-positive IDs
2018-08-08 07:06:42 +02:00
Janik Rabe
48aa9cfdc0
CLI: Ensure IDs are non-zero
...
This fixes out-of-bounds accesses in several subcommands when the
invalid ID @0 is passed to the program.
2018-08-08 07:06:42 +02:00
Thomas Lauf
db13bd403f
#21 Move method to gather tags to CLI
2018-05-13 17:56:55 +02:00
Thomas Lauf
2c5812f7a3
Use the empty method to check for emptiness instead of comparing to an empty object
2018-05-10 20:57:22 +02:00
Simon Ruderich
2271bd9eea
Use https:// link for opensource.org
2018-03-16 23:11:08 +01:00
Thomas Lauf
8ce9e83ab5
TI-93 #97 Make CLI::getIds() return a set to guarantee uniqueness of ids
2018-03-08 20:44:10 +01:00
Thomas Lauf
dc6d3b9672
Commands: Reduce code duplication
...
- Extract function to gather ids
2017-11-21 23:12:45 +01:00
Paul Beckingham
ad75fffb03
TI-69: timew config converts integers to times
...
- Thanks to Thomas Lauf.
2017-07-30 11:58:38 +01:00
Paul Beckingham
308417bf24
Cleanup: Greater use of const
2017-02-25 15:24:40 -05:00
Paul Beckingham
61d94c369b
TI-12: report command does not find extensions
...
- Thanks to lumbric.
2016-07-04 07:25:01 -04:00
Paul Beckingham
54eb2658a1
TI-5: Unicode tags not working.
...
- Thanks to Sergey Trofimov.
2016-06-06 22:48:53 -04:00
Paul Beckingham
8371ce7937
CLI: Integrated ID args
2016-06-04 10:33:46 -04:00
Paul Beckingham
5ee1aa8c9c
CLI: Added ::identifyIds
2016-06-04 10:33:32 -04:00
Paul Beckingham
c9af6fa37b
CLI: Added support for integer arg attributes
2016-06-04 10:32:47 -04:00
Paul Beckingham
20a77c7d53
CLI: Added support for config overrides inthe parser
2016-05-29 10:16:13 -04:00
Paul Beckingham
e910506073
TI-2: Two line tags causes false entry in database
...
- Thanks to Sebastian Uharek.
2016-05-27 17:03:53 -04:00
Paul Beckingham
1127a78abd
CLI: Isolated numbers upgraded to hours by concatenating ':00'
2016-05-21 16:06:07 -05:00
Paul Beckingham
a4d251ce06
CLI: No longer tags FILTER if one of: CMD, EXT, BINARY
2016-05-14 01:28:19 -04:00
Paul Beckingham
252a470ef8
CLI: Corrected list of keywords
2016-05-03 07:47:05 -04:00
Paul Beckingham
b5a4b3476c
CLI: Corrected include order
2016-04-30 08:26:45 -04:00
Paul Beckingham
d62a8eb2a2
CLI: Dequotes args; no point leaving quotes if the QUOTED tag exists
2016-04-29 18:19:34 -04:00
Paul Beckingham
49715320ef
Cleanup: Replaced "\n" with '\n'
2016-04-23 13:30:54 -04:00
Paul Beckingham
f2407dfbe7
CLI: Added handling of argv[0] when it is not named 'timew'
2016-04-22 01:35:30 -04:00
Paul Beckingham
9ea8f9dd8d
CLI: Added ::identifyFilter
2016-04-15 19:31:58 -04:00
Paul Beckingham
dda28637e2
CLI: Renamed variable for clarity
2016-04-10 15:01:09 -04:00
Paul Beckingham
1773db02e1
CLI: If a command is not found, look instead for an extension
2016-04-10 00:26:19 -04:00
Paul Beckingham
76c5d13036
CLI: Refactored ::canonicalizeNames to be shorter and include EXT entities
2016-04-09 10:41:11 -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
6e1bcc2eee
CLI: Fixed misnamed attribute
2016-04-04 22:19:36 -04:00
Paul Beckingham
6f64d6e440
CLI: Stop looking for commands after the first one is found
2016-04-04 08:00:07 -04:00
Paul Beckingham
63d728af5c
CLI: Added ::getWords
2016-04-03 20:33:14 -04:00
Paul Beckingham
02e1690418
CLI: Removed const return type
2016-04-03 20:23:36 -04:00
Paul Beckingham
ab097b1594
CLI: Missing include
2016-04-03 20:02:08 -04:00
Paul Beckingham
4c05fb3e0c
Cleanup: Renamed 'keywords' to 'hints' which is more accurate
2016-04-03 17:22:39 -04:00
Paul Beckingham
bca881f19d
CLI: Added ::getBinary
2016-04-03 13:39:20 -04:00
Paul Beckingham
f44194d54d
CLI: Added ::getCommand
2016-04-03 13:26:24 -04:00
Paul Beckingham
518389ec58
CLI: Colorized keywords
2016-04-03 13:17:48 -04:00
Paul Beckingham
2360509b98
CLI: Removed ::findCommand, which is replaced by ::canonicalizeNames
2016-04-03 13:09:22 -04:00