[Xfce4-commits] r26900 - in xfcalendar/trunk: . src
Author: juha Date: 2008-04-29 11:30:34 + (Tue, 29 Apr 2008) New Revision: 26900 Modified: xfcalendar/trunk/NEWS xfcalendar/trunk/src/event-list.c Log: 1) two memory leaks found and fixed when checking the code with valgrind and xrestop 2) updated NEWS file Modified: xfcalendar/trunk/NEWS === --- xfcalendar/trunk/NEWS 2008-04-28 20:07:21 UTC (rev 26899) +++ xfcalendar/trunk/NEWS 2008-04-29 11:30:34 UTC (rev 26900) @@ -1,3 +1,46 @@ +20080429: differences between 4.6 and 4.4 Version or Orage +- +* globaltime added. +- shows several clocks from different timezones +- can be raised and hidden by clicking middle mouse + button on orage clock panel plugin +- Has timetune feature, which makes it easy to see what + the time is in other clocks on certain time +* all visible dates are now in country native format (strftime (%x)) +* all parameters now visible in preferences, + which was also restructured +* new appointment types: TODO and JOURNAL +- TODO can be used to remember things that needs to done +- JOURNALs are for notes and things to remember +* Possible to rename Orage calendar files +* External files can be used +- It is possible to add fiels from other sources + and Orage keeps track on those. +* Export and import appointments. +* Text search in event list +* Orage is now dependent on local libical. +- standard libical cannot be used due to several fixes + done to Orage's private copy +* daylist view +- Possible to see calendar in day view format in addition + to the old list view. +* new alarms. +- libnotify alarms +- script type alarms +* possibility to set alarm based on end time also +* possible to define default alarm +* persistent alarms +- persistent alarms are raised after Orage is started + even if your computer or Orage has been turned off when the + alarm happened. +* Orage and orageclock now only wake up when needed. +- saves battery in laptops when timer wakes up only when + needed instead of regularly every second. +* Main calendar now has list of events and todos. +* Categories added +- Also possible to give colour to certain category + and then colour is shown in even list view + 20070104: - * Orage version 4.5.9 released @@ -3,9 +46,9 @@ * globaltime added. Can show times in several timezones -20072101: +20070121: - * Orage version 4.4.0 released together with Xfce 4.4.0 -20061904: +20060419: - * xfcalendar renamed to orage Modified: xfcalendar/trunk/src/event-list.c === --- xfcalendar/trunk/src/event-list.c 2008-04-28 20:07:21 UTC (rev 26899) +++ xfcalendar/trunk/src/event-list.c 2008-04-29 11:30:34 UTC (rev 26900) @@ -243,6 +243,7 @@ , background-gdk,color , background-set,TRUE , NULL); +g_free(categories); } static void start_time_data_func(GtkTreeViewColumn *col, GtkCellRenderer *rend @@ -346,6 +347,7 @@ , NULL); } g_free(stime); +g_free(stime2); } else { g_object_set(rend ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r26901 - in xfcalendar/trunk: . panel-plugin
Author: juha Date: 2008-04-29 20:23:38 + (Tue, 29 Apr 2008) New Revision: 26901 Modified: xfcalendar/trunk/configure.in.in xfcalendar/trunk/panel-plugin/orageclock.c Log: fixed timing problem in orageclock panel plugin. If only hour or slower change clock was shown, the timer did not refresh it fast enough. version 4.5.13.8 ready for production except for documents. Modified: xfcalendar/trunk/configure.in.in === --- xfcalendar/trunk/configure.in.in2008-04-29 11:30:34 UTC (rev 26900) +++ xfcalendar/trunk/configure.in.in2008-04-29 20:23:38 UTC (rev 26901) @@ -9,7 +9,7 @@ dnl dnl Version information -m4_define([orage_version], [4.5.13.7-svn]) +m4_define([orage_version], [4.5.13.8-svn]) m4_define([gtk_minimum_version], [2.6.0]) m4_define([xfce_minimum_version], [4.4.0]) Modified: xfcalendar/trunk/panel-plugin/orageclock.c === --- xfcalendar/trunk/panel-plugin/orageclock.c 2008-04-29 11:30:34 UTC (rev 26900) +++ xfcalendar/trunk/panel-plugin/orageclock.c 2008-04-29 20:23:38 UTC (rev 26901) @@ -121,12 +121,20 @@ { time_t t; gint delay_time = 0; +/* if we are using longer than 1 minute (= 6) interval, we need + * to delay the first start so that clock changes when minute or hour + * changes */ oc_get_time(clock); time(t); localtime_r(t, clock-now); -if (clock-interval = 6) -delay_time = (clock-interval-clock-now.tm_sec*1000); +if (clock-interval = 6) { +if (clock-interval = 360) /* match to next full hour */ +delay_time = (clock-interval - +(clock-now.tm_min*6 + clock-now.tm_sec*1000)); +else /* match to next full minute */ +delay_time = (clock-interval - clock-now.tm_sec*1000); +} if (clock-delay_timeout_id) { g_source_remove(clock-delay_timeout_id); clock-delay_timeout_id = 0; @@ -137,21 +145,31 @@ } clock-delay_timeout_id = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE , delay_time, (GSourceFunc)oc_get_time_delay, clock, NULL); -return(TRUE); +/* if we have longer than 1 sec timer, we need to reschedule + * it regularly since it will fall down slowly but surely, so + * we keep this running. */ +if (clock-interval = 6) { +if (delay_time 6) +/* let's run it once in case we happened to kill it + just when it was supposed to start */ +oc_get_time(clock); +return(FALSE); +} +else +return(TRUE); } static gboolean oc_end_tuning(Clock *clock) { -/* if we have longer than 1 sec timer, we need to reschedule it regularly - * since it will fall down slowly but surely - * */ +/* if we have longer than 1 sec timer, we need to reschedule + * it regularly since it will fall down slowly but surely */ if (clock-adjust_timeout_id) { g_source_remove(clock-adjust_timeout_id); clock-adjust_timeout_id = 0; } -if (clock-interval = 6) { +if (clock-interval = 6) { /* resync it after each 6 hours */ clock-adjust_timeout_id = g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE -, 60*60*1000, (GSourceFunc)oc_start_timer, clock, NULL); +, 6*60*60*1000, (GSourceFunc)oc_start_timer, clock, NULL); } g_free(clock-tune); clock-tune = NULL; ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r26902 - xfconf/trunk/xfconfd
Author: stephan Date: 2008-04-29 22:37:02 + (Tue, 29 Apr 2008) New Revision: 26902 Modified: xfconf/trunk/xfconfd/xfconf-backend.c Log: prevent xfconfd from freezing Modified: xfconf/trunk/xfconfd/xfconf-backend.c === --- xfconf/trunk/xfconfd/xfconf-backend.c 2008-04-29 20:23:38 UTC (rev 26901) +++ xfconf/trunk/xfconfd/xfconf-backend.c 2008-04-29 22:37:02 UTC (rev 26902) @@ -159,6 +159,7 @@ } return FALSE; } +p++; } return TRUE; ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r26903 - xfconf/trunk/xfconf
Author: stephan Date: 2008-04-29 22:48:24 + (Tue, 29 Apr 2008) New Revision: 26903 Modified: xfconf/trunk/xfconf/xfconf-channel.c Log: xfconf_channel_set_uint works better when it writes uints to the gvalue instead of ints Modified: xfconf/trunk/xfconf/xfconf-channel.c === --- xfconf/trunk/xfconf/xfconf-channel.c2008-04-29 22:37:02 UTC (rev 26902) +++ xfconf/trunk/xfconf/xfconf-channel.c2008-04-29 22:48:24 UTC (rev 26903) @@ -784,7 +784,7 @@ g_return_val_if_fail(XFCONF_IS_CHANNEL(channel) property, FALSE); g_value_init(val, G_TYPE_UINT); -g_value_set_int(val, value); +g_value_set_uint(val, value); ret = xfconf_client_set_property(proxy, channel-channel_name, property, val, ERROR); ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] r26904 - xfconf/trunk/xfconfd
Author: kelnos Date: 2008-04-30 02:35:39 + (Wed, 30 Apr 2008) New Revision: 26904 Modified: xfconf/trunk/xfconfd/xfconf-backend.c Log: i suck. 0-9 are valid characters. Modified: xfconf/trunk/xfconfd/xfconf-backend.c === --- xfconf/trunk/xfconfd/xfconf-backend.c 2008-04-29 22:48:24 UTC (rev 26903) +++ xfconf/trunk/xfconfd/xfconf-backend.c 2008-04-30 02:35:39 UTC (rev 26904) @@ -108,6 +108,7 @@ p++; while(*p) { if(!(*p = 'A' *p = 'Z') !(*p = 'a' *p = 'z') +!(*p = '0' *p = '9') *p != '_' *p != '-' *p != '/') { if(error) { @@ -150,6 +151,7 @@ p++; while(*p) { if(!(*p = 'A' *p = 'Z') !(*p = 'a' *p = 'z') +!(*p = '0' *p = '9') *p != '_' *p != '-') { if(error) { ___ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits