Status Update

Having not blogged in the last couple of weeks, and as I’m just about to be afk for a week, I thought its time for an update. Here are some of the larger things I’ve been working on:

Autocomplete

Autocomplete in mailnews has always run on the old xpfe interfaces, rather than the newer toolkit ones – until recently that is. We now run the “autocomplete my domain” and the “local address book” autocomplete using toolkit interfaces with the xpfe autocomplete widget.

The local address book autocomplete switched about a week or two ago, and baring one regression which got fixed quickly, I know of no others. I’m glad about this, and I think it was helped by (what I believe are) comprehensive unit tests that I wrote to ensure that everything was implemented in the same manner.

Before we fully move to toolkit, we still need to move the LDAP code onto the toolkit interfaces, and we need some features implementing in the toolkit autocomplete widget.

One thing to note, current trunk still supports the old xpfe interface for local address book search, this is so that we don’t break the lightning extension (moving them to the toolkit autocomplete interface would currently mean different code for the 1.8 branch and trunk, which we want to avoid for the time being). Once we switch to the full toolkit autocomplete widget, we’ll remove the old xpfe interface as well, at which stage.

For extensions wanting to pick up the new toolkit interface autocomplete now, just replace searchSessions="addrbook" with autocompletesearch="addrbook".

Mac OS X Address Book Interface

Since we enabled the interface, several bugs have been filed on items that don’t quite work, some of which are already fixed:

  • A crash when Thunderbird was open at the same time as the OS X address book, and items were deleted from the OS X address book (now fixed).
  • Various issues with dialogs not being read-only, or being able to attempt to delete read-only items (both now fixed).
  • Not being able to send to mailing lists from the Mac OS X address book (work in progress, expect a fix by the end of the week).
  • Advanced Search/Filtering also doesn’t work for Mac O X address book (unfortunately a longer term fix, but will be fixed by Thunderbird 3 final).

I have also been working on the normal bug fixes, code refactoring and fixing a few memory leaks.

Thunderbird Bugs: Clearing up the picture

Over the last 3 or 4 months, the Thunderbird QA team have been working hard on going through Thunderbird’s unconfirmed bugs and closing or confirming as appropriate.

Since March, 10 Bug days have been held, and somewhere over 500 bugs have been removed from the unconfirmed list. Today, the unconfirmed count (in the Thunderbird product) has just dropped below 3000. The effect is best seen on this chart.

I would like to say a big thank you to all those how have been involved in this effort, especially to Wayne and Gary who have driven the bug days and helped and encouraged new members of the bug traige team.

What is especially good about this effort, is that the aim hasn’t just been to close bugs randomly, but to confirm/close them intelligently – e.g. if there’s simply not enough information to reproduce and the reporter can’t be contacted, then unfortunately we’re not going to be able to do much about the bug, or alternately if we can reproduce and its not a duplicate, then it needs confirming.

This effort is helping to provide a better picture; reducing the amount of bugs in components is a good thing, making it clearer where the problems really lie. As a result, I (and others) have picked up some bugs that I’ve seen as unconfirmed (or commented on) and fixed them because they are a simple fix, but the bug has just been “hiding”, so this effort is really benefiting Thunderbird.

So well done to all those involved with our bug triage, keep up the good work.

Google Summer of Code – Google Contacts API extension

As some of you know, earlier this year I agreed to mentor a Google Summer of Code project for writing an extension to integrate/sync Thunderbird’s Address Book with a user’s contacts stored in Google via the Google Contacts API. I forgot to blog about this once it was accepted, so I’m making up for it now.

There were about 9/10 submissions for the project, and I had a hard time working out which one to go for. The one I accepted was submitted by Josh (known on irc as pi).

Since then, Josh has already made quite a bit of progress on the extension and is providing regular updates on his blog. Josh has also started writing patches and test cases to help him get familar with the Mozilla community and the code base, and help us improve Thunderbird.

I’ll mention highlights here now and again, but if you want to follow progress, I suggest you keep an eye on his blog.