Closed Bug 373240 Opened 17 years ago Closed 17 years ago

Uppercase the VK_* bits for consistency with the rest of the codebase

Categories

(Core :: General, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla1.9alpha4

People

(Reporter: sgautherie, Assigned: sgautherie)

References

()

Details

Attachments

(8 files)

While working on bug 283182, I noticed this part of the fix from bug 295721:
vk_* -> VK_*.
Uppercasing,
and whitespace nits.
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #257881 - Flags: superreview?(neil)
Attachment #257881 - Flags: review?(neil)
Comment on attachment 257881 [details] [diff] [review]
(Av1) </xpfe/*>
[Checkin: Comment 3]

Looks OK but I don't see the point as these files won't be used once everyone switches to toolkit.
Attachment #257881 - Flags: superreview?(neil)
Attachment #257881 - Flags: superreview+
Attachment #257881 - Flags: review?(neil)
Attachment #257881 - Flags: review+
Comment on attachment 257881 [details] [diff] [review]
(Av1) </xpfe/*>
[Checkin: Comment 3]


Checkin: {
2007-03-09 08:43	bugzilla%standard8.demon.co.uk
}
Attachment #257881 - Attachment description: (Av1) </xpfe/*> → (Av1) </xpfe/*> [Checkin: Comment 3]
Uppercasing,
and whitespace nits.
Attachment #258205 - Flags: review?
Attachment #258205 - Flags: review? → review?(gavin.sharp)
Uppercasing,
and lots of whitespace nits,
and a few "rewrites".
Attachment #258256 - Flags: review?(bugzilla)
Comment on attachment 258256 [details] [diff] [review]
(Cv1) </mailnews/*>
[Checkin: Comment 18]

I'd prefer it if Neil or David checks this - they have more experience in the general mailnews area.
Attachment #258256 - Flags: review?(bugzilla) → review?(neil)
Comment on attachment 258256 [details] [diff] [review]
(Cv1) </mailnews/*>
[Checkin: Comment 18]

Actually Scott's the best reviewer for this file.
Attachment #258256 - Flags: review?(neil) → review+
Attachment #258205 - Flags: review?(gavin.sharp) → review+
Attachment #258256 - Flags: superreview?(mscott)
Attachment #258256 - Flags: superreview?(mscott) → superreview+
Comment on attachment 258256 [details] [diff] [review]
(Cv1) </mailnews/*>
[Checkin: Comment 18]

actually I think I was too hasty in this. I could only see white space changes when I read through the patch but I suspect there may be some non white space changes lurking here. Can you post a patch that doesn't include the white space cleanup?
Attachment #258256 - Flags: superreview+ → superreview?(mscott)
Attachment #258408 - Flags: superreview?(mscott)
Comment on attachment 258408 [details] [diff] [review]
(Cv1-Bw) </mailnews/*> (for review only)

Ah excellent, thanks for doing that.

I thought I read somewhere that the '.' should stay on the first line. I think it was in an mkaply blog post about  operator:

+          var pref = Components.classes["@mozilla.org/preferences-service;1"]
+                               .getService(Components.interfaces.nsIPrefBranch);
Attachment #258408 - Flags: superreview?(mscott) → superreview+
Comment on attachment 258205 [details] [diff] [review]
(Bv1) </browser/*>
[Checkin: Comment 11]


Checkin: {
2007-03-13 11:56	bugzilla%standard8.demon.co.uk 	mozilla/browser/components/search/content/search.xml 	1.94
}
Attachment #258205 - Attachment description: (Bv1) </browser/*> → (Bv1) </browser/*> [Checkin: Comment 11]
Uppercasing,
and whitespace nits,
and a "rewrite".
Attachment #258482 - Flags: superreview?
Attachment #258482 - Flags: review?
Attachment #258482 - Flags: superreview?(dbaron)
Attachment #258482 - Flags: superreview?
Attachment #258482 - Flags: review?(dbaron)
Attachment #258482 - Flags: review?
(In reply to comment #10)
> I thought I read somewhere that the '.' should stay on the first line.

I found
{{
Note that there is one construct that JSLint complains about that is very common in Mozillla/Firefox source code:
...
JSLint would prefer you wrote it like this (note the location of the period)
...
I went ahead and made this change in my code to avoid seeing the JSLint errors, but your mileage may very.
}}
at <http://www.kaply.com/weblog/category/operator/page/2/>.
See "Line-Ending Punctuators" at <http://www.jslint.com/lint.html> for details.

Do you want me to update my patch, or is it all right to check it in as it is ?
I don't need to see a new patch. Thanks Serge.
Comment on attachment 258482 [details] [diff] [review]
(Dv1) </layout/*>
[Checkin: Comment 19]

r+sr=dbaron, although I think this file is unused.  In the future, please don't mix whitespace cleanup with other patches; it makes reviewing harder.
Attachment #258482 - Flags: superreview?(dbaron)
Attachment #258482 - Flags: superreview+
Attachment #258482 - Flags: review?(dbaron)
Attachment #258482 - Flags: review+
(In reply to comment #15)
> (From update of attachment 258482 [details] [diff] [review])
> r+sr=dbaron, although I think this file is unused.

It would seem so:
<http://lxr.mozilla.org/mozilla/search?string=select.xml>
{{
select.xml

/layout/forms/resources/jar.mn, line 4 -- content/forms/select.xml (content/select.xml)
/layout/forms/resources/content/xbl-forms.css, line 42 -- -moz-binding: url("chrome://forms/content/select.xml#select-size");
/layout/forms/resources/content/xbl-forms.css, line 49 -- -moz-binding: url("chrome://forms/content/select.xml#select");
/layout/forms/resources/content/xbl-forms.css, line 63 -- -moz-binding: url("chrome://forms/content/select.xml#select-option");
/layout/forms/resources/content/xbl-forms.css, line 68 -- -moz-binding: url("chrome://forms/content/select.xml#select-optgroup");
/layout/forms/resources/content/xbl-forms.css, line 79 -- -moz-binding: url("chrome://forms/content/select.xml#select-treerows");
/layout/forms/resources/content/xbl-forms.css, line 83 -- -moz-binding: url("chrome://forms/content/select.xml#select-treebody");
}}

Probably due to bug 172288 !

I think it's worth updating the file.
Or should these files be removed from the Trunk ?
David, see comment 16.
We might want it again in the future, so keep it.
Comment on attachment 258256 [details] [diff] [review]
(Cv1) </mailnews/*>
[Checkin: Comment 18]


Checkin: {
2007-03-19 12:58	bugzilla%standard8.demon.co.uk 	mozilla/mailnews/base/resources/content/mailWidgets.xml 	1.113
}
Attachment #258256 - Attachment description: (Cv1) </mailnews/*> → (Cv1) </mailnews/*> [Checkin: Comment 18]
Attachment #258256 - Flags: superreview?(mscott)
Comment on attachment 258482 [details] [diff] [review]
(Dv1) </layout/*>
[Checkin: Comment 19]


Checkin: {
2007-03-19 13:00	bugzilla%standard8.demon.co.uk 	mozilla/layout/forms/resources/content/select.xml 	1.34
}
Attachment #258482 - Attachment description: (Dv1) </layout/*> → (Dv1) </layout/*> [Checkin: Comment 19]
Uppercasing.
Attachment #259151 - Flags: superreview?(mscott)
Attachment #259151 - Flags: review?(mscott)
Attachment #259151 - Flags: superreview?(mscott)
Attachment #259151 - Flags: superreview+
Attachment #259151 - Flags: review?(mscott)
Attachment #259151 - Flags: review+
Uppercasing.
Attachment #259154 - Flags: superreview?(mikepinkerton)
Attachment #259154 - Flags: review?(joshmoz)
Comment on attachment 259154 [details] [diff] [review]
(Fv1) </widget/*>
[Checkin: Comment 25]

That is dead code (NPOB) and it is a comment change anyway, you shouldn't need sr for that.
Attachment #259154 - Flags: review?(joshmoz) → review+
Whiteboard: [checkin needed : Ev1 and Fv1]
checked in Ev1:

Checking in mail/base/content/mailWindowOverlay.xul;
/cvsroot/mozilla/mail/base/content/mailWindowOverlay.xul,v  <--  mailWindowOverlay.xul
new revision: 1.203; previous revision: 1.202
done
Checking in mail/base/content/search.xml;
/cvsroot/mozilla/mail/base/content/search.xml,v  <--  search.xml
new revision: 1.14; previous revision: 1.13
Whiteboard: [checkin needed : Ev1 and Fv1] → [checkin needed : Fv1]
checked in Fv1:

Checking in widget/src/mac/nsMacEventHandler.cpp;
/cvsroot/mozilla/widget/src/mac/nsMacEventHandler.cpp,v  <--  nsMacEventHandler.cpp
new revision: 1.204; previous revision: 1.203
Whiteboard: [checkin needed : Fv1]
Attachment #259151 - Attachment description: (Ev1) </mail/*> → (Ev1) </mail/*> [Checkin: Comment 24]
Attachment #259154 - Attachment description: (Fv1) </widget/*> → (Fv1) </widget/*> [Checkin: Comment 25]
Attachment #259154 - Flags: superreview?(mikepinkerton)
Uppercasing,
and adding |;| to |this.selected = null| "lines".
Attachment #260228 - Flags: review?(enndeakin)
Attachment #260228 - Flags: review?(enndeakin) → review+
Comment on attachment 260228 [details] [diff] [review]
(Gv1) </toolkit/*>
[Checkin: Comment 27]


Checkin: {
2007-04-03 10:06	bugzilla%standard8.demon.co.uk
}
Attachment #260228 - Attachment description: (Gv1) </toolkit/*> → (Gv1) </toolkit/*> [Checkin: Comment 27]
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: