[os-libsynthesis] avoiding disk writes during sync without changes

2014-08-29 Thread Patrick Ohly
the sync without sending the final reply message to the client. The server side then finishes the sync successfully while the client side simply aborts without doing its own session shutdown. This also eliminates SaveAdminData on the binfile client side. -- Best Regards, Patrick Ohly The content

Re: [os-libsynthesis] comparison of PHOTO data

2014-07-14 Thread Patrick Ohly
On Mon, 2014-07-14 at 18:15 +0200, Lukas Zeller wrote: Hello Patrick, On 11 Jul 2014, at 15:27, Patrick Ohly patrick.o...@intel.com wrote: I'm currently investigating why a comparison of two PHOTO fields of different length returns field equal. PHOTO is defined as: field name

[os-libsynthesis] comparison of PHOTO data

2014-07-11 Thread Patrick Ohly
. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

Re: [os-libsynthesis] How to run syncevolution at bare minimum processing.

2014-05-19 Thread Patrick Ohly
. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

Re: [os-libsynthesis] mixing properties with and without group tag (was: Re: suppressempty + arrays)

2014-05-14 Thread Patrick Ohly
On Wed, 2014-05-14 at 17:44 +0200, Lukas Zeller wrote: Hello Patrick, On 12.05.2014, at 18:25, Patrick Ohly patrick.o...@intel.com wrote: [...] and a property which has a group tag must not reuse any of these unassigned group tag values. Actually, a property which has a group

[os-libsynthesis] mixing properties with and without group tag (was: Re: suppressempty + arrays)

2014-05-12 Thread Patrick Ohly
On Mon, 2014-05-12 at 12:55 +0200, Patrick Ohly wrote: The X-ABRELATEDNAMES properties were not generated. The labels should be redundant, but some peers get confused. Google preserves them as stand-alone X-ABLabel without tag. DAViCal preserves them with tag, which then happened to confuse

Re: [os-libsynthesis] mixing properties with and without group tag (was: Re: suppressempty + arrays)

2014-05-12 Thread Patrick Ohly
On Mon, 2014-05-12 at 17:29 +0200, Patrick Ohly wrote: I think the code which deals with group tags must use the same logic that I introduced for sharedfield: a property which has a group field array, but no group tag, must set an unassigned value in the group field array, That was already

[os-libsynthesis] parameter value escaping (was: Re: vCard group tags)

2014-05-06 Thread Patrick Ohly
On Mon, 2014-05-05 at 14:42 +0200, Patrick Ohly wrote: On Fri, 2014-05-02 at 11:59 +0200, Lukas Zeller wrote: On 02.05.2014, at 10:38, Patrick Ohly patrick.o...@intel.com wrote: I noticed another problem with the use X-ABLabel parameter approach: storing complex strings (spaces, quotation

[os-libsynthesis] folding parameter values (was: Re: vCard group tags)

2014-05-06 Thread Patrick Ohly
On Mon, 2014-05-05 at 14:42 +0200, Patrick Ohly wrote: On Fri, 2014-05-02 at 11:59 +0200, Lukas Zeller wrote: On 02.05.2014, at 10:38, Patrick Ohly patrick.o...@intel.com wrote: I noticed another problem with the use X-ABLabel parameter approach: storing complex strings (spaces, quotation

Re: [os-libsynthesis] folding parameter values (was: Re: vCard group tags)

2014-05-06 Thread Patrick Ohly
On Tue, 2014-05-06 at 13:29 +0200, Patrick Ohly wrote: On Mon, 2014-05-05 at 14:42 +0200, Patrick Ohly wrote: On Fri, 2014-05-02 at 11:59 +0200, Lukas Zeller wrote: On 02.05.2014, at 10:38, Patrick Ohly patrick.o...@intel.com wrote: I noticed another problem with the use X-ABLabel

Re: [os-libsynthesis] vCard group tags

2014-05-05 Thread Patrick Ohly
On Fri, 2014-05-02 at 11:59 +0200, Lukas Zeller wrote: On 02.05.2014, at 10:38, Patrick Ohly patrick.o...@intel.com wrote: I noticed another problem with the use X-ABLabel parameter approach: storing complex strings (spaces, quotation marks) in a parameter value is harder. That's

Re: [os-libsynthesis] vCard group tags

2014-05-02 Thread Patrick Ohly
On Fri, 2014-05-02 at 11:59 +0200, Lukas Zeller wrote: Hello Patrick, On 02.05.2014, at 10:38, Patrick Ohly patrick.o...@intel.com wrote: What do you mean by independent properties? For example, ADR and TEL are independent in the sense that their values are stored in different field

Re: [os-libsynthesis] vCard group tags

2014-04-30 Thread Patrick Ohly
via the position field. I'll try applying different property elements, even if that means more duplication in the profile. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent

Re: [os-libsynthesis] vCard group tags

2014-04-30 Thread Patrick Ohly
-PHONETIC-LAST-NAME:Doe Do I need to modify the source code to ensure that parameters do not exist yet? Similar to for (sInt16 e=0; eaPropP-numValues; e++) { the code would also need to iterate over aPropP-parameterDefs. -- Best Regards, Patrick Ohly The content of this message is my personal

Re: [os-libsynthesis] vCard group tags

2014-04-29 Thread Patrick Ohly
On Wed, 2014-04-16 at 17:34 +0200, Lukas Zeller wrote: Hello Patrick, On 11.04.2014, at 12:18, Patrick Ohly patrick.o...@intel.com wrote: Google CardDAV and iOS/OS X use group tags to represent custom labels in vCards. Attached is an example. Note that the Google vCard format used

Re: [os-libsynthesis] vCard group tags

2014-04-29 Thread Patrick Ohly
-LAST-NAME:Doe -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. 00vcard

Re: [os-libsynthesis] vCard group tags

2014-04-29 Thread Patrick Ohly
On Tue, 2014-04-29 at 09:50 +0200, Patrick Ohly wrote: On Mon, 2014-04-28 at 23:18 +0200, Lukas Zeller wrote: Hi Patrick, Unfortunately I am not getting the group-tag field populated. I'm attaching my field list and profile. small oversight on my and your part

Re: [os-libsynthesis] vCard group tags

2014-04-29 Thread Patrick Ohly
On Tue, 2014-04-29 at 17:18 +0200, Patrick Ohly wrote: On Tue, 2014-04-29 at 09:50 +0200, Patrick Ohly wrote: On Mon, 2014-04-28 at 23:18 +0200, Lukas Zeller wrote: Hi Patrick, Unfortunately I am not getting the group-tag field populated. I'm attaching my field list and profile

Re: [os-libsynthesis] SyncML Server Performance using Syncevolution

2014-04-29 Thread Patrick Ohly
Patrick Ohly Senior Software Engineer Intel GmbH Open Source Technology Center Usenerstr. 5a Phone: +49-228-2493652 53129 Bonn Germany ___ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http

Re: [os-libsynthesis] Duplication of data during a merge scenario

2014-04-28 Thread Patrick Ohly
and a telephone number on the other side. I'm currently looking at that. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized

Re: [os-libsynthesis] SyncML Server Performance using Syncevolution

2014-04-26 Thread Patrick Ohly
On Sat, 2014-04-26 at 23:42 +0530, Sachin Gupta wrote: On Fri, Apr 25, 2014 at 3:29 PM, Patrick Ohly patrick.o...@intel.com wrote: On Fri, 2014-04-25 at 15:03 +0530, Sachin Gupta wrote: Can you suggest how i can test SyncML Server performance and have 2500 users/syncevolutions connecting

Re: [os-libsynthesis] mapping between individual X- extensions and grouped extensions

2014-04-26 Thread Patrick Ohly
, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

Re: [os-libsynthesis] SyncML Server Performance using Syncevolution

2014-04-25 Thread Patrick Ohly
in SyncEvolution gets its own device ID. So if you want to simulate n different devices, use: syncevolution --configure ... client-1@client-1 ... syncevolution --configure ... client-n@client-n -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am

[os-libsynthesis] mapping between individual X- extensions and grouped extensions

2014-04-25 Thread Patrick Ohly
and then letting the sync engines negotiate the most suitable one. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized

Re: [os-libsynthesis] UID + CardDAV

2014-04-16 Thread Patrick Ohly
On Fri, 2014-04-11 at 16:52 +0200, Patrick Ohly wrote: [property name=UID rule=HAVE-VCARD-UID shows up in CtCap] Could it be a bug that the disable property shows up in the CtCap? Darn, probably a circular dependency again: we have to be ready to send CtCap before we know the peer, so

[os-libsynthesis] vCard group tags

2014-04-16 Thread Patrick Ohly
and X-AIM:aim Custom labels will also be fun, if that's what Evolution decides to use (currently it is unsupported). -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way

Re: [os-libsynthesis] Photo Data getting truncated

2014-04-09 Thread Patrick Ohly
? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

Re: [os-libsynthesis] How to synchronise image with server

2014-04-07 Thread Patrick Ohly
On Mon, 2014-04-07 at 18:00 +0530, Anuj wrote: Hi Patrick, Thanks for replying , I have a doubt on where to define value =uri In mime profile or somewhere else.please specify. Please follow http://www.ietf.org/rfc/rfc2426.txt for formatting your PHOTO data. -- Best Regards, Patrick Ohly

Re: [os-libsynthesis] How to synchronise image with server

2014-04-04 Thread Patrick Ohly
a URI and inline data is represented as a special URI). -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf

Re: [os-libsynthesis] How to synchronise image with server

2014-04-02 Thread Patrick Ohly
backend for syncevolution. You can either base64 encode the photo data as specified by https://tools.ietf.org/html/rfc6350#page-30 or you can use a file URL. SyncEvolution then will read the file data and inline it before sending to the server. -- Best Regards, Patrick Ohly The content

Re: [os-libsynthesis] How to build a installation package for syncevoltion client for ubuntu

2014-03-05 Thread Patrick Ohly
- see Debian HOWTOs. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

Re: [os-libsynthesis] how to configure libsynthesis syncronizing a group of contactcs.

2014-01-27 Thread Patrick Ohly
. Defining a group of contacts is not standardized in vCard. If you want to synchronize it, you probably have at least one system where groups of contacts are supported. Which system is that and how does it exchange a group? -- Best Regards, Patrick Ohly The content of this message is my personal opinion

Re: [os-libsynthesis] PHOTO + compare=never

2013-07-10 Thread Patrick Ohly
On Fri, 2013-07-05 at 14:05 +0200, Lukas Zeller wrote: On 05.07.2013, at 11:58, Patrick Ohly patrick.o...@intel.com wrote: [...] I broke MERGEFIELDS() when introducing that mode, see attached patch. It is now still not backward-compatible. Is there a way to have a builtin function

Re: [os-libsynthesis] temporary local ID + FinalizeLocalID

2013-07-05 Thread Patrick Ohly
On Wed, 2013-06-26 at 16:10 +0200, Patrick Ohly wrote: On Mon, 2013-06-10 at 12:35 +0200, Lukas Zeller wrote: On 10.06.2013, at 11:57, Patrick Ohly patrick.o...@intel.com wrote: I'll probably try something else: if commands were delayed in a message which is marked Final, then force

[os-libsynthesis] PHOTO + compare=never

2013-07-04 Thread Patrick Ohly
a comparescript for that, right? In that case compare=never may be the right thing to do again, but I am not sure. Won't it lead to the situation again where MERGEFIELDS() incorrectly not marks an item as changed even though it was? -- Best Regards, Patrick Ohly The content of this message is my personal

Re: [os-libsynthesis] PHOTO + compare=never

2013-07-04 Thread Patrick Ohly
On Thu, 2013-07-04 at 13:01 +0300, Patrick Ohly wrote: Hello! I just noticed one aspect of the example configs that I wasn't aware of: syncclient_sample_config.xml: field name=PHOTO type=blob compare=never merge=fillempty/ What I see in a slow is that if all fields are equal except

[os-libsynthesis] redundant DB updates - script for processing incoming items from SyncML peer?

2013-06-11 Thread Patrick Ohly
one data store. The putting data store specific transformations into the datatype's incomingscript would be okay, wouldn't it? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way

Re: [os-libsynthesis] temporary local ID + FinalizeLocalID

2013-06-10 Thread Patrick Ohly
On Mon, 2013-06-10 at 12:35 +0200, Lukas Zeller wrote: On 10.06.2013, at 11:57, Patrick Ohly patrick.o...@intel.com wrote: I'll probably try something else: if commands were delayed in a message which is marked Final, then force execution of the commands at the end of processing

Re: [os-libsynthesis] temporary local ID + FinalizeLocalID

2013-06-07 Thread Patrick Ohly
away. That would re-order the status messages such that the status for the later command gets sent first. That's because my backend currently can only do insert/update asynchronously, but not deletes. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although

[os-libsynthesis] temporary local ID + FinalizeLocalID

2013-06-03 Thread Patrick Ohly
, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. ___ os

Re: [os-libsynthesis] Sync mode extensions must be optional

2013-03-10 Thread Patrick Ohly
master branch. Lukas, it contains two patches which you might want to include: commit 9b0c01cf2fff6701bdb026518048fc4b06a7072e Author: Patrick Ohly patrick.o...@intel.com Date: Thu Feb 21 00:51:53 2013 -0800 caching mode: fix memory leak When deleting unmatched local sync items

[os-libsynthesis] one-way sync + sync tokens not updated

2012-08-21 Thread Patrick Ohly
, that cannot be guaranteed, so I might as well just skip the test. OTOH, a user might decide to use an ActiveSync server as remote backup, in which case one-way syncing makes sense again. Would it be acceptable to always take the updating sync token branch above? -- Best Regards, Patrick Ohly The content

[os-libsynthesis] PBAP: one-way sync modes

2012-08-21 Thread Patrick Ohly
the winning one and that its version completely overwrites the server's). -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized

Re: [os-libsynthesis] [SyncEvolution] Recurrences with Nth weekday of the month

2012-06-22 Thread Patrick Ohly
an oversight? What would it take to support that? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel

Re: [os-libsynthesis] Funambol and large SyncML messages?

2012-06-18 Thread Patrick Ohly
small the message size should be. I don't know. I guess you could try asking Funambol (their mailing list is now on SourceForge), but be prepared to be told to install a Funambol client and emulate its behavior (that was the response that I got for the DevInf issue). -- Best Regards, Patrick Ohly

Re: [os-libsynthesis] [PATCH] Improve readability of SyncML TK error messages

2012-06-08 Thread Patrick Ohly
. Some of reporting inside libsynthesis duplicates my own reporting. So I'd rather disable console printing dynamically and only enable it when the log level in SyncEvolution is sufficiently high. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am

Re: [os-libsynthesis] scripts + datastore

2012-05-02 Thread Patrick Ohly
On Fri, 2012-04-27 at 16:27 +0200, Lukas Zeller wrote: On Apr 25, 2012, at 15:11 , Patrick Ohly wrote: But in practice that pointer is always NULL. I wasn't sure anyway whether I would get the pointer to the local or remote datastore. from fDsP you'd get the pointer to the local datastore

[os-libsynthesis] scripts + datastore

2012-04-25 Thread Patrick Ohly
wasn't sure anyway whether I would get the pointer to the local or remote datastore. Any hints? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position

Re: [os-libsynthesis] Sync server with oracle database

2012-04-24 Thread Patrick Ohly
in Python using the Twisted framework and depends on the D-Bus API provided by the SyncEvolution core, so one also inherits all the rest of SyncEvolution (own configuration system, backends, etc.). For writing one's own server, the Synthesis SDK and server will be easier. -- Best Regards, Patrick Ohly

Re: [os-libsynthesis] 409 item merged in client + multiple sync cycles in a single session

2012-03-09 Thread Patrick Ohly
On Tue, 2012-03-06 at 14:50 +0100, Patrick Ohly wrote: I haven't look into this yet, but still have it on my radar. Done in the meego.gitorious.org master branch. I found that checking for collisions is hard (not all records are in memory), so I settled for making the chance of collisions

Re: [os-libsynthesis] 409 item merged in client + multiple sync cycles in a single session

2012-02-13 Thread Patrick Ohly
On Tue, 2012-02-07 at 16:05 +0100, Patrick Ohly wrote: On Mon, 2012-02-06 at 21:29 +0100, Patrick Ohly wrote: I'm currently experimenting with a different approach for handling the 409 in the binfile client: when an Add fails with 409, catch it as it is done at the moment, but then tell

Re: [os-libsynthesis] 409 item merged in client

2012-02-06 Thread Patrick Ohly
On Mon, 2012-01-30 at 18:04 +0100, Patrick Ohly wrote: Should it have removed one item while processing the Map? IMHO it can't, because it doesn't have enough information to determine which of its two items are up-to-date. It only knows that the client must have merged two items, but not yet

Re: [os-libsynthesis] super data store: trying to read to check for existance

2011-10-28 Thread Patrick Ohly
On Tue, 2011-10-25 at 09:24 +0200, Lukas Zeller wrote: On Oct 24, 2011, at 16:55 , Patrick Ohly wrote: Why is it necessary to read before trying to delete? If the item exists, then reading it is a fairly expensive test. Unfortunately, with some some backends, this is the only test

Re: [os-libsynthesis] super data store: trying to read to check for existance

2011-10-25 Thread Patrick Ohly
On Tue, 2011-10-25 at 09:24 +0200, Lukas Zeller wrote: Hello Patrick, On Oct 24, 2011, at 16:55 , Patrick Ohly wrote: Why is it necessary to read before trying to delete? If the item exists, then reading it is a fairly expensive test. Unfortunately, with some some backends

Re: [os-libsynthesis] Google Calendar + per-item permission errors

2011-08-03 Thread Patrick Ohly
On Di, 2011-08-02 at 15:39 +0200, Lukas Zeller wrote: Hello Patrick, On Aug 1, 2011, at 20:39 , Patrick Ohly wrote: In a local slow sync between Evolution and Google Calendar I see the following problem: [...] * The server logs Status: 403: originator exception

[os-libsynthesis] Google Calendar + per-item permission errors

2011-08-01 Thread Patrick Ohly
to the conclusion that a backend can return errors in the range 500 to the Synthesis engine. That's what SyncEvolution is doing here. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent

Re: [os-libsynthesis] dealing with PHOTO:file:// (BMC #19661)

2011-07-22 Thread Patrick Ohly
be attached to contacts in Evolution Data Server. However, I'd like to mention in this context that the engine for a long time contains a mechanism for the general problem with large fields. I know, but it didn't seem usable here, as you said. -- Best Regards, Patrick Ohly The content

[os-libsynthesis] uri + binary PHOTO values (was: Re: field merging + parameters)

2011-07-21 Thread Patrick Ohly
On Do, 2011-07-21 at 12:21 +0200, Patrick Ohly wrote: Now there is only one other problem with PHOTO uris. They get encoded as binary data: PHOTO;VALUE=uri:http://example.com/photo.jpg = PHOTO;ENCODING=B;VALUE=uri:aHR0cDovL2V4YW1wbGUuY29tL3Bob3RvLmpwZw== Is that because PHOTO is defined

Re: [os-libsynthesis] adding or overriding CtCap

2011-06-21 Thread Patrick Ohly
On Mo, 2011-06-20 at 20:20 +0100, Patrick Ohly wrote: Verified with debugging output. I've not looked into setfieldoptions() for the exact logic which enables the field. This has the effect that my X-FOOBAR-EXTENSION and X-TEST extensions (stored locally in XPROPS) are not getting preserved

Re: [os-libsynthesis] adding or overriding CtCap

2011-06-20 Thread Patrick Ohly
On Mi, 2011-06-15 at 14:02 +0200, Patrick Ohly wrote: Hello! One of the problems that we have in SyncEvolution is the loss of properties not supported by SyncML servers, like Google: https://bugs.meego.com/show_bug.cgi?id=15029 For example, BDAY is not supported and gets lost in a round

Re: [os-libsynthesis] compare scripts

2011-06-20 Thread Patrick Ohly
I want the default behavior. Does this look right? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf

Re: [os-libsynthesis] adding or overriding CtCap

2011-06-20 Thread Patrick Ohly
previously? So that doesn't seem to be it. I'm now looking at the actual parser code... gdb to the rescue. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position

Re: [os-libsynthesis] adding or overriding CtCap

2011-06-20 Thread Patrick Ohly
On Mo, 2011-06-20 at 17:27 +0100, Patrick Ohly wrote: Problem solved... Except for one field: !-- store extensions that don't match any of the other fields -- field name=XPROPS array=yes type=string compare=never/ Profile: property name=X-* suppressempty=yes show=false

Re: [os-libsynthesis] temporary UID mapping

2010-12-19 Thread Patrick Ohly
On Fr, 2010-12-17 at 14:08 +, Lukas Zeller wrote: On Dec 17, 2010, at 8:47 , Patrick Ohly wrote: Now it turns out that there's a bad bug here, which probably explains all this (and maybe other) weird behaviour. I'm glad that you got to the bottom of this. Much better than pampering

Re: [os-libsynthesis] temporary UID mapping

2010-12-16 Thread Patrick Ohly
On Do, 2010-12-16 at 17:35 +, Lukas Zeller wrote: Hello Patrick, On Dec 9, 2010, at 17:47 , Patrick Ohly wrote: I might have found it. Scenario: - SERVER is the ID on the server, CLIENT on the client - server has a mapping from SERVER to #35 (ident 2) and to CLIENT (ident 1

Re: [os-libsynthesis] libsynthesissdk.a built without -fPIC

2010-12-14 Thread Patrick Ohly
). Merged into the meego.gitorious.org repo. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel

Re: [os-libsynthesis] sending iCalendar 2.0 recurrence rule to Nokia phone: rule ignored (BMC #11241)

2010-12-14 Thread Patrick Ohly
On Di, 2010-12-14 at 11:43 +, Lukas Zeller wrote: Hello Patrick, On Dec 13, 2010, at 13:22 , Patrick Ohly wrote: From http://bugs.meego.com/show_bug.cgi?id=11241. Problem summary below, patch attached. I'm a bit unsure about hard-coding UTC as time context in that code, please

[os-libsynthesis] sending iCalendar 2.0 recurrence rule to Nokia phone: rule ignored (BMC #11241)

2010-12-13 Thread Patrick Ohly
as fallback might be a bit tricky, but I think the start time of the event should do. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I

[os-libsynthesis] importing time zone definitions + TZID

2010-12-12 Thread Patrick Ohly
and suitable for merging back? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

Re: [os-libsynthesis] temporary UID mapping

2010-12-09 Thread Patrick Ohly
missing entries. I'll keep watching :-/ -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel

Re: [os-libsynthesis] temporary UID mapping

2010-12-09 Thread Patrick Ohly
UpdateMapItem( CContext aContext, cMapID mID ); So, what is the solution to this problem? Do I still misunderstand something or is there a genuine problem? ;-/ FWIW, there was one DeleteMapItem for item SERVER in the sessions above, but it was for ident 1 (after deleting it). -- Best Regards Patrick

Re: [os-libsynthesis] temporary UID mapping - maximum ID size

2010-12-08 Thread Patrick Ohly
On Mi, 2010-12-08 at 12:22 +0100, Patrick Ohly wrote: I'm currently (involuntarily ;-) stress-testing this code by running SyncEvolution-SyncEvolution syncs with lots of iCalendar 2.0 items, which happen to have very long IDs. Related to this: is there some way to increase the maximum ID size

[os-libsynthesis] temporary UID mapping

2010-12-08 Thread Patrick Ohly
(). Is that the right solution or do I need to search for the reason why the mapping has gaps? Also note that I end up with a temporary ID which must have been used before in an older sync session. Could that be a problem? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only

Re: [os-libsynthesis] libsynthesissdk.a built without -fPIC

2010-12-06 Thread Patrick Ohly
Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. From

Re: [os-libsynthesis] slow-sync matching

2010-11-16 Thread Patrick Ohly
On Mo, 2010-11-15 at 16:50 +, Patrick Ohly wrote: Now that I had that sorted out, I was running into another configuration issue: slowsyncstrategyduplicate/slowsyncstrategy is set in the syncserv_sample_config.xml and SyncEvolution copied that. Therefore the engine ended up trying

Re: [os-libsynthesis] slow-sync matching

2010-11-15 Thread Patrick Ohly
On Do, 2010-11-11 at 14:52 +, Patrick Ohly wrote: Hello! I have a question about matching items. Here's my situation: * Client and server both have the same iCalendar 2.0 VEVENT (UID is identical). * SUMMARY is changed on server, one line is added to description

[os-libsynthesis] slow-sync matching

2010-11-11 Thread Patrick Ohly
15:40:44.964] Deleted command 'Status' (outgoing MsgID=0, CmdID=0) -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized

Re: [os-libsynthesis] libsynthesis update - 3.0.4.16 (was: Re: optional property parameters, sub/remoterules)

2010-09-29 Thread Patrick Ohly
with some specific fixes backported, and then combine the libsynthesis update with some other non-backward compatible changes in SyncEvolution itself. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here

Re: [os-libsynthesis] sending photo to Nokia phone (N97 mini): wrong CTCap

2010-08-30 Thread Patrick Ohly
one or the other interpretation? Or perhaps it was part of meeting minutes? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I

[os-libsynthesis] DB API + simple type

2010-05-14 Thread Patrick Ohly
choose to support the initial n rules, but not some specific ones. I assume the ordering of rules is chosen so that there's never a need to not support, say rule #1 but support rules #2 and #3? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I

Re: [os-libsynthesis] DB API + simple type

2010-05-14 Thread Patrick Ohly
of ReadNextItem:allfields? What effect does it have when the plugin refuses to acknowledge that rule? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I

Re: [os-libsynthesis] DB API + simple type

2010-05-14 Thread Patrick Ohly
, then I'll punt the problem to you. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

Re: [os-libsynthesis] logging the source code location of debug messages

2010-05-12 Thread Patrick Ohly
the changes soon together with the other pending changes on my branch. Note that I updated master and doxygen once more today. Please pull again before merging. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel

Re: [os-libsynthesis] wrong interpretation of timezone information

2010-05-11 Thread Patrick Ohly
On Mon, 2010-05-10 at 16:48 +0100, Lukas Zeller wrote: Hi Patrick, On May 10, 2010, at 9:04 , Patrick Ohly wrote: Confirmed, works for me. Thanks! I should have mentioned that I had already made similar changes as you on the moblin.org master branch (check for NULL obj in debug

[os-libsynthesis] UID in iCalendar 2.0

2010-04-19 Thread Patrick Ohly
the client really provides a stable, globally unique UID and b) we would end up with only one item even when both items were modified and thus should both be preserved. - Don't store UID on the server. We want it there for backup/restore of iCalendar 2.0 clients. -- Best Regards, Patrick Ohly

Re: [os-libsynthesis] X-Synthesis-Ref and X-CustomLabel- TYPE extensions

2010-04-15 Thread Patrick Ohly
On Wed, 2010-04-07 at 13:45 +0100, Patrick Ohly wrote: Hello! This is related to http://bugzilla.moblin.org/show_bug.cgi?id=10462 [...] I suppose for SyncEvolution 1.0 we should simply remove the extension from the XML config used by us. There's a slight loss of functionality when

[os-libsynthesis] X-Synthesis-Ref and X-CustomLabel- TYPE extensions

2010-04-07 Thread Patrick Ohly
mimeprofile which matches exactly what Evolution supports. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf

Re: [os-libsynthesis] suspend failure

2010-03-18 Thread Patrick Ohly
client? Is it possible in a server? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel

Re: [os-libsynthesis] suspend failure

2010-03-18 Thread Patrick Ohly
On Thu, 2010-03-18 at 14:05 +, Lukas Zeller wrote: Hello Patrick, On Mar 18, 2010, at 14:00 , Patrick Ohly wrote: On Tue, 2010-03-16 at 14:40 +, Lukas Zeller wrote: Most probably, there should be an extra check for that too late suspend. Your patch in the luz branch works

Re: [os-libsynthesis] suspend failure

2010-03-18 Thread Patrick Ohly
to it would break server software upgrades. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel

Re: [os-libsynthesis] suspend/resume + datastore + tokens

2010-03-16 Thread Patrick Ohly
On Fr, 2010-02-26 at 15:12 +, Patrick Ohly wrote: Hello! When we started with SyncEvolution, we discussed the StartDataRead() resumeToken parameter. At that time, we came to the conclusion that a binfile based client doesn't have to distinguish between different tokens. Always reporting

Re: [os-libsynthesis] LibSynthesis internal data structure and conversion...

2010-03-15 Thread Patrick Ohly
will convert from one format into another. The format is defined by a datatype in the XML configuration. The aa:bbCRLF format is not such a datatype. Can you describe what you are trying to accomplish? Perhaps there are other ways to do it, or it is useful enough to add something. -- Best Regards, Patrick

Re: [os-libsynthesis] LibSynthesis internal data structure and conversion...

2010-03-15 Thread Patrick Ohly
to/from the field list (SyncSource.cpp) * in your AsKey() implementations, read/write the data field (SyncSourceSerialize::readItemAsKey, SyncSourceSerialize::insertItemAsKey) -- Best Regards, Patrick Ohly The content of this message is my personal opinion only

Re: [os-libsynthesis] resume Add second half

2010-03-15 Thread Patrick Ohly
On So, 2010-03-07 at 01:56 +0100, Patrick Ohly wrote: Anyway, it fails in one case when the item was split: 1. client has a new big item 2. client sends Add with MoreData/ 3. server buffers the item 4. client sends second half 5. server processes the complete item

Re: [os-libsynthesis] [PATCH] SAN 1.1 generation support: Moved utility code from engine to sdk

2010-03-08 Thread Patrick Ohly
, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter

[os-libsynthesis] resend Delete

2010-03-06 Thread Patrick Ohly
as local, just as if they came out of the engine. Client and server don't agree on whether the session should continue (steps 8 and 9). Not sure who is right here. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel

[os-libsynthesis] resume Add second half

2010-03-06 Thread Patrick Ohly
/MetaData...) 9. server attempts to parse the item, fails and returns 415 The logs don't tell me what the relevant difference is, so I'll have to dive into the debugger. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel

Re: [os-libsynthesis] resume + double Add

2010-03-04 Thread Patrick Ohly
On Fri, 2010-02-26 at 15:05 +, Patrick Ohly wrote: [...] So it seems that the engine does check for the remote ID, but only after having already added the item again. I think this was due to not enabling resumesupport. After setting that, the same test passes. Sorry for the confusion - I

Re: [os-libsynthesis] resume + double Add

2010-03-04 Thread Patrick Ohly
On Thu, 2010-03-04 at 23:49 +, Lukas Zeller wrote: On Mar 4, 2010, at 18:49 , Patrick Ohly wrote: On Fri, 2010-02-26 at 15:05 +, Patrick Ohly wrote: However, while tracking through the code I found that indeed in the server, the case of a client sending duplicate Adds

Re: [os-libsynthesis] Newbie question on setting the target locuri...

2010-03-01 Thread Patrick Ohly
side are set via a key in the profile that corresponds to the data source. I'm sure this is in the documentation somewhere. Here's how we do it in SyncEvolution: http://git.moblin.org/cgit.cgi/syncevolution/tree/src/syncevo/SyncContext.cpp?id=syncevolution-0-9-2#n1646 -- Best Regards, Patrick Ohly

  1   2   >