From ddbf92b2eca29f97d82f4aa6eb213ed59f1e8217 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Mon, 30 Jul 2001 21:31:43 +0000 Subject: copy the TZID just in case the property we got it from gets modified. 2001-07-30 Damon Chaplin * src/libical/icalcomponent.c (icalcomponent_merge_vtimezone): copy the TZID just in case the property we got it from gets modified. (icalcomponent_rename_tzids_callback): break out of the loop if we have renamed the TZID parameter. Otherwise our tzid variable would be invalid. * scripts/mkderivedproperties.pl (fudge_data): changed this so we can set EXDATEs that are DATE values, by checking the is_date field. I'm not entirely sure this is the way it should be done. If it is, I'll also do this for other things like DTSTART/DTEND. * src/libical/icalrecur.c (icalrecurrencetype_as_string): handle UNTIL as a DATE value as well as a DATE-TIME. * src/libical/icalcomponent.c (icalcomponent_compare_vtimezones): fixed stupid error, getting TZID property from wrong VTIMEZONE. This would only have affected iTIP stuff, with VTIMEZONEs that don't use the '/' prefix (i.e. from Outlook). It probably just meant we kept multiple copies of the same VTIMEZONE. * src/libical/icaltimezone.c: removed some debugging messages. svn path=/trunk/; revision=11491 --- libical/scripts/mkderivedproperties.pl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'libical/scripts/mkderivedproperties.pl') diff --git a/libical/scripts/mkderivedproperties.pl b/libical/scripts/mkderivedproperties.pl index 4e011e112e..965817eb30 100755 --- a/libical/scripts/mkderivedproperties.pl +++ b/libical/scripts/mkderivedproperties.pl @@ -179,6 +179,24 @@ icalproperty* icalproperty_vanew_${lc}($type v, ...){ va_end(args); return (icalproperty*)impl; } +EOM + + # Allow EXDATEs to take DATE values easily. + if ($lc eq "exdate") { + print<