Re: [os-libsynthesis] NumberOfChanges + binfileclient

2014-01-22 Thread Patrick Ohly
On Wed, 2014-01-22 at 11:41 +0100, Lukas Zeller wrote: > So I see no easy way to run the preflight earlier :-( Perhaps we don't have to. What about adding the NumberOfChanges later on? That should be SyncML compliant, shouldn't it? Below is a patch which achieves that. It results in a sync where

Re: [os-libsynthesis] NumberOfChanges + binfileclient

2014-01-22 Thread Lukas Zeller
Hello Patrick, your analysis is (as always :-) straight to the point - a circular dependency. I first thought maybe you could run the preflight earlier, but then I found the note in binfileimplds saying "Don't call before types are ok (we need TSyncItems)". That's the real problem, because chec

[os-libsynthesis] NumberOfChanges + binfileclient

2014-01-21 Thread Patrick Ohly
Hello! I am wondering about NumberOfChanges information sent from a Synthesis client to a Synthessi server. Normally this is not really interesting, but in my case the client and server are both running locally and the user is actually controlling the server side, so having the client's informatio