diff --git a/AUTHORS b/AUTHORS index c6ba5e50f..37f5c411b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,4 +12,5 @@ With thanks to: Thomas Engel Nishiishii galvanizd + H. İbrahim Güngör diff --git a/ChangeLog b/ChangeLog index 6bf96b6f5..bafdb26d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,7 @@ represents a feature release, and the Z represents a patch. + Supports relative due: dates (tomorrow, wednesday, 23rd, eom ...) + Bug: Fixed where Esc[0m sequences were being emitted for no good reason + Bug: Fixed underlined table headers when color is turned off + + Bug: Adding a blank priority resulted in an assigned garbage value ------ reality ----------------------------------- diff --git a/html/task.html b/html/task.html index 096fce4fa..0b3bfe31f 100644 --- a/html/task.html +++ b/html/task.html @@ -58,6 +58,7 @@ "23rd", "eom"
diff --git a/src/parse.cpp b/src/parse.cpp
index 0de8a0dbf..0f88e0c29 100644
--- a/src/parse.cpp
+++ b/src/parse.cpp
@@ -235,9 +235,7 @@ static bool validAttribute (
else if (name == "priority")
{
- for (std::string::iterator i = value.begin (); i != value.end (); ++i)
- *i = ::toupper (*i);
-
+ value = upperCase (value);
return validPriority (value);
}
@@ -248,7 +246,7 @@ static bool validAttribute (
name == "base" ||
name == "range")
throw std::string ("\"") +
- name +
+ name +
"\" is not an attribute you may modify directly.";
return true;
diff --git a/src/task.cpp b/src/task.cpp
index dc023209f..ee0a9e218 100644
--- a/src/task.cpp
+++ b/src/task.cpp
@@ -403,6 +403,14 @@ void handleAdd (const TDB& tdb, T& task, Config& conf)
sprintf (entryTime, "%u", (unsigned int) time (NULL));
task.setAttribute ("entry", entryTime);
+ std::map