- Fixed bug causing seg faults for Ubuntu users.
This commit is contained in:
@@ -12,11 +12,14 @@ represents a feature release, and the Z represents a patch.
|
|||||||
- Recurring tasks
|
- Recurring tasks
|
||||||
|
|
||||||
|
|
||||||
1.3.1 (?)
|
1.3.1 (6/21/2008)
|
||||||
+ Bug: "showage" configuration variable should apply to all reports, not
|
|
||||||
just the ones based on "list"
|
|
||||||
+ New configuration variable, "defaultwidth" that determines the width
|
+ New configuration variable, "defaultwidth" that determines the width
|
||||||
of tables when ncurses support is not available
|
of tables when ncurses support is not available
|
||||||
|
+ Bug: "showage" configuration variable should apply to all reports, not
|
||||||
|
just the ones based on "list"
|
||||||
|
+ Bug: Fixed segmentation faults on Ubuntu when the "dateformat"
|
||||||
|
configuration variables was missing. This was a code bug, and should
|
||||||
|
have affected more platforms.
|
||||||
|
|
||||||
------ reality -----------------------------------
|
------ reality -----------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -48,10 +48,12 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Fixed bug where "showage" configuration variable was not being
|
|
||||||
oberved by the "task long" report
|
|
||||||
<li>New configuration variable "defaultwidth" determines the width
|
<li>New configuration variable "defaultwidth" determines the width
|
||||||
of windows in the absense of ncurses support
|
of windows in the absense of ncurses support
|
||||||
|
<li>Fixed bug where "showage" configuration variable was not being
|
||||||
|
oberved by the "task long" report
|
||||||
|
<li>Fixed bug causing segmentation faults (mostly for Ubuntu users)
|
||||||
|
when various commands are run
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -27,14 +27,15 @@
|
|||||||
<h2 class="title">Segmentation Fault for certain commands</h2>
|
<h2 class="title">Segmentation Fault for certain commands</h2>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<p>
|
<p>
|
||||||
Task 1.3.0 and earlier has been generating segmentation faults
|
Upgrading task to version 1.1.0, 1.2.0 and 1.3.0 can cause
|
||||||
after upgrading to a new version of task. This is mostly
|
segmentation faults. This is mostly occurring for Ubuntu users,
|
||||||
occurring for Ubuntu users.
|
although there is no reason for it to be limited to Ubuntu.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
While a fix is being worked on, there is a workaround.
|
Task 1.3.1 fixes this bug, but there is a workaround for users
|
||||||
Add the following line to your ~/.taskrc file:
|
of earlier versions. Add the following line to your ~/.taskrc
|
||||||
|
file:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<code><pre>dateformat=m/d/Y</pre></code>
|
<code><pre>dateformat=m/d/Y</pre></code>
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ void Config::createDefault (const std::string& file)
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Return the configuration value given the specified key.
|
// Return the configuration value given the specified key.
|
||||||
const std::string& Config::get (const char* key)
|
const std::string Config::get (const char* key)
|
||||||
{
|
{
|
||||||
return this->get (std::string (key));
|
return this->get (std::string (key));
|
||||||
}
|
}
|
||||||
@@ -165,7 +165,7 @@ const std::string& Config::get (const char* key)
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Return the configuration value given the specified key. If a default_value
|
// Return the configuration value given the specified key. If a default_value
|
||||||
// is present, it will be the returned value in the event of a missing key.
|
// is present, it will be the returned value in the event of a missing key.
|
||||||
const std::string& Config::get (
|
const std::string Config::get (
|
||||||
const char* key,
|
const char* key,
|
||||||
const char* default_value)
|
const char* default_value)
|
||||||
{
|
{
|
||||||
@@ -174,7 +174,7 @@ const std::string& Config::get (
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Return the configuration value given the specified key.
|
// Return the configuration value given the specified key.
|
||||||
const std::string& Config::get (const std::string& key)
|
const std::string Config::get (const std::string& key)
|
||||||
{
|
{
|
||||||
return (*this)[key];
|
return (*this)[key];
|
||||||
}
|
}
|
||||||
@@ -182,7 +182,7 @@ const std::string& Config::get (const std::string& key)
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Return the configuration value given the specified key. If a default_value
|
// Return the configuration value given the specified key. If a default_value
|
||||||
// is present, it will be the returned value in the event of a missing key.
|
// is present, it will be the returned value in the event of a missing key.
|
||||||
const std::string& Config::get (
|
const std::string Config::get (
|
||||||
const std::string& key,
|
const std::string& key,
|
||||||
const std::string& default_value)
|
const std::string& default_value)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,10 +40,10 @@ public:
|
|||||||
bool load (const std::string&);
|
bool load (const std::string&);
|
||||||
void createDefault (const std::string&);
|
void createDefault (const std::string&);
|
||||||
|
|
||||||
const std::string& get (const char*);
|
const std::string get (const char*);
|
||||||
const std::string& get (const char*, const char*);
|
const std::string get (const char*, const char*);
|
||||||
const std::string& get (const std::string&);
|
const std::string get (const std::string&);
|
||||||
const std::string& get (const std::string&, const std::string&);
|
const std::string get (const std::string&, const std::string&);
|
||||||
bool get (const std::string&, bool);
|
bool get (const std::string&, bool);
|
||||||
int get (const std::string&, const int);
|
int get (const std::string&, const int);
|
||||||
double get (const std::string&, const double);
|
double get (const std::string&, const double);
|
||||||
|
|||||||
Reference in New Issue
Block a user