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.