mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 23:37:15 +00:00
See ChangeLog
Monotone-Parent: 1e01e7055612c8aa2f2c0e9151035ef348604b8e Monotone-Revision: ab8b4a7a66ffdb6688f466f2cc301caf1fc40a66 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-24T19:13:02 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
38af9bc66b
commit
3d2f08f678
25 files changed
+1
-1485
No files matched your search
@@ -1,19 +0,0 @@
|
||||
TODO: improve text
|
||||
|
||||
Objective-C classes for representing iCalendar entities as objects. To
|
||||
actually parse iCalendar entities the sope-xml versitSaxDriver is used.
|
||||
Note that this library doesn't make any use of the now deprecated libical but
|
||||
rather relies on the SAX interface (SaxObjectDecoder is used).
|
||||
|
||||
Recurrences
|
||||
===========
|
||||
|
||||
Recurrences are modeled via iCalRecurrenceRules and an iCalRecurrenceCalculator
|
||||
which contains all the necessary logic according to RFC2445 to interpret
|
||||
iCalRecurrenceRules. The calculator needs a referrence date for the first
|
||||
instance of a recurrence which is usually provided by any of the repeatable
|
||||
entity objects (i.e. iCalEvent).
|
||||
|
||||
Please note that recurrences are work in progress and far from being
|
||||
complete/compliant with RFC2445. So far only the most simple cases are done
|
||||
properly.
|
||||
@@ -1,9 +0,0 @@
|
||||
sope-ical/samples
|
||||
|
||||
This directory contains sample programs for the sope-ical libraries.
|
||||
|
||||
Tools
|
||||
=====
|
||||
|
||||
ical2 - uses SaxObjectDecoder with NGiCal.xmap
|
||||
ical3 - uses iCalDataSource to run queries on iCal files
|
||||
@@ -1,8 +0,0 @@
|
||||
This folder contains unit tests for the NGiCal project.
|
||||
|
||||
It uses SEN:TE's OCUnit project which can be found at
|
||||
http://www.sente.ch/software/ocunit/
|
||||
|
||||
I used OCUnitRoot v38, later versions might work as well.
|
||||
|
||||
NOTE: This is currently provided in Xcode only.
|
||||
@@ -1,53 +0,0 @@
|
||||
Overview
|
||||
========
|
||||
|
||||
Two SaxObjC drivers for iCalendar and vCard files, initially written by
|
||||
Max Berger <max@berger.name>.
|
||||
|
||||
VSiCalSaxDriver basically maps iCal 2.0 components, properties and parameters
|
||||
to the XML events according to the xCal 02 draft (iCal 3.0).
|
||||
|
||||
Having a SAX driver for iCal might seem strange and a bit inefficient at
|
||||
first look, but the time saved for the application-level developer is
|
||||
significant, since he only needs to learn (or usually already knows) the
|
||||
SAX or DOM APIs and any XML API based on them (like XPATH, XQUERY).
|
||||
|
||||
The VSiCalSaxDriver is aimed to be a replacement for the older (but better
|
||||
tested as of now) iCalSaxDriver. However, the iCalSaxDriver depends on the
|
||||
abandoned and hardly maintainable libical, which itself is an additional
|
||||
dependency to the OGo project and thus a welcome candidate for replacement.
|
||||
|
||||
The VSSaxDriver attempts to follow RFC2445 closely, however the parser is
|
||||
written to be robust when it comes to parsing real life content. Currently,
|
||||
unescaping is done for more characters then it MUST according to RFC2445, but
|
||||
this is probably not a bad idea - wrongly escaped characters will still be
|
||||
parsed according to the original intent. Also, the VSSaxDriver supports Unix
|
||||
style terminated lines/folding.
|
||||
|
||||
ToDo
|
||||
====
|
||||
|
||||
- improve error handling (SaxExceptions !)
|
||||
- make the driver fully xCal compliant
|
||||
|
||||
|
||||
Defaults
|
||||
========
|
||||
|
||||
Name Type Description
|
||||
------------------------------------------------------------------------------
|
||||
VSSaxDriverDebugEnabled BOOL YES -> log some debug information
|
||||
via NSLog
|
||||
|
||||
|
||||
Examples
|
||||
========
|
||||
|
||||
To "convert" an iCalendar to xCal (the test programs print out some XML):
|
||||
|
||||
saxxml -XMLReader VSiCalSaxDriver test1.ics
|
||||
domxml -XMLReader VSiCalSaxDriver -xml test1.ics
|
||||
|
||||
To "convert" an iCalendar to PYX:
|
||||
|
||||
domxml -XMLReader VSiCalSaxDriver -pyx test1.ics
|
||||
Reference in new issue
Block a user