Commit Graph

745 Commits

Author SHA1 Message Date
Patrick Ohly d0e219eb22 added dependencies on self-compiled client library (client-test and synceveoluition were not always recompiled)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@567 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-06 10:07:04 +00:00
Patrick Ohly b77aa872dd check config before open() and beginSync() to detect errors when it is still safe (change tracking not modified yet; exceptions handled gracefully
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@566 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-05 12:09:44 +00:00
Patrick Ohly 16078d34ec allow temporary configuration in memory which is not tied to a persistent configuration
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@565 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-05 12:08:30 +00:00
Patrick Ohly 503cc65190 return code of sync got lost
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@564 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-05 12:04:53 +00:00
Patrick Ohly 20048a5b13 added several options for SSL connections
SSLServerCertificates = non-standard path to server certificates
SSLVerifyServer = check server certificate?
SSLVerifyHost = check server host name?


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@563 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-05 09:17:58 +00:00
Patrick Ohly 62169738fc - all passwords can be specified as env variables (${foo}) or read from stdin (-)
- fixed config access in sync sources (broke during rewrite)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@562 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-03 20:01:56 +00:00
Patrick Ohly b2e6b25507 added missing newline in error message
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@561 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-01 19:44:12 +00:00
Patrick Ohly 8335a67b2a --properties not implemented yet
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@560 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 22:17:07 +00:00
Patrick Ohly 8b005bf63e default values are commmented out in .ini files; some important ones are always set normally
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@559 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 21:50:51 +00:00
Patrick Ohly b6e4f69511 simplified configuration
- deviceId is at the end of the config now because it hardly ever has to be set
- evolutionsource can be left unset in most cases: the first Evolution database is
  the default
- mark default data source when listing them


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@558 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 19:08:19 +00:00
Patrick Ohly b79269259b cleaned up comments on properties
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@557 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 18:39:15 +00:00
Patrick Ohly b3b458fc3a deviceId is now a pseudo UUID in new configurations
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@556 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 18:02:32 +00:00
Patrick Ohly b8df23a314 added testing of --configure on old-style config
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@555 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 16:13:08 +00:00
Patrick Ohly b6dc093575 added testing of source listing and migration, minor fixes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@554 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 15:15:00 +00:00
Patrick Ohly 05d78bd3ff added testing of configuring existing config; minor fixes (case sensitivity in filter, modifying only selected sources)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@553 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 13:41:56 +00:00
Patrick Ohly ceae511007 testing of/fixed creating config with sources specified; improved white space handling in parameters
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@552 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 13:11:45 +00:00
Patrick Ohly c7f0e388e8 added testing of --print-config, fixed some of the error handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@551 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 11:43:36 +00:00
Patrick Ohly 49f09405e1 added more Boost header files (required by algorithm::string)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@550 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 11:08:15 +00:00
Patrick Ohly 93b5702b13 added testing of --sync property storing
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@549 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-30 09:02:07 +00:00
Patrick Ohly b46e154524 test additional aspects of --template and --print-servers
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@548 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-29 17:26:23 +00:00
Patrick Ohly 4df1de7eed added --template testing
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@547 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-29 17:04:26 +00:00
Patrick Ohly caa81cc6fa fixed default Funambol config (vCard 2.1, memo sync/URI mixup)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@546 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-29 17:04:14 +00:00
Patrick Ohly bf29591554 added missing 'syncevolution' subdir when XDG_CONFIG_HOME is set
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@545 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-29 17:03:11 +00:00
Patrick Ohly 02573d19a4 using boost::algorithm::string is okay from now on
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@544 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-29 15:41:11 +00:00
Patrick Ohly 6ec8f3e5c7 added testing of config creation, fixed setting of default values
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@543 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-29 14:16:34 +00:00
Patrick Ohly abd61e329f infrastructure for config tree testing: scanFiles/createFiles
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@542 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-28 22:32:00 +00:00
Patrick Ohly 452ff34c74 moved utility code into separate file: directory iteration, rm -r, mkdir -p
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@541 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-28 22:31:21 +00:00
Patrick Ohly b16a4b3546 cleaned up test registration
- client-test no longer instantiates classes directly and
  therefore doesn't need to know the class definitions
- tests now work with and without --enable-shared;
  with --enable-shared LD_LIBRARY_PATH must be set to .libs
- added instantiation tests for the various source type strings,
  fixed some problems found by that


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@540 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-25 21:54:05 +00:00
Patrick Ohly c9927c1f5c recreated Evolution suppressions after fixing some leaks caused by SyncEvolution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@539 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-25 19:53:50 +00:00
Patrick Ohly 723823adc4 fixed instantiating EvolutionSyncSource under unique name
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@538 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-24 22:06:13 +00:00
Patrick Ohly 415aa45e37 fixed compiler warnings and unit test of EvolutionContactSource
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@537 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-24 21:42:47 +00:00
Patrick Ohly 173f7f0097 added SYNCEVOLUTION_CXXFLAGS: use it to set flags for SyncEvolution source files
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@536 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-24 21:41:20 +00:00
Patrick Ohly d974c6d9f8 re-added "testclean" target: removes files created during testing
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@535 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-24 18:36:24 +00:00
Patrick Ohly 7dbda8bcfd fix for the cleanup fix: client-api.build must be removed by distclean, not clean
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@534 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-21 15:28:30 +00:00
Patrick Ohly c88c06dabe fixed dist + distcheck
The new "boost" subdirectory wasn't included. Also replaced
hackish integration of client-api subdir with the normal
*-local targets (not sure why that wasn't done from the start;
perhaps those were not available in older automake?).


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@533 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-21 15:24:09 +00:00
Patrick Ohly 279d7a2f9e cleaned up change tracking node handling, added copying of it during migration
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@532 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-20 22:05:10 +00:00
Patrick Ohly 292b2a7cf7 cleaned up const/non-const methods, added filtering of const nodes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@531 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-20 21:59:59 +00:00
Patrick Ohly ca282a4dff adapted to new normalized name for disabled sync mode
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@530 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-20 21:58:26 +00:00
Patrick Ohly 046d0a8ec9 accept 'bin' as alias for 'b64'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@529 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-20 18:42:07 +00:00
Patrick Ohly 69ae73abe0 implemented --migrate and --configure
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@528 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-19 16:43:31 +00:00
Patrick Ohly de12d67f22 avoid printing empty comments in --print-config
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@527 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-19 14:38:19 +00:00
Patrick Ohly a2d0ef90f8 implemented server config templates (scheduleworld, funambol, synthesis) and printing of them
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@526 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-19 14:35:22 +00:00
Patrick Ohly b2b31a7477 minor fixes for command line handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@525 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-19 12:11:39 +00:00
Patrick Ohly c7138968c4 next step in the configuration rewrite
- added sanity checking of properties
- added listing of properties and help for individual properties
- use user-visible string as main alias for sources


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@524 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-19 11:29:14 +00:00
Patrick Ohly c050e4f828 SQLiteContactSource now mentions the file:/// access to databases
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@523 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-19 10:08:16 +00:00
Patrick Ohly acff8845e1 first part of the new command line handling
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@522 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-18 21:45:34 +00:00
Patrick Ohly 7538b19553 fixed some memory leaks for results of e_book_get_contacts/changes and e_cal_get_object_list_as_comp/e_cal_get_changes
The API documentation of these calls doesn't say so explicitly, but it
seems that a combination of g_object_unref()/g_free()/g_list_free() is
necessary. Rewrote the eptr smart pointer so that different deleter
functions can be selected as template parameters.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@521 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-18 13:36:59 +00:00
Patrick Ohly e7ba16d162 valgrind suppression rules
The files were originally created for:
sys = Debian Etch
evo = Evolution trunk ~ 2.22
client = Funambol C++ client library post 6.5


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@520 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-16 08:48:26 +00:00
Patrick Ohly b141163fd0 fixed rebuild of Evolution trunk: install stamp must be removed, otherwise it won't reinstall
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@519 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-16 08:48:11 +00:00
Patrick Ohly 4529091153 support text/x-vcalendar to be backwards compatible way with old configs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@518 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-13 19:42:41 +00:00