WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 117009
Update CheckedInt.h to latest version from Mozilla
https://bugs.webkit.org/show_bug.cgi?id=117009
Summary
Update CheckedInt.h to latest version from Mozilla
Dean Jackson
Reported
2013-05-29 16:42:05 PDT
Benoit Jacob contacted me to say the version of CheckedInt.h in WebKit is out of date. Mozilla and Blink have updated.
Attachments
Patch
(8.20 KB, patch)
2013-05-29 16:44 PDT
,
Dean Jackson
no flags
Details
Formatted Diff
Diff
Patch
(8.48 KB, patch)
2013-05-29 17:43 PDT
,
Dean Jackson
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
2013-05-29 16:44:46 PDT
Created
attachment 203291
[details]
Patch
WebKit Commit Bot
Comment 2
2013-05-29 16:47:16 PDT
Attachment 203291
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/html/canvas/CheckedInt.h']" exit_code: 1 Source/WebCore/html/canvas/CheckedInt.h:105: More than one command on the same line [whitespace/newline] [4] Source/WebCore/html/canvas/CheckedInt.h:137: More than one command on the same line [whitespace/newline] [4] Source/WebCore/html/canvas/CheckedInt.h:141: More than one command on the same line [whitespace/newline] [4] Source/WebCore/html/canvas/CheckedInt.h:395: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:468: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:469: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:470: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Source/WebCore/html/canvas/CheckedInt.h:470: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:479: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:480: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:481: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:483: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:571: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebCore/html/canvas/CheckedInt.h:571: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:572: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:595: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebCore/html/canvas/CheckedInt.h:595: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:596: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:647: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:767: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebCore/html/canvas/CheckedInt.h:767: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:768: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 22 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 3
2013-05-29 16:55:53 PDT
Comment on
attachment 203291
[details]
Patch
Attachment 203291
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/658243
Ryosuke Niwa
Comment 4
2013-05-29 16:57:42 PDT
Comment on
attachment 203291
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=203291&action=review
> Source/WebCore/ChangeLog:14 > + Bug 869194.
Maybe include the bug URL here?
Build Bot
Comment 5
2013-05-29 17:01:52 PDT
Comment on
attachment 203291
[details]
Patch
Attachment 203291
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/692293
Dean Jackson
Comment 6
2013-05-29 17:21:56 PDT
Fails to build :(
Dean Jackson
Comment 7
2013-05-29 17:22:11 PDT
(In reply to
comment #4
)
> (From update of
attachment 203291
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=203291&action=review
> > > Source/WebCore/ChangeLog:14 > > + Bug 869194. > > Maybe include the bug URL here?
Sure!
Dean Jackson
Comment 8
2013-05-29 17:43:59 PDT
Created
attachment 203295
[details]
Patch
WebKit Commit Bot
Comment 9
2013-05-29 17:45:45 PDT
Attachment 203295
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/html/canvas/CheckedInt.h']" exit_code: 1 Source/WebCore/html/canvas/CheckedInt.h:106: More than one command on the same line [whitespace/newline] [4] Source/WebCore/html/canvas/CheckedInt.h:138: More than one command on the same line [whitespace/newline] [4] Source/WebCore/html/canvas/CheckedInt.h:142: More than one command on the same line [whitespace/newline] [4] Source/WebCore/html/canvas/CheckedInt.h:396: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:469: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:470: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:471: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Source/WebCore/html/canvas/CheckedInt.h:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:480: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:481: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:482: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:484: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:572: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebCore/html/canvas/CheckedInt.h:572: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:573: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:596: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebCore/html/canvas/CheckedInt.h:596: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:597: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:648: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:768: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebCore/html/canvas/CheckedInt.h:768: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Source/WebCore/html/canvas/CheckedInt.h:769: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 22 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Oliver Hunt
Comment 10
2013-05-29 18:53:14 PDT
What is WTF/CheckedArithmetic.h missing that means we need a separate implementation of checked arithmetic?
Dean Jackson
Comment 11
2013-05-31 09:03:57 PDT
(In reply to
comment #10
)
> What is WTF/CheckedArithmetic.h missing that means we need a separate implementation of checked arithmetic?
I don't know. Maybe you should file a bug?
Dean Jackson
Comment 12
2013-05-31 10:46:27 PDT
Committed
r151029
: <
http://trac.webkit.org/changeset/151029
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug