platform/upstream/efl.git
7 years agoecore-evas: clear cursor object cache when setting default cursor
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
ecore-evas: clear cursor object cache when setting default cursor

@fix

7 years agoecore-evas: only apply cursor object cache for default pointer
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
ecore-evas: only apply cursor object cache for default pointer

@fix

7 years agoecore-drm2: simplify output name checking on device change
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
ecore-drm2: simplify output name checking on device change

eina_streq handles null and stringshare params

7 years agoelput: start elput_device_ and elput_seat_ namespaces, rename some functions
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: start elput_device_ and elput_seat_ namespaces, rename some functions

7 years agoelput: rename and make public Elput_Device_Caps enum
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: rename and make public Elput_Device_Caps enum

7 years agoelput/drm: redo xkb context/keymap setting
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput/drm: redo xkb context/keymap setting

context and keymap need to be set at the same time in order to effectively
update keyboard state, and active group should be accessible through api
as well

preserve old function ABI to ensure old binaries don't crash

7 years agoelput: implement compose sequences
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: implement compose sequences

@feature

fix T5006

7 years agoelput: fix key/keyname strings in key events
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: fix key/keyname strings in key events

todo: move all this duplicated code somewhere

7 years agoelput: sync _keyboard_keysym_translate() with ecore-wl2 code, add copyright
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: sync _keyboard_keysym_translate() with ecore-wl2 code, add copyright

7 years agoelput: add copyright from weston
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: add copyright from weston

7 years agoecore-wl2: implement compose keys
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
ecore-wl2: implement compose keys

@feature

ref T5006

7 years agoecore-wl2: add weston copyright notice to ecore_wl2_input.c
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
ecore-wl2: add weston copyright notice to ecore_wl2_input.c

this file contains code copied from weston

7 years agoelput: handle double/triple click for pen events
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: handle double/triple click for pen events

7 years agoelput: send axis events for tablet tools
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: send axis events for tablet tools

7 years agoelput: add initial input tablet support
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: add initial input tablet support

@feature

7 years agoelput: use unrounded coords for subpixel struct members in events
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: use unrounded coords for subpixel struct members in events

@fix

7 years agoelput: store device pressure for use in events
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: store device pressure for use in events

7 years agoelput: group tablet input devices into pointer devices
Mike Blumenkrantz [Fri, 26 May 2017 20:34:10 +0000 (16:34 -0400)]
elput: group tablet input devices into pointer devices

this is consistent with x11 behavior as well as the behavior of other toolkits
under wayland

@feature

7 years agoelementary_test: add a new inwin test
Marcel Hollerbach [Fri, 26 May 2017 19:33:34 +0000 (21:33 +0200)]
elementary_test: add a new inwin test

to show focusable widgets in the inwin

7 years agoelm_inwin: set this widget as a redirect
Marcel Hollerbach [Thu, 25 May 2017 21:01:51 +0000 (23:01 +0200)]
elm_inwin: set this widget as a redirect

once this widget is visible, It should handle the focus of its children
and leave no option to the underlaying widgets to gain focus.

This is implemented by making it a redirect when it gets visible.

7 years agointroduce efl_ui_focus_manager_root_focus
Marcel Hollerbach [Thu, 25 May 2017 14:37:01 +0000 (16:37 +0200)]
introduce efl_ui_focus_manager_root_focus

add a class that fills a dummy element for the case of no element added
at all.

7 years agoelm_code: fix cursor position (100%)
Al Poole [Wed, 24 May 2017 20:18:19 +0000 (21:18 +0100)]
elm_code: fix cursor position (100%)

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4905

7 years agoEfl.Ui.Progressbar: Implement Efl.Ui.Progress intf for progressbar part
Amitesh Singh [Wed, 24 May 2017 08:02:37 +0000 (17:02 +0900)]
Efl.Ui.Progressbar: Implement Efl.Ui.Progress intf for progressbar part

and remove part_value_set/get as EO APIs

ref T5360

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoEfl.Ui.Progressbar: add pulse_mode & pulse as eo API
Amitesh Singh [Wed, 24 May 2017 05:12:34 +0000 (14:12 +0900)]
Efl.Ui.Progressbar: add pulse_mode & pulse as eo API

and mark pulse_set/get, pulse and is_pulsing_get() as legacy APIs

ref T5360

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoexamples: Test API efl_input_device_children_iterate
Jean-Philippe Andre [Wed, 24 May 2017 06:31:45 +0000 (15:31 +0900)]
examples: Test API efl_input_device_children_iterate

While the API seems to work fine, I am not 100% sure the device
names are properly assigned.

Run ecore_evas_cursor_example or ecore_evas_vnc_example and
then connect to the VNC server locally or remotely.

7 years agoevas: Unify device names
Jean-Philippe Andre [Wed, 24 May 2017 07:00:47 +0000 (16:00 +0900)]
evas: Unify device names

Fixes mouse name that was "keyboard".

This is an attempt at unifying names under X11, WL and VNC.

The default device names now look the same, namely "Keyboard"
and "Mouse". The default seat still has different names on WL
and X11 ("seat-0" and "default").

7 years agoelm: Remove elm_box_layout_set from EO
Jean-Philippe Andre [Wed, 24 May 2017 06:17:06 +0000 (15:17 +0900)]
elm: Remove elm_box_layout_set from EO

This removes a type from ecore_types.eot
elm_box is legacy. Efl.Ui.Box is the new EO-enabled box.

Ref T5522

7 years agoevas/elm: Add Efl.Image.image_size read-only property
Jean-Philippe Andre [Wed, 24 May 2017 06:07:21 +0000 (15:07 +0900)]
evas/elm: Add Efl.Image.image_size read-only property

Following a remark in the mailing list, it is pretty clear that
Efl.Gfx.View.view_size is not as simple as "image_size".

I have defined this new image_size as being the size of the
image file, and not what's currently loaded. So it will not
apply to proxies, gl views, 3d scenes, etc... but only to
standard image files loaded with file_set or mmap_set.
Supported objects:
 - Efl.Canvas.Image (evas image)
 - Efl.Ui.Image (elm image)
 - Elm.Photocam (note: still needs some interface work)

@feature

7 years agoevas: Fix rare crash in object destruction
Jean-Philippe Andre [Wed, 24 May 2017 04:52:13 +0000 (13:52 +0900)]
evas: Fix rare crash in object destruction

The COW object may have not been created if the object could
not be created. Example: a window failed to open because the
engine could not create a surface.

7 years agoevas: Add children_iterate to Efl.Input.Device
Jean-Philippe Andre [Wed, 24 May 2017 04:26:51 +0000 (13:26 +0900)]
evas: Add children_iterate to Efl.Input.Device

This is a new method for EO that allows us to enumerate the
children of a device, especially useful for seat devices.

@feature

7 years agoevas: Make efl_input_device_seat_id_get() more useful
Jean-Philippe Andre [Wed, 24 May 2017 04:12:51 +0000 (13:12 +0900)]
evas: Make efl_input_device_seat_id_get() more useful

And cleanup the EO file a little bit.

7 years agospinner: Add signal to notify the value of spinner has been reached at min, max.
Woochan Lee [Wed, 24 May 2017 04:31:14 +0000 (13:31 +0900)]
spinner: Add signal to notify the value of spinner has been reached at min, max.

Summary: The User requires this signal to handle spinner widget easily on their app.

Test Plan: Spinner test on elementary_test.

Reviewers: cedric, jpeg, Hermet, woohyun, Jaehyun, myoungwoon, Jaehyun_Cho

Reviewed By: myoungwoon, Jaehyun_Cho

Subscribers: myoungwoon, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4886

7 years agoedje: Implement EO API for message_send
Jean-Philippe Andre [Tue, 23 May 2017 07:29:16 +0000 (16:29 +0900)]
edje: Implement EO API for message_send

Since this uses generic_value (aka Eina_Value), there is an
implicit type detection and conversion. I did not attempt to
cover all types (namely string+int and string+float and even
less sets of those) as I believe they aren't really used. Or
they most likely could be replaced by multiple messages rather
than a single message.

Note: should we pass ptr(generic_value) instead of generic_value?
The API looks a little odd in C when passing by value.

@feature

7 years agoedje: Fix typos and overall strange function name
Jean-Philippe Andre [Mon, 22 May 2017 10:32:22 +0000 (19:32 +0900)]
edje: Fix typos and overall strange function name

popornot was supposed to be propornot which stands for prop or not.
prop itself means propagate. Why choose a name so complicated? :)

7 years agoedje: Remove message_handler_set from EO
Jean-Philippe Andre [Mon, 22 May 2017 10:18:41 +0000 (19:18 +0900)]
edje: Remove message_handler_set from EO

It is used to receive messages with a payload from embryo to C.
This API has a function pointer, which means it would have to be
manually bound, or transformed (eg. eo event).

Also, prepare the change for message_send to use Eina_Value and
no explicit type.

This feature seems rarely used.

But note that handler_set is in fact used in terminology, rage and
luncher. So, if the need arises, it will have to be transformed in
a proper EO way.

7 years agoelm_code: reduce race conditions in rendering cursor
Andy Williams [Tue, 23 May 2017 22:03:08 +0000 (23:03 +0100)]
elm_code: reduce race conditions in rendering cursor

This code is slowly getting neater as we get to the bottom of it

7 years agoelm_win: Fix breakage in frame bg style with Elementary WL2
Bryce Harrington [Tue, 23 May 2017 20:45:06 +0000 (16:45 -0400)]
elm_win: Fix breakage in frame bg style with Elementary WL2

Summary:
An else statement was added in 5ebdf8f3 with no clause, resulting in the
bg_solid property becoming conditionalized such that it won't be set
correctly when HAVE_ELEMENTARY_WL2 is defined and there is no wayland
window in use.

Further, this also causes focus to be left undefined.  Since there's no
window, presumably it should be turned off in this circumstance.

fix CID1375496, CID1375497

Reviewers: zmike

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4899

7 years agoelm_fileselector: use a sane item size
Marcel Hollerbach [Tue, 23 May 2017 18:05:15 +0000 (20:05 +0200)]
elm_fileselector: use a sane item size

16 px is nothing you can really read, even the font is bigger than that,
so you only see "...", like
http://www.enlightenment.org/ss/e-592478d86028f5.91073806.jpg.

Now it looks like:
http://www.enlightenment.org/ss/e-592479ac4dde13.60227000.png

@fix

7 years agoEvas textblock: fix width calculation of non-dirty paragraphs
Daniel Hirt [Tue, 23 May 2017 09:14:57 +0000 (12:14 +0300)]
Evas textblock: fix width calculation of non-dirty paragraphs

This reverts commit 0a28cb97af928623127644e37a522af36035a845, as the
addressed issue was still occurring.
Non-dirty paragraphs were not considered when recalculating the
formatted width of the text.
This could easily be reproduced with two paragraphs, getting the width,
and then updating only the second paragraph.

Added a test case.

@fix

7 years agoupdate po/* files after progressbar rename
Amitesh Singh [Tue, 23 May 2017 09:54:45 +0000 (18:54 +0900)]
update po/* files after progressbar rename

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoelm: rename elm_progressbar to Efl.Ui.Progressbar
Amitesh Singh [Tue, 23 May 2017 09:30:00 +0000 (18:30 +0900)]
elm: rename elm_progressbar to Efl.Ui.Progressbar

ref T5360

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoEfl.Ui.Radio: correct the 'changed' event name
Amitesh Singh [Tue, 23 May 2017 06:41:17 +0000 (15:41 +0900)]
Efl.Ui.Radio: correct the 'changed' event name

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoEfl.Ui.Check: correct the include gaurds name
Amitesh Singh [Tue, 23 May 2017 01:24:38 +0000 (10:24 +0900)]
Efl.Ui.Check: correct the include gaurds name

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoelementary: fix global declaration
Jean Guyomarc'h [Mon, 22 May 2017 17:39:10 +0000 (19:39 +0200)]
elementary: fix global declaration

Don't DEFINE a global in a header, DECLARE it instead!
This fixes link on macOS.

7 years agoelm_cnp: use correct pointer when emitting ELM_CNP_EVENT_SELECTION_CHANGED
Mike Blumenkrantz [Mon, 22 May 2017 10:52:57 +0000 (06:52 -0400)]
elm_cnp: use correct pointer when emitting ELM_CNP_EVENT_SELECTION_CHANGED

CID ???

7 years agoupdate po/* files after elm_radio rename
Amitesh Singh [Mon, 22 May 2017 10:19:26 +0000 (19:19 +0900)]
update po/* files after elm_radio rename

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agorename elm_radio to Efl.Ui.Radio
Amitesh Singh [Mon, 22 May 2017 09:56:52 +0000 (18:56 +0900)]
rename elm_radio to Efl.Ui.Radio

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoAdd po/* files changes after elm_button rename
Amitesh Singh [Mon, 22 May 2017 08:34:45 +0000 (17:34 +0900)]
Add po/* files changes after elm_button rename

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoevas: Fix build for Windows without segv
Jean-Philippe Andre [Mon, 22 May 2017 08:20:35 +0000 (17:20 +0900)]
evas: Fix build for Windows without segv

Revert "Revert "evas: Fix build for Windows (hopefully)""
This reverts commit c8ec1cb2af4f3771ebdcafff3a1f9c7db5c13dad.

The two efl_input_ functions need to be declared as EOAPI inside
the file where they are implemented. Otherwise the symbols aren't
exposed and weak linking means the function call crashes.

Sorry for the first untested patch and subsequent revert. Things
should be in order now.

7 years agorename elm_button to Efl.Ui.Button
Amitesh Singh [Mon, 22 May 2017 03:48:12 +0000 (12:48 +0900)]
rename elm_button to Efl.Ui.Button

ref T5323

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoRevert "evas: Fix build for Windows (hopefully)"
Jean-Philippe Andre [Mon, 22 May 2017 06:05:16 +0000 (15:05 +0900)]
Revert "evas: Fix build for Windows (hopefully)"

This reverts commit 1e2d382298b0d4357d35b1f350c04f04820c7218.
This segfaults. Ouch... Will need more time to fix this.

7 years agoevas: Fix build for Windows (hopefully)
Jean-Philippe Andre [Mon, 22 May 2017 05:41:00 +0000 (14:41 +0900)]
evas: Fix build for Windows (hopefully)

The declaration of some internal EO APIs was located in the wrong
library, which results on Windows to an invalid definition of
EAPI (dllexport vs dllimport).

Thanks @vtorri for the report!

7 years agoconfig: fix keybindings for Efl.Ui.Check
Amitesh Singh [Mon, 22 May 2017 05:47:37 +0000 (14:47 +0900)]
config: fix keybindings for Efl.Ui.Check

Thanks to Woohyun for reporting this.

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoelm: Try to fix build (linking failure)
Jean-Philippe Andre [Mon, 22 May 2017 04:25:30 +0000 (13:25 +0900)]
elm: Try to fix build (linking failure)

This should expose the proper definition of EAPI before including
elm_widget.h, as elm modules call internal APIs from elementary.

Thanks Mykyta for the report!

7 years agoelm_check: make sure of the correct naming of header files
Stefan Schmidt [Fri, 19 May 2017 10:05:10 +0000 (12:05 +0200)]
elm_check: make sure of the correct naming of header files

We use a header wrapper _eo.h here instead of using the eo.h file
directly. By not doing so the automagic in our build system will not
work.

7 years agoupdate po files after elm check rename
Amitesh Singh [Fri, 19 May 2017 07:57:33 +0000 (16:57 +0900)]
update po files after elm check rename

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agorename elm_check to Efl.Ui.Check
Amitesh Singh [Mon, 22 May 2017 02:27:13 +0000 (11:27 +0900)]
rename elm_check to Efl.Ui.Check

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
7 years agoelm_code: improving cursor move behavior.
Andy Williams [Sun, 21 May 2017 22:19:24 +0000 (23:19 +0100)]
elm_code: improving cursor move behavior.

There is a blank line off the scroller but for now it's better

7 years agoelm_widget: use a different pointer from sd
Marcel Hollerbach [Sat, 20 May 2017 19:03:15 +0000 (21:03 +0200)]
elm_widget: use a different pointer from sd

sd is used later below, which could then alter the wrong private data,
which is not part of the object.

CID 1374433

7 years agoefl_ui_focus_manager: logical_end could be called before root_set
Marcel Hollerbach [Sat, 20 May 2017 18:51:30 +0000 (20:51 +0200)]
efl_ui_focus_manager: logical_end could be called before root_set

which would lead to a NULL deref

CID 1374435

7 years agoefl_ui_focus_manager: fix valgrind warnings in the tests
Marcel Hollerbach [Sat, 20 May 2017 18:46:49 +0000 (20:46 +0200)]
efl_ui_focus_manager: fix valgrind warnings in the tests

7 years agodmabuf: Drop requirement that buffer be writeable
Derek Foreman [Fri, 19 May 2017 21:58:32 +0000 (16:58 -0500)]
dmabuf: Drop requirement that buffer be writeable

We don't need to write to it, and some clients don't create their buffers
in a way that we can.

@fix

7 years agoecore-wl2: permit null drag icon window in ecore_wl2_dnd_drag_start()
Mike Blumenkrantz [Fri, 19 May 2017 19:53:15 +0000 (15:53 -0400)]
ecore-wl2: permit null drag icon window in ecore_wl2_dnd_drag_start()

this is explicitly allowed in the spec

@fix

7 years agoelm_code: fix carriage return at EOF scroller behaviour
Al Poole [Fri, 19 May 2017 17:47:16 +0000 (18:47 +0100)]
elm_code: fix carriage return at EOF scroller behaviour

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4890

7 years agoevas: fix doc copypaste on evas_device_get()
Mike Blumenkrantz [Thu, 18 May 2017 15:37:33 +0000 (11:37 -0400)]
evas: fix doc copypaste on evas_device_get()

7 years agoevas: add evas_device_get_by_seat_id()
Mike Blumenkrantz [Thu, 18 May 2017 15:36:55 +0000 (11:36 -0400)]
evas: add evas_device_get_by_seat_id()

sometimes it may be more useful to find a device by its hw id

@feature

7 years agoecore-wl2: block key->string translation when appropriate
Mike Blumenkrantz [Wed, 17 May 2017 21:51:08 +0000 (17:51 -0400)]
ecore-wl2: block key->string translation when appropriate

copied from libX11.

I don't understand what's going on here but this fixes input bugs such
as, e.g., holding ctrl and pressing shift affecting cursor position in
terminology

@fix

7 years agoecore-wl2: add copyright info to code copied from libX11
Mike Blumenkrantz [Wed, 17 May 2017 22:00:26 +0000 (18:00 -0400)]
ecore-wl2: add copyright info to code copied from libX11

this code has been slightly modified, but it was originally taken without
attribution from libX11/src/KeyBind.c

ref 08c804f5bb2de3cb5a7e95b1264b30043d1aea6f

@fix

7 years agoecore-wl2: remove ecore_wl2_window_input_get()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: remove ecore_wl2_window_input_get()

this function does not make sense within the context of wayland and seats,
since a surface does not own and is not owned by a seat, nor is there a 1:1
association between surfaces and seats

7 years agoecore-wl2: do not attempt to call zxdg_surface_v6.get_popup without a parent
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: do not attempt to call zxdg_surface_v6.get_popup without a parent

this is a protocol error so ensure that it can never occur

@fix

7 years agoecore-wl2: add ecore_wl2_window_popup_input_set()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: add ecore_wl2_window_popup_input_set()

this is a function for explicitly setting the seat which will be used
for popup grabs

@feature

7 years agowayland: move pointer-related functions to ecore_wl2_input namespace
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
wayland: move pointer-related functions to ecore_wl2_input namespace

windows do not have pointers or cursors under wayland, seats do. due to
lack of multiseat support, most components simply use the "default" seat
with these functions, but this should make the corresponding code more
easily adaptable

7 years agowayland: send focus in/out events when receiving/losing keyboard focus
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
wayland: send focus in/out events when receiving/losing keyboard focus

since this is typically what efl defines as "focus"

@fix

7 years agowayland: use shell activated state to indicate focus in csd
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
wayland: use shell activated state to indicate focus in csd

the current (v6) xdg-shell spec reads as follows:

  Client window decorations should be painted as if the window is
  active. Do not assume this means that the window actually has
  keyboard or pointer focus.

so this is not equivalent to receiving/losing input focus and should not
be propagated as such

@fix

7 years agoecore-wl2: add ecore_wl2_window_activated_get()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: add ecore_wl2_window_activated_get()

this is specifically for returning the shell surface's activation state
which is NOT equivalent to the window having input focus

@feature

7 years agoecore-wl2: redo ecore_wl2_window_move() to take a seat instead of coords
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: redo ecore_wl2_window_move() to take a seat instead of coords

this triggers a move operation and is seat-dependent

7 years agoecore-wl2: redo ecore_wl2_window_resize() to take a seat instead of size
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: redo ecore_wl2_window_resize() to take a seat instead of size

this triggers a resize operation and is seat-dependent

7 years agoecore-evas-wayland: do not trigger resize operation when performing rotation
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-evas-wayland: do not trigger resize operation when performing rotation

@fix

7 years agoecore-wl2: add ecore_wl2_display_input_find_by_name()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: add ecore_wl2_display_input_find_by_name()

@feature

7 years agoelm_win: don't unset wl cursor when starting move operation
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
elm_win: don't unset wl cursor when starting move operation

I don't understand why this is here and it isn't required by spec?

ref ea7bbfe47dc1df5f51725be05eadf7ebce1d8361

7 years agoelm_win: add elm_win_get()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
elm_win: add elm_win_get()

it's frequently useful to be able to return the window object from
any object. this simplifies doing so for users

@feature

7 years agoecore-wl2: use nonblocking event flush when disconnecting a client
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: use nonblocking event flush when disconnecting a client

roundtrip will deadlock if called in a compositor process

@fix

7 years agoelm_cnp: add elm_cnp_clipboard_selection_has_owner()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
elm_cnp: add elm_cnp_clipboard_selection_has_owner()

this already existed as an internal function which was improperly namespaced

@feature

7 years agoelm_cnp: add event for selection change
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
elm_cnp: add event for selection change

@feature

7 years agoecore-wl2: add ecore_wl2_display_name_get()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: add ecore_wl2_display_name_get()

@feature

7 years agoecore-wl2: add ecore_wl2_display_input_find()
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore-wl2: add ecore_wl2_display_input_find()

for finding seat using hw id

@feature

7 years agoee wl engines: set seat id when creating seats
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ee wl engines: set seat id when creating seats

7 years agoee vnc thingy: set seat id for vnc seat
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ee vnc thingy: set seat id for vnc seat

7 years agoevas_device: add seat_id property, set seat id for default fallback seat
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
evas_device: add seat_id property, set seat id for default fallback seat

@feature

7 years agoecore: resolve compiler warning
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
ecore: resolve compiler warning

/home/jpeg/e/core/efl/src/lib/ecore/ecore_main.c:1381: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare]

THANKS @JPEG FOR REPORTING

7 years agoefl_input_device: add seat_id property
Mike Blumenkrantz [Wed, 17 May 2017 20:02:53 +0000 (16:02 -0400)]
efl_input_device: add seat_id property

this is the hardware id of a seat which is required in order to match
against objects from other components

@feature

7 years agoecore-drm2: Don't call fb_flip until output is enabled
Chris Michael [Fri, 19 May 2017 15:33:19 +0000 (11:33 -0400)]
ecore-drm2: Don't call fb_flip until output is enabled

When calling ecore_drm2_output_enabled_set, we cannot initiate a
pageflip until the output has been enabled, so remove call to fb_flip
here. The dpms_set function will handle issueing the pageflip anyway.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Cleanup output_enabled_set function code
Chris Michael [Fri, 19 May 2017 15:32:20 +0000 (11:32 -0400)]
ecore-drm2: Cleanup output_enabled_set function code

If we are using atomic, we don't need to set the crtc active values
here as they will be set in output_dpms_set function anyway.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Fix atomic dpms setting (round 2)
Chris Michael [Fri, 19 May 2017 15:29:47 +0000 (11:29 -0400)]
ecore-drm2: Fix atomic dpms setting (round 2)

As it turns out, we still need to enable/disable the output crtc when
we enable/disable dpms in order for the screen itself to turn off, so
this patch "should" finally fix atomic dpms setting.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agodoc: Fix filters documentation in edcref
Jean-Philippe Andre [Fri, 19 May 2017 05:42:55 +0000 (14:42 +0900)]
doc: Fix filters documentation in edcref

Thanks @rimmed for the report!

@fix

7 years agoevas/elm: Make group_add/group_del internal functions
Jean-Philippe Andre [Thu, 18 May 2017 08:52:17 +0000 (17:52 +0900)]
evas/elm: Make group_add/group_del internal functions

This hides those two legacy functions from the EO API.

7 years agoevas: Make beta events from Evas.Canvas internal
Jean-Philippe Andre [Thu, 18 May 2017 08:46:36 +0000 (17:46 +0900)]
evas: Make beta events from Evas.Canvas internal

This includes 4 events:
 - render,flush,pre
 - render,flush,post
 - axis,update
 - viewport,resize

Those were not accessible from the EO API since Evas.Canvas
isn't part of the public EO API.

7 years agoevas: Make Efl.Canvas.Object.type internal
Jean-Philippe Andre [Thu, 18 May 2017 08:41:37 +0000 (17:41 +0900)]
evas: Make Efl.Canvas.Object.type internal

7 years agoevas: Make Efl.Canvas.Object.legacy_ctor internal
Jean-Philippe Andre [Thu, 18 May 2017 08:37:26 +0000 (17:37 +0900)]
evas: Make Efl.Canvas.Object.legacy_ctor internal

Continuing...

7 years agoevas: Make Efl.Input.Event.instance_get internal
Jean-Philippe Andre [Thu, 18 May 2017 08:27:47 +0000 (17:27 +0900)]
evas: Make Efl.Input.Event.instance_get internal

Same as the previous patch. This removes the definition from
the EO file, implementing the feature in C.