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 () - 1.0.0 () -
0.1.0 () -
- Introduced the new shared library as a git submodule. - 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 While Timewarrior has undergone testing, bugs are sure to remain. If you find
encounter a bug, please enter a new issue at: a bug, please enter a new issue at:
https://bug.tasktools.org https://bug.tasktools.org

View file

@ -32,7 +32,6 @@
void Datafile::initialize (const std::string& name) void Datafile::initialize (const std::string& name)
{ {
_name = 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. // First time in, load the default values.
if (nest == 1) if (nest == 1)
{ {
// This is where defaults would be set. // TODO This is where defaults would be set.
_original_file = File (file)._data; _original_file = File (file)._data;
} }
@ -154,7 +155,7 @@ std::string Rules::dump () const
out << " Settings\n"; out << " Settings\n";
for (const auto& item : _settings) for (const auto& item : _settings)
out << " " << item.first << " " << item.second << "\n"; out << " " << item.first << "=" << item.second << "\n";
return out.str (); return out.str ();
} }