Closed Bug 368264 Opened 18 years ago Closed 18 years ago

Various components missing from win32 installer builds (chardet.dll, universalchardet.dll) -- no auto-detect character encoding

Categories

(SeaMonkey :: Installer, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: neil)

References

()

Details

(Keywords: fixed-seamonkey1.1.1, regression)

Attachments

(2 files)

Bug 361437 switched the installer to use local GRE by default.  With local GRE, various things are missing after installation.  Specifically, chardet.dll and unversalchardet.dll, probably others.  The symptom people seem to notice is that the "auto-detect" character encoding menu item is missing.

The reason for the bustage is that browser.jst deletes the files after they get installed.  The upgradeCleanup first deletes files it thinks are not part of the GRE and then files that are part of the GRE /if/ the GRE was not installed locally.  Unforunately, the lists are wrong.  chardet.dll and universalchardet.dll (among others) are both in the non-GRE list.

To fix this, either
1. Identify all files that are part of the GRE (see mozilla/embedding/config/)
2. Move those files from the non-GRE list to the GRE list.
or
Switch back to non-local GRE.
Flags: blocking-seamonkey1.1.1?
Neil, can I have your r and sr to back out BenoitRen's patch?  And KaiRo's approval?  Non-local GRE got much more testing than local.
Flags: blocking-seamonkey1.1.1? → blocking-seamonkey1.1.1+
Attached patch Proposed patchSplinter Review
By saving the installer files locally and removing the call to upgradeCleanup I was able to verify that only these two files are affected.
Assignee: benoit → neil
Status: NEW → ASSIGNED
Attachment #252897 - Flags: review?(ajschult)
Nice. I'd much more prefer if we are able to solve this with keeping locale GRE in place.
Comment on attachment 252897 [details] [diff] [review]
Proposed patch

right.  I just verified that all the other files from gre.xpi were not deleted.
Attachment #252897 - Flags: review?(ajschult) → review+
Fix checked in to the trunk, but leaving on the radar for the branch.
Attached patch Branch patchSplinter Review
Branch really doesn't want chardet.dll but it wants universalchardet.dll (View/Character Coding/Auto-Detect/Universal).
Attachment #253032 - Flags: review?(ajschult)
Attachment #253032 - Flags: approval-seamonkey1.1.1?
Comment on attachment 253032 [details] [diff] [review]
Branch patch

a=me for 1.1.1 (given it gets r+)
Attachment #253032 - Flags: approval-seamonkey1.1.1? → approval-seamonkey1.1.1+
Comment on attachment 253032 [details] [diff] [review]
Branch patch

r=me
(note that packager/build/ is super-obsolete)
Attachment #253032 - Flags: review?(ajschult) → review+
Fixed on the branch too.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Blocks: 368823
Component: Installer: XPI Packages → Installer
QA Contact: xpi-packages → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: