summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2009-09-27 22:48:04 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2009-10-07 18:15:45 +0200
commit98f83c5b3c863ce880e23a86a7deff88f05d79fd (patch)
tree3f496463c33246d2c3d0100a789e1b77cb51c10f /HACKING
parenta9181786b5cc03ac93dbca90cdfb8ca22a2c9876 (diff)
syncevo-dbus-server/syncevolution-http-server.py: SyncML HTTP server
This uses the new combined client/server Synthesis engine. When building shared modules, the engine is opened dynamically only while needed, thus reducing overall memory consumption. The HTTP server is implemented in Python, using the the 'twisted' server framework because it can use the same glib event loop as the D-Bus binding. This allows us to keep the same event loop running forever and react to both kinds of events. The server takes a base url (including host name and port) and a default configuration as name. The host name is currently ignored. It could be used to bind to a specific interface. The path is what a client has to use as part of his sync URL to synchronize against the default configuration. In addition the client can add another path to select that as his server configuration. For example, if the script is called with http://localhost:9000/syncevolution default then syncURL = http://localhost:9000/syncevolution will synchronize against the configuration called "default". With syncURL = http://localhost:9000/syncevolution/my_server, it will synchronize against "my_server".
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING4
1 files changed, 4 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index b9f57916..af25ee7e 100644
--- a/HACKING
+++ b/HACKING
@@ -30,11 +30,15 @@ For doing development work the recommended configure line is:
CXXFLAGS="-g -Wall -Werror -Wno-unknown-pragmas" \
--enable-unit-tests \
--enable-libcurl \
+ --disable-shared \
--enable-developer-mode
Enabling libcurl explicitly ensures that it gets built even when not
the default.
+--disable-shared results in easier to debug executables (no shell
+wrapper scripts, all symbols available before the program runs).
+
Backend libraries are dynamically scannned and loaded into syncevolution, the
library path defaults to $prefix/syncevolution/backends. When developer-mode is
enabled, it will scan libraries in current build directory instead.