Bug 167427

Summary: Refactor drag and drop implementation on Mac
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: DOMAssignee: Wenson Hsieh <wenson_hsieh>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, cdumez, commit-queue, dbates, enrica, esprehn+autocc, kangil.han
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
Patch
none
Patch
none
Address build failures.
none
Another attempt to address build failures
enrica: review+
Patch for landing
commit-queue: commit-queue-
Patch for landing none

Description Wenson Hsieh 2017-01-25 13:01:01 PST
Refactor drag and drop implementation in WebCore
Comment 1 Wenson Hsieh 2017-01-25 15:53:44 PST
Created attachment 299756 [details]
Patch
Comment 2 WebKit Commit Bot 2017-01-25 15:56:57 PST
Attachment 299756 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/mac/DragDataMac.mm:96:  Wrong number of spaces before statement. (expected: 8)  [whitespace/indent] [4]
Total errors found: 1 in 21 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Wenson Hsieh 2017-01-25 16:08:14 PST
Created attachment 299759 [details]
Patch
Comment 4 Wenson Hsieh 2017-01-25 16:09:51 PST
Created attachment 299760 [details]
Address build failures.
Comment 5 WebKit Commit Bot 2017-01-25 16:11:09 PST
Attachment 299760 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/mac/DragDataMac.mm:96:  Wrong number of spaces before statement. (expected: 8)  [whitespace/indent] [4]
Total errors found: 1 in 21 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Wenson Hsieh 2017-01-25 16:36:21 PST
Created attachment 299765 [details]
Another attempt to address build failures
Comment 7 WebKit Commit Bot 2017-01-25 16:39:20 PST
Attachment 299765 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/mac/DragDataMac.mm:96:  Wrong number of spaces before statement. (expected: 8)  [whitespace/indent] [4]
Total errors found: 1 in 20 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 8 Enrica Casucci 2017-01-25 16:57:41 PST
Comment on attachment 299765 [details]
Another attempt to address build failures

View in context: https://bugs.webkit.org/attachment.cgi?id=299765&action=review

> Source/WebCore/platform/ios/DragImageIOS.mm:36
> +#pragma clang diagnostic pop

would it be possible to have the pragmas inside the imported file?
Comment 9 Wenson Hsieh 2017-01-25 16:59:02 PST
Comment on attachment 299765 [details]
Another attempt to address build failures

View in context: https://bugs.webkit.org/attachment.cgi?id=299765&action=review

Thank you Enrica!

>> Source/WebCore/platform/ios/DragImageIOS.mm:36
>> +#pragma clang diagnostic pop
> 
> would it be possible to have the pragmas inside the imported file?

Yes! I'll do that.
Comment 10 Wenson Hsieh 2017-01-25 17:22:05 PST
Created attachment 299776 [details]
Patch for landing
Comment 11 WebKit Commit Bot 2017-01-25 17:23:46 PST
Comment on attachment 299776 [details]
Patch for landing

Rejecting attachment 299776 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 299776, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
mm
patching file Source/WebKit/mac/WebView/WebFrameInternal.h
patching file Source/WebKit/mac/WebView/WebHTMLView.mm
patching file Source/WebKit/mac/WebView/WebView.mm
patching file Source/WebKit2/Shared/WebCoreArgumentCoders.cpp
patching file Source/WebKit2/UIProcess/Cocoa/WebPageProxyCocoa.mm
patching file Source/WebKit2/WebProcess/WebCoreSupport/mac/WebDragClientMac.mm

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.webkit.org/results/2949534
Comment 12 Wenson Hsieh 2017-01-25 17:24:33 PST
Created attachment 299777 [details]
Patch for landing
Comment 13 WebKit Commit Bot 2017-01-25 18:02:48 PST
Comment on attachment 299777 [details]
Patch for landing

Clearing flags on attachment: 299777

Committed r211192: <http://trac.webkit.org/changeset/211192>
Comment 14 Wenson Hsieh 2017-01-28 12:25:51 PST
<rdar://problem/30107775>