syncevolution/src
Patrick Ohly 355cb43814 PBAP: clean up and bug fixes for new API support
Fallback to old obexd API was broken because creating the
DBusRemoteObject does not verify whether the service really exists and
thus always succeeds. Fixed by checking for existence as part of the
actual CreateSession method call.

The new code needs glib. Include header file and declare dependency in
configure.

The backend must throw errors when something fatal happens. Logging
the error is not enough, because that can't be checked by the
caller. Throwing errors is best done via the utility methods in
SyncSource, because those include the source name in the exception.

Memory handling was broken: nothing owned the memory in the
StringPiece instances, munmap() was missing. Fixed by making
PbabSyncSource the owner of both.

Unified the parsing of the result. The new code based on pcrecpp is
used for both old and new obexd API.

File name and GError allocated by g_file_open_tmp() were leaked. The
file descriptor and the file were leaked in case of aborting via an
exception. Now these resources are owned by a class which will always
clean up when getting destructed.

A failed transfer was not checked for when using the new API. Probably
failed when trying to use the file (because obexd deletes it), but
better show the error message that we got for the failed transfer.

Remove the obsolete vcardParse().

The backend is not useful for most users, therefore it has to be enable
during compilation with --enable-pbap. The code for "PBAP disabled"
had to be adapted to a backend API change.
2012-09-26 14:01:42 +02:00
..
backends PBAP: clean up and bug fixes for new API support 2012-09-26 14:01:42 +02:00
dbus GDBus GIO: more flexible SignalWatch 2012-09-26 08:36:35 +02:00
gdbus D-Bus: explicitly flush messages 2012-08-31 19:06:29 +00:00
gdbusxx GDBus GIO: use RAII for GVariant 2012-09-26 13:43:53 +02:00
gnome-bluetooth autotools: ensure that link lines are complete 2012-07-12 16:11:33 +00:00
gtk-ui GTK-2/3 UI: avoid g_strcasecmp 2012-04-24 15:42:09 +02:00
gtk3-ui GTK-2/3 UI: avoid g_strcasecmp 2012-04-24 15:42:09 +02:00
syncevo GDBus GIO: more flexible SignalWatch 2012-09-26 08:36:35 +02:00
synthesis-includes autotools: --disable-core --enable-gui => build only sync-ui and its D-Bus lib 2010-03-23 19:04:06 +01:00
templates WebDAV: improved --configure 2012-06-20 12:34:24 +02:00
async.patch patch switches to async version of the Evolution API 2007-02-22 19:33:21 +00:00
client-test-app.cpp testing: allow backends to register tests after main() 2012-06-15 12:25:52 +02:00
README.h added missing copyright and license headers 2009-05-11 16:31:17 +02:00
README.templates Merge remote branch 'origin/syncevolution-0-9-branch' 2009-11-30 21:41:53 +01:00
shlibs.local reverted to 0.7 packaging 2008-07-03 19:56:15 +00:00
src.am autotools: ensure that link lines are complete 2012-07-12 16:11:33 +00:00
syncevo-local-sync.cpp local sync: execute 'syncevo-local-sync' on child side, communicate via D-Bus 2012-01-20 13:38:49 +01:00
syncevolution.cpp CalDAV + syncevolution.org: fixed segfault without libical+libecal 2012-07-10 15:10:14 +02:00
testcases.am Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
valgrind.supp ObexTransportAgent: Fix valgrind warnings (MB#10091) 2010-03-12 06:33:13 -08:00

The configuration templates in "templates" get installed into
$(datadir)/syncevolution/templates.

When adding/changing a new server, then only enter the properties
which need to be changed here so that the default values can
be used for the remaining properties.

An icon can be added here for servers. The file name must start with
"icon".

Server configurations must be kept in sync in three different places:
- here (if a server is installed as files)
- in SyncEvolutionConfig.cpp's EvolutionSyncConfig::createServerTemplate()
- in SyncEvolutionCmdline.cpp's test server configs
- in test/test-dbus.py testGetConfigsTemplates()

Note that server icons must come with a suitable license that allows
redistribution.