Feature
- Enhanced diagnostics command.
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -72,6 +72,7 @@ suggestions:
|
|||||||
Seneca Cunningham
|
Seneca Cunningham
|
||||||
Dirk Deimeke
|
Dirk Deimeke
|
||||||
Michelle Crane
|
Michelle Crane
|
||||||
|
Alexander Schremmer
|
||||||
Elizabeth Maxson
|
Elizabeth Maxson
|
||||||
Peter De Poorter
|
Peter De Poorter
|
||||||
Max Muller
|
Max Muller
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
------ current release ---------------------------
|
------ current release ---------------------------
|
||||||
|
|
||||||
2.0.0 ()
|
2.0.0 ()
|
||||||
|
|
||||||
|
# Untracked Features, biggest first.
|
||||||
+ autoconf eliminated.
|
+ autoconf eliminated.
|
||||||
+ New 'ids' command that returns a filtered set of task ID numbers, instead
|
+ New 'ids' command that returns a filtered set of task ID numbers, instead
|
||||||
of the actual tasks. For advanced pipeline use.
|
of the actual tasks. For advanced pipeline use.
|
||||||
@@ -9,15 +11,20 @@
|
|||||||
allows commands like: echo 'add Pay the bills' | task
|
allows commands like: echo 'add Pay the bills' | task
|
||||||
+ Corrected sorting to use std::stable_sort instead of std::sort, which is not
|
+ Corrected sorting to use std::stable_sort instead of std::sort, which is not
|
||||||
guaranteed stable (thanks to Stefan Hacker).
|
guaranteed stable (thanks to Stefan Hacker).
|
||||||
|
+ Enhanced diagnostics command.
|
||||||
|
|
||||||
|
# Tracked Features, sorted by ID.
|
||||||
+ Added feature #700, which adds tab-completion of built-in tags.
|
+ Added feature #700, which adds tab-completion of built-in tags.
|
||||||
+ Added feature #710, which adds an attribute modifier prefix to return the
|
+ Added feature #710, which adds an attribute modifier prefix to return the
|
||||||
complement of a filtered set (thanks to Dan White).
|
complement of a filtered set (thanks to Dan White).
|
||||||
|
|
||||||
|
# Tracked Bugs, sorted by ID.
|
||||||
+ Fixed Bug #713, which fixes typos in the holidays-UK.rc file (thanks to
|
+ Fixed Bug #713, which fixes typos in the holidays-UK.rc file (thanks to
|
||||||
Alexei Romanoff).
|
Alexei Romanoff).
|
||||||
+ Added feature #714, including Belarus holidays (thanks to Alexei Romanoff).
|
+ Added feature #714, including Belarus holidays (thanks to Alexei Romanoff).
|
||||||
|
|
||||||
|
# Untracked Bugs, biggest first.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
1.9.4 (03/03/2011) b9bae255f4fa03970eced3ac0876935271d1d7a1
|
1.9.4 (03/03/2011) b9bae255f4fa03970eced3ac0876935271d1d7a1
|
||||||
|
|||||||
14
src/diag.cpp
14
src/diag.cpp
@@ -194,7 +194,18 @@ void handleDiagnostics (std::string& outs)
|
|||||||
|
|
||||||
std::cout << " Regex: "
|
std::cout << " Regex: "
|
||||||
<< (context.config.getBoolean ("regex") ? "Enabled" : "Disabled")
|
<< (context.config.getBoolean ("regex") ? "Enabled" : "Disabled")
|
||||||
<< "\n\n";
|
<< "\n";
|
||||||
|
|
||||||
|
// Determine rc.editor/$EDITOR/$VISUAL.
|
||||||
|
char* peditor;
|
||||||
|
if (context.config.get ("editor") != "")
|
||||||
|
std::cout << " rc.editor: " << context.config.get ("editor") << "\n";
|
||||||
|
else if ((peditor = getenv ("VISUAL")) != NULL)
|
||||||
|
std::cout << " $VISUAL: " << peditor << "\n";
|
||||||
|
else if ((peditor = getenv ("EDITOR")) != NULL)
|
||||||
|
std::cout << " $EDITOR: " << peditor << "\n";
|
||||||
|
|
||||||
|
std::cout << "\n";
|
||||||
|
|
||||||
// External commands.
|
// External commands.
|
||||||
std::cout << "[1mExternal Utilities[0m\n";
|
std::cout << "[1mExternal Utilities[0m\n";
|
||||||
@@ -279,6 +290,7 @@ void handleDiagnostics (std::string& outs)
|
|||||||
<< context.getHeight ()
|
<< context.getHeight ()
|
||||||
<< ")\n";
|
<< ")\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << "\n";
|
std::cout << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user