Closed
Bug 221603
Opened 22 years ago
Closed 18 years ago
package the profile UI in toolkit.jar
Categories
(Core Graveyard :: Profile: BackEnd, defect)
Core Graveyard
Profile: BackEnd
Tracking
(Not tracked)
RESOLVED
WORKSFORME
mozilla1.6alpha
People
(Reporter: p_ch, Assigned: p_ch)
Details
Attachments
(2 files, 1 obsolete file)
|
39.07 KB,
patch
|
dveditz
:
review-
|
Details | Diff | Splinter Review |
|
2.86 KB,
patch
|
Details | Diff | Splinter Review |
Atm, the profile UI is packaged in comm.jar. And since libprofile.so is part of
the GRE, any XUL app have to ship with comm.jar.
We should cut this dependency.
After applying the patch I will attach shortly, some skin files need to be moved:
o from themes/classic/communicator/profile to themes/classic/global/profile
- migrate.gif
- newProfile1_2.css
- profile.css
- profileicon-large.gif
- profileManager.css
o from themes/modern/communicator/profile to themes/modern/global/profile
- migrate.gif
- newProfile1_2.css
- profile.css
- profile.gif
| Assignee | ||
Updated•22 years ago
|
OS: Linux → All
Hardware: PC → All
| Assignee | ||
Comment 1•22 years ago
|
||
what a mess.
can't you just move profile manager to chrome://profile/.../ and then let
the chrome service map that to whatever jar it chooses.
| Assignee | ||
Comment 3•22 years ago
|
||
following timeless comment, by putting the profile manager UI in a top level
directory.
Attachment #132893 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•22 years ago
|
||
New contents.rdf files.
| Assignee | ||
Updated•22 years ago
|
Attachment #133664 -
Flags: superreview?(bzbarsky)
Attachment #133664 -
Flags: review?(ccarlen)
| Assignee | ||
Updated•22 years ago
|
Attachment #133666 -
Flags: superreview?(bzbarsky)
Attachment #133666 -
Flags: review?(ccarlen)
Comment 6•22 years ago
|
||
I may well not be able to review this before the freeze...
| Assignee | ||
Comment 7•22 years ago
|
||
bz: np, I'll go for sr hunting.
Forgot to mention that
- themes/classic/communicator/profile should be moved to themes/classic/profile
- themes/modern/communicator/profile should be moved to themes/modern/profile
Comment 8•22 years ago
|
||
If profile chrome is in a new top level directory, doesn't that require changes
to xpinstall?
| Assignee | ||
Updated•22 years ago
|
Attachment #133664 -
Flags: superreview?(bzbarsky) → superreview?(bryner)
| Assignee | ||
Updated•22 years ago
|
Attachment #133666 -
Flags: superreview?(bzbarsky) → superreview?(bryner)
| Assignee | ||
Comment 9•22 years ago
|
||
ccarlen: I didn't know it was necessary since I didn't create a new jar file.
Since bz is busy, requesting sr and advice from bryner.
Comment 10•22 years ago
|
||
Yes, if you create a new contents.rdf (or equivalently, change the build scripts
to add lines to installed-chrome.txt) you need to add registerChrome() calls to
various install scripts. You'll have to register the locale chrome in the
lang????.jst script templates and the content and skin wherever other
toolkit.jar chrome is registered (probably various xpcom.jst, possibly browser.jst).
Comment 11•22 years ago
|
||
Comment on attachment 133664 [details] [diff] [review]
patch v2.0
r- primarily for missing install and build fu
>Index: allmakefiles.sh
>===================================================================
>+profile/resources/content/contents.rdf
>+profile/resources/locale/en-US/contents.rdf
This can't be right, other than this addition everything else is a makefile (as
you'd expect from the file's name, which is not allmakefilesandcontentsrdf.sh).
see
http://lxr.mozilla.org/mozilla/source/xpfe/global/resources/content/Makefile.in
#42 for example.
Has Seamonkey and Firebird combined to use a single "Mozilla" toolkit now? If
not putting one of them into the GRE seems a bit wrong. Putting app-specific
dialogs into toolkit.jar also seems wrong. I think you're going to have to run
this by whoever owns toolkit these days (ben goodger? bryner might know) but
I'm guessing you need to end up with a separate profile.jar -- lumping this in
toolkit makes less work for *you*, but I don't think you can otherwise argue
it's better that way. But I'll let others argue that point, my r- is for the
build breakage and missing install piece. Of course the decisions made on the
points I raise here will impact exactly what you register in the makefile and
install scripts.
Attachment #133664 -
Flags: review?(ccarlen) → review-
Comment 12•22 years ago
|
||
dveditz, see
http://bonsai.mozilla.org/cvsblame.cgi?
file=mozilla/allmakefiles.sh&rev=1.446&mark=60-63,314,441-442,666-
668,685,687,689,703,728-730,732,734,736-737,739,741-742,747-749,754-755,#60
I gave up marking, it's a royal pain. i blame kario :)
basically someone decided that since this file does magic conversions it would
be a good way to version rdf files.
the explanation for why we version them this way isn't rational so i'm not
going to try to explain it here (people curious about why i don't like it are
free to ask me outside bugzilla).
Comment 13•22 years ago
|
||
The contents.rdf thing is totally valid; we generate those files with configure
now so that MOZILLA_VERSION can be substituted in (which makes it so we don't
have content and locale versions getting out of sync when we bump the version).
I'm not sure what other "missing install piece" dveditz is referring to.
Whether it should be in toolkit.jar is debatable. I would personally say that
since you've gone ahead and moved its chrome package (chrome://profile/), it
might make sense to go ahead and split it into a new jar file as dveditz suggests.
Then again, more jar files slows startup time, etc. dveditz, are you saying the
GRE includes toolkit.jar? I thought it just included embed.jar.
Comment 14•21 years ago
|
||
pch, what are you planning to do with this patch?
Comment 15•21 years ago
|
||
Comment on attachment 133664 [details] [diff] [review]
patch v2.0
clearing review request due to unaddressed questions
Attachment #133664 -
Flags: superreview?(bryner)
Comment 16•21 years ago
|
||
Comment on attachment 133666 [details] [diff] [review]
Patch v2.0 continued
clearing review request due to unaddressed questions
Attachment #133666 -
Flags: superreview?(bryner)
Comment 17•18 years ago
|
||
This happened with the profile rewrite.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Comment 18•18 years ago
|
||
Comment on attachment 133666 [details] [diff] [review]
Patch v2.0 continued
Since this bug has been resolved as WFM, I'm removing the
review request.
Attachment #133666 -
Flags: review?(ccarlen)
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•