Gary mentioned a day or so ago that the trunk nightlies of Thunderbird and SeaMonkey may crash when accessing an IMAP folder. I’ve now checked in the fix for this in time for today’s nightlies (builds are running as I write this).
Address Book Card Addition and Deletion Notifications now work properly (well almost)
In the address book there has been, for quite a while, various problems whilst managing addition and deletion of address book cards to and from Mailing Lists – things like cards not being removed from the display, duplicated cards displayed (but click onto a different address book and back again and it sorts itself out).
With thanks to Siva (from Spicebird), all these problems have now been fixed (with the exception of one remaining problem).
This is an excellent fix and should hopefully reduce at least some of the confusion for users have experienced whilst updating mailing lists, and ensure that we’ve got the right notifications being fired for extensions to pick up on.
The remaining issue we’ll probably take another look at once we’ve got some other back end work done. If you want to try it out then get the latest trunk nightly (at your own risk!) or wait for Shredder Alpha 2/SeaMonkey 2.0 Alpha 1.
Update: So the first time round, we didn’t quite fix everything as expected the duplicate address lists bug wasn’t actually fixed as I thought it had been, and we’d hang a crash when deleting cards/mailing lists (I’m still not sure how we missed those) however, these have now both been fixed in the latest nightlies, and we are currently investigating a fix for bug 434978 which will improve the situation further.
Review Policy for Unit Tests in MailNews and Thunderbird
Now that we have some unit test structures in place for MailNews, we want to make it easier for new tests to be added, and clearer as to the required procedure.
Therefore, we have defined a Rules and Review Policy for unit tests that are to go into the source directories mailnews/ and mail/. This policy does not affect the existing review requirements for patches on the main code.
As I’ve said before, at the moment we still do not require unit tests with every patch as the full archecture is still being developed. We do however, strongly encourage unit tests where possible. If you need help, feel free to ping me (Standard8) on irc.