[Chandler-dev] Major Mail Check in

Brian Kirsch bkirsch at osafoundation.org
Fri Dec 8 12:04:27 PST 2006


Hello,
I just checked in a large mail code enhancement (revision 12584) with  
schema changes.
The schema SCHEMA_VERSION number has now been bumped to 282.

Additions to schema include fromMe and toMe booleans on MailStamp as  
well as the sharing
of the dateSent attribute on MailStamp. The dateSent is needed for  
reply, reply all, and forward of shared
mail items.

The status bar messages when downloading and sending mail have also  
been greatly improved.

And an earlier check-in augmented the mail account testing features  
with a cool new modal dialog
that has a progress meter.

The bulk of revision 12584 relates to the In / Out collections and  
fixes:

1. Bug 5988: Shared events stamped as email introduce an 'Out'  
collection,
2. Bug 6857:  In and Out collections should compute their contents  
based on the sender or recipient of an email, not the isOutbound  
attribute
3. Bug: 6849: Need to keep track of out of date email accounts for IN/ 
OUT collections


The In and Out collections are now calculated based exclusively on  
whether the email is
from me or to me.  The me has also been expanded. I added a  
meAddressCollection that
contains all current and past me addresses. This is used as the point  
of comparison for the
calculations. A debug window that shows the past and present me  
addresses can be accessed
via the Tests -> Mail Tests -> Show Me Address Collection menu item.

Other changes include defaulting the isOutbound flag to False (this  
is the first step in removing
assumptions that all newly created mail is outbound) and a new unit  
test TestInOutCollections.


-Brian



More information about the chandler-dev mailing list