platform/upstream/efl.git
8 years agoecore-wl2: Improve popup support to be able to use the parent windows
Chris Michael [Thu, 24 Sep 2015 15:54:19 +0000 (11:54 -0400)]
ecore-wl2: Improve popup support to be able to use the parent windows
seat

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for window moving
Chris Michael [Thu, 24 Sep 2015 15:50:36 +0000 (11:50 -0400)]
ecore-wl2: Add support for window moving

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for xdg popups
Chris Michael [Thu, 24 Sep 2015 15:45:10 +0000 (11:45 -0400)]
ecore-wl2: Add support for xdg popups

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Assign an input to a window when the window gets focus
Chris Michael [Thu, 24 Sep 2015 15:36:48 +0000 (11:36 -0400)]
ecore-wl2: Assign an input to a window when the window gets focus

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Finish up touch support. Record touch motion coordinates
Chris Michael [Thu, 24 Sep 2015 14:29:43 +0000 (10:29 -0400)]
ecore-wl2: Finish up touch support. Record touch motion coordinates
into input->pointer.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for double/triple click in mouse events
Chris Michael [Thu, 24 Sep 2015 14:12:01 +0000 (10:12 -0400)]
ecore-wl2: Add support for double/triple click in mouse events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Send key press/release events when we get wayland event
Chris Michael [Wed, 23 Sep 2015 18:39:24 +0000 (14:39 -0400)]
ecore-wl2: Send key press/release events when we get wayland event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Raise focus in/out events when we get wayland events for
Chris Michael [Wed, 23 Sep 2015 16:42:49 +0000 (12:42 -0400)]
ecore-wl2: Raise focus in/out events when we get wayland events for
keyboard enter/leave

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add event structures for focus in/out
Chris Michael [Wed, 23 Sep 2015 16:39:18 +0000 (12:39 -0400)]
ecore-wl2: Add event structures for focus in/out

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Reset pointer and keyboard focus when a window gets deleted
Chris Michael [Wed, 23 Sep 2015 16:25:10 +0000 (12:25 -0400)]
ecore-wl2: Reset pointer and keyboard focus when a window gets deleted

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Call input ungrab when window operations occur
Chris Michael [Wed, 23 Sep 2015 16:13:44 +0000 (12:13 -0400)]
ecore-wl2: Call input ungrab when window operations occur

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Finish send ecore events for any wayland touch related events
Chris Michael [Wed, 23 Sep 2015 15:51:30 +0000 (11:51 -0400)]
ecore-wl2: Finish send ecore events for any wayland touch related events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Send mouse up event when we ungrab input
Chris Michael [Wed, 23 Sep 2015 15:46:58 +0000 (11:46 -0400)]
ecore-wl2: Send mouse up event when we ungrab input

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Send mouse button down/up events when we get a wayland
Chris Michael [Wed, 23 Sep 2015 15:45:17 +0000 (11:45 -0400)]
ecore-wl2: Send mouse button down/up events when we get a wayland
pointer button event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add internal functions for sending mouse button down/up
Chris Michael [Wed, 23 Sep 2015 15:43:52 +0000 (11:43 -0400)]
ecore-wl2: Add internal functions for sending mouse button down/up
events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Set display serial during keyboard events
Chris Michael [Wed, 23 Sep 2015 15:24:21 +0000 (11:24 -0400)]
ecore-wl2: Set display serial during keyboard events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add code to send mouse wheel events
Chris Michael [Wed, 23 Sep 2015 15:22:00 +0000 (11:22 -0400)]
ecore-wl2: Add code to send mouse wheel events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Issue input grab/ungrab during pointer button events
Chris Michael [Wed, 23 Sep 2015 15:17:06 +0000 (11:17 -0400)]
ecore-wl2: Issue input grab/ungrab during pointer button events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add code to send mouse move events
Chris Michael [Wed, 23 Sep 2015 15:13:44 +0000 (11:13 -0400)]
ecore-wl2: Add code to send mouse move events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add functions to send mouse in/out events and call them
Chris Michael [Wed, 23 Sep 2015 15:07:00 +0000 (11:07 -0400)]
ecore-wl2: Add functions to send mouse in/out events and call them
during pointer enter/leave

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add internal input functions to initiate/release a grab
Chris Michael [Wed, 23 Sep 2015 14:23:42 +0000 (10:23 -0400)]
ecore-wl2: Add internal input functions to initiate/release a grab

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add prototype functions to support data listener
Chris Michael [Wed, 23 Sep 2015 14:16:14 +0000 (10:16 -0400)]
ecore-wl2: Add prototype functions to support data listener

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add placeholders for touch listener functions
Chris Michael [Sun, 20 Sep 2015 19:54:39 +0000 (15:54 -0400)]
ecore-wl2: Add placeholders for touch listener functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add initial support for keyboard events
Chris Michael [Sun, 20 Sep 2015 19:45:55 +0000 (15:45 -0400)]
ecore-wl2: Add initial support for keyboard events

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add placeholders for functions of the keyboard listener
Chris Michael [Sun, 20 Sep 2015 06:28:01 +0000 (02:28 -0400)]
ecore-wl2: Add placeholders for functions of the keyboard listener

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add TODO note for handling mouse wheel event
Chris Michael [Thu, 10 Sep 2015 17:44:01 +0000 (13:44 -0400)]
ecore-wl2: Add TODO note for handling mouse wheel event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of code for pointer button event
Chris Michael [Thu, 10 Sep 2015 17:39:25 +0000 (13:39 -0400)]
ecore-wl2: Add start of code for pointer button event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Start on code for pointer motion event
Chris Michael [Thu, 10 Sep 2015 17:34:26 +0000 (13:34 -0400)]
ecore-wl2: Start on code for pointer motion event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Start on code for pointer leave event
Chris Michael [Thu, 10 Sep 2015 17:25:54 +0000 (13:25 -0400)]
ecore-wl2: Start on code for pointer leave event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Destroy cursor theme when input is destroyed
Chris Michael [Thu, 10 Sep 2015 17:22:48 +0000 (13:22 -0400)]
ecore-wl2: Destroy cursor theme when input is destroyed

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of pointer handling code
Chris Michael [Thu, 10 Sep 2015 17:21:29 +0000 (13:21 -0400)]
ecore-wl2: Add start of pointer handling code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add function to find a window based on surface
Chris Michael [Thu, 10 Sep 2015 17:21:02 +0000 (13:21 -0400)]
ecore-wl2: Add function to find a window based on surface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add pointer fields to input structure
Chris Michael [Thu, 10 Sep 2015 17:00:48 +0000 (13:00 -0400)]
ecore-wl2: Add pointer fields to input structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add placeholder touch listener structure and setup touch
Chris Michael [Thu, 10 Sep 2015 16:19:53 +0000 (12:19 -0400)]
ecore-wl2: Add placeholder touch listener structure and setup touch
listener

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add placeholder keyboard listener structure and setup
Chris Michael [Thu, 10 Sep 2015 16:18:25 +0000 (12:18 -0400)]
ecore-wl2: Add placeholder keyboard listener structure and setup
keyboard listener

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add placeholder pointer listener structure and setup
Chris Michael [Thu, 10 Sep 2015 16:16:05 +0000 (12:16 -0400)]
ecore-wl2: Add placeholder pointer listener structure and setup
pointer listener

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for initial setup of pointer cursor
Chris Michael [Thu, 10 Sep 2015 16:09:14 +0000 (12:09 -0400)]
ecore-wl2: Add support for initial setup of pointer cursor

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of Ecore_Wl2_Input code
Chris Michael [Thu, 10 Sep 2015 15:03:23 +0000 (11:03 -0400)]
ecore-wl2: Add start of Ecore_Wl2_Input code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Fix doxygen comment
Chris Michael [Thu, 10 Sep 2015 15:02:53 +0000 (11:02 -0400)]
ecore-wl2: Fix doxygen comment

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for xdg shell listener
Chris Michael [Thu, 10 Sep 2015 14:50:30 +0000 (10:50 -0400)]
ecore-wl2: Add support for xdg shell listener

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of Ecore_Wl2_Output code for outputs
Chris Michael [Thu, 10 Sep 2015 14:37:40 +0000 (10:37 -0400)]
ecore-wl2: Add start of Ecore_Wl2_Output code for outputs

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Free window when surface gets deleted
Chris Michael [Wed, 9 Sep 2015 17:23:39 +0000 (13:23 -0400)]
ecore-wl2: Free window when surface gets deleted

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add placeholder API for ecore_wl2_window_raise
Chris Michael [Wed, 9 Sep 2015 17:06:54 +0000 (13:06 -0400)]
ecore-wl2: Add placeholder API for ecore_wl2_window_raise

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Update doxygen for window move and resize functions
Chris Michael [Wed, 9 Sep 2015 16:50:35 +0000 (12:50 -0400)]
ecore-wl2: Update doxygen for window move and resize functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to resize a window
Chris Michael [Wed, 9 Sep 2015 16:27:23 +0000 (12:27 -0400)]
ecore-wl2: Add API function to resize a window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to move a window
Chris Michael [Wed, 9 Sep 2015 16:24:30 +0000 (12:24 -0400)]
ecore-wl2: Add API function to move a window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to free a window
Chris Michael [Wed, 9 Sep 2015 16:12:53 +0000 (12:12 -0400)]
ecore-wl2: Add API function to free a window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to hide a window
Chris Michael [Wed, 9 Sep 2015 16:08:26 +0000 (12:08 -0400)]
ecore-wl2: Add API function to hide a window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function for ecore_wl2_window_show
Chris Michael [Wed, 9 Sep 2015 15:19:24 +0000 (11:19 -0400)]
ecore-wl2: Add API function for ecore_wl2_window_show

Summary: This adds preliminary support for wl_shell and xdg_shell

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add a listener for display sync when connect is called
Chris Michael [Wed, 9 Sep 2015 15:19:02 +0000 (11:19 -0400)]
ecore-wl2: Add a listener for display sync when connect is called

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add bool fields to window structure to store state
Chris Michael [Wed, 9 Sep 2015 15:18:38 +0000 (11:18 -0400)]
ecore-wl2: Add bool fields to window structure to store state

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add function to create/get a wl_surface for a window
Chris Michael [Thu, 20 Aug 2015 18:12:18 +0000 (14:12 -0400)]
ecore-wl2: Add function to create/get a wl_surface for a window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for window types
Chris Michael [Thu, 20 Aug 2015 16:54:27 +0000 (12:54 -0400)]
ecore-wl2: Add support for window types

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add function to return window id
Chris Michael [Thu, 20 Aug 2015 16:44:17 +0000 (12:44 -0400)]
ecore-wl2: Add function to return window id

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of ecore_wl2_window code
Chris Michael [Thu, 20 Aug 2015 16:39:39 +0000 (12:39 -0400)]
ecore-wl2: Add start of ecore_wl2_window code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to return an iterator for display globals
Chris Michael [Thu, 20 Aug 2015 16:18:52 +0000 (12:18 -0400)]
ecore-wl2: Add API function to return an iterator for display globals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Group connect and disconnect functions together
Chris Michael [Thu, 20 Aug 2015 14:57:07 +0000 (10:57 -0400)]
ecore-wl2: Group connect and disconnect functions together

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add internal function to cleanup Ecore_Wl2_Display when closed
Chris Michael [Thu, 20 Aug 2015 14:51:57 +0000 (10:51 -0400)]
ecore-wl2: Add internal function to cleanup Ecore_Wl2_Display when closed

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function for servers to terminate wayland display main loop
Chris Michael [Thu, 20 Aug 2015 14:41:33 +0000 (10:41 -0400)]
ecore-wl2: Add API function for servers to terminate wayland display main loop

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Create new xkb context for each display when connected
Chris Michael [Thu, 20 Aug 2015 14:35:24 +0000 (10:35 -0400)]
ecore-wl2: Create new xkb context for each display when connected

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function for servers to destroy a wayland display
Chris Michael [Thu, 20 Aug 2015 14:22:03 +0000 (10:22 -0400)]
ecore-wl2: Add API function for servers to destroy a wayland display

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function for clients to disconnect from a Wayland display
Chris Michael [Thu, 20 Aug 2015 14:15:07 +0000 (10:15 -0400)]
ecore-wl2: Add API function for clients to disconnect from a Wayland display

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to return the wl_shm interface
Chris Michael [Thu, 20 Aug 2015 13:56:18 +0000 (09:56 -0400)]
ecore-wl2: Add API function to return the wl_shm interface

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Remove unused wl_registry field in display structure
Chris Michael [Thu, 20 Aug 2015 13:42:04 +0000 (09:42 -0400)]
ecore-wl2: Remove unused wl_registry field in display structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Call wl_event_loop_dispatch with a 0 timeout
Chris Michael [Thu, 20 Aug 2015 13:41:39 +0000 (09:41 -0400)]
ecore-wl2: Call wl_event_loop_dispatch with a 0 timeout

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add support for binding various wayland interfaces
Chris Michael [Wed, 19 Aug 2015 17:48:19 +0000 (13:48 -0400)]
ecore-wl2: Add support for binding various wayland interfaces

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add xdg_shell protocol files
Chris Michael [Thu, 20 Aug 2015 13:31:51 +0000 (09:31 -0400)]
ecore-wl2: Add xdg_shell protocol files

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function to return wl_display
Chris Michael [Wed, 19 Aug 2015 17:41:01 +0000 (13:41 -0400)]
ecore-wl2: Add API function to return wl_display

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Modify ecore_wl2_display_create to take an optional socket name
Chris Michael [Tue, 18 Aug 2015 19:55:24 +0000 (15:55 -0400)]
ecore-wl2: Modify ecore_wl2_display_create to take an optional socket name

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Use Eina_Stringshare type instead of const char
Chris Michael [Tue, 18 Aug 2015 19:11:09 +0000 (15:11 -0400)]
ecore-wl2: Use Eina_Stringshare type instead of const char

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Start on code to handle globals being added or removed
Chris Michael [Tue, 18 Aug 2015 19:05:05 +0000 (15:05 -0400)]
ecore-wl2: Start on code to handle globals being added or removed

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of opaque Ecore_Wl2_Display structure
Chris Michael [Tue, 18 Aug 2015 17:50:02 +0000 (13:50 -0400)]
ecore-wl2: Add start of opaque Ecore_Wl2_Display structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add pkgconfig file for Ecore_Wl2 library
Chris Michael [Tue, 18 Aug 2015 17:45:19 +0000 (13:45 -0400)]
ecore-wl2: Add pkgconfig file for Ecore_Wl2 library

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add wayland log handler callback to print wl log messages
Chris Michael [Tue, 18 Aug 2015 16:52:34 +0000 (12:52 -0400)]
ecore-wl2: Add wayland log handler callback to print wl log messages

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add ecore_wl2_display file to build order
Chris Michael [Tue, 18 Aug 2015 15:56:07 +0000 (11:56 -0400)]
ecore-wl2: Add ecore_wl2_display file to build order

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Link to wayland-server for ecore_wl2 library
Chris Michael [Tue, 18 Aug 2015 15:55:24 +0000 (11:55 -0400)]
ecore-wl2: Link to wayland-server for ecore_wl2 library

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of doxygen infrastructure
Chris Michael [Tue, 18 Aug 2015 14:57:32 +0000 (10:57 -0400)]
ecore-wl2: Add start of doxygen infrastructure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function for ecore_wl2_shutdown
Chris Michael [Tue, 18 Aug 2015 14:15:01 +0000 (10:15 -0400)]
ecore-wl2: Add API function for ecore_wl2_shutdown

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add events for adding and removing globals
Chris Michael [Tue, 18 Aug 2015 14:08:38 +0000 (10:08 -0400)]
ecore-wl2: Add events for adding and removing globals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add API function for ecore_wl2_init
Chris Michael [Tue, 18 Aug 2015 14:06:40 +0000 (10:06 -0400)]
ecore-wl2: Add API function for ecore_wl2_init

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add start of headers for ecore_wl2 library
Chris Michael [Tue, 18 Aug 2015 13:50:28 +0000 (09:50 -0400)]
ecore-wl2: Add start of headers for ecore_wl2 library

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoefl: Add Ecore_Wl2 library to configure.ac
Chris Michael [Tue, 18 Aug 2015 13:44:07 +0000 (09:44 -0400)]
efl: Add Ecore_Wl2 library to configure.ac

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl2: Add Makefile for building Ecore_Wl2 library
Chris Michael [Tue, 18 Aug 2015 13:43:50 +0000 (09:43 -0400)]
ecore-wl2: Add Makefile for building Ecore_Wl2 library

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wl: Make "server mode" a global
Chris Michael [Mon, 5 Oct 2015 20:40:05 +0000 (16:40 -0400)]
ecore-wl: Make "server mode" a global

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-wayland: Add support for using timer based animators if in
Chris Michael [Mon, 5 Oct 2015 20:32:11 +0000 (16:32 -0400)]
ecore-wayland: Add support for using timer based animators if in
server mode

Summary: For E internal windows, we cannot use custom animator sources
due to Other animators using a timer-based solution. For this case,
when running in "server mode" for internal windows we will default to
a timer based animator solution.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoEdje entry: Use markup text for password in preedit mode
Subodh Kumar [Thu, 3 Dec 2015 16:04:07 +0000 (16:04 +0000)]
Edje entry: Use markup text for password in preedit mode

Summary:
Use markup text for password in preedit mode

Problem is that when text comes in preedit mode
it is always markup text and when it is committed
to entry it got committed with markup tags along with
the original string, so for preedit mode password
should be filtered all markup to set the proper text.

@fix

Test Plan:
In preedit mode, enter any character say 'A'
preedit markup like <preedit>A</preedit>
will come in preedit changed callback

Result: Text is set as plain text like below
&lt;preedit&gt;A&lt;/preedit&gt;

Reviewers: thiepha, jihoon, herdsman, shilpasingh, tasn

Reviewed By: shilpasingh, tasn

Subscribers: cedric

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

8 years agoEctor: Fix Windows build (missed in previous patch)
Jean-Philippe Andre [Thu, 3 Dec 2015 11:52:50 +0000 (20:52 +0900)]
Ector: Fix Windows build (missed in previous patch)

8 years agoEctor: use uint32_t instead of uint
Jean-Philippe Andre [Thu, 3 Dec 2015 11:15:17 +0000 (20:15 +0900)]
Ector: use uint32_t instead of uint

This fixes the build for Windows. Thanks @vtorri for the report.

I'm not using "unsigned int" as uint was mostly used like DATA32,
ie. color data (one pixel color or a pixel buffer).

8 years agoedje_entry: Fix crash on selection
Shilpa Singh [Thu, 3 Dec 2015 10:50:03 +0000 (12:50 +0200)]
edje_entry: Fix crash on selection

Summary:
When text is selected, crash happens due to double free as rectangles are freed both in _sel_update
and _evas_textblock_selection_iterator_free hence removing free from _sel_update.

@fix T2910

Test Plan:
1. Launch elementary test
2. launch entry demo
3. select text

Reviewers: cedric, herdsman

Subscribers: jpeg

Maniphest Tasks: T2910

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

8 years agoEctor: Kill compilation warnings
Jean-Philippe Andre [Thu, 3 Dec 2015 07:19:27 +0000 (16:19 +0900)]
Ector: Kill compilation warnings

Remove unimplemented function (no test case yet).
Convert #warning into comments.

8 years agoEvas: Move alpha functions to static_libs/draw
Jean-Philippe Andre [Thu, 3 Dec 2015 06:29:32 +0000 (15:29 +0900)]
Evas: Move alpha functions to static_libs/draw

This is a pretty simple code refactor, moving pixel handling
to the new draw lib.

8 years agoEctor: Move cairo surface back to ector
Jean-Philippe Andre [Thu, 3 Dec 2015 06:10:18 +0000 (15:10 +0900)]
Ector: Move cairo surface back to ector

The original plan was to have two different surfaces for GL and SW,
but this is probably not going to happen anytime soon. So, move
the implementation back to lib/ector. This avoid a file duplication.

8 years agoEctor: Rename C files to match their EO counterparts
Jean-Philippe Andre [Thu, 3 Dec 2015 06:04:26 +0000 (15:04 +0900)]
Ector: Rename C files to match their EO counterparts

8 years agoEctor: Another minor code cleanup
Jean-Philippe Andre [Thu, 3 Dec 2015 05:41:06 +0000 (14:41 +0900)]
Ector: Another minor code cleanup

Remove DATA8, DATA16, DATA32
Remove empty data structure
Remove unnecessary typedef

8 years agoEctor: Move drawhelper to static_libs
Jean-Philippe Andre [Wed, 2 Dec 2015 09:46:29 +0000 (18:46 +0900)]
Ector: Move drawhelper to static_libs

Rename a few things:
 - draw helper -> efl_draw
 - Ector_Rop -> Efl.Gfx.Render_Op
 - ECTOR_ bla bla -> DRAW_ bla bla (base pixel ops)
 - ector_memfill -> draw_memset32 (and invert arg order to match memset)

The main rasterizer file is now draw.h in static_libs/draw
This is a non functional change, simple code refactor.

8 years agoEctor: Use Ector Buffer inside SW and Cairo renderers
Jean-Philippe Andre [Tue, 1 Dec 2015 06:22:20 +0000 (15:22 +0900)]
Ector: Use Ector Buffer inside SW and Cairo renderers

Ector Surface now inherits from Ector Buffer, and the current
two renderers (SW and Cairo SW) use Ector.Software.Buffer
implementations for pixel surfaces.

Basic pixel handling is merged and will allow easy extension
(color conversion, etc...).

Buffer classes are Mixins to be fully implemented by the final
class, such as: Ector.Software.Buffer, Ector.Software.Surface
or Ector.Cairo.Surface.

This is a large ugly commit. Sorry.
The code is quite a mess right now.

8 years agoEctor: Implement pixel buffer support
Jean-Philippe Andre [Wed, 18 Nov 2015 10:29:23 +0000 (19:29 +0900)]
Ector: Implement pixel buffer support

The objective of this patch is to propose a standardized
format for pixel buffers to use within Ector and Evas.

The basic EO API provided here is not meant to be the
fastest path for all operations, simply the most convenient
to generalize. Performance will be achieved by implementing
(or porting) custom draw functions.

This implements support for:
- Generic pixel buffers
- Generic buffer renderer to draw images with ector
- Software engine pixel buffers, ie. malloc buffers
- Software buffer renderer

Cairo support has not been implemented yet.

The only renderer is still extremely limited, as it does not
support Fill modes, Scaling, etc... yet.

Not a single line from this patch has been tested yet.
It compiles. That's pretty damn good for a start!

@feature

8 years agoEio: Fixes T2831, eio xattr tests failing
Vivek Ellur [Thu, 3 Dec 2015 08:03:59 +0000 (09:03 +0100)]
Eio: Fixes T2831, eio xattr tests failing

Summary:
@Fix
The eio_file_xattr test was failing in jenkins, so added a new callback
and moved the check condition to callback. The condition is checked
only when it is successfully executed

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric, stefan_schmidt

Subscribers: jpeg, cedric

Maniphest Tasks: T2831

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

8 years agoEdje entry: emit "selection,reset"
Daniel Hirt [Thu, 3 Dec 2015 08:12:11 +0000 (10:12 +0200)]
Edje entry: emit "selection,reset"

Adding a check for the selection range on extend/preextend.
If there is no range, then emit "selection,reset".
Expected handling on the theme end for this signal is to show the
cursor.

This improves cursor visuals, as it will show the cursor again once the
selection range ends up being 0.

8 years agoevas: rewrite gl image transformation logic in a very simple way
Jaeun Choi [Thu, 3 Dec 2015 02:49:21 +0000 (11:49 +0900)]
evas: rewrite gl image transformation logic in a very simple way

all we need to do for image transformation such as rotation or flipping in gl
is to map the vertices of source image to destination in a changed order.
this commit not only enhances readability but also fixes bugs in rotation.

@fix