Closed Bug 315890 Opened 20 years ago Closed 20 years ago

Move extensions/xmlextras somewhere

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(1 file)

I need to move extensions/xmlextras "somewhere in tier 9" so that it can be incorporated into libxul. There are three options: 1) By far the easiest thing for me to do is move the code exactly as is to content/xmlextras and have it continue building it's own XPCOM component (it would not be part of the gklayout.dll component). 2) Slightly harder, but within my immediate capabilities, is to move extensions/xmlextras to content/xmlextras and move it into the layout module. This is slightly harder because I think I need to preserve some kind of --disable-xmlextras configure option. 3) Some have suggested moving the individual pieces of xmlextras into the "correct" locations in the file hierarchy... I don't even know what these are, and I don't think I have time to do this. So unless somebody steps up and can get something done in the next week or so, I'd like to go with option 1 or 2.
Does anyone actually use --disable-xmlextras? I believeminimo builds with xmlextras these days. Would we save much in terms of diskspace by using option 2 (I assume it would compile then into gklayout)?
Thunderbird currently does not build xmlextras. The disk space diff between 1) and 2) would probably be minimal.
Why does xmlextras need to physically move in the tree? Why not just fix the build machinery to deal with stuff in mozilla/extensions?
The build machinery for mozilla/extensions is poor, and I'm trying to move most things that are not actually extensions out of that directory.
> The build machinery for mozilla/extensions is poor, and I'm trying to move most > things that are not actually extensions out of that directory. We could fix the build machinery for mozilla/extensions, no? Or, rather... couldn't we work around it by adding extensions/xmlextras to one of the earlier build tiers and then remove it from MOZ_EXTENSIONS_ALL (or whatever the configure.in variable is)? At any rate, it would seem that option #3 is probably best for xmlextras, so I was thinking that it might be easier to unblock your work by hacking the build machinery instead of trying to figure out how best to refactor xmlextras into the rest of the tree. Just my 2 cents...
I'm wrong about tbird, it does enable xmlextras, because extension manager and update depend on XMLHttpRequest.
This is darin's expedient solution, to keep the files in extensions/xmlextras for the time being and just build them from a different tier.
Attachment #203429 - Flags: review?(doronr)
Comment on attachment 203429 [details] [diff] [review] darin's expedient solution Did you mean darin?
Attachment #203429 - Flags: review?(doronr)
Comment on attachment 203429 [details] [diff] [review] darin's expedient solution jst is really the module owner.
Attachment #203429 - Flags: review?(jst)
Comment on attachment 203429 [details] [diff] [review] darin's expedient solution r+sr=jst
Attachment #203429 - Flags: superreview+
Attachment #203429 - Flags: review?(jst)
Attachment #203429 - Flags: review+
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 203429 [details] [diff] [review] darin's expedient solution We need this on the 1.8 branch as well.
Attachment #203429 - Flags: branch-1.8.1?(jst)
(I tried to apply that patch on the branch, but wasn't able to trivially resolve the rejections, so I just forced xmlextras to build and moved on with my places-testing life.)
Attachment #203429 - Flags: approval-branch-1.8.1?(jst) → approval-branch-1.8.1+
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: