Thunderbird shouldn't jar chrome it can't use, especially when it doesn't jar strings for it

RESOLVED FIXED

Status

()

RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: philor, Assigned: philor)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
Created attachment 354584 [details] [diff] [review]
Fix v.1

This started out as "don't jar chrome in editor/ui/jar.mn that depends on strings Thunderbird doesn't jar in editor/ui/locales/jar.mn" but then once I got to throwing things out, it expanded a bit, since we don't have any way of toggling on EditorAllTags.css so the only tag-*.gif we need is tag-anchor.gif (neatly bringing me back around to where I started, with bug 471223, since apparently at one point we didn't package any of the images, and forked just that one).

Not as impressive as I'd like with my standard measure, since "how much does it change the size of the Windows installer?" is only a 48,042 byte drop, though the 325,293 byte drop in the installed comm.jar sounds a little better.

Sorry the diff's so ugly - the + lines with trailing whitespace are, near as I can tell, only the bogo-diff ones that I'm not actually touching, where diff decided to claim I moved things that really stayed still.

(And yes, I did notice the horrible fact that we have CSS for some of these XUL things that we don't have strings for, but I'll kill that in a separate Tb bug.)
Attachment #354584 - Flags: superreview?(neil)
Attachment #354584 - Flags: review?(bugzilla)

Comment 1

10 years ago
Comment on attachment 354584 [details] [diff] [review]
Fix v.1

The diff would be half the size if you had added the suite lines to the existing ifdef. Also, git-apply complains you're adding trailing whitespace.
Attachment #354584 - Flags: superreview?(neil) → superreview+
(Assignee)

Comment 2

10 years ago
The diff would be half the size and git-apply wouldn't falsely blame me for the crap that's there in lines I never even touched, if I could figure out how to tell qdiff to pull its head out and minimize changes, not maximize them.

More interesting question: would it be more, or less, readable if the suite files and suite overlays were in a single block? I thought less, so I went the other way, but I'm not entirely sure.
Attachment #354584 - Flags: review?(bugzilla) → review+
(Assignee)

Comment 3

10 years ago
http://hg.mozilla.org/comm-central/rev/af5e14b48e54
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.