mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Miscellaneous
- Minor edits of little consequence.
This commit is contained in:
parent
147dd61758
commit
03e53ceaf2
3 changed files with 17 additions and 3 deletions
|
@ -1,11 +1,10 @@
|
||||||
Beta1 Punch List
|
Beta1 Punch List
|
||||||
- Expression date math
|
- Working dependencies
|
||||||
- Type-aware Command::modify_task code
|
|
||||||
- DOM access
|
- DOM access
|
||||||
- Working merge command
|
- Working merge command
|
||||||
- task.1 man page that is accurate
|
- task.1 man page that is accurate
|
||||||
- taskrc.5 man page that is accurate
|
- taskrc.5 man page that is accurate
|
||||||
- 42 failing unit tests (arbitrary non-zero number)
|
- 42 or fewer failing unit tests (arbitrary non-zero number)
|
||||||
|
|
||||||
Beta 2/3 Punch List
|
Beta 2/3 Punch List
|
||||||
- Task server integration
|
- Task server integration
|
||||||
|
|
|
@ -559,6 +559,20 @@ void Context::clear ()
|
||||||
tdb2.clear ();
|
tdb2.clear ();
|
||||||
a3.clear ();
|
a3.clear ();
|
||||||
|
|
||||||
|
// Eliminate the command objects.
|
||||||
|
std::map <std::string, Command*>::iterator com;
|
||||||
|
for (com = commands.begin (); com != commands.end (); ++com)
|
||||||
|
delete com->second;
|
||||||
|
|
||||||
|
commands.clear ();
|
||||||
|
|
||||||
|
// Eliminate the column objects.
|
||||||
|
std::map <std::string, Column*>::iterator col;
|
||||||
|
for (col = columns.begin (); col != columns.end (); ++col)
|
||||||
|
delete col->second;
|
||||||
|
|
||||||
|
columns.clear ();
|
||||||
|
|
||||||
clearMessages ();
|
clearMessages ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,7 @@ int CmdAdd::execute (std::string& output)
|
||||||
if (context.verbose ("new-id"))
|
if (context.verbose ("new-id"))
|
||||||
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
|
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
|
||||||
|
|
||||||
|
// TODO verbosity token.
|
||||||
context.footnote (onProjectChange (task));
|
context.footnote (onProjectChange (task));
|
||||||
|
|
||||||
context.tdb2.commit ();
|
context.tdb2.commit ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue