Commit Graph

19 Commits

Author SHA1 Message Date
2be48d8855 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
2001-09-10 21:54:44 +00:00
da728a234e Removing autogenerated files
2001-04-17  JP Rosevear  <jpr@ximian.com>

	* Removing autogenerated files

svn path=/trunk/; revision=9421
2001-04-17 17:58:00 +00:00
e6f1da7f46 Finish merge of new libical 0.23a version
2001-04-17  JP Rosevear  <jpr@ximian.com>

	* Finish merge of new libical 0.23a version

svn path=/trunk/; revision=9420
2001-04-17 17:54:48 +00:00
0d90c71a6a Initial revision
svn path=/trunk/; revision=9413
2001-04-17 17:23:25 +00:00
e582e23949 Import cleanup
svn path=/trunk/; revision=7978
2001-02-05 19:43:58 +00:00
4028f454b6 Import clean up
svn path=/trunk/; revision=7751
2001-01-23 20:22:40 +00:00
26eee73280 Fix fucking CVS conflicts because fucking CVS is a fucking big doofus - Federico
svn path=/trunk/; revision=6920
2000-12-11 23:01:26 +00:00
f1fdb47bfb Kill off more old, dead files
2000-08-31  JP Rosevear  <jpr@helixcode.com>

	* Kill off more old, dead files

svn path=/trunk/; revision=5150
2000-08-31 20:41:35 +00:00
73a6d43a66 Fix minor conflicts.
svn path=/trunk/; revision=5017
2000-08-24 20:12:06 +00:00
af805a2733 merge libical-0.17 onto the head
svn path=/trunk/; revision=3449
2000-06-06 22:48:11 +00:00
d6b0035a32 reparing damage from removing files
svn path=/trunk/; revision=3042
2000-05-15 06:18:21 +00:00
f8ff932ae3 removing all files
svn path=/trunk/; revision=3040
2000-05-15 04:36:44 +00:00
8c965a2961 This commit was generated by cvs2svn to compensate for changes in r3037,
which included commits to RCS files with non-trunk default branches.

svn path=/trunk/; revision=3038
2000-05-15 04:25:39 +00:00
df7ae02e10 Initial revision
svn path=/trunk/; revision=3034
2000-05-15 04:25:38 +00:00
ce90a2fa14 added some stuff to cvs ignore files, build .la instead of just .a
in src/libical/Makefile.am

svn path=/trunk/; revision=2488
2000-04-18 19:12:51 +00:00
25e1b34aaf import of libical-0.16
svn path=/trunk/; revision=2484
2000-04-18 18:17:07 +00:00
c2e1263462 This commit was generated by cvs2svn to compensate for changes in r1879,
which included commits to RCS files with non-trunk default branches.

svn path=/trunk/; revision=1880
2000-02-21 13:19:28 +00:00
c69d6adfcd Initial revision
svn path=/trunk/; revision=1877
2000-02-21 13:19:27 +00:00
788bcf6373 Initial revision
svn path=/trunk/; revision=1823
2000-02-17 18:02:37 +00:00