Commit Graph

745 Commits

Author SHA1 Message Date
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
Patrick Ohly 05222fde44 corrected outdated config path
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@703 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:23:02 +00:00
Patrick Ohly c4c3b72430 only include integration tests in anonymous namespace because CPPUnit unit tests become ugly otherwise
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@702 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 20:06:13 +00:00
Patrick Ohly 76491facab added file backend
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@701 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 19:51:53 +00:00
Patrick Ohly cc4cdb6c56 added EvolutionSyncSource::logItemUtil(): extracts key properties from raw data and logs them
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@700 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 19:50:44 +00:00
Patrick Ohly d1b881b490 more dependency fixes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@699 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 19:48:38 +00:00
Patrick Ohly 3fb8a0fb0d added synopsis for --status
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@698 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 13:21:04 +00:00
Patrick Ohly c9c8967950 use anonymous namespaces to avoid name conflicts between classes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@697 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 13:20:06 +00:00
Patrick Ohly 85730b845f improved command line and its documented
More explicit description of the different operations.
Added --run|-r switch: if properties are on the command
line, then an operation must be specified explicitly,
with --run standing for a sync run. Otherwise a
sync might accidentally be done when a configuration
change was intented, but the --configure switch was
forgotten.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@696 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 13:00:51 +00:00
Patrick Ohly 6b6fb65fda minor fixes for recent introduction of libsyncevolution
syncevolution and client-test were not rebuilt when lib changed.
Unit tests in lib were not pulled into client-test.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@695 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 12:58:30 +00:00
Patrick Ohly 218646af41 re-added 'test' target (alias for client-test now)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@694 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-03 12:35:00 +00:00
Patrick Ohly 9a7fca01b4 cleaned up Doxygen documentation + included Funambol API
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@693 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 17:48:17 +00:00
Patrick Ohly d08d1f7e88 added automatic registration of test
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@692 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 15:46:23 +00:00
Patrick Ohly 55e82b4101 client-test now depends on libsyncevolution.la and backends, i.e. 'all'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@691 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 12:51:11 +00:00
Patrick Ohly a248d0cc1d fixed inclusion of moved boost in distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@690 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 07:55:51 +00:00
Patrick Ohly c07102e264 moved boost headers to src/core because that has to be in the include path anyway
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@689 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-31 19:57:57 +00:00
Patrick Ohly f9e0745e72 unit tests in Register.cpp files not active without --enable-unit-tests
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@688 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 20:31:27 +00:00
Patrick Ohly 9a9a75dbc2 added building of html source code documentation with Doxygen
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@687 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 20:11:12 +00:00
Patrick Ohly d1666c5acc unmodified Doxyfile template as created by doxygen 1.5.3
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@686 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 20:10:17 +00:00
Patrick Ohly 63e14ddc9c file layout restructuring, take II
Added missing files, finished automatic registration
of backends, Emacs mode for renamed files.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@685 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 17:30:10 +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
Patrick Ohly 8567833159 print summary of enabled backends
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@683 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-28 20:48:26 +00:00
Patrick Ohly 5ec54f878a another rename sync4j->funambol
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@682 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-23 20:59:22 +00:00
Patrick Ohly 3b24774ac1 adapted to renaming of libsync4j -> libfunambol; also renamed variables and configure options, but old options kept as aliases
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@681 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-21 19:12:32 +00:00
Patrick Ohly 19f549be04 added further explanations to --source-property
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@680 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-21 16:55:00 +00:00
Patrick Ohly dc914f3d55 disabled special support for X-OSSO-CONTACT-STATE because the property no longer is returned properly by libebook (SF #1947050)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@679 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-21 16:53:49 +00:00
Patrick Ohly 30d0bcff45 fixed --refresh-from-server typo
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@677 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-14 18:41:41 +00:00
Patrick Ohly adb587aba9 added BINSUFFIX for Mac OS X
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@676 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-14 18:40:52 +00:00
Patrick Ohly c647c7211d added files required for 'make deb' to distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@675 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-14 18:40:22 +00:00
Patrick Ohly d22ce0ce84 # updated
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@673 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-12 20:03:04 +00:00
Patrick Ohly 90cdeececc added comment regarding myFUNAMBOL sc-pim- prefix to deviceId
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@672 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-12 20:02:09 +00:00
Patrick Ohly c1761c27f6 fixed creating and testing of default configs
ScheduleWorld must explicitly select text/vcard for uri3,
the others do not (and should not) specify it explicitly
and thus use text/x-vcard by default.

The renaming of uuid- to sc-pim- broke regression testing; fixed.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@671 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-12 19:45:50 +00:00
Patrick Ohly b77808a909 Mac OS X client now uses the new TrackingSyncSource
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@670 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-12 19:31:03 +00:00