1
0
OBS User unknown 2009-08-01 11:24:03 +00:00 committed by Git OBS Bridge
parent 713e8696a6
commit 7769b3aa0b
6 changed files with 119 additions and 1215 deletions

View File

@ -1,8 +1,7 @@
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 {
diff -ruN evolution-data-server-2.27.4/calendar/libecal/e-cal-component.c evolution-data-server-2.27.4.patched/calendar/libecal/e-cal-component.c
--- evolution-data-server-2.27.4/calendar/libecal/e-cal-component.c 2009-07-13 07:22:19.000000000 +0200
+++ evolution-data-server-2.27.4.patched/calendar/libecal/e-cal-component.c 2009-07-22 11:44:43.000000000 +0200
@@ -161,6 +161,8 @@
* object over the wire.
*/
guint need_sequence_inc : 1;
@ -11,7 +10,7 @@ index 70a65a3..d62760b 100644
};
/* Private structure for alarms */
@@ -373,6 +375,9 @@ free_icalcomponent (ECalComponent *comp, gboolean free)
@@ -372,6 +374,9 @@
/* Free the subcomponents */
g_hash_table_foreach_remove (priv->alarm_uid_hash, free_alarm_cb, NULL);
@ -21,7 +20,7 @@ index 70a65a3..d62760b 100644
/* Clean up */
@@ -528,6 +533,13 @@ e_cal_component_clone (ECalComponent *comp)
@@ -527,6 +532,13 @@
return new_comp;
}
@ -35,7 +34,7 @@ index 70a65a3..d62760b 100644
/* Scans an attachment property */
static void
scan_attachment (GSList **attachment_list, icalproperty *prop)
@@ -795,7 +807,8 @@ scan_property (ECalComponent *comp, icalproperty *prop)
@@ -793,7 +805,8 @@
case ICAL_LOCATION_PROPERTY :
priv->location = prop;
break;
@ -45,7 +44,7 @@ index 70a65a3..d62760b 100644
default:
break;
}
@@ -951,6 +964,9 @@ scan_icalcomponent (ECalComponent *comp)
@@ -949,6 +962,9 @@
g_assert (priv->icalcomp != NULL);
@ -55,7 +54,7 @@ index 70a65a3..d62760b 100644
/* 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)
@@ -1047,7 +1063,9 @@
case E_CAL_COMPONENT_TIMEZONE:
kind = ICAL_VTIMEZONE_COMPONENT;
break;
@ -66,7 +65,7 @@ index 70a65a3..d62760b 100644
default:
g_assert_not_reached ();
kind = ICAL_NO_COMPONENT;
@@ -1067,8 +1085,8 @@ e_cal_component_set_new_vtype (ECalComponent *comp, ECalComponentVType type)
@@ -1065,8 +1083,8 @@
scan_icalcomponent (comp);
/* Add missing stuff */
@ -77,7 +76,7 @@ index 70a65a3..d62760b 100644
}
/**
@@ -1091,6 +1109,7 @@ e_cal_component_set_icalcomponent (ECalComponent *comp, icalcomponent *icalcomp)
@@ -1089,6 +1107,7 @@
{
ECalComponentPrivate *priv;
icalcomponent_kind kind;
@ -85,7 +84,7 @@ index 70a65a3..d62760b 100644
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)
@@ -1111,13 +1130,17 @@
|| kind == ICAL_VTODO_COMPONENT
|| kind == ICAL_VJOURNAL_COMPONENT
|| kind == ICAL_VFREEBUSY_COMPONENT
@ -105,7 +104,7 @@ index 70a65a3..d62760b 100644
return TRUE;
}
@@ -1158,6 +1181,7 @@ void
@@ -1156,6 +1179,7 @@
e_cal_component_rescan (ECalComponent *comp)
{
ECalComponentPrivate *priv;
@ -113,7 +112,7 @@ index 70a65a3..d62760b 100644
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)
@@ -1167,7 +1191,10 @@
/* Rescan */
scan_icalcomponent (comp);
@ -125,7 +124,7 @@ index 70a65a3..d62760b 100644
}
/**
@@ -1230,6 +1257,9 @@ e_cal_component_get_vtype (ECalComponent *comp)
@@ -1228,6 +1255,9 @@
case ICAL_VTIMEZONE_COMPONENT:
return E_CAL_COMPONENT_TIMEZONE;
@ -135,7 +134,7 @@ index 70a65a3..d62760b 100644
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)
@@ -2620,6 +2650,27 @@
priv->need_sequence_inc = TRUE;
}
@ -163,7 +162,7 @@ index 70a65a3..d62760b 100644
/**
* e_cal_component_get_due:
* @comp: A calendar component object.
@@ -4027,6 +4078,24 @@ e_cal_component_get_sequence (ECalComponent *comp, int **sequence)
@@ -4066,6 +4117,24 @@
**sequence = icalproperty_get_sequence (priv->sequence);
}
@ -188,7 +187,7 @@ index 70a65a3..d62760b 100644
/**
* e_cal_component_set_sequence:
* @comp: A calendar component object.
@@ -6010,4 +6079,78 @@ e_cal_component_event_dates_match (ECalComponent *comp1,
@@ -6044,3 +6113,77 @@
return retval;
}
@ -266,12 +265,10 @@ index 70a65a3..d62760b 100644
+
+ 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 {
diff -ruN evolution-data-server-2.27.4/calendar/libecal/e-cal-component.h evolution-data-server-2.27.4.patched/calendar/libecal/e-cal-component.h
--- evolution-data-server-2.27.4/calendar/libecal/e-cal-component.h 2009-07-13 07:22:19.000000000 +0200
+++ evolution-data-server-2.27.4.patched/calendar/libecal/e-cal-component.h 2009-07-22 11:44:43.000000000 +0200
@@ -51,7 +51,8 @@
E_CAL_COMPONENT_TODO,
E_CAL_COMPONENT_JOURNAL,
E_CAL_COMPONENT_FREEBUSY,
@ -281,7 +278,7 @@ index 52a8fdb..b8dc492 100644
} 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);
@@ -256,6 +257,7 @@
void e_cal_component_get_dtstamp (ECalComponent *comp, struct icaltimetype *t);
void e_cal_component_set_dtstamp (ECalComponent *comp, struct icaltimetype *t);
@ -289,16 +286,16 @@ index 52a8fdb..b8dc492 100644
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);
@@ -312,6 +314,8 @@
void e_cal_component_get_sequence (ECalComponent *comp, gint **sequence);
void e_cal_component_set_sequence (ECalComponent *comp, gint *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);
@@ -457,6 +461,10 @@
icalcomponent *e_cal_component_alarm_get_icalcomponent (ECalComponentAlarm *alarm);

View File

@ -1,75 +0,0 @@
diff --git a/calendar/libecal/e-cal-component.c b/calendar/libecal/e-cal-component.c
index d62760b..7d00adf 100644
--- a/calendar/libecal/e-cal-component.c
+++ b/calendar/libecal/e-cal-component.c
@@ -3485,6 +3485,56 @@ e_cal_component_get_percent (ECalComponent *comp, int **percent)
*percent = NULL;
}
+void
+e_cal_component_set_percent_as_int (ECalComponent *comp, int percent)
+{
+ ECalComponentPrivate *priv;
+
+ g_return_if_fail (comp != NULL);
+ g_return_if_fail (E_IS_CAL_COMPONENT (comp));
+
+ priv = comp->priv;
+ g_return_if_fail (priv->icalcomp != NULL);
+
+ if (percent == -1) {
+ if (priv->percent) {
+ icalcomponent_remove_property (priv->icalcomp, priv->percent);
+ icalproperty_free (priv->percent);
+ priv->percent = NULL;
+ }
+
+ return;
+ }
+
+ g_return_if_fail (percent >= 0 && percent <= 100);
+
+ if (priv->percent)
+ icalproperty_set_percentcomplete (priv->percent, percent);
+ else {
+ priv->percent = icalproperty_new_percentcomplete (percent);
+ icalcomponent_add_property (priv->icalcomp, priv->percent);
+ }
+
+
+}
+
+int
+e_cal_component_get_percent_as_int (ECalComponent *comp)
+{
+ ECalComponentPrivate *priv;
+ int percent;
+
+ priv = comp->priv;
+ g_return_val_if_fail (priv->icalcomp != NULL, -1);
+
+ if (priv->percent) {
+ percent = icalproperty_get_percentcomplete (priv->percent);
+ } else
+ percent = -1;
+
+ return percent;
+}
+
/**
* e_cal_component_set_percent:
* @comp: A calendar component object.
diff --git a/calendar/libecal/e-cal-component.h b/calendar/libecal/e-cal-component.h
index b8dc492..94c6f3a 100644
--- a/calendar/libecal/e-cal-component.h
+++ b/calendar/libecal/e-cal-component.h
@@ -285,6 +285,9 @@ void e_cal_component_get_organizer (ECalComponent *comp, ECalComponentOrganizer
void e_cal_component_set_organizer (ECalComponent *comp, ECalComponentOrganizer *organizer);
gboolean e_cal_component_has_organizer (ECalComponent *comp);
+int e_cal_component_get_percent_as_int (ECalComponent *comp);
+void e_cal_component_set_percent_as_int (ECalComponent *comp, int percent);
+
void e_cal_component_get_percent (ECalComponent *comp, int **percent);
void e_cal_component_set_percent (ECalComponent *comp, int *percent);

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de5bba6ec3dcd02f0a7c74fe958360b0d8ac722b1b8c62127789d9171b18915d
size 7348222

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e14c62d4d2c4f815581f1ac1647639046f67704dbf3b89f0de991c786b01dd46
size 14310662

View File

@ -1,3 +1,80 @@
-------------------------------------------------------------------
Fri Jul 31 20:42:51 CEST 2009 - vuntz@novell.com
- Correctly comment out patch that needs rebasing.
-------------------------------------------------------------------
Thu Jul 23 20:35:21 CEST 2009 - dominique-obs@leuenberger.net
- Update to version 2.27.4:
+ Addressbook:
- bgo#540779 - Do not call e_book_new in the main thread
- bgo#563668 - Do not pop-down an empty completion list
- bgo#586225 - Parse numeric name suffixes
+ Calendar:
- bgo#548702 - google calendar source does not show all events
- CalDav Fixes/improvements
+ Mail:
- bgo#575701 - Message disappear from unread vfolder on reply
- bgo#568302 - create camel summary table if not exists on load
- bgo#586602 - folder messages are lost on folder rename
- bgo#327285 - Word "Success" in error message for failed
action
- bgo#587699 - IMAP - Localize only Inbox folder name, no other
- bgo#579065 - IMAP - Synchronize remote mail locally is not
working
- bgo#564388 - UI blocks for a long time when downloading mails
with nntp
+ Misc:
- bgo#586442 - Various build cleanups
- bgo#586477 - Fix quoting in configure.ac
- bgo#586811 - Require automake 1.9 and fix whitespace
- bgo#586813 - Fix iconv cflags/libs in configure.ac
- bgo#586809 - Enable "silent rules" automake 1.11 option
- bgo#587165 - Double free in initialize_categories
- bgo#587374 - iconv test broken on some gcc
- Use G_BEGIN_DECLS / G_END_DECLS macros
- Work around deprecation of g_mapped_file_free()
- Silence some compiler warnings
- Fixes for windows build
- Changes from version 2.27.3:
+ bgo#583507 - Fix for evolution hang while updating search
folder.
+ bgo#585327 - Attaching a message via drag and drop doesn't work
for GW provider
+ bgo#266678 - Renaming LDAP contacts CN breaks DN
+ bgo#580198 - IMAP offline mode improvement
+ bgo#584797 - Do not set internal SQLite3 structures on error
+ bgo#580212 - Report errors in CamelException when verifying
signature
+ bgo#559345 - Support CalDAV free/busy extension
+ bgo#337082 - Do not return folders with empty names
+ bgo#584101 - Configure fails with kerberos and
LDFLAGS="-Wl,--as-needed"
+ bgo#584030 - New API function for ESourceSelectorDialog
+ bgo#583344 - do not leak pipe handles
+ bgo#562015 - CalDAV - Store CTag in a cache
+ bnc#506265 - do not reset the meeting date to delivered date
+ bgo#583528 - Hints of missing mails in Gw
+ bgo#582643 - Deleted mails are not immediately synced
+ bgo#543069 - Support detached instances in CalDAV
+ bgo#559980 - Harden WebDAV contact backend by checking for etag
being NULL
+ Other Fixes:
- Support for header based threading in GroupWise provider
- Compiler warnings and white space cleanup
- Correctly dispose the source in EBookBackend. Code cleanup
- Instead of duplicating libgnome function, use corresponding
glib functions
- Make the backend factory type const
+ Updated translations
- Upstreamed Patches:
+ eds-comp-percent.diff
- Rebased Patches:
+ dice-eds-changes.patch
- Patch needs rebase:
+ bnc-210959-eds-accept_ics.patch
-------------------------------------------------------------------
Wed May 27 17:02:59 CEST 2009 - vuntz@novell.com

File diff suppressed because it is too large Load Diff