f7718ebb48
When syncevo-dbus-server was started on demand by the D-Bus daemon, then it registered itself with the daemon before it was ready to serve requests. Only happened in combination with GIO D-Bus and thus was not a problem before 1.2.99.x. One user-visible effect was that the GTK UI did select the default service when it was started for the first time, because it could not retrieve that information from syncevo-dbus-server. The fix consists of delaying the name acquisition. That gives the caller a chance to register D-Bus objects first, before completing the connection setup. The semantic change is that dbus_bus_connection_undelay() must be called on new connections which have a name (a NOP with libdbus). This patch tries to minimize code changes. The downside of not changing the GDBusCXX API more radically is that the bus name must be attached to DBusConnectionPtr, where it will be copied into each reference to the connection. Hopefully std::string is smart enough to share the (small) data in this case. Should be solved cleaner once libdbus support can be deprecated. A test for auto-activation and double start of syncevo-dbus-server is also added. |
||
---|---|---|
.. | ||
Algorithm | ||
keys | ||
test-dbus | ||
testcases | ||
abort-redirect.cpp | ||
bluetooth-device-id-inspector.py | ||
client-test-main.cpp | ||
client.supp | ||
ClientTest.cpp | ||
ClientTest.h | ||
ClientTestAssert.h | ||
compare.xsl | ||
COPYING | ||
dbus-client-server.cpp | ||
dbus-server-config.py | ||
dbus-server-connect.py | ||
dbus-server-http.py | ||
dbus-server-sync.py | ||
dbus-session.sh | ||
evo.supp | ||
generate-html.xsl | ||
log2html.py | ||
notification-daemon.py | ||
proxy.py | ||
README.funambol | ||
README.google | ||
README.googlecalendar | ||
README.memotoo | ||
README.mobical | ||
README.nokia_7210c | ||
README.Ovi | ||
README.qtcontacts | ||
README.scheduleworld | ||
README.syncevolution-server | ||
README.yahoo | ||
README.zyb | ||
resultchecker.py | ||
run_src_client_test.sh | ||
runtests.py | ||
synccompare.pl | ||
syncevo-http-server-logging.conf | ||
syncevo-http-server.py | ||
syncevo-phone-config.py | ||
sys.supp | ||
test-dbus-concurrency.txt | ||
test-dbus.py | ||
test.am | ||
test.cpp | ||
test.h | ||
valgrindcheck.sh | ||
wrappercheck.sh |
This document is used to show interoperability test information with zyb server. http://bugzilla.moblin.org/show_bug.cgi?id=2424 * The zyb Server's device information ZYB HTTP SyncML Server Version:3.9.18 Build:3.9.18b572 * Test Environment Variables Settings CLIENT_TEST_SERVER=zyb CLIENT_TEST_EVOLUTION_PREFIX=file:///tmp/test/ * Test Profiles Settings -- N/A * Data formats we need to test: -- Client::Sync::vcard21 * Know Limitations in ZYB server: VCard21 -- Only below properties are accepted: FN, N, PHOTO, BDAY, ADR, LABEL, TEL, EMAIL, TZ, GEO, TITLE, ROLE, LOGO, ORG, NOTE, REV, SOUND, URL -- The property 'N' parser error: treat "\;" as the delimiter -- The property 'ADR': if it is long, three extra chars '\r', '\n' and ' 'will be added in the property value. -- Server does escaped text processing, e.g, "<\;" is converted to "<" -- Server sends mismatch anchors between two sync even if there is no failure. * Known test failures: -- NONE