/www/p5-MasonX-Request-WithApacheSession/

/cgit/'>index : gsoc2013-evolution
Google Summer of Code 2013 - GNOME - Archive Integration workspace
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat
-rw-r--r--libical/ChangeLog4
-rw-r--r--libical/design-data/status-new.txt56
-rw-r--r--libical/design-data/status.foo104
-rw-r--r--libical/doc/UsingLibical.sgml318
-rw-r--r--libical/src/libical/base64.c323
-rw-r--r--libical/src/libical/filelock.c143
-rw-r--r--libical/src/libical/filelock.h57
-rw-r--r--libical/src/libical/icalirip.h108
-rw-r--r--libical/src/libical/icalitip.output1698
-rw-r--r--libical/src/libical/icalitip.tab.c1663
-rw-r--r--libical/src/libical/icalitip.tab.h137
-rw-r--r--libical/src/libical/icalitipl.l283
-rw-r--r--libical/src/libical/icalitipy.y434
-rw-r--r--libical/src/libical/locking.c143
-rw-r--r--libical/src/libical/testlocks.c70
-rw-r--r--libical/src/libicalss/icalcluster.c423
-rw-r--r--libical/src/libicalss/icalcluster.h73
-rw-r--r--libical/src/libicalss/icalstore.c858
-rw-r--r--libical/src/libicalss/icalstore.h78
-rw-r--r--libical/src/test/alice/booked/199706317
-rw-r--r--libical/src/test/alice/booked/199707701
-rw-r--r--libical/src/test/alice/booked/19970845
-rw-r--r--libical/src/test/alice/booked/19970958
-rw-r--r--libical/src/test/alice/booked/199803241
-rw-r--r--libical/src/test/alice/incoming.ics2164
-rw-r--r--libical/src/test/test-component.icd23
-rw-r--r--libical/test-data/2445.vcd329
-rw-r--r--libical/test-data/2446.vcd1007
-rw-r--r--libical/test-data/smallcluster.vcd18
29 files changed, 4 insertions, 11872 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog
index 5a9279bbfb..04503e37d9 100644
--- a/libical/ChangeLog
+++ b/libical/ChangeLog
@@ -1,5 +1,9 @@
2000-08-31 JP Rosevear <jpr@helixcode.com>
+ * Kill off more old, dead files
+
+2000-08-31 JP Rosevear <jpr@helixcode.com>
+
* MacOS: This dir is not in 0.19
2000-08-31 JP Rosevear <jpr@helixcode.com>
diff --git a/libical/design-data/status-new.txt b/libical/design-data/status-new.txt
deleted file mode 100644
index 9e7bbf83a7..0000000000
--- a/libical/design-data/status-new.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-2.0 STATOK Operation was successfully performed.
-2.0.1 STARTSENDATA Start ICAL input; end with <CRLF>.<CRLF>
-2.0.11 OKDATAFOLLOWS The request was processed successfully. Reply data follows on the next line and terminates with <CRLF>.<CRLF>
-2.0.2 REPLYPENDING A timeout has occurred. The server is still working on the reply. Use CONTINUE to continue waiting for the reply or ABORT to terminate the command.
-2.0.3 ABORTED The command currently underway was successsfully aborted.
-2.0.4 WILLATTEMPT The specified Calendar is not here but an attempt will be made to deliver the request or reply to the Calendar anyway.
-2.0.5 TRUSTEDWILLQUEUE The request or reply will be queued and delivered to the target calendar when its iRIP server contacts this server and issues the SWITCH command.
-2.0.6 WILLATTEMPT The specified Calendar is not here but an attempt will be made to deliver the request or reply to the Calendar anyway.
-2.0.7 QUEUED The message has been queued for delivery.
-2.0.8 QUEUEEMPTY There are no more queued messages.
-2.1 FALLBACK Success. Fallback taken on one or more property values.
-2.2 NOCOMMANDINPROGRESS An ABORT or CONTINUE was received when no command was in progress
-2.2 IGPROP Success. Invalid property ignored.
-2.3 IGPARAM Success. invalid property parameter ignored.
-2.4 IGXPROP Success. Unknown non-standard property ignored.
-2.5 IGXPARAM Success. Unknown non standard property value ignored.
-2.6 IGCOMP Success. Invalid calendar component ignored.
-2.7 FORWARD Success. Request forwarded to Calendar User.
-2.8 ONEEVENT Success. Repeating event ignored. Scheduled as a single component.
-2.9 TRUNC Success. Truncated end date time to date boundary.
-2.10 ONETODO Success. Repeating VTODO ignored. Scheduled as a single VTODO.
-2.11 TRUNCRRULE Success. Unbounded RRULE clipped at some finite number of instances
-3.0 INVPROPNAME Invalid property name.
-3.1 INVPROPVAL Invalid property value.
-3.2 INVPARAM Invalid property parameter.
-3.3 INVPARAMVAL Invalid property parameter value.
-3.4 INVCOMP Invalid calendar component sequence.
-3.5 INVTIME Invalid date or time.
-3.6 INVRULE Invalid rule.
-3.7 INVCU Invalid Calendar User.
-3.8 NOAUTH No authority.
-3.9 BADVERSION Unsupported version.
-3.10 TOOBIG Request entity too large.
-3.11 MISSREQCOMP Required component or property missing.
-3.12 UNKCOMP Unknown component or property found.
-3.13 BADCOMP Unsupported component or property found
-3.14 NOCAP Unsupported capability.
-4.0 BUSY Event conflict. Date/time is busy.
-5.0 MAYBE Request MAY supported.
-5.1 UNAVAIL Service unavailable.
-5.2 NOSERVICE Invalid calendar service.
-5.3 NOSCHED No scheduling support for user.
-6.1 AUTHENTICATEFAILURE Unsupported authentication mechanism, credentials rejected
-6.2 AUTHENTICATIONABORTED Sender aborted authentication, authentication exchange cancelled
-8.0 GENERALFAILURE A failure has occurred in the Receiver that prevents the operation from succeeding.
-8.1 SERVERTOOBUSY The iRIP Receiver is too busy.
-8.2 ICALOBJECTTOOBIG Object has exceeded the server's size limit.
-8.3 DATETOOLARGE A DATETIME value was too far in the future to be represented on this Calendar.
-8.4 DATETOOSMALL A DATETIME value was too far in the past to be represented on this Calendar.
-9.0 INVALIDIRIPCOMMAND An unrecongnized command was received.
-9.1 UNEXPECTEDCOMMAND The command is not allowed for the server's current state.
-10.1 REFERRAL Accompanied by an alternate address.
-10.2 SERVERSHUTDOWN The server is shutting down.
-10.3 SERVERSTOPPING FLOOD 2
-10.4 EXCEEDEDQUOTAS The operation would cause a resource to exceed the allocated quota
-10.5 QUEUEDTOOLONG The ITIP message has been queued too long. Delivery has been aborted.
diff --git a/libical/design-data/status.foo b/libical/design-data/status.foo
deleted file mode 100644
index a2591bd26a..0000000000
--- a/libical/design-data/status.foo
+++ /dev/null
@@ -1,104 +0,0 @@
-2.0 STATOK Operation was successfully performed.
-
-2.0.1 START-SENDATA Start ICAL input; end with
- <CRLF>.<CRLF>
-
-2.0.11 OK-DATAFOLLOWS The request was processed
- successfully. Reply data follows on
- the next line and terminates with
- <CRLF>.<CRLF>
-
-2.0.2 REPLY-PENDING A timeout has occurred. The server is
- still working on the reply. Use
- CONTINUE to continue waiting for the
- reply or ABORT to terminate the
- command.
-
-2.0.3 ABORTED In response to the client issuing an
- ABORT command, this reply code
- indicates that any command currently
- underway was successsfully aborted.
-
-2.0.4 WILL-ATTEMPT The specified Calendar is not here
- but an attempt will be made to deliver
- the request or reply to the Calendar
- anyway. There is a trust relationship
- between this iRIP server and the
- iRIP server for the target calendar.
-
-2.0.5 TRUSTED-WILL-QUEUE The specified Calendar cannot be
- contacted directly and a trust
- relationship exists between this
- server and the server on which the
- Calendar exists. The request or reply
- will be queued and delivered to the
- target calendar when its iRIP server
- contacts this server and issues the
- SWITCH command.
-
-2.0.6 WILL-ATTEMPT The specified Calendar is not here
- but an attempt will be made to deliver
- the request or reply to the Calendar
- anyway. There is not a trust
- relationship between the iRIP server
- and the iRIP server for the target
- calendar.
-
-2.0.7 QUEUED The message has been queued for
- delivery.
-
-2.0.8 QUEUE-EMPTY There are no more queued messages.
-
-2.2 NO COMMAND IN PROGRESS An ABORT or CONTINUE was received when
- no command was in progress
-
-6.1 AUTHENTICATE FAILURE Unsupported authentication mechanism,
- credentials rejected
-
-6.2 AUTHENTICATION ABORTED Sender aborted authentication,
- authentication exchange cancelled
-
-8.0 GENERAL FAILURE A failure has occurred in the Receiver
- that prevents the operation from
- succeeding.
-
-8.1 SERVER TOO BUSY Sent when a session cannot be
- established because the iRIP
- Receiver is too busy.
-
-8.2 ICAL OBJECT TOO BIG Used to signal that an ICAL object has
- exceeded the server's size limit.
-
-8.3 DATE TOO LARGE A DATETIME value was too far in the
- future to be represented on this
- Calendar.
-
-8.4 DATE TOO SMALL A DATETIME value was too far in the
- past to be represented on this
- Calendar.
-
-9.0 INVALID iRIP COMMAND An unrecongnized command was received.
-
-9.1 UNEXPECTED COMMAND A command was issued in a manner
- inconsistent with the state diagram.
- For example, issuing the SENDATA
- command without having specified any
- RECIPIENTs will cause this error.
-10.1 REFERRAL Accompanied by an alternate address.
- The RECIPIENT specified should be
- contacted at the given alternate
- address. The referral address MUST
- follow the reply code.
-
-10.2 SERVER SHUT DOWN The server is shutting down.
-
-10.3 SERVER STOPPING FLOOD 2
-
-
-10.4 EXCEEDED QUOTAS The operation has not be performed
- because it would cause the resources
- (memory, disk, CPU, etc) to exceed the
- allocated quota
-
-10.5 QUEUED TOO LONG The ITIP message has been queued too
- long. Delivery has been aborted. \ No newline at end of file
diff --git a/libical/doc/UsingLibical.sgml b/libical/doc/UsingLibical.sgml
deleted file mode 100644
index d967bd860c..0000000000
--- a/libical/doc/UsingLibical.sgml
+++ /dev/null
@@ -1,318 +0,0 @@
-<!doctype linuxdoc system>
-
-<!-- LinuxDoc file was created by LyX 1.0 (C) 1995-1999 by <eric> Wed Jan 5 22:30:06 2000
- -->
- <article>
- <title>
-Using Libical
- </title>
- <author>
-Eric Busboom (eric@softwarestudio.org)
- </author>
- <date>
-January 2000
- </date>
- <sect>
-Introduction
- <p>
-Libical is an Open Source implementation of the iCalendar protocols and
- protocol data units. The iCalendar specification describes how calendar clients
- can communicate with calendar servers for users can store their calendar data
- and arrange meetings with other users.
- </p>
- <p>
-Libical implements the following specifications and protocols
- </p>
- <p>
-iCal Core
-2445
-iTIP
-2446
-iMIP
-2447
-iRIP
-draft
-CAP
-draft
- </p>
- <p>
-(The current version, 0.14, does not implement iRip or CAP. )
- </p>
- <p>
-This code is under active development. If you would like to contribute
- to the project, you can contact me, Eric Busboom, at eric@softwarestudio.org.
- The project has a webpage at
- </p>
- <p>
- <quote>
-http://softwarestudio.org/libical/index.html
- </quote>
-</p> <p>
-and a mailing list that you can join by sending the following mail:
- </p>
- <p>
- <code>
-------------
-To: minimalist@softwarestudio.org
-Subject: subscribe libical
-------------
- </code>
-</p> <p>
-&dollar;Id: UsingLibical.lyx,v 1.3 2000/01/06 06:20:06 eric Exp eric &dollar;
- </p>
- <sect1>
-License
- <p>
-The code and datafiles in this distribution are licensed under the Mozilla
- Public License. See http://www.mozilla.org/NPL/MPL-1.0.html for a copy of the
- license. Alternately, you may use libical under the terms of the GNU Library
- General Public License. See http://www.fsf.org/copyleft/lesser.html for a copy
- of the LGPL.
- </p>
- <p>
-This dual license ensures that the library can be incorporated into both
- proprietary code and GPL'd programs, and will benefit from improvements made
- by programmers in both realms. I will only accept changes into my version of
- the library if they are similarly dual-licensed.
- </p>
- <sect1>
-Purpose &amp; Goals
- <sect>
-Building the Library
- <sect>
-Structure
- <p>
-The iCal calendar model is based on four types of objects: components,
- properties, values and parameters.
- </p>
- <p>
-Components are the fundamental grouping of calendar information
- </p>
- <p>
-Properties are the fundamental unit of information. Each property is composed
- of a type, a value and collection of parameters.
- </p>
- <sect1>
-Components
- <p>
-Components are named clusters of properties
- </p>
- <sect1>
-Properties
- <sect1>
-Values
- <sect1>
-Parameters
- <sect1>
-Storage
- <sect2>
-Cluster
- <sect2>
-Store
- <sect2>
-Calendar
- <sect1>
-Other bits
- <p>
-Restrictions
- </p>
- <p>
-Types
- </p>
- <sect>
-Differences From RFCs
- <p>
-Although libical has been design to follow the standards as closely as
- possible, there are a few areas where the specifications are irregular, and
- following them exactly would result in an unfriendly interface.
- </p>
- <sect1>
-Pseudo Components
- <p>
-Libical defines pseudo components for groups of properties that look and
- act like components, but are not defined as components in the specification.
- XDAYLIGHT and XSTANDARD are notable examples. These pseudo components group
- properties within the VTIMEZONE components. XDAYLIGHT starts with "BEGIN:DAYLIGHT"
- and ends with "END:DAYLIGHT, just like other components, but is not defined
- as a component in RFC2445. ( See RFC2445, page 61 ) In Libical, it is a component.
-
- </p>
- <p>
-There are also pseudo componentsthat are conceptually derived classess
- of VALARM. RFC2446 defines what properties may be included in each component,
- and for VALARM, the set of properties it may have depends on the value of the
- ACTION property.
- </p>
- <p>
-For instance, if a VALARM component has an ACTION property with the value
- of "AUDIO," the component must also have an "ATTACH" property. However, if the
- ACTION value is "DISPLAY," the component must have a DESCRIPTION property.
- </p>
- <p>
-To handle these various, complex restrictions, libical has pseudo components
- for each type of alarm: XAUDIOALARM, XDISPLAYALARM, XEMAILALARM and XPROCEDUREALARM.
-
- </p>
- <sect1>
-Combined Values
- <p>
-Many values can take more than one type. TRIGGER, for instance, can have
- a value type of with DURATION or of DATE-TIME. It is natural to have interfaces
- that would return the value of a property, but it is cumbersone for a single
- routine to return multiple types. So, in libical, properties that can have
- multiple types are given a single type that is the union of their RFC2445 types.
- In libical, the value of the TRIGGER property resolves to
- </p>
- <p>
-struct icaltriggertype
- </p>
- <p>
-This type is a union of a DURATION and a DATE-TIME.
- </p>
- <sect1>
-Multi-Valued Properties
- <p>
-Some properties, such as CATEGORIES, have a single value type, but may
- have multiple values in a single instance. This also results in a cumbersome
- interface -- CATEGORIES accessors would have to return a list which all other
- accessors returned a single value. In libical, all properties have a single
- value, and multi-valued properties are broken down into multiple single valued
- properties during parsing. The is,
- </p>
- <p>
- <code>
-CATEGORIES: work, home
- </code>
-</p> <p>
-becomes in libical's internal representation
- </p>
- <p>
- <code>
-CATEGORIES: work
-CATEGORIES: home
- </code>
-</p> <p>
-Oddly, RFC2445 allows some multi-valued properties ( like FREEBUSY ) to
- exist as both a multi-values property and as multiple single value properties,
- while others ( like CATEGORIES ) can only exist as single multi-valued properties.
- This makes the internal representation for CATEGORIES illegal. However when
- you convert a component to a string, the library will collect all of the CATEGORIES
- properties into one.
- </p>
- <sect>
-Implementation Limitations
- <sect>
-Using libical
- <sect1>
-Creating Components
- <sect2>
-Constructor interfaces
- <sect2>
-vaargs Constructors
- <sect2>
-Parsing Text Files
- <sect1>
-Accessing Components
- <sect2>
-Finding Components
- <sect2>
-Removing Components
- <p>
-Removing an element from a list while iterating through the list can cause
- problems, since you will probably be removing the element that the internal
- iterator points to. This will result in the iteration loop terminating immediately
- after removing the element. To avoid the problem, you will need to step the
- iterator ahead of the element you are going to remove, like this:
- </p>
- <p>
- <code>
-for(c = icalcomponent_get_first_component(s);
- c != 0;
- c = next)
-&lcub;
- next = icalcomponent_get_next_component(s);
- icalcomponent_remove_component(s,c);
-&rcub;
- </code>
-</p> <sect2>
-Finding Properties
- <sect2>
-Removing Properties
- <sect2>
-Getting Values
- <sect2>
-Setting Values
- <sect2>
-Getting Parameters
- <sect2>
-Setting Parameters
- <sect2>
-Removing Parameters
- <sect1>
-Storing Objects
- <p>
-When you store a component to the database with icalstore_add_component,
- you give the library takes the memory, so the caller does not own the component
- anymore. If you want to keep ownership, use clone to make a copy. ( See "Memory
- Management" and "Naming Starndard for more about routines with "add" in the name.
- )
- </p>
- <sect1>
-Memory Management
- <p>
-Here are the memory rules for the C library:
- </p>
- <p>
- <descrip>
- <tag>
-1)</tag>If the function name has &quot;new&quot; in it, the caller gets
- control of the memory. ( such as icalcomponent_new(), or icalproperty_new_clone()
- )
- <tag>
-2)</tag>If you got the memory from a routine with new in it, you must
- call the corresponding *_free routine to free the memory. ( Use icalcomponent_free()
- to free objects created with icalcomponent_new())
- <tag>
-3)</tag>If the function name has &quot;add&quot; in it, the caller is
- transfering control of the memory to the routine. ( icalproperty_add_parameter()
- )
- <tag>
-4)</tag>If the function name has &quot;remove&quot; in it, the caller
- passes in a pointer to an object and after the call returns, the caller owns
- the object. So, before you call icalcomponent_remove_property(comp,foo), you
- do not own &quot;foo&quot; and after the call returns, you do.
- <tag>
-5)</tag>If the routine returns a string, libical owns the memory and will
- put it on a ring buffer to reclaim later. You'd better strdup it if you want
- to keep it, and you don't have to delete it.
- </descrip>
-</p> <sect1>
-Error Handling
- <sect2>
-Return values
- <sect2>
-icalerrno
- <sect2>
-Component errors
- <sect1>
-Naming Standard
- <p>
-Structures that you access with the "struct" keyword, such as "struct icaltimetype"
- are things that you are allowed to see inside and poke at.
- </p>
- <p>
-Structures that you access though a typedef, such as "icalcomponent" are
- things where all of the data is hidden.
- </p>
- <p>
-Component names that start with "V" are part of RFC 2445 or another iCal
- standard. Component names that start with "X" are also part of the spec, but
- they are not actually components in the spec. However, they look and act like
- components, so they are components in libical. Names that start with "XLIC" or
- "X-LIC" are not part of any iCal spec. They are used internally by libical.
- </p>
- <sect>
-Hacks and Bugs
-
-
- </article>
diff --git a/libical/src/libical/base64.c b/libical/src/libical/base64.c
deleted file mode 100644
index 5925f977ac..0000000000
--- a/libical/src/libical/base64.c
+++ /dev/null
@@ -1,323 +0,0 @@
-/*
-
- Encode or decode file as MIME base64 (RFC 1341)
-
- by John Walker
- http://www.fourmilab.ch/
-
- This program is in the public domain.
-
-*/
-
-#define REVDATE "11th August 1997"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <string.h>
-
-#define TRUE 1
-#define FALSE 0
-
-#define LINELEN 72 /* Encoded line length (max 76) */
-
-typedef unsigned char byte; /* Byte type */
-
-static FILE *fi = stdin; /* Input file */
-static FILE *fo = stdout; /* Output file */
-static byte iobuf[256]; /* I/O buffer */
-static int iolen = 0; /* Bytes left in I/O buffer */
-static int iocp = 256; /* Character removal pointer */
-static int ateof = FALSE; /* EOF encountered */
-static byte dtable[256]; /* Encode / decode table */
-static int linelength = 0; /* Length of encoded output line */
-static char eol[] = "\r\n"; /* End of line sequence */
-static int errcheck = TRUE; /* Check decode input for errors ? */
-
-/* INBUF -- Fill input buffer with data */
-
-static int inbuf(void)
-{
- int l;
-
- if (ateof) {
- return FALSE;
- }
- l = fread(iobuf, 1, 256, fi); /* Read input buffer */
- if (l <= 0) {
- if (ferror(fi)) {
- exit(1);
- }
- ateof = TRUE;
- return FALSE;
- }
- iolen = l;
- iocp = 0;
- return TRUE;
-}
-
-/* INCHAR -- Return next character from input */
-
-static int inchar(void)
-{
- if (iocp >= iolen) {
- if (!inbuf()) {
- return EOF;
- }
- }
-
- return iobuf[iocp++];
-}
-
-/* OCHAR -- Output an encoded character, inserting line breaks
- where required. */
-
-static void ochar(int c)
-{
- if (linelength >= LINELEN) {
- if (fputs(eol, fo) == EOF) {
- exit(1);
- }
- linelength = 0;
- }
- if (putc(((byte) c), fo) == EOF) {
- exit(1);
- }
- linelength++;
-}
-
-/* ENCODE -- Encode binary file into base64. */
-
-static void encode(void)
-{
- int i, hiteof = FALSE;
-
- /* Fill dtable with character encodings. */
-
- for (i = 0; i < 26; i++) {
- dtable[i] = 'A' + i;
- dtable[26 + i] = 'a' + i;
- }
- for (i = 0; i < 10; i++) {
- dtable[52 + i] = '0' + i;
- }
- dtable[62] = '+';
- dtable[63] = '/';
-
- while (!hiteof) {
- byte igroup[3], ogroup[4];
- int c, n;
-
- igroup[0] = igroup[1] = igroup[2] = 0;
- for (n = 0; n < 3; n++) {
- c = inchar();
- if (c == EOF) {
- hiteof = TRUE;
- break;
- }
- igroup[n] = (byte) c;
- }
- if (n > 0) {
- ogroup[0] = dtable[igroup[0] >> 2];
- ogroup[1] = dtable[((igroup[0] & 3) << 4) | (igroup[1] >> 4)];
- ogroup[2] = dtable[((igroup[1] & 0xF) << 2) | (igroup[2] >> 6)];
- ogroup[3] = dtable[igroup[2] & 0x3F];
-
- /* Replace characters in output stream with "=" pad
- characters if fewer than three characters were
- read from the end of the input stream. */
-
- if (n < 3) {
- ogroup[3] = '=';
- if (n < 2) {
- ogroup[2] = '=';
- }
- }
- for (i = 0; i < 4; i++) {
- ochar(ogroup[i]);
- }
- }
- }
- if (fputs(eol, fo) == EOF) {
- exit(1);
- }
-}
-
-/* INSIG -- Return next significant input */
-
-static int insig(void)
-{
- int c;
-
- /*CONSTANTCONDITION*/
- while (TRUE) {
- c = inchar();
- if (c == EOF || (c > ' ')) {
- return c;
- }
- }
- /*NOTREACHED*/
-}
-
-/* DECODE -- Decode base64. */
-
-static void decode(void)
-{
- int i;
-
- for (i = 0; i < 255; i++) {
- dtable[i] = 0x80;
- }
- for (i = 'A'; i <= 'Z'; i++) {
- dtable[i] = 0 + (i - 'A');
- }
- for (i = 'a'; i <= 'z'; i++) {
- dtable[i] = 26 + (i - 'a');
- }
- for (i = '0'; i <= '9'; i++) {
- dtable[i] = 52 + (i - '0');
- }
- dtable['+'] = 62;
- dtable['/'] = 63;
- dtable['='] = 0;
-
- /*CONSTANTCONDITION*/
- while (TRUE) {
- byte a[4], b[4], o[3];
-
- for (i = 0; i < 4; i++) {
- int c = insig();
-
- if (c == EOF) {
- if (errcheck && (i > 0)) {
- fprintf(stderr, "Input file incomplete.\n");
- exit(1);
- }
- return;
- }
- if (dtable[c] & 0x80) {
- if (errcheck) {
- fprintf(stderr, "Illegal character '%c' in input file.\n", c);
- exit(1);
- }
- /* Ignoring errors: discard invalid character. */
- i--;
- continue;
- }
- a[i] = (byte) c;
- b[i] = (byte) dtable[c];
- }
- o[0] = (b[0] << 2) | (b[1] >> 4);
- o[1] = (b[1] << 4) | (b[2] >> 2);
- o[2] = (b[2] << 6) | b[3];
- i = a[2] == '=' ? 1 : (a[3] == '=' ? 2 : 3);
- if (fwrite(o, i, 1, fo) == EOF) {
- exit(1);
- }
- if (i < 3) {
- return;
- }
- }
-}
-
-/* USAGE -- Print how-to-call information. */
-
-static void usage(char *pname)
-{
- fprintf(stderr, "%s -- Encode/decode file as base64. Call:\n", pname);
- fprintf(stderr,
- " %s [-e[ncode] / -d[ecode]] [-n] [infile] [outfile]\n", pname);
- fprintf(stderr, "\n");
- fprintf(stderr, "Options:\n");
- fprintf(stderr, " -D Decode base64 encoded file\n");
- fprintf(stderr, " -E Encode file into base64\n");
- fprintf(stderr, " -N Ignore errors when decoding\n");
- fprintf(stderr, " -U Print this message\n");
- fprintf(stderr, "\n");
- fprintf(stderr, "by John Walker\n");
- fprintf(stderr, " WWW: http://www.fourmilab.ch/\n");
-}
-
-/* Main program */
-
-int main(int argc, char *argv[])
-{
- int i, f = 0, decoding = FALSE;
- char *cp, opt;
-
- for (i = 1; i < argc; i++) {
- cp = argv[i];
- if (*cp == '-') {
- opt = *(++cp);
- if (islower(opt)) {
- opt = toupper(opt);
- }
- switch (opt) {
-
- case 'D': /* -D Decode */
- decoding = TRUE;
- break;
-
- case 'E': /* -E Encode */
- decoding = FALSE;
- break;
-
- case 'N': /* -N Suppress error checking */
- errcheck = FALSE;
- break;
-
- case 'U': /* -U Print how-to-call information */
- case '?':
- usage(argv[0]);
- return 0;
- }
- } else {
- switch (f) {
-
- /** Warning! On systems which distinguish text mode and
- binary I/O (MS-DOS, Macintosh, etc.) the modes in these
- open statements will have to be made conditional based
- upon whether an encode or decode is being done, which
- will have to be specified earlier. But it's worse: if
- input or output is from standard input or output, the
- mode will have to be changed on the fly, which is
- generally system and compiler dependent. 'Twasn't me
- who couldn't conform to Unix CR/LF convention, so
- don't ask me to write the code to work around
- Apple and Microsoft's incompatible standards. **/
-
- case 0:
- if (strcmp(cp, "-") != 0) {
- if ((fi = fopen(cp, "r")) == NULL) {
- fprintf(stderr, "Cannot open input file %s\n", cp);
- return 2;
- }
- }
- f++;
- break;
-
- case 1:
- if (strcmp(cp, "-") != 0) {
- if ((fo = fopen(cp, "w")) == NULL) {
- fprintf(stderr, "Cannot open output file %s\n", cp);
- return 2;
- }
- }
- f++;
- break;
-
- default:
- fprintf(stderr, "Too many file names specified.\n");
- usage(argv[0]);
- return 2;
- }
- }
- }
-
- if (decoding) {
- decode();
- } else {
- encode();
- }
- return 0;
-}
diff --git a/libical/src/libical/filelock.c b/libical/src/libical/filelock.c
deleted file mode 100644
index 0376bc2bec..0000000000
--- a/libical/src/libical/filelock.c
+++ /dev/null
@@ -1,143 +0,0 @@
-
-/*
- I Stole this from:
- http://www.cis.temple.edu/~ingargio/old/cis307s96/readings/rwlockexample.html
-
- CIS 307: An example using Read/Write File Locks
- [fcntl.h], [fcntl.c], [fcntlmain.c]
-
-In Stevens "Advanced Programming in the Unix Environment" we see ways to use
-the Unix service fcntl to lock portions of a file for reading and writing in
-the manner stated in the Reader and Writer problem [any number of readers at
-a time, but writers must operate alone]. Here we have three files that adapt
-and use the code from Stevens:
-
-*fcntl.h: Specification of the locking functions.
-*fcntl.c: Implementation of the locking functions.
-*fcntlmain.c: Driver that does a simple test of the locking functions.
-
-WARNING: A file lock request which is blocked can be interrupted by a
-signal. In this case the lock operation returns EINTR. Thus we may think we
-got a lock when we really don't. A solution is to block signals when
-locking. Another solution is to test the value returned by the lock
-operation and relock if the value is EINTR. Another solution, which we adopt
-here, is to do nothing about it.
-
-/* fcntl.c -- Defines mutexes in terms of read/write locks on files.
- * (code is mostly from Stevens: Advanced Programming in the
- * Unix environment. See from page 367 on.
- * filerwlock, filerwlockCreate, filerwlockDelete,
- * filerwreadlock, filerwlongreadlock, filerwlongunlock,
- * filerwlockUnlock
- */
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
-
-int lock_reg(int, int, int, off_t, int, off_t);
-
-#define read_lock(fd, offset, whence, len) \
- lock_reg(fd, F_SETLK, F_RDLCK, offset, whence, len)
-
-#define readw_lock(fd, offset, whence, len) \
- lock_reg(fd, F_SETLKW, F_RDLCK, offset, whence, len)
-
-#define write_lock(fd, offset, whence, len) \
- lock_reg(fd, F_SETLK, F_WRLCK, offset, whence, len)
-
-#define writew_lock(fd, offset, whence, len) \
- lock_reg(fd, F_SETLKW, F_WRLCK, offset, whence, len)
-
-#define un_lock(fd, offset, whence, len) \
- lock_reg(fd, F_SETLK, F_UNLCK, offset, whence, len)
-
-pid_t lock_test(int, int , off_t , int , off_t );
-
-#define is_readlock(fd, offset, whence, len) \
- lock_test(fd, F_RDLCK, offset, whence, len)
-
-#define is_writelock(fd, offset, whence, len) \
- lock_test(fd, F_WRLCK, offset, whence, len)
-
-int lock_reg(int fd, int cmd, int type, off_t offset, int whence, off_t len)
-{
- struct flock lock;
- lock.l_type = type; /* F_RDLCK, F_WRLCK, F_UNLCK */
- lock.l_start = offset; /* byte offset relative to l_whence */
- lock.l_whence = whence; /* SEEK_SET, SEEK_CUR, SEEK_END */
- lock.l_len = len; /* #bytes (0 means to EOF) */
- return (fcntl(fd, cmd, &lock));
-}
-
-pid_t lock_test(int fd, int type, off_t offset, int whence, off_t len)
-{
- struct flock lock;
- lock.l_type = type; /* F_RDLCK or F_WRLCK */
- lock.l_start = offset; /* byte offset relative to l_whence */
- lock.l_whence = whence; /* SEEK_SET, SEEK_CUR, SEEK_END */
- lock.l_len = len; /* #bytes (0 means to EOF) */
- if (fcntl(fd,F_GETLK,&lock) < 0){
- perror("fcntl"); exit(1);}
- if (lock.l_type == F_UNLCK)
- return (0); /* false, region is not locked by another process */
- return (lock.l_pid); /* true, return pid of lock owner */
-}
-
-typedef struct {
- int fd;
- int n;} filerwlock;
-
-/* Create N read/write locks and returns the id of this cluster of locks. */
-filerwlock * filerwlockCreate(char *filename, int n) {
- filerwlock *fl = (filerwlock *)malloc(sizeof(filerwlock));
- if (((fl->fd) = open(filename, O_RDWR | O_CREAT | O_TRUNC, S_IWUSR)) < 0) {
- perror("open");
- exit(1);}
- fl->n = n;
- return fl;
- }
-
-/* Delete the cluster of read/write locks associated with fl. */
-int filerwlockDelete(filerwlock *fl) {
- if (close(fl->fd) < 0) {
- perror("close");
- exit(1);}
- return free(fl);
- }
-
-/* Given the read/write lock cluster fl, lock its ith element */
-int filerwreadlock(filerwlock *fl, int i) {
- if ((i < 0) | (i >= fl->n)) {
- printf("filerwlockLock needs i in range 0 .. %d\n", (fl->n)-1);
- exit(0);}
- readw_lock(fl->fd, i, SEEK_SET, 1);
- }
-
-int filerwwritelock(filerwlock *fl, int i) {
- if ((i < 0) | (i >= fl->n)) {
- printf("filerwlockLock needs i in range 0 .. %d\n", (fl->n)-1);
- exit(0);}
- writew_lock(fl->fd, i, SEEK_SET, 1);
- }
-
-/* Given the lock cluster fl, unlock its ith element */
-int filerwunlock(filerwlock *fl, int i){
-
- if ((i < 0) | (i >= fl->n)) {
- printf("filerwlockUnlock needs i in range 0 .. %d\n", (fl->n)-1);
- exit(0);}
- un_lock(fl->fd, i, SEEK_SET, 1);
- }
-
-/* Given the lock cluster fl, it read locks all its elements */
-int filerwlongreadlock(filerwlock *fl) {
- readw_lock(fl->fd, 0, SEEK_SET, fl->n);
-}
-
-/* Given the lock cluster fl, it unlocks all its elements */
-int filerwlongunlock(filerwlock *fl) {
- un_lock(fl->fd, 0, SEEK_SET, fl->n);
-}
-
diff --git a/libical/src/libical/filelock.h b/libical/src/libical/filelock.h
deleted file mode 100644
index dbe0715cc6..0000000000
--- a/libical/src/libical/filelock.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- I Stole this from:
- http://www.cis.temple.edu/~ingargio/old/cis307s96/readings/rwlockexample.html
-
- CIS 307: An example using Read/Write File Locks
- [fcntl.h], [fcntl.c], [fcntlmain.c]
-
-In Stevens "Advanced Programming in the Unix Environment" we see ways to use
-the Unix service fcntl to lock portions of a file for reading and writing in
-the manner stated in the Reader and Writer problem [any number of readers at
-a time, but writers must operate alone]. Here we have three files that adapt
-and use the code from Stevens:
-
-*fcntl.h: Specification of the locking functions.
-*fcntl.c: Implementation of the locking functions.
-*fcntlmain.c: Driver that does a simple test of the locking functions.
-
-WARNING: A file lock request which is blocked can be interrupted by a
-signal. In this case the lock operation returns EINTR. Thus we may think we
-got a lock when we really don't. A solution is to block signals when
-locking. Another solution is to test the value returned by the lock
-operation and relock if the value is EINTR. Another solution, which we adopt
-here, is to do nothing about it.
-
-fcntl.h
-
-*/
-
-/* fcntl.h -- Defines mutexes in terms of read/write locks on files.
- * filerwlock, filerwlockCreate, filerwlockDelete,
- * filerwreadlock, filerwlockUnlock
- */
-
-typedef struct {
- int fd;
- int n;
-} filerwlock;
-
-/* Create N read/write locks and returns the id of this cluster of locks. */
-filerwlock * filerwlockCreate(char *filename, int n);
-
-/* Delete the cluster of read/write locks associated with fl. */
-int filerwlockDelete(filerwlock *fl);
-
-/* Given the read/write lock cluster fl, lock its ith element */
-int filerwreadlock(filerwlock *fl, int i);
-
-int filerwwritelock(filerwlock *fl, int i);
-
-/* Given the lock cluster fl, unlock its ith element */
-int filerwunlock(filerwlock *fl, int i);
-
-/* Given the lock cluster fl, it read locks all its elements */
-int filerwlongreadlock(filerwlock *fl);
-
-/* Given the lock cluster fl, it unlocks all its elements */
-int filerwlongunlock(filerwlock *fl);
diff --git a/libical/src/libical/icalirip.h b/libical/src/libical/icalirip.h
deleted file mode 100644
index eefbca35c5..0000000000
--- a/libical/src/libical/icalirip.h
+++ /dev/null
@@ -1,108 +0,0 @@
-/* -*- Mode: C -*- */
-/*======================================================================
- FILE: icalirip.h
- CREATOR: eric 20 April 1999
-
- $Id$
-
-
- (C) COPYRIGHT 1999 Eric Busboom
- http://www.softwarestudio.org
-
- The contents of this file are subject to the Mozilla Public License
- Version 1.0 (the "License"); you may not use this file except in
- compliance with the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS"
- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- the License for the specific language governing rights and
- limitations under the License.
-
- The original author is Eric Busboom
- The original code is icalirip.h
-
-======================================================================*/
-
-
-#ifndef ICALIRIP_H
-#define ICALIRIP_H
-
-#include "ical.h"
-
-typedef void* icalirip;
-
-/********************** Server (Reciever) Interfaces *************************/
-
-icalirip* icalirip_new();
-void* icalirip_free();
-
-/* Protocol functions */
-char* icalirip_process_request(icalirip* irip, char* string);
-
-/* iRIP server stubs */
-typedef struct icalirip_response {
- char code[6];
- char caluid[1024];
- void* result;
-} icalirip_response;
-
-icalirip_response icalirip_timedout_stub(icalirip* irip);
-icalirip_response icalirip_authenticate_stub(icalirip* irip, char* mechanism, char* data);
-icalirip_response icalirip_sendata_stub(icalirip* irip, unsigned int time);
-icalirip_response icalirip_dequeue_stub(icalirip* irip, char* caluid,unsigned int time);
-icalirip_response icalirip_recipient_stub(icalirip* irip, char* address, unsigned int time);
-icalirip_response icalirip_switch_stub(icalirip* irip);
-icalirip_response icalirip_disconnect_stub(icalirip* irip);
-icalirip_response icalirip_unknown_stub(icalirip* irip, char* command);
-
-/* icalirip_set_stubs makes the module use function pointers to
-instead of the above stubs. The set_stubs procedure will requires the
-user to link another library with defined the above stubs and
-re-directs the call to the appropriate pointer to function. */
-
-typedef struct icalirip_stubs {
-
- void(*authenticate_stub)(icalirip* irip, char* mechanism, char* data);
- void (*sendata_stub)(icalirip* irip, unsigned int time);
- void (*dequeue_stub)(icalirip* irip, char* caluid, unsigned int time);
- void (*recipient_stub)(icalirip* irip, char* address, unsigned int time);
- void (*switch_stub)(icalirip* irip);
- void (*disconnect_stub)();
- void (*unknown_stub)(icalirip* irip, char* command, char** data);
-
-} icalirip_stubs;
-
-void icalirip_set_stubs(icalirip* irip, icalirip_stubs* stubs);
-
-/********************** Client (Sender) Interfaces **************************/
-
-/* Client API */
-icalirip_response icalirip_abort(icalirip* irip);
-icalirip_response icalirip_authenticate(icalirip* irip, char* mechanism, char* data);
-icalirip_response icalirip_capability(icalirip* irip);
-icalirip_response icalirip_continue(icalirip* irip, unsigned int time);
-icalirip_response icalirip_sendata(icalirip* irip, icalcomponent* comp, unsigned int time);
-icalirip_response icalirip_recipient(icalirip* irip, char* address, unsigned int time);
-icalirip_response icalirip_dequeue(icalirip* irip, char* address, unsigned int time);
-icalirip_response icalirip_switch(icalirip* irip);
-icalirip_response icalirip_disconnect();
-icalirip_response icalirip_unknown(icalirip* irip, char* command);
-
-/* client stubs */
-void icalirip_send_request(icalirip* irip,char* request);
-char* icalirip_get_response(icalirip* irip);
-
-/********************** Configuration Interfaces **************************/
-
-/* Configure capabilities */
-void icalirip_add_auth_mechanism(icalirip* irip, char* auth);
-void icalirip_set_max_object_size(icalirip* irip, unsigned int size);
-void icalirip_set_max_date(icalirip* irip, time_t time);
-void icalirip_set_min_date(icalirip* irip, time_t time);
-
-
-#endif /* !ICALIRIP_H */
-
-
-
diff --git a/libical/src/libical/icalitip.output b/libical/src/libical/icalitip.output
deleted file mode 100644
index 1218f89c74..0000000000
--- a/libical/src/libical/icalitip.output
+++ /dev/null
@@ -1,1698 +0,0 @@
-
-
-Terminals which are not used:
-
- FLOATNUMBER
- STRING
- EOL
- CHARACTER
- COLON
- TIMESEPERATOR
- BIT8
- ACCEPTED
- ADD
- AUDIO
- BASE64
- BINARY
- BOOLEAN
- BUSY
- BUSYTENTATIVE
- BUSYUNAVAILABLE
- CALADDRESS
- CANCEL
- CANCELLED
- CHAIR
- CHILD
- COMPLETED
- CONFIDENTIAL
- CONFIRMED
- COUNTER
- DATE
- DATETIME
- DECLINECOUNTER
- DECLINED
- DELEGATED
- DISPLAY
- DRAFT
- DURATION
- EMAIL
- END
- FINAL
- FLOAT
- FREE
- GREGORIAN
- GROUP
- INDIVIDUAL
- INPROCESS
- INTEGER
- NEEDSACTION
- NONPARTICIPANT
- OPAQUE
- OPTPARTICIPANT
- PARENT
- PERIOD
- PRIVATE
- PROCEDURE
- PUBLIC
- PUBLISH
- RECUR
- REFRESH
- REPLY
- REQPARTICIPANT
- REQUEST
- RESOURCE
- ROOM
- SIBLING
- START
- TENTATIVE
- TEXT
- THISANDFUTURE
- THISANDPRIOR
- TIME
- TRANSPAENT
- UNKNOWN
- UTCOFFSET
- XNAME
- ALTREP
- CN
- CUTYPE
- DAYLIGHT
- DIR
- ENCODING
- EVENT
- FBTYPE
- FMTTYPE
- LANGUAGE
- MEMBER
- PARTSTAT
- RANGE
- RELATED
- RELTYPE
- ROLE
- RSVP
- SENTBY
- STANDARD
- URI
-
-
-
-Grammar
-rule 1 value -> binary_value
-rule 2 value -> boolean_value
-rule 3 value -> date_value
-rule 4 value -> datetime_value
-rule 5 value -> duration_value
-rule 6 value -> period_value
-rule 7 value -> recur_value
-rule 8 value -> utcoffset_value
-rule 9 value -> error
-rule 10 binary_value -> "unimplemented2"
-rule 11 boolean_value -> TRUE
-rule 12 boolean_value -> FALSE
-rule 13 date_value -> DIGITS
-rule 14 utc_char -> /* empty */
-rule 15 utc_char -> UTC_CHAR
-rule 16 utc_char_b -> /* empty */
-rule 17 utc_char_b -> UTC_CHAR
-rule 18 datetime_value -> DIGITS TIME_CHAR DIGITS utc_char
-rule 19 dur_date -> dur_day
-rule 20 dur_date -> dur_day dur_time
-rule 21 dur_week -> DIGITS 'W'
-rule 22 dur_time -> TIME_CHAR dur_hour
-rule 23 dur_time -> TIME_CHAR dur_minute
-rule 24 dur_time -> TIME_CHAR dur_second
-rule 25 dur_hour -> DIGITS 'H'
-rule 26 dur_hour -> DIGITS 'H' dur_minute
-rule 27 dur_minute -> DIGITS 'M'
-rule 28 dur_minute -> DIGITS 'M' dur_second
-rule 29 dur_second -> DIGITS 'S'
-rule 30 dur_day -> DIGITS 'D'
-rule 31 dur_prefix -> /* empty */
-rule 32 dur_prefix -> '+'
-rule 33 dur_prefix -> '-'
-rule 34 duration_value -> dur_prefix 'P' dur_date
-rule 35 duration_value -> dur_prefix 'P' dur_time
-rule 36 duration_value -> dur_prefix 'P' dur_week
-rule 37 period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' DIGITS TIME_CHAR DIGITS utc_char_b
-rule 38 period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' duration_value
-rule 39 recur_start -> FREQ EQUALS SECONDLY
-rule 40 recur_start -> FREQ EQUALS MINUTELY
-rule 41 recur_start -> FREQ EQUALS HOURLY
-rule 42 recur_start -> FREQ EQUALS DAILY
-rule 43 recur_start -> FREQ EQUALS WEEKLY
-rule 44 recur_start -> FREQ EQUALS MONTHLY
-rule 45 recur_start -> FREQ EQUALS YEARLY
-rule 46 weekday -> SU
-rule 47 weekday -> MO
-rule 48 weekday -> TU
-rule 49 weekday -> WE
-rule 50 weekday -> TH
-rule 51 weekday -> FR
-rule 52 weekday -> SA
-rule 53 weekday_list -> weekday
-rule 54 weekday_list -> DIGITS weekday
-rule 55 weekday_list -> weekday_list COMMA weekday
-rule 56 recur_list -> DIGITS
-rule 57 recur_list -> recur_list COMMA DIGITS
-rule 58 recur_skip -> INTERVAL EQUALS DIGITS
-rule 59 recur_skip -> WKST EQUALS SU
-rule 60 recur_skip -> WKST EQUALS MO
-rule 61 recur_skip -> WKST EQUALS TU
-rule 62 recur_skip -> WKST EQUALS WE
-rule 63 recur_skip -> WKST EQUALS TH
-rule 64 recur_skip -> WKST EQUALS FR
-rule 65 recur_skip -> WKST EQUALS SA
-rule 66 recur_skip -> BYSECOND EQUALS recur_list
-rule 67 recur_skip -> BYMINUTE EQUALS recur_list
-rule 68 recur_skip -> BYHOUR EQUALS recur_list
-rule 69 recur_skip -> BYDAY EQUALS weekday_list
-rule 70 recur_skip -> BYMONTH EQUALS recur_list
-rule 71 recur_skip -> BYMONTHDAY EQUALS recur_list
-rule 72 recur_skip -> BYYEARDAY EQUALS recur_list
-rule 73 recur_skip -> BYWEEKNO EQUALS recur_list
-rule 74 recur_skip -> BYSETPOS EQUALS recur_list
-rule 75 recur_skip -> UNTIL EQUALS datetime_value
-rule 76 recur_skip -> UNTIL EQUALS date_value
-rule 77 recur_skip -> COUNT EQUALS DIGITS
-rule 78 recur_skip_list -> /* empty */
-rule 79 recur_skip_list -> recur_skip_list SEMICOLON recur_skip
-rule 80 recur_value -> recur_start recur_skip_list
-rule 81 plusminus -> '+'
-rule 82 plusminus -> '-'
-rule 83 utcoffset_value -> plusminus INTNUMBER INTNUMBER
-rule 84 utcoffset_value -> plusminus INTNUMBER INTNUMBER INTNUMBER
-
-Terminals, with rules where they appear
-
-$ (-1)
-'+' (43) 32 81
-'-' (45) 33 82
-'/' (47) 37 38
-'D' (68) 30
-'H' (72) 25 26
-'M' (77) 27 28
-'P' (80) 34 35 36
-'S' (83) 29
-'W' (87) 21
-error (256) 9
-DIGITS (257) 13 18 21 25 26 27 28 29 30 37 38 54 56 57 58 77
-INTNUMBER (258) 83 84
-FLOATNUMBER (259)
-STRING (260)
-EOL (261)
-EQUALS (262) 39 40 41 42 43 44 45 58 59 60 61 62 63 64 65 66 67 68
- 69 70 71 72 73 74 75 76 77
-CHARACTER (263)
-COLON (264)
-COMMA (265) 55 57
-SEMICOLON (266) 79
-TIMESEPERATOR (267)
-TRUE (268) 11
-FALSE (269) 12
-FREQ (270) 39 40 41 42 43 44 45
-BYDAY (271) 69
-BYHOUR (272) 68
-BYMINUTE (273) 67
-BYMONTH (274) 70
-BYMONTHDAY (275) 71
-BYSECOND (276) 66
-BYSETPOS (277) 74
-BYWEEKNO (278) 73
-BYYEARDAY (279) 72
-DAILY (280) 42
-MINUTELY (281) 40
-MONTHLY (282) 44
-SECONDLY (283) 39
-WEEKLY (284) 43
-HOURLY (285) 41
-YEARLY (286) 45
-INTERVAL (287) 58
-COUNT (288) 77
-UNTIL (289) 75 76
-WKST (290) 59 60 61 62 63 64 65
-MO (291) 47 60
-SA (292) 52 65
-SU (293) 46 59
-TU (294) 48 61
-WE (295) 49 62
-TH (296) 50 63
-FR (297) 51 64
-BIT8 (298)
-ACCEPTED (299)
-ADD (300)
-AUDIO (301)
-BASE64 (302)
-BINARY (303)
-BOOLEAN (304)
-BUSY (305)
-BUSYTENTATIVE (306)
-BUSYUNAVAILABLE (307)
-CALADDRESS (308)
-CANCEL (309)
-CANCELLED (310)
-CHAIR (311)
-CHILD (312)
-COMPLETED (313)
-CONFIDENTIAL (314)
-CONFIRMED (315)
-COUNTER (316)
-DATE (317)
-DATETIME (318)
-DECLINECOUNTER (319)
-DECLINED (320)
-DELEGATED (321)
-DISPLAY (322)
-DRAFT (323)
-DURATION (324)
-EMAIL (325)
-END (326)
-FINAL (327)
-FLOAT (328)
-FREE (329)
-GREGORIAN (330)
-GROUP (331)
-INDIVIDUAL (332)
-INPROCESS (333)
-INTEGER (334)
-NEEDSACTION (335)
-NONPARTICIPANT (336)
-OPAQUE (337)
-OPTPARTICIPANT (338)
-PARENT (339)
-PERIOD (340)
-PRIVATE (341)
-PROCEDURE (342)
-PUBLIC (343)
-PUBLISH (344)
-RECUR (345)
-REFRESH (346)
-REPLY (347)
-REQPARTICIPANT (348)
-REQUEST (349)
-RESOURCE (350)
-ROOM (351)
-SIBLING (352)
-START (353)
-TENTATIVE (354)
-TEXT (355)
-THISANDFUTURE (356)
-THISANDPRIOR (357)
-TIME (358)
-TRANSPAENT (359)
-UNKNOWN (360)
-UTCOFFSET (361)
-XNAME (362)
-ALTREP (363)
-CN (364)
-CUTYPE (365)
-DAYLIGHT (366)
-DIR (367)
-ENCODING (368)
-EVENT (369)
-FBTYPE (370)
-FMTTYPE (371)
-LANGUAGE (372)
-MEMBER (373)
-PARTSTAT (374)
-RANGE (375)
-RELATED (376)
-RELTYPE (377)
-ROLE (378)
-RSVP (379)
-SENTBY (380)
-STANDARD (381)
-URI (382)
-TIME_CHAR (383) 18 22 23 24 37 38
-UTC_CHAR (384) 15 17
-"unimplemented2" (385) 10
-
-Nonterminals, with rules where they appear
-
-value (141)
- on left: 1 2 3 4 5 6 7 8 9
-binary_value (142)
- on left: 10, on right: 1
-boolean_value (143)
- on left: 11 12, on right: 2
-date_value (144)
- on left: 13, on right: 3 76
-utc_char (145)
- on left: 14 15, on right: 18 37 38
-utc_char_b (146)
- on left: 16 17, on right: 37
-datetime_value (147)
- on left: 18, on right: 4 75
-dur_date (148)
- on left: 19 20, on right: 34
-dur_week (149)
- on left: 21, on right: 36
-dur_time (150)
- on left: 22 23 24, on right: 20 35
-dur_hour (151)
- on left: 25 26, on right: 22
-dur_minute (152)
- on left: 27 28, on right: 23 26
-dur_second (153)
- on left: 29, on right: 24 28
-dur_day (154)
- on left: 30, on right: 19 20
-dur_prefix (155)
- on left: 31 32 33, on right: 34 35 36
-duration_value (156)
- on left: 34 35 36, on right: 5 38
-period_value (157)
- on left: 37 38, on right: 6
-recur_start (158)
- on left: 39 40 41 42 43 44 45, on right: 80
-weekday (159)
- on left: 46 47 48 49 50 51 52, on right: 53 54 55
-weekday_list (160)
- on left: 53 54 55, on right: 55 69
-recur_list (161)
- on left: 56 57, on right: 57 66 67 68 70 71 72 73 74
-recur_skip (162)
- on left: 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
- 76 77, on right: 79
-recur_skip_list (163)
- on left: 78 79, on right: 79 80
-recur_value (164)
- on left: 80, on right: 7
-plusminus (165)
- on left: 81 82, on right: 83 84
-utcoffset_value (166)
- on left: 83 84, on right: 8
-
-
-state 0
-
- error shift, and go to state 1
- DIGITS shift, and go to state 2
- TRUE shift, and go to state 3
- FALSE shift, and go to state 4
- FREQ shift, and go to state 5
- "unimplemented2" shift, and go to state 6
- '+' shift, and go to state 7
- '-' shift, and go to state 8
-
- 'P' reduce using rule 31 (dur_prefix)
-
- value go to state 133
- binary_value go to state 9
- boolean_value go to state 10
- date_value go to state 11
- datetime_value go to state 12
- dur_prefix go to state 13
- duration_value go to state 14
- period_value go to state 15
- recur_start go to state 16
- recur_value go to state 17
- plusminus go to state 18
- utcoffset_value go to state 19
-
-
-
-state 1
-
- value -> error . (rule 9)
-
- $default reduce using rule 9 (value)
-
-
-
-state 2
-
- date_value -> DIGITS . (rule 13)
- datetime_value -> DIGITS . TIME_CHAR DIGITS utc_char (rule 18)
- period_value -> DIGITS . TIME_CHAR DIGITS utc_char '/' DIGITS TIME_CHAR DIGITS utc_char_b (rule 37)
- period_value -> DIGITS . TIME_CHAR DIGITS utc_char '/' duration_value (rule 38)
-
- TIME_CHAR shift, and go to state 20
-
- $default reduce using rule 13 (date_value)
-
-
-
-state 3
-
- boolean_value -> TRUE . (rule 11)
-
- $default reduce using rule 11 (boolean_value)
-
-
-
-state 4
-
- boolean_value -> FALSE . (rule 12)
-
- $default reduce using rule 12 (boolean_value)
-
-
-
-state 5
-
- recur_start -> FREQ . EQUALS SECONDLY (rule 39)
- recur_start -> FREQ . EQUALS MINUTELY (rule 40)
- recur_start -> FREQ . EQUALS HOURLY (rule 41)
- recur_start -> FREQ . EQUALS DAILY (rule 42)
- recur_start -> FREQ . EQUALS WEEKLY (rule 43)
- recur_start -> FREQ . EQUALS MONTHLY (rule 44)
- recur_start -> FREQ . EQUALS YEARLY (rule 45)
-
- EQUALS shift, and go to state 21
-
-
-
-state 6
-
- binary_value -> "unimplemented2" . (rule 10)
-
- $default reduce using rule 10 (binary_value)
-
-
-
-state 7
-
- dur_prefix -> '+' . (rule 32)
- plusminus -> '+' . (rule 81)
-
- INTNUMBER reduce using rule 81 (plusminus)
- $default reduce using rule 32 (dur_prefix)
-
-
-
-state 8
-
- dur_prefix -> '-' . (rule 33)
- plusminus -> '-' . (rule 82)
-
- INTNUMBER reduce using rule 82 (plusminus)
- $default reduce using rule 33 (dur_prefix)
-
-
-
-state 9
-
- value -> binary_value . (rule 1)
-
- $default reduce using rule 1 (value)
-
-
-
-state 10
-
- value -> boolean_value . (rule 2)
-
- $default reduce using rule 2 (value)
-
-
-
-state 11
-
- value -> date_value . (rule 3)
-
- $default reduce using rule 3 (value)
-
-
-
-state 12
-
- value -> datetime_value . (rule 4)
-
- $default reduce using rule 4 (value)
-
-
-
-state 13
-
- duration_value -> dur_prefix . 'P' dur_date (rule 34)
- duration_value -> dur_prefix . 'P' dur_time (rule 35)
- duration_value -> dur_prefix . 'P' dur_week (rule 36)
-
- 'P' shift, and go to state 22
-
-
-
-state 14
-
- value -> duration_value . (rule 5)
-
- $default reduce using rule 5 (value)
-
-
-
-state 15
-
- value -> period_value . (rule 6)
-
- $default reduce using rule 6 (value)
-
-
-
-state 16
-
- recur_value -> recur_start . recur_skip_list (rule 80)
-
- $default reduce using rule 78 (recur_skip_list)
-
- recur_skip_list go to state 23
-
-
-
-state 17
-
- value -> recur_value . (rule 7)
-
- $default reduce using rule 7 (value)
-
-
-
-state 18
-
- utcoffset_value -> plusminus . INTNUMBER INTNUMBER (rule 83)
- utcoffset_value -> plusminus . INTNUMBER INTNUMBER INTNUMBER (rule 84)
-
- INTNUMBER shift, and go to state 24
-
-
-
-state 19
-
- value -> utcoffset_value . (rule 8)
-
- $default reduce using rule 8 (value)
-
-
-
-state 20
-
- datetime_value -> DIGITS TIME_CHAR . DIGITS utc_char (rule 18)
- period_value -> DIGITS TIME_CHAR . DIGITS utc_char '/' DIGITS TIME_CHAR DIGITS utc_char_b (rule 37)
- period_value -> DIGITS TIME_CHAR . DIGITS utc_char '/' duration_value (rule 38)
-
- DIGITS shift, and go to state 25
-
-
-
-state 21
-
- recur_start -> FREQ EQUALS . SECONDLY (rule 39)
- recur_start -> FREQ EQUALS . MINUTELY (rule 40)
- recur_start -> FREQ EQUALS . HOURLY (rule 41)
- recur_start -> FREQ EQUALS . DAILY (rule 42)
- recur_start -> FREQ EQUALS . WEEKLY (rule 43)
- recur_start -> FREQ EQUALS . MONTHLY (rule 44)
- recur_start -> FREQ EQUALS . YEARLY (rule 45)
-
- DAILY shift, and go to state 26
- MINUTELY shift, and go to state 27
- MONTHLY shift, and go to state 28
- SECONDLY shift, and go to state 29
- WEEKLY shift, and go to state 30
- HOURLY shift, and go to state 31
- YEARLY shift, and go to state 32
-
-
-
-state 22
-
- duration_value -> dur_prefix 'P' . dur_date (rule 34)
- duration_value -> dur_prefix 'P' . dur_time (rule 35)
- duration_value -> dur_prefix 'P' . dur_week (rule 36)
-
- DIGITS shift, and go to state 33
- TIME_CHAR shift, and go to state 34
-
- dur_date go to state 35
- dur_week go to state 36
- dur_time go to state 37
- dur_day go to state 38
-
-
-
-state 23
-
- recur_skip_list -> recur_skip_list . SEMICOLON recur_skip (rule 79)
- recur_value -> recur_start recur_skip_list . (rule 80)
-
- SEMICOLON shift, and go to state 39
-
- $default reduce using rule 80 (recur_value)
-
-
-
-state 24
-
- utcoffset_value -> plusminus INTNUMBER . INTNUMBER (rule 83)
- utcoffset_value -> plusminus INTNUMBER . INTNUMBER INTNUMBER (rule 84)
-
- INTNUMBER shift, and go to state 40
-
-
-
-state 25
-
- datetime_value -> DIGITS TIME_CHAR DIGITS . utc_char (rule 18)
- period_value -> DIGITS TIME_CHAR DIGITS . utc_char '/' DIGITS TIME_CHAR DIGITS utc_char_b (rule 37)
- period_value -> DIGITS TIME_CHAR DIGITS . utc_char '/' duration_value (rule 38)
-
- UTC_CHAR shift, and go to state 41
-
- $default reduce using rule 14 (utc_char)
-
- utc_char go to state 42
-
-
-
-state 26
-
- recur_start -> FREQ EQUALS DAILY . (rule 42)
-
- $default reduce using rule 42 (recur_start)
-
-
-
-state 27
-
- recur_start -> FREQ EQUALS MINUTELY . (rule 40)
-
- $default reduce using rule 40 (recur_start)
-
-
-
-state 28
-
- recur_start -> FREQ EQUALS MONTHLY . (rule 44)
-
- $default reduce using rule 44 (recur_start)
-
-
-
-state 29
-
- recur_start -> FREQ EQUALS SECONDLY . (rule 39)
-
- $default reduce using rule 39 (recur_start)
-
-
-
-state 30
-
- recur_start -> FREQ EQUALS WEEKLY . (rule 43)
-
- $default reduce using rule 43 (recur_start)
-
-
-
-state 31
-
- recur_start -> FREQ EQUALS HOURLY . (rule 41)
-
- $default reduce using rule 41 (recur_start)
-
-
-
-state 32
-
- recur_start -> FREQ EQUALS YEARLY . (rule 45)
-
- $default reduce using rule 45 (recur_start)
-
-
-
-state 33
-
- dur_week -> DIGITS . 'W' (rule 21)
- dur_day -> DIGITS . 'D' (rule 30)
-
- 'W' shift, and go to state 43
- 'D' shift, and go to state 44
-
-
-
-state 34
-
- dur_time -> TIME_CHAR . dur_hour (rule 22)
- dur_time -> TIME_CHAR . dur_minute (rule 23)
- dur_time -> TIME_CHAR . dur_second (rule 24)
-
- DIGITS shift, and go to state 45
-
- dur_hour go to state 46
- dur_minute go to state 47
- dur_second go to state 48
-
-
-
-state 35
-
- duration_value -> dur_prefix 'P' dur_date . (rule 34)
-
- $default reduce using rule 34 (duration_value)
-
-
-
-state 36
-
- duration_value -> dur_prefix 'P' dur_week . (rule 36)
-
- $default reduce using rule 36 (duration_value)
-
-
-
-state 37
-
- duration_value -> dur_prefix 'P' dur_time . (rule 35)
-
- $default reduce using rule 35 (duration_value)
-
-
-
-state 38
-
- dur_date -> dur_day . (rule 19)
- dur_date -> dur_day . dur_time (rule 20)
-
- TIME_CHAR shift, and go to state 34
-
- $default reduce using rule 19 (dur_date)
-
- dur_time go to state 49
-
-
-
-state 39
-
- recur_skip_list -> recur_skip_list SEMICOLON . recur_skip (rule 79)
-
- BYDAY shift, and go to state 50
- BYHOUR shift, and go to state 51
- BYMINUTE shift, and go to state 52
- BYMONTH shift, and go to state 53
- BYMONTHDAY shift, and go to state 54
- BYSECOND shift, and go to state 55
- BYSETPOS shift, and go to state 56
- BYWEEKNO shift, and go to state 57
- BYYEARDAY shift, and go to state 58
- INTERVAL shift, and go to state 59
- COUNT shift, and go to state 60
- UNTIL shift, and go to state 61
- WKST shift, and go to state 62
-
- recur_skip go to state 63
-
-
-
-state 40
-
- utcoffset_value -> plusminus INTNUMBER INTNUMBER . (rule 83)
- utcoffset_value -> plusminus INTNUMBER INTNUMBER . INTNUMBER (rule 84)
-
- INTNUMBER shift, and go to state 64
-
- $default reduce using rule 83 (utcoffset_value)
-
-
-
-state 41
-
- utc_char -> UTC_CHAR . (rule 15)
-
- $default reduce using rule 15 (utc_char)
-
-
-
-state 42
-
- datetime_value -> DIGITS TIME_CHAR DIGITS utc_char . (rule 18)
- period_value -> DIGITS TIME_CHAR DIGITS utc_char . '/' DIGITS TIME_CHAR DIGITS utc_char_b (rule 37)
- period_value -> DIGITS TIME_CHAR DIGITS utc_char . '/' duration_value (rule 38)
-
- '/' shift, and go to state 65
-
- $default reduce using rule 18 (datetime_value)
-
-
-
-state 43
-
- dur_week -> DIGITS 'W' . (rule 21)
-
- $default reduce using rule 21 (dur_week)
-
-
-
-state 44
-
- dur_day -> DIGITS 'D' . (rule 30)
-
- $default reduce using rule 30 (dur_day)
-
-
-
-state 45
-
- dur_hour -> DIGITS . 'H' (rule 25)
- dur_hour -> DIGITS . 'H' dur_minute (rule 26)
- dur_minute -> DIGITS . 'M' (rule 27)
- dur_minute -> DIGITS . 'M' dur_second (rule 28)
- dur_second -> DIGITS . 'S' (rule 29)
-
- 'H' shift, and go to state 66
- 'M' shift, and go to state 67
- 'S' shift, and go to state 68
-
-
-
-state 46
-
- dur_time -> TIME_CHAR dur_hour . (rule 22)
-
- $default reduce using rule 22 (dur_time)
-
-
-
-state 47
-
- dur_time -> TIME_CHAR dur_minute . (rule 23)
-
- $default reduce using rule 23 (dur_time)
-
-
-
-state 48
-
- dur_time -> TIME_CHAR dur_second . (rule 24)
-
- $default reduce using rule 24 (dur_time)
-
-
-
-state 49
-
- dur_date -> dur_day dur_time . (rule 20)
-
- $default reduce using rule 20 (dur_date)
-
-
-
-state 50
-
- recur_skip -> BYDAY . EQUALS weekday_list (rule 69)
-
- EQUALS shift, and go to state 69
-
-
-
-state 51
-
- recur_skip -> BYHOUR . EQUALS recur_list (rule 68)
-
- EQUALS shift, and go to state 70
-
-
-
-state 52
-
- recur_skip -> BYMINUTE . EQUALS recur_list (rule 67)
-
- EQUALS shift, and go to state 71
-
-
-
-state 53
-
- recur_skip -> BYMONTH . EQUALS recur_list (rule 70)
-
- EQUALS shift, and go to state 72
-
-
-
-state 54
-
- recur_skip -> BYMONTHDAY . EQUALS recur_list (rule 71)
-
- EQUALS shift, and go to state 73
-
-
-
-state 55
-
- recur_skip -> BYSECOND . EQUALS recur_list (rule 66)
-
- EQUALS shift, and go to state 74
-
-
-
-state 56
-
- recur_skip -> BYSETPOS . EQUALS recur_list (rule 74)
-
- EQUALS shift, and go to state 75
-
-
-
-state 57
-
- recur_skip -> BYWEEKNO . EQUALS recur_list (rule 73)
-
- EQUALS shift, and go to state 76
-
-
-
-state 58
-
- recur_skip -> BYYEARDAY . EQUALS recur_list (rule 72)
-
- EQUALS shift, and go to state 77
-
-
-
-state 59
-
- recur_skip -> INTERVAL . EQUALS DIGITS (rule 58)
-
- EQUALS shift, and go to state 78
-
-
-
-state 60
-
- recur_skip -> COUNT . EQUALS DIGITS (rule 77)
-
- EQUALS shift, and go to state 79
-
-
-
-state 61
-
- recur_skip -> UNTIL . EQUALS datetime_value (rule 75)
- recur_skip -> UNTIL . EQUALS date_value (rule 76)
-
- EQUALS shift, and go to state 80
-
-
-
-state 62
-
- recur_skip -> WKST . EQUALS SU (rule 59)
- recur_skip -> WKST . EQUALS MO (rule 60)
- recur_skip -> WKST . EQUALS TU (rule 61)
- recur_skip -> WKST . EQUALS WE (rule 62)
- recur_skip -> WKST . EQUALS TH (rule 63)
- recur_skip -> WKST . EQUALS FR (rule 64)
- recur_skip -> WKST . EQUALS SA (rule 65)
-
- EQUALS shift, and go to state 81
-
-
-
-state 63
-
- recur_skip_list -> recur_skip_list SEMICOLON recur_skip . (rule 79)
-
- $default reduce using rule 79 (recur_skip_list)
-
-
-
-state 64
-
- utcoffset_value -> plusminus INTNUMBER INTNUMBER INTNUMBER . (rule 84)
-
- $default reduce using rule 84 (utcoffset_value)
-
-
-
-state 65
-
- period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' . DIGITS TIME_CHAR DIGITS utc_char_b (rule 37)
- period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' . duration_value (rule 38)
-
- DIGITS shift, and go to state 82
- '+' shift, and go to state 83
- '-' shift, and go to state 84
-
- $default reduce using rule 31 (dur_prefix)
-
- dur_prefix go to state 13
- duration_value go to state 85
-
-
-
-state 66
-
- dur_hour -> DIGITS 'H' . (rule 25)
- dur_hour -> DIGITS 'H' . dur_minute (rule 26)
-
- DIGITS shift, and go to state 86
-
- $default reduce using rule 25 (dur_hour)
-
- dur_minute go to state 87
-
-
-
-state 67
-
- dur_minute -> DIGITS 'M' . (rule 27)
- dur_minute -> DIGITS 'M' . dur_second (rule 28)
-
- DIGITS shift, and go to state 88
-
- $default reduce using rule 27 (dur_minute)
-
- dur_second go to state 89
-
-
-
-state 68
-
- dur_second -> DIGITS 'S' . (rule 29)
-
- $default reduce using rule 29 (dur_second)
-
-
-
-state 69
-
- recur_skip -> BYDAY EQUALS . weekday_list (rule 69)
-
- DIGITS shift, and go to state 90
- MO shift, and go to state 91
- SA shift, and go to state 92
- SU shift, and go to state 93
- TU shift, and go to state 94
- WE shift, and go to state 95
- TH shift, and go to state 96
- FR shift, and go to state 97
-
- weekday go to state 98
- weekday_list go to state 99
-
-
-
-state 70
-
- recur_skip -> BYHOUR EQUALS . recur_list (rule 68)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 101
-
-
-
-state 71
-
- recur_skip -> BYMINUTE EQUALS . recur_list (rule 67)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 102
-
-
-
-state 72
-
- recur_skip -> BYMONTH EQUALS . recur_list (rule 70)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 103
-
-
-
-state 73
-
- recur_skip -> BYMONTHDAY EQUALS . recur_list (rule 71)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 104
-
-
-
-state 74
-
- recur_skip -> BYSECOND EQUALS . recur_list (rule 66)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 105
-
-
-
-state 75
-
- recur_skip -> BYSETPOS EQUALS . recur_list (rule 74)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 106
-
-
-
-state 76
-
- recur_skip -> BYWEEKNO EQUALS . recur_list (rule 73)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 107
-
-
-
-state 77
-
- recur_skip -> BYYEARDAY EQUALS . recur_list (rule 72)
-
- DIGITS shift, and go to state 100
-
- recur_list go to state 108
-
-
-
-state 78
-
- recur_skip -> INTERVAL EQUALS . DIGITS (rule 58)
-
- DIGITS shift, and go to state 109
-
-
-
-state 79
-
- recur_skip -> COUNT EQUALS . DIGITS (rule 77)
-
- DIGITS shift, and go to state 110
-
-
-
-state 80
-
- recur_skip -> UNTIL EQUALS . datetime_value (rule 75)
- recur_skip -> UNTIL EQUALS . date_value (rule 76)
-
- DIGITS shift, and go to state 111
-
- date_value go to state 112
- datetime_value go to state 113
-
-
-
-state 81
-
- recur_skip -> WKST EQUALS . SU (rule 59)
- recur_skip -> WKST EQUALS . MO (rule 60)
- recur_skip -> WKST EQUALS . TU (rule 61)
- recur_skip -> WKST EQUALS . WE (rule 62)
- recur_skip -> WKST EQUALS . TH (rule 63)
- recur_skip -> WKST EQUALS . FR (rule 64)
- recur_skip -> WKST EQUALS . SA (rule 65)
-
- MO shift, and go to state 114
- SA shift, and go to state 115
- SU shift, and go to state 116
- TU shift, and go to state 117
- WE shift, and go to state 118
- TH shift, and go to state 119
- FR shift, and go to state 120
-
-
-
-state 82
-
- period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' DIGITS . TIME_CHAR DIGITS utc_char_b (rule 37)
-
- TIME_CHAR shift, and go to state 121
-
-
-
-state 83
-
- dur_prefix -> '+' . (rule 32)
-
- $default reduce using rule 32 (dur_prefix)
-
-
-
-state 84
-
- dur_prefix -> '-' . (rule 33)
-
- $default reduce using rule 33 (dur_prefix)
-
-
-
-state 85
-
- period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' duration_value . (rule 38)
-
- $default reduce using rule 38 (period_value)
-
-
-
-state 86
-
- dur_minute -> DIGITS . 'M' (rule 27)
- dur_minute -> DIGITS . 'M' dur_second (rule 28)
-
- 'M' shift, and go to state 67
-
-
-
-state 87
-
- dur_hour -> DIGITS 'H' dur_minute . (rule 26)
-
- $default reduce using rule 26 (dur_hour)
-
-
-
-state 88
-
- dur_second -> DIGITS . 'S' (rule 29)
-
- 'S' shift, and go to state 68
-
-
-
-state 89
-
- dur_minute -> DIGITS 'M' dur_second . (rule 28)
-
- $default reduce using rule 28 (dur_minute)
-
-
-
-state 90
-
- weekday_list -> DIGITS . weekday (rule 54)
-
- MO shift, and go to state 91
- SA shift, and go to state 92
- SU shift, and go to state 93
- TU shift, and go to state 94
- WE shift, and go to state 95
- TH shift, and go to state 96
- FR shift, and go to state 97
-
- weekday go to state 122
-
-
-
-state 91
-
- weekday -> MO . (rule 47)
-
- $default reduce using rule 47 (weekday)
-
-
-
-state 92
-
- weekday -> SA . (rule 52)
-
- $default reduce using rule 52 (weekday)
-
-
-
-state 93
-
- weekday -> SU . (rule 46)
-
- $default reduce using rule 46 (weekday)
-
-
-
-state 94
-
- weekday -> TU . (rule 48)
-
- $default reduce using rule 48 (weekday)
-
-
-
-state 95
-
- weekday -> WE . (rule 49)
-
- $default reduce using rule 49 (weekday)
-
-
-
-state 96
-
- weekday -> TH . (rule 50)
-
- $default reduce using rule 50 (weekday)
-
-
-
-state 97
-
- weekday -> FR . (rule 51)
-
- $default reduce using rule 51 (weekday)
-
-
-
-state 98
-
- weekday_list -> weekday . (rule 53)
-
- $default reduce using rule 53 (weekday_list)
-
-
-
-state 99
-
- weekday_list -> weekday_list . COMMA weekday (rule 55)
- recur_skip -> BYDAY EQUALS weekday_list . (rule 69)
-
- COMMA shift, and go to state 123
-
- $default reduce using rule 69 (recur_skip)
-
-
-
-state 100
-
- recur_list -> DIGITS . (rule 56)
-
- $default reduce using rule 56 (recur_list)
-
-
-
-state 101
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYHOUR EQUALS recur_list . (rule 68)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 68 (recur_skip)
-
-
-
-state 102
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYMINUTE EQUALS recur_list . (rule 67)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 67 (recur_skip)
-
-
-
-state 103
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYMONTH EQUALS recur_list . (rule 70)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 70 (recur_skip)
-
-
-
-state 104
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYMONTHDAY EQUALS recur_list . (rule 71)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 71 (recur_skip)
-
-
-
-state 105
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYSECOND EQUALS recur_list . (rule 66)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 66 (recur_skip)
-
-
-
-state 106
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYSETPOS EQUALS recur_list . (rule 74)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 74 (recur_skip)
-
-
-
-state 107
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYWEEKNO EQUALS recur_list . (rule 73)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 73 (recur_skip)
-
-
-
-state 108
-
- recur_list -> recur_list . COMMA DIGITS (rule 57)
- recur_skip -> BYYEARDAY EQUALS recur_list . (rule 72)
-
- COMMA shift, and go to state 124
-
- $default reduce using rule 72 (recur_skip)
-
-
-
-state 109
-
- recur_skip -> INTERVAL EQUALS DIGITS . (rule 58)
-
- $default reduce using rule 58 (recur_skip)
-
-
-
-state 110
-
- recur_skip -> COUNT EQUALS DIGITS . (rule 77)
-
- $default reduce using rule 77 (recur_skip)
-
-
-
-state 111
-
- date_value -> DIGITS . (rule 13)
- datetime_value -> DIGITS . TIME_CHAR DIGITS utc_char (rule 18)
-
- TIME_CHAR shift, and go to state 125
-
- $default reduce using rule 13 (date_value)
-
-
-
-state 112
-
- recur_skip -> UNTIL EQUALS date_value . (rule 76)
-
- $default reduce using rule 76 (recur_skip)
-
-
-
-state 113
-
- recur_skip -> UNTIL EQUALS datetime_value . (rule 75)
-
- $default reduce using rule 75 (recur_skip)
-
-
-
-state 114
-
- recur_skip -> WKST EQUALS MO . (rule 60)
-
- $default reduce using rule 60 (recur_skip)
-
-
-
-state 115
-
- recur_skip -> WKST EQUALS SA . (rule 65)
-
- $default reduce using rule 65 (recur_skip)
-
-
-
-state 116
-
- recur_skip -> WKST EQUALS SU . (rule 59)
-
- $default reduce using rule 59 (recur_skip)
-
-
-
-state 117
-
- recur_skip -> WKST EQUALS TU . (rule 61)
-
- $default reduce using rule 61 (recur_skip)
-
-
-
-state 118
-
- recur_skip -> WKST EQUALS WE . (rule 62)
-
- $default reduce using rule 62 (recur_skip)
-
-
-
-state 119
-
- recur_skip -> WKST EQUALS TH . (rule 63)
-
- $default reduce using rule 63 (recur_skip)
-
-
-
-state 120
-
- recur_skip -> WKST EQUALS FR . (rule 64)
-
- $default reduce using rule 64 (recur_skip)
-
-
-
-state 121
-
- period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' DIGITS TIME_CHAR . DIGITS utc_char_b (rule 37)
-
- DIGITS shift, and go to state 126
-
-
-
-state 122
-
- weekday_list -> DIGITS weekday . (rule 54)
-
- $default reduce using rule 54 (weekday_list)
-
-
-
-state 123
-
- weekday_list -> weekday_list COMMA . weekday (rule 55)
-
- MO shift, and go to state 91
- SA shift, and go to state 92
- SU shift, and go to state 93
- TU shift, and go to state 94
- WE shift, and go to state 95
- TH shift, and go to state 96
- FR shift, and go to state 97
-
- weekday go to state 127
-
-
-
-state 124
-
- recur_list -> recur_list COMMA . DIGITS (rule 57)
-
- DIGITS shift, and go to state 128
-
-
-
-state 125
-
- datetime_value -> DIGITS TIME_CHAR . DIGITS utc_char (rule 18)
-
- DIGITS shift, and go to state 129
-
-
-
-state 126
-
- period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' DIGITS TIME_CHAR DIGITS . utc_char_b (rule 37)
-
- UTC_CHAR shift, and go to state 130
-
- $default reduce using rule 16 (utc_char_b)
-
- utc_char_b go to state 131
-
-
-
-state 127
-
- weekday_list -> weekday_list COMMA weekday . (rule 55)
-
- $default reduce using rule 55 (weekday_list)
-
-
-
-state 128
-
- recur_list -> recur_list COMMA DIGITS . (rule 57)
-
- $default reduce using rule 57 (recur_list)
-
-
-
-state 129
-
- datetime_value -> DIGITS TIME_CHAR DIGITS . utc_char (rule 18)
-
- UTC_CHAR shift, and go to state 41
-
- $default reduce using rule 14 (utc_char)
-
- utc_char go to state 132
-
-
-
-state 130
-
- utc_char_b -> UTC_CHAR . (rule 17)
-
- $default reduce using rule 17 (utc_char_b)
-
-
-
-state 131
-
- period_value -> DIGITS TIME_CHAR DIGITS utc_char '/' DIGITS TIME_CHAR DIGITS utc_char_b . (rule 37)
-
- $default reduce using rule 37 (period_value)
-
-
-
-state 132
-
- datetime_value -> DIGITS TIME_CHAR DIGITS utc_char . (rule 18)
-
- $default reduce using rule 18 (datetime_value)
-
-
-
-state 133
-
- $ go to state 134
-
-
-
-state 134
-
- $ go to state 135
-
-
-
-state 135
-
- $default accept
diff --git a/libical/src/libical/icalitip.tab.c b/libical/src/libical/icalitip.tab.c
deleted file mode 100644
index 82536647e3..0000000000
--- a/libical/src/libical/icalitip.tab.c
+++ /dev/null
@@ -1,1663 +0,0 @@
-
-/* A Bison parser, made from icalitip.y
- by GNU Bison version 1.28 */
-
-#define YYBISON 1 /* Identify Bison output. */
-
-#define yyparse icalparser_yyparse
-#define yylex icalparser_yylex
-#define yyerror icalparser_yyerror
-#define yylval icalparser_yylval
-#define yychar icalparser_yychar
-#define yydebug icalparser_yydebug
-#define yynerrs icalparser_yynerrs
-#define DIGITS 257
-#define INTNUMBER 258
-#define FLOATNUMBER 259
-#define STRING 260
-#define EOL 261
-#define EQUALS 262
-#define CHARACTER 263
-#define COLON 264
-#define COMMA 265
-#define SEMICOLON 266
-#define TIMESEPERATOR 267
-#define TRUE 268
-#define FALSE 269
-#define FREQ 270
-#define BYDAY 271
-#define BYHOUR 272
-#define BYMINUTE 273
-#define BYMONTH 274
-#define BYMONTHDAY 275
-#define BYSECOND 276
-#define BYSETPOS 277
-#define BYWEEKNO 278
-#define BYYEARDAY 279
-#define DAILY 280
-#define MINUTELY 281
-#define MONTHLY 282
-#define SECONDLY 283
-#define WEEKLY 284
-#define HOURLY 285
-#define YEARLY 286
-#define INTERVAL 287
-#define COUNT 288
-#define UNTIL 289
-#define WKST 290
-#define MO 291
-#define SA 292
-#define SU 293
-#define TU 294
-#define WE 295
-#define TH 296
-#define FR 297
-#define BIT8 298
-#define ACCEPTED 299
-#define ADD 300
-#define AUDIO 301
-#define BASE64 302
-#define BINARY 303
-#define BOOLEAN 304
-#define BUSY 305
-#define BUSYTENTATIVE 306
-#define BUSYUNAVAILABLE 307
-#define CALADDRESS 308
-#define CANCEL 309
-#define CANCELLED 310
-#define CHAIR 311
-#define CHILD 312
-#define COMPLETED 313
-#define CONFIDENTIAL 314
-#define CONFIRMED 315
-#define COUNTER 316
-#define DATE 317
-#define DATETIME 318
-#define DECLINECOUNTER 319
-#define DECLINED 320
-#define DELEGATED 321
-#define DISPLAY 322
-#define DRAFT 323
-#define DURATION 324
-#define EMAIL 325
-#define END 326
-#define FINAL 327
-#define FLOAT 328
-#define FREE 329
-#define GREGORIAN 330
-#define GROUP 331
-#define INDIVIDUAL 332
-#define INPROCESS 333
-#define INTEGER 334
-#define NEEDSACTION 335
-#define NONPARTICIPANT 336
-#define OPAQUE 337
-#define OPTPARTICIPANT 338
-#define PARENT 339
-#define PERIOD 340
-#define PRIVATE 341
-#define PROCEDURE 342
-#define PUBLIC 343
-#define PUBLISH 344
-#define RECUR 345
-#define REFRESH 346
-#define REPLY 347
-#define REQPARTICIPANT 348
-#define REQUEST 349
-#define RESOURCE 350
-#define ROOM 351
-#define SIBLING 352
-#define START 353
-#define TENTATIVE 354
-#define TEXT 355
-#define THISANDFUTURE 356
-#define THISANDPRIOR 357
-#define TIME 358
-#define TRANSPAENT 359
-#define UNKNOWN 360
-#define UTCOFFSET 361
-#define XNAME 362
-#define ALTREP 363
-#define CN 364
-#define CUTYPE 365
-#define DAYLIGHT 366
-#define DIR 367
-#define ENCODING 368
-#define EVENT 369
-#define FBTYPE 370
-#define FMTTYPE 371
-#define LANGUAGE 372
-#define MEMBER 373
-#define PARTSTAT 374
-#define RANGE 375
-#define RELATED 376
-#define RELTYPE 377
-#define ROLE 378
-#define RSVP 379
-#define SENTBY 380
-#define STANDARD 381
-#define URI 382
-#define TIME_CHAR 383
-#define UTC_CHAR 384
-
-#line 1 "icalitip.y"
-
-/* -*- Mode: C -*-
- ======================================================================
- FILE: icalitip.y
- CREATOR: eric 10 June 1999
-
- DESCRIPTION:
-
- $Id$
- $Locker$
-
- (C) COPYRIGHT 1999 Eric Busboom
- http://www.softwarestudio.org
-
- The contents of this file are subject to the Mozilla Public License
- Version 1.0 (the "License"); you may not use this file except in
- compliance with the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS"
- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- the License for the specific language governing rights and
- limitations under the License.
-
- The original author is Eric Busboom
- The original code is icalitip.y
-
-
-
- ================================b======================================*/
-
-#include <stdlib.h>
-#include <string.h> /* for strdup() */
-#include <limits.h> /* for SHRT_MAX*/
-#include "icalparser.h"
-#include "ical.h"
-#include "pvl.h"
-
-#define YYERROR_VERBOSE
-#define YYDEBUG 1
-
-icalvalue *icalparser_yy_value; /* Current Value */
-
-/* Globals for UTCOFFSET values */
-int utc;
-int utc_b;
-int utcsign;
-
-/* Globals for DURATION values */
-struct icaldurationtype duration;
-
-/* Globals for RECUR values */
-struct icalrecurrencetype recur;
-short skiplist[367];
-short skippos;
-
-void copy_list(short* array, size_t size);
-void clear_recur();
-void add_prop(icalproperty_kind);
-void icalparser_fill_date(struct tm* t, char* dstr);
-void icalparser_fill_time(struct tm* t, char* tstr);
-void set_value_type(icalvalue_kind kind);
-void yyerror(char *s); /* Don't know why I need this.... */
-int yylex(void); /* Or this. */
-void set_parser_value_state();
-struct icaltimetype fill_datetime(char* d, char* t);
-
-
-
-/* Set the state of the lexer so it will interpret values ( iCAL
- VALUEs, that is, ) correctly. */
-
-
-#line 75 "icalitip.y"
-typedef union {
- float v_float;
- int v_int;
- char* v_string;
-
-} YYSTYPE;
-#include <stdio.h>
-
-#ifndef __cplusplus
-#ifndef __STDC__
-#define const
-#endif
-#endif
-
-
-
-#define YYFINAL 135
-#define YYFLAG -32768
-#define YYNTBASE 141
-
-#define YYTRANSLATE(x) ((unsigned)(x) <= 385 ? yytranslate[x] : 167)
-
-static const short yytranslate[] = { 0,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 137, 2, 138, 2, 140, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 136, 2, 2,
- 2, 133, 2, 2, 2, 2, 134, 2, 2, 139,
- 2, 2, 135, 2, 2, 2, 132, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 1, 3, 4, 5, 6,
- 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
- 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
- 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
- 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
- 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
- 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
- 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
- 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
- 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
- 127, 128, 129, 130, 131
-};
-
-#if YYDEBUG != 0
-static const short yyprhs[] = { 0,
- 0, 2, 4, 6, 8, 10, 12, 14, 16, 18,
- 20, 22, 24, 26, 27, 29, 30, 32, 37, 39,
- 42, 45, 48, 51, 54, 57, 61, 64, 68, 71,
- 74, 75, 77, 79, 83, 87, 91, 101, 108, 112,
- 116, 120, 124, 128, 132, 136, 138, 140, 142, 144,
- 146, 148, 150, 152, 155, 159, 161, 165, 169, 173,
- 177, 181, 185, 189, 193, 197, 201, 205, 209, 213,
- 217, 221, 225, 229, 233, 237, 241, 245, 246, 250,
- 253, 255, 257, 261
-};
-
-static const short yyrhs[] = { 142,
- 0, 143, 0, 144, 0, 147, 0, 156, 0, 157,
- 0, 164, 0, 166, 0, 1, 0, 131, 0, 14,
- 0, 15, 0, 3, 0, 0, 130, 0, 0, 130,
- 0, 3, 129, 3, 145, 0, 154, 0, 154, 150,
- 0, 3, 132, 0, 129, 151, 0, 129, 152, 0,
- 129, 153, 0, 3, 133, 0, 3, 133, 152, 0,
- 3, 134, 0, 3, 134, 153, 0, 3, 135, 0,
- 3, 136, 0, 0, 137, 0, 138, 0, 155, 139,
- 148, 0, 155, 139, 150, 0, 155, 139, 149, 0,
- 3, 129, 3, 145, 140, 3, 129, 3, 146, 0,
- 3, 129, 3, 145, 140, 156, 0, 16, 8, 29,
- 0, 16, 8, 27, 0, 16, 8, 31, 0, 16,
- 8, 26, 0, 16, 8, 30, 0, 16, 8, 28,
- 0, 16, 8, 32, 0, 39, 0, 37, 0, 40,
- 0, 41, 0, 42, 0, 43, 0, 38, 0, 159,
- 0, 3, 159, 0, 160, 11, 159, 0, 3, 0,
- 161, 11, 3, 0, 33, 8, 3, 0, 36, 8,
- 39, 0, 36, 8, 37, 0, 36, 8, 40, 0,
- 36, 8, 41, 0, 36, 8, 42, 0, 36, 8,
- 43, 0, 36, 8, 38, 0, 22, 8, 161, 0,
- 19, 8, 161, 0, 18, 8, 161, 0, 17, 8,
- 160, 0, 20, 8, 161, 0, 21, 8, 161, 0,
- 25, 8, 161, 0, 24, 8, 161, 0, 23, 8,
- 161, 0, 35, 8, 147, 0, 35, 8, 144, 0,
- 34, 8, 3, 0, 0, 163, 12, 162, 0, 158,
- 163, 0, 137, 0, 138, 0, 165, 4, 4, 0,
- 165, 4, 4, 4, 0
-};
-
-#endif
-
-#if YYDEBUG != 0
-static const short yyrline[] = { 0,
- 112, 114, 115, 116, 117, 118, 119, 120, 121, 127,
- 129, 132, 135, 150, 152, 155, 157, 159, 175, 176,
- 178, 183, 186, 189, 193, 197, 202, 206, 211, 216,
- 221, 224, 227, 231, 236, 241, 250, 271, 303, 305,
- 306, 307, 308, 309, 310, 314, 316, 317, 318, 319,
- 320, 321, 325, 327, 328, 331, 333, 336, 338, 339,
- 340, 341, 342, 343, 344, 345, 346, 347, 348, 349,
- 350, 351, 352, 353, 354, 357, 360, 364, 366, 368,
- 376, 377, 379, 385
-};
-#endif
-
-
-#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)
-
-static const char * const yytname[] = { "$","error","$undefined.","DIGITS",
-"INTNUMBER","FLOATNUMBER","STRING","EOL","EQUALS","CHARACTER","COLON","COMMA",
-"SEMICOLON","TIMESEPERATOR","TRUE","FALSE","FREQ","BYDAY","BYHOUR","BYMINUTE",
-"BYMONTH","BYMONTHDAY","BYSECOND","BYSETPOS","BYWEEKNO","BYYEARDAY","DAILY",
-"MINUTELY","MONTHLY","SECONDLY","WEEKLY","HOURLY","YEARLY","INTERVAL","COUNT",
-"UNTIL","WKST","MO","SA","SU","TU","WE","TH","FR","BIT8","ACCEPTED","ADD","AUDIO",
-"BASE64","BINARY","BOOLEAN","BUSY","BUSYTENTATIVE","BUSYUNAVAILABLE","CALADDRESS",
-"CANCEL","CANCELLED","CHAIR","CHILD","COMPLETED","CONFIDENTIAL","CONFIRMED",
-"COUNTER","DATE","DATETIME","DECLINECOUNTER","DECLINED","DELEGATED","DISPLAY",
-"DRAFT","DURATION","EMAIL","END","FINAL","FLOAT","FREE","GREGORIAN","GROUP",
-"INDIVIDUAL","INPROCESS","INTEGER","NEEDSACTION","NONPARTICIPANT","OPAQUE","OPTPARTICIPANT",
-"PARENT","PERIOD","PRIVATE","PROCEDURE","PUBLIC","PUBLISH","RECUR","REFRESH",
-"REPLY","REQPARTICIPANT","REQUEST","RESOURCE","ROOM","SIBLING","START","TENTATIVE",
-"TEXT","THISANDFUTURE","THISANDPRIOR","TIME","TRANSPAENT","UNKNOWN","UTCOFFSET",
-"XNAME","ALTREP","CN","CUTYPE","DAYLIGHT","DIR","ENCODING","EVENT","FBTYPE",
-"FMTTYPE","LANGUAGE","MEMBER","PARTSTAT","RANGE","RELATED","RELTYPE","ROLE",
-"RSVP","SENTBY","STANDARD","URI","TIME_CHAR","UTC_CHAR","\"unimplemented2\"",
-"'W'","'H'","'M'","'S'","'D'","'+'","'-'","'P'","'/'","value","binary_value",
-"boolean_value","date_value","utc_char","utc_char_b","datetime_value","dur_date",
-"dur_week","dur_time","dur_hour","dur_minute","dur_second","dur_day","dur_prefix",
-"duration_value","period_value","recur_start","weekday","weekday_list","recur_list",
-"recur_skip","recur_skip_list","recur_value","plusminus","utcoffset_value", NULL
-};
-#endif
-
-static const short yyr1[] = { 0,
- 141, 141, 141, 141, 141, 141, 141, 141, 141, 142,
- 143, 143, 144, 145, 145, 146, 146, 147, 148, 148,
- 149, 150, 150, 150, 151, 151, 152, 152, 153, 154,
- 155, 155, 155, 156, 156, 156, 157, 157, 158, 158,
- 158, 158, 158, 158, 158, 159, 159, 159, 159, 159,
- 159, 159, 160, 160, 160, 161, 161, 162, 162, 162,
- 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
- 162, 162, 162, 162, 162, 162, 162, 163, 163, 164,
- 165, 165, 166, 166
-};
-
-static const short yyr2[] = { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 0, 1, 0, 1, 4, 1, 2,
- 2, 2, 2, 2, 2, 3, 2, 3, 2, 2,
- 0, 1, 1, 3, 3, 3, 9, 6, 3, 3,
- 3, 3, 3, 3, 3, 1, 1, 1, 1, 1,
- 1, 1, 1, 2, 3, 1, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 0, 3, 2,
- 1, 1, 3, 4
-};
-
-static const short yydefact[] = { 0,
- 9, 13, 11, 12, 0, 10, 32, 33, 1, 2,
- 3, 4, 0, 5, 6, 78, 7, 0, 8, 0,
- 0, 0, 80, 0, 14, 42, 40, 44, 39, 43,
- 41, 45, 0, 0, 34, 36, 35, 19, 0, 83,
- 15, 18, 21, 30, 0, 22, 23, 24, 20, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 79, 84, 31, 25, 27, 29, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 32, 33, 38, 0, 26, 0, 28, 0,
- 47, 52, 46, 48, 49, 50, 51, 53, 69, 56,
- 68, 67, 70, 71, 66, 74, 73, 72, 58, 77,
- 13, 76, 75, 60, 65, 59, 61, 62, 63, 64,
- 0, 54, 0, 0, 0, 16, 55, 57, 14, 17,
- 37, 18, 0, 0, 0
-};
-
-static const short yydefgoto[] = { 133,
- 9, 10, 11, 42, 131, 12, 35, 36, 37, 46,
- 47, 48, 38, 13, 14, 15, 16, 98, 99, 101,
- 63, 23, 17, 18, 19
-};
-
-static const short yypact[] = { -1,
--32768, -123,-32768,-32768, 1,-32768, 3, 6,-32768,-32768,
--32768,-32768, -127,-32768,-32768,-32768,-32768, 64,-32768, 66,
- -10, -2, 58, 67, -58,-32768,-32768,-32768,-32768,-32768,
--32768,-32768, -128, 70,-32768,-32768,-32768, -55, 28, 71,
--32768, -64,-32768,-32768, -68,-32768,-32768,-32768,-32768, 69,
- 72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
- 82, 83,-32768,-32768, 2, 89, 90,-32768, 0, 91,
- 91, 91, 91, 91, 91, 91, 91, 92, 93, 94,
- -14, -51,-32768,-32768,-32768, -36,-32768, -56,-32768, -7,
--32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 88,-32768,
- 95, 95, 95, 95, 95, 95, 95, 95,-32768,-32768,
- -29,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
- 98,-32768, -7, 99, 100, -26,-32768,-32768, -58,-32768,
--32768,-32768, 105, 107,-32768
-};
-
-static const short yypgoto[] = {-32768,
--32768,-32768, 29, -21,-32768, 30,-32768,-32768, 84,-32768,
- 45, 46,-32768,-32768, 47,-32768,-32768, -79,-32768, -17,
--32768,-32768,-32768,-32768,-32768
-};
-
-
-#define YYLAST 140
-
-
-static const short yytable[] = { 1,
- 33, 2, 90, 43, 82, 20, -81, 44, 21, -82,
- 122, 22, 3, 4, 5, 26, 27, 28, 29, 30,
- 31, 32, 114, 115, 116, 117, 118, 119, 120, 91,
- 92, 93, 94, 95, 96, 97, 91, 92, 93, 94,
- 95, 96, 97, 127, 50, 51, 52, 53, 54, 55,
- 56, 57, 58, 102, 103, 104, 105, 106, 107, 108,
- 59, 60, 61, 62, 66, 67, 68, 24, 25, 39,
- 40, 41, 45, 34, 64, 65, 69, 121, 68, 70,
- 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 86, 88, 100, 109, 110, 111, 67, 123, 125,
- 126, 128, 129, 130, 134, 124, 135, 132, 112, 113,
- 87, 85, 89, 0, 0, 0, 0, 0, 0, 0,
- 0, 49, 0, 0, 0, 0, 34, 0, 0, 6,
- 0, 0, 0, 0, 0, 7, 8, -31, 83, 84
-};
-
-static const short yycheck[] = { 1,
- 3, 3, 3, 132, 3, 129, 4, 136, 8, 4,
- 90, 139, 14, 15, 16, 26, 27, 28, 29, 30,
- 31, 32, 37, 38, 39, 40, 41, 42, 43, 37,
- 38, 39, 40, 41, 42, 43, 37, 38, 39, 40,
- 41, 42, 43, 123, 17, 18, 19, 20, 21, 22,
- 23, 24, 25, 71, 72, 73, 74, 75, 76, 77,
- 33, 34, 35, 36, 133, 134, 135, 4, 3, 12,
- 4, 130, 3, 129, 4, 140, 8, 129, 135, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 3, 3, 3, 3, 3, 3, 134, 11, 129,
- 3, 3, 3, 130, 0, 11, 0, 129, 80, 80,
- 66, 65, 67, -1, -1, -1, -1, -1, -1, -1,
- -1, 38, -1, -1, -1, -1, 129, -1, -1, 131,
- -1, -1, -1, -1, -1, 137, 138, 139, 137, 138
-};
-/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
-#line 3 "/usr/lib/bison.simple"
-/* This file comes from bison-1.28. */
-
-/* Skeleton output parser for bison,
- Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/* As a special exception, when this file is copied by Bison into a
- Bison output file, you may use that output file without restriction.
- This special exception was added by the Free Software Foundation
- in version 1.24 of Bison. */
-
-/* This is the parser code that is written into each bison parser
- when the %semantic_parser declaration is not specified in the grammar.
- It was written by Richard Stallman by simplifying the hairy parser
- used when %semantic_parser is specified. */
-
-#ifndef YYSTACK_USE_ALLOCA
-#ifdef alloca
-#define YYSTACK_USE_ALLOCA
-#else /* alloca not defined */
-#ifdef __GNUC__
-#define YYSTACK_USE_ALLOCA
-#define alloca __builtin_alloca
-#else /* not GNU C. */
-#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
-#define YYSTACK_USE_ALLOCA
-#include <alloca.h>
-#else /* not sparc */
-/* We think this test detects Watcom and Microsoft C. */
-/* This used to test MSDOS, but that is a bad idea
- since that symbol is in the user namespace. */
-#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
-#if 0 /* No need for malloc.h, which pollutes the namespace;
- instead, just don't use alloca. */
-#include <malloc.h>
-#endif
-#else /* not MSDOS, or __TURBOC__ */
-#if defined(_AIX)
-/* I don't know what this was needed for, but it pollutes the namespace.
- So I turned it off. rms, 2 May 1997. */
-/* #include <malloc.h> */
- #pragma alloca
-#define YYSTACK_USE_ALLOCA
-#else /* not MSDOS, or __TURBOC__, or _AIX */
-#if 0
-#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
- and on HPUX 10. Eventually we can turn this on. */
-#define YYSTACK_USE_ALLOCA
-#define alloca __builtin_alloca
-#endif /* __hpux */
-#endif
-#endif /* not _AIX */
-#endif /* not MSDOS, or __TURBOC__ */
-#endif /* not sparc */
-#endif /* not GNU C */
-#endif /* alloca not defined */
-#endif /* YYSTACK_USE_ALLOCA not defined */
-
-#ifdef YYSTACK_USE_ALLOCA
-#define YYSTACK_ALLOC alloca
-#else
-#define YYSTACK_ALLOC malloc
-#endif
-
-/* Note: there must be only one dollar sign in this file.
- It is replaced by the list of actions, each action
- as one case of the switch. */
-
-#define yyerrok (yyerrstatus = 0)
-#define yyclearin (yychar = YYEMPTY)
-#define YYEMPTY -2
-#define YYEOF 0
-#define YYACCEPT goto yyacceptlab
-#define YYABORT goto yyabortlab
-#define YYERROR goto yyerrlab1
-/* Like YYERROR except do call yyerror.
- This remains here temporarily to ease the
- transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
-#define YYFAIL goto yyerrlab
-#define YYRECOVERING() (!!yyerrstatus)
-#define YYBACKUP(token, value) \
-do \
- if (yychar == YYEMPTY && yylen == 1) \
- { yychar = (token), yylval = (value); \
- yychar1 = YYTRANSLATE (yychar); \
- YYPOPSTACK; \
- goto yybackup; \
- } \
- else \
- { yyerror ("syntax error: cannot back up"); YYERROR; } \
-while (0)
-
-#define YYTERROR 1
-#define YYERRCODE 256
-
-#ifndef YYPURE
-#define YYLEX yylex()
-#endif
-
-#ifdef YYPURE
-#ifdef YYLSP_NEEDED
-#ifdef YYLEX_PARAM
-#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
-#else
-#define YYLEX yylex(&yylval, &yylloc)
-#endif
-#else /* not YYLSP_NEEDED */
-#ifdef YYLEX_PARAM
-#define YYLEX yylex(&yylval, YYLEX_PARAM)
-#else
-#define YYLEX yylex(&yylval)
-#endif
-#endif /* not YYLSP_NEEDED */
-#endif
-
-/* If nonreentrant, generate the variables here */
-
-#ifndef YYPURE
-
-int yychar; /* the lookahead symbol */
-YYSTYPE yylval; /* the semantic value of the */
- /* lookahead symbol */
-
-#ifdef YYLSP_NEEDED
-YYLTYPE yylloc; /* location data for the lookahead */
- /* symbol */
-#endif
-
-int