Bug 116181 - [EFL] Move EFL port off legacy clipboard
Summary: [EFL] Move EFL port off legacy clipboard
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on: 116176 116177
Blocks: 115980
  Show dependency treegraph
 
Reported: 2013-05-15 12:49 PDT by Darin Adler
Modified: 2013-05-17 09:57 PDT (History)
7 users (show)

See Also:


Attachments
Patch (12.02 KB, patch)
2013-05-16 20:21 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (12.04 KB, patch)
2013-05-16 20:44 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (11.99 KB, patch)
2013-05-16 20:59 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (12.00 KB, patch)
2013-05-16 21:09 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (11.91 KB, patch)
2013-05-17 08:25 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (10.67 KB, patch)
2013-05-17 09:20 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (10.74 KB, patch)
2013-05-17 09:25 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (10.88 KB, patch)
2013-05-17 09:31 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (11.01 KB, patch)
2013-05-17 09:41 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (11.02 KB, patch)
2013-05-17 09:48 PDT, Darin Adler
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2013-05-15 12:49:25 PDT
I have a patch for this in the works.
Comment 1 Darin Adler 2013-05-16 20:21:59 PDT
Created attachment 202011 [details]
Patch
Comment 2 Darin Adler 2013-05-16 20:22:52 PDT
This patch is a bit silly because EFL does not implement clipboard operations at all. Because there is no EWS bot for EFL, I need help from someone who works on the EFL port to test this patch.
Comment 3 EFL EWS Bot 2013-05-16 20:33:45 PDT
Comment on attachment 202011 [details]
Patch

Attachment 202011 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/486271
Comment 4 EFL EWS Bot 2013-05-16 20:38:58 PDT
Comment on attachment 202011 [details]
Patch

Attachment 202011 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/493138
Comment 5 Darin Adler 2013-05-16 20:44:33 PDT
Created attachment 202043 [details]
Patch
Comment 6 Darin Adler 2013-05-16 20:59:03 PDT
Created attachment 202044 [details]
Patch
Comment 7 EFL EWS Bot 2013-05-16 21:02:50 PDT
Comment on attachment 202044 [details]
Patch

Attachment 202044 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/487268
Comment 8 EFL EWS Bot 2013-05-16 21:04:44 PDT
Comment on attachment 202044 [details]
Patch

Attachment 202044 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/489183
Comment 9 Darin Adler 2013-05-16 21:09:21 PDT
Created attachment 202045 [details]
Patch
Comment 10 EFL EWS Bot 2013-05-16 21:14:45 PDT
Comment on attachment 202045 [details]
Patch

Attachment 202045 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/481773
Comment 11 EFL EWS Bot 2013-05-16 21:14:56 PDT
Comment on attachment 202045 [details]
Patch

Attachment 202045 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/491198
Comment 12 Raphael Kubo da Costa (:rakuco) 2013-05-17 05:35:18 PDT
Comment on attachment 202045 [details]
Patch

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

> Source/WebCore/ChangeLog:13
> +        * page/efl/EventHandlerEfl.cpp: Removed EventHandler::createDraggingClipboard
> +        function since DRAG_SUPPORT is not defined for EFL anyway.

DRAG_SUPPORT is on for EFL by default. See wtf/FeatureDefines.h, OptionsEFL.cmake or the EWS build logs

> Source/WebCore/ChangeLog:20
> +        Deleted unneeded writePlainText, writeSelection, and writeURL functions.

The EWS bots seem to disagree that they are unneeded.
Comment 13 Darin Adler 2013-05-17 08:20:10 PDT
(In reply to comment #12)
> > Source/WebCore/ChangeLog:13
> > +        * page/efl/EventHandlerEfl.cpp: Removed EventHandler::createDraggingClipboard
> > +        function since DRAG_SUPPORT is not defined for EFL anyway.
> 
> DRAG_SUPPORT is on for EFL by default. See wtf/FeatureDefines.h, OptionsEFL.cmake or the EWS build logs

That seems silly. None of the underlying code for dragging seems to be there. It’s all just notImplemented().

Maybe there is some way to use dragging within a webpage without any of the platform dragging hooked up?

> > Source/WebCore/ChangeLog:20
> > +        Deleted unneeded writePlainText, writeSelection, and writeURL functions.
> 
> The EWS bots seem to disagree that they are unneeded.

Yes, they would be unneeded if DRAG_SUPPORT wasn’t on.

OK. I’ll do the version of this patch with lots more notImplemented(). As I said, very silly.
Comment 14 Darin Adler 2013-05-17 08:25:00 PDT
Created attachment 202092 [details]
Patch
Comment 15 Raphael Kubo da Costa (:rakuco) 2013-05-17 08:31:02 PDT
(In reply to comment #13)
> (In reply to comment #12)
> > > Source/WebCore/ChangeLog:13
> > > +        * page/efl/EventHandlerEfl.cpp: Removed EventHandler::createDraggingClipboard
> > > +        function since DRAG_SUPPORT is not defined for EFL anyway.
> > 
> > DRAG_SUPPORT is on for EFL by default. See wtf/FeatureDefines.h, OptionsEFL.cmake or the EWS build logs
> 
> That seems silly. None of the underlying code for dragging seems to be there. It’s all just notImplemented().

If it makes more sense, removing the line which enables it in OptionsEFL.cmake should be easy, and if that's OK with you #ifdef'ing the part which enables it in FeatureDefines.h is also fine. This should also decrease the amount of silliness in this patch :-)
Comment 16 Darin Adler 2013-05-17 08:38:48 PDT
(In reply to comment #15)
> If it makes more sense, removing the line which enables it in OptionsEFL.cmake should be easy, and if that's OK with you #ifdef'ing the part which enables it in FeatureDefines.h is also fine. This should also decrease the amount of silliness in this patch :-)

I think my new try will probably be OK. But someone who works on EFL should figure out why the feature is on. There’s no point turning it on if the back end is not implemented.
Comment 17 Raphael Kubo da Costa (:rakuco) 2013-05-17 08:46:55 PDT
(In reply to comment #16)
> But someone who works on EFL should figure out why the feature is on.

Before the CMake changes got in and FeatureDefines.h was created, it looks like it was on by default on !iOS in Platform.h (http://trac.webkit.org/browser/trunk/Source/WTF/wtf/Platform.h?rev=114985), so I guess people just implemented stubs to get the code compiling when the port was upstreamed.
Comment 18 EFL EWS Bot 2013-05-17 08:50:55 PDT
Comment on attachment 202092 [details]
Patch

Attachment 202092 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/482822
Comment 19 EFL EWS Bot 2013-05-17 09:09:59 PDT
Comment on attachment 202092 [details]
Patch

Attachment 202092 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/497015
Comment 20 Darin Adler 2013-05-17 09:20:19 PDT
Created attachment 202097 [details]
Patch
Comment 21 EFL EWS Bot 2013-05-17 09:24:47 PDT
Comment on attachment 202097 [details]
Patch

Attachment 202097 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/492369
Comment 22 EFL EWS Bot 2013-05-17 09:25:27 PDT
Comment on attachment 202097 [details]
Patch

Attachment 202097 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/493323
Comment 23 Darin Adler 2013-05-17 09:25:57 PDT
Created attachment 202098 [details]
Patch
Comment 24 EFL EWS Bot 2013-05-17 09:30:37 PDT
Comment on attachment 202098 [details]
Patch

Attachment 202098 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/493328
Comment 25 Darin Adler 2013-05-17 09:31:39 PDT
Created attachment 202099 [details]
Patch
Comment 26 EFL EWS Bot 2013-05-17 09:36:26 PDT
Comment on attachment 202099 [details]
Patch

Attachment 202099 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/486466
Comment 27 EFL EWS Bot 2013-05-17 09:37:47 PDT
Comment on attachment 202099 [details]
Patch

Attachment 202099 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/481944
Comment 28 Darin Adler 2013-05-17 09:41:35 PDT
Created attachment 202101 [details]
Patch
Comment 29 EFL EWS Bot 2013-05-17 09:46:14 PDT
Comment on attachment 202101 [details]
Patch

Attachment 202101 [details] did not pass efl-ews (efl):
Output: http://webkit-queues.appspot.com/results/497028
Comment 30 EFL EWS Bot 2013-05-17 09:47:53 PDT
Comment on attachment 202101 [details]
Patch

Attachment 202101 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/492382
Comment 31 Darin Adler 2013-05-17 09:48:22 PDT
Created attachment 202103 [details]
Patch
Comment 32 Darin Adler 2013-05-17 09:57:09 PDT
Committed r150268: <http://trac.webkit.org/changeset/150268>