Commit graph

745 commits

Author SHA1 Message Date
Patrick Ohly da50fd213f added text/x-vcalendar alias
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@517 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-13 19:41:45 +00:00
Patrick Ohly 6d1f0e3ccd clarified which data has to be set in createItem()
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@516 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-13 19:41:30 +00:00
Patrick Ohly ac0c6bcabe fixed memo type property
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@515 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-11 22:13:17 +00:00
Patrick Ohly 80b8d8c6d7 - implemented value aliases for the configuration
- rewrote interpretation of "type" property: is now a combination of backend and mime type
- improved registration of sync sources (RegisterSyncSource)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@514 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-10 22:45:36 +00:00
Patrick Ohly f5b14d9edc implemented default values and creating config, cleaned up some properties
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@513 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-09 19:08:34 +00:00
Patrick Ohly 873dc81719 added comment about setting sync mode
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@512 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-09 17:11:44 +00:00
Patrick Ohly 08cf9a33f3 replaced direct setting of properties with set methods
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@511 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-09 16:57:03 +00:00
Patrick Ohly 674780b57d adapted to new prototype of virtual mime type functions
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@510 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-09 14:20:01 +00:00
Patrick Ohly 4704ad37f5 set DEVICE_TYPE: this is used as part of the DevInf to distinguish different SyncEvolution platforms
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@509 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-08 10:02:33 +00:00
Patrick Ohly 27b40fed15 imported libboost-dev 1.34.1-2ubuntu1.1 headers to avoid build dependency on Boost
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@508 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-07 16:49:29 +00:00
Patrick Ohly f88d117d64 - introduced new SyncEvolution config handling
- cleaned up passing of SyncSource creation parameters
- reads old configs and should also work with new layout (not tested yet)


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@507 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-06 22:23:13 +00:00
Patrick Ohly 7750df7aa4 removed obsolete TestEvolution (was moved into client library)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@506 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-03-01 20:13:01 +00:00
Patrick Ohly c6c3dfb821 fixed iteration over address book authentication methods in error case
In practice this code was never executed: if no password or user are configured,
then it is skipped to avoid hanging in e_book_get_supported_auth_methods() (seen
in Evolution 2.12.1 and older versions). If it is not skipped, then authentication
hopefully works and the loop exits.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@505 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-24 17:59:02 +00:00
Patrick Ohly f12b8db898 revised error handling: lastError* variables are now hidden, use new methods
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@504 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-14 19:48:51 +00:00
Patrick Ohly e82a0b179a SF #1893582: compiler error due to missing include <memory>
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@503 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-14 19:48:03 +00:00
Patrick Ohly c1c17699e5 check out SyncEvolution from Subversion
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@502 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-13 22:28:53 +00:00
Patrick Ohly b6d33d15cc added building of Evolution trunk
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@501 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-11 21:28:32 +00:00
Patrick Ohly a79a6e1d47 client library no longer uses BOOL=int, instead use real bool
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@500 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-11 21:14:19 +00:00
Patrick Ohly 918400b4b0 always rebuild local tracking status during slow and refresh syncs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@499 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-03 11:23:30 +00:00
Patrick Ohly 1a21c06a2e change tracking for Client::Source must distinguish between database and source accessing it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@498 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-03 11:18:13 +00:00
Patrick Ohly 491b22556c typo: mime-type must not include version (only matters for Synthesis at the moment)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@497 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-03 11:17:21 +00:00
Patrick Ohly ed04af7076 turned SQLiteContactSource into a better example sync source
- simplified the database schema by removing unused tables
- added more per-contact properties missing in the original Apple schema
- added comments
- implemented storing of properties with 1:1 mapping to columns in database
- simplified the test cases used for sqlite

Client::Source::sqlite passes now. Client::Sync::sqlite still had some issues,
partly network timeouts due to load on the server, partly problems in the client (?).


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@496 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-02 21:40:42 +00:00
Patrick Ohly 454db93f18 avoid docpurge by installing example configs into /usr/lib/syncevolution/doc
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@494 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-02 21:34:23 +00:00
Patrick Ohly f7a9eb592d beware of the need to update 'stable' and 'chinook' repositories when releasing for Maemo
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@493 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-02 21:32:48 +00:00
Patrick Ohly 2e3ba97111 added another const qualifier
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@492 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-02 21:32:08 +00:00
Patrick Ohly 80c8f285bd - log extracting items at debug level
- fixed parsing of N property: it mixed up first and middle name


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@491 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-02-02 15:02:36 +00:00
Patrick Ohly 64e98841f8 # updated
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@489 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-29 19:32:11 +00:00
Patrick Ohly a773814a30 replaced linking against modified libdbus with a wrapper for the relevant dbus function
The wrapper for dbus_connection_send_with_reply() sets the increased timeout
if necessary, then calls the original implementation via dlsym(RTLD_NEXT). This
ensures that always the right libdbus of the host system is used, which is
necessary for ITOS2008 (which has a version which is incompatible with ITOS2007/06).


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@488 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-29 19:21:19 +00:00
Patrick Ohly da7022963b - patch libtool so that -Wl is inserted at the beginning of the command line
used to build modules
- added -Wl,--as-needed to LDFLAGS during compilation


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@487 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-19 20:11:31 +00:00
Patrick Ohly 1ccbd695ee implemented full change tracking in demo SQLiteContactSource with new TrackingSyncSource base class
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@486 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-14 21:25:03 +00:00
Patrick Ohly d68488c0be added transferring pointer and its ownership from one smart pointer to another
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@485 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-14 21:23:37 +00:00
Patrick Ohly 64756c9860 removed SyncState parameter out of all createItem() implementations into the caller; requires smartptr release()
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@484 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-13 01:41:21 +00:00
Patrick Ohly 420afaf14b Replaced "is a" SQLiteSyncSource with "has a" SQLiteUtil instance in SQLiteContactSource.
This is a first step towards deriving SQLiteContactSource from a sync source base
class which does change tracking.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@483 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-12 23:22:43 +00:00
Patrick Ohly e43f6012b3 with the 'abstract config' patch applied SyncManagerConfig.h must be included explicitly
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@482 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-12 22:57:00 +00:00
Patrick Ohly acc239c090 Use the new singleton implementation for logging, if available.
LOG_HAVE_SET_LOGGER and LOG_HAVE_DEVELOPER preprocessor symbols in
the new Log.h header file are checked to detect that.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@481 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-01-12 22:53:50 +00:00
Patrick Ohly 948defe248 need an epoch to make .deb versions larger than in the -pre .debs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@478 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-21 14:08:44 +00:00
Patrick Ohly fca4a6f676 # SyncEvolution 0.7
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@477 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-17 19:30:40 +00:00
Patrick Ohly d3ab8d6a9c fixed building of .deb (docdir and description)
- the new checkinstall --docdir=: syntax is used to avoid adding the name twice
- description-pak was not created and thus missing from package


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@476 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-17 18:58:55 +00:00
Patrick Ohly 05e69f2569 disabled the background glib event loop again because it caused segfaults
Without the event loop SyncEvolution will get stuck again in EDS API calls
when the EDS dies, but that is the lesser evil.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@475 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-15 16:43:12 +00:00
Patrick Ohly f1abff3829 myFUNAMBOL does not like empty types in the capability, so always send a valid (even if wrong) type
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@474 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-10 19:59:02 +00:00
Patrick Ohly ec84eda17c text/plain requires \r\n line breaks:
- send in that format now
- accept both \r\n and \n line breaks for incoming memos


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@473 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-09 16:16:48 +00:00
Patrick Ohly ffeea3d779 fixed typo in getting started section
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@468 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-06 18:53:55 +00:00
Patrick Ohly 93e722f290 added list of debug packages
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@467 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-06 18:53:30 +00:00
Patrick Ohly d70b4d0148 dump core if test fails instead of simply exiting
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@466 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-01 21:26:09 +00:00
Patrick Ohly c5b4ed32c6 added the possibility to run under valgrind
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@465 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-01 21:07:43 +00:00
Patrick Ohly 3b2ad15743 avoid including invalid information about inactive sources in DevInf by clearing it
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@464 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-01 21:04:41 +00:00
Patrick Ohly 84c7168d9c need to set mime type, required for correct DevInf (expected by Synthesis server)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@463 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-01 21:03:32 +00:00
Patrick Ohly b355a5fb95 bugfix: vCard 3.0 with mixed case were not converted properly to vCard 2.1
by SyncEvolution (must convert to upper case because vCard 2.1 only allows
that), leading to problems with mapping phone numbers in the Funambol server.
Diagnosed and reported by Paul McDermott, thanks a lot!


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@462 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-30 22:40:33 +00:00
Patrick Ohly 5ddc85129e - changed configure/build so that it also builds .deb (default prefix + DESTDIR for install)
- updated config for servers


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@461 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-30 20:14:01 +00:00
Patrick Ohly d808603aef avoid delivering SIGALRM to background thread - glib/ebook crash when that happens
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@460 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-11-28 18:05:22 +00:00