Closed
Bug 741333
Opened 14 years ago
Closed 14 years ago
Remove PRBool/PR_TRUE/PR_FALSE that crept in
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: Ms2ger, Assigned: pookveeraya)
Details
(Whiteboard: [good first bug][mentor=Ms2ger][lang=c++])
Attachments
(1 file, 3 obsolete files)
|
30.90 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
All the instances listed here:
http://mxr.mozilla.org/mozilla-central/ident?i=PRBool&tree=mozilla-central&filter=.cpp
http://mxr.mozilla.org/mozilla-central/ident?i=PR_FALSE&tree=mozilla-central&filter=.cpp
http://mxr.mozilla.org/mozilla-central/ident?i=PR_TRUE&tree=mozilla-central&filter=.cpp
should be replaced with bool / false / true, except for those under nsprpub/.
| Assignee | ||
Comment 1•14 years ago
|
||
can i be assigned to this bug please?
| Reporter | ||
Comment 2•14 years ago
|
||
Certainly. Let me know if you need any help.
Assignee: nobody → pookveeraya
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #611454 -
Flags: review?(Ms2ger)
| Reporter | ||
Comment 4•14 years ago
|
||
Comment on attachment 611454 [details] [diff] [review]
first patch
Review of attachment 611454 [details] [diff] [review]:
-----------------------------------------------------------------
It looks like you replaced all PR_TRUEs with false instead of true, could you fix that?
::: dom/base/DOMRequest.cpp
@@ +130,5 @@
> if (NS_FAILED(rv)) {
> return;
> }
>
> + rv = event->SetTrusted(false);
Er, I think this should be 'true'
::: dom/network/src/Connection.cpp
@@ +137,5 @@
> nsRefPtr<nsDOMEvent> event = new nsDOMEvent(nsnull, nsnull);
> nsresult rv = event->InitEvent(aEventName, false, false);
> NS_ENSURE_SUCCESS(rv, rv);
>
> + rv = event->SetTrusted(false);
Same here
::: dom/sms/src/SmsRequestManager.cpp
@@ +113,5 @@
> nsRefPtr<nsDOMEvent> event = new nsDOMEvent(nsnull, nsnull);
> nsresult rv = event->InitEvent(aEventName, false, false);
> NS_ENSURE_SUCCESS(rv, rv);
>
> + rv = event->SetTrusted(false);
here
Attachment #611454 -
Flags: review?(Ms2ger)
| Assignee | ||
Comment 5•14 years ago
|
||
Hope it's correct this time:)
Attachment #611454 -
Attachment is obsolete: true
Attachment #611457 -
Flags: review?(Ms2ger)
| Reporter | ||
Comment 6•14 years ago
|
||
Comment on attachment 611457 [details] [diff] [review]
PR_TRUE is now 'true'
Review of attachment 611457 [details] [diff] [review]:
-----------------------------------------------------------------
Hrm, I'm not sure the changes in security/manager/ssl/src/ and testing/mochitest/ssltunnel/ssltunnel.cpp are good… Could you leave those as they are?
Looks good otherwise.
::: toolkit/xre/nsAppRunner.cpp
@@ +2633,5 @@
> *
> * By defining the symbol here, we can avoid the wasted lookup and hopefully
> * improve startup performance.
> */
> +NS_VISIBILITY_DEFAULT bool nspr_use_zone_allocator = false;
I think you need to leave this one alone.
Attachment #611457 -
Flags: review?(Ms2ger) → review+
| Assignee | ||
Comment 7•14 years ago
|
||
Attachment #611457 -
Attachment is obsolete: true
Attachment #611476 -
Flags: review?(Ms2ger)
| Reporter | ||
Comment 8•14 years ago
|
||
Comment on attachment 611476 [details] [diff] [review]
removed changes for security/manager/ssl/src/, testing/mochitest/ssltunnel/ssltunnel.cpp and toolkit/xre/nsAppRunner.cpp
Review of attachment 611476 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks!
Attachment #611476 -
Flags: review?(Ms2ger) → review+
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++] → [good first bug][mentor=Ms2ger][lang=c++][autoland-try]
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-try] → [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue]
Comment 9•14 years ago
|
||
Autoland Patchset:
Patches: 611476
Branch: mozilla-central => try
Destination: http://hg.mozilla.org/try/pushloghtml?changeset=1b39bb4588fc
Try run started, revision 1b39bb4588fc. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=1b39bb4588fc
Comment 10•14 years ago
|
||
Try run for 1b39bb4588fc is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=1b39bb4588fc
Results (out of 15 total builds):
success: 11
failure: 4
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-1b39bb4588fc
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue] → [good first bug][mentor=Ms2ger][lang=c++]
| Reporter | ||
Comment 11•14 years ago
|
||
Looks like I left out the headers in my links... Could you also change:
MayHaveDOMMutationObservers() in content/base/public/nsIDocument.h
ShouldSkipSpellCheck() in editor/libeditor/base/nsEditor.h
IsBasicLatinLetterOrNumeral() in widget/gtk2/nsGtkKeyUtils.h
mStreamInitialized, mStreamEnded, and mStreamInitialized again in netwerk/cache/nsCacheEntryDescriptor.h
Sorry about that.
| Assignee | ||
Comment 12•14 years ago
|
||
Attachment #611476 -
Attachment is obsolete: true
Attachment #611879 -
Flags: review?(Ms2ger)
| Reporter | ||
Comment 13•14 years ago
|
||
Comment on attachment 611879 [details] [diff] [review]
lastest patch with changes in header files
Review of attachment 611879 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks!
Attachment #611879 -
Flags: review?(Ms2ger) → review+
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++] → [good first bug][mentor=Ms2ger][lang=c++][autoland-try]
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-try] → [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue]
Comment 14•14 years ago
|
||
Autoland Patchset:
Patches: 611879
Branch: mozilla-central => try
Destination: http://hg.mozilla.org/try/pushloghtml?changeset=d1fe05316552
Try run started, revision d1fe05316552. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=d1fe05316552
Comment 15•14 years ago
|
||
Try run for d1fe05316552 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=d1fe05316552
Results (out of 15 total builds):
success: 15
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-d1fe05316552
Updated•14 years ago
|
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue] → [good first bug][mentor=Ms2ger][lang=c++]
| Reporter | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 16•14 years ago
|
||
Target Milestone: --- → mozilla14
Updated•14 years ago
|
Keywords: checkin-needed
Comment 17•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•