Integration - "projects" report

- "projects" report converted to 1.8.0.
- Relocated code from task.cpp to recur.cpp to allow unit tests to link
  without includign task.cpp and therefore main.
- Removed obsolete sandbox directory.
- Fixed bug where Config::load deleted the pre-loaded custom reports.
- Fixed bug where Cmd::valid failed to include custom reports properly.
This commit is contained in:
Paul Beckingham
2009-06-08 00:54:49 -04:00
parent cf67e0142c
commit fb5fe5f5b4
12 changed files with 494 additions and 516 deletions

View File

@@ -50,23 +50,25 @@ void allCustomReports (std::vector <std::string>&);
// task.cpp
void gatherNextTasks (const TDB&, T&, std::vector <T>&, std::vector <int>&);
void nag (TDB&, T&);
int getDueState (const std::string&);
void handleRecurrence (TDB&, std::vector <T>&);
bool generateDueDates (T&, std::vector <Date>&);
Date getNextRecurrence (Date&, std::string&);
void updateRecurrenceMask (TDB&, std::vector <T>&, T&);
void onChangeCallback ();
std::string runTaskCommand (int, char**, TDB&, bool gc = true, bool shadow = true);
std::string runTaskCommand (std::vector <std::string>&, TDB&, bool gc = false, bool shadow = false);
// recur.cpp
void handleRecurrence (TDB&, std::vector <T>&);
Date getNextRecurrence (Date&, std::string&);
bool generateDueDates (T&, std::vector <Date>&);
void updateRecurrenceMask (TDB&, std::vector <T>&, T&);
int getDueState (const std::string&);
void nag (TDB&, T&);
// command.cpp
std::string handleAdd (TDB&, T&);
std::string handleAppend (TDB&, T&);
std::string handleExport (TDB&, T&);
std::string handleDone (TDB&, T&);
std::string handleModify (TDB&, T&);
std::string handleProjects (TDB&, T&);
std::string handleProjects ();
std::string handleTags (TDB&, T&);
std::string handleUndelete (TDB&, T&);
std::string handleVersion ();