platform/upstream/efl.git
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

8 years agoedje: fix edje RTL description in case of custom state of a part
Amitesh Singh [Thu, 3 Dec 2015 05:56:10 +0000 (11:26 +0530)]
edje: fix edje RTL description in case of custom state of a part

Summary:
In case of RTL, the "custom" state properties does not apply. It happened because we don't copy the latest src to
dst in set_state(PART:.., "custom", 0.0); in case of dst is already populated.
We should copy the updated src to dst whenever we set the new custom description.

@fix

Reviewers: cedric, raster, jpeg, zmike, jaehwan

Subscribers: kimcinoo, seoz, jpeg

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

8 years agoevas: set visible texcolorpick texture in 3D shaders
Oleksandr Shcherbina [Wed, 2 Dec 2015 22:47:28 +0000 (14:47 -0800)]
evas: set visible texcolorpick texture in 3D shaders

Summary:
Add uniform varialble uColorTexture. Generate sampler count for textcolorpick
and pass to renderer for bind additional texture unit to gl.
It can be used for different 3D effects - blur, wave distortion, heat haze, etc.
T2761

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: add missing EAPI keyword for edje_color_class_del
Jee-Yong Um [Wed, 2 Dec 2015 22:34:12 +0000 (14:34 -0800)]
edje: add missing EAPI keyword for edje_color_class_del

Reviewers: jpeg

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_evas: fix disappearing socket image
jiin.moon [Wed, 2 Dec 2015 22:22:35 +0000 (14:22 -0800)]
ecore_evas: fix disappearing socket image

Summary:
In case there is connection between a server and some client,
show/hide does not work properly.

If there are clients need to show,
this patch make it hide operation will not work even if get the hide signal

@fix

Reviewers: jypark, Hermet, cedric

Subscribers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: fix bug with logic with eina_matrix in evas_3d_utils
se.osadchy [Wed, 2 Dec 2015 22:14:17 +0000 (14:14 -0800)]
evas: fix bug with logic with eina_matrix in evas_3d_utils

Summary: Also need to fix logically dead code in coverity.

Reviewers: raster, Hermet, cedric

Subscribers: jpeg

Maniphest Tasks: T2832

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: Remove redondant array in Evas 3D edd (part2)
perepelits.m [Wed, 2 Dec 2015 22:09:33 +0000 (14:09 -0800)]
edje: Remove redondant array in Evas 3D edd (part2)

Summary: There are more redundant arrays to be deleted. In fact I don't think string name of descriptor shouldn't never change, I was testing some 2D examples and this is not true.

Reviewers: raster, jpeg, cedric

Subscribers: artem.popov, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: properly clean up all memory.
Cedric BAIL [Wed, 2 Dec 2015 20:30:04 +0000 (12:30 -0800)]
evas: properly clean up all memory.

8 years agoevas: fix double free.
Cedric BAIL [Wed, 2 Dec 2015 20:27:25 +0000 (12:27 -0800)]
evas: fix double free.

The ownership of this list and its content belong to the iterator. This code
was actively double freeing and our test suite doesn't crash or have any issue...
Well actually it was complaining that the list had error, but due to our other
false positive test that do trigger eina log, we continuously ignored this error.

NOTE: The fact that the test rely also on the container of the iterator instead
of the iterator itself is not that great to. I kind of feel bad now for having
allowed access to the container. We should have been able to allow changing the
logic to generate those rectangle step after step instead of in one go. Now this
seems difficult.

8 years agoEvas textblock: fix height on line wrapping
Daniel Hirt [Wed, 2 Dec 2015 12:37:58 +0000 (14:37 +0200)]
Evas textblock: fix height on line wrapping

Line advance should finalize the line with its last item, and not the
item we're currently wrapping. This fixes T1583, where some line
wrapping cases would look different than their equivalent <ps>
versions.

@fix

8 years agofix efreetd to scan more subdirs for desktop and icon files
Carsten Haitzler (Rasterman) [Wed, 2 Dec 2015 11:32:07 +0000 (20:32 +0900)]
fix efreetd to scan more subdirs for desktop and icon files

we miss desktop files for apps and stuff because we dont monitor too
deep a tree. this ups our tree depth to 10 levels.

@fix

8 years agoefreet desktop tracking - fix monitoring of dirs of custom desktops
Carsten Haitzler (Rasterman) [Wed, 2 Dec 2015 11:29:31 +0000 (20:29 +0900)]
efreet desktop tracking - fix monitoring of dirs of custom desktops

@fix

this is wrong - start monitoring every/any dir in which a desktop file
exists that we load a desktop file from. imagine you browse directories
in efm with lots of desktop files in them - we end up monitoring lots
of directories that we then rememebr and don't un-monitor. this
disables monitoring of dirs from which we load a .desktop file from to
fix this.

8 years agobuild: fix distcheck after model saver and loader rework
Stefan Schmidt [Wed, 2 Dec 2015 10:33:12 +0000 (11:33 +0100)]
build: fix distcheck after model saver and loader rework

32c33ed64dda542c7cfc952fc656bb711260441b broke distcheck here as the header
files would not be included in the generated tarballs. This is the second or
third time I fixed soemthing like this after a loader/saver rework. I would
appreciate if the people involved would run distcheck on their own.

8 years agoEvas Textblock: Fix text disappear issue when text is made up with multiple items.
Youngbok Shin [Wed, 2 Dec 2015 07:36:47 +0000 (09:36 +0200)]
Evas Textblock: Fix text disappear issue when text is made up with multiple items.

Summary:
Text is disappearing when we resize a singleline Evas Textblock with ellipsis.
It is happened by putting a Text item at logical_items list without considering about logical position.
It is only happended the text is made up with multiple items.
@fix

Test Plan:
1. Run elementary_test
2. Click Label Ellipsis
3. Resize the window dynamically and see the result.

Reviewers: woohyun, tasn, herdsman

Subscribers: jpeg, subodh6129, shilpasingh, cedric

Maniphest Tasks: T2709

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

8 years agoevas_gl_shader: refractor shader/program compile check code.
Amitesh Singh [Wed, 2 Dec 2015 07:47:27 +0000 (16:47 +0900)]
evas_gl_shader: refractor shader/program compile check code.

Summary:
    Call respective shader/program functions on shader/program target only.

Reviewers: cedric, raster, wonsik, spacegrapher, jpeg

Reviewed By: jpeg

Subscribers: alok25, sachin.dev, cedric, seoz

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

8 years agoedje cc fix - we parsed floats not intsfor min and max desc size
Carsten Haitzler (Rasterman) [Wed, 2 Dec 2015 06:24:21 +0000 (15:24 +0900)]
edje cc fix - we parsed floats not intsfor min and max desc size

thanks conr2d for pointing this out - we uses the float parse func and
not in parse. we should use int parse as the min and max sizes are
just ints and not floats. :)

@fix

8 years agoevas: refactor model's savers and loaders.
perepelits.m [Wed, 2 Dec 2015 00:38:48 +0000 (16:38 -0800)]
evas: refactor model's savers and loaders.

Summary:
Move common part to a separated document.
Make code more readable using smaller functions. (from Task T2713)

Reviewers: cedric, raster, Hermet

Subscribers: artem.popov

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

8 years agoefl: fix build failure when it builds with coverage.
Youngbok Shin [Tue, 1 Dec 2015 23:30:04 +0000 (15:30 -0800)]
efl: fix build failure when it builds with coverage.

Summary:
When src/bin/efl/ builds with [--with-tests=coverage], it fails to find gcov lib.
The gcov/lcov related options has to be passed when it is builded.
And it only contained in EFL_CFLAGS, EFL_LIBS.
@fix

Test Plan:
Be sure the your enviroments to build src/bin/efl/.

1. Run ./autogen.sh --with-tests=coverage
2. make or make check
3. See the build errors.

Reviewers: raster, jpeg, cedric

Reviewed By: cedric

Subscribers: herdsman

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: fix a NULL dereference issue in font.
Youngbok Shin [Tue, 1 Dec 2015 23:03:27 +0000 (15:03 -0800)]
evas: fix a NULL dereference issue in font.

Summary:
eina_list_remove returns Eina_List pointer.
It could be NULL if the last list item is removed.
And the returned Eina_List pointer could be different from the given list.
So, calling free for fdir->data after fdir's address is changed is dangerous.
@fix

Test Plan: Run expedite or test app with evas_font_path_append() API.

Reviewers: stefan_schmidt, jpeg

Reviewed By: jpeg

Subscribers: stefan, jiin.moon, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: add mising closing brace and adjust indents and spacing in test edc
Jee-Yong Um [Tue, 1 Dec 2015 22:54:15 +0000 (14:54 -0800)]
edje: add mising closing brace and adjust indents and spacing in test edc

Summary: A closing brace is missing, and indent is not aligned.

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevil: better check of Windows 64 bits
Vincent Torri [Thu, 29 Oct 2015 09:41:22 +0000 (10:41 +0100)]
evil: better check of Windows 64 bits

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_cocoa: fix live resize of windows
Jean Guyomarc'h [Fri, 16 Oct 2015 08:19:57 +0000 (10:19 +0200)]
ecore_cocoa: fix live resize of windows

This was a tricky little bastard!
When a window is live resized, the NSWindow which is the target of
the live resize will wait for a kevent from the window manager,
until live resizing is done. So... live resizing is synchronous
and blocks the main thread... hence ecore_main_loop.

- When live resize starts, the Ecore_Timer which polls NSRunLoop
is paused.
- When the window is resized, the ecore_main_loop is run manually
with ecore_main_loop_iterate() to process Ecore events (mostly
Ecore_Evas)
- When live resize finished, the Ecore_Timer which polls NSRunLoop
is resumed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_cocoa_app: don't override init
Jean Guyomarc'h [Fri, 16 Oct 2015 07:53:26 +0000 (09:53 +0200)]
ecore_cocoa_app: don't override init

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_cocoa: don't make ecore_cocoa_feed_events() a public API
Jean Guyomarc'h [Thu, 15 Oct 2015 12:06:13 +0000 (14:06 +0200)]
ecore_cocoa: don't make ecore_cocoa_feed_events() a public API

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_cocoa: NSApp must be configured in the App wrapper
Jean Guyomarc'h [Thu, 15 Oct 2015 12:02:44 +0000 (14:02 +0200)]
ecore_cocoa: NSApp must be configured in the App wrapper

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_cocoa_window: cosmetic changes
Jean Guyomarc'h [Thu, 15 Oct 2015 11:58:52 +0000 (13:58 +0200)]
ecore_cocoa_window: cosmetic changes

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_cocoa: don't export Ecore_Cocoa_Keys.h
Jean Guyomarc'h [Thu, 15 Oct 2015 09:45:41 +0000 (11:45 +0200)]
ecore_cocoa: don't export Ecore_Cocoa_Keys.h

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>