syncevolution/src
Patrick Ohly 7f25b354a7 SyncContext: avoid crash in sort() with LogDir as binary predicate
LogDir is not copyable when it contains an m_info pointer. std::sort()
inside LogDir::getLogDirs() for a context is called with LogDir as
binary predicate, which causes a crash because sort() copies the
predicate.

This was found when calling getLogDirs() in a LogDir used for local
sync, without a peer. It did not happen before because then the
LogDir instance did not contain an m_info pointer. It was merely
inefficient.

This patch moves the static log dir name methods into a new
LogDirNames class and uses that as binary predicate. LogDir itself
inherits these methods via a private base class, which is similar
to the previous private static methods (avoids touching all of
the calls) and also inherits from boost::copyable to catch future
errors related to copying LogDir.
2010-12-01 12:32:42 +01:00
..
backends KCalExtended: workaround for importing custom time zones 2010-10-26 11:23:27 +02:00
dbus D-Bus API: added missing Session.Attach() (BMC #7761) 2010-09-30 10:32:13 +02:00
gdbus gdbus C++: fixed cut-and-paste error 2010-08-25 10:26:49 +02:00
gnome-bluetooth autotools: some more fixes 2010-02-09 20:40:38 +01:00
gtk-ui sync-ui: wrong direction of data transfer when talking to device (BMC #7091) 2010-09-24 17:51:27 -07:00
syncevo SyncContext: avoid crash in sort() with LogDir as binary predicate 2010-12-01 12:32:42 +01: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 phone templates: updated, copied from syncevolution.org Wiki (BMC #5727) 2010-08-27 13:30:05 +02:00
.cvsignore test for copying via server now transmits testVCard.vcf and also compares against it 2006-03-18 13:35:23 +00:00
async.patch patch switches to async version of the Evolution API 2007-02-22 19:33:21 +00:00
client-test-app.cpp nightly testing: fixed caching of Evolution sources (BMC #5864) 2010-09-01 18:05:27 +02:00
CmdlineSyncClient.cpp sync source handling: implemented per-source property filtering, Cmdline uses it 2009-10-07 18:10:00 +02:00
CmdlineSyncClient.h sync source handling: implemented per-source property filtering, Cmdline uses it 2009-10-07 18:10:00 +02:00
Makefile-gen.am phone templates: updated, copied from syncevolution.org Wiki (BMC #5727) 2010-08-27 13:30:05 +02:00
org.syncevolution.service.in fix D-Bus .service file (needed for d-Bus autostart) 2009-11-16 19:07:27 +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
syncevo-dbus-server-startup.sh.in syncevo-dbus-server-startup.sh.in: suppress output 2010-03-29 11:01:36 +02:00
syncevo-dbus-server.cpp syncevo-dbus-server: incorrect Presence status after config change (BMC #8453) 2010-10-20 14:23:53 +02:00
syncevo-dbus-server.desktop.in DBusServer: start syncevo-dbus-server when users log in 2010-03-08 15:26:58 -08:00
syncevolution.cpp command line: increase log level when SYNCEVOLUTION_DEBUG is set 2010-12-01 12:32:42 +01: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.