Closed
Bug 70857
Opened 24 years ago
Closed 24 years ago
[XUL Syntax] Replace <boxDerivedTag align="horizontal|vertical"> with <boxDerivedTag orient="horizontal|vertical">
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.3
People
(Reporter: hyatt, Assigned: hamfastgamgee)
References
Details
(Whiteboard: [XUL1.0][br])
Attachments
(19 files)
60.53 KB,
patch
|
Details | Diff | Splinter Review | |
16.46 KB,
patch
|
Details | Diff | Splinter Review | |
133.02 KB,
patch
|
Details | Diff | Splinter Review | |
405.92 KB,
patch
|
Details | Diff | Splinter Review | |
396.78 KB,
patch
|
Details | Diff | Splinter Review | |
760.13 KB,
patch
|
Details | Diff | Splinter Review | |
745.86 KB,
patch
|
Details | Diff | Splinter Review | |
733.85 KB,
patch
|
Details | Diff | Splinter Review | |
740.34 KB,
patch
|
Details | Diff | Splinter Review | |
744.11 KB,
patch
|
Details | Diff | Splinter Review | |
744.73 KB,
patch
|
Details | Diff | Splinter Review | |
747.62 KB,
patch
|
Details | Diff | Splinter Review | |
744.42 KB,
patch
|
Details | Diff | Splinter Review | |
742.77 KB,
patch
|
Details | Diff | Splinter Review | |
742.77 KB,
patch
|
Details | Diff | Splinter Review | |
16.30 KB,
patch
|
Details | Diff | Splinter Review | |
722.37 KB,
patch
|
Details | Diff | Splinter Review | |
1.97 KB,
patch
|
Details | Diff | Splinter Review | |
39.94 KB,
patch
|
Details | Diff | Splinter Review |
Using align to specify orientation has been deprecated for a year. Let's
ditch it and make sure we've replaced all uses of it with orient.
Reporter | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Summary: Replace <box align="horizontal|vertical"> with <box orient="horizontal|vertical"> → [XUL Syntax] Replace <box align="horizontal|vertical"> with <box orient="horizontal|vertical">
Whiteboard: [XUL1.0]
Target Milestone: --- → mozilla1.0
Comment 1•24 years ago
|
||
or, better yet, hbox & vbox.
Comment 2•24 years ago
|
||
There are quite a few aligns out there!
http://lxr.mozilla.org/seamonkey/search?string=align%3D%22horizontal%22
http://lxr.mozilla.org/seamonkey/search?string=align%3D%22vertical%22
Comment 3•24 years ago
|
||
*** This bug has been marked as a duplicate of 73671 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 4•24 years ago
|
||
Nope, blake, this isn't a dup. I've updated the summary to make it more clear.
In many places, people say things like...
<someTag align="vertical">
where they can't replace it with <vbox>, since <someTag> isn't necessarily a box.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: [XUL Syntax] Replace <box align="horizontal|vertical"> with <box orient="horizontal|vertical"> → [XUL Syntax] Replace <* align="horizontal|vertical"> with <box orient="horizontal|vertical">
Reporter | ||
Updated•24 years ago
|
Status: REOPENED → ASSIGNED
Reporter | ||
Updated•24 years ago
|
Summary: [XUL Syntax] Replace <* align="horizontal|vertical"> with <box orient="horizontal|vertical"> → [XUL Syntax] Replace <boxDerivedTag align="horizontal|vertical"> with <boxDerivedTag orient="horizontal|vertical">
Assignee | ||
Comment 5•24 years ago
|
||
I think I've got this done locally.... I'll attach a couple of patches I've
come up with today. It just brutally changes every instance in CSS and XUL of
align="horizontal" and align="vertical" to orient="horizontal" and
orient="vertical", respectively. The only files I couldn't do are in the Mac
classic skin (which I have no means of getting ahold of, unless I hijack my
parents' Mac). Could there be any fallout from this change, or are they
equivalent in every way (thus meaning I couldn't break anything with this)? :)
Assignee | ||
Comment 6•24 years ago
|
||
Assignee | ||
Comment 7•24 years ago
|
||
Assignee | ||
Comment 8•24 years ago
|
||
Assignee | ||
Comment 9•24 years ago
|
||
I got a complete tree and ran a cvs diff against it. That's the most recent
patch. It should be ready for r=/sr=, assuming there's nothing that these
changes could possibly mess up (I have no resources to regression test
everything).
Assignee | ||
Comment 10•24 years ago
|
||
Assignee | ||
Comment 11•24 years ago
|
||
The patch following (ignore the first four) does the following things:
Bug 70857:
All instances of align="horizontal" -> orient="horizontal" in XUL and CSS
All instances of align="vertical" -> orient="vertical" in XUL and CSS
Bug 70748:
All instances of <titledbox> -> <groupbox> in all files (and all fallout
therein, including the change of the atom)
New ugly styling of <titledbox> put in to encourage migration, at suggestion of
ben
Bug 65428:
All instances of type="text/javascript" -> type="application/x-javascript"
All instances of language="javascript" -> type="application/x-javascript"
No bug I know of:
<html:script> -> <script> in XUL (I was in the files anyway, so I just thought,
what the heck)
Should all be there now. Thanks for your patience with me. :)
Assignee | ||
Comment 12•24 years ago
|
||
Assignee | ||
Comment 13•24 years ago
|
||
I'll take this one. Targeting to 0.9.3, assuming I can get r=/sr= on the patch
I'll submit later. The new one fixes all previously mentioned issues, plus
73671.
Assignee: hyatt → andersma
Status: ASSIGNED → NEW
Target Milestone: mozilla1.0 → mozilla0.9.3
Assignee | ||
Comment 14•24 years ago
|
||
Assignee | ||
Comment 15•24 years ago
|
||
Assignee | ||
Comment 16•24 years ago
|
||
This last patch contains the correct fix for 70748 (it's a lot less work than I
was fearing), and it has been tested somewhat more. Also, I forgot to mention
earlier that this also fixes a minor bug in Mac Classic (the CSS styles for the
change to <label> instead of <title> had not been changed for Mac Classic's
titledbox.css). So, this should be good to go, and it should work completely
(but I have no way to regression test everything, of course), unless I've made a
minor mistake in conversion to <hbox> and <vbox> (the only thing I'm worried
about right now, because my converter that I wrote may have missed a fringe
case). Also, <titledbox> and <groupbox> are both supported for now, per Ben's
concerns on IRC (<titledbox> is merely replaced in all instances in Mozilla; it
has not yet been deprecated).
I of course have no way to alter Netscape's commercial files that may have
instances of the older syntaxes, so I'm going to have to count on someone else
to do that. But no existing instances should be broken by any of these changes,
as support has not been removed for any syntax as of yet.
Status: NEW → ASSIGNED
Assignee | ||
Comment 17•24 years ago
|
||
Assignee | ||
Comment 18•24 years ago
|
||
This latest patch has r=timeless (given on IRC) and is awaiting sr=blake. :)
Assignee | ||
Comment 20•24 years ago
|
||
Ok, the following patch is sr=blake for all except one more fix that I added,
which corrects <vbox> grippy orientation in Modern and Mac Classic (at request
of rginda); it had been different from <box orient="vertical">. That should be
sr=blake by the end of tonight. This forthcoming patch is brought up to the
tip, and is ready for blake to checkin right at the opening of 0.9.3, whatever
god you may believe in willing.
Assignee | ||
Comment 21•24 years ago
|
||
Assignee | ||
Comment 22•24 years ago
|
||
Ok. Let's get this landed, shall we? Cc:ing jj@netscape.com so he'll get the
notification of the patch I'm attaching right after this message. It's diffed
to the trunk as of 2:30 PDT. It has r=timeless and sr=blake. It just needs jj
to run some tests, and we can carpool it and get this monster out of the way.
Assignee | ||
Comment 23•24 years ago
|
||
Assignee | ||
Comment 24•24 years ago
|
||
Assignee | ||
Comment 25•24 years ago
|
||
Comment 26•24 years ago
|
||
That last patch didn't apply cleanly on a pull I just did. The following files
falied:
1 out of 1 hunk FAILED when patching os2/platformDialogOverlay.xul
1 out of 8 hunks FAILED when patching EdAdvancedEdit.xul
2 out of 3 hunks FAILED when patching EdImageMap.xul
1 out of 8 hunks FAILED when patching EdImageProps.xul
1 out of 2 hunks FAILED when patching EdLinkProps.xul
Hardware: PC → All
Assignee | ||
Comment 27•24 years ago
|
||
Comment 28•24 years ago
|
||
Mark, carpool starts, you're on. Please land your changes now and let me know
when you're done so that I can kick off verification builds
Assignee | ||
Comment 29•24 years ago
|
||
Assignee | ||
Comment 30•24 years ago
|
||
Ok, so I was for some reason thinking that -w on diff actually made it consider
whitespace. Oops. Stupid me. :)
Anyway, here's the new patch blake asked for (should apply just fine to a clean
tree).
Assignee | ||
Comment 31•24 years ago
|
||
Assignee | ||
Comment 32•24 years ago
|
||
Comment 33•24 years ago
|
||
attachment 41364 [details] [diff] [review] checked in. no conflicts.
Assignee | ||
Comment 34•24 years ago
|
||
Assignee | ||
Comment 35•24 years ago
|
||
Comment 36•24 years ago
|
||
checked in everything but security ...
Assignee | ||
Comment 37•24 years ago
|
||
Comment 38•24 years ago
|
||
Security changes checked in.
Assignee | ||
Comment 39•24 years ago
|
||
Woohoo!
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 40•24 years ago
|
||
See also bug 89999 for final changes, once commercial is handled.
Comment 41•24 years ago
|
||
this fix seems to have caused bug 90055, if anyone involved in this bug wants to
look at that, that would be nice.
Comment 42•24 years ago
|
||
this landing has broken several things in mailnews.
folder pane, account manager, filters, reply, etc.
how'd we go from "Patch that's absolutely ready for carpool" to a patch that
has horked mailnews? did it ever not hork mailnews?
Comment 43•24 years ago
|
||
bug #90068 tracks the mailnews horkage.
the rest of the product may be horked as well.
Comment 44•24 years ago
|
||
Classic splitter CSS still uses window/box[align="vertical"] :-(
Assignee | ||
Comment 45•24 years ago
|
||
Right. That CSS change is in bug 89999. I'm gonna let it simmer for a little
while (and commercial still needs to update anyway, and I'd care not to have 3
dozen Bugscape bugs to my name, too).
(And, for those who care, the mailnews situation is under control, thanks to
some great work by hwaara, sspitzer, and bienvenu.)
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•