head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.12 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.10 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.8 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.6 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.4 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.2 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.1.0.34 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.32 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.30 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.28 pkgsrc-2008Q1:1.1.0.26 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.24 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.22 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.20 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.18 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.16 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.14 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.12 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.10 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.8 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.6 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.4 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2008.10.28.23.38.34; author wiz; state dead; branches; next 1.1; 1.1 date 2005.03.16.12.48.49; author rillig; state Exp; branches; next ; desc @@ 1.2 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-aq,v 1.1 2005/03/16 12:48:49 rillig Exp $ gcc-2.95.3 does not like code intermixed with declarations. --- lib/qof/qofquery-deserial.c.orig Sun May 23 22:57:30 2004 +++ lib/qof/qofquery-deserial.c Wed Mar 16 09:43:29 2005 @@@@ -184,6 +184,7 @@@@ SUBRNAME (xmlNodePtr root) { \ xmlNodePtr xp = root->xmlChildrenNode; \ xmlNodePtr node; \ + QofQueryPredData *pred; \ \ QofQueryCompare how = QOF_COMPARE_EQUAL; \ CTYPE val = 0; \ @@@@ -197,7 +198,6 @@@@ SUBRNAME (xmlNodePtr root) {} \ } \ \ - QofQueryPredData *pred; \ pred = PRED (how, val); \ return pred; \ } @@@@ -251,6 +251,7 @@@@ qof_query_pred_kvp_from_xml (xmlNodePtr QofQueryCompare how = QOF_COMPARE_EQUAL; GSList *path = NULL; KvpValue *value = NULL; + QofQueryPredData *pred; for (node=xp; node; node = node->next) { @@@@ -271,7 +272,6 @@@@ qof_query_pred_kvp_from_xml (xmlNodePtr GET_DATE(&value, wrap_new_timespec, "qofquery:date"); } - QofQueryPredData *pred; pred = qof_query_kvp_predicate (how, path, value); g_slist_free (path); return pred; @@@@ -287,6 +287,8 @@@@ qof_query_pred_guid_from_xml (xmlNodePtr GList *guid_list = NULL; QofGuidMatch sm = QOF_GUID_MATCH_ANY; + QofQueryPredData *pred; + GList *n; for (node=xp; node; node = node->next) { @@@@ -313,11 +315,9 @@@@ qof_query_pred_guid_from_xml (xmlNodePtr } } - QofQueryPredData *pred; pred = qof_query_guid_predicate (sm, guid_list); /* The predicate made a copy of everything, so free our stuff */ - GList *n; for (n=guid_list; n; n=n->next) { guid_free (n->data); @@@@ -336,6 +336,7 @@@@ qof_query_pred_char_from_xml (xmlNodePtr QofCharMatch sm = QOF_CHAR_MATCH_ANY; const char * char_list = NULL; + QofQueryPredData *pred; for (node=xp; node; node = node->next) { @@@@ -348,7 +349,6 @@@@ qof_query_pred_char_from_xml (xmlNodePtr {} } - QofQueryPredData *pred; pred = qof_query_char_predicate (sm, char_list); return pred; } @@@@ -364,6 +364,7 @@@@ qof_query_pred_numeric_from_xml (xmlNode QofQueryCompare how = QOF_COMPARE_EQUAL; QofNumericMatch sm = QOF_NUMERIC_MATCH_ANY; gnc_numeric num; + QofQueryPredData *pred; for (node=xp; node; node = node->next) { @@@@ -376,7 +377,6 @@@@ qof_query_pred_numeric_from_xml (xmlNode {} } - QofQueryPredData *pred; pred = qof_query_numeric_predicate (how, sm, num); return pred; } @@@@ -392,6 +392,7 @@@@ qof_query_pred_date_from_xml (xmlNodePtr QofQueryCompare how = QOF_COMPARE_EQUAL; QofDateMatch sm = QOF_DATE_MATCH_ROUNDED; Timespec date = {0,0}; + QofQueryPredData *pred; for (node=xp; node; node = node->next) { @@@@ -404,7 +405,6 @@@@ qof_query_pred_date_from_xml (xmlNodePtr {} } - QofQueryPredData *pred; pred = qof_query_date_predicate (how, sm, date); return pred; } @@@@ -421,6 +421,7 @@@@ qof_query_pred_string_from_xml (xmlNodeP QofStringMatch sm = QOF_STRING_MATCH_CASEINSENSITIVE; gboolean is_regex = FALSE; const char *pstr = NULL; + QofQueryPredData *pred; for (node=xp; node; node = node->next) { @@@@ -434,7 +435,6 @@@@ qof_query_pred_string_from_xml (xmlNodeP {} } - QofQueryPredData *pred; pred = qof_query_string_predicate (how, pstr, sm , is_regex); return pred; } @@@@ -476,8 +476,9 @@@@ qof_query_term_from_xml (QofQuery *q, xm if (0 == strcmp (node->name, "qofquery:invert")) { QofQuery *qt = qof_query_create(); + QofQuery *qinv; qof_query_term_from_xml (qt, node); - QofQuery *qinv = qof_query_invert (qt); + qinv = qof_query_invert (qt); qof_query_merge_in_place (q, qinv, QOF_QUERY_AND); qof_query_destroy (qinv); qof_query_destroy (qt); @@@@ -594,10 +595,12 @@@@ QofQuery * qof_query_from_xml (xmlNodePtr root) { QofQuery *q; + xmlChar *version; + xmlNodePtr qpart, node; if (!root) return NULL; - xmlChar * version = xmlGetProp(root, "version"); + version = xmlGetProp(root, "version"); if (!root->name || strcmp ("qof:qofquery", root->name)) { // XXX something is wrong. warn ... @@@@ -606,8 +609,7 @@@@ qof_query_from_xml (xmlNodePtr root) q = qof_query_create (); - xmlNodePtr qpart = root->xmlChildrenNode; - xmlNodePtr node; + qpart = root->xmlChildrenNode; for (node=qpart; node; node = node->next) { if (node->type != XML_ELEMENT_NODE) continue; @ 1.1 log @Added patches to enable building with gcc-2.95.3. Approved by wiz. @ text @d1 1 a1 1 $NetBSD$ @