Commit Graph

246 Commits

Author SHA1 Message Date
40d492ac4b install headers
2003-11-04  JP Rosevear <jpr@ximian.com>

	* src/libicalvcal/Makefile.am: install headers

svn path=/trunk/; revision=23184
2003-11-04 19:45:08 +00:00
ea5a22bc0e add AM_DISABLE_STATIC here too.
* configure.in: add AM_DISABLE_STATIC here too.

svn path=/trunk/; revision=23064
2003-10-24 16:59:33 +00:00
6668238239 install all of the headers that ical.h now #includes
* src/libical/Makefile.am (libical_evolutioninclude_HEADERS):
	install all of the headers that ical.h now #includes

svn path=/trunk/; revision=23037
2003-10-23 14:42:45 +00:00
21743ac2cf Merge new-ui-branch into the trunk.
svn path=/trunk/; revision=22966
2003-10-21 18:51:30 +00:00
0fb08f3ff8 Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
2003-10-21 18:28:34 +00:00
9f20d8032c Fixed INCLUDES and don't autogenerate ical.h, no need to. Plus it caused
2003-10-09  Jeffrey Stedfast  <fejj@ximian.com>

	* src/libical/Makefile.am: Fixed INCLUDES and don't autogenerate
	ical.h, no need to. Plus it caused problems anyways.

	* src/libical/*.[c,h]: Fixed the #includes

	* src/libicalss/Makefile.am: Fixed INCLUDES and don't autogenerate
	icalss.h, no need to. Plus it caused problems anyways.

	* src/libicalss/*.[c,h]: Fixed the #includes

	* tests/*.c: #include <libical/ical.h> rather
	than "ical.h"

	* tests/Makefile.am: Fixed INCLUDES

	* examples/*.c: #include <libical/ical.h> rather
	than "ical.h"

	* examples/Makefile.am: Fixed INCLUDES

	* src/libicalvcal/icalvcal.h: #include <libical/ical.h> which is
	no longer autogenerated.

	* src/libicalvcal/icalvcal.c (icalvcal_convert_with_defaults): Use
	the proper macro names from config.h

svn path=/trunk/; revision=22844
2003-10-09 21:02:30 +00:00
c1939dd948 Remove libical-static
* src/libical/Makefile.am: Remove libical-static

	* src/libicalcap/Makefile.am: and libicalcap-static

svn path=/trunk/; revision=22807
2003-10-07 14:28:18 +00:00
0b1c3c7775 updated
svn path=/trunk/; revision=22729
2003-09-26 16:38:16 +00:00
dee72e870e updated cvsignore
svn path=/trunk/; revision=22728
2003-09-26 16:37:39 +00:00
8711e2ffaa updateed cvsignore
svn path=/trunk/; revision=22727
2003-09-26 16:37:14 +00:00
671eb28ab8 added .cvsignore
svn path=/trunk/; revision=22726
2003-09-26 16:36:34 +00:00
2d75334547 ignore makefile.in
svn path=/trunk/; revision=22725
2003-09-26 16:35:54 +00:00
1bb363c322 *** empty log message ***
svn path=/trunk/; revision=22724
2003-09-26 16:35:21 +00:00
1579e36541 ignore Makefile.in
svn path=/trunk/; revision=22723
2003-09-26 16:34:29 +00:00
9cd7b8f8ba Remove flex check. Set ICAL_ERRORS_ARE_FATAL to 0.
2003-09-23  Hans Petter Jansson  <hpj@ximian.com>

	* configure.in: Remove flex check. Set ICAL_ERRORS_ARE_FATAL to 0.

	* src/libicalss/icalgauge.c (icalgauge_new_from_sql): Don't use
	globals struct. Remove calls to sslex_init(), _extra(),
	ss_scan_string(). Use a global pointer icalss_yy_gauge to hold context.
	Call ssparse() with no arguments.

	* src/libicalss/icalsslexer.l: Remove options reentrant and
	bison-bridge. Rename variables, change function invocations to comply
	with flex 2.5.4.
	(icalss_input): Add function to read input.

	* src/libicalss/icalssyacc.y (yyextra): Remove.
	(select_list)
	(from_list)
	(where_clause)
	(where_list): yyextra -> icalss_yy_gauge

	* src/libicalss/icalsslexer.c:
	* src/libicalss/icalssyacc.c:
	* src/libicalss/icalssyacc.h: Add generated files back to repository.
	They don't belong there, but that's not my problem.

svn path=/trunk/; revision=22683
2003-09-24 02:06:52 +00:00
bd44c72b2b Remove $(cxx_libs), it's undefined.
2003-09-22  Hans Petter Jansson  <hpj@ximian.com>

        * src/libicalcap/Makefile.am (LDADD): Remove $(cxx_libs), it's
        undefined.

svn path=/trunk/; revision=22653
2003-09-22 21:27:01 +00:00
c5a06d54f6 libical.la -> libical-evolution.la
2003-09-22  Hans Petter Jansson  <hpj@ximian.com>

	* calendar/cal-util/Makefile.am (libical_util_la_LIBADD):
	libical.la -> libical-evolution.la

	* calendar/importers/Makefile.am
	(libevolution_calendar_importers_la_LIBADD):
	libicalvcal.la -> libicalvcal-evolution.la

	* shell/Makefile.am (evolution_LDADD):
	libical.la -> libical-evolution.la

	* libical/configure.in: Require flex 2.5.31 and add a test for it.
	Rename WITH_CXX conditional to WITH_CXX_BINDINGS.

	* libical/examples/Makefile.am (doesnothing_LDADD): Add -evolution to
	lib names.

	* libical/src/test/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add
	-evolution to lib names.

	* libical/src/test/regression.c (main): WITH_CXX -> WITH_CXX_BINDINGS.

	* libical/src/libicalcap/Makefile.am: Add -evolution to lib names.
	Install to Evolution's priv dirs.

	* libical/src/libicalvcal/Makefile.am: Ditto.

	* libical/src/libical/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add
	-evolution to lib names. Install in privlibdir. Install includes to
	$(privincludedir)/libical.

	* libical/src/libicalss/Makefile.am: Ditto.

	* libical/src/libicalss/icalsslexer.l: Replace option reentrant-bison
	with reentrant and bison-bridge. Use new Flex variable names.

	* libical/src/libical/icallexer.l:
	* libical/src/libical/icalyacc.y:
	* libical/src/libicalss/icalsslexer.c:
	* libical/src/libicalss/icalssyacc.c:
	* libical/src/libicalss/icalssyacc.h: Removed from repository.

svn path=/trunk/; revision=22633
2003-09-22 07:32:34 +00:00
431f07549f Subst in Evolution install variables.
2002-09-12  Hans Petter Jansson  <hpj@ximian.com>

	* configure.in: Subst in Evolution install variables.

	* src/libical/Makefile.am (CPPFLAGS): Use Evolution's privdatadir.

svn path=/trunk/; revision=22553
2003-09-12 18:14:01 +00:00
526550693f Add back these files, until the makefile can be fixed to generate them
correctly.

svn path=/trunk/; revision=22540
2003-09-11 22:26:46 +00:00
697761cc33 Import new libical from mainline HEAD and make appropriate changes to
Evolution.

svn path=/trunk/; revision=22538
2003-09-11 22:04:44 +00:00
432977b820 added missing implementation.
2003-08-18  Rodrigo Moya <rodrigo@ximian.com>

	* src/libical/icalcomponent.c (icalcomponent_set_uid): added missing
	implementation.

svn path=/trunk/; revision=22297
2003-08-19 23:48:07 +00:00
fa0a110592 Merged ECalendarTable changes from new-calendar-branch
svn path=/trunk/; revision=22143
2003-08-08 14:58:02 +00:00
4393cb1895 Fixes #41579
2003-05-14  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #41579

	* src/libical/icalcomponent.c (icalcomponent_new_clone): don't add the
	property if it's NULL.

svn path=/trunk/; revision=21185
2003-05-14 22:04:39 +00:00
5257f9dc84 Fixes crash in #41631
2003-05-07  Rodrigo Moya <rodrigo@ximian.com>

	Fixes crash in #41631

	* src/libicalvcal/icalvcal.c (icalvcal_traverse_objects): changed to
	return an error code and to return immediately if one of the recurrent
	calls return an error.
	(icalvcal_convert_with_defaults): if icalvcal_traverse_objects return
	an error, return NULL.

svn path=/trunk/; revision=21122
2003-05-07 16:49:04 +00:00
93e6b5f8f4 Part of fix for #34095
2003-03-17  Hans Petter Jansson  <hpj@ximian.com>

	Part of fix for #34095

	* scripts/mkderivedparameters.pl: Generate code to free old
	string value when a new one is set.

	* src/libical/icalperiod.c (icalperiodtype_as_ical_string):
	Callers expect a temporary string, and thus won't free it, so
	allocate returned memory from the temporary ring.

svn path=/trunk/; revision=20330
2003-03-18 01:48:41 +00:00
03dee6853b ignore more generated stuff
svn path=/trunk/; revision=19960
2003-02-20 03:17:14 +00:00
c5e48bf9a5 (libical_static_la_DEPENDENCIES): Make
libical-static.la depend on libical-evolution.la so they they are
not built in parallel by a parallel make, since that would break
libtool.

svn path=/trunk/; revision=19869
2003-02-10 15:53:21 +00:00
e359fec5c8 Added missing files to .cvsignore and AC_PREREQ to configure.in.
svn path=/trunk/; revision=19842
2003-02-07 12:39:46 +00:00
3a315cf4f3 AC_SUBST privlibdir, privincludedir, privdatadir (sent from ../configure).
* configure.in: AC_SUBST privlibdir, privincludedir, privdatadir
	(sent from ../configure). Add descriptions to AC_DEFINEs. Don't
	bother checking for python since we don't build it anyway.

	* acconfig.h: Gone

	* src/libical/Makefile.am: install library in privlibdir and
	headers under privincludedir. Look for zone files in privdatadir

	* src/libicalvcal/Makefile.am: install in privlibdir

	* zoneinfo/Makefile.am (zoneinfodatadir): define in terms of
	privdatadir
	(install-data-local): update

svn path=/trunk/; revision=19823
2003-02-06 18:13:57 +00:00
05a87528f2 Add AC_CONFIG_AUX_DIR(..) so it looks for ylwrap in the toplevel evolution
2002-12-19  Joe Shaw  <joe@ximian.com>

	* configure.in: Add AC_CONFIG_AUX_DIR(..) so it looks for ylwrap in
	the toplevel evolution directory and not our directory.  Fixes the
	build for automake >= 1.5

svn path=/trunk/; revision=19169
2002-12-19 17:40:55 +00:00
1c0c2cc2f4 added missing ';' for new bison to not complain.
2002-11-26  Rodrigo Moya <rodrigo@ximian.com>

	* src/libical/icalyacc.y: added missing ';' for new bison to not
	complain.

svn path=/trunk/; revision=18938
2002-11-27 00:33:20 +00:00
e5d1afdc53 Free the location if it's set. Otherwise one copy of the location of each
* src/libical/icaltimezone.c
        (icaltimezone_get_vtimezone_properties): Free the location if it's
        set. Otherwise one copy of the location of each built-in timezone
        we use gets leaked.

svn path=/trunk/; revision=18447
2002-10-27 15:58:25 +00:00
dcfed36441 Fixes #25153
2002-10-15  Rodrigo Moya <rodrigo@ximian.com>

	Fixes #25153

	* scripts/mkderivedvalues.pl: changed the _get functions for
	string values to return a NULL if arguments are wrong

	* src/libical/icalderivedvalue.c.in (icalvalue_get_x): return from
	function if pointer checking fails.

svn path=/trunk/; revision=18378
2002-10-16 21:41:39 +00:00
14829e0cc4 Allocate the right number of bytes when
appending the string value [it was allocating one fewer than
necessary].  [#28321]

svn path=/trunk/; revision=18281
2002-10-01 17:14:23 +00:00
3c92b86460 Update timezones (from Damon)
2002-06-18  JP Rosevear  <jpr@ximian.com>

	* Update timezones (from Damon)

2002-06-07  JP Rosevear  <jpr@ximian.com>

	* src/libical/icalparameter.c (icalparameter_as_ical_string):
	quote if the item contains a comma

svn path=/trunk/; revision=17602
2002-07-26 13:52:41 +00:00
2c202400a4 Darwin/OS portability from Max Horn <max@quendi.de>
* src/libical/icallangbind.c: #include <stdlib.h>, not <malloc.h>

	* src/libicalvcal/vobject.c: Likewise

	* src/libicalvcal/vcc.y: Likewise

	* src/libicalss/icaldirset.c: Rearrange #includes slightly to make
	Darwin happy.

svn path=/trunk/; revision=16307
2002-04-01 16:27:06 +00:00
28c6d294af added libicalvcal.
2002-02-08  Damon Chaplin  <damon@ximian.com>

	* src/Makefile.am (SUBDIRS): added libicalvcal.

	* configure.in (AC_OUTPUT): added src/libicalvcal/Makefile.

svn path=/trunk/; revision=15629
2002-02-09 01:06:31 +00:00
d64e7cf12f major changes to support RRULE/EXRULE, VALARMS and several other
2002-02-06  Damon Chaplin  <damon@ximian.com>

	* src/libicalvcal/icalvcal.c: major changes to support RRULE/EXRULE,
	VALARMS and several other properties.

	* src/libicalvcal/icalvcal.h (icalvcal_convert_with_defaults): new
	function to pass defaults for a few values into the importer. These
	are used when the vCalendar file doesn't provide the property but it
	is required in iCalendar.

	* src/libicalvcal/vcc.y: support multi-valued properties, by appending
	new ones and separating by ';'. This was pinched from our changes to
	evolution/libversit/vcc.y.

	* src/libicalvcal/Makefile.am: renamed library to libicalvcal-evolution
	Don't install the headers.

	* design-data/parameters.csv: added new error for error's parsing
	vCalendar properties.

svn path=/trunk/; revision=15582
2002-02-06 23:16:12 +00:00
84e6a5344f Skip over illegal whitespace in Microsoft-generated BYDAY rules.
* src/libical/icalrecur.c (icalrecur_add_bydayrules): Skip over
	illegal whitespace in Microsoft-generated BYDAY rules.

svn path=/trunk/; revision=15497
2002-01-28 21:47:39 +00:00
db035d9cf1 removed unused 'trigger:' production.
2001-12-18  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalyacc.y: removed unused 'trigger:' production.

	* configure.in (AC_OUTPUT): patch from Jeremy Katz <katzj@redhat.com>
	to remove src/libicalss/Makefile and src/libicalvcal/Makefile, as we
	don't ship those directories now.

svn path=/trunk/; revision=15152
2001-12-18 20:08:31 +00:00
9786b8ab7d if all we have is the TZID, see if it is one of our TZIDs and if so get
2001-12-10  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_display_name): if all
	we have is the TZID, see if it is one of our TZIDs and if so get the
	city name out of it. Fixes bug #16571.

svn path=/trunk/; revision=14957
2001-12-10 19:15:40 +00:00
b93c623212 initialize the builtin timezones, to ensure that the TZID of the UTC zone
2001-11-13  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_tzid): initialize the
	builtin timezones, to ensure that the TZID of the UTC zone is set.
	Hopefully fixes bugs #14941 & #14622.

svn path=/trunk/; revision=14689
2001-11-13 23:35:16 +00:00
c9ce571c20 use MAX_LINE_LEN rather than magic numbers all over the place.
2001-10-31  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalproperty.c (get_next_line_start): use MAX_LINE_LEN
	rather than magic numbers all over the place.

svn path=/trunk/; revision=14536
2001-10-31 14:13:29 +00:00
3f5027009a had to redo the folding code since Outlook 2000 doesn't like parameter
2001-10-31  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalproperty.c (icalproperty_as_ical_string): had to
	redo the folding code since Outlook 2000 doesn't like parameter values
	like 'TENTATIVE' cut in half. Now it tries to split after a ';', ':'
	or space.

svn path=/trunk/; revision=14529
2001-10-31 11:17:42 +00:00
3453ef724b forgot to account for the spaces added, so it could have been writing over
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalproperty.c (fold_property_line): forgot to account
	for the spaces added, so it could have been writing over the end of
	the allocated memory. Added check for buffer overflow as well.
	This could well have been the problem causing bug #14067.

svn path=/trunk/; revision=14517
2001-10-31 05:17:49 +00:00
5f9a503838 Regenerated all VTIMEZONEs, to be compatable with Outlook Web Access. They
2001-10-30  Damon Chaplin  <damon@ximian.com>

	* zoneinfo/*.ics: Regenerated all VTIMEZONEs, to be compatable with
	Outlook Web Access. They now only include 2 RRULEs components or
	1 simple DTSTART component.

svn path=/trunk/; revision=14454
2001-10-30 12:45:30 +00:00
dbff414ea8 renamed the library to libical-evolution.la, install ical.h into
2001-10-29  Damon Chaplin  <damon@ximian.com>

	* src/libical/Makefile.am: renamed the library to libical-evolution.la,
	install ical.h into $includedir/evolution, with the other Evo headers.

	* src/libical/icalproperty.c (fold_property_line): new function to
	fold property lines around every 70 characters. Outlook Web Access
	doesn't seem to like some properties folded after the property name
	(e.g. UID, VTIMEZONE stuff.) Slight chance of data corruption here.

	* src/libical/icalvalue.c (icalvalue_text_as_ical_string): don't fold
	the lines here.

	* src/libical/icaltime.c (icaltime_from_string): DATE values should
	not have is_utc set to 1 - they don't have a timezone.

	* src/libical/icalvalue.c (icalvalue_utcoffset_as_ical_string):
	always round UTC offsets to the nearest minute, for compatability
	with Outlook. Should round data when parsing as well.

svn path=/trunk/; revision=14396
2001-10-30 01:49:30 +00:00
27c2d8fee6 added function to get a reasonable name to display for the timezone.
2001-10-27  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_display_name): added
	function to get a reasonable name to display for the timezone.
	(Though it won't be translated.)

svn path=/trunk/; revision=14265
2001-10-28 02:24:22 +00:00
750c920dcd Outlooks (2000) places "Standard Time" and "Daylight Time" in the TZNAME
2001-10-25  Damon Chaplin  <damon@ximian.com>

	* src/libical/icaltimezone.c (icaltimezone_get_tznames_from_vtimezone):
	Outlooks (2000) places "Standard Time" and "Daylight Time" in the
	TZNAME strings, which is useless, so return NULL in that case.
	ETimezoneEntry will then use the TZID instead, in which Outlook does
	place the actual timezone name. (I just hope Outlook doesn't translate
	"Standard Time" to other languages, as we won't be able to fix it then)

svn path=/trunk/; revision=14107
2001-10-25 23:27:47 +00:00
1f506e4a03 use sizeof(test_array) for the memset call. It was clearing 9 bytes but
2001-10-23  Damon Chaplin  <damon@ximian.com>

	* src/libical/icalrecur.c (icalrecur_two_byrule): use
	sizeof(test_array) for the memset call. It was clearing 9 bytes but
	the array uses shorts.

svn path=/trunk/; revision=13958
2001-10-23 21:37:42 +00:00