On Wed, Aug 06, 2008 at 03:30:14PM -0400, Lee Dixon wrote:
> Hi all!
> First of all, BIG HUGE THANKS for Barry.  I use it to sync with evo2 and
> things work pretty dang well.  I am using Barry 0.13 and OpenSync 0.22
> on Gutsy with a Blackberry Pearl 8130.
> 
> Of course, as a programmer, I want to improve and fix stuff.  I found a
> couple issues and have some resolutions:

Welcome to Barry!  Glad to hear Barry is working well for you.


> 1) Endless loop in vCard::ParseCategories()
> I'm surprised that no one else has seen this: if I have an evo contact
> with a category set, then the call to vAttr.GetValue(index) will keep
> returning the same value as the index increases unbounded.  This causes
> an endless loop and unbounded memory consumption, causing the OS to
> gobble up the swap and the machine slows heavily.  I put a simple check
> in to make sure the value returned doesn't match the previous one, but I
> don't think that is the long-term answer.  vAttr should be fixed.
> Anybody else see this?

Well, a huge thanks right back at you! :-)  People have been reporting this
memory consumption bug for a while, and I haven't been able to find it.
With this report, I've added the one-liner fix to vbase.cc, and it is
now in the latest CVS (and git).


> 2) No support for Birthday field.  I added this quite easily thanks to
> debug data from btool.  Unfortunately, birthdays don't show up in the
> Blackberry calendar like they do when you *author* the birthday entry on
> the device.
> 
> 3) No anniversary date support.  I think I can add Anniversary support
> too like Birthday.

Please send a patch with what you have, so we can see and discuss it better.
I've found that sometimes calendar records tend to use special flags,
for recurring, "all day event", etc.  Birthday and Anniversary might just
be flags similar to this.


> 4) I did a calendar sync and recurring events didn't seem to work right.
> In vevent.cc I see:
> void vCalendar::RecurToBarryCal()
> {
>         // FIXME - needs to be implemented
> 
>         // GetWeekDayIndex()
> }
> 
> But I don't see this in the TODO list from CVS.  Anybody else working
> this?  Can I help out?

I've added this to the TODO list.  In fact, it is very safe to assume that
anything in the code marked "FIXME" is a todo list item by default. :-)

And yes you can definitely help out!  No one else is working on the
calendar part of the plugin right now.

You can send patches to the mailing list, or you can use the Barry
git repository if you prefer working that way, and then let me know
where to pull from.  You can find more info here:

        http://www.netdirect.ca/software/packages/barry/patches.php

- Chris


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to