Thunderbird 3 beta 1 code freeze now in effect

As of 23:59 PDT on Tuesday, the Thunderbird code is now frozen for its beta 1 release. As the SeaMonkey code base is currently frozen for its alpha 1 release, this means that all the code in comm-central is now frozen, apart from the calendar/ directory.

The rules for checking into the repository are displayed on the SeaMonkey and Thunderbird tinderbox pages.

We expect the freeze to last for a few days whilst we finish the remaining blockers and check for regressions in the nightlies.

New Address Book Popup Binding

One of the aims of rewriting the address book interfaces, is also to remove RDF from the address book code base. Up until a few days ago, we had many menu lists of address books based around an RDF builder, these have now been replaced by an xbl binding on the menupopup.

This has several advantages, firstly javascript is now doing the work of building the menu, secondly it is all encapsulated in one area and useable from any dialog we want. In doing this change, we now also have proper tracking of addition/removal/changes of address books for all menus that use the new binding.

There are still a few preference menus based on the old RDF method, however, we are working on replacing them, and there’s still a change we’re working on to the menu binding itself.

For extensions, this is also good news. You can pull in the new binding to your menulist/menupopup on your own dialogs, just specify class="addrbooksPopup" on your menupopup, see the new card dialog xul for an example. There are some attributes you can specify to affect what is displayed, for now its easier to look at the code for the binding; I will be putting up documentation on devmo when it re-opens for edits.

Address Book rewrite – The benefits: OS X AB searching/filtering.

As many folks will already know by now, we are currently rewriting a lot of the interfaces for the address book.

With Joshua’s most recent push, the “cardForEmailAddress” function has moved from the interface specific to local/mork address books, to the generic interface for all address books (nsIAbDirectory).

The benefits of this are great, with one simple function addition for the OS X address book interfaces, we now have support for searching and filtering against “is/isn’t in my OS X address book”.

One of the main aims of the rewrite has been to reduce the local/mork address book specialisations within the mailnews code base to make it work better with any type of address book. This first change does that, and we’ve got a few more to come.