Commit Graph

9 Commits

Author SHA1 Message Date
Patrick Ohly 6f729542e6 license: changed to LGPL v2.1
This relicensing is possible despite the Funambol Contributor
Agreement (included as 'doc/Sync4jContribution.pdf') under which the
0.7 release was contributed to Funambol because among the broad range
of rights granted back by that agreement is the right to sublicense.

Furthermore, Patrick Ohly is still the copyright holder because
that moral right is not transferable in Germany.
2009-03-25 14:42:43 +01:00
Patrick Ohly 0cb88c7cd1 SF #2095433: regression in 0.8: one-way sync of virtual birthday calendar
"refresh-from-client" works again for the birthday calendar.

In contrast to previous releases SyncEvolution now does some sanity checks
that the sync mode is right. For all modes other than "refresh-from-server"
and "slow" the following error is reported:

22:39:34 [INFO] ical20: sync mode is 'refresh from server'
22:39:34 [ERROR] ical20: could not read revision identifier for item pas-id-43C0ED3900000001-anniversary-rid: only refresh-from-client synchronization is supported

"slow" syncs may or may not work, depending on whether the server sends
back updates. Better don't use it. If the server sends back items during a
slow sync, then the error message is a bit cryptic:

22:47:02 [INFO] ical20: eg2fVHx6bZ6VF2MR5TgdHQ==: add
22:47:02 [INFO] ical20: eg2fVHx6bZ6VF2MR5TgdHQ==: exists already, updating instead
22:47:02 [ERROR] ical20: updating item eg2fVHx6bZ6VF2MR5TgdHQ==: Unknown error


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@752 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-09 20:51:56 +00:00
Patrick Ohly 5fa63c04a6 license and copyright clarification
The source was always meant to be GPL v2 or later, but wasn't marked
consistently as such. Copyright belongs to Patrick Ohly, with all
code up to 0.7 also owned by Funambol due to a copyright transfer
at that time.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@739 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-26 17:45:28 +00:00
Patrick Ohly 14a59ea744 speed up testing by reducing the default delay in Evolution calendar/task/text sync sources
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@737 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-26 16:15:35 +00:00
Patrick Ohly 2cba0334de EvolutionSyncSource::sleepSinceModification(): delay after a sync only if needed, must be requested by sources
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@724 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 07:39:08 +00:00
Patrick Ohly 251ed24a06 preserve child events when updating parent without relying on CALOBJ_MOD_THIS
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@723 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 07:38:14 +00:00
Patrick Ohly d4cd8002ce calendar synchronization with Evolution Exchange Connector works again
CALOBJ_MOD_THIS for parent items caused problems. A *long* delay after
a sync was needed, otherwise the Connector returned garbage during
further accesses (e.g., old child event instead of the updated one).

Some code cleanup (creating ItemID from LUID).

Temporarily forked the client test (introduced update items for child/parent,
relaxed semantic selectable at runtime).


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@719 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 07:34:17 +00:00
Patrick Ohly 47fc513597 cleaned up error reporting: errno now passed to throwError
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@716 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-09 10:26:52 +00:00
Patrick Ohly 5e8fa6eb94 major restructuring of the file layout and autotools build
This change makes it possible to add a new backend without
changing any of the core files. It also gets rid of some
hacks (like -export-dynamic for the binary) by putting all
core SyncEvolution code into a library.

The transition is not quite complete: there are still
some lists of existing backends, which will be removed
soon. EvolutionSmartPtr.h and EvolutionSyncSource depend
on Evolution/GNOME libs, which forces all backends to
use the right -I flags.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@684 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-29 21:06:11 +00:00
Renamed from src/EvolutionCalendarSource.cpp (Browse further)