aboutsummaryrefslogtreecommitdiffstats
path: root/libical
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'R3_1'.R3_1nobody2003-05-03586-64432/+0
| | | | svn path=/tags/R3_1/; revision=21091
* Part of fix for #34095Hans Petter Jansson2003-03-183-3/+17
| | | | | | | | | | | | | | | 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
* ignore more generated stuffChris Toshok2003-02-201-0/+1
| | | | svn path=/trunk/; revision=19960
* (libical_static_la_DEPENDENCIES): MakeEttore Perazzoli2003-02-102-1/+12
| | | | | | | | 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
* Added missing files to .cvsignore and AC_PREREQ to configure.in.Christian Neumair2003-02-073-0/+9
| | | | svn path=/trunk/; revision=19842
* AC_SUBST privlibdir, privincludedir, privdatadir (sent from ../configure).Dan Winship2003-02-076-34/+36
| | | | | | | | | | | | | | | | | | | * 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
* Add AC_CONFIG_AUX_DIR(..) so it looks for ylwrap in the toplevel evolutionJoe Shaw2002-12-202-0/+10
| | | | | | | | | | 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
* added missing ';' for new bison to not complain.Rodrigo Moya2002-11-272-1/+23
| | | | | | | | | 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-272-0/+10
| | | | | | | | | * 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-173-3/+15
| | | | | | | | | | | | | | 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-022-1/+7
| | | | | | | appending the string value [it was allocating one fewer than necessary]. [#28321] svn path=/trunk/; revision=18281
* Update timezones (from Damon)JP Rosevear2002-07-2617-63/+113
| | | | | | | | | | | | | 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-025-9/+16
| | | | | | | | | | | | | * 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-093-1/+8
| | | | | | | | | | 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-076-87/+1268
| | | | | | | | | | | | | | | | | | | | | | | | 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-292-10/+12
| | | | | | | * 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-193-7/+9
| | | | | | | | | | | | 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-112-1/+25
| | | | | | | | | | 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-142-0/+11
| | | | | | | | | | 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-312-3/+11
| | | | | | | | | 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-312-32/+86
| | | | | | | | | | | 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-312-4/+16
| | | | | | | | | | | 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
* Regenerated all VTIMEZONEs, to be compatable with Outlook Web Access. TheyDamon Chaplin2001-10-30378-20983/+1035
| | | | | | | | | | 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
* renamed the library to libical-evolution.la, install ical.h intoDamon Chaplin2001-10-307-24/+104
| | | | | | | | | | | | | | | | | | | | | | | | 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-283-1/+31
| | | | | | | | | | 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-262-0/+14
| | | | | | | | | | | | | 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-242-1/+7
| | | | | | | | | | 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
* added a few new timezonesDamon Chaplin2001-10-235-0/+411
| | | | svn path=/trunk/; revision=13913
* updated all files again, placing current RDATEs first, so Outlook usesDamon Chaplin2001-10-23319-15113/+15252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-202-1/+5
| | | | | | | | | 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-062-2/+6
| | | | | | * 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-274-8/+21
| | | | | | | | | | | | | | | | | | 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-203-4/+16
| | | | | | | | | 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-122-2/+18
| | | | | | | | | 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-112-6/+27
| | | | | | | | | | | | 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-1111-125/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-073-6/+43
| | | | | | | | | | | | | | | 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-01375-3652/+1025
| | | | | | | | | | | | | | | | | 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
* Remove src/python/Makefile and src/test/Makefile.Ettore Perazzoli2001-08-232-2/+4
| | | | | | * configure.in: Remove src/python/Makefile and src/test/Makefile. svn path=/trunk/; revision=12407
* Dequote the same characters that we know how to quote inFederico Mena Quintero2001-08-172-12/+34
| | | | | | | | | | 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-022-38/+4
| | | | | | | | 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-312-1/+8
| | | | | | | | | | 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-316-22/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-272-1/+6
| | | | | | | | | 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-272-3/+8
| | | | | | | | | 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-262-1/+26
| | | | | | | | | 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-262-0/+16
| | | | | | | | | 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-242-26/+43
| | | | | | | | | | 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-242-17/+28
| | | | | | | | | | 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-182-6/+14
| | | | | | | | | | 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-173-9/+26
| | | | | | | | | | | | | | | 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-122-4/+17
| | | | | | | | | | | 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-124-15/+91
| | | | | | | | | | | | | | | 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-114-42/+107
| | | | | | | | | | | | | | | | 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-102-3/+8
| | | | | | | | | 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-103-2/+32
| | | | | | | | | | | 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-032-3/+21
| | | | | | | | | 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-032-3/+8
| | | | | | | | | | 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-037-309/+863
| | | | | | | | | | 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
* Add $(srcdir) as in install-data-local rule.Peter Williams2001-06-302-1/+6
| | | | | | | | | 2001-06-28 Peter Williams <peterw@ximian.com> * zoneinfo/Makefile.am (dist-hook): Add $(srcdir) as in install-data-local rule. svn path=/trunk/; revision=10605
* commented out AC_DEFINE(ICAL_ERRORS_ARE_FATAL,1). We only want it to abortDamon Chaplin2001-06-292-1/+6
| | | | | | | | | 2001-06-28 Damon Chaplin <damon@ximian.com> * configure.in: commented out AC_DEFINE(ICAL_ERRORS_ARE_FATAL,1). We only want it to abort when there is no possibility of carrying on. svn path=/trunk/; revision=10581
* stripped all blank lines from iCalendar files. Apparently they aren'tDamon Chaplin2001-06-27374-4337/+378
| | | | | | | | | 2001-06-26 Damon Chaplin <damon@ximian.com> * zoneinfo/*: stripped all blank lines from iCalendar files. Apparently they aren't exactly legal. Oops. svn path=/trunk/; revision=10526
* 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
* Extra dist the zones.tab informationJP Rosevear2001-06-152-0/+6
| | | | | | | | 2001-06-15 JP Rosevear <jpr@ximian.com> * zoneinfo/Makefile.am: Extra dist the zones.tab information svn path=/trunk/; revision=10250
* added functions to get the coords of builtin timezones.Damon Chaplin2001-06-143-0/+28
| | | | | | | | | | 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-147-89/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-145-0/+1640
| | | | | | | | | | | | 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
* added zoneinfo.Damon Chaplin2001-06-14379-1/+33093
| | | | | | | | | | | | | | | | | | 2001-06-13 Damon Chaplin <damon@ximian.com> * Makefile.am (SUBDIRS): added zoneinfo. * configure.in (AC_OUTPUT): added zoneinfo/Makefile. * zoneinfo/Makefile.am: new file to install & distribute the VTIMEZONE data files, and the zones.tab file. * zoneinfo/zones.tab: new file containing a list of all timezones and their coordinates (so we can mark them on the world map). * zoneinfo/*: Lots of VTIMEZONE data files added, one per timezone. svn path=/trunk/; revision=10214
* Fixes to make it make dist and make distcheck. Kind of kludgy but theyJP Rosevear2001-05-162-16/+20
| | | | | | | | | 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-112-58/+64
| | | | | | | | | | | 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-032-0/+6
| | | | | | | | | 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-182-1/+6
| | | | | | 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-182-11/+16
| | | | svn path=/trunk/; revision=9442
* Fix the building of ical.h. Again.Ettore Perazzoli2001-04-182-6/+16
| | | | svn path=/trunk/; revision=9441
* The perl script generated files changed between releasesJP Rosevear2001-04-1811-1753/+949
| | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * The perl script generated files changed between releases svn path=/trunk/; revision=9426
* Hopefully this does itJP Rosevear2001-04-183-471/+0
| | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * Hopefully this does it svn path=/trunk/; revision=9425
* Still moreJP Rosevear2001-04-181-1/+0
| | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * Still more svn path=/trunk/; revision=9423
* Remove more generated files. Apparently i forgot to run make maintainerJP Rosevear2001-04-182-4272/+0
| | | | | | | | | 2001-04-17 JP Rosevear <jpr@ximian.com> * Remove more generated files. Apparently i forgot to run make maintainer clean. svn path=/trunk/; revision=9422
* Removing autogenerated filesJP Rosevear2001-04-189-2282/+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-1840-3116/+3303
| | | | | | | | 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-1816-424/+189
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=9416
* Initial revisionJP Rosevear2001-04-1845-0/+12569
| | | | svn path=/trunk/; revision=9413
* Merge the building fix from evolution-0-9-branch.Ettore Perazzoli2001-02-282-1/+6
| | | | svn path=/trunk/; revision=8413
* Missing change log entryJP Rosevear2001-02-141-2/+0
| | | | svn path=/trunk/; revision=8215
* The built sources shouldn't be cleaneJP Rosevear2001-02-092-9/+6
| | | | | | | | 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-092-4/+10
| | | | | | | | | | 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-073-2/+15
| | | | | | | | | | | 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-062-1/+6
| | | | | | | | | 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-062-4/+11
| | | | 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-0619-215/+721
| | | | 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-262-1/+4
| | | | | | * 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-252-19/+51
| | | | | | | | | | | | 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
* Don't AC_INIT on an autogenerated file that does not exist beforehandJP Rosevear2001-01-242-1/+6
| | | | | | | | | 2001-01-23 JP Rosevear <jpr@ximian.com> * configure.in: Don't AC_INIT on an autogenerated file that does not exist beforehand svn path=/trunk/; revision=7758
* Minor import fixJP Rosevear2001-01-241-4/+0
| | | | svn path=/trunk/; revision=7754
* Import clean upJP Rosevear2001-01-2442-2916/+5819
| | | | svn path=/trunk/; revision=7751
* This commit was generated by cvs2svn to compensate for changes in r7747,JP Rosevear2001-01-2428-611/+792
| | | | | | 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
* Missing Changelog entryJP Rosevear2001-01-191-0/+8
| | | | svn path=/trunk/; revision=7646
* 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-223-1/+13
| | | | | | | | | | | | 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-152-0/+8
| | | | 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-142-17/+21
| | | | svn path=/trunk/; revision=7001
* Use gmtime() unconditionally, since we want an UTC broken-downFederico Mena Quintero2000-12-142-4/+11
| | | | | | | | | | | | 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-142-0/+15
| | | | | | | | | | | | | | 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-146-27/+66
| | | | | | | | | | | | | | | 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-142-1/+6
| | | | | | | | | 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-142-19/+23
| | | | | | | | | | 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
* Missed ChangeLog.Ettore Perazzoli2000-12-141-0/+23
| | | | svn path=/trunk/; revision=6974
* 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-132-1/+6
| | | | | | | | | 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-135-8/+53
| | | | | | | | | | | | | | | * 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
* More fixage - FedericoFederico Mena Quintero2000-12-124-3/+9
| | | | svn path=/trunk/; revision=6939
* Make AC_INIT() check for a file that is not autogenerated!Federico Mena Quintero2000-12-122-1/+4
| | | | | | | | | 2000-12-11 Federico Mena Quintero <federico@helixcode.com> * configure.in: Make AC_INIT() check for a file that is not autogenerated! svn path=/trunk/; revision=6934
* Fixety fix - FedericoFederico Mena Quintero2000-12-125-3209/+12
| | | | svn path=/trunk/; revision=6933
* shoo - FedericoFederico Mena Quintero2000-12-124-9443/+0
| | | | svn path=/trunk/; revision=6931
* 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-1266-2973/+8198
| | | | svn path=/trunk/; revision=6920
* This commit was generated by cvs2svn to compensate for changes in r6917,Federico Mena Quintero2000-12-1222-298/+1548
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=6918
* Initial revisionFederico Mena Quintero2000-12-1236-0/+20368
| | | | 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-222-21/+27
| | | | | | | | | | 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-072-2/+12
| | | | | | | | | 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-282-1/+23
| | | | svn path=/trunk/; revision=6239
* add support for 'X-' parameters.Damon Chaplin2000-10-123-4/+18
| | | | | | | | | | | 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-083-7/+16
| | | | | | | | | | * 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
* Fix the configure script to output the Makefile in `src' before theEttore Perazzoli2000-09-132-2/+6
| | | | | | Makefiles in the subdirs. svn path=/trunk/; revision=5392
* Merge missing file for distcheckJP Rosevear2000-09-134-0/+391
| | | | | | | | | | | | 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-083-0/+25
| | | | | | | | | | | 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-013-2/+11
| | | | | | | | | | | | | | | | | | | | | | | 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-0129-11872/+4
| | | | | | | | 2000-08-31 JP Rosevear <jpr@helixcode.com> * Kill off more old, dead files svn path=/trunk/; revision=5150
* This dir is not in 0.19JP Rosevear2000-09-019-213/+4
| | | | | | | | 2000-08-31 JP Rosevear <jpr@helixcode.com> * MacOS: This dir is not in 0.19 svn path=/trunk/; revision=5149
* This file is not in 0.19JP Rosevear2000-09-012-222/+4
| | | | | | | | 2000-08-31 JP Rosevear <jpr@helixcode.com> * src/libical/CHANGES: This file is not in 0.19 svn path=/trunk/; revision=5148
* oopsJP Rosevear2000-09-011-0/+2
| | | | svn path=/trunk/; revision=5147
* Kill fileJP Rosevear2000-09-013-460/+4
| | | | | | | | | | 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
* Don't list config.h in AC_OUTPUTJP Rosevear2000-09-012-1/+4
| | | | | | | | 2000-08-31 JP Rosevear <jpr@helixcode.com> * configure.in: Don't list config.h in AC_OUTPUT svn path=/trunk/; revision=5145
* Kill old fileJP Rosevear2000-09-016-562/+30
| | | | | | | | | | | | | | | | 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-273-2/+9
| | | | svn path=/trunk/; revision=5063
* Got rid of some warnings.Christopher James Lahey2000-08-264-4/+12
| | | | | | | | | | | 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-262-2/+6
| | | | | | | | 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-252-2/+8
| | | | svn path=/trunk/; revision=5034
* Remove this duplicate file to fix buildJP Rosevear2000-08-252-39/+4
| | | | | | | | 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-252-2/+6
| | | | svn path=/trunk/; revision=5028
* More import tidying.JP Rosevear2000-08-254-618/+7
| | | | svn path=/trunk/; revision=5023
* Fix minor conflicts.JP Rosevear2000-08-2553-3742/+5026
| | | | svn path=/trunk/; revision=5017
* Initial revisionJP Rosevear2000-08-2546-0/+15040
| | | | 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-132-0/+11
| | | | | | | | | | | * 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
* Fixed some make distcheck errors.Christopher James Lahey2000-07-061-13/+13
| | | | | | | | | 2000-07-06 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, libical/configure.in: Fixed some make distcheck errors. svn path=/trunk/; revision=3919
* 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-103-138/+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-083-2/+19
| | | | svn path=/trunk/; revision=3474
* update some .cvsignoresSeth Alves2000-06-081-0/+1
| | | | svn path=/trunk/; revision=3464
* *** empty log message ***Seth Alves2000-06-075-12/+542
| | | | svn path=/trunk/; revision=3451
* merge libical-0.17 onto the headSeth Alves2000-06-0732-1653/+1634
| | | | svn path=/trunk/; revision=3449
* Initial revisionSeth Alves2000-06-075-0/+4208
| | | | svn path=/trunk/; revision=3442
* reparing damage from removing filesEric Busboom2000-05-15141-0/+42278
| | | | svn path=/trunk/; revision=3042
* removing all filesEric Busboom2000-05-15152-44434/+0
| | | | svn path=/trunk/; revision=3040
* This commit was generated by cvs2svn to compensate for changes in r3037,Eric Busboom2000-05-155-30/+49
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=3038
* Initial revisionEric Busboom2000-05-1511-0/+2150
| | | | svn path=/trunk/; revision=3034
* Fix Makefile to use generated include files that are in the buildEttore Perazzoli2000-05-142-0/+7
| | | | | | directory, too. svn path=/trunk/; revision=3019
* Removed dist-hook section.Christopher James Lahey2000-05-102-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* Stylistic fix - FedericoFederico Mena Quintero2000-05-011-0/+376
| | | | svn path=/trunk/; revision=2707
* Further Makefile loving.Ettore Perazzoli2000-04-273-2/+10
| | | | svn path=/trunk/; revision=2656
* Fix broken `Makefile.am' again. I am frustrated.Ettore Perazzoli2000-04-272-1/+9
| | | | svn path=/trunk/; revision=2655
* + * tests/.cvsignore: Added test13.Matthew Loper2000-04-273-3/+7
| | | | | | | | | | | + + * 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-262-376/+4
| | | | | | | | 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-263-2/+6
| | | | svn path=/trunk/; revision=2607
* convert from a time_t to an icaldurationtype.Seth Alves2000-04-252-0/+24
| | | | | | | * 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-198-22/+97
| | | | | | in src/libical/Makefile.am svn path=/trunk/; revision=2488
* import of libical-0.16Seth Alves2000-04-1968-1355/+8265
| | | | svn path=/trunk/; revision=2484
* added AC_PROG_MAKE_SET.Damon Chaplin2000-04-112-0/+5
| | | | | | | | 2000-04-10 Damon Chaplin <damon@helixcode.com> * configure.in: added AC_PROG_MAKE_SET. svn path=/trunk/; revision=2363
* Shut up!Ettore Perazzoli2000-03-021-8/+14
| | | | svn path=/trunk/; revision=2008
* Various building fixes. At least, now it builds for me.Ettore Perazzoli2000-03-022-2/+8
| | | | svn path=/trunk/; revision=2007
* required fileSeth Alves2000-02-261-0/+12
| | | | svn path=/trunk/; revision=1969
* required filesSeth Alves2000-02-262-0/+2
| | | | svn path=/trunk/; revision=1968
* added autogen.sh so this library can be build on its ownSeth Alves2000-02-263-1/+116
| | | | svn path=/trunk/; revision=1967
* start using ChangeLog in this librarySeth Alves2000-02-261-0/+9
| | | | svn path=/trunk/; revision=1966
* 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-228-1517/+6
| | | | | | | | | | | + 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
* *** empty log message ***Seth Alves2000-02-211-31/+0
| | | | svn path=/trunk/; revision=1884
* more fallout from import of 0.15aSeth Alves2000-02-213-5/+3
| | | | svn path=/trunk/; revision=1883
* generatedSeth Alves2000-02-212-1699/+0
| | | | svn path=/trunk/; revision=1882
* This commit was generated by cvs2svn to compensate for changes in r1879,Seth Alves2000-02-2111-39/+141
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1880
* Initial revisionSeth Alves2000-02-213-0/+183
| | | | 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-2110-176/+1516
| | | | svn path=/trunk/; revision=1873
* + * libical/src/test/.cvsignore: Added Makefile.Matthew Loper2000-02-203-0/+5
| | | | | | | | | + + * 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-205-2040/+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-204-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | + 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
* Make gnomeui the last library on the command line, as its path is the oneMiguel de Icaza2000-02-192-8/+8
| | | | | | | | | | 2000-02-18 Miguel de Icaza <miguel@nuclecu.unam.mx> * configure.in: Make gnomeui the last library on the command line, as its path is the one most likely to hold other old libraries (libxml) and we need newer versions. svn path=/trunk/; revision=1844
* didn't want these checked inSeth Alves2000-02-188-222/+0
| | | | svn path=/trunk/; revision=1830
* This commit was generated by cvs2svn to compensate for changes in r1827,Seth Alves2000-02-184-44/+23
| | | | | | which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1828
* Initial revisionSeth Alves2000-02-18123-0/+39827
svn path=/trunk/; revision=1823