Bug 198483 - Use std::hypot() where possible
Summary: Use std::hypot() where possible
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-03 07:02 PDT by Zan Dobersek
Modified: 2020-02-03 06:15 PST (History)
18 users (show)

See Also:


Attachments
WIP (27.17 KB, patch)
2019-06-03 07:03 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
WIP (27.50 KB, patch)
2019-06-04 01:04 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
WIP (27.87 KB, patch)
2019-06-04 03:00 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews211 for win-future (13.82 MB, application/zip)
2019-06-04 06:51 PDT, EWS Watchlist
no flags Details
WIP (27.84 KB, patch)
2019-06-16 12:37 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
WIP (28.54 KB, patch)
2019-09-23 05:58 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
Patch (29.02 KB, patch)
2019-09-24 03:34 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
Patch for landing (28.99 KB, patch)
2019-10-04 00:55 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff
Patch for landing (29.03 KB, patch)
2020-02-03 01:14 PST, Zan Dobersek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2019-06-03 07:02:31 PDT
Use std::hypot() where possible
Comment 1 Zan Dobersek 2019-06-03 07:03:49 PDT
Created attachment 371188 [details]
WIP
Comment 2 EWS Watchlist 2019-06-03 07:06:32 PDT
Attachment 371188 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:245:  p1p0_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:246:  p1p2_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:268:  orth_p1p0_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 4 in 27 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Zan Dobersek 2019-06-04 01:04:33 PDT
Created attachment 371253 [details]
WIP
Comment 4 EWS Watchlist 2019-06-04 01:07:28 PDT
Attachment 371253 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:245:  p1p0_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:246:  p1p2_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:268:  orth_p1p0_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 4 in 27 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Zan Dobersek 2019-06-04 03:00:28 PDT
Created attachment 371261 [details]
WIP
Comment 6 EWS Watchlist 2019-06-04 03:03:21 PDT
Attachment 371261 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:245:  p1p0_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:246:  p1p2_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/platform/graphics/cairo/PathCairo.cpp:268:  orth_p1p0_length is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 4 in 27 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 EWS Watchlist 2019-06-04 06:51:49 PDT
Comment on attachment 371261 [details]
WIP

Attachment 371261 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/12371939

New failing tests:
imported/blink/compositing/layer-creation/iframe-clip-removed.html
Comment 8 EWS Watchlist 2019-06-04 06:51:52 PDT
Created attachment 371274 [details]
Archive of layout-test-results from ews211 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews211  Port: win-future  Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Comment 9 Zan Dobersek 2019-06-16 12:37:42 PDT
Created attachment 372226 [details]
WIP
Comment 10 Zan Dobersek 2019-09-23 05:58:54 PDT
Created attachment 379364 [details]
WIP
Comment 11 Zan Dobersek 2019-09-24 03:34:25 PDT
Created attachment 379442 [details]
Patch
Comment 12 Zan Dobersek 2019-10-04 00:55:32 PDT
Created attachment 380193 [details]
Patch for landing
Comment 13 Zan Dobersek 2020-02-03 01:14:24 PST
Created attachment 389496 [details]
Patch for landing
Comment 14 Zan Dobersek 2020-02-03 06:14:32 PST
Comment on attachment 389496 [details]
Patch for landing

Clearing flags on attachment: 389496

Committed r255559: <https://trac.webkit.org/changeset/255559>
Comment 15 Zan Dobersek 2020-02-03 06:14:36 PST
All reviewed patches have been landed.  Closing bug.
Comment 16 Radar WebKit Bug Importer 2020-02-03 06:15:19 PST
<rdar://problem/59108473>