head 1.3; access; symbols pkgsrc-2018Q1:1.2.0.36 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.34 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.32 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.28 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.26 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.24 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.22 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.20 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.18 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.16 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.14 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.12 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.10 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.8 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.6 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.4 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.2 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.1.0.40 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.38 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.36 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.34 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.32 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.30 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.28 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.26 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.24 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.22 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.20 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.18 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.16 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.14 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.12 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.10 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.8 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.6 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.4 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.2 pkgsrc-2009Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2018.04.25.05.51.20; author markd; state dead; branches; next 1.2; commitid GgUAsqz5An20JMzA; 1.2 date 2014.02.01.01.44.53; author markd; state Exp; branches; next 1.1; commitid RSOMYnbNQrx40lnx; 1.1 date 2009.03.19.11.57.48; author drochner; state Exp; branches; next ; desc @@ 1.3 log @libical: update to 3.0.3 Version 3.0.3: -------------- * VTODO COMPLETED property can be a DATE-TIME or DATE (for backward compatibility) * Improved recurrence iteration Version 3.0.2: -------------- * No longer attempt to detect the need for -DUSE_32BIT_TIME_T with MSVC * New CMake option ICAL_BUILD_DOCS which can be used to disable the docs target * Fix threading hang in BSD type systems (OpenBSD, MacOS,...) * Build with Ninja improvements Version 3.0.1: -------------- * Built-in timezones updated to tzdata2017c * Fix a multi-threaded deadlock in icaltimezone_load_builtin_timezone() * Fix a CMake problem with parallel builds Version 3.0.0: -------------- * Relicense from MPL 1.0 to MPL 2.0 (keep dual license for LGPL v2.1) * Requires CMake v3.1.0 or higher along with various CMake and buildsystem fixes * Added a 'make uninstall' * Fixed use-after-free issues and some memory leaks * Built-in timezones updated to tzdata2017b * More accurate VTIMEZONE generation when using the system time zone data (when USE_BUILTIN_TZDATA=False) * icalvalue_as_ical_string() returns "TRUE" (non-zero) or "FALSE" (zero) values only. * New icalvalue.h convenience macros: ICAL_BOOLEAN_TRUE and ICAL_BOOLEAN_FALSE * Better value type checking of property values when parsing * icalvalue_new/set_date and icalvalue_new/set_datetime now enforce DATE and DATE-TIME values respectively * draft-ietf-calext-extensions (RFC 7986) support added * Parameter values are now en/decoded per RFC 6868 * Removed is_utc from icaltimetype struct * Set icaltimetype.zone to icaltimezone_get_utc_timezone() to change a time to UTC * Use icaltime_is_utc() to check if a time is in UTC * Added support for VPATCH component * New publicly available functions: + icalproperty_set_parent (icalproperty_get_parent was already public) + icalvalue_get_parent (icalvalue_set_parent was already public) + icalparameter_set_parent + icalparameter_get_parent + icalvalue_new_datetimedate (DATE or DATE-TIME) + icalvalue_set_datetimedate + icalvalue_get_datetimedate + icalrecur_iterator_set_start + icalcomponent_normalize() + icalproperty_normalize() * Removed deprecated functions: + icaltime_from_timet (use icaltime_from_timet_with_zone) + icaltime_start_day_of_week (use icaltime_start_day_week) + icalproperty_remove_parameter (use icalproperty_remove_parameter_by_kind) + icalproperty_string_to_enum (use icalproperty_kind_and_string_to_enum) * Signature changed for functions: + VObject *Parse_MIME_FromFileName(const char *fname) + icalgauge *icalgauge_new_from_sql(const char *sql, int expand) + const char *icallangbind_property_eval_string(icalproperty *prop, const char *sep) + const char *icallangbind_property_eval_string_r(icalproperty *prop, const char *sep) + void set_zone_directory(const char *path) + icalcalendar *icalcalendar_new(const char *dir) + int icalrecur_expand_recurrence(const char *rule, time_t start, int count, time_t *array) Version 2.0.0: -------------- * WARNING: Version 2 IS NOT Binary Compatible with Older Versions * Version 2 is Source Compatible with Older Versions * Lots of source code scrubbing * [New] RSCALE support (requires libicu from http://www.icu-project.org) * [New] CalDAV attachment support (draft-ietf-calext-caldav-attachments) * [New] Resurrect the Berkeley DB storage support * [Bug] issue83: Incorrect recurrence generation for weekly pattern * Handle RRULEs better * Handle threading better @ text @$NetBSD: patch-as,v 1.2 2014/02/01 01:44:53 markd Exp $ --- src/libical/icaltz-util.c.orig 2013-04-14 17:24:42.000000000 +0000 +++ src/libical/icaltz-util.c @@@@ -29,6 +29,7 @@@@ #include #endif +#if 0 /* XXX see below */ #if defined(sun) && defined(__SVR4) #include #include @@@@ -49,6 +50,7 @@@@ # endif # endif #endif +#endif #ifdef _MSC_VER #if !defined(HAVE_BYTESWAP_H) && !defined(HAVE_SYS_ENDIAN_H) && !defined(HAVE_ENDIAN_H) @@@@ -140,6 +142,7 @@@@ extern const char *ical_tzid_prefix; static int decode (const void *ptr) { +#if 0 /* XXX nonportable, possibly alignment problems */ #if defined(sun) && defined(__SVR4) if (sizeof (int) == 4) #ifdef _BIG_ENDIAN @@@@ -154,9 +157,10 @@@@ decode (const void *ptr) return bswap_32 (*(const int *) ptr); #endif else +#endif { const unsigned char *p = ptr; - int result = *p & (1 << (CHAR_BIT - 1)) ? ~0 : 0; + unsigned int result = *p & (1 << (CHAR_BIT - 1)) ? ~0 : 0; result = (result << 8) | *p++; result = (result << 8) | *p++; @ 1.2 log @Update libical to 1.0. bugfixes. @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.1 2009/03/19 11:57:48 drochner Exp $ @ 1.1 log @update to 0.43 changes: fixes from evolution pkgsrc change: pull in a portability patch from evolution-data-server, depend on zone.tab @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/libical/icaltz-util.c.orig 2009-01-08 17:50:21.000000000 +0100 d5 2 a6 1 @@@@ -25,6 +25,7 @@@@ a7 1 #include d11 1 d13 3 a15 4 #else @@@@ -43,6 +44,7 @@@@ # include # endif d19 1 a19 1 #ifdef WIN32 d21 1 a21 1 @@@@ -128,6 +130,7 @@@@ extern const char *ical_tzid_prefix; d29 1 a29 1 @@@@ -142,9 +145,10 @@@@ decode (const void *ptr) @