WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
75063
Start extracting platform specific bits out of PlatformEvents
https://bugs.webkit.org/show_bug.cgi?id=75063
Summary
Start extracting platform specific bits out of PlatformEvents
Sam Weinig
Reported
2011-12-21 21:34:33 PST
Start extracting platform specific bits out of PlatformEvents
Attachments
Patch
(87.34 KB, patch)
2011-12-21 21:35 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(87.45 KB, patch)
2011-12-22 13:16 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(86.71 KB, patch)
2011-12-22 13:48 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(97.47 KB, patch)
2011-12-22 14:37 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(97.59 KB, patch)
2011-12-22 14:47 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(102.70 KB, patch)
2011-12-22 20:12 PST
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(102.72 KB, patch)
2011-12-22 20:35 PST
,
Sam Weinig
andersca
: review+
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2011-12-21 21:35:03 PST
Created
attachment 120268
[details]
Patch
Sam Weinig
Comment 2
2011-12-21 21:39:02 PST
This initial patch moves all the NSEvent -> PlatformEvent construction into a new factory style construction model. The long term goal is to merge the WebKit2 WebEvents with these cleaned up PlatformEvents.
Sam Weinig
Comment 3
2011-12-22 13:16:23 PST
Created
attachment 120369
[details]
Patch
WebKit Review Bot
Comment 4
2011-12-22 13:46:48 PST
Comment on
attachment 120369
[details]
Patch
Attachment 120369
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11019012
Sam Weinig
Comment 5
2011-12-22 13:48:01 PST
Created
attachment 120375
[details]
Patch
Gustavo Noronha (kov)
Comment 6
2011-12-22 13:58:40 PST
Comment on
attachment 120375
[details]
Patch
Attachment 120375
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/10955033
Early Warning System Bot
Comment 7
2011-12-22 14:09:42 PST
Comment on
attachment 120375
[details]
Patch
Attachment 120375
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/11016030
WebKit Review Bot
Comment 8
2011-12-22 14:11:51 PST
Comment on
attachment 120375
[details]
Patch
Attachment 120375
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/10939028
Sam Weinig
Comment 9
2011-12-22 14:37:36 PST
Created
attachment 120383
[details]
Patch
WebKit Review Bot
Comment 10
2011-12-22 14:40:12 PST
Attachment 120369
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/mac/PlatformEventFactory.h:31: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 24 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 11
2011-12-22 14:47:08 PST
Created
attachment 120385
[details]
Patch
WebKit Review Bot
Comment 12
2011-12-22 14:53:53 PST
Attachment 120385
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/mac/PlatformEventFactory.h:31: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 31 files If any of these errors are false positives, please file a bug against check-webkit-style.
Early Warning System Bot
Comment 13
2011-12-22 14:58:07 PST
Comment on
attachment 120385
[details]
Patch
Attachment 120385
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/11019054
WebKit Review Bot
Comment 14
2011-12-22 15:10:22 PST
Comment on
attachment 120385
[details]
Patch
Attachment 120385
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/10939059
Collabora GTK+ EWS bot
Comment 15
2011-12-22 15:20:48 PST
Comment on
attachment 120385
[details]
Patch
Attachment 120385
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/10955074
Sam Weinig
Comment 16
2011-12-22 20:12:51 PST
Created
attachment 120428
[details]
Patch
WebKit Review Bot
Comment 17
2011-12-22 20:15:34 PST
Attachment 120428
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/mac/PlatformEventFactory.h:31: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 32 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gustavo Noronha (kov)
Comment 18
2011-12-22 20:29:06 PST
Comment on
attachment 120428
[details]
Patch
Attachment 120428
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/10962149
WebKit Review Bot
Comment 19
2011-12-22 20:34:08 PST
Comment on
attachment 120428
[details]
Patch
Attachment 120428
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11019152
Sam Weinig
Comment 20
2011-12-22 20:35:45 PST
Created
attachment 120431
[details]
Patch
Sam Weinig
Comment 21
2011-12-22 20:47:08 PST
I am not sure if I like the 4 factory functions. I might be happier exposing the interfaces for the builder classes so that the header had classes like: class NativePlatformMouseEvent : public PlatformMouseEvent { public: NativePlatformMouseEvent(NSEvent *event, NSView *windowView); }; instead of: static PlatformMouseEvent createPlatformMouseEvent(NSEvent *, NSView *windowView); and call sites were: foo->handleMouseEvent(NativePlatformMouseEvent(cocoaEvent, view)); instead of: foo->handleMouseEvent(PlatformEventFactory::createPlatformMouseEvent(cocoaEvent, view)); Hrm.
Sam Weinig
Comment 22
2011-12-23 19:46:00 PST
Committed
r103643
: <
http://trac.webkit.org/changeset/103643
>
Ryosuke Niwa
Comment 23
2011-12-23 21:27:33 PST
This patch appears to have broken fast/events/continuous-platform-wheelevent-in-scrolling-div.html and fast/events/platform-wheelevent-in-scrolling-div.html on Mac: Started failing here:
http://build.webkit.org/builders/SnowLeopard%20Intel%20Release%20(Tests)/builds/35834
http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(Tests)/r103643%20(35834)/results.html
Didn't fail on the previous build:
http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(Tests)/r103641%20(35833)/results.html
Ryosuke Niwa
Comment 24
2011-12-23 21:48:34 PST
This patch also broke Chromium Mac builds:
http://build.webkit.org/builders/Chromium%20Mac%20Release/builds/28684/steps/compile-webkit/logs/stdio
Ryosuke Niwa
Comment 25
2011-12-23 22:35:22 PST
Fixed Chromium Mac build in
http://trac.webkit.org/changeset/103652
.
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