Tomas Babej
dbf641988e
CmdTags: Update pointers to task enumeration lists
2021-10-02 21:38:47 -04:00
Tomas Janousek
8610268cd9
Add missing "QUARTER" to feedback_reserved_tags
...
A while ago I noticed that 630a1530e0
only
added the QUARTER virtual tag to src/Task.cpp, and when I checked that
again today, it was still missing from src/feedback.cpp, so I'm fixing
that.
2021-10-02 21:33:16 -04:00
Leo
57680f5bde
Uncoditionally include errno.h instead of guessing
...
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning
(cherry picked from commit 041248e7cc
)
2021-10-02 21:30:40 -04:00
Tomas Babej
34c12a7b78
Context: Add news.version among configuration defaults
...
Otherwise news.version shows up as unrecognized variable.
2021-10-02 18:27:57 -04:00
Tomas Babej
a392983631
CmdNews: Minor adjustments
2021-10-02 17:10:59 -04:00
Tomas Babej
ef53c4fc75
CmdCustom: Generate notice about task news
2021-10-02 16:58:16 -04:00
Tomas Babej
5ccfece56d
CmdNews: Improve footnote advertising of minor higlights
2021-10-02 16:25:27 -04:00
Tomas Babej
5e5a68e045
CmdNews: Mark more higlights as major
2021-10-02 16:24:57 -04:00
Tomas Babej
214890af26
CmdNews: Prevent double outro by reverting to defautl signal handler
2021-10-02 16:08:11 -04:00
Tomas Babej
bd39e6b2e0
CmdNews: Prevent compiler warning
2021-10-02 16:08:10 -04:00
Tomas Babej
cb4444098e
CmdNews: Add short outro on interrupt
2021-10-02 16:08:09 -04:00
Tomas Babej
7e3ea4f47e
CmdNews: Implement short outro section
2021-10-02 16:08:08 -04:00
Tomas Babej
8ef6aa4bce
CmdNews: Guide users about minor highlights
2021-10-02 13:11:31 -04:00
Tomas Babej
f9f62d596a
CmdNews: Dynamically construct the heading
2021-10-02 11:45:59 -04:00
Tomas Babej
333840062b
CmdNews: Replace prompt at the beginning by defaulting to major items only
2021-10-02 11:40:47 -04:00
Tomas Babej
703594931a
CmdNews: Add news item about updated holiday data
2021-10-02 11:14:14 -04:00
Tomas Babej
d16bb6f084
CmdNews: Add news item about XDG support
2021-10-02 10:35:51 -04:00
Tomas Babej
1a79f0b99e
CmdNews: Add news item about context-specific configuration overrides
2021-10-02 10:35:46 -04:00
Tomas Babej
2af2564fd9
CmdNews: Adjust header
2021-10-02 09:48:53 -04:00
Tomas Babej
3f59b12512
CmdNews: Add news item about the .by attribute modifier
2021-10-02 09:48:34 -04:00
Tomas Babej
32cbff9254
CmdNews: Add news item about Unicode 12 support
2021-10-02 09:47:21 -04:00
Tomas Babej
7848d25f18
CmdNews: Add news item about multi-day holidays
2021-09-29 00:16:35 -04:00
Tomas Babej
0d647f0218
CmdNews: Add news item about exportable reports
2021-09-29 00:16:20 -04:00
Tomas Babej
6f60f74739
CmdNews: Add news item for environment variable support in taskrc
2021-09-29 00:15:50 -04:00
Tomas Babej
f71d851703
CmdNews: Add news item about a waiting being now virtual status
2021-09-28 23:39:23 -04:00
Tomas Babej
36604c95d2
Context: Document the availability of environment variables in the taskrc
2021-09-28 23:38:33 -04:00
Tomas Babej
30c3893499
CmdNews: Describe context-less reports
2021-09-28 22:58:36 -04:00
Tomas Babej
51a5916339
NewsItem: Do not render _updates if not set
2021-09-28 22:58:07 -04:00
Tomas Babej
33d074e00c
NewsItem: Fix typo
2021-09-28 22:57:53 -04:00
Tomas Babej
052444350e
CmdNews: Add news item about 64-bit datetime support
2021-09-28 22:31:14 -04:00
Tomas Babej
189a253ef2
CmdNews: Add advice for writeable context
2021-09-28 21:47:54 -04:00
Tomas Babej
c69cbe8bfc
CmdContext: Remove old-style context during re-definition
...
This makes it easier to migrate from old-style context.<name>=value
context definition to new context.<name>.read=value and
context.<name>.write=value variables.
2021-09-28 21:07:46 -04:00
Tomas Babej
c28aa2f7e2
CmdContext: Fix typo
2021-09-28 00:57:52 -04:00
Tomas Babej
5f8ec9bbe0
CmdConfig: Extract write context validation into a separate method
2021-09-28 00:52:56 -04:00
Tomas Babej
2b0730d905
CmdNews: Add NewsItem about writeteable contexts
2021-09-28 00:40:52 -04:00
Tomas Babej
ce77bdf830
CmdNews: Implement section-based rendering with a punchline
2021-09-28 00:33:49 -04:00
Tomas Babej
36e1f8c8ec
NewsItem: Reorder arguments to follow rendering order
2021-09-27 23:42:03 -04:00
Tomas Babej
c574cbf948
NewsItem: Add punchline, background and bg_title attributes
2021-09-27 23:39:41 -04:00
Tomas Babej
c8240f1ad7
CmdNews: Add reasoning and actions subsections
2021-09-27 22:38:29 -04:00
Tomas Babej
e538e9199c
CmdNews: Make it explicit enter has to be pressed to continue
2021-09-27 22:04:10 -04:00
Tomas Babej
506307fb87
CmdNews: Work around blending not supporting bold effect
2021-09-27 22:00:51 -04:00
Tomas Babej
4f1af72235
CmdNews: Filter out non-major news updates if displaying shortened summary
2021-09-27 21:04:20 -04:00
Tomas Babej
1935cd7e2d
CmdNews: Obtain the NewsItems for 2.6.0 release
2021-09-26 21:28:12 -04:00
Tomas Babej
f3881ecbbe
CmdNews: Version methods should generate all items, regardless of priority
...
Drop the flag about full/abbreviated report being passed to the version
methods. The methods shold just generate the NewsItem objects, the
CmdNews::execute will take care of displaying only the ones matching the
verbosity level the user selected.
2021-09-26 21:25:31 -04:00
Tomas Babej
636c8f50e0
CmdNews: Render all news items
2021-09-26 21:24:54 -04:00
Tomas Babej
946e489ad6
CmdNews: Add preliminary notes for version 2.6.0
2021-09-26 21:12:17 -04:00
Tomas Babej
3ed89393ec
NewsItem: Add stub
2021-09-26 21:10:41 -04:00
Tomas Babej
36bdd81d46
CmdNews: Prompt user to determine whether to show abbreviated summary
2021-09-26 21:07:21 -04:00
Tomas Babej
d092aaa2e5
CmdNews: Set news.version configuration variable upon success
2021-09-25 23:24:26 -04:00
Tomas Babej
63c176ea0e
CmdNews: Add plumbing to register the command
2021-09-25 22:05:46 -04:00