mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Cleanup: formatting and diagnostics
This commit is contained in:
parent
95d0bd6256
commit
21f2b138b0
4 changed files with 7 additions and 5 deletions
|
@ -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
4
NEWS
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
void Datafile::initialize (const std::string& name)
|
void Datafile::initialize (const std::string& name)
|
||||||
{
|
{
|
||||||
_name = name;
|
_name = name;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -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 ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue