Closed
Bug 188251
Opened 22 years ago
Closed 22 years ago
shrink embedding resource footprint
Categories
(Core Graveyard :: Embedding: GRE Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.3beta
People
(Reporter: alecf, Assigned: alecf)
Details
(Whiteboard: still need to do mac/unix)
Attachments
(3 files)
71.08 KB,
patch
|
bzbarsky
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
907 bytes,
patch
|
bzbarsky
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
6.77 KB,
patch
|
dougt
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
I found a few minor tweaks we can make to shrink our embedding/GRE footprint, by tweaking and/or removing some resources. 1) transliterate.properties contains a ton of comments - 47k of them in fact. By stripping the comments I saved 47k of disk footprint. 2) we can dump a bunch of math .properties and .css files by specifying individual font and entityTables in basebrowser-*-supp. By dropping MathML support entirely, we drop at least 192k in resource files 3) necko2.dll is no longer necessary as of this moment - I moved the FTP stuff into the main necko DLL - I think the savings will be around 44k. Patch forthcoming.
Assignee | ||
Comment 1•22 years ago
|
||
This cleans up transliterate.properties by removing all the unnecessary comments, and cleans up basebrowser-win and basebrowser-win-supp to make mathML not part of the default embedding configuration, as well as removing necko2.dll
Assignee | ||
Comment 2•22 years ago
|
||
Comment on attachment 110990 [details] [diff] [review] clean up resource inclusion on windows Doug/Darin can I get reviews? its most just manifest cleanups and comment removal
Attachment #110990 -
Flags: superreview?(darin)
Attachment #110990 -
Flags: review?(dougt)
Comment 3•22 years ago
|
||
wouldn't it be better to handle comment removal at build time via a script? Unless that file is auto-generated, that change will make it kinda hard to work with...
Assignee | ||
Comment 4•22 years ago
|
||
the file is in fact autogenerated but was only generated once. I'm not sure anyone has every looked at the comments though, they're just overkill. I'll update the script too...
Comment 5•22 years ago
|
||
ok, thanks. ;)
Assignee | ||
Comment 6•22 years ago
|
||
Comment on attachment 110990 [details] [diff] [review] clean up resource inclusion on windows Dougt is on vacation, looking for other reviews...I'd really really like to get this in today.. can anyone help me out? bz? I'll attach the patch to the gentransliterate.pl file as well.
Attachment #110990 -
Flags: review?(dougt) → review?(bzbarsky)
Comment 7•22 years ago
|
||
Comment on attachment 110990 [details] [diff] [review] clean up resource inclusion on windows > +; components\necko_ftp.xpt Why is this no longer needed? Other than that, looks fine
Attachment #110990 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•22 years ago
|
||
here's the script that generates the files - I just commented out the line in case someone ever wants to debug this stuff.
Assignee | ||
Comment 9•22 years ago
|
||
Comment on attachment 111079 [details] [diff] [review] update the script as well And here's the script.. guess I ought to get a review on that too :)
Attachment #111079 -
Flags: superreview?(darin)
Attachment #111079 -
Flags: review?(bzbarsky)
Comment 10•22 years ago
|
||
Comment on attachment 111079 [details] [diff] [review] update the script as well r/sr=bzbarsky. Perfect.
Attachment #111079 -
Flags: review+
Assignee | ||
Comment 11•22 years ago
|
||
oops, that necko_ftp comment-out is a typo.
Comment 12•22 years ago
|
||
Comment on attachment 110990 [details] [diff] [review] clean up resource inclusion on windows >Index: embedding/config/basebrowser-win >+; optional for gopher/viewsource/etc support >+; components\necko2.dll >+; components\necko_ftp.xpt is "necko_ftp.xpt" still needed? what about necko_viewsource.xpt? otherwise sr=darin
Attachment #110990 -
Flags: superreview?(darin) → superreview+
Comment 13•22 years ago
|
||
Comment on attachment 111079 [details] [diff] [review] update the script as well sr=darin
Attachment #111079 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Whiteboard: still need to do mac/unix
Target Milestone: --- → mozilla1.3beta
Updated•22 years ago
|
Attachment #111079 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 14•22 years ago
|
||
This cleans up the mac/unix embedding manifests in the same manner - in addition you'll notice that I'm removing references to gkcontent as per fallout from bug 106161
Assignee | ||
Comment 15•22 years ago
|
||
Comment on attachment 111522 [details] [diff] [review] cleanup mac/unix as well doug/bryner - do you mind reviewing? Easy stuff - bryner I asked you because this includes the layout/content merge...
Attachment #111522 -
Flags: superreview?(bryner)
Attachment #111522 -
Flags: review?(dougt)
Updated•22 years ago
|
Attachment #111522 -
Flags: superreview?(bryner) → superreview+
Comment 16•22 years ago
|
||
Comment on attachment 111522 [details] [diff] [review] cleanup mac/unix as well sure.
Attachment #111522 -
Flags: review?(dougt) → review+
Assignee | ||
Comment 17•22 years ago
|
||
ok, all fixed. thanks folks.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•