head 1.7; access; symbols OPENPKG_E1_MP_HEAD:1.6 OPENPKG_E1_MP:1.6 OPENPKG_E1_MP_2_STABLE:1.6 OPENPKG_E1_FP:1.6 OPENPKG_2_STABLE_MP:1.6 OPENPKG_2_STABLE_20061018:1.6 OPENPKG_2_STABLE_20060622:1.6 OPENPKG_2_STABLE:1.6.0.2 OPENPKG_2_STABLE_BP:1.6 OPENPKG_2_5_RELEASE:1.5 OPENPKG_2_5_SOLID:1.5.0.2 OPENPKG_2_5_SOLID_BP:1.5 OPENPKG_2_4_RELEASE:1.4 OPENPKG_2_4_SOLID:1.4.0.6 OPENPKG_2_4_SOLID_BP:1.4 OPENPKG_CW_FP:1.4 OPENPKG_2_3_RELEASE:1.4 OPENPKG_2_3_SOLID:1.4.0.4 OPENPKG_2_3_SOLID_BP:1.4 OPENPKG_2_2_RELEASE:1.4 OPENPKG_2_2_SOLID:1.4.0.2 OPENPKG_2_2_SOLID_BP:1.4 OPENPKG_2_1_RELEASE:1.3 OPENPKG_2_1_SOLID:1.3.0.4 OPENPKG_2_1_SOLID_BP:1.3 OPENPKG_2_0_RELEASE:1.3 OPENPKG_2_0_SOLID:1.3.0.2 OPENPKG_2_0_SOLID_BP:1.3 OPENPKG_1_3_RELEASE:1.2.2.1 OPENPKG_1_3_SOLID:1.2.2.1.0.2 OPENPKG_1_3_SOLID_BP:1.2.2.1 OPENPKG_1_STABLE_MP:1.3 OPENPKG_1_2_SOLID:1.2.0.4 OPENPKG_1_2_SOLID_BP:1.2 OPENPKG_1_STABLE:1.2.0.2 OPENPKG_1_STABLE_BP:1.2; locks; strict; comment @# @; 1.7 date 2007.09.07.08.27.22; author rse; state Exp; branches; next 1.6; commitid urjozIkfLx3MpMws; 1.6 date 2006.06.17.20.24.14; author rse; state Exp; branches; next 1.5; commitid m2ip8Qr7crswKoBr; 1.5 date 2005.09.26.13.01.25; author rse; state Exp; branches; next 1.4; 1.4 date 2004.10.08.20.20.16; author thl; state Exp; branches; next 1.3; 1.3 date 2003.06.12.18.15.51; author rse; state Exp; branches; next 1.2; 1.2 date 2002.07.23.07.12.07; author rse; state dead; branches 1.2.2.1; next 1.1; 1.1 date 2002.06.09.10.26.29; author rse; state Exp; branches; next ; 1.2.2.1 date 2003.07.24.20.49.23; author rse; state Exp; branches; next ; desc @@ 1.7 log @upgrading package: devtodo 0.1.19 -> 0.1.20 @ text @Index: src/Todo.h --- src/Todo.h.orig 2006-05-09 13:39:01 +0200 +++ src/Todo.h 2007-09-07 10:22:24 +0200 @@@@ -16,6 +16,7 @@@@ class TodoDB; +class TodoDB; class Todo { public : friend class TodoDB; Index: src/todoterm.cc --- src/todoterm.cc.orig 2007-06-28 15:04:36 +0200 +++ src/todoterm.cc 2007-09-07 10:22:24 +0200 @@@@ -15,13 +15,13 @@@@ int getWidth() { if (!term_initialized) { - char const *termtype = getenv("TERM"); + char *termtype = getenv("TERM"); if (!termtype) { cerr << "can't get terminal type, defaulting to vt100." << endl; cerr << "please set the TERM env variable." << endl; - setenv("TERM", "vt100", 0); + termtype = "vt100"; } - int result = tgetent(info, getenv("TERM")); + int result = tgetent(info, termtype); if (result < 0) throw runtime_error("could not access termcap database"); if (result == 0) Index: util/CommandArgs.cc --- util/CommandArgs.cc.orig 2006-05-09 13:38:33 +0200 +++ util/CommandArgs.cc 2007-09-07 10:22:24 +0200 @@@@ -1,4 +1,5 @@@@ #include "CommandArgs.h" +#include CommandArgs::CommandArgs() { } Index: util/Regex.h --- util/Regex.h.orig 2007-06-28 14:24:00 +0200 +++ util/Regex.h 2007-09-07 10:23:30 +0200 @@@@ -8,6 +8,7 @@@@ #include #include #include +#include #include #include @ 1.6 log @fix building under new GCC 4.1 C++ world order @ text @d2 5 a6 5 --- src/Todo.h.orig 2004-09-03 11:35:13 +0200 +++ src/Todo.h 2006-06-17 22:21:52 +0200 @@@@ -14,6 +14,7 @@@@ 01/02/01 Initial creation */ a11 12 Index: src/TodoDB.h --- src/TodoDB.h.orig 2004-09-03 11:35:14 +0200 +++ src/TodoDB.h 2006-06-17 22:22:26 +0200 @@@@ -108,7 +108,7 @@@@ void initColour(); void initColourPost(); Todo::Priority getPriority(string current = ""); - int TodoDB::markDone(Todo &todo); + int markDone(Todo &todo); void formatItem(ostream &out, int depth, Todo const &item, string const &format); d13 2 a14 2 --- src/todoterm.cc.orig 2004-09-03 11:35:13 +0200 +++ src/todoterm.cc 2006-06-17 22:21:52 +0200 d33 2 a34 2 --- util/CommandArgs.cc.orig 2004-09-03 11:35:16 +0200 +++ util/CommandArgs.cc 2006-06-17 22:21:52 +0200 d42 4 a45 3 --- util/Regex.h.orig 2004-09-03 11:35:18 +0200 +++ util/Regex.h 2006-06-17 22:21:52 +0200 @@@@ -9,6 +9,7 @@@@ d48 1 d50 1 a50 2 +#include #include "c_regex.h" a51 1 #ifndef CRASH_REGEX_CACHE_THRESHOLD @ 1.5 log @fix to build under new GCC 4.0 world order @ text @d3 1 a3 1 +++ src/Todo.h 2005-09-26 14:57:58 +0200 d12 12 d26 1 a26 1 +++ src/todoterm.cc 2005-09-26 14:56:09 +0200 d46 1 a46 1 +++ util/CommandArgs.cc 2005-09-26 14:56:09 +0200 d55 1 a55 1 +++ util/Regex.h 2005-09-26 14:56:09 +0200 @ 1.4 log @patch TERM fallback logic to work without setenv(3) which is not available on Solaris @ text @d1 6 a6 16 --- util/CommandArgs.cc.orig Sun May 26 20:28:55 2002 +++ util/CommandArgs.cc Thu Jun 12 20:09:06 2003 @@@@ -1,4 +1,5 @@@@ #include "CommandArgs.h" +#include CommandArgs::CommandArgs() { } --- util/Regex.h.orig Sat Dec 21 16:10:43 2002 +++ util/Regex.h Thu Jun 12 20:07:25 2003 @@@@ -7,6 +7,7 @@@@ #include #include #include +#include #include "c_regex.h" d8 4 a11 1 #ifndef CRASH_REGEX_CACHE_THRESHOLD d13 2 a14 2 --- src/todoterm.cc.orig 2004-08-29 11:59:48.000000000 +0200 +++ src/todoterm.cc 2004-10-08 22:10:04.913180000 +0200 d32 20 a51 1 @ 1.3 log @fix building @ text @d19 21 @ 1.2 log @upgrading package: devtodo 0.1.13 -> 0.1.14 @ text @d1 18 a18 11 --- src/TodoDB.cc.orig Sun May 26 20:45:27 2002 +++ src/TodoDB.cc Sun Jun 9 11:54:38 2002 @@@@ -450,7 +450,7 @@@@ This function allows for tab completion of priority levels as well as the levels being in the command history. */ -Todo::Priority TodoDB::getPriority(string current = "") +Todo::Priority TodoDB::getPriority(string current) { char *pri[] = { "veryhigh", @ 1.2.2.1 log @mass Merge-From-CURRENT (MFC) in preparation for OpenPKG 1.3 [class PLUS only] @ text @d1 11 a11 18 --- util/CommandArgs.cc.orig Sun May 26 20:28:55 2002 +++ util/CommandArgs.cc Thu Jun 12 20:09:06 2003 @@@@ -1,4 +1,5 @@@@ #include "CommandArgs.h" +#include CommandArgs::CommandArgs() { } --- util/Regex.h.orig Sat Dec 21 16:10:43 2002 +++ util/Regex.h Thu Jun 12 20:07:25 2003 @@@@ -7,6 +7,7 @@@@ #include #include #include +#include #include "c_regex.h" #ifndef CRASH_REGEX_CACHE_THRESHOLD @ 1.1 log @new package: devtodo 0.1.13 (ToDo List Manager) @ text @@