Cleanup: formatting and diagnostics

This commit is contained in:
Paul Beckingham 2016-03-19 17:09:04 -04:00
parent 95d0bd6256
commit 21f2b138b0
4 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,8 @@
1.0.0 () -
0.1.0 () -
- Introduced the new shared library as a git submodule.

4
NEWS
View file

@ -13,8 +13,8 @@ Timewarrior has been built and tested on the following configurations:
---
While Timewarrior has undergone testing, bugs are sure to remain. If you
encounter a bug, please enter a new issue at:
While Timewarrior has undergone testing, bugs are sure to remain. If you find
a bug, please enter a new issue at:
https://bug.tasktools.org

View file

@ -32,7 +32,6 @@
void Datafile::initialize (const std::string& name)
{
_name = name;
}
////////////////////////////////////////////////////////////////////////////////

View file

@ -44,7 +44,8 @@ void Rules::load (const std::string& file, int nest /* = 1 */)
// First time in, load the default values.
if (nest == 1)
{
// This is where defaults would be set.
// TODO This is where defaults would be set.
_original_file = File (file)._data;
}
@ -154,7 +155,7 @@ std::string Rules::dump () const
out << " Settings\n";
for (const auto& item : _settings)
out << " " << item.first << " " << item.second << "\n";
out << " " << item.first << "=" << item.second << "\n";
return out.str ();
}