Re: [os-libsynthesis] libsynthesis_srv

2009-09-25 Thread Patrick Ohly
On Fri, 2009-09-25 at 17:24 +0200, Patrick Ohly wrote: > On Fri, 2009-09-25 at 16:29 +0200, Patrick Ohly wrote: > > At the moment I can start a sync session, but SessionStep() returns an > > error at some point. Need to look more closely into that before I can > > say more... > > I need to adapt t

Re: [os-libsynthesis] libsynthesis_srv

2009-09-25 Thread Lukas Zeller
Hi Patrick, On Sep 25, 2009, at 16:29 , Patrick Ohly wrote: Ah, progress. In other words, more questions... ;-) :-) How do I tell the server which URL to use and how to append (or not to append) the ?sessionID=... suffix? The element is only valid for clients. You don't need to. The c

Re: [os-libsynthesis] libsynthesis_srv

2009-09-25 Thread Lukas Zeller
Hi Patrick, On Sep 25, 2009, at 13:49 , Patrick Ohly wrote: Lukas, do you have an estimate for how much work it would be to make these compile-time choices at runtime via if() instead of #ifdef? These two methods are not mutually exclusive, to get more compact libraries the #ifdef could be p

Re: [os-libsynthesis] libsynthesis_srv

2009-09-25 Thread Patrick Ohly
On Fri, 2009-09-25 at 16:29 +0200, Patrick Ohly wrote: > At the moment I can start a sync session, but SessionStep() returns an > error at some point. Need to look more closely into that before I can > say more... I need to adapt to the reversed order of GOTDATA/NEEDDATA. Stay tuned... -- Best R

Re: [os-libsynthesis] libsynthesis_srv

2009-09-25 Thread Patrick Ohly
On Fri, 2009-09-25 at 13:49 +0200, Patrick Ohly wrote: > > There is also a server config sample in the sysync_SDK/configs > > subdirectory (that's the one I have used in my tests). > > This morning I implemented a rudimentary HTTP server in Python which > uses the SyncEvolution Connection D-Bus

Re: [os-libsynthesis] libsynthesis_srv

2009-09-25 Thread Patrick Ohly
On Tue, 2009-09-22 at 15:53 +0100, Lukas Zeller wrote: > To make both server and client libraries linkable into the same app, > libsynthesis_srv defines a different prefix for the entry points: > SySync_srv_x (defined in > serverengine_opensource_linux_prefix.h), > as opposed to SySync_xx

Re: [os-libsynthesis] libsynthesis_srv

2009-09-25 Thread Patrick Ohly
On Thu, 2009-09-24 at 16:21 +0100, Lukas Zeller wrote: > What's missing is the automake build, only the plain "make -f > server_engine_linux.mk" in src/ works (kind of, probably output dirs > need to be manually created). I've got it compiled (in fact, already for a while) and working (for not

Re: [os-libsynthesis] libsynthesis_srv

2009-09-24 Thread Patrick Ohly
On Thu, 2009-09-24 at 16:21 +0100, Lukas Zeller wrote: > What's missing is the automake build, only the plain "make -f > server_engine_linux.mk" in src/ works (kind of, probably output dirs > need to be manually created). I was already working it before I saw your email. Great, so tomorrow I c

[os-libsynthesis] libsynthesis_srv

2009-09-24 Thread Lukas Zeller
Hello all, On Aug 31, 2009, at 22:15 , Patrick Ohly wrote: The biggest unknown factor for 1.0 are the necessary changes in libsynthesis [to make a SyncML server version of it]. Lukas has reassured me that he has made good progress towards those, but they have a business to run and therefore mig

[os-libsynthesis] libsynthesis_srv

2009-09-22 Thread Lukas Zeller
Hi Patrick, I just pushed the files required to build libsynthesis_srv (luz branch). I also created a simple makefile (src/server_engine_linux.mk) from the existing, but mostly abandoned client_engine_linux.mk. I just verifed I can cd src make -f server_engine_linux.mk to make sure all