Closed Bug 286096 Opened 20 years ago Closed 20 years ago

Review xpfe component usage in Camino

Categories

(Camino Graveyard :: General, defect, P2)

PowerPC
macOS

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

References

Details

Attachments

(1 file, 1 obsolete file)

We have a number of bugs in Camino because we load xpfe components by mistake
(bug 285554, bug 280342).

I think we should figure out which of these components we really need, and make
sure only those are registered. This may involve #ifdeffing
xpfe/build/nsModule.cpp, or making our own.
Severity: normal → major
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → Camino0.9
Attached patch xpfe build patch (obsolete) — Splinter Review
Here's the patch in all its vomitous glory. #ifdeffing galore!
Attachment #178208 - Flags: review?(benjamin)
Blocks: 280342
Comment on attachment 178208 [details] [diff] [review]
xpfe build patch

Holy smokes, we need to really solve this xpfe/components problem sometime. But
yes, this is the right solution in the short term.
Attachment #178208 - Flags: review?(benjamin) → review+
Attachment #178208 - Flags: superreview?(bryner)
Comment on attachment 178208 [details] [diff] [review]
xpfe build patch

This patch doesn't work. You can't write preprocessor expressions like 

#if (MOZ_BUILD_APP != macbrowser)

so we need to define MACBROWSER somewhere, as I originally suggested.
Attachment #178208 - Attachment is obsolete: true
Attachment #178208 - Flags: superreview?(bryner)
Attached patch Revised patchSplinter Review
Attachment #178310 - Flags: review?(timeless)
Comment on attachment 178310 [details] [diff] [review]
Revised patch

you need to carry r=bsmedberg for the build bits ;-)
Attachment #178310 - Flags: review?(timeless) → review+
Attachment #178310 - Flags: superreview?(benjamin)
Comment on attachment 178310 [details] [diff] [review]
Revised patch

Ick, that sucks. Oh well, I'll go back to the MOZ_BUILD_APP drawing boards some
other time.
Attachment #178310 - Flags: superreview?(benjamin) → superreview+
Checked in. Thanks all. This also resolves bug 285554 and bug 280342.
Blocks: 285554
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: