head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.12 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.10 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.8 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.6 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.34 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.32 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.30 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.28 pkgsrc-2008Q1:1.2.0.26 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.24 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.22 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.20 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.18 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.16 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.14 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.12 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.10 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.2 pkgsrc-2004Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2008.10.28.23.38.34; author wiz; state dead; branches; next 1.2; 1.2 date 2005.03.16.12.48.49; author rillig; state Exp; branches; next 1.1; 1.1 date 2004.11.24.22.35.25; author kristerw; state Exp; branches; next ; desc @@ 1.3 log @Update to 2.3.0: New in the 2.3.0 Release: ------------------------- The main changes in this release are: * a new implementation of the projects tree using the GtkTreeView component which fixes a lot of the bugs regarding the projects tree manipulation and prepares the way for many customizations in future releases. * an initial implementation of a tray icon that displays timer status and allows the user to toggle the timer by clicking on it. * a rewrite of the idle detection using the XScreenSaver extension and of the timer system to make it more system power conservation friendly. * port of the report system to use guile version 1.8. * many changes in the configure script, including porperly checking for guile and gconf and version of available DBUS. * removal of some deprecated APIs usage. In addition, many bugs have been fixed, including: * broken behavior of drag-and-drop (#1856268) * compiles but crashes on startup in fedora core 5 (#1802501) * activity journal truncates seconds (#1706365) * green bar flickers when value changes (#1171204) * dragging project to make sub-project will not scroll (#831808) New in the 2.2.3 Release: ------------------------- This release brings better internationalization in reports with locale based formating of times and monetary values. The newly added support for DBus messages allows users to start/stop the timer and save/reload the data file from the command line using the gnotime-remote script. Also, an update user's manual covers most of the features available in this version. In addition, many bugs have been fixed, including: -- Crash when saving to full filesystem (#1548248) -- Day of century calculation error causing skipped day in reports -- Conflicting keybindings (#1639477) -- Invoice report doesn't work in locales other than C -- Hidden question dialog when overwriting file during report saving (http://bugs.debian.org/422023) @ text @$NetBSD: patch-aj,v 1.2 2005/03/16 12:48:49 rillig Exp $ --- src/proj.c.orig Sat May 22 16:27:59 2004 +++ src/proj.c Wed Mar 16 11:12:06 2005 @@@@ -1948,8 +1948,6 @@@@ prj_obj_get_latest (GttProject *prj) gboolean gtt_project_obj_register (void) { - global_book = qof_book_new(); - /* Associate an ASCII name to each getter, as well as the return type */ static QofParam params[] = { { GTT_PROJECT_EARLIEST, QOF_TYPE_DATE, (QofAccessFunc)prj_obj_get_earliest, NULL}, @@@@ -1957,6 +1955,8 @@@@ static QofParam params[] = { { NULL }, }; + global_book = qof_book_new(); + qof_class_register (GTT_PROJECT_ID, (QofSortFunc)prj_obj_order, params); return qof_object_register (&prj_object_def); } @@@@ -2290,9 +2290,10 @@@@ gtt_task_is_first_task (GttTask *tsk) gboolean gtt_task_is_last_task (GttTask *tsk) { + GList *last; if (!tsk || !tsk->parent || !tsk->parent->task_list) return TRUE; - GList *last = g_list_last (tsk->parent->task_list); + last = g_list_last (tsk->parent->task_list); if ((GttTask *) last->data == tsk) return TRUE; return FALSE; } @@@@ -2354,10 +2355,10 @@@@ time_t gtt_task_get_secs_earliest (GttTask *tsk) { GList *node; - if (NULL == tsk->interval_list) return 0; - time_t earliest = INT_MAX; + if (NULL == tsk->interval_list) return 0; + for (node=tsk->interval_list; node; node=node->next) { GttInterval * ivl = node->data; @@@@ -2370,9 +2371,8 @@@@ time_t gtt_task_get_secs_latest (GttTask *tsk) { GList *node; - if (NULL == tsk->interval_list) return 0; - time_t latest = INT_MIN; + if (NULL == tsk->interval_list) return 0; for (node=tsk->interval_list; node; node=node->next) { @ 1.2 log @Added patches to enable building with gcc-2.95.3. Approved by wiz. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.1 2004/11/24 22:35:25 kristerw Exp $ @ 1.1 log @Make this build under NetBSD 1.6.2 (C99-isms, and a missing header file). @ text @d1 1 a1 1 $NetBSD$ d3 33 a35 3 --- src/proj.c.orig Wed Nov 24 22:40:26 2004 +++ src/proj.c Wed Nov 24 22:41:13 2004 @@@@ -2306,10 +2306,10 @@@@ d48 1 a48 1 @@@@ -2322,9 +2322,8 @@@@ @