Closed
Bug 437552
Opened 17 years ago
Closed 16 years ago
Clean up whitespace-on-blank-lines problem in /PreferencePanes
Categories
(Camino Graveyard :: Preferences, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla-graveyard, Assigned: bugzilla-graveyard)
References
Details
Attachments
(2 files, 3 obsolete files)
|
86.37 KB,
patch
|
Details | Diff | Splinter Review | |
|
21.27 KB,
patch
|
chris
:
review+
stuart.morgan+bugzilla
:
superreview+
|
Details | Diff | Splinter Review |
There's a ton of whitespace on blank lines in Appearance.mm and a couple in Appearance.h. We should kill it.
There are something like three different patches in the queues right now that touch one or both of these two files, though, so let's wait until some of that stuff lands or we'll end up with lots of bitrot.
| Assignee | ||
Updated•17 years ago
|
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → cl-bugs-new
| Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•17 years ago
|
||
Jeff, can you take a look at this? It's purely style fixes (and there might be some I missed, so feel free to be nitpicky).
Attachment #340867 -
Flags: review?(Jeff.Dlouhy)
Comment 2•17 years ago
|
||
Comment on attachment 340867 [details] [diff] [review]
style fix v1.0
Ah, pretty code.
r=me.
Attachment #340867 -
Flags: review?(Jeff.Dlouhy) → review+
Attachment #340867 -
Flags: superreview?
Comment on attachment 340867 [details] [diff] [review]
style fix v1.0
This is the old patches police; please choose your desired sr.
| Assignee | ||
Comment 4•17 years ago
|
||
Attachment #340867 -
Attachment is obsolete: true
Attachment #350936 -
Flags: review?(Jeff.Dlouhy)
Attachment #340867 -
Flags: superreview?
| Assignee | ||
Comment 5•17 years ago
|
||
Turns out there's a bunch in the rest of /PreferencePanes, too, along with lots of other minor issues (tabs, inconsistent whitespace usage, etc.). This patch fixes all of it.
If you want me to break this up into separate patches (and bugs) for each pref pane, I can do that, too.
Summary: Clean up whitespace-on-blank-lines problem in Appearance preference pane → Clean up whitespace-on-blank-lines problem in /PreferencePanes
Updated•17 years ago
|
Attachment #350936 -
Flags: review?(Jeff.Dlouhy) → review+
Comment 6•17 years ago
|
||
Comment on attachment 350936 [details] [diff] [review]
fix v1.1, takes care of the rest of /PreferencePanes too
Things look good. I just found some trailing whitespace that was not removed.
(in patch file)
* 44% down line 1175
+ // The three options in the popup contains tags 0-2; set the pref according to the
* 91% down line 2374
+// Enable and disable Mozilla's popup-blocking feature. We use a combination of
* 91% down line 2402
+// Enable and disable FlashBlock. When enabled, an icon is displayed and the
r=me
| Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 350936 [details] [diff] [review]
fix v1.1, takes care of the rest of /PreferencePanes too
I'll go ahead and nominate this for sr now, with the proviso that I spin a patch for checkin that addresses the review comments.
I expect this patch will probably rot when the Flashblock whitelist lands, so that's why I didn't bother spinning a fresh patch for sr.
Attachment #350936 -
Flags: superreview?(stuart.morgan+bugzilla)
Updated•17 years ago
|
Attachment #350936 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Comment 8•17 years ago
|
||
Comment on attachment 350936 [details] [diff] [review]
fix v1.1, takes care of the rest of /PreferencePanes too
Don't remove the blank line in dealloc; there's nothing wrong with separating the call to super.
I'm not sure I agree that we should be changing * spacing in these kind of patches, since we explicitly don't have a set style for that, but I guess it's not worth ripping out of the patch either.
sr=smorgan.
| Assignee | ||
Comment 9•17 years ago
|
||
(In reply to comment #8)
> I'm not sure I agree that we should be changing * spacing in these kind of
> patches, since we explicitly don't have a set style for that, but I guess it's
> not worth ripping out of the patch either.
Not trying to be argumentative here, but here's the quote from the style guide:
"We explicitly have no style rule regarding the placement of *. Aim to be consistent within a file in as much as the files are consistent."
Since the spacing in that file (and others, though most of the changes were in Appearance.mm) was generally in favour of (foo*) or |foo* |, and since several of the instances of |foo *| used a tab instead of a space, I figured we might as well go ahead and make the file consistent.
Transferring r/sr+ from the last patch. This one fixes Jeff and Stuart's comments and is ready for checkin.
Attachment #350936 -
Attachment is obsolete: true
Attachment #352338 -
Flags: superreview+
Attachment #352338 -
Flags: review+
To enable the Flashblock whitelist (bug 371895) to land ASAP without any extra patch-wrangling, Chris is going to split this patch up into two parts: one for WebFeatures changes, and one for the rest of PreferencePanes. We'll land the latter now and the former (plus any unbitrotting) after the whitelist.
| Assignee | ||
Comment 11•17 years ago
|
||
Attachment #352338 -
Attachment is obsolete: true
Comment on attachment 352372 [details] [diff] [review]
without WebFeatures.* changes [checked in]
Checked this in on cvs trunk.
Attachment #352372 -
Attachment description: without WebFeatures.* changes → without WebFeatures.* changes [checked in]
| Assignee | ||
Comment 13•17 years ago
|
||
Here are the WebFeatures.* changes merged with the Flashblock whitelist landing.
| Assignee | ||
Comment 14•17 years ago
|
||
Comment on attachment 353348 [details] [diff] [review]
WebFeatures.* changes
Smokey wanted someone to take a look at this before it lands, just as a sanity check.
Attachment #353348 -
Flags: superreview?(stuart.morgan+bugzilla)
Attachment #353348 -
Flags: review?(trendyhendy2000)
Updated•17 years ago
|
Attachment #353348 -
Flags: review?(trendyhendy2000) → review+
Comment 15•17 years ago
|
||
Comment on attachment 353348 [details] [diff] [review]
WebFeatures.* changes
- (int)popupIndexForCurrentTabFocusPref {
Brace needs to be put on a new line.
r+ with that change.
Updated•17 years ago
|
Attachment #353348 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Comment 16•17 years ago
|
||
Comment on attachment 353348 [details] [diff] [review]
WebFeatures.* changes
sr=smorgan
Comment 17•16 years ago
|
||
Smokey, do you forget to land attachment 353348 [details] [diff] [review]?
Thanks for catching that, Eiichi.
Checked in the WebFeatures patch on cvs trunk with hendy's change.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•