Closed
Bug 272059
Opened 20 years ago
Closed 16 years ago
use xul preprocessor to check for mac in tree.xml
Categories
(SeaMonkey :: UI Design, enhancement)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Biesinger, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
|
2.54 KB,
patch
|
mconnor
:
review-
|
Details | Diff | Splinter Review |
since people can change navigator.platform, it's unreliable (this is due to bug 166395). so, tree.xml should not depend on its value. we can use the preprocessor for that.
| Reporter | ||
Comment 1•20 years ago
|
||
this patch does: - add some deprecation comments per bug 202393 (as seen in firefox's tree.xml) - fixes indentation of two var decls - makes this file identical to firefox's tree.xml - and does what the bug summary says, of course ;)
| Reporter | ||
Updated•20 years ago
|
Attachment #167227 -
Flags: review?(neil.parkwaycc.co.uk)
| Reporter | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8alpha6
Comment 2•20 years ago
|
||
Comment on attachment 167227 [details] [diff] [review] (Av1) patch Christian: Currently, in addition to this patch, Xpfe has |modifiers="control|, and Toolkit has |modifiers="accel|...
Attachment #167227 -
Flags: superreview?(neil.parkwaycc.co.uk)
Comment 3•20 years ago
|
||
Comment on attachment 167227 [details] [diff] [review] (Av1) patch Contrary to comment #0 navigator.platform is reliable in chrome, but feel free to add in XML comments and fix up the whitespace.
Attachment #167227 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #167227 -
Flags: superreview-
Attachment #167227 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #167227 -
Flags: review-
Comment 4•20 years ago
|
||
(In reply to comment #2) >Xpfe has |modifiers="control|, and Toolkit has |modifiers="accel|... I couldn't get a consensus from the Mac users I am aware of as to whether the Mac should use control or accel for these bindings; they just use the mouse.
| Reporter | ||
Comment 5•20 years ago
|
||
(In reply to comment #3) > (From update of attachment 167227 [details] [diff] [review] [edit]) > Contrary to comment #0 navigator.platform is reliable in chrome I want to note that by the time I wrote comment 0, it was not reliable.
Comment 6•20 years ago
|
||
Well, you caught the window of opportunity between 22 July and and 7 Dec...
Comment 7•20 years ago
|
||
(In reply to comment #3) > (From update of attachment 167227 [details] [diff] [review] [edit]) > navigator.platform is reliable in chrome, but feel free > to add in XML comments and fix up the whitespace. Then, this change is (now) unneeded; yet, isn't it possible/enough/better to have it the #ifdef way instead of the JS way !? (In reply to comment #4) > (In reply to comment #2) > >Xpfe has |modifiers="control|, and Toolkit has |modifiers="accel|... > I couldn't get a consensus from the Mac users I am aware of as to whether the > Mac should use control or accel for these bindings; they just use the mouse. Well, since our purpose is to synchronize the toolkit(s), Can we agree that it won't cause any/much harm to move to accel, or shall we ask to revert FireFox ? (In fact, same issue with |pageUpOrDownMovesSelection|...)
| Reporter | ||
Comment 8•20 years ago
|
||
Attachment #167227 -
Attachment is obsolete: true
Attachment #178754 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #178754 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 9•20 years ago
|
||
Comment on attachment 178754 [details] [diff] [review] (Av2) xml comments + whitespace [Checked in: Comment 13] Christian, Neil: This new patch gets us even "farther" from the Toolkit version :-/ See my comment 7...
Updated•20 years ago
|
Attachment #178754 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #178754 -
Flags: superreview+
Attachment #178754 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #178754 -
Flags: review+
| Reporter | ||
Comment 10•20 years ago
|
||
yeah, that's true. I won't resolve the bug when checking in the patch.
Updated•20 years ago
|
Attachment #167227 -
Attachment description: patch → (Av1) patch
Updated•20 years ago
|
Attachment #178754 -
Attachment description: xml comments + whitespace → (Av2) xml comments + whitespace
Comment 11•20 years ago
|
||
Av2 port to Toolkit Mike, the use of the preprocessor seems to be uneeded anymore. Christian, I remove the extra blank line from TK, instead of adding it to MAS, since the other "blocks" don't have it either... (this will "obsolete" your patch, if Mike r+ this one) Mike, Neil, we need to agree on one (common) way or the other...
Attachment #178811 -
Flags: review?(mconnor)
Comment 12•20 years ago
|
||
Comment on attachment 178811 [details] [diff] [review] (Bv1-TK) <tree.xml> ++ is there a practical reason to use !/Mac/.test(navigator.platform) instead of hardcoding the property value per-platform? Its just a useless check that we know the answer to. Same goes for converting the comments. I'd rather pay the miniscule price of preprocessing a file at build time than have a useless check at runtime.
Attachment #178811 -
Flags: review?(mconnor) → review-
| Reporter | ||
Comment 13•20 years ago
|
||
Checking in xpfe/global/resources/content/bindings/tree.xml; /cvsroot/mozilla/xpfe/global/resources/content/bindings/tree.xml,v <-- tree.xml new revision: 1.46; previous revision: 1.45 done -> default owner for further syncing of these files
Assignee: cbiesinger → guifeatures
Status: ASSIGNED → NEW
Updated•20 years ago
|
Target Milestone: mozilla1.8beta2 → ---
Comment 14•19 years ago
|
||
Comment on attachment 178754 [details] [diff] [review] (Av2) xml comments + whitespace [Checked in: Comment 13] 'approval1.8b3=?': (MAS only) Trivial nits & comments, no risk.
Attachment #178754 -
Flags: approval1.8b3?
Updated•19 years ago
|
Attachment #178754 -
Flags: approval1.8b3? → approval1.8b3+
Updated•19 years ago
|
Attachment #178754 -
Attachment description: (Av2) xml comments + whitespace → (Av2) xml comments + whitespace
[Checked in: Comment 13]
Updated•19 years ago
|
Attachment #178754 -
Attachment is obsolete: true
Comment 15•16 years ago
|
||
Filter "spam" on "guifeatures-nobody-20080610".
Assignee: guifeatures → nobody
QA Contact: guifeatures
Comment 16•16 years ago
|
||
(In reply to comment #12) >the minuscule price of preprocessing a file at build time ...is more than you credit.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•