Re: [Barry-devel] Barry SetRecord issue

2010-05-31 Thread Chris Frey
On Mon, May 31, 2010 at 09:07:18PM +0200, Nicolas wrote: > I try to write also the "Address-book - All" parser. Thanks! > I don't know how to list the calendars with a barry tool. (of course > without using the calendars entries themselves). I have dumped all my > databases. And if I have an emp

Re: [Barry-devel] Barry SetRecord issue

2010-05-31 Thread Chris Frey
On Mon, May 31, 2010 at 09:03:26PM +0200, Nicolas wrote: > > 1 > > > vevent20 > > > event > > > 1 > file:///home/nicolas/.evolution/calendar/local/system > > > 2 > file:///home/nicolas/.evolution/calendar/local/system > >

Re: [Barry-devel] Barry SetRecord issue

2010-05-31 Thread Nicolas
With pleasure. I try to write also the "Address-book - All" parser. I don't know how to list the calendars with a barry tool. (of course without using the calendars entries themselves). I have dumped all my databases. And if I have an empty calendar, I don't see nothing about this empty calendar

Re: [Barry-devel] Barry SetRecord issue

2010-05-31 Thread Nicolas
An other solution, maybe easier : Evolution : 1 vevent20 event 1 file:///home/nicolas/.evolution/calendar/local/system 2 file:///home/nicolas/.evolution/calendar/local/system Barry : 1 vevent20

Re: [Barry-devel] Barry SetRecord issue

2010-05-29 Thread Chris Frey
On Sat, May 29, 2010 at 10:15:22AM +0200, Nicolas wrote: > With the patch : > - If I add a new event in Evolution (so VCal -> BB direction), I set the > CalendarID value to -1. So I don't build this field. BB uses the rules > defined in the menu "Options > Advanced Options > Default services". > -

Re: [Barry-devel] Barry SetRecord issue

2010-05-29 Thread Chris Frey
On Sat, May 29, 2010 at 03:59:32PM +0200, Nicolas wrote: > Hi, > > You can find a parser for Calendar-All database : > > http://repo.or.cz/w/barry/progweb.git > > In the commit message, you have a database dump sample. Thanks! All 3 patches merged. - Chris --

Re: [Barry-devel] Barry SetRecord issue

2010-05-29 Thread Nicolas
As far as I'm concerned, I use only Evolution opensync plugin. And the last SVN opensync works very well. Regards, Le vendredi 28 mai 2010 à 19:34 -0400, Paul O'Keefe a écrit : > Barry --> Opensync --> Google would be a great thing for the Calendar > +Contacts > > > On Fri, 2010-05-28 at 1

Re: [Barry-devel] Barry SetRecord issue

2010-05-29 Thread Nicolas
Hi, You can find a parser for Calendar-All database : http://repo.or.cz/w/barry/progweb.git In the commit message, you have a database dump sample. Regards, Nicolas -- __

Re: [Barry-devel] Barry SetRecord issue

2010-05-29 Thread Nicolas
Le vendredi 28 mai 2010 à 19:17 -0400, Chris Frey a écrit : > Hi Nicolas, > > Sorry for the delay, but thanks for the patches! > > I've applied the first two, which were obvious bugfixes. Thanks! > > As for the calendar ID patch, some issues: > > 1) Pulling data from the Blackberry should go t

Re: [Barry-devel] Barry SetRecord issue

2010-05-28 Thread Chris Frey
On Fri, May 28, 2010 at 07:34:27PM -0400, Paul O'Keefe wrote: > Barry --> Opensync --> Google would be a great thing for the Calendar > +Contacts Have you tried the opensync-plugin-google-calendar plugin? I don't use Google calendar, so I haven't tried it myself, but the plugin is there. - C

Re: [Barry-devel] Barry SetRecord issue

2010-05-28 Thread Paul O'Keefe
Barry --> Opensync --> Google would be a great thing for the Calendar +Contacts On Fri, 2010-05-28 at 19:17 -0400, Chris Frey wrote: > Hi Nicolas, > > Sorry for the delay, but thanks for the patches! > > I've applied the first two, which were obvious bugfixes. Thanks! > > As for the calen

Re: [Barry-devel] Barry SetRecord issue

2010-05-28 Thread Chris Frey
Hi Nicolas, Sorry for the delay, but thanks for the patches! I've applied the first two, which were obvious bugfixes. Thanks! As for the calendar ID patch, some issues: 1) Pulling data from the Blackberry should go through the btohll() macro. + case CALFC_CALENDAR_ID: + if

Re: [Barry-devel] Barry SetRecord issue

2010-05-26 Thread Nicolas
Hi, I have finished my test and you find my patch in my git repository : http://repo.or.cz/w/barry/progweb.git I have splitted my commit in several steps. Work for me and should be good with older devices. Regards, Nicolas Le mardi 25 mai 2010 à 23:04 -0400, Chris Frey a écrit : > On Mon,

Re: [Barry-devel] Barry SetRecord issue

2010-05-25 Thread Chris Frey
On Mon, May 24, 2010 at 10:44:09PM +0200, Nicolas wrote: > Hi Chris, > > I have noticed two little issues. > > First, in : > void BuildField(Data &data, size_t &size, uint8_t type, uint32_t value) > I read : > uint32_t store = htobs(value); > inside of : > uint32_t store = htobl(value); Hi Nicol

[Barry-devel] Barry SetRecord issue

2010-05-24 Thread Nicolas
Hi Chris, I have noticed two little issues. First, in : void BuildField(Data &data, size_t &size, uint8_t type, uint32_t value) I read : uint32_t store = htobs(value); inside of : uint32_t store = htobl(value); Second, SetRecordByIndex replaces some fields even if I haven't set a new values. So