From 525f3cda7557cabd3238423b1de270d1646fd43b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 24 Jun 2014 23:19:50 -0400 Subject: [PATCH] TW-266 - TW-266 Allow project auto-completion to search completed tasks (thanks to Kosta Harlan). --- ChangeLog | 2 ++ NEWS | 1 + doc/man/taskrc.5.in | 6 ------ src/Config.cpp | 1 - src/commands/CmdShow.cpp | 1 - 5 files changed, 3 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 38369f694..121c3ec80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -45,6 +45,8 @@ - TW-255 'Mask' instead of 'iMask' shown in info report (thanks to Benjamin Weber) - TW-261 Easy to create "not deletable" task (thanks to Jan Kunder). +- TW-266 Allow project auto-completion to search completed tasks (thanks to + Kosta Harlan). - TW-271 Parser still looks for task id even when -- is used (thanks to Jim B). - TW-277 Complex filters can skip infix term expansion. - TW-278 Cygwin throws warnings building mk_wcwidth() in wcwidth6.c. diff --git a/NEWS b/NEWS index 45ae4eb49..97d56a21e 100644 --- a/NEWS +++ b/NEWS @@ -42,6 +42,7 @@ Removed features in 2.4.0 - Removed the obsolete 'tasksh.1' man page. - Removed the 'tasksh' program from the Taskwarrior distribution. It is now a separate project. + - Removed the 'complete.all.projects' setting that was not used. Known Issues diff --git a/doc/man/taskrc.5.in b/doc/man/taskrc.5.in index 6a71f7fa2..7a8e70b07 100644 --- a/doc/man/taskrc.5.in +++ b/doc/man/taskrc.5.in @@ -313,12 +313,6 @@ started or completed that is not considered high priority. Default value is: You have more urgent tasks. It is a gentle reminder that you are contradicting your own priority settings. -.TP -.B complete.all.projects=yes -May be yes or no, and determines whether the tab completion scripts consider all -the project names you have used, or just the ones used in active tasks. The -default value is "no". - .TP .B list.all.projects=yes May be yes or no, and determines whether the 'projects' command lists all the project diff --git a/src/Config.cpp b/src/Config.cpp index cb3acb9b7..a070c5650 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -285,7 +285,6 @@ std::string Config::_defaults = "default.command=next # When no arguments are specified\n" "\n" "_forcecolor=no # Forces color to be on, even for non TTY output\n" - "complete.all.projects=no # Include old project names in '_projects' command\n" "complete.all.tags=no # Include old tag names in '_ags' command\n" "list.all.projects=no # Include old project names in 'projects' command\n" "list.all.tags=no # Include old tag names in 'tags' command\n" diff --git a/src/commands/CmdShow.cpp b/src/commands/CmdShow.cpp index d23346063..f541c6928 100644 --- a/src/commands/CmdShow.cpp +++ b/src/commands/CmdShow.cpp @@ -122,7 +122,6 @@ int CmdShow::execute (std::string& output) " color.undo.after" " color.undo.before" " column.padding" - " complete.all.projects" " complete.all.tags" " confirmation" " data.location"