From 0d90c71a6a7960e6220958883885b8486eb2d43a Mon Sep 17 00:00:00 2001
From: JP Rosevear <jpr@src.gnome.org>
Date: Tue, 17 Apr 2001 17:23:25 +0000
Subject: Initial revision

svn path=/trunk/; revision=9413
---
 libical/design-data/Makefile        | 192 ++++++++++++++++++++++++++++++++++++
 libical/design-data/parameters.csv  |  24 +++++
 libical/design-data/properties.csv  |  66 +++++++++++++
 libical/design-data/value-types.csv |  31 ++++++
 4 files changed, 313 insertions(+)
 create mode 100644 libical/design-data/Makefile
 create mode 100644 libical/design-data/parameters.csv
 create mode 100644 libical/design-data/properties.csv
 create mode 100644 libical/design-data/value-types.csv

(limited to 'libical/design-data')

diff --git a/libical/design-data/Makefile b/libical/design-data/Makefile
new file mode 100644
index 0000000000..4d6f199d5b
--- /dev/null
+++ b/libical/design-data/Makefile
@@ -0,0 +1,192 @@
+# Generated automatically from Makefile.in by configure.
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SHELL = /bin/sh
+
+srcdir = .
+top_srcdir = ..
+prefix = /opt/gnome
+exec_prefix = ${prefix}
+
+bindir = ${exec_prefix}/bin
+sbindir = ${exec_prefix}/sbin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${prefix}/share
+sysconfdir = ${prefix}/etc
+sharedstatedir = ${prefix}/com
+localstatedir = ${prefix}/var
+libdir = ${exec_prefix}/lib
+infodir = ${prefix}/info
+mandir = ${prefix}/man
+includedir = ${prefix}/include
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/libical
+pkglibdir = $(libdir)/libical
+pkgincludedir = $(includedir)/libical
+
+top_builddir = ..
+
+ACLOCAL = aclocal
+AUTOCONF = autoconf
+AUTOMAKE = automake
+AUTOHEADER = autoheader
+
+INSTALL = /usr/bin/install -c
+INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_SCRIPT = ${INSTALL_PROGRAM}
+transform = s,x,x,
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = i686-pc-linux-gnu
+host_triplet = i686-pc-linux-gnu
+AR = ar
+AS = @AS@
+CC = gcc
+DLLTOOL = @DLLTOOL@
+LEX = flex
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+MAINT = #
+MAKEINFO = makeinfo
+OBJDUMP = @OBJDUMP@
+PACKAGE = libical
+PERL = perl
+PY_CFLAGS = -I/usr/include/python1.5
+PY_EXTRA_LIBS =        		-lieee -ldl  -lpthread
+PY_LIBS = python1.5
+PY_LIB_LOC = -L/usr/lib/python1.5/config
+RANLIB = ranlib
+VERSION = 0.23a
+YACC = bison -y
+python_val = true
+
+EXTRA_DIST =   properties.csv  parameters.csv  restrictions.csv  status.txt  value-types.csv
+
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../config.h
+CONFIG_CLEAN_FILES = 
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = gtar
+GZIP_ENV = --best
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu design-data/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+tags: TAGS
+TAGS:
+
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = design-data
+
+distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu design-data/Makefile
+	@for file in $(DISTFILES); do \
+	  d=$(srcdir); \
+	  if test -d $$d/$$file; then \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
+	  fi; \
+	done
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am:
+install-exec: install-exec-am
+
+install-data-am:
+install-data: install-data-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am:
+uninstall: uninstall-am
+all-am: Makefile
+all-redirect: all-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-generic clean-am
+	-rm -f libtool
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-generic distclean-am
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: tags distdir info-am info dvi-am dvi check check-am \
+installcheck-am installcheck install-exec-am install-exec \
+install-data-am install-data install-am install uninstall-am uninstall \
+all-redirect all-am all installdirs mostlyclean-generic \
+distclean-generic clean-generic maintainer-clean-generic clean \
+mostlyclean distclean maintainer-clean
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/libical/design-data/parameters.csv b/libical/design-data/parameters.csv
new file mode 100644
index 0000000000..c71eb115eb
--- /dev/null
+++ b/libical/design-data/parameters.csv
@@ -0,0 +1,24 @@
+"#Name ","C Type","Enumeration Values"
+"ALTREP","const char*",
+"CN","const char*",
+"CUTYPE","icalparameter_cutype","INDIVIDUAL;GROUP;RESOURCE;ROOM;UNKNOWN"
+"DELEGATED-FROM","const char*",
+"DELEGATED-TO","const char*",
+"DIR","const char*",
+"ENCODING","icalparameter_encoding","8BIT;BASE64"
+"FBTYPE","icalparameter_fbtype","FREE;BUSY;BUSYUNAVAILABLE;BUSYTENTATIVE"
+"FMTTYPE","const char*",
+"LANGUAGE","const char*",
+"MEMBER","const char*",
+"PARTSTAT","icalparameter_partstat","NEEDS-ACTION;ACCEPTED;DECLINED;TENTATIVE;DELEGATED;COMPLETED;INPROCESS"
+"RANGE","icalparameter_range","THISANDPRIOR;THISANDFUTURE"
+"RELATED","icalparameter_related","START;END "
+"RELTYPE","icalparameter_reltype","PARENT;CHILD;SIBLING"
+"ROLE","icalparameter_role","CHAIR;REQ-PARTICIPANT;OPT-PARTICIPANT;NON-PARTICIPANT"
+"RSVP","icalparameter_rsvp","TRUE;FALSE"
+"SENT-BY","const char*",
+"TZID","const char*",
+"VALUE","icalparameter_value","BINARY;BOOLEAN;DATE;DURATION;FLOAT;INTEGER;PERIOD;RECUR;TEXT;TIME;URI;ERROR;DATE-TIME;UTC-OFFSET;CAL-ADDRESS"
+"X","const char*",
+"X-LIC-ERRORTYPE","icalparameter_xlicerrortype","COMPONENT-PARSE-ERROR;PROPERTY-PARSE-ERROR;PARAMETER-NAME-PARSE-ERROR;PARAMETER-VALUE-PARSE-ERROR;VALUE-PARSE-ERROR;INVALID-ITIP;UNKNOWN-VCAL-PROP-ERROR;MIME-PARSE-ERROR"
+"X-LIC-COMPARETYPE","icalparameter_xliccomparetype","EQUAL;NOTEQUAL;LESS;GREATER;LESSEQUAL;GREATEREQUAL;REGEX"
diff --git a/libical/design-data/properties.csv b/libical/design-data/properties.csv
new file mode 100644
index 0000000000..dca6810d8f
--- /dev/null
+++ b/libical/design-data/properties.csv
@@ -0,0 +1,66 @@
+,,
+"#Property Name","libical Value type","iCalendar default value"
+"ACTION","ACTION","ACTION"
+"ATTACH","ATTACH","URI"
+"ATTENDEE","CAL-ADDRESS","CAL-ADDRESS"
+"CALSCALE","TEXT","TEXT"
+"CATEGORIES","TEXT","TEXT"
+"CLASS","TEXT","TEXT"
+"COMMENT","TEXT","TEXT"
+"COMPLETED","DATE-TIME","DATE-TIME"
+"CONTACT","TEXT","TEXT"
+"CREATED","DATE-TIME","DATE-TIME"
+"DESCRIPTION","TEXT","TEXT"
+"DTEND","DATE-TIME","DATE-TIME"
+"DTSTAMP","DATE-TIME","DATE-TIME"
+"DTSTART","DATE-TIME","DATE-TIME"
+"DUE","DATE-TIME","DATE-TIME"
+"DURATION","DURATION","DURATION"
+"EXDATE","DATE-TIME","DATE-TIME"
+"EXRULE","RECUR","RECUR"
+"FREEBUSY","PERIOD","PERIOD"
+"GEO","GEO","GEO"
+"LAST-MODIFIED","DATE-TIME","DATE-TIME"
+"LOCATION","TEXT","TEXT"
+"METHOD","METHOD","METHOD"
+"ORGANIZER","CAL-ADDRESS","CAL-ADDRESS"
+"PERCENT-COMPLETE","INTEGER","INTEGER"
+"PRIORITY","INTEGER","INTEGER"
+"PRODID","TEXT","TEXT"
+"RDATE","DATE-TIME-PERIOD","DATE-TIME"
+"RECURRENCE-ID","DATE-TIME","DATE-TIME"
+"RELATED-TO","TEXT","TEXT"
+"REPEAT","INTEGER","INTEGER"
+"REQUEST-STATUS","STRING","STRING"
+"RESOURCES","TEXT","TEXT"
+"RRULE","RECUR","RECUR"
+"SEQUENCE","INTEGER","INTEGER"
+"STATUS","STATUS","STATUS"
+"SUMMARY","TEXT","TEXT"
+"TRANSP","TEXT","TEXT"
+"TRIGGER","TRIGGER","DURATION"
+"TZID","TEXT","TEXT"
+"TZNAME","TEXT","TEXT"
+"TZOFFSETFROM","UTC-OFFSET","UTC-OFFSET"
+"TZOFFSETTO","UTC-OFFSET","UTC-OFFSET"
+"TZURL","URI","URI"
+"UID","TEXT","TEXT"
+"URL","URI","URI"
+"VERSION","TEXT","TEXT"
+"X","TEXT","TEXT"
+"SCOPE","TEXT","TEXT"
+"MAXRESULTS","INTEGER","INTEGER"
+"MAXRESULTSSIZE","INTEGER","INTEGER"
+"QUERY","QUERY","QUERY"
+"QUERYNAME","TEXT","TEXT"
+"TARGET","CAL-ADDRESS","CAL-ADDRESS"
+"X-LIC-ERROR","TEXT","TEXT"
+"X-LIC-CLUSTERCOUNT","STRING","STRING"
+"X-LIC-MIMECONTENTTYPE","STRING","STRING"
+"X-LIC-MIMECHARSET","STRING","STRING"
+"X-LIC-MIMEENCODING","STRING","STRING"
+"X-LIC-MIMEOPTINFO","STRING","STRING"
+"X-LIC-MIMECID","STRING","STRING"
+"X-LIC-MIMEFILENAME","STRING","STRING"
+"ANY","NO","NO"
+"NO","NO","NO"
diff --git a/libical/design-data/value-types.csv b/libical/design-data/value-types.csv
new file mode 100644
index 0000000000..cbe6bd9969
--- /dev/null
+++ b/libical/design-data/value-types.csv
@@ -0,0 +1,31 @@
+"#Name","C type& gen flag","Python","Component Values","Enum Values"
+"BINARY","(a)const char*","file","unitary",
+"BOOLEAN","(a)int","integer","unitary",
+"CAL-ADDRESS","(a)const char*","string","unitary",
+"DATE","(a)struct icaltimetype","Time","unitary",
+"DATE-TIME","(a)struct icaltimetype","Time","unitary",
+"DURATION","(a)struct icaldurationtype","Duration","unitary",
+"FLOAT","(a)float","float","unitary",
+"INTEGER","(a)int","integer","unitary",
+"PERIOD","(a)struct icalperiodtype","Period","unitary",
+"RECUR","(m)struct icalrecurrencetype","RecurrenceSet","unitary",
+"TEXT","(a)const char*","string","unitary",
+"TIME","(a)struct icaltimetype","Time","unitary",
+"URI","(a)const char*","string","unitary",
+"UTC-OFFSET","(a)int","integer","unitary",
+"QUERY","(a)const char*","string","unitary",
+"#Non-standard multi-valued types",,,,
+"ATTACH","(a)struct icalattachtype","none","URI;BINARY",
+"DATE-TIME-DATE","(a)struct icaltimetype","none","DATE-TIME;DATE",
+"DATE-TIME-PERIOD","(m)struct icaldatetimeperiodtype","none","DATE-TIME;PERIOD",
+"TRIGGER","(m)struct icaltriggertype","string","DURATION;DATE-TIME",
+"#Non-standard property enumeration types",,,,
+"METHOD","(a)enum icalproperty_method","string","unitary","PUBLISH;REQUEST;REPLY;ADD;CANCEL;REFRESH;COUNTER;DECLINECOUNTER;CREATE;READ;RESPONSE;MOVE;MODIFY;GENERATEUID;DELETE"
+"ACTION","(a)enum icalproperty_action","string","unitary","AUDIO;DISPLAY;EMAIL;PROCEDURE"
+"STATUS","(a)enum icalproperty_status","string","unitary","TENTATIVE;CONFIRMED;COMPLETED;NEEDS-ACTION;CANCELLED;IN-PROCESS;DRAFT;FINAL"
+"TRANSP","(a)enum icalproperty_transp","string","unitary","OPAQUE;TRANSPARENT"
+"CLASS","(a)enum icalproperty_class","string","unitary","PUBLIC;PRIVATE;CONFIDENTIAL"
+"#Other non-standard",,,,
+"GEO","(a)struct icalgeotype","tuple","unitary",
+"STRING","(a)const char*","string","unitary",
+"X","(m)const char*","string","unitary",
-- 
cgit