- Tweaks.
This commit is contained in:
Paul Beckingham 2014-10-10 16:27:55 -04:00
parent a88a062d3d
commit 963e79696b
3 changed files with 9 additions and 6 deletions

View file

@ -139,7 +139,8 @@
- TW-1341 confirmation config setting should apply to config command as well
(thanks to Charles Ulrich).
- TW-1345 taskrc.5 manpage errors.
- TW-1354 Add value-dependent urgency coefficients for UDAs.
- TW-1354 Add value-dependent urgency coefficients for UDAs (thanks to Johannes
Schlatow).
- TW-1359 "one-two-three" in description triggers Malformed ID error.
- TW-1360 color.until directive missing.
- TW-1361 Strange results with complex filter (thanks to Jim B).

2
NEWS
View file

@ -42,6 +42,8 @@ New configuration options in taskwarrior 2.4.0
- New 'debug.hooks' for debugging hook scripts.
- New 'debug.parser' for debugging parser issues scripts.
- New 'color.label.sort' is used to color the column label of sort columns.
- New 'urgency.uda.<name>.<value>' allows specific UDA values to affect
urgency.
Newly deprecated features in taskwarrior 2.4.0

View file

@ -25,7 +25,6 @@
////////////////////////////////////////////////////////////////////////////////
#include <cmake.h>
#include <iostream> // TODO Remove
#include <sstream>
#include <stdlib.h>
#include <assert.h>
@ -1683,7 +1682,8 @@ float Task::urgency_c () const
}
else if (var->first.substr (0, 12) == "urgency.uda.")
{
// urgency.uda.<name>.coefficient and urgency.uda.<name>.<value>.coefficient
// urgency.uda.<name>.coefficient
// urgency.uda.<name>.<value>.coefficient
std::string::size_type end = var->first.find (".coefficient");
if (end != std::string::npos)
{