From 946e489ad6be48dab4cc3028365db1db917d025c Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 26 Sep 2021 21:12:17 -0400 Subject: [PATCH] CmdNews: Add preliminary notes for version 2.6.0 --- src/commands/CmdNews.cpp | 25 +++++++++++++++++++++++++ src/commands/CmdNews.h | 1 + 2 files changed, 26 insertions(+) diff --git a/src/commands/CmdNews.cpp b/src/commands/CmdNews.cpp index 2229ba977..446a6cbe5 100644 --- a/src/commands/CmdNews.cpp +++ b/src/commands/CmdNews.cpp @@ -93,6 +93,31 @@ void NewsItem::render () { std::cout << format ("\n{1}\n", _update); } +//////////////////////////////////////////////////////////////////////////////// +// Generate the highlights for the 2.6.0 version. +// +// - XDG directory mode (high) +// - Support for Unicode 11 characters (high) +// - 64 bit values, UDAs, Datetime values until year 9999 (high) +// - Writeable context (high) +// - Config context variables +// - Reports outside of context +// - Environment variables in taskrc (high) +// - Waiting is a virtual concept (high) +// - Improved parser and task display mechanism +// - The .by attribute modifier +// - Exporting a report +// - Multi-day holidays +void CmdNews::version2_6_0 (bool full, std::vector& items) { + NewsItem writeable_context ( + true, + "'Writeable' context", + " The currently active context definition is now applied as default\n" + " modifications with 'task add' and 'task log'." + ); + items.push_back(writeable_context); +} + //////////////////////////////////////////////////////////////////////////////// int CmdNews::execute (std::string& output) { diff --git a/src/commands/CmdNews.h b/src/commands/CmdNews.h index 9abcc5dab..7296dee5d 100644 --- a/src/commands/CmdNews.h +++ b/src/commands/CmdNews.h @@ -45,6 +45,7 @@ class CmdNews : public Command public: CmdNews (); int execute (std::string&); + void version2_6_0 (bool, std::vector&); }; #endif