On Thu, 2008-11-06 at 18:04 -0500, Chris Frey wrote:
> On Thu, Oct 23, 2008 at 10:43:11AM +1100, Jason Thomas wrote:
> > [EMAIL PROTECTED]:/tmp/trace$ btool -t | grep Calendar
> >     Database: 0x18 'Calendar Options' (records: 1)
> >     Database: 0x1a 'Calendar' (records: 7)
> >     Database: 0x35 'Calendar - All' (records: 201)
> > [EMAIL PROTECTED]:/tmp/trace$ btool -t | grep Address 
> >     Database: 0x3f 'Address Book Options' (records: 1)
> >     Database: 0x46 'Address Book' (records: 421)
> >     Database: 0x58 'Address Book - All' (records: 421)
> > [EMAIL PROTECTED]:/tmp/trace$ 
> 
> Hi Jason,
> 
> Thanks for the report!  And thanks for the URLs.  It sounds like this is
> a feature added for those with multiple email addresses on their Blackberries.
> 
> Could you try the following patch, and then run:
> 
>       btool -d "Address Book - All"
>       btool -d "Calendar - All"
> 
> I'm curious whether the format of these new databases are the same as the
> old.

They look different to me :( "Calendar - All" entries have 3 fields,
type 02, 05, 0a. "Address Book - All" has 4 fields, type 02, 03, 05, 0a.
It kinda looks like the 0a type field contains the entire old type
record.

> 
> Thanks,
> - Chris
> 
> 
> 
> From: Chris Frey <[EMAIL PROTECTED]>
> Date: Thu, 6 Nov 2008 17:59:43 -0500
> Subject: [PATCH] Test to see if new databases are the same format as the old
> 
> ---
>  src/r_calendar.h |    2 +-
>  src/r_contact.h  |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/r_calendar.h b/src/r_calendar.h
> index 9fc6d18..7c1eb9a 100644
> --- a/src/r_calendar.h
> +++ b/src/r_calendar.h
> @@ -181,7 +181,7 @@ public:
>       bool operator<(const Calendar &other) const { return StartTime < 
> other.StartTime; }
>  
>       // database name
> -     static const char * GetDBName() { return "Calendar"; }
> +     static const char * GetDBName() { return "Calendar - All"; }
>       static uint8_t GetDefaultRecType() { return 5; }        // or 0?
>  };
>  
> diff --git a/src/r_contact.h b/src/r_contact.h
> index 0706d76..cbaa4bb 100644
> --- a/src/r_contact.h
> +++ b/src/r_contact.h
> @@ -146,7 +146,7 @@ public:
>       }
>  
>       // database name
> -     static const char * GetDBName() { return "Address Book"; }
> +     static const char * GetDBName() { return "Address Book - All"; }
>       static uint8_t GetDefaultRecType() { return 0; }
>  
>       // helpers

-------------------------------------------------------------------------
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