Commit graph

727 commits

Author SHA1 Message Date
Patrick Ohly 97c326c5f3 fixed git checkout with old git: it doesn't add 'origin' prefix
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@757 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-11 08:25:45 +00:00
Patrick Ohly 2df2728f74 --enable-evolution-compatibility: run with reduced functionality when functions are missing
Availability is logged in the "syncevolution --version" output and
at the start of the log.

Also log device ID.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@756 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-10 21:57:55 +00:00
Patrick Ohly dec941318f fixed unversioned replaces/conflicts in package
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@755 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-10 20:45:35 +00:00
Patrick Ohly 034057a819 avoid hyphen in version number
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@754 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-10 20:44:51 +00:00
Patrick Ohly 84b4df9f5a fixed missing git checkout in configure
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@753 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-10 18:51:40 +00: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 777d91b915 build one deb which replaces the zoo of evolution-<evover> packages
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@751 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-09 19:32:17 +00:00
Patrick Ohly b282c0ec51 fixed typo (user instead of username)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@750 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-09 19:31:01 +00:00
Patrick Ohly fe34d29b5f fixed checking out origin branch and updating from git
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@749 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-09 15:55:11 +00:00
Patrick Ohly dbec97027d use Funambol C++ client library from github
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@748 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-09 08:46:28 +00:00
Patrick Ohly 3d5749df17 hard dependencies on specific Evolution libs can be avoided with --enable-evolution-compatibility
This works by mapping all EDS symbols to pointers initialized via dlopen/dlsym.
Avoids version checks as intented, but might lead to runtime crashes if the ABI
of the required symbols really changes...

Currently the binaries refuses to start when any of the EDS libs is not found.
Need to make it work again so that libecal and libebook are optional (Maemo!).


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@747 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-08 21:30:06 +00:00
Patrick Ohly d93c67c2de checking out client library is optional now (done automatically by newer SyncEvolution configure script)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@746 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-08 20:53:58 +00:00
Patrick Ohly 33ded7ea71 fixed checking out from SVN
- checking out deleted tag failed (must use @rev suffix?!)
- default revision should only apply when using default source


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@745 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-09-20 08:25:39 +00:00
Patrick Ohly 894c61951e improved handling of Funambol client library source
configure checks out the right source automatically. Subversion
and git are supported. When given an existing directory with sources,
out-of-tree compilation is used instead of making a copy first.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@744 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-09-14 17:52:08 +00:00
Patrick Ohly 57c7976a96 use libcurl on all platforms
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@742 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-29 21:27:27 +00:00
Patrick Ohly ef6545eb28 version number must go into configure-pre.in
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@741 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-29 19:23:54 +00:00
Patrick Ohly e9922b617c version 0.8
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@740 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-29 19:12:02 +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 36e61873a6 new suppressions for Evolution libs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@738 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-26 16:16:21 +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 3b88d491c8 enable those linked item tests that 'dumb' sources can pass
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@735 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-18 20:31:37 +00:00
Patrick Ohly 1ece885e8c libs which might be in non-standard locations (glib, evolution) must come before libs in default locations (curl), otherwise we might incorrectly pick up glib from the default location
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@734 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-18 20:30:40 +00:00
Patrick Ohly 443b06d113 0.8 beta 3
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@732 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 09:36:25 +00:00
Patrick Ohly f1a3198058 fixed libcurl link error with --enable-shared
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@731 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 09:26:34 +00:00
Patrick Ohly 46d72adbe0 avoid libsqlite dependency if it is not needed
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@730 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 09:26:01 +00:00
Patrick Ohly 319a873b57 removed obsolete LIBDBUS hack
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@729 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 08:50:42 +00:00
Patrick Ohly 878bac6f9b removed unused BACKEND_REGISTRIES substitution from regenerated configure.in: it is already part of src/Makefile.am
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@728 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 08:45:32 +00:00
Patrick Ohly bb23c15f26 only invoke client-test once; suppress known SW 'new client' problem; test 'text' source with Funambol
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@727 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 08:19:45 +00:00
Patrick Ohly f8ba6fcf71 previous commit disabled 'all' target - use BUILT_SOURCES instead
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@726 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 10:35:37 +00:00
Patrick Ohly 4903ca6918 fixed issue with inconsistent use of ClientTest.h after copying it to SyncEvolution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@725 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 10:02:41 +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 276eccf910 testLinkedItemsInsertBothUpdateParent: updating parent may also update child
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@722 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 07:37:25 +00:00
Patrick Ohly 4b55adf5e9 evo user/passwd must always be set for Client::Sync
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@721 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 07:36:55 +00:00
Patrick Ohly 9d97aaa299 better comment for returnOnlyChildren in removeEvents: parent is always removed
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@720 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 07:35:35 +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 58a96aa60d copied r_v70ga from C++ client lib because some changes will be necessary
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@718 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-16 07:31:55 +00:00
Patrick Ohly c17cc5f863 enabled 'memo' source in Funambol template
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@717 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-12 18:28:36 +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 466c5ead94 CLIENT_TEST_EVOLUTION_USER/PASSWORD and warning about init order
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@715 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-09 09:06:09 +00:00
Patrick Ohly 9a1c64df48 added CLIENT_TEST_EVOLUTION_USER/PASSWORD so that backends which require authentication can now also be tested
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@714 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-09 08:57:30 +00:00
Patrick Ohly 545757d700 added missing imemo20.ics test cases to build
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@713 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-05 20:11:11 +00:00
Patrick Ohly f3e7d92108 disable linked item testing: file backend does not support the special semantic
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@712 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-05 20:09:49 +00:00
Patrick Ohly 18412e544d include Doxyfile in distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@710 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-04 19:06:28 +00:00
Patrick Ohly aaf1906edc updated
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@709 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:56:55 +00:00
Patrick Ohly 70f27afc41 avoid redundant ': failure' in error situations where the error description is already included
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@708 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:56:34 +00:00
Patrick Ohly 38ca714cf2 release 0.8 beta 2
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@707 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:49:58 +00:00
Patrick Ohly dc45d2680b --sync implies --run, to be compatible with old command lines
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@706 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:48:45 +00:00
Patrick Ohly 980af0a3b3 better explanation what the classes do
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@705 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:26:33 +00:00
Patrick Ohly 2bc796ef09 added documentation for client-test env variables and usage
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@704 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:26:06 +00:00