Commit Graph

20 Commits

Author SHA1 Message Date
Jean Guyomarc'h f53a739e0e ecore_cocoa: simplify clipboard functions naming
ecore_cocoa_selection_clipboard_xxxx() have been renamed into
ecore_cocoa_clipboard_xxxx() and they have nothing to do with
selection, only with clipboard.

Since the API is not stable yet, I can change it.
2016-06-07 22:20:31 +02:00
Ji-Youn Park 8cf9ee67bd efl_ui_win: rename elm_win to efl_ui_win 2016-06-07 23:11:48 +08:30
Cedric Bail 75a53ece10 eo: for consistency use object like all our API. 2016-05-18 08:18:04 -07:00
Carsten Haitzler 43661180f7 efl - key/data/value/obj attach to eo objects - make these properties
the key data now is a property so they come out in bindings really
nicely like:

  obj.key_data["blah"] = x;

  x = obj.key_data["blah"];

etc.
2016-05-18 02:02:45 +09:00
Chris Michael 8ed0aa02cf elementary: Don't define handlers if we are not going to use them
These handlers are only used when building for X11, not for Wayland,
so conditionally compile them in/out

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-15 09:53:16 -04:00
memeka b01af6e57c elementary: Fix build issue when x11 is disabled
When we compile efl using --with-x11=none, then
_tempfile_new and _tmpinfo_free end up being undefined, however these
functions are used by wayland too so they need to be defined regardless.

@fix
2016-05-14 06:44:39 -04:00
Thiep Ha e7805d97b6 elm cnp: simplify data preparer
Use eina_strbuf to simplify the data preparer for uri.
This helps remove the complex for loop and also
reduce the memory allocated for uri array.
This also removes redundant checking.
2016-05-11 18:00:19 +09:00
Mike Blumenkrantz 37ed59474e Revert "elm cnp/Wl: Remove duplicated data receive callback"
This reverts commit f5d10f1961.

this breaks pasting into efl applications on wayland

fix T3455
2016-05-10 13:23:05 -04:00
Amitesh Singh 6a237f3cca elm_cnp: comment the debug macro
It was accidently enabled in 1bc9483a82
2016-05-04 16:28:56 +05:30
Thiep Ha f5d10f1961 elm cnp/Wl: Remove duplicated data receive callback
If we do drag & drop and then do copy & paste, both _wl_selection_receive
and _wl_dnd_receive are called for one action (dnd or cnp). It is reduntdant.
We only need one data received callback to handle two cases dnd and cnp.
2016-05-03 17:13:47 +00:00
Thiep Ha bcba96656a elm cnp/wl: add uri data type checking
When selection owner provides uri type (uri/text-list),
it should check if data is in correct format.
2016-05-03 17:13:47 +00:00
Thiep Ha ae1b2a124f elm cnp/Wl: set selection for all data types
Currently, not all selection data types are set.
This patch sets selection for all suitable types that we supported.
2016-05-03 17:13:47 +00:00
Thiep Ha 8796e938a3 elm cnp/Wl: Remove duplicated data send callback
If we do drag & drop and then do copy & paste, both _wl_selection_send
and _wl_dnd_send are called for one action (dnd or cnp). It is reduntdant.
We only need one callback to handle two cases dnd and cnp.
2016-05-03 17:13:47 +00:00
Thiep Ha 8a46f78c7d elm dnd/wl: add types' notify handler
This patch adds notify handlers for types.
It provides different ways to handle different data types.
2016-05-03 17:13:47 +00:00
Thiep Ha 1bc9483a82 elm dnd/wl: add type converters
we support different types for DnD, but there is no converters.
This patch adds converters for types, so that we can send
different data for different types.
2016-05-03 17:13:47 +00:00
Mike Blumenkrantz 8325b78aed elm_cnp: accept appropriate text types in wl drop handlers
this fixes text dnd

@fix
2016-04-21 13:58:45 -04:00
Mike Blumenkrantz f6f76bf87f elm_cnp: do not send null accepts for every type within wl data offers
once is sufficient
2016-04-21 13:58:45 -04:00
Mike Blumenkrantz c9208871ae elm_cnp: attempt to get all applicable mime types when getting selection
@fix
2016-04-21 13:58:45 -04:00
Carsten Haitzler 5e09d1307b eo base - remove the duplicated key dels and just do eo_key_del() now
this rationalizes all the duplicated key dels (key_data, key_obj and
key_value).
2016-04-21 18:02:31 +09:00
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00