Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-06 Thread Chris Frey
On Wed, May 06, 2009 at 05:00:37PM -0400, Chris Frey wrote: > On Wed, May 06, 2009 at 04:56:57PM -0400, Chris Frey wrote: > > One thing left in the opensync plugin is support for recurring calendar > > items. It is implemented in one direction, but not the other. > > Oh, and there is documentatio

Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-06 Thread Chris Frey
On Wed, May 06, 2009 at 04:56:57PM -0400, Chris Frey wrote: > One thing left in the opensync plugin is support for recurring calendar > items. It is implemented in one direction, but not the other. Oh, and there is documentation in doc/ from Martin Owens regarding the format of Content Store reco

Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-06 Thread Chris Frey
On Wed, May 06, 2009 at 05:01:37PM +0200, Nicolas wrote: > I work to use all BlackBerry features from Linux. > > As far as I'm concerned, I think that we have to add a last feature : > the firmware upgrade. > > What features do you think that we need ? and you would like add to > barry ? I'm jus

Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-06 Thread Chris Frey
On Wed, May 06, 2009 at 05:08:04PM +0200, Nicolas wrote: > Hi, > > I have also some errors but it doesn't seem affect the sync process. > > Even with these errors, it works :) For me, the sync works for the most part, but there is one todo item in Evolution that doesn't make it through, and it's

Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-06 Thread Nicolas
Hi, I have also some errors but it doesn't seem affect the sync process. Even with these errors, it works :) I work with the last packages released : OpenSync : SVN Evolution : > 2.26 For OpenSync, I use only the packages : format-vformat plugin-evolution (and plugin-barry) NB: I don't use Ti

Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-06 Thread Nicolas
On Tue, May 05, 2009 at 11:57:37PM -0400, Chris Frey wrote: > As mentioned in my other email, I'm still having issues syncing tasks > from Evolution, but this might be an evolution bug. Anyone able to > test is encouraged to do so and report back. Here work well. > > I notice a bug in SetRecor

Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-05 Thread Chris Frey
On Tue, May 05, 2009 at 03:16:11PM +0200, Nicolas wrote: > Here all patch. I've applied these patches, with some fixes. As mentioned in my other email, I'm still having issues syncing tasks from Evolution, but this might be an evolution bug. Anyone able to test is encouraged to do so and report

Re: [Barry-devel] [PATH] Task sync support, btool...

2009-05-05 Thread Chris Frey
Hi Nicolas, I'm working through your patches today, and in testing syncing from Evolution to the Blackberry, I'm running into odd 'XMLFormat validation failed' errors. When I run the XML through 'vconvert' it tells me: --- element Timezone: Schemas validity error : Element 'Timez

[Barry-devel] [PATH] Task sync support, btool...

2009-05-05 Thread Nicolas
Hi, Here all patch. On my BlackBerry, the field StartTime and DueTime are inverted. Moreover, after a modification from the device, this two fields are always the same value. I notice a bug in SetRecord about "Tasks". Indeed the fields are duplicated ! Received: : 07 00 78 00 40 01

Re: [Barry-devel] [PATH] Task sync support

2009-05-03 Thread Nicolas
I haven't still tested, but I think that it's OK. Since, for event, todo and memo you have the same key "uri". With your patch, you will have : uri_event, uri_todo and uri_memo. I'm going to test your patch. Thank's Le dimanche 03 mai 2009 à 04:12 -0400, Chris Frey a écrit : > On Sun, May 03, 2

Re: [Barry-devel] [PATH] Task sync support

2009-05-03 Thread Chris Frey
On Sun, May 03, 2009 at 09:25:28AM +0200, Nicolas wrote: > "evo_cal->uri" is OK > > but in the function "osync_sink_state_equal": > old_value = osync_sink_state_get(sinkStateDB, key, error); > old_value isn't OK ! value is empty ! [...] > Only when you sync several objtype Does this patch help

Re: [Barry-devel] [PATH] Task sync support

2009-05-03 Thread Nicolas
"evo_cal->uri" is OK but in the function "osync_sink_state_equal": old_value = osync_sink_state_get(sinkStateDB, key, error); old_value isn't OK ! value is empty ! [1241333982.142468] >>> osync_objtype_sink_connect(0x80807f8, 0x8080648, 0x81048f0) [1241333982.14

Re: [Barry-devel] [PATH] Task sync support

2009-05-03 Thread Nicolas
Hi, In attachment, you have screenshots to understand... Record state table for: Tasks Index RecordIdDirty RecType --- -- - --- 1 0x3b67edc8yes 0x02 : 00 00 00 00 2 0x0340e20e no 0x02

Re: [Barry-devel] [PATH] Task sync support

2009-05-02 Thread Chris Frey
Hi Nicolas, I haven't had a chance to run any tests yet, but I suspect that they won't want to remove the state check, unless they know why it's failing first. Above those if statements, is the call: if (!osync_sink_state_equal(state_db, "uri", evo_cal->uri, &state_match, &error)) { Th

Re: [Barry-devel] [PATH] Task sync support

2009-05-02 Thread Nicolas
In fact, I think that there is a bug in evolution opensync plugin ! Indeed, you can't sync in the same time calendar, memos and tasks ! I have applied this patch about evolution opensync plugin : Index: src/evolution2_ecal.c === ---

Re: [Barry-devel] [PATH] Task sync support

2009-05-02 Thread Nicolas
A fix Le samedi 02 mai 2009 à 12:55 +0200, Nicolas a écrit : > With the patch, it's better > > Le samedi 02 mai 2009 à 12:30 +0200, Nicolas a écrit : > > Hi, > > > > Here a patch to sync task. > > > > Warning all BlackBerry fields aren't correctly mapped with Evolution. > > > > Sample, Task.S

Re: [Barry-devel] [PATH] Task sync support

2009-05-02 Thread Chris Frey
On Sat, May 02, 2009 at 12:30:09PM +0200, Nicolas wrote: > Here a patch to sync task. > > Warning all BlackBerry fields aren't correctly mapped with Evolution. > > Sample, Task.StartTime and Task.DueTime are inverted. > Moreover, on my BlackBerry Storm, I haven't the field StartTime ! I'm intere

Re: [Barry-devel] [PATH] Task sync support

2009-05-02 Thread Nicolas
Warning, I think that there is an issue if you enable all feature (contact, event, memo, task)... Regards, Le samedi 02 mai 2009 à 12:55 +0200, Nicolas a écrit : > With the patch, it's better > > Le samedi 02 mai 2009 à 12:30 +0200, Nicolas a écrit : > > Hi, > > > > Here a patch to sync task. >

Re: [Barry-devel] [PATH] Task sync support

2009-05-02 Thread Nicolas
With the patch, it's better Le samedi 02 mai 2009 à 12:30 +0200, Nicolas a écrit : > Hi, > > Here a patch to sync task. > > Warning all BlackBerry fields aren't correctly mapped with Evolution. > > Sample, Task.StartTime and Task.DueTime are inverted. > Moreover, on my BlackBerry Storm, I haven

[Barry-devel] [PATH] Task sync support

2009-05-02 Thread Nicolas
Hi, Here a patch to sync task. Warning all BlackBerry fields aren't correctly mapped with Evolution. Sample, Task.StartTime and Task.DueTime are inverted. Moreover, on my BlackBerry Storm, I haven't the field StartTime ! Task sync can be completed to add Alarm, recurrence... (I don't know if Ev