Closed
Bug 197781
Opened 22 years ago
Closed 20 years ago
<startup-new*.xul>: Convert <window class="dialog"> to <dialog>
Categories
(Other Applications :: ChatZilla, defect)
Other Applications
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.6beta
People
(Reporter: Sebastian, Assigned: Sebastian)
References
Details
Attachments
(4 obsolete files)
In chatzilla there are two occurances of <window class="dialog"... Converting them offers following advantages: - there is <dialog> which is thought for dialogs (and still looks the same) - It saves the inclusion of dialogOverlay.xul - It saves the inclusion of the dialog <keyset> as it happens automatically - Buttons will automatically be displayed according to chrome/OS preferences - <OK><Cancel> buttons will not be reversed when using the "sidebar on the right side customization" (http://mozilla.org/unix/customizing.html) as they are now Patch coming up shortly
Assignee | ||
Comment 1•22 years ago
|
||
When patching the files I noticed that /extensions/irc/xul/content/prefpanel/startup-newScript.xul seems to be completely unused? If that is the case and it is not planned to use it, it should be totally removed (see http://lxr.mozilla.org/seamonkey/search?string=startup-newScript) Otherwise looking for r=/sr= and somebody to check this in.
Assignee | ||
Updated•22 years ago
|
Attachment #117457 -
Flags: review?(rginda)
Comment 2•21 years ago
|
||
Comment on attachment 117457 [details] [diff] [review] <startup-new[Script|URL].*> patch v1 In <startup-newScript.xul>, remove <dialogOverlay.xul> too. Then, you might want to ask niel@ for review...
Attachment #117457 -
Attachment description: convert <window class="dialog"> to <dialog> → <startup-newScript> and <startup-newURL> patch
Attachment #117457 -
Flags: review?(rginda) → review-
Updated•21 years ago
|
Summary: Convert chatzilla to use <dialog> instead of <window class="dialog"> → ChatZilla: Convert <window class="dialog"> to <dialog>
Updated•21 years ago
|
Summary: ChatZilla: Convert <window class="dialog"> to <dialog> → <startup-new*.xul>: Convert <window class="dialog"> to <dialog>
Comment 3•21 years ago
|
||
Sorry, I meant neil@.
Updated•21 years ago
|
Attachment #117457 -
Attachment description: <startup-newScript> and <startup-newURL> patch → <startup-new[Script|URL].*> patch v1
Comment 4•21 years ago
|
||
Patch v1, plus comment 2 suggestions.
Attachment #117457 -
Attachment is obsolete: true
Comment 5•21 years ago
|
||
Comment on attachment 136422 [details] [diff] [review] <startup-new[Script|URL].*> patch v2 Can you review, test, check it in ? (I'm not using ChatZilla.)
Attachment #136422 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 6•21 years ago
|
||
I wasn't able to test this dialog properly, even without the patch. I found one bug, which was the misuse of mRadioChildren. So, this patch has those changes merged in.
Attachment #136422 -
Attachment is obsolete: true
Comment 7•21 years ago
|
||
Comment on attachment 136570 [details] [diff] [review] Fixed radiobutton issues [Check in: See comment 15] rginda, you'll want to fix your abuse of mRadioChildren in case bz gets his fix for bug 226549 in.
Attachment #136570 -
Flags: review?(rginda)
Comment 8•21 years ago
|
||
Comment on attachment 136570 [details] [diff] [review] Fixed radiobutton issues [Check in: See comment 15] this is actually james' code.
Attachment #136570 -
Flags: review?(rginda) → review?(silver)
Comment 9•21 years ago
|
||
Comment on attachment 136570 [details] [diff] [review] Fixed radiobutton issues [Check in: See comment 15] Looks good, though I think startup-newScript.* aren't used any more, and could be removed.
Attachment #136570 -
Flags: review?(silver) → review+
Comment 10•21 years ago
|
||
Comment on attachment 136570 [details] [diff] [review] Fixed radiobutton issues [Check in: See comment 15] Want this in because otherwise the fix for regression bug 226549 will break this.
Attachment #136570 -
Flags: approval1.6b?
Comment 11•21 years ago
|
||
Updated•21 years ago
|
Attachment #136599 -
Flags: review?(rginda)
Comment 12•21 years ago
|
||
Re comment 1 (which I overlooked), and comment 9: <http://lxr.mozilla.org/seamonkey/search?string=startup-new> *<startup-newURL.*> is called from { /extensions/irc/xul/content/prefpanel/startup.js, line 121 -- window.openDialog("chrome://chatzilla/content/prefpanel/startup-newURL.xul", /extensions/irc/xul/content/prefpanel/startup.js, line 140 -- window.openDialog("chrome://chatzilla/content/prefpanel/startup-newURL.xul", } *<startup-newScript.*> is unused: neil, would you add a third patch to get rid of them ? { /extensions/irc/xul/locale/en-US/pref-irc.dtd, line 177 -- <!ENTITY startup-newScript.window.title "ChatZilla Script Item"> /extensions/irc/jar.mn, line 47 -- content/chatzilla/prefpanel/startup-newScript.js (xul/content/prefpanel/startup-newScript.js) /extensions/irc/jar.mn, line 48 -- content/chatzilla/prefpanel/startup-newScript.xul (xul/content/prefpanel/startup-newScript.xul) }
Comment 13•21 years ago
|
||
Adding 'neil@': Please, read comment 12.
Comment 14•21 years ago
|
||
Comment on attachment 136570 [details] [diff] [review] Fixed radiobutton issues [Check in: See comment 15] a=asa (on behalf of drivers) for checkin to 1.6beta
Attachment #136570 -
Flags: approval1.6b? → approval1.6b+
Updated•21 years ago
|
Attachment #136422 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
Attachment #117457 -
Flags: review-
Comment 15•21 years ago
|
||
I just checked in the changes to startup-newURL.*, it seemed wasteful to check in changes to startup-newScript.* if we're going to remove them soon.
Updated•20 years ago
|
Product: Core → Other Applications
Comment 16•20 years ago
|
||
All of these changes have been checked in or applied in another way(*), and
/xul/prefpanel/* is no longer in use, as far as I'm aware.
I think this bug can and should be marked FIXED :-).
(*):
< if (params.length >= 4 && (typeof params[3] != "undefined"))
> if (arrayHasElementAt(params, 3))
Has the same effect.
Comment 17•20 years ago
|
||
OK, but (when) are startup-newScript.* going to be CVS removed?
Comment 18•20 years ago
|
||
Comment on attachment 136599 [details] [diff] [review] Fixes another RegExp-caused regression Fixed by {{ 1.3 silver%warwickcompsoc.co.uk 2004-03-03 14:38 Bug 229072 - Fixing RegExp regression in pref panel. Patch by Ian Neal <bugzilla@arlen.demon.co.uk>. r=rginda@hacksrus.com }}
Attachment #136599 -
Attachment is obsolete: true
Attachment #136599 -
Flags: review?(rginda)
Updated•20 years ago
|
Attachment #136570 -
Attachment description: Fixed radiobutton issues → Fixed radiobutton issues
[Check in: See comment 15]
Attachment #136570 -
Attachment is obsolete: true
Comment 19•20 years ago
|
||
(In reply to comment #17) > OK, but (when) are startup-newScript.* going to be CVS removed? I don't know. I do not have CVS access, and as far as I'm aware, at this point Silver is/was the only person on the ChatZilla project with CVS access, and he's cut off from the net till at least the start of April. Which means it might take a while, unless someone from outside the project gets permission to do remove these files from CVS and does it for us (or ssieb / rginda get their CVS access straightened out).
Comment 20•20 years ago
|
||
(In reply to comment #17) > OK, but (when) are startup-newScript.* going to be CVS removed? <http://lxr.mozilla.org/seamonkey/search?string=startup-new> {{ startup-new /extensions/irc/xul/content/prefpanel/startup-newScript.xul, line 50 -- title="&startup-newScript.window.title;"> /extensions/irc/xul/content/prefpanel/startup-newScript.xul, line 53 -- src="chrome://chatzilla/content/prefpanel/startup-newScript.js"/> /extensions/irc/xul/content/prefpanel/startup-newURL.xul, line 47 -- title="&startup-newURL.window.title;" /extensions/irc/xul/content/prefpanel/startup-newURL.xul, line 51 -- <script src="chrome://chatzilla/content/prefpanel/startup-newURL.js"/> /extensions/irc/xul/content/prefpanel/startup.js, line 121 -- window.openDialog("chrome://chatzilla/content/prefpanel/startup-newURL.xul", /extensions/irc/xul/content/prefpanel/startup.js, line 140 -- window.openDialog("chrome://chatzilla/content/prefpanel/startup-newURL.xul", }} startup-newScript.*, startup-newURL.*, startup.js were all removed from <http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/extensions/irc/jar.mn> in {{ 1.23 silver%warwickcompsoc.co.uk 2004-06-08 20:33 Bug 243629 - Landing of ChatZilla 0.9.63. Lots of bugs fixed, including: 226223, 230328, 127662, 185729, 226410, 231150, 235650, 238551, 238716, 73257, 226408, 238612, 108087, 180577, 211461, 218070, 242381 and 147452. r=samuel@sieb.net }} Maybe there is more than these 2 files to cvs removed !? Samuel/silver, can you help here ?
Comment 21•20 years ago
|
||
See also bug 259198. As stated in comment 16, the entire prefpanel directory could be CVS rem'd, but whether it should / will be removed should be decided by rginda, ssieb and/or Silver, I think.
Comment 22•20 years ago
|
||
OK, we'll mark this as fixed.
Updated•20 years ago
|
Target Milestone: --- → mozilla1.6beta
You need to log in
before you can comment on or make changes to this bug.
Description
•