syncevolution/src
Patrick Ohly 26b48c4cd8 LogRedirect + Execute(): use SOCK_STREAM to detect EOF (MB #5041)
As mentioned in the previous commit, SOCK_DGRAM does not allow us
to detect that the write has closed its ends of the socket pair.
This patch switches to using SOCK_STREAM, which gives us that
feature.

pipe() would also have worked, but with SOCK_DGRAM less code needs to
be changed and it is possible to switch back to SOCK_DGRAM (for
experiments) via a define.

The logic of processing data is different when in "streaming" mode:
process() always fills the chunk of default size 1024 with as much
data as possible, then processes it. For stdout this works well,
because line breaks are preserved before feeding into the logging
system.

With stderr there's an increased risk that lines a split, but right
now no code uses streaming mode for stderr, so that doesn't matter
at all.
2010-04-01 15:23:29 +02:00
..
backends e_cal_check_timezones(): broken in EDS 2.30 due to change of error code (GNOME Bugzilla #611558, Moblin Bugzilla #9820) 2010-03-30 14:29:50 +02:00
dbus command line + D-Bus signal cleanup (MB #5043) 2010-03-29 11:01:36 +02:00
gdbus Cmdline: watch daemon if it has gone (MB #5043) 2010-04-01 13:21:19 +02:00
gnome-bluetooth autotools: some more fixes 2010-02-09 20:40:38 +01:00
gtk-ui gtk-ui: revert to old widgets names for Toolbar 2010-03-31 20:34:54 +02:00
syncevo LogRedirect + Execute(): use SOCK_STREAM to detect EOF (MB #5041) 2010-04-01 15:23:29 +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 Config Templates: Add 'templateName' optional property (MB10406) 2010-03-26 10:23:01 +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 client-test: speed up interrupt tests 2010-03-18 18:37:38 +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 command line + D-Bus: fixed "make distcheck" 2010-03-30 21:20:55 +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 stdout: split at lines (MB #5042) 2010-04-01 15:22:27 +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 Cmdline: watch daemon if it has gone (MB #5043) 2010-04-01 13:21:19 +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.