Closed
Bug 379431
Opened 17 years ago
Closed 17 years ago
Remove xpcom_obsolete from mailnews and mail
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mscott, Assigned: Bienvenu)
References
Details
Attachments
(2 files)
8.36 KB,
patch
|
mscott
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
2.78 KB,
patch
|
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
Now that the filespec stuff is gone (Yay!!!)... David do you want to remove xpcom_obsolete from mailnews and mail so we stop building and linking against xpcom_obsolete? I think there are some thunderbird packaging changes and a change to removed-files.in we can make too.
Flags: blocking-thunderbird3+
Assignee | ||
Comment 1•17 years ago
|
||
Not quite yet. We're still using nsIRegistry in mail/components/migration and/or mainews/import (can't remember which). I looked at replacing those methods with their NSReg equivalents, but it will take a bit of effort.
Comment 2•17 years ago
|
||
Not yet tested, since I don't seem to have any Netscape profiles laying around, but this is basically a straight port of the Fx fix from bug 333874 (along with the bug 247427 "followup fix" to ensure we're opening something that exists, since it was there for the stealing, too).
Comment 3•17 years ago
|
||
Oh, and nsIRegistry.h is included in /mailnews/base/build/nsMsgFactory.cpp, though I didn't spot why.
Assignee | ||
Comment 4•17 years ago
|
||
Ah, bless you, Phil. That registry code was the straw that broke the camel's back - I really didn't want to deal with it :-) It looks reasonable to me. I don't think nsMsgFactory.cpp needs that include, but I can check.
Updated•17 years ago
|
OS: Windows Vista → All
Hardware: PC → All
Assignee | ||
Comment 5•17 years ago
|
||
Comment on attachment 263442 [details] [diff] [review] [checked in] Something borrowed looks good to me.
Attachment #263442 -
Flags: superreview+
Attachment #263442 -
Flags: review?(mscott)
Reporter | ||
Comment 6•17 years ago
|
||
Comment on attachment 263442 [details] [diff] [review] [checked in] Something borrowed although we may not need this anymore if we are removing support for netscape migration..
Attachment #263442 -
Flags: review?(mscott) → review+
Comment 7•17 years ago
|
||
I'm going to be gone all weekend, so if this is on the critical path for making things go away, I'll need someone to check it in (with the nsMsgFactory.cpp include removed, too). And unless I'm confused a different way now, we do still need it, since nsNetscapeProfileMigratorBase is providing base services, including GetProfileDataFromRegistry(), to nsSeamonkeyProfileMigrator as well.
Reporter | ||
Comment 8•17 years ago
|
||
looks like this patch hasn't made it in yet, do you want the honors Phil?
Reporter | ||
Comment 9•17 years ago
|
||
Once Phil's patch lands, we'll want to check this in too. It stops us from building xpcom_obsolete for Thunderbird! I've verified with a clean tree on Windows that we successfully build without xpcom_obsolete.
Attachment #269441 -
Flags: superreview?(bienvenu)
Assignee | ||
Updated•17 years ago
|
Attachment #269441 -
Flags: superreview?(bienvenu) → superreview+
Comment 10•17 years ago
|
||
Comment on attachment 263442 [details] [diff] [review] [checked in] Something borrowed Wow, that was a *long* long weekend. I need some scheme for remembering patches on bugs I'm not assigned, where I didn't request the reviews. Sorry for the delay, which judging by the bitrot actually made extra work for someone doing other fixes for stuff I was supposed to have removed. Oops. mail/components/build/Makefile.in 1.14 mail/components/migration/src/Makefile.in 1.9 mail/components/migration/src/nsNetscapeProfileMigratorBase.cpp 1.8
Attachment #263442 -
Attachment description: Something borrowed → [checked in] Something borrowed
Reporter | ||
Comment 11•17 years ago
|
||
Comment on attachment 269441 [details] [diff] [review] [checked in]additional changes to stop building xpcom_obsolete I just landed this so we should no longer be building xpcom_obsolete! w00t! Thanks for fixing the nsIRegistry stuff Phil.
Attachment #269441 -
Attachment description: additional changes to stop building xpcom_obsolete → [checked in]additional changes to stop building xpcom_obsolete
Reporter | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 12•17 years ago
|
||
Scott, you may want to add xpcom_obsolete.xpt to removed-files as well so the updater will remove it from installed builds.
Reporter | ||
Comment 13•17 years ago
|
||
It's already in removed-files.in: http://mxr.mozilla.org/mozilla/source/mail/installer/removed-files.in#155 We weren't accessing any of the obsolete objects through xpconnect anymore. :)
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•