Closed
Bug 109488
Opened 23 years ago
Closed 23 years ago
Collapse the all-*.rdf and user-*.rdf files into one file
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.7
People
(Reporter: hyatt, Assigned: hyatt)
References
Details
(Keywords: perf)
Attachments
(3 files, 2 obsolete files)
10.42 KB,
patch
|
brendan
:
superreview+
|
Details | Diff | Splinter Review |
3.71 KB,
text/plain
|
Details | |
1.31 KB,
text/plain
|
Details |
This bug covers taking the chrome registry RDF files and simplifying the code by merging all the RDF files together.
Assignee | ||
Comment 1•23 years ago
|
||
Targeting for 0.9.7. Adding perf keyword.
Assignee | ||
Updated•23 years ago
|
OS: Windows 2000 → All
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
This patch collapses all of the all-* and user-*.rdf files into two files, one in the profile and one in the install dir. In a typical usage scenario, the user's skin/locale selections (once they start switching skins etc.) are kept in the profile file, and everything else is basically in the chrome file.
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Attachment #58560 -
Attachment is obsolete: true
Assignee | ||
Comment 5•23 years ago
|
||
Actually I changed my mind about removing this feature. If I do what I was talking about with dp (storing info in chrome.rdf about whether or not your package has stylesheets or overlays), then I can stop the file misses without sacrificing the feature.
Comment 6•23 years ago
|
||
would it be a better idea to hold mBatchInstallFlushes in some automatic helper class, in case you bail out halfway due to some freaky failure?
Assignee | ||
Comment 7•23 years ago
|
||
I doubt it matters, since any freaky failure in the middle of chrome registration will probably be fatal anyway. :)
Comment 8•23 years ago
|
||
Comment on attachment 58580 [details] [diff] [review] Patch to also remove support for stylesheets.rdf, since it isn't used by anyone. r=dp
Assignee | ||
Comment 9•23 years ago
|
||
Attachment #58580 -
Attachment is obsolete: true
Comment 10•23 years ago
|
||
Comment on attachment 58591 [details] [diff] [review] Revised patch. dp reviewed this. rubbery sr=brendan@mozilla.org, the chrome registry code still seeks kinda fast and loose, but more power to it for not being bloated with error handling junk! /be
Attachment #58591 -
Flags: superreview+
Comment 11•23 years ago
|
||
Fixing this bug broken my idea for default settings (settings for skin and locale) in localized builds. By editing user-locales.rdf and user-skins.rdf files and copying them to \Mozilla.org\Mozilla\chrome\ dir I could set default skin / locale. In this way any new profile was with Modern skin and Polish language. Now this feature is broken and new profile has Classic skin and English language by default. I can't also edit chrome.rdf because this is Mozilla generate file. So I'm asking for re-enabling reading user-locales.rdf and user-skins.rdf only in \Mozilla.org\Mozilla\chrome or creating for example user-chrome.rdf file with user settings. I'm attaching edited user-locales.rdf and user-skins.rdf files.
Comment 12•23 years ago
|
||
Comment 13•23 years ago
|
||
Assignee | ||
Comment 14•23 years ago
|
||
You can define a chrome.rdf file in your profile that contains your locale/skin settings.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
First: This wont setup localized and skined Profile Manager (will be always in English and with Classic skin) Second: When I making localized builds (*.exe, *.tar.gz) I want that my locale would be default, for example newbie user is installing mozilla, then Profile Manager is started with PL locale and Modern skin, newly created profile is also in PL locale and Modern skin (it was working before). With this changes to this bug newbie is installing localized version, but first thought is "This is localized version but why Profile Manger is in English" and "Why my new profile is in English" :((((
Assignee | ||
Comment 16•23 years ago
|
||
You can edit chrome.rdf in either the install or profile to get the settings you need. No features have been lost here. All I did was collapse all-*.rdf and user-*.rdf into a single file. You can still put the same information into the rdf file that was in all-* or user-*.
Comment 17•23 years ago
|
||
Did I said that this files (user*) were copied (to \Mozilla.org\Mozilla\chrome\) during localized build installation (this must be automated process, newbie user shouldn't edit chrome as You suggested)? But I've already tested it and I put info about locale and skin into chrome.rdf (and nothing more) and if this file will be copied to \Mozilla.org\Mozilla\chrome\ during installation all post installation changes into registry will be added to this file (Thats ok - everything seems fine). But really don't know what will happen if user who already have Mozilla will install only langpack (with preedited chrome.rdf) - will registry be overvritten, added, or nothing will change or Mozilla will crash?
Comment 18•23 years ago
|
||
Eh David, the MultiZilla installation doesn't work after this change. What do I need to change in order to get it going again? Thanks, -Neil.
Comment 19•23 years ago
|
||
Marek, what you need is bug 54904 (ability to select default skin in an install). Overwriting the user-* files was never the right way to do it, but now that the hack workaround has been taken away the importance of bug 54904 is much higher. Please lobby/vote in that bug.
Comment 20•23 years ago
|
||
Thnx for info about 54904 bug.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•