syncevolution/src
Patrick Ohly a6c245580c configuration: added possibility to define property name aliases
The goal is to allow multiple names for properties. This will be used
to replace legacy names like "evolutionsource", but it could also be
used to allow abbreviations on the command line.

First the patch replaces the single ConfigProperty::m_name with a list
of names, of which the first one is the current name of the
property.

The name that is to be used depends on the node which is to be
manipulated: if it already has a property under an alias, that alias
is read and also written, so existing configuration continue to use
the old config name (avoids the problem of having to remove the old
name and insert the new one at the same spot in a .ini file). Old
configs continue to parse okay. Writing into node which has none of
the names set, as in migrating into a fresh config, uses the new
names.

Most of the patch deals with the removal of a single, unique name,
either by picking the name so that it matches a node, using the
default name or simply hard-coding a property name ("sync").

The command line accepts all aliases, then uses the main name for
overriding configuration options.
2011-01-18 15:18:21 +01:00
..
backends backend API cleanup: removal of "const char *" return types 2011-01-18 15:15:09 +01:00
dbus sync-ui: compiler warning about syncevo_server_start_no_sync_session() 2011-01-17 14:59:20 +01: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: ignore configs without ConsumerReady = 1 2011-01-17 15:09:33 +01:00
syncevo configuration: added possibility to define property name aliases 2011-01-18 15:18:21 +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 ScheduleWorld: disabled configuration, replaced in examples 2010-12-14 14:29:00 +01: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 configuration: added possibility to define property name aliases 2011-01-18 15:18:21 +01:00
client-test-buteo.cpp buteo-test: update tracker database file name 2010-12-15 15:45:23 +01:00
client-test-buteo.h buteo-test: update tracker database file name 2010-12-15 15:45:23 +01: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 buteo testing: enable buteo testing in client-test 2010-12-08 10:56:16 +01: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 configuration: added possibility to define property name aliases 2011-01-18 15:18:21 +01: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-03 17:30:07 +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.