[sync] patches

Karsten Fourmont fourmont at gmx.de
Tue Jul 13 04:45:41 PDT 2004


Hi,

weekend weather in Munich has been sufficiently bad to get some work on SyncML
done.

I straightened out various api issues. By now import/export of notes, todos and
events should work with all the data fields and proper charset enconding.

Still missing are:

-proper handling of alarms and recurring events.
-vcard adresses (turba)


Hopefully these patches, together with Chuck's latest syncml/RPC patch ("Use
output buffering to make sure that no errors get sent to the client during RPC
operations") makes the replication more stable.

Here are some notes to the patches for the cvs commit logs.

iCalendar patch:

- handle quoted-printable and charset options on import and export
- handle strange quoted-printable line-folding
- new helper function setParameter
- new class Horde_iCalendar_vnote
  (in attached file vnote.php, goes to framework\iCalendar\iCalendar)

kronolith/nag/mnemo patches:

new functions toiCalendar and fromiCalendar for import/export
using the iCalendar package.
As kronolith already has a "toiCalendar" function (returns an hash array),
the new function is called "tovEvent" there.

api import/replace/export now all use the iCalendar package and no longer
Horde::Data

_export api functions now also accepts an array with options as
contentType parameter. This allows for mor fine grained control
of the resulting output. (charset, encoding)


SyncML patch:

- support for new quoted-printable handling (allows multiline texts)
- client REPLACE for items not in horde database now results in an ADD



More information about the sync mailing list