Hello community, here is the log from the commit of package evolution-data-server checked in at Mon Nov 17 16:47:50 CET 2008. -------- --- GNOME/evolution-data-server/evolution-data-server.changes 2008-10-31 15:34:35.000000000 +0100 +++ /mounts/work_src_done/STABLE/evolution-data-server/evolution-data-server.changes 2008-11-17 11:52:17.267401000 +0100 @@ -1,0 +2,19 @@ +Mon Nov 17 11:52:06 CET 2008 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Fri Nov 7 09:39:34 CET 2008 - psankar@suse.de + +- Push 2.24.1.1 tarball + + Bugs fixed: + bgo#532136, bgo#555979, bgo#556119, bgo#558727, bgo#558737, bgo#558883, + bnc#209514, bnc#372382, bnc#434946, bnc#434950, bnc#434958, + bnc#435725, bnc#435727, bnc#435964, bnc#440502 + + Updated Translations + +- bnc-441763-show-meeting-icon.patch (Sankar) - Show different +icons for meetings in message list +- dice-eds-changes.patch (Chenthill) - EDS changes for DICE integration + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- evolution-data-server-2.24.1.tar.bz2 New: ---- bnc-441763-show-meeting-icon.patch dice-eds-changes.patch evolution-data-server-2.24.1.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evolution-data-server.spec ++++++ --- /var/tmp/diff_new_pack.K24656/_old 2008-11-17 16:47:41.000000000 +0100 +++ /var/tmp/diff_new_pack.K24656/_new 2008-11-17 16:47:41.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package evolution-data-server (Version 2.24.1) +# spec file for package evolution-data-server (Version 2.24.1.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -48,9 +48,16 @@ License: GPL v2 or later Group: Development/Libraries/GNOME AutoReqProv: on +# bug437293 +%ifarch ppc64 +Obsoletes: evolution-data-server-64bit +%endif +%ifarch %ix86 ppc +Obsoletes: evolution-data-server-32bit +%endif Summary: Evolution Data Server -Version: 2.24.1 -Release: 5 +Version: 2.24.1.1 +Release: 1 Source0: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/2.24/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM evolution-data-server-1.11.5-cert-auth-complete.patch bgo253574 -- Fix has been submitted to bgo. Patch3: evolution-data-server-1.11.5-cert-auth-complete.patch @@ -58,6 +65,10 @@ Patch4: bnc-304835-ex-crash-after-restart.patch # PATCH-FIX-UPSTREAM bnc-307861-calendar-auth.diff -- bnc307861 bgo253574 -- Fix has been submitted to bgo. Patch5: bnc-307861-calendar-auth.diff +# PATCH-FIX-UPSTREAM bnc-441763-show-meeting-icon.patch psankar@novell.com -- Fix has been submitted to bgo. +Patch6: bnc-441763-show-meeting-icon.patch +# PATCH-FEATURE-OPENSUSE dice-eds-changes.patch pchenthill@novell.com -- Patch yet to be pushed upstream +Patch7: dice-eds-changes.patch # PATCH-FEATURE-OPENSUSE evolution-data-server-shared-nss-db.patch hpj@novell.com -- Migrate to shared NSS database. Patch10: evolution-data-server-shared-nss-db.patch # PATCH-FIX-OPENSUSE eds-core-mapi-changes.diff msuman@suse.de -- This patch contains changes in the core code base for the MAPI provider. @@ -132,6 +143,8 @@ ###%patch3 ###%patch4 ###%patch5 +%patch6 +%patch7 -p1 %patch10 -p1 %patch100 -p1 @@ -170,7 +183,7 @@ %fdupes $RPM_BUILD_ROOT %if %suse_version > 1100 %{__mv} $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version} $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version}.bin -echo -e "#!/bin/sh\n\nLD_LIBRARY_PATH=%{_libdir}/evoldap/lib exec -a \"%{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version}\" %{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version}.bin \$@\n\nexit \$?" > $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version} +echo -e "#!/bin/sh\n\nLD_LIBRARY_PATH=%{_libdir}/evoldap/lib MONO_PATH=%{_libdir}/mono:%{_libdir}/dice exec -a \"%{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version}\" %{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version}.bin \$@\n\nexit \$?" > $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version} %{__chmod} +x $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/evolution-data-server-%{_evo_version} %endif @@ -205,12 +218,24 @@ %{_datadir}/gtk-doc/html/* %changelog +* Mon Nov 17 2008 olh@suse.de +- obsolete old -XXbit packages (bnc#437293) +* Fri Nov 07 2008 psankar@suse.de +- Push 2.24.1.1 tarball + + Bugs fixed: + bgo#532136, bgo#555979, bgo#556119, bgo#558727, bgo#558737, bgo#558883, + bnc#209514, bnc#372382, bnc#434946, bnc#434950, bnc#434958, + bnc#435725, bnc#435727, bnc#435964, bnc#440502 + + Updated Translations +- bnc-441763-show-meeting-icon.patch (Sankar) - Show different + icons for meetings in message list +- dice-eds-changes.patch (Chenthill) - EDS changes for DICE integration * Fri Oct 31 2008 msuman@suse.de - Invoke the binaries from a script which sets the library path for picking the LDAP libraries. * Wed Oct 29 2008 maw@suse.de - Make the -devel subpackage require nss-shared-helper-devel. -* Tue Oct 28 2008 maw@suse.de +* Wed Oct 29 2008 maw@suse.de - Reorder the list of build requirements - Tag eds-core-mapi-changes.diff - Run autotools before running configure. @@ -423,7 +448,7 @@ added patch includes those changes as well. * Wed Mar 26 2008 sbrabec@suse.cz - Fixed GroupWise attachment crash on x86_64 (bgo#522389). -* Thu Mar 13 2008 maw@suse.de +* Fri Mar 14 2008 maw@suse.de - Update to versoin 2.22.0: + Bugs fixed: bgo#327851, bgo#518728, and bgo#520362 + Minor API doc updates @@ -489,7 +514,7 @@ + Updated translations + Protect against a NULL subject string - Remove old patches, and refresh and renumber the remaining ones. -* Tue Dec 04 2007 maw@suse.de +* Wed Dec 05 2007 maw@suse.de - Don't require openldap2 to build. * Thu Oct 11 2007 sbrabec@suse.cz - Removed bogus dependency on mDNSResponder. @@ -500,7 +525,7 @@ + Bug (bugzilla.novell.com) fixed: #275990 + Updated timezone info + Updated translations. -* Fri Sep 14 2007 maw@suse.de +* Sat Sep 15 2007 maw@suse.de - Fix bnc-307861-calendar-auth.diff. * Fri Sep 14 2007 pchenthill@novell.com - evolution-data-server-1.11.5-cert-auth-complete.patch: Updated the @@ -561,7 +586,7 @@ * Fri Jun 22 2007 sbrabec@suse.cz - Fixed IMAP UID format string vulnerability (#284828, GNOME#447414, CVE-2007-3257). -* Wed May 23 2007 ro@suse.de +* Thu May 24 2007 ro@suse.de - added ldconfig to post scripts * Wed Apr 11 2007 maw@suse.de - Update to version 1.10.1 @@ -589,7 +614,7 @@ evolution-data-server-devel. * Fri Dec 29 2006 james@usr-local-bin.org - Re-enable custom configure options. -* Wed Dec 13 2006 maw@suse.de +* Thu Dec 14 2006 maw@suse.de - Move to /usr - Do some specfile cleanup. * Tue Nov 21 2006 sbrabec@suse.cz @@ -626,7 +651,7 @@ - update to 1.8.0: * updated translation * bugfixes -* Fri Aug 18 2006 jhargadon@suse.de +* Sat Aug 19 2006 jhargadon@suse.de - update to version 1.7.91 - Add filters to Groupwise SOAP calls so that each component fetches items of its own type and none other @@ -639,10 +664,10 @@ - Support for Gadu Gadu IM in Contact Entries - Memory reduction and Performance improvements in Contacts - Removed patches that were incorporated upstream. -* Wed Jul 19 2006 kharish@novell.com +* Thu Jul 20 2006 kharish@novell.com - Patch to add alarms to GW meetings by default based on customer preference. Fixes bnc 167330. -* Tue Jul 18 2006 kharish@novell.com +* Wed Jul 19 2006 kharish@novell.com - Patch to correctly handle calendar attachment filenames that do not require special characters handling. They were being parsed incorrectly and ignored by clients. @@ -686,7 +711,7 @@ * Thu May 25 2006 sragavan@novell.com - Fixes (bnc) 176615 - Added a new camel stream vfs for saving to remote shares. -* Mon May 22 2006 sragavan@novell.com +* Tue May 23 2006 sragavan@novell.com - Updated translations (Srini) * Mon May 22 2006 fejj@suse.de - Added bnc-177394.patch to fix a crasher when an IMAP server replies @@ -872,7 +897,7 @@ * Thu Oct 13 2005 gekker@suse.de - Update to version 1.4.1 - Fix more warnings -* Sun Sep 25 2005 ro@suse.de +* Mon Sep 26 2005 ro@suse.de - added LDAP_DEPRECATED to CFLAGS * Fri Sep 09 2005 aj@suse.de - Change last patch. @@ -886,7 +911,7 @@ - Fix brokeness inlibical * Sat Aug 13 2005 aj@suse.de - Add lzo and lzo-devel to nfb. -* Thu Aug 11 2005 gekker@suse.de +* Fri Aug 12 2005 gekker@suse.de - Update to version 1.3.7 * Mon Aug 01 2005 gekker@suse.de - Update to version 1.3.6.1 @@ -912,7 +937,7 @@ - Build with mozilla-nss. * Wed Jun 01 2005 sbrabec@suse.cz - Fixed devel requirements. -* Wed May 18 2005 ro@suse.de +* Thu May 19 2005 ro@suse.de - fix build with current pkgconfig * Fri Apr 29 2005 sbrabec@suse.cz - Yet another mail crasher fix (#66996). @@ -972,7 +997,7 @@ * Fri Sep 24 2004 dobey@suse.de - Updated to version 1.0.1 - Removed evolution-data-server-0.0.99.dif which is in upstream source -* Thu Sep 16 2004 ro@suse.de +* Fri Sep 17 2004 ro@suse.de - readd evolution-data-server-0.0.99.dif to fix parallel build * Mon Sep 13 2004 dobey@suse.de - Updated to version 1.0.0 @@ -1002,13 +1027,13 @@ - Updated to version 0.0.95. * Mon Jun 21 2004 clahey@suse.de - Updated to version 0.0.94.1. -* Thu Jun 03 2004 mibarra@suse.de +* Fri Jun 04 2004 mibarra@suse.de - Updated to version 0.0.94. * Mon May 24 2004 ro@suse.de - fix lib64 issue -* Fri May 21 2004 mibarra@suse.de +* Sat May 22 2004 mibarra@suse.de - Updated to 0.0.93. * Tue May 18 2004 clahey@suse.de - Don't install to /opt/gnome/libexec -* Mon May 17 2004 clahey@suse.de +* Tue May 18 2004 clahey@suse.de - Initial import of evolution-data-server. ++++++ bnc-441763-show-meeting-icon.patch ++++++ --- /home/psankar/svn/gnome224/evolution-data-server/camel/providers/groupwise/camel-groupwise-folder.c 2008-10-31 15:59:21.000000000 +0530 +++ camel/providers/groupwise/camel-groupwise-folder.c 2008-11-03 13:58:27.000000000 +0530 @@ -1342,6 +1342,9 @@ gw_update_cache (CamelFolder *folder, GL mi->info.content = camel_folder_summary_content_info_new (folder->summary); mi->info.content->type = camel_content_type_new ("multipart", "mixed"); } + + if (type == E_GW_ITEM_TYPE_APPOINTMENT || type == E_GW_ITEM_TYPE_TASK || type == E_GW_ITEM_TYPE_NOTE) + camel_message_info_set_user_flag ((CamelMessageInfo*)mi, "$has_cal", TRUE); } rk = e_gw_item_get_recurrence_key (item); @@ -1567,6 +1570,9 @@ gw_update_summary ( CamelFolder *folder, mi->info.content = camel_folder_summary_content_info_new (folder->summary); mi->info.content->type = camel_content_type_new ("multipart", "mixed"); } + + if (type == E_GW_ITEM_TYPE_APPOINTMENT || type == E_GW_ITEM_TYPE_TASK || type == E_GW_ITEM_TYPE_NOTE) + camel_message_info_set_user_flag ((CamelMessageInfo*)mi, "$has_cal", TRUE); } rk = e_gw_item_get_recurrence_key (item); --- /home/psankar/svn/gnome224/evolution-data-server/camel/camel-folder-summary.c 2008-10-31 15:59:21.000000000 +0530 +++ camel/camel-folder-summary.c 2008-10-31 15:52:43.000000000 +0530 @@ -3600,6 +3607,7 @@ summary_build_content_info(CamelFolderSu struct _CamelFolderSummaryPrivate *p = _PRIVATE(s); CamelMimeFilterCharset *mfc; CamelMessageContentInfo *part; + const char *calendar_header; d(printf("building content info\n")); @@ -3622,6 +3630,16 @@ summary_build_content_info(CamelFolderSu ) camel_message_info_set_flags(msginfo, CAMEL_MESSAGE_SECURE, CAMEL_MESSAGE_SECURE); + calendar_header = camel_mime_parser_header (mp, "Content-class", NULL); + if (calendar_header && g_ascii_strcasecmp (calendar_header, "urn:content-classes:calendarmessage") != 0) + calendar_header = NULL; + + if (!calendar_header) + calendar_header = camel_mime_parser_header (mp, "X-Calendar-Attachment", NULL); + + if (calendar_header) + camel_message_info_set_user_flag (msginfo, "$has_cal", TRUE); + if (p->index && camel_content_type_is(ct, "text", "*")) { char *encoding; const char *charset; @@ -3751,6 +3769,7 @@ summary_build_content_info_message(Camel struct _CamelFolderSummaryPrivate *p = _PRIVATE(s); CamelMessageContentInfo *info = NULL, *child; CamelContentType *ct; + const struct _camel_header_raw *header; if (s->build_content) info = ((CamelFolderSummaryClass *)(CAMEL_OBJECT_GET_CLASS(s)))->content_info_new_from_message(s, object); @@ -3780,6 +3799,22 @@ summary_build_content_info_message(Camel camel_message_info_set_flags(msginfo, CAMEL_MESSAGE_SECURE, CAMEL_MESSAGE_SECURE); } + for (header = object->headers; header; header = header->next) { + const char *value = header->value; + + /* skip preceding spaces in the value */ + while (value && *value && isspace (*value)) + value++; + + if (header->name && value && ( + (g_ascii_strcasecmp (header->name, "Content-class") == 0 && g_ascii_strcasecmp (value, "urn:content-classes:calendarmessage") == 0) || + (g_ascii_strcasecmp (header->name, "X-Calendar-Attachment") == 0))) + break; + } + + if (header) + camel_message_info_set_user_flag (msginfo, "$has_cal", TRUE); + /* using the object types is more accurate than using the mime/types */ if (CAMEL_IS_MULTIPART(containee)) { parts = camel_multipart_get_number(CAMEL_MULTIPART(containee)); ++++++ dice-eds-changes.patch ++++++ diff --git a/calendar/libecal/e-cal-component.c b/calendar/libecal/e-cal-component.c index 70a65a3..d62760b 100644 --- a/calendar/libecal/e-cal-component.c +++ b/calendar/libecal/e-cal-component.c @@ -162,6 +162,8 @@ struct _ECalComponentPrivate { * object over the wire. */ guint need_sequence_inc : 1; + + GSList *x_list; /* list of X icalproperty objects */ }; /* Private structure for alarms */ @@ -373,6 +375,9 @@ free_icalcomponent (ECalComponent *comp, gboolean free) /* Free the subcomponents */ g_hash_table_foreach_remove (priv->alarm_uid_hash, free_alarm_cb, NULL); + + g_slist_free (priv->x_list); + priv->x_list = NULL; /* Clean up */ @@ -528,6 +533,13 @@ e_cal_component_clone (ECalComponent *comp) return new_comp; } +static void +scan_x_prop (GSList **list, icalproperty *prop) +{ + *list = g_slist_append (*list, prop); +} + + /* Scans an attachment property */ static void scan_attachment (GSList **attachment_list, icalproperty *prop) @@ -795,7 +807,8 @@ scan_property (ECalComponent *comp, icalproperty *prop) case ICAL_LOCATION_PROPERTY : priv->location = prop; break; - + case ICAL_X_PROPERTY: + scan_x_prop (&priv->x_list ,prop); default: break; } @@ -951,6 +964,9 @@ scan_icalcomponent (ECalComponent *comp) g_assert (priv->icalcomp != NULL); + if (e_cal_component_get_vtype (comp) == E_CAL_COMPONENT_VCALENDAR) + return; + /* Scan properties */ for (prop = icalcomponent_get_first_property (priv->icalcomp, ICAL_ANY_PROPERTY); @@ -1049,7 +1065,9 @@ e_cal_component_set_new_vtype (ECalComponent *comp, ECalComponentVType type) case E_CAL_COMPONENT_TIMEZONE: kind = ICAL_VTIMEZONE_COMPONENT; break; - + case E_CAL_COMPONENT_VCALENDAR: + kind = ICAL_VCALENDAR_COMPONENT; + break; default: g_assert_not_reached (); kind = ICAL_NO_COMPONENT; @@ -1067,8 +1085,8 @@ e_cal_component_set_new_vtype (ECalComponent *comp, ECalComponentVType type) scan_icalcomponent (comp); /* Add missing stuff */ - - ensure_mandatory_properties (comp); + if (type != E_CAL_COMPONENT_VCALENDAR && type != E_CAL_COMPONENT_TIMEZONE && type != E_CAL_COMPONENT_FREEBUSY); + ensure_mandatory_properties (comp); } /** @@ -1091,6 +1109,7 @@ e_cal_component_set_icalcomponent (ECalComponent *comp, icalcomponent *icalcomp) { ECalComponentPrivate *priv; icalcomponent_kind kind; + ECalComponentVType vtype; g_return_val_if_fail (comp != NULL, FALSE); g_return_val_if_fail (E_IS_CAL_COMPONENT (comp), FALSE); @@ -1113,13 +1132,17 @@ e_cal_component_set_icalcomponent (ECalComponent *comp, icalcomponent *icalcomp) || kind == ICAL_VTODO_COMPONENT || kind == ICAL_VJOURNAL_COMPONENT || kind == ICAL_VFREEBUSY_COMPONENT - || kind == ICAL_VTIMEZONE_COMPONENT)) + || kind == ICAL_VTIMEZONE_COMPONENT + || kind == ICAL_VCALENDAR_COMPONENT)) return FALSE; priv->icalcomp = icalcomp; scan_icalcomponent (comp); - ensure_mandatory_properties (comp); + + vtype = e_cal_component_get_vtype (comp); + if (vtype != E_CAL_COMPONENT_VCALENDAR && vtype != E_CAL_COMPONENT_TIMEZONE && vtype != E_CAL_COMPONENT_FREEBUSY); + ensure_mandatory_properties (comp); return TRUE; } @@ -1158,6 +1181,7 @@ void e_cal_component_rescan (ECalComponent *comp) { ECalComponentPrivate *priv; + ECalComponentVType vtype; g_return_if_fail (comp != NULL); g_return_if_fail (E_IS_CAL_COMPONENT (comp)); @@ -1169,7 +1193,10 @@ e_cal_component_rescan (ECalComponent *comp) /* Rescan */ scan_icalcomponent (comp); - ensure_mandatory_properties (comp); + + vtype = e_cal_component_get_vtype (comp); + if (vtype != E_CAL_COMPONENT_VCALENDAR && vtype != E_CAL_COMPONENT_TIMEZONE && vtype != E_CAL_COMPONENT_FREEBUSY); + ensure_mandatory_properties (comp); } /** @@ -1230,6 +1257,9 @@ e_cal_component_get_vtype (ECalComponent *comp) case ICAL_VTIMEZONE_COMPONENT: return E_CAL_COMPONENT_TIMEZONE; + case ICAL_VCALENDAR_COMPONENT: + return E_CAL_COMPONENT_VCALENDAR; + default: /* We should have been loaded with a supported type! */ g_assert_not_reached (); @@ -2628,6 +2658,27 @@ e_cal_component_set_dtstart (ECalComponent *comp, ECalComponentDateTime *dt) priv->need_sequence_inc = TRUE; } +gboolean +e_cal_component_is_allday (ECalComponent *comp) +{ + ECalComponentPrivate *priv; + ECalComponentDateTime dtstart, dtend; + gboolean ret = FALSE; + + priv = comp->priv; + + e_cal_component_get_dtstart (comp, &dtstart); + e_cal_component_get_dtend (comp, &dtend); + + if (dtstart.value->is_date && dtend.value->is_date) + ret = TRUE; + + e_cal_component_free_datetime (&dtstart); + e_cal_component_free_datetime (&dtend); + + return ret; +} + /** * e_cal_component_get_due: * @comp: A calendar component object. @@ -4027,6 +4078,24 @@ e_cal_component_get_sequence (ECalComponent *comp, int **sequence) **sequence = icalproperty_get_sequence (priv->sequence); } +int +e_cal_component_get_sequence_as_int (ECalComponent *comp) +{ + ECalComponentPrivate *priv; + + g_return_val_if_fail ((comp != NULL), -1); + g_return_val_if_fail (E_IS_CAL_COMPONENT (comp), -1); + + priv = comp->priv; + g_return_val_if_fail ((priv->icalcomp != NULL), -1); + + if (!priv->sequence) { + return 0; + } + + return icalproperty_get_sequence (priv->sequence); +} + /** * e_cal_component_set_sequence: * @comp: A calendar component object. @@ -6010,4 +6079,78 @@ e_cal_component_event_dates_match (ECalComponent *comp1, return retval; } +void +e_cal_component_set_x_prop (ECalComponent *comp, const char *x_name, const char *x_value) +{ + GSList *l; + ECalComponentPrivate *priv; + icalproperty *prop; + + priv = comp->priv; + + for (l = priv->x_list; l != NULL; l = g_slist_next (l)) + { + prop = l->data; + const char *name = icalproperty_get_x_name (prop); + + if (!strcmp (x_name, name)) { + break; + } + prop = NULL; + } + + if (prop) { + icalcomponent_remove_property (priv->icalcomp, prop); + priv->x_list = g_slist_remove (priv->x_list, prop); + icalproperty_free (prop); + prop = NULL; + } + + if (!x_value || !*x_value) + return; + + prop = icalproperty_new_x (x_value); + icalproperty_set_x_name (prop, x_name); + icalcomponent_add_property (priv->icalcomp, prop); + + priv->x_list = g_slist_prepend (priv->x_list, prop); +} + +char * +e_cal_component_get_x_prop (ECalComponent *comp, const char *x_name) +{ + GSList *l; + ECalComponentPrivate *priv; + + priv = comp->priv; + + for (l = priv->x_list; l != NULL; l = g_slist_next (l)) + { + icalproperty *prop = l->data; + const char *name = icalproperty_get_x_name (prop); + + if (!strcmp (x_name, name)) { + const char *val = icalproperty_get_x (prop); + + return g_strdup (val); + } + } + + return NULL; +} + +int +e_cal_component_get_x_prop_as_int (ECalComponent *comp, const char *x_name) +{ + char *x_val = e_cal_component_get_x_prop (comp, x_name); + + if (x_val) { + int val = atoi (x_val); + g_free (x_val); + + return val; + } + + return -1; +} diff --git a/calendar/libecal/e-cal-component.h b/calendar/libecal/e-cal-component.h index 52a8fdb..b8dc492 100644 --- a/calendar/libecal/e-cal-component.h +++ b/calendar/libecal/e-cal-component.h @@ -51,7 +51,8 @@ typedef enum { E_CAL_COMPONENT_TODO, E_CAL_COMPONENT_JOURNAL, E_CAL_COMPONENT_FREEBUSY, - E_CAL_COMPONENT_TIMEZONE + E_CAL_COMPONENT_TIMEZONE, + E_CAL_COMPONENT_VCALENDAR } ECalComponentVType; /* Field identifiers for a calendar component; these are used by the data model @@ -256,6 +257,7 @@ void e_cal_component_set_dtend (ECalComponent *comp, ECalComponentDateTime *dt); void e_cal_component_get_dtstamp (ECalComponent *comp, struct icaltimetype *t); void e_cal_component_set_dtstamp (ECalComponent *comp, struct icaltimetype *t); +gboolean e_cal_component_is_allday (ECalComponent *comp); void e_cal_component_get_dtstart (ECalComponent *comp, ECalComponentDateTime *dt); void e_cal_component_set_dtstart (ECalComponent *comp, ECalComponentDateTime *dt); @@ -309,6 +311,8 @@ gboolean e_cal_component_is_instance (ECalComponent *comp); void e_cal_component_get_sequence (ECalComponent *comp, int **sequence); void e_cal_component_set_sequence (ECalComponent *comp, int *sequence); +int e_cal_component_get_sequence_as_int (ECalComponent *comp); + void e_cal_component_get_status (ECalComponent *comp, icalproperty_status *status); void e_cal_component_set_status (ECalComponent *comp, icalproperty_status status); @@ -456,6 +460,10 @@ gboolean e_cal_component_alarm_has_attendees (ECalComponentAlarm *alarm); icalcomponent *e_cal_component_alarm_get_icalcomponent (ECalComponentAlarm *alarm); +char *e_cal_component_get_x_prop (ECalComponent *comp, const char *x_name); +int e_cal_component_get_x_prop_as_int (ECalComponent *comp, const char *x_name); +void e_cal_component_set_x_prop (ECalComponent *comp, const char *x_name, const char *x_value); + G_END_DECLS ++++++ evolution-data-server-2.24.1.tar.bz2 -> evolution-data-server-2.24.1.1.tar.bz2 ++++++ GNOME/evolution-data-server/evolution-data-server-2.24.1.tar.bz2 /mounts/work_src_done/STABLE/evolution-data-server/evolution-data-server-2.24.1.1.tar.bz2 differ: byte 11, line 1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org