Tomas Babej
867efe3928
Context: Update the list of verbosity tokens
...
- Add the "context" token to the default tokens..
- Remove the "filter" token from the default list.
2021-09-16 07:15:54 -04:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Tomas Babej
21f1086f3d
Context: Add default values for report.<name>.context variables
2021-08-21 08:25:06 -04:00
Dustin J. Mitchell
20af583e21
Refactor to store dependencies as individual attributes
...
This also drops support for the transitional `json.depends.array`
configuration value, which has not been necessary since ~2016.
As with tags, dependencies are stored in both a "combined",
comma-separated format (for compatibility) and in an
attribute-per-dependency format (for the future).
2021-08-17 20:36:54 -04:00
Dustin J. Mitchell
9a9ede7878
update built-in reports to use +WAITING, and doc
2021-08-08 14:27:25 -04:00
Dustin J. Mitchell
901283c79f
[WIP] make 'waiting' status a 'virtual' status
2021-08-08 14:27:25 -04:00
sebu06
3d61966831
Added coloring of dates with scheduled tasks
...
Color can be changed using color.calendar.scheduled
2021-07-20 07:38:14 -04:00
Scott Mcdermott
ac3572a4f5
CLI2: New filter attribute modifier "by", uses '<=' for comparison
...
This patch allows e.g. due.by:tomorrow that includes all of tomorrow,
because it uses less than or equal to, rather than just less than, like
'before' modifier does. This allows matching the last second of the day
when filtering by "due.by:eod", and more generally allows date filters
with an inclusive end-interval specification.
Closes #2536
2021-07-18 09:45:00 -04:00
oxalica
2cb8f1d5ea
Support relative include for themes in taskrc
2021-06-02 19:34:57 -04:00
Rosen Penev
ab7f5b0b51
clang-tidy: loop conversion
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 09:13:22 -04:00
Paolo Capriotti
856b589bac
Parse 'context' verbose token correctly
2021-04-11 20:32:42 -04:00
Tomas Babej
351c3b025c
getTaskContext: Allow getting context info for a non-active context
2021-04-03 15:01:39 -04:00
Tomas Babej
9a380887ee
CLI2: Simplify context determination
...
Simlifies by offloading portion of the logic into the singleton Context
class (which has nothing to do with the task context per se, just a
implementation singleton).
2021-04-03 15:01:39 -04:00
Tomas Babej
0d1542ccd7
meta: Update various links to https
2021-03-12 07:58:04 -05:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Tomas Babej
eb32c9d8d7
Context: Correctly handle XDG_CONFIG_HOME paths ending with '/'
2020-12-10 23:49:00 -05:00
Tomas Babej
f0e34a7ef7
Context: Do not append .config if XDG_CONFIG_HOME is defined
...
- Thanks to Julien Rabinow.
2020-12-10 23:34:59 -05:00
Tomas Babej
5dc42df7d0
Context: Correctly respect empty XDG_CONFIG_HOME
2020-12-09 21:21:17 -05:00
Tomas Babej
1f98b9d128
Context: Adjust styling
2020-12-09 20:35:13 -05:00
Julien Rabinow
5256797ea9
add support for XDG_CONFIG_HOME
2020-12-09 20:15:22 -05:00
Julien Rabinow
46b553dd8c
reorder code to be in same order as comments (intuitive order)
2020-12-09 20:15:22 -05:00
Julien Rabinow
1aa77c9ede
fix home_dir variable definition
2020-12-09 20:15:22 -05:00
Paul Beckingham
3e0a428185
Revert "[clang-tidy] Use .empty instead of comparing size"
...
This reverts commit a331cceded
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
0a3a4d364d
Revert "[clang-tidy] Use new range based loops"
...
This reverts commit a468537c1b
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
5502729131
Revert "[clang-tidy] Switch C headers to C++ ones"
...
This reverts commit 0344856d65
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
702af00435
Revert "[clang-tidy] Remove redundant const"
...
This reverts commit 55d103c491
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
c43a513158
Revert "[clang-tidy] Replace C style casts with C++ ones"
...
This reverts commit 13e1bf7204
.
2020-12-05 16:18:37 -05:00
Rosen Penev
13e1bf7204
[clang-tidy] Replace C style casts with C++ ones
...
Found with google-readability-casting
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
55d103c491
[clang-tidy] Remove redundant const
...
Found with readability-const-return-type
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
0344856d65
[clang-tidy] Switch C headers to C++ ones
...
Found using modernize-return-braced-init-list
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
a468537c1b
[clang-tidy] Use new range based loops
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
a331cceded
[clang-tidy] Use .empty instead of comparing size
...
Found with readability-container-size-empty
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
Tomas Babej
6727d08da0
Context: Do not set new-uuid by default
...
This reverts part of f6b2a6541c
, which
(likely accidentally) re-introduced the new-uuid verbosity setting as a
default.
2020-09-18 21:33:54 -04:00
Janik Rabe
f6b2a6541c
Fix rc.verbose documentation in taskrc(5)
2019-02-14 08:02:58 -05:00
taiyu
fd441bdd62
increase cli priority, respect override verbosity.
2019-02-07 08:41:25 -05:00
Tomas Babej
8066e4e6e2
meta: Update copyright year
2019-01-01 08:46:21 -05:00
Paul Beckingham
bd221a5adc
TW #2004 : "shell" should not be expand to "exec tasksh"
...
- Thanks to Arvedui
2018-08-12 10:28:40 -04:00
Kirill Bobyrev
5cdbe6d019
Use nullptr instead lf C-styled NULL
2018-03-07 22:21:28 +03:00
Simon Ruderich
b92ab68ef6
Context: remove duplicate default value for rule.precedence.color
2018-03-06 21:54:08 +01:00
Simon Ruderich
e817dfc800
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Mark Scannell
7af6db4c17
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
038d9fe8db
l10n: Eliminated STRING_CONTEXT_CREATE_RC
2018-01-15 11:48:15 -05:00
Paul Beckingham
e814daacf1
l10n: Eliminated STRING_CONTEXT_DATA_OVERRIDE
2018-01-15 11:45:34 -05:00
Paul Beckingham
06f7802a29
l10n: Eliminated STRING_CONTEXT_RC_OVERRIDE
2018-01-15 11:43:44 -05:00
Paul Beckingham
8f211c1a07
l10n: Eliminated STRING_CONTEXT_NEED_RC
2018-01-15 11:06:18 -05:00
Paul Beckingham
8ca8f9eb10
l10n: Eliminated STRING_CONFIG_BAD_WRITE
2018-01-15 11:04:23 -05:00
Paul Beckingham
2e9ea52a8d
l10n: Eliminated STRING_ASSUME_INFO
2018-01-15 11:01:36 -05:00
Paul Beckingham
f00884998e
l10n: Eliminated STRING_DATE_SUNDAY
2018-01-15 10:59:25 -05:00
Paul Beckingham
0b790f46a1
l10n removal of STRING_UNKNOWN_ERROR
2018-01-07 12:57:21 -05:00