Bug 57416 - Make correspondence of file name related with event to other port.
Summary: Make correspondence of file name related with event to other port.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 19:34 PDT by ChangSeok Oh
Modified: 2011-04-10 23:58 PDT (History)
2 users (show)

See Also:


Attachments
Proposed patch (63.21 KB, patch)
2011-03-30 22:48 PDT, ChangSeok Oh
eric: review+
commit-queue: commit-queue-
Details | Formatted Diff | Diff
revised patch to meet latest version(r83419) (63.24 KB, patch)
2011-04-10 21:21 PDT, ChangSeok Oh
no flags Details | Formatted Diff | Diff
revised patch to meet latest version(r83419) (63.24 KB, patch)
2011-04-10 21:33 PDT, ChangSeok Oh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ChangSeok Oh 2011-03-29 19:34:32 PDT
Some file names are different from other port' one.
For instance, let's say about MouseEventGtk.cpp
It defines PlatformMouseEvent class for gtk port.
But the other port has same class in different form of file like PlatformMouseEventMac.mm, PlatformMouseEventEfl.cpp and PlatformMouseEventQT.cpp

I think this ruins a correspondence among ports and make user hard to find file.
In my opinion. gtk port should also follow other ports naming rule.
Comment 1 ChangSeok Oh 2011-03-30 22:48:40 PDT
Created attachment 87668 [details]
Proposed patch

This patch just changes three file names.

KeyEventGtk.cpp -> PlatformKeyboardEventGtk.cpp
MouseEventGtk.cpp -> PlatformMouseEventGtk.cpp
WheelEventGtk.cpp -> PlatformWheelEventGtk.cpp
Comment 2 Eric Seidel (no email) 2011-04-10 15:51:44 PDT
Comment on attachment 87668 [details]
Proposed patch

Seems fine.  I can't remember if teh cq can handle renames or not.
Comment 3 WebKit Commit Bot 2011-04-10 15:54:26 PDT
Comment on attachment 87668 [details]
Proposed patch

Rejecting attachment 87668 [details] from commit-queue.

Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=eseidel-cq-sf', 'ap..." exit_code: 2

Last 500 characters of output:
ects to file Source/WebCore/GNUmakefile.am.rej
patching file Source/WebCore/platform/gtk/KeyEventGtk.cpp
rm 'Source/WebCore/platform/gtk/KeyEventGtk.cpp'
patching file Source/WebCore/platform/gtk/MouseEventGtk.cpp
rm 'Source/WebCore/platform/gtk/MouseEventGtk.cpp'
patching file Source/WebCore/platform/gtk/WheelEventGtk.cpp
rm 'Source/WebCore/platform/gtk/WheelEventGtk.cpp'

Failed to run "[u'/Projects/CommitQueue/Tools/Scripts/svn-apply', u'--reviewer', u'Eric Seidel', u'--force']" exit_code: 1

Full output: http://queues.webkit.org/results/8374755
Comment 4 ChangSeok Oh 2011-04-10 21:21:45 PDT
Created attachment 88966 [details]
revised patch to meet latest version(r83419)
Comment 5 ChangSeok Oh 2011-04-10 21:33:20 PDT
Created attachment 88967 [details]
revised patch to meet latest version(r83419)

To fix build break.
Comment 6 WebKit Commit Bot 2011-04-10 23:53:46 PDT
The commit-queue encountered the following flaky tests while processing attachment 88967 [details]:

java/lc3/JavaObject/JavaObjectToLong-003-n.html bug 58218 (author: ap@webkit.org)
The commit-queue is continuing to process your patch.
Comment 7 WebKit Commit Bot 2011-04-10 23:57:53 PDT
Comment on attachment 88967 [details]
revised patch to meet latest version(r83419)

Clearing flags on attachment: 88967

Committed r83429: <http://trac.webkit.org/changeset/83429>
Comment 8 WebKit Commit Bot 2011-04-10 23:58:00 PDT
All reviewed patches have been landed.  Closing bug.