Closed
Bug 421443
Opened 16 years ago
Closed 16 years ago
Remove rdf dependent methods from nsIMessenger.idl
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9
People
(Reporter: jminta, Assigned: jminta)
References
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
21.36 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
983 bytes,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
nsIMessenger includes several methods that require an rdf datasource as an argument. There are perfectly good ways of making these calls from the front-end without passing in such an argument. Moreover, most of the time these centralized methods aren't used. I think avoiding these methods is a good thing, promoting better modularity in the code, rather than requiring everything to funnel through the central object. Thus, I'm suggesting that we simply remove these methods, rather than reimplement them in non-rdf ways. Again, some minor conflicts with the js-tree patch, but conflicts that make that patch simpler in the long run.
Attachment #307867 -
Flags: superreview?(bienvenu)
Attachment #307867 -
Flags: review?(bienvenu)
Comment 1•16 years ago
|
||
Comment on attachment 307867 [details] [diff] [review] patch v1 [Checkin: Comment 3+9] looks good - there are a couple places where you don't really need local vars, like this: + var folder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder); + folder.emptyTrash(msgWindow, null); but I'll leave that up to you...
Attachment #307867 -
Flags: superreview?(bienvenu)
Attachment #307867 -
Flags: superreview+
Attachment #307867 -
Flags: review?(bienvenu)
Attachment #307867 -
Flags: review+
Comment 2•16 years ago
|
||
Joey, when do you think you'll land the patch? It's blocking some of the stuff in bug 435290. If not, then will it be alright if someone else checks the patch in?
Blocks: 435290
Assignee | ||
Comment 3•16 years ago
|
||
Patch checked in. For regressions, look at various folder actions, specifically: -deleting folders -emptying trash -compacting folders -renaming folders -copying/moving messages and folders to other folders Checking in mail/base/content/mail3PaneWindowCommands.js; /cvsroot/mozilla/mail/base/content/mail3PaneWindowCommands.js,v <-- mail3PaneWindowCommands.js new revision: 1.45; previous revision: 1.44 done Checking in mail/base/content/widgetglue.js; /cvsroot/mozilla/mail/base/content/widgetglue.js,v <-- widgetglue.js new revision: 1.23; previous revision: 1.22 done Checking in mailnews/base/public/nsIMessenger.idl; /cvsroot/mozilla/mailnews/base/public/nsIMessenger.idl,v <-- nsIMessenger.idl new revision: 1.75; previous revision: 1.74 done Checking in mailnews/base/resources/content/messengerdnd.js; /cvsroot/mozilla/mailnews/base/resources/content/messengerdnd.js,v <-- messengerdnd.js new revision: 1.64; previous revision: 1.63 done Checking in mailnews/base/resources/content/widgetglue.js; /cvsroot/mozilla/mailnews/base/resources/content/widgetglue.js,v <-- widgetglue.js new revision: 1.176; previous revision: 1.175 done Checking in mailnews/base/src/nsMessenger.cpp; /cvsroot/mozilla/mailnews/base/src/nsMessenger.cpp,v <-- nsMessenger.cpp new revision: 1.388; previous revision: 1.387 done Checking in mailnews/base/src/nsMessenger.h; /cvsroot/mozilla/mailnews/base/src/nsMessenger.h,v <-- nsMessenger.h new revision: 1.49; previous revision: 1.48 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 4•16 years ago
|
||
This broke compacting all folders - I'll try to find a fix.
Comment 5•16 years ago
|
||
this restores the old logic for doing a compact vs. doing a compact all.
Attachment #322948 -
Flags: review?(bugzilla)
Updated•16 years ago
|
Target Milestone: --- → mozilla1.9
Comment 6•16 years ago
|
||
Comment on attachment 322948 [details] [diff] [review] fix compact all [Checkin: Comment 10] Well this works fine and fixes the problem, but I don't have review privs for mail/ :-(
Attachment #322948 -
Flags: review?(bugzilla)
Comment 7•16 years ago
|
||
Comment on attachment 322948 [details] [diff] [review] fix compact all [Checkin: Comment 10] Yes this works fine, David. r=me
Attachment #322948 -
Flags: review+
Updated•16 years ago
|
Attachment #322948 -
Attachment description: fix compact all → [checked in]fix compact all
Updated•16 years ago
|
Keywords: dev-doc-needed
Updated•16 years ago
|
Product: Core → MailNews Core
Comment 8•15 years ago
|
||
Looks like this was done ages ago.
Keywords: dev-doc-needed → dev-doc-complete
Comment 9•15 years ago
|
||
Comment on attachment 307867 [details] [diff] [review] patch v1 [Checkin: Comment 3+9] http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=ThunderbirdTinderbox&sortby=Date&hours=2&date=explicit&mindate=2008-05-26+07%3A46&maxdate=2008-05-26+07%3A46 forgot a seamonkey file for bug 421443
Attachment #307867 -
Attachment description: patch v1 → patch v1
[Checkin: Comment 3+9]
Comment 10•15 years ago
|
||
Comment on attachment 322948 [details] [diff] [review] fix compact all [Checkin: Comment 10] http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/mail/base/content/widgetglue.js&rev=HEAD&mark=1.24#1.25
Attachment #322948 -
Attachment description: [checked in]fix compact all → fix compact all
[Checkin: Comment 10]
You need to log in
before you can comment on or make changes to this bug.
Description
•