Summary: | [Mac] Stop using deprecated AppKit enumeration values | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||||||||||||||||||||||||||||||
Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> | ||||||||||||||||||||||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||||||||||||||||||||||
Severity: | Normal | CC: | commit-queue, darin, mitz, sam | ||||||||||||||||||||||||||||||||||||||
Priority: | P2 | ||||||||||||||||||||||||||||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||||||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=164572 | ||||||||||||||||||||||||||||||||||||||||
Attachments: |
|
Description
Chris Dumez
2016-11-07 16:20:31 PST
Created attachment 294099 [details]
Patch
Attachment 294099 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294100 [details]
Patch
Attachment 294100 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294102 [details]
Patch
Attachment 294102 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294111 [details]
Patch
Attachment 294111 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294112 [details]
Patch
Attachment 294112 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294117 [details]
Patch
Attachment 294117 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294118 [details]
Patch
Attachment 294118 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294119 [details]
Patch
Attachment 294119 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294121 [details]
Patch
Attachment 294121 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 47 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294123 [details]
Patch
Attachment 294123 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 47 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294125 [details]
Patch
Attachment 294125 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 47 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294128 [details]
Patch
Attachment 294128 [details] did not pass style-queue:
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 4 in 48 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294130 [details]
Patch
Attachment 294130 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:68: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/Misc/WebNSViewExtras.m:96: Multi line control clauses should use braces. [whitespace/braces] [4]
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 6 in 73 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294132 [details]
Patch
Attachment 294132 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:68: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/Misc/WebNSViewExtras.m:96: Multi line control clauses should use braces. [whitespace/braces] [4]
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 6 in 73 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294133 [details]
Patch
Attachment 294133 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:194: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:68: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/Misc/WebNSViewExtras.m:96: Multi line control clauses should use braces. [whitespace/braces] [4]
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:471: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:610: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:613: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 6 in 72 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 294133 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=294133&action=review > Source/WebCore/editing/cocoa/HTMLConverter.mm:70 I suggest doing this in WebCorePrefix.h the way we do in WebKit2Prefix.h instead of doing it each file where it is needed. Created attachment 294164 [details]
Patch
Attachment 294164 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:193: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:68: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/Misc/WebNSViewExtras.m:96: Multi line control clauses should use braces. [whitespace/braces] [4]
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:470: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:609: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:612: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 6 in 74 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294167 [details]
Patch
Attachment 294167 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:193: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:68: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/Misc/WebNSViewExtras.m:96: Multi line control clauses should use braces. [whitespace/braces] [4]
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:470: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:609: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:612: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 6 in 74 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 294235 [details]
Patch
Attachment 294235 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.mm:193: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm:68: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit/mac/Misc/WebNSViewExtras.m:96: Multi line control clauses should use braces. [whitespace/braces] [4]
ERROR: Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm:470: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:609: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebCore/page/mac/EventHandlerMac.mm:612: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
Total errors found: 6 in 74 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 294235 [details] Patch Clearing flags on attachment: 294235 Committed r208455: <http://trac.webkit.org/changeset/208455> All reviewed patches have been landed. Closing bug. This caused bug 164572. |