diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-09-11 05:54:44 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-09-11 05:54:44 +0800 |
commit | 2be48d88552a96878124e71efdbd00e8601da4fe (patch) | |
tree | a184daa638f9a9bcca025cf39105c99d01262a8f /libical/ChangeLog | |
parent | 3240dc4afc20f78d3a89fde4f337a7effb77b495 (diff) | |
download | gsoc2013-evolution-2be48d88552a96878124e71efdbd00e8601da4fe.tar gsoc2013-evolution-2be48d88552a96878124e71efdbd00e8601da4fe.tar.gz gsoc2013-evolution-2be48d88552a96878124e71efdbd00e8601da4fe.tar.bz2 gsoc2013-evolution-2be48d88552a96878124e71efdbd00e8601da4fe.tar.lz gsoc2013-evolution-2be48d88552a96878124e71efdbd00e8601da4fe.tar.xz gsoc2013-evolution-2be48d88552a96878124e71efdbd00e8601da4fe.tar.zst gsoc2013-evolution-2be48d88552a96878124e71efdbd00e8601da4fe.zip |
Replace struct icalattachtype by an opaque icalattach that is properly
2001-09-10 Federico Mena Quintero <federico@ximian.com>
Replace struct icalattachtype by an opaque icalattach that is
properly reference-counted.
* src/libical/icalvalueimpl.h (struct icalattach_impl): Private
declaration for the icalattach type.
(struct icalvalue_impl): Make the v_attach field be an icalattach *.
* src/libical/icaltypes.h: Added declaration for icalattach. This
is now an opaque type; the implementation is in icalvalueimpl.h.
(struct icalattachtype): Removed.
* src/libical/icaltypes.c (icalattach_new_from_url): New function.
(icalattach_new_from_data): New function.
(icalattach_ref): New function.
(icalattach_unref): New function.
(icalattach_get_is_url): New function.
(icalattach_get_url): New function.
(icalattach_get_data): New function.
(icalattachtype_new): Removed.
(icalattachtype_free): Removed.
(icalattachtype_add_reference): Removed.
(icalattachtype_set_url): Removed.
(icalattachtype_get_url): Removed.
(icalattachtype_set_base64): Removed.
(icalattachtype_get_base64): Removed.
(icalattachtype_set_binary): Removed.
(icalattachtype_get_binary): Removed.
* src/libical/icalderivedvalue.c.in (icalvalue_new_attach): New
function; we implement it ourselves.
(icalvalue_set_attach): New function.
(icalvalue_get_attach): New function.
* src/libical/icalvalue.c (icalmemory_strdup_and_dequote): Made
static.
(icalvalue_new_clone): Clone BINARY and ATTACH values by refing
the old attach value.
(icalvalue_free): Free BINARY and ATTACH values.
(icalvalue_attach_as_ical_string): Handle the new icalattachtype.
(icalvalue_compare): Ditto.
* src/libical/Makefile.am (CLEANFILES): Added ical.h.
* design-data/*: Mark ATTACH as a custom value.
svn path=/trunk/; revision=12745
Diffstat (limited to 'libical/ChangeLog')
-rw-r--r-- | libical/ChangeLog | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog index bd481341ce..984e40cfc7 100644 --- a/libical/ChangeLog +++ b/libical/ChangeLog @@ -1,3 +1,50 @@ +2001-09-10 Federico Mena Quintero <federico@ximian.com> + + Replace struct icalattachtype by an opaque icalattach that is + properly reference-counted. + + * src/libical/icalvalueimpl.h (struct icalattach_impl): Private + declaration for the icalattach type. + (struct icalvalue_impl): Make the v_attach field be an icalattach *. + + * src/libical/icaltypes.h: Added declaration for icalattach. This + is now an opaque type; the implementation is in icalvalueimpl.h. + (struct icalattachtype): Removed. + + * src/libical/icaltypes.c (icalattach_new_from_url): New function. + (icalattach_new_from_data): New function. + (icalattach_ref): New function. + (icalattach_unref): New function. + (icalattach_get_is_url): New function. + (icalattach_get_url): New function. + (icalattach_get_data): New function. + (icalattachtype_new): Removed. + (icalattachtype_free): Removed. + (icalattachtype_add_reference): Removed. + (icalattachtype_set_url): Removed. + (icalattachtype_get_url): Removed. + (icalattachtype_set_base64): Removed. + (icalattachtype_get_base64): Removed. + (icalattachtype_set_binary): Removed. + (icalattachtype_get_binary): Removed. + + * src/libical/icalderivedvalue.c.in (icalvalue_new_attach): New + function; we implement it ourselves. + (icalvalue_set_attach): New function. + (icalvalue_get_attach): New function. + + * src/libical/icalvalue.c (icalmemory_strdup_and_dequote): Made + static. + (icalvalue_new_clone): Clone BINARY and ATTACH values by refing + the old attach value. + (icalvalue_free): Free BINARY and ATTACH values. + (icalvalue_attach_as_ical_string): Handle the new icalattachtype. + (icalvalue_compare): Ditto. + + * src/libical/Makefile.am (CLEANFILES): Added ical.h. + + * design-data/*: Mark ATTACH as a custom value. + 2001-09-06 Damon Chaplin <damon@ximian.com> * src/libical/icalcomponent.c (icalcomponent_merge_vtimezone): pass |