aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove libical from this tree, it resides in e-d-s now.JP Rosevear2003-11-19254-76796/+0
| | | | svn path=/trunk/; revision=23417
* update for shufflingJP Rosevear2003-11-072-2/+2
| | | | | | | | 2003-11-06 JP Rosevear <jpr@ximian.com> * POTFILES.in: update for shuffling svn path=/trunk/; revision=23200
* use privincludedirJP Rosevear2003-11-063-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 JP Rosevear <jpr@ximian.com> * libebook/Makefile.am: use privincludedir * libedatabook/Makefile.am: ditto * libedatabook/libedatabook-1.0.pc.in: use privincludedir; remove gal * libebook/libebook-1.0.pc.in: ditto 2003-11-05 JP Rosvear <jpr@ximian.com> * libecal/Makefile.am: use privincludedir * libedatacal/Makefile.am: ditto * libecal/libecal-1.0.pc.in: ditto * libedatacal/libedatacal-1.0.pc.in: use privincludedir; remove gal 2003-11-05 JP Rosevear <jpr@ximian.com> * configure.in: make the priv*dir's sane * libedataserver/libedataserver-1.0.pc.in: use privincludedir; remove gal * libedataserver/ename/Makefile.am: ditto * libedataserver/Makefile.am: install to privincludedir 2003-11-05 JP Rosevear <jpr@ximian.com> * src/libical/Makefile.am: ditto * src/libicalvcal/Makefile.am: ditto * src/libicalss/Makefile.am: don't install the library svn path=/trunk/; revision=23194
* LIBADD all the relevant libical libsJP Rosevear2003-11-063-8/+8
| | | | | | | | | | | | | 2003-11-05 JP Rosevear <jpr@ximian.com> * libecal/Makefile.am: LIBADD all the relevant libical libs * libecal/libecal-1.0.pc.in: no need to explicitly link libical-evolution * libedatacal/libedatacal-1.0.pc.in: ditto; fix include dir svn path=/trunk/; revision=23192
* install headersJP Rosevear2003-11-051-6/+6
| | | | | | | | 2003-11-04 JP Rosevear <jpr@ximian.com> * src/libicalvcal/Makefile.am: install headers svn path=/trunk/; revision=23184
* install all of the headers that ical.h now #includesDan Winship2003-10-231-3/+29
| | | | | | | * src/libical/Makefile.am (libical_evolutioninclude_HEADERS): install all of the headers that ical.h now #includes svn path=/trunk/; revision=23037
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-2217-3155/+598
| | | | svn path=/trunk/; revision=22964
* Fixed INCLUDES and don't autogenerate ical.h, no need to. Plus it causedJeffrey Stedfast2003-10-1055-144/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove libical-staticDan Winship2003-10-072-10/+2
| | | | | | | | * src/libical/Makefile.am: Remove libical-static * src/libicalcap/Makefile.am: and libicalcap-static svn path=/trunk/; revision=22807
* updatedJeffrey Stedfast2003-09-272-0/+2
| | | | svn path=/trunk/; revision=22729
* updated cvsignoreJeffrey Stedfast2003-09-271-0/+1
| | | | svn path=/trunk/; revision=22728
* updateed cvsignoreJeffrey Stedfast2003-09-271-0/+1
| | | | svn path=/trunk/; revision=22727
* added .cvsignoreJeffrey Stedfast2003-09-271-0/+2
| | | | svn path=/trunk/; revision=22726
* ignore makefile.inJeffrey Stedfast2003-09-271-0/+1
| | | | svn path=/trunk/; revision=22725
* *** empty log message ***Jeffrey Stedfast2003-09-271-0/+2
| | | | svn path=/trunk/; revision=22724
* ignore Makefile.inJeffrey Stedfast2003-09-271-0/+1
| | | | svn path=/trunk/; revision=22723
* Remove flex check. Set ICAL_ERRORS_ARE_FATAL to 0.Hans Petter Jansson2003-09-246-40/+3226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove $(cxx_libs), it's undefined.Hans Petter Jansson2003-09-231-2/+2
| | | | | | | | | 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
* libical.la -> libical-evolution.laHans Petter Jansson2003-09-2212-4550/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Subst in Evolution install variables.Hans Petter Jansson2003-09-131-2/+2
| | | | | | | | | | 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
* Add back these files, until the makefile can be fixed to generate themHans Petter2003-09-122-0/+3884
| | | | | | correctly. svn path=/trunk/; revision=22540
* Import new libical from mainline HEAD and make appropriate changes toHans Petter2003-09-12220-6814/+41192
| | | | | | Evolution. svn path=/trunk/; revision=22538
* added missing implementation.Rodrigo Moya2003-08-201-1/+13
| | | | | | | | | 2003-08-18 Rodrigo Moya <rodrigo@ximian.com> * src/libical/icalcomponent.c (icalcomponent_set_uid): added missing implementation. svn path=/trunk/; revision=22297
* Merged ECalendarTable changes from new-calendar-branchRodrigo Moya2003-08-081-1/+12
| | | | svn path=/trunk/; revision=22143
* Fixes #41579Rodrigo Moya2003-05-151-1/+2
| | | | | | | | | | | 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
* Fixes crash in #41631Rodrigo Moya2003-05-081-11/+14
| | | | | | | | | | | | | | 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
* Part of fix for #34095Hans Petter Jansson2003-03-181-2/+3
| | | | | | | | | | | | | | | 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
* (libical_static_la_DEPENDENCIES): MakeEttore Perazzoli2003-02-101-1/+5
| | | | | | | | 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
* AC_SUBST privlibdir, privincludedir, privdatadir (sent from ../configure).Dan Winship2003-02-072-6/+6
| | | | | | | | | | | | | | | | | | | * 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
* added missing ';' for new bison to not complain.Rodrigo Moya2002-11-271-1/+18
| | | | | | | | | 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
* Free the location if it's set. Otherwise one copy of the location of eachDan Winship2002-10-271-0/+3
| | | | | | | | | * 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
* Fixes #25153Rodrigo Moya2002-10-171-2/+2
| | | | | | | | | | | | | | 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
* Allocate the right number of bytes whenEttore Perazzoli2002-10-021-1/+1
| | | | | | | appending the string value [it was allocating one fewer than necessary]. [#28321] svn path=/trunk/; revision=18281
* Update timezones (from Damon)JP Rosevear2002-07-261-1/+1
| | | | | | | | | | | | | 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
* Darwin/OS portability from Max Horn <max@quendi.de>Dan Winship2002-04-024-9/+3
| | | | | | | | | | | | | * 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
* added libicalvcal.Damon Chaplin2002-02-091-1/+1
| | | | | | | | | | 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
* major changes to support RRULE/EXRULE, VALARMS and several otherDamon Chaplin2002-02-074-86/+1247
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Skip over illegal whitespace in Microsoft-generated BYDAY rules.Dan Winship2002-01-291-10/+7
| | | | | | | * src/libical/icalrecur.c (icalrecur_add_bydayrules): Skip over illegal whitespace in Microsoft-generated BYDAY rules. svn path=/trunk/; revision=15497
* removed unused 'trigger:' production.Damon Chaplin2001-12-191-5/+1
| | | | | | | | | | | | 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
* if all we have is the TZID, see if it is one of our TZIDs and if so getDamon Chaplin2001-12-111-1/+19
| | | | | | | | | | 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
* initialize the builtin timezones, to ensure that the TZID of the UTC zoneDamon Chaplin2001-11-141-0/+5
| | | | | | | | | | 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
* use MAX_LINE_LEN rather than magic numbers all over the place.Damon Chaplin2001-10-311-3/+6
| | | | | | | | | 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
* had to redo the folding code since Outlook 2000 doesn't like parameterDamon Chaplin2001-10-311-32/+79
| | | | | | | | | | | 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
* forgot to account for the spaces added, so it could have been writing overDamon Chaplin2001-10-311-4/+9
| | | | | | | | | | | 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
* renamed the library to libical-evolution.la, install ical.h intoDamon Chaplin2001-10-305-23/+83
| | | | | | | | | | | | | | | | | | | | | | | | 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
* added function to get a reasonable name to display for the timezone.Damon Chaplin2001-10-282-1/+25
| | | | | | | | | | 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
* Outlooks (2000) places "Standard Time" and "Daylight Time" in the TZNAMEDamon Chaplin2001-10-261-0/+5
| | | | | | | | | | | | | 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
* use sizeof(test_array) for the memset call. It was clearing 9 bytes butDamon Chaplin2001-10-241-1/+1
| | | | | | | | | | 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
* updated all files again, placing current RDATEs first, so Outlook usesDamon Chaplin2001-10-234-49/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-22 Damon Chaplin <damon@ximian.com> * zoneinfo/*: updated all files again, placing current RDATEs first, so Outlook uses those. Also fixed a few bugs in vzic which resulted in a few changes. * zoneinfo/Makefile.am (DIRS): added America/North_Dakota. 2001-10-22 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_get_utc_offset): (icaltimezone_get_utc_offset_of_utc_time): if we go off the start of the changes array, return the TZOFFSETFROM of the first change. Also changed the maximum year to 2037. * src/libical/icaltime.c (icaltime_day_of_week): (icaltime_start_doy_of_week): (icaltime_week_number): init tm_hour to 12. Sometimes mktime() adjusts the time, if that local time doesn't actually exist, leading to the wrong day being returned. It is unlikely to adjust by 12 hours. (icaltime_as_timet_with_zone): (icaltime_from_timet_with_zone): change it back so it does convert DATE values to/from the timezone. time_t values don't really go well with DATE values, so be very careful when using them. We now assume that the time_t points to the start of the day in the given timezone. (We used to assume it pointed to the start of the day in UTC, but that meant it was actually incorrect wrt the displayed calendar.) * src/libical/icalrecur.c (expand_year_days): for FREQ=YEARLY with no modifiers, we add one day, using the month and day from DTSTART. (next_year): make sure we never go past 2037. * scripts/mkderivedproperties.pl: Updated to allow DTSTART, DTEND, DUE and RECURRENCE-ID to be set with DATE values. I think it now handles all properties which can take DATE values, except RDATE which uses DATE-TIME-PERIOD. svn path=/trunk/; revision=13912
* don't free the parameterJP Rosevear2001-10-201-1/+0
| | | | | | | | | 2001-10-19 JP Rosevear <jpr@ximian.com> * src/libical/icalproperty.c (icalproperty_remove_parameter): don't free the parameter svn path=/trunk/; revision=13808
* Assign with `=', not `+='.Ettore Perazzoli2001-10-061-2/+2
| | | | | | * src/libical/Makefile.am (CLEANFILES): Assign with `=', not `+='. svn path=/trunk/; revision=13463
* Fix the libical-related part of Ximian bug #7892.Federico Mena Quintero2001-09-273-8/+7
| | | | | | | | | | | | | | | | | | 2001-09-26 Federico Mena Quintero <federico@ximian.com> Fix the libical-related part of Ximian bug #7892. * src/libical/icalduration.c (icaldurationtype_as_ical_string): The correct string for zero seconds is "PT0S", not "PTS0". Also handle "negative zero" durations. * src/libical/icalvalue.c (icalvalue_new_from_string_with_error): Use icalerrno to see if the duration string is invalid. We cannot use icaldurationtype_is_null_duration() because a duration of zero *is* valid, not an error (icalduration_type_from_string() returns a zero duration on parse error, too). svn path=/trunk/; revision=13172
* free the temp dup'd string.Larry Ewing2001-09-202-4/+11
| | | | | | | | | 2001-09-19 Larry Ewing <lewing@ximian.com> * src/libical/icalperiod.c (icalperiodtype_from_string): free the temp dup'd string. svn path=/trunk/; revision=12984
* Generate an ICAL_ATTACH_VALUE value from the string.Federico Mena Quintero2001-09-121-2/+13
| | | | | | | | | 2001-09-11 Federico Mena Quintero <federico@ximian.com> * src/libical/icalvalue.c (icalvalue_new_from_string_with_error): Generate an ICAL_ATTACH_VALUE value from the string. svn path=/trunk/; revision=12769
* strdup the result of the first call to ical_component_as_ical_string()Damon Chaplin2001-09-111-6/+19
| | | | | | | | | | | | 2001-09-10 Damon Chaplin <damon@ximian.com> * src/libical/icalcomponent.c (icalcomponent_compare_vtimezones): strdup the result of the first call to ical_component_as_ical_string() since the second call may free it. Also, don't free the results of ical_component_as_ical_string() since it is a tmp buffer which is freed elsewhere. svn path=/trunk/; revision=12750
* Replace struct icalattachtype by an opaque icalattach that is properlyFederico Mena Quintero2001-09-117-122/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* pass the VTIMEZONE component to icalcomponent_compare_vtimezones(), notDamon Chaplin2001-09-072-6/+32
| | | | | | | | | | | | | | | 2001-09-06 Damon Chaplin <damon@ximian.com> * src/libical/icalcomponent.c (icalcomponent_merge_vtimezone): pass the VTIMEZONE component to icalcomponent_compare_vtimezones(), not the icaltimezone*. Strangely we weren't getting a compiler error. Fixes bug #5275, hopefully. * src/libical/icaltimezone.c (icaltimezone_dump_changes): updated so it still outputs the same format, even though the '1 Jan 0001' component isn't included any more. svn path=/trunk/; revision=12670
* updated all of the VTIMEZONE files to try to be more compatable withDamon Chaplin2001-09-011-1/+6
| | | | | | | | | | | | | | | | | 2001-08-31 Damon Chaplin <damon@ximian.com> * zoneinfo/*: updated all of the VTIMEZONE files to try to be more compatable with Outlook. i.e. We don't use seconds in UTC offsets, we don't use BYMONTHDAY if we can avoid it (there are still a few uses of this we need to fix), and we don't use years < 1600. * src/libical/icalvalue.c (icalvalue_utcoffset_as_ical_string): if seconds is 0 then don't output it. None of the builtin VTIMEZONE data uses the seconds value any more, since it messes up iTIP with Outlook. We may want to make it always round to the nearest minute, to avoid interop problems. svn path=/trunk/; revision=12551
* Dequote the same characters that we know how to quote inFederico Mena Quintero2001-08-171-12/+28
| | | | | | | | | | 2001-08-16 Federico Mena Quintero <federico@ximian.com> * src/libical/icalvalue.c (icalmemory_strdup_and_dequote): Dequote the same characters that we know how to quote in icalvalue_text_as_ical_string(). Fixes Ximian bug #7433. svn path=/trunk/; revision=12115
* removed some debugging messages.Damon Chaplin2001-08-021-38/+0
| | | | | | | | 2001-08-01 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c: removed some debugging messages. svn path=/trunk/; revision=11562
* changed the debugging message to avoid a crash on non-glibc boxes. (UsingDamon Chaplin2001-07-311-1/+2
| | | | | | | | | | 2001-07-30 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_get_builtin_timezone): changed the debugging message to avoid a crash on non-glibc boxes. (Using %s with a NULL argument will crash them.) svn path=/trunk/; revision=11492
* copy the TZID just in case the property we got it from gets modified.Damon Chaplin2001-07-314-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-30 Damon Chaplin <damon@ximian.com> * 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
* call pvl_next on i rather than itr.iterJP Rosevear2001-07-271-1/+1
| | | | | | | | | 2001-07-26 JP Rosevear <jpr@ximian.com> * src/libical/icalcomponent.c (icalcomponent_begin_component): call pvl_next on i rather than itr.iter svn path=/trunk/; revision=11439
* if from_zone is NULL (i.e. it is a floating time), just return.Damon Chaplin2001-07-271-3/+3
| | | | | | | | | 2001-07-26 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_convert_time): if from_zone is NULL (i.e. it is a floating time), just return. svn path=/trunk/; revision=11435
* accept an icaltimezone* of NULL for all the public functions, since NULLDamon Chaplin2001-07-261-1/+21
| | | | | | | | | 2001-07-25 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c: accept an icaltimezone* of NULL for all the public functions, since NULL is used to represent floating times. svn path=/trunk/; revision=11413
* if the property contaiJP Rosevear2001-07-261-0/+10
| | | | | | | | | 2001-07-25 JP Rosevear <jpr@ximian.com> * src/libical/icalparameter.c (icalparameter_as_ical_string): if the property contai svn path=/trunk/; revision=11405
* pass extra param to icalparser_get_next_char (icalparser_get_next_char):JP Rosevear2001-07-241-26/+37
| | | | | | | | | | 2001-07-23 JP Rosevear <jpr@ximian.com> * src/libical/icalparser.c: pass extra param to icalparser_get_next_char (icalparser_get_next_char): only use quote mode if the flag is set svn path=/trunk/; revision=11326
* changed so it doesn't use mktime(). We are having problems becauseDamon Chaplin2001-07-241-17/+22
| | | | | | | | | | 2001-07-23 Damon Chaplin <damon@ximian.com> * src/libical/icaltime.c (icaltime_day_of_year): changed so it doesn't use mktime(). We are having problems because mktime() only works post 1970. svn path=/trunk/; revision=11325
* do not strdup a NULL (valid) timezoneJP Rosevear2001-07-181-1/+1
| | | | | | | | | | 2001-07-17 JP Rosevear <jpr@ximian.com> * src/libical/icaltimezone.c (icaltimezone_get_tznames_from_vtimezone): do not strdup a NULL (valid) timezone svn path=/trunk/; revision=11180
* return NULL if we couldn't find the LOCATION.Damon Chaplin2001-07-172-9/+15
| | | | | | | | | | | | | | | 2001-07-16 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_get_location_from_vtimezone): return NULL if we couldn't find the LOCATION. (icaltimezone_get_utc_offset): ifdef'd out a debugging message. (icaltimezone_get_location): (icaltimezone_get_latitude): (icaltimezone_get_longitude): don't load the builtin timezone for these. We should already have the data from reading zones.tab. (icaltimezone_get_builtin_timezone_from_tzid): return NULL if the TZID given is NULL or "" (i.e. a floating time). svn path=/trunk/; revision=11143
* Add the COMBINEDHEADERS here and remove the EXTRA_DIST. This fixesPeter Williams2001-07-121-4/+10
| | | | | | | | | | | 2001-07-10 Peter Williams <peterw@ximian.com> * src/libicalss/Makefile.am (libicalss_la_SOURCES): Add the COMBINEDHEADERS here and remove the EXTRA_DIST. This fixes distcheck. We can't just put CONBINEDHEADERS at the bottom of _SOURCES because of the $(srcdir). svn path=/trunk/; revision=11040
* only create the timezones array when we need to, and make sure we freeDamon Chaplin2001-07-123-15/+80
| | | | | | | | | | | | | | | 2001-07-11 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c: only create the timezones array when we need to, and make sure we free things when necessary. Also added timezones_sorted variable, which we set to 0 when adding a timezone. We then sort the array before doing binary searches (oops!) * src/libical/icaltimezone.[hc]: added free_struct() arg to icaltimezone_free() to specify whether to free the icaltimezone struct. Also added icaltimezone_array_free() function. svn path=/trunk/; revision=11026
* don't convert DATE values.Damon Chaplin2001-07-113-42/+95
| | | | | | | | | | | | | | | | 2001-07-10 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_convert_time): don't convert DATE values. * src/libical/icaltime.c (icaltime_from_timet_with_zone): (icaltime_as_timet_with_zone): changed so they do not convert DATE values according to the timezone. * src/libical/icaltime.[hc]: added icaltime_current_time_with_zone() and icaltime_today() functions. svn path=/trunk/; revision=10983
* forgot to compile before committing. Idiot.Damon Chaplin2001-07-101-3/+3
| | | | | | | | | 2001-07-09 Damon Chaplin <damon@ximian.com> * src/libical/icaltime.c (icaltime_adjust): forgot to compile before committing. Idiot. svn path=/trunk/; revision=10945
* if the 2 zones are the same just return.Damon Chaplin2001-07-102-2/+25
| | | | | | | | | | | 2001-07-09 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_convert_time): if the 2 zones are the same just return. * src/libical/icaltime.c (icaltime_adjust): normalize the month. svn path=/trunk/; revision=10944
* add the icaltimezone to the timezone array of the toplevel VCALENDARDamon Chaplin2001-07-031-3/+16
| | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * src/libical/icalcomponent.c (icalcomponent_add_component): add the icaltimezone to the timezone array of the toplevel VCALENDAR component. svn path=/trunk/; revision=10738
* fixed bad assertion, '!=' -> '=='. (icalcomponent_merge_vtimezone): getDamon Chaplin2001-07-031-2/+2
| | | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * src/libical/icalcomponent.c (icalcomponent_merge_component): fixed bad assertion, '!=' -> '=='. (icalcomponent_merge_vtimezone): get the TZID from vtimezone, not comp. svn path=/trunk/; revision=10733
* more timezone stuff.Damon Chaplin2001-07-036-308/+856
| | | | | | | | | | 2001-07-03 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_get_builtin_timezone_from_tzid): * src/libical/icaltime.c: * src/libical/icalcomponent.c: more timezone stuff. svn path=/trunk/; revision=10727
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* added functions to get the coords of builtin timezones.Damon Chaplin2001-06-142-0/+22
| | | | | | | | | | 2001-06-14 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.c (icaltimezone_get_latitude): (icaltimezone_get_longitude): added functions to get the coords of builtin timezones. svn path=/trunk/; revision=10222
* merged in some new stuff from libical CVS. (icalrecur_add_byrules): If noDamon Chaplin2001-06-146-89/+398
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-13 Damon Chaplin <damon@ximian.com> * src/libical/icalrecur.c: merged in some new stuff from libical CVS. (icalrecur_add_byrules): If no sign is given set sign to 1 (i.e. default to positive). (icalrecur_iterator_new): when setting up the year days array, handle the case where a year has no occurrences and we have to skip it. Also initialize the last.day and last.month fields. (expand_by_day): set the last day of the year explicitly rather than adding 1 to year and subtracting 1 from day. It is more efficient, and less prone to bugs. Also rewrote a bit. (expand_year_days): added code to handle BY_MONTH_DAY and BY_DAY + BY_MONTH_DAY, and rewrote code to handle BY_DAY + BY_MONTH. (next_year): handled the case where there are no occurrences in the year. * src/libical/icaltime.c (icaltime_adjust): new function to adjust a time by a number of days/hours/minutes/seconds. (icaltime_day_of_week): rewrote using a single call to mktime(). (icaltime_day_of_year): rewrote using a single call to mktime(). (icaltime_from_day_of_year): rewrote in a simpler way. The old version had a bug in it. * src/libical/icaltime.h (struct icaltimetype): added is_daylight flag, so we can try to distinguish between standard and daylight time when the clocks go back. Though this doesn't always resolve the ambiguity. * src/libical/icalcomponent.c: added some stuff to handle timezone data connected to the calendar component. Unfinished. * src/libical/icalyacc.y: merged in a fix from sourceforge CVS version of libical, so we can handle -ve UTC offsets. * src/libical/Makefile.am (CPPFLAGS): added PACKAGE_DATA_DIR define for finding the VTIMEZONE files. (libical_la_SOURCES): added icalarray.[hc] and icaltimezone.[hc]. (COMBINEDHEADERS): added icalarray.h and icaltimezone.h to the headers to be combined into ical.h. svn path=/trunk/; revision=10220
* new files to contain support for timezones.Damon Chaplin2001-06-144-0/+1632
| | | | | | | | | | | | 2001-06-13 Damon Chaplin <damon@ximian.com> * src/libical/icaltimezone.[hc]: new files to contain support for timezones. * src/libical/icalarray.[hc]: new files to provide a simple expanding array datatype. svn path=/trunk/; revision=10215
* Fixes to make it make dist and make distcheck. Kind of kludgy but theyJP Rosevear2001-05-161-16/+15
| | | | | | | | | 2001-05-16 JP Rosevear <jpr@ximian.com> * src/libical/Makefile.am: Fixes to make it make dist and make distcheck. Kind of kludgy but they seem to work. Time will tell. svn path=/trunk/; revision=9841
* here's some good lovin' from the oven...Jeffrey Stedfast2001-05-161-0/+2
| | | | | | CVe: ---------------------------------------------------------------------- svn path=/trunk/; revision=9829
* plug leak (icaltime_as_timet): use altered functionsJP Roseveaer2001-05-111-58/+57
| | | | | | | | | | | 2001-05-10 JP Roseveaer <jpr@ximian.com> * src/libical/icaltime.c (set_tz, unset_tz): plug leak (icaltime_as_timet): use altered functions (icaltime_utc_offset): ditto (icaltime_from_day_of_year): ditto svn path=/trunk/; revision=9752
* ShushJP Rosevear2001-05-081-1/+5
| | | | svn path=/trunk/; revision=9701
* initialize "continuation_line" to 0JP Rosevear2001-05-031-0/+1
| | | | | | | | | 2001-05-02 JP Rosevear <jpr@ximian.com> * src/libical/icalparser.c (icalparser_new): initialize "continuation_line" to 0 svn path=/trunk/; revision=9646
* this shouldn't have been here (at least not containing ".deps")Dan Winship2001-04-271-1/+0
| | | | svn path=/trunk/; revision=9589
* I get "cannot obtain lock on directory /cvs/gnome/..../.deps: no such file ↵Gediminas Paulauskas2001-04-221-0/+1
| | | | | | or directory" so add .deps to cvsignore svn path=/trunk/; revision=9483
* Disable the Python stuff and the tests for now. They are broken andEttore Perazzoli2001-04-181-1/+1
| | | | | | are not needed by end users anyway. svn path=/trunk/; revision=9443
* Prepend `$(srcdir)' to the list of libicalss headers to be combined.Ettore Perazzoli2001-04-181-11/+11
| | | | svn path=/trunk/; revision=9442
* Fix the building of ical.h. Again.Ettore Perazzoli2001-04-181-6/+6
| | | | svn path=/trunk/; revision=9441
* The perl script generated files changed between releasesJP Rosevear2001-04-1810-1753/+948
| | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * The perl script generated files changed between releases svn path=/trunk/; revision=9426
* Removing autogenerated filesJP Rosevear2001-04-183-1127/+0
| | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * Removing autogenerated files svn path=/trunk/; revision=9421
* Finish merge of new libical 0.23a versionJP Rosevear2001-04-1823-2120/+1886
| | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * Finish merge of new libical 0.23a version svn path=/trunk/; revision=9420
* This commit was generated by cvs2svn to compensate for changes in r9415,JP Rosevear2001-04-1815-409/+168
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=9416
* Initial revisionJP Rosevear2001-04-1832-0/+6890
| | | | svn path=/trunk/; revision=9413
* Merge the building fix from evolution-0-9-branch.Ettore Perazzoli2001-02-281-1/+1
| | | | svn path=/trunk/; revision=8413
* The built sources shouldn't be cleaneJP Rosevear2001-02-091-9/+0
| | | | | | | | 2001-02-09 JP Rosevear <jpr@ximian.com> * src/libical/Makefile.am: The built sources shouldn't be cleane svn path=/trunk/; revision=8139
* its NEEDS-ACTION rather than NEEDSACTION (icalparameter_as_ical_string):JP Rosevear2001-02-091-4/+4
| | | | | | | | | | 2001-02-09 JP Rosevear <jpr@ximian.com> * src/libical/icalparameter.c.in (icalparameter_new_from_string): its NEEDS-ACTION rather than NEEDSACTION (icalparameter_as_ical_string): ditto svn path=/trunk/; revision=8138
* Added a missing #include here.Christopher James Lahey2001-02-072-2/+8
| | | | | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * src/libical/icallangbind.c: Added a missing #include here. * src/libical/icalrecur.c (icalrecur_add_bydayrules): Copy the passed in const vals since we change it. svn path=/trunk/; revision=8019
* Use the renamed api callJP Rosevear2001-02-061-1/+1
| | | | | | | | | 2001-02-05 JP Rosevear <jpr@ximian.com> * src/libical/icallangbind.c (icallangbind_get_property): Use the renamed api call svn path=/trunk/; revision=8011
* Fscking autoconfJP Rosevear2001-02-061-1/+1
| | | | svn path=/trunk/; revision=7995
* Guess what! Fix `builddir != srcdir' breakage.Ettore Perazzoli2001-02-061-4/+4
| | | | svn path=/trunk/; revision=7994
* This is it i hopeJP Rosevear2001-02-061-2/+1
| | | | svn path=/trunk/; revision=7993
* More import cleanupJP Rosevear2001-02-062-9/+9
| | | | svn path=/trunk/; revision=7991
* Import cleanupJP Rosevear2001-02-0613-179/+670
| | | | svn path=/trunk/; revision=7978
* This commit was generated by cvs2svn to compensate for changes in r7975,JP Rosevear2001-02-063-3/+24
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=7976
* Initial revisionJP Rosevear2001-02-062-0/+202
| | | | svn path=/trunk/; revision=7973
* Remove unused "extern long timezone".Dan Winship2001-01-261-1/+0
| | | | | | * src/libical/icaltime.c: Remove unused "extern long timezone". svn path=/trunk/; revision=7814
* rewrote to fix problems with freeing the environment string after callingDamon Chaplin2001-01-251-19/+43
| | | | | | | | | | | | 2001-01-24 Damon Chaplin <damon@helixcode.com> * src/libical/icaltime.c (set_tz): (unset_tz): rewrote to fix problems with freeing the environment string after calling putenv() and to fix memory leaks. (We save a pointer to the last TZ env var we set, so we free it after the next time we set TZ.) svn path=/trunk/; revision=7788
* Minor import fixJP Rosevear2001-01-241-4/+0
| | | | svn path=/trunk/; revision=7754
* Import clean upJP Rosevear2001-01-2428-1009/+2795
| | | | svn path=/trunk/; revision=7751
* This commit was generated by cvs2svn to compensate for changes in r7747,JP Rosevear2001-01-2424-339/+758
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=7748
* Initial revisionJP Rosevear2001-01-241-0/+167
| | | | svn path=/trunk/; revision=7745
* add -ve sign to output of duration if appropriate.JP Rosevear2001-01-191-5/+25
| | | | | | | | | | | | 2001-01-19 JP Rosevear <jpr@ximian.com> * src/libical/icalvalue.c.in (icalvalue_duration_as_ical_string): add -ve sign to output of duration if appropriate. (icalvalue_trigger_as_ical_string): implement. not happy how this is done with the -1 for is_date trick but it will do for now and period does things in a similar way. svn path=/trunk/; revision=7645
* include configure.h because HAVE_TIMEZONE is usedJP Rosevear2000-12-221-0/+4
| | | | | | | | | | | | 2000-12-21 JP Rosevear <jpr@helixcode.com> * src/libical/icaltime.c: include configure.h because HAVE_TIMEZONE is used * acconfig.h: Terminate variable comment so that the variable can actually be seen svn path=/trunk/; revision=7122
* Build `libical-static.la', that is needed for the conduits.Ettore Perazzoli2000-12-151-0/+4
| | | | svn path=/trunk/; revision=7046
* make icalcomponent.c depend on icalproperty.h, icalvalue.h, andPeter Teichman2000-12-151-2/+4
| | | | | | icalparameter.h svn path=/trunk/; revision=7015
* ShushJP Rosevear2000-12-152-0/+9
| | | | svn path=/trunk/; revision=7012
* put icalproperty.h and icalvalue.h before icalcomponent.c in thePeter Teichman2000-12-151-2/+2
| | | | | | libical_la_SOURCES list, so they get built before it. svn path=/trunk/; revision=7010
* More builddir != srcdir fun! Man, I enjoy this so much.Ettore Perazzoli2000-12-141-17/+17
| | | | svn path=/trunk/; revision=7001
* Use gmtime() unconditionally, since we want an UTC broken-downFederico Mena Quintero2000-12-141-4/+3
| | | | | | | | | | | | 2000-12-13 Federico Mena Quintero <federico@helixcode.com> * src/libical/icaltime.c (icaltime_from_timet): Use gmtime() unconditionally, since we want an UTC broken-down representation. (icaltime_as_timet): Add the offset only if the time was supposed to be in UTC; that way mktime() will get a proper localtime as source data. svn path=/trunk/; revision=6996
* time_t values *are* in UTC by definition, so the is_utc argument isFederico Mena Quintero2000-12-141-0/+5
| | | | | | | | | | | | | | 2000-12-13 Federico Mena Quintero <federico@helixcode.com> * src/libical/icaltime.c (icaltime_from_timet): time_t values *are* in UTC by definition, so the is_utc argument is useless. Removed the conversion to UTC and made the icaltimetype.is_utc be TRUE always. This breaks libical's owne internal use of this function, but since we do not use any of the functions that use it that way, we can ignore this. This is basically a temporary measure until libical does the right thing. svn path=/trunk/; revision=6994
* icalparser.c Addedd support for x-parameters.Eric Busboom2000-12-145-27/+54
| | | | | | | | | | | | | | | 2000-12-12 Eric Busboom <eric@softwarestudio.org> * icalparser.c Addedd support for x-parameters. * icalenum.c Fixed icalenum_parameter_type_to_string and icalenum_property_type_to_string to property identify X- parameers and properties. * icalparameter.c Fixed icalparameter_as_ical_string to property write out X-Parameters. svn path=/trunk/; revision=6990
* Added a name to the parameter to icalerror_set_errno.Christopher James Lahey2000-12-141-1/+1
| | | | | | | | | 2000-12-13 Christopher James Lahey <clahey@helixcode.com> * src/libical/icalerror.h: Added a name to the parameter to icalerror_set_errno. svn path=/trunk/; revision=6985
* Removed the explicit paths. Why it did *not* work on my original try whenFederico Mena Quintero2000-12-141-19/+17
| | | | | | | | | | 2000-12-13 Federico Mena Quintero <federico@helixcode.com> * src/libical/Makefile.am (COMBINEDHEADERS): Removed the explicit paths. Why it did *not* work on my original try when they were not there, well, now I don't know. svn path=/trunk/; revision=6980
* Fix some horrible Makefile breakage, getting it to compile withEttore Perazzoli2000-12-132-12/+23
| | | | | | | builddir != srcdir and handling the dependencies for the built sources correctly (or at least so I hope). svn path=/trunk/; revision=6966
* #if 0ed out some #if 1ed test code that was breaking my build byJoe Shaw2000-12-131-1/+1
| | | | | | | | | 2000-12-12 Joe Shaw <joe@helixcode.com> * src/libical/icalrecur.c: #if 0ed out some #if 1ed test code that was breaking my build by #including ical.h. No cookie! svn path=/trunk/; revision=6959
* Add a check for "extern int timezone;" vs struct tm tm_gmtoff, stolen fromDan Winship2000-12-132-8/+11
| | | | | | | | | | | | | | | * configure.in: Add a check for "extern int timezone;" vs struct tm tm_gmtoff, stolen from Evolution's configure.in. * src/libical/icaltime.c (icaltime_utc_offset, icaltime_local_utc_offset): Use HAVE_TIMEZONE, add tm_gmtoff support. * src/libical/icallexer.l: Remove ical_yy_scan_buffer, ..._string, and ..._bytes prototypes, since it compiles fine without them on Linux, and bombs out due to prototype mismatch on my NetBSD box. svn path=/trunk/; revision=6945
* Fixety fix - FedericoFederico Mena Quintero2000-12-123-3206/+4
| | | | svn path=/trunk/; revision=6933
* Remove more auto-generated files - FedericoFederico Mena Quintero2000-12-123-4955/+0
| | | | svn path=/trunk/; revision=6930
* Removed auto-generated files - FedericoFederico Mena Quintero2000-12-128-12041/+0
| | | | svn path=/trunk/; revision=6929
* Fix fucking CVS conflicts - FedericoFederico Mena Quintero2000-12-1220-44/+36
| | | | svn path=/trunk/; revision=6928
* Fix fucking CVS conflicts because fucking CVS is a fucking big doofus - FedericoFederico Mena Quintero2000-12-1240-1653/+5634
| | | | svn path=/trunk/; revision=6920
* This commit was generated by cvs2svn to compensate for changes in r6917,Federico Mena Quintero2000-12-1218-261/+1515
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=6918
* Initial revisionFederico Mena Quintero2000-12-1226-0/+10479
| | | | svn path=/trunk/; revision=6915
* return NULL if we can't create a view.Michael Meeks2000-12-051-314/+325
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* Patch from Eric Busboom <eric@softwarestudio.org> to fix BYDAY elements inFederico Mena Quintero2000-11-221-21/+21
| | | | | | | | | | 2000-11-21 Federico Mena Quintero <federico@helixcode.com> * src/libical/icalyacc.y: Patch from Eric Busboom <eric@softwarestudio.org> to fix BYDAY elements in monthly recurrence rule values. svn path=/trunk/; revision=6648
* Handle both the position and weekday in the by_day field.Federico Mena Quintero2000-11-071-2/+7
| | | | | | | | | 2000-11-06 Federico Mena Quintero <federico@helixcode.com> * src/libical/icalvalue.c (icalvalue_recur_as_ical_string): Handle both the position and weekday in the by_day field. svn path=/trunk/; revision=6416
* Fixed icalproperty_remove_parameter().Jesse Pavel2000-10-281-1/+18
| | | | svn path=/trunk/; revision=6239
* add support for 'X-' parameters.Damon Chaplin2000-10-122-4/+11
| | | | | | | | | | | 2000-10-11 Damon Chaplin <damon@helixcode.com> * src/libical/icalparameter.c (icalparameter_as_ical_string): (icalparameter_new_from_string): * src/libical/icalparser.c (icalparser_add_line): add support for 'X-' parameters. svn path=/trunk/; revision=5855
* Fix the semicolons in this rule. Noticed by x-virge.Dan Winship2000-10-082-7/+8
| | | | | | | | | | * src/libical/icalyacc.y (weekday_list): Fix the semicolons in this rule. Noticed by x-virge. * src/test/Makefile.in: While I'm here, remove this from CVS, as it's a generated file. svn path=/trunk/; revision=5781
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-13/+15
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Merge missing file for distcheckJP Rosevear2000-09-132-0/+205
| | | | | | | | | | | | 2000-09-12 JP Rosevear <jpr@helixcode.com> * test-data/stresstest.ics: Merge missing file for distcheck * src/libicalss/icalcstp.h: ditto * src/libicalss/icalcsdb.h: ditto svn path=/trunk/; revision=5369
* New function that compares only the dates, not the times as wellJP Rosevear2000-09-082-0/+18
| | | | | | | | | | | 2000-09-08 JP Rosevear <jpr@helixcode.com> * src/libical/icaltime.c (icaltime_compare_date_only): New function that compares only the dates, not the times as well * src/libical/icaltime.h: Add prototype svn path=/trunk/; revision=5260
* We don't need AC_PROG_RANLIB and AM_PROG_LIBTOOLJP Rosevear2000-09-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 2000-09-01 JP Rosevear <jpr@helixcode.com> * configure.in: We don't need AC_PROG_RANLIB and AM_PROG_LIBTOOL * src/libical/icalyacc.y (clear_recur): Explicitly set the week_start to the Monday default in case the recurrence rule does not. 2000-09-01 JP Rosevear <jpr@helixcode.com> * gui/event-editor.c: Make toolbar save and close button. We should put a similar menu option in sometime. 2000-08-31 JP Rosevear <jpr@helixcode.com> * cal-util/cal-recur.c (array_to_list): Use ICAL_RECURRENCE_ARRAY_MAX instead of MAX_SHORT svn path=/trunk/; revision=5164
* Kill off more old, dead filesJP Rosevear2000-09-0122-10040/+0
| | | | | | | | 2000-08-31 JP Rosevear <jpr@helixcode.com> * Kill off more old, dead files svn path=/trunk/; revision=5150
* Kill fileJP Rosevear2000-09-012-460/+0
| | | | | | | | | | 2000-08-31 JP Rosevear <jpr@helixcode.com> * src/libical/.gdb_history: Kill file * src/libical/.gdb_history: Kill file svn path=/trunk/; revision=5146
* Kill old fileJP Rosevear2000-09-014-562/+13
| | | | | | | | | | | | | | | | 2000-08-31 JP Rosevear <jpr@helixcode.com> * src/pvl/Makefile: Kill old file * src/test/usecases.c: Kill old file * src/test/.cvsignore: Update * src/libicalvcal/.cvsignore: Update * examples/.cvsignore: Shut up svn path=/trunk/; revision=5144
* Add/fix .cvsignores.Ettore Perazzoli2000-08-282-0/+13
| | | | svn path=/trunk/; revision=5082
* builddir != srcdir fixes.Ettore Perazzoli2000-08-271-1/+1
| | | | svn path=/trunk/; revision=5063
* Got rid of some warnings.Christopher James Lahey2000-08-262-4/+4
| | | | | | | | | | | 2000-08-25 Christopher James Lahey <clahey@helixcode.com> * examples/access_properties_and_parameters.c, src/libicalvcal/vcc.y: Got rid of some warnings. * src/libicalvcal/vcc.c: Checking in generated C file. svn path=/trunk/; revision=5059
* Fixed an incorrect struct name.Christopher James Lahey2000-08-261-2/+2
| | | | | | | | 2000-08-25 Christopher James Lahey <clahey@helixcode.com> * src/libical/icalcomponent.c: Fixed an incorrect struct name. svn path=/trunk/; revision=5058
* Compile fix for libicalPeter Williams2000-08-251-2/+2
| | | | svn path=/trunk/; revision=5034
* Remove this duplicate file to fix buildJP Rosevear2000-08-251-39/+0
| | | | | | | | 2000-08-24 JP Rosevear <jpr@helixcode.com> * src/libical/icalvcal.h: Remove this duplicate file to fix build svn path=/trunk/; revision=5030
* Baby seal eyes are good with soy sauce! - FedericoFederico Mena Quintero2000-08-251-3/+3
| | | | svn path=/trunk/; revision=5029
* Fixety fix - FedericoFederico Mena Quintero2000-08-251-2/+2
| | | | svn path=/trunk/; revision=5028
* More import tidying.JP Rosevear2000-08-253-317/+7
| | | | svn path=/trunk/; revision=5023
* Fix minor conflicts.JP Rosevear2000-08-2538-1519/+2539
| | | | svn path=/trunk/; revision=5017
* Initial revisionJP Rosevear2000-08-2535-0/+13290
| | | | svn path=/trunk/; revision=5011
* You have to wonder what a file called foo was doing here... - FedericoFederico Mena Quintero2000-08-011-1578/+0
| | | | svn path=/trunk/; revision=4442
* add textual exception printout. (set_editor_text): close pre tags & checkMichael Meeks2000-07-261-0/+1706
| | | | | | | | | | | | | | | | | | | | 2000-07-25 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): add textual exception printout. (set_editor_text): close pre tags & check for pre-existing sig separator. 2000-07-25 Michael Meeks <michael@helixcode.com> * mail-config.c (create_identity_page): set default signature to ~/.signature 2000-07-25 Michael Meeks <michael@helixcode.com> * backend/ebook/load-pine-addressbook.c (book_open_cb): check we opened ok. svn path=/trunk/; revision=4330
* Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versionsFederico Mena Quintero2000-07-131-18/+46
| | | | | | | | | 2000-07-12 Federico Mena Quintero <federico@helixcode.com> * configure.in: Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versions to avoid breakage. svn path=/trunk/; revision=4129
* fixed various problemsSeth Alves2000-07-131-0/+7
| | | | | | | | | | | * conduits/calendar/calendar-conduit.c: fixed various problems * cal-client/Makefile.am: build a static version of the library to link with the conduits * cal-util/Makefile.am: same svn path=/trunk/; revision=4116
* Generated files, go away - FedericoFederico Mena Quintero2000-07-063-4068/+0
| | | | svn path=/trunk/; revision=3896
* Added the array of objects and the hash table of UID->array index.Federico Mena Quintero2000-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | 2000-06-13 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (CalendarModelPrivate): Added the array of objects and the hash table of UID->array index. (calendar_model_row_count): Return the length directly from the array instead of asking the Wombat. (calendar_model_value_at): Implemented. (calendar_model_new): Create an empty model. We provide a new setter function now. (calendar_model_construct): Removed function. (calendar_model_set_cal_client): New function to set the calendar client and object type at any time. This lets us reuse a calendar model object. * cal-util/calobj.h (iCalObjectField): Just report whether the object has alarms; not every single alarm. svn path=/trunk/; revision=3547
* Removing generated filesÉRDI Gergo2000-06-101-1/+1
| | | | svn path=/trunk/; revision=3503
* Now this derives from GtkObject. It follows the same strategy as theFederico Mena Quintero2000-06-091-21/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-08 Federico Mena Quintero <federico@helixcode.com> * contact-editor/e-contact-editor.h (EContactEditor): Now this derives from GtkObject. It follows the same strategy as the EventEditor in the calendar. (EContactEditor): Added an is_new_card field so that we can know whether to add() or commit() the card. * contact-editor/e-contact-editor.c (e_contact_editor_get_type): Derive from GtkObject. (e_contact_editor_class_init): Likewise. (e_contact_editor_class_init): Added an "is_new_card" argument. (e_contact_editor_set_arg): Handle ARG_IS_NEW_CARD. (e_contact_editor_get_arg): Likewise. (e_contact_editor_new): Take in an is_new_arg argument and set it on the object. (e_contact_editor_init): Load the app widget into the app field of the EContactEditor structure. Create its UIHandler as well. (e_contact_editor_class_init): New "add_card", "commit_card", and "editor_closed" signals. * contact-editor/test-editor.c (main): Modified for the new API. (editor_closed_cb): Tweaked for the new API. Since this test program does not use Bonobo, it doesn't work, though. * gui/component/addressbook.c (new_contact_cb): Use the new contact editor API. (table_double_click): Ditto. * gui/minicard/e-minicard-view.c (e_minicard_view_event): Use the new contact editor API. * gui/minicard/e-minicard.c (e_minicard_event): Use the new contact editor API. svn path=/trunk/; revision=3479
* Fix Makefiles so that (guess what?) they work with builddir != srcdir.Ettore Perazzoli2000-06-082-2/+12
| | | | svn path=/trunk/; revision=3474
* update some .cvsignoresSeth Alves2000-06-081-0/+1
| | | | svn path=/trunk/; revision=3464
* *** empty log message ***Seth Alves2000-06-074-9/+541
| | | | svn path=/trunk/; revision=3451
* merge libical-0.17 onto the headSeth Alves2000-06-0714-1470/+1493
| | | | svn path=/trunk/; revision=3449
* Initial revisionSeth Alves2000-06-073-0/+4069
| | | | svn path=/trunk/; revision=3442
* reparing damage from removing filesEric Busboom2000-05-1570-0/+30591
| | | | svn path=/trunk/; revision=3042
* removing all filesEric Busboom2000-05-1574-31729/+0
| | | | svn path=/trunk/; revision=3040
* Initial revisionEric Busboom2000-05-154-0/+1138
| | | | svn path=/trunk/; revision=3034
* Fix Makefile to use generated include files that are in the buildEttore Perazzoli2000-05-141-0/+2
| | | | | | directory, too. svn path=/trunk/; revision=3019
* Stylistic fix - FedericoFederico Mena Quintero2000-05-011-0/+376
| | | | svn path=/trunk/; revision=2707
* Further Makefile loving.Ettore Perazzoli2000-04-272-2/+2
| | | | svn path=/trunk/; revision=2656
* Fix broken `Makefile.am' again. I am frustrated.Ettore Perazzoli2000-04-271-1/+3
| | | | svn path=/trunk/; revision=2655
* + * tests/.cvsignore: Added test13.Matthew Loper2000-04-272-3/+1
| | | | | | | | | | | + + * default_user/.cvsignore: New file. + + * src/libical/.cvsignore: added icalversion.h. + + * src/libical/icalversion.h: autogenerated file removed from cvs. svn path=/trunk/; revision=2639
* Removed.Christopher James Lahey2000-04-261-376/+0
| | | | | | | | 2000-04-26 Christopher James Lahey <clahey@helixcode.com> * src/test/Makefile.in: Removed. svn path=/trunk/; revision=2627
* Fix compile with builddir != srcdir.Ettore Perazzoli2000-04-262-2/+2
| | | | svn path=/trunk/; revision=2607
* convert from a time_t to an icaldurationtype.Seth Alves2000-04-251-0/+19
| | | | | | | * src/libical/icaltypes.c (icaldurationtype_from_timet): convert from a time_t to an icaldurationtype. svn path=/trunk/; revision=2589
* *** empty log message ***Seth Alves2000-04-212-1/+3
| | | | svn path=/trunk/; revision=2544
* Use "e-minicard" as the log domain.Federico Mena Quintero2000-04-211-0/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-18 Federico Mena Quintero <federico@helixcode.com> * gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log domain. * gui/component/Makefile.am (INCLUDES): Use "evolution-addressbook" as the log domain. * backend/pas/Makefile.am: Build libpas.a, not a shared library. Do not install any header files. (INCLUDES): Remove spurious include paths. * backend/pas/*.[ch]: Fix includes. * backend/ebook/Makefile.am: Do not install the test programs. Fixed some include weirdness. * backend/ebook/*.[ch]: Fix includes. * contact-editor/Makefile.am (INCLUDES): Set the log domain to "contact-editor". (INCLUDES): Fix. * contact-editor/*.[ch]: Fix includes. * gui/minicard/*.[ch]: Fix includes. svn path=/trunk/; revision=2529
* This file does not belong in CVS.Peter Williams2000-04-201-376/+0
| | | | svn path=/trunk/; revision=2521
* build libtool libraries instead of just .aSeth Alves2000-04-193-11/+12
| | | | svn path=/trunk/; revision=2502
* added some stuff to cvs ignore files, build .la instead of just .aSeth Alves2000-04-193-22/+91
| | | | | | in src/libical/Makefile.am svn path=/trunk/; revision=2488
* import of libical-0.16Seth Alves2000-04-1936-1197/+3272
| | | | svn path=/trunk/; revision=2484
* Various building fixes. At least, now it builds for me.Ettore Perazzoli2000-03-021-2/+3
| | | | svn path=/trunk/; revision=2007
* make libicalss installableSeth Alves2000-02-261-2/+2
| | | | svn path=/trunk/; revision=1965
* renamed a couple files so that automake will be my friendSeth Alves2000-02-264-14/+15
| | | | | | | mangled the namespace of the yacc grammer so i can link this library and libversit at the same time svn path=/trunk/; revision=1964
* added the generated file icalitip.tab.c until i can figure outSeth Alves2000-02-245-16/+1683
| | | | | | | | | how to make automake do the right thing changed a bunch of yyXXX to icalparser_yyXXX to avoid namespace conflicts svn path=/trunk/; revision=1911
* + * libical/src/libical/.cvsignore: Added *.lo, *.la, and .libs.Matthew Loper2000-02-222-1/+7
| | | | | | | | | | | | + * libical/src/libicalss/.cvsignore: same. + + * tests/.cvsignore: Added test11. + + * filter/.cvsignore: New file. + + * libibex/.cvsignore: Added mkindex. svn path=/trunk/; revision=1895
* + * libical/Makefile.in: autogenerated file removed from cvs, andMatthew Loper2000-02-226-1159/+4
| | | | | | | | | | | + added to .cvsignore. + * libical/src/Makefile.in: same. + * libical/src/libical/Makefile.in: same. + * libical/src/libicalss/Makefile.in: same. + + * mail/Makefile.am: added -lunicode to evolution_mail_LDADD. svn path=/trunk/; revision=1894
* generatedSeth Alves2000-02-211-2164/+0
| | | | svn path=/trunk/; revision=1886
* more fallout from import of 0.15aSeth Alves2000-02-212-2/+2
| | | | svn path=/trunk/; revision=1883
* generatedSeth Alves2000-02-211-1660/+0
| | | | svn path=/trunk/; revision=1882
* This commit was generated by cvs2svn to compensate for changes in r1879,Seth Alves2000-02-218-14/+104
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1880
* Initial revisionSeth Alves2000-02-211-0/+23
| | | | svn path=/trunk/; revision=1877
* ignore a flex output fileSeth Alves2000-02-211-0/+2
| | | | svn path=/trunk/; revision=1876
* ignore .depsSeth Alves2000-02-212-1/+3
| | | | svn path=/trunk/; revision=1875
* some Makefile.ams to use until eric moves his code to cvsSeth Alves2000-02-218-128/+1161
| | | | svn path=/trunk/; revision=1873
* + * libical/src/test/.cvsignore: Added Makefile.Matthew Loper2000-02-202-0/+2
| | | | | | | | | + + * libical/.cvsignore: Added Makefile, configure, config.status. + + * libical/src/.cvsignore: New file. svn path=/trunk/; revision=1863
* + * libical/Makefile: autogenerated file removed from cvs.Matthew Loper2000-02-202-46/+0
| | | | | | | | | + * libical/configure: same. + * libical/config.status: same. + * libical/src/Makefile: same. + * libical/src/test/Makefile: same. svn path=/trunk/; revision=1861
* + * widgets/e-minicard/.cvsignore: Added minicard-label-test,Matthew Loper2000-02-203-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | + minicard-test, and reflow-test. + + * shell/.cvsignore: added files autogenerated from Evolution.idl. + + * libversit/.cvsignore: Added .libs, vcc.c, vcc.lo, vobject.lo, + vcaltmp.lo, libversit.la + + * libical/src/test/.cvsignore: New file. + + * libical/src/libical/.cvsignore: New file. + + * libical/src/libicalss/.cvsignore: New file. + + * libical/.cvsignore: New file, with config.log in it. + + * calendar/.cvsignore: Added tlacuache and tl-test. + + * libibex/.cvsignore: added lookup. + + * mail/.cvsignore: added test-mail. svn path=/trunk/; revision=1859
* didn't want these checked inSeth Alves2000-02-187-169/+0
| | | | svn path=/trunk/; revision=1830
* This commit was generated by cvs2svn to compensate for changes in r1827,Seth Alves2000-02-182-2/+2
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1828
* Initial revisionSeth Alves2000-02-1871-0/+31159
svn path=/trunk/; revision=1823