platform/upstream/efl.git
7 years agoecore-drm2: Remove newly added atomic API functions
Chris Michael [Thu, 27 Apr 2017 13:09:46 +0000 (09:09 -0400)]
ecore-drm2: Remove newly added atomic API functions

As we need to do atomic commits on a per-output basis, these 2 newly
added API functions can go because these functions did one atomic
commit for all outputs

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Remove #ifdef for HAVE_ATOMIC in plane_assign function
Chris Michael [Tue, 25 Apr 2017 14:29:00 +0000 (10:29 -0400)]
ecore-drm2: Remove #ifdef for HAVE_ATOMIC in plane_assign function

As there is nothing inside this function which requires any Atomic API
calls, this #ifdef can be removed and the function can then still be
used to assign Primary planes for non-atomic use cases.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Minor formatting fix
Chris Michael [Tue, 25 Apr 2017 14:27:37 +0000 (10:27 -0400)]
ecore-drm2: Minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Fill output states regardless if atomic
Chris Michael [Tue, 25 Apr 2017 14:14:36 +0000 (10:14 -0400)]
ecore-drm2: Fill output states regardless if atomic

This commit fills in various output 'state' structures during creation
so that those state structures can be reused for pageflip handling
even if Atomic support is not enabled.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Enable filling state structures without atomic support
Chris Michael [Tue, 25 Apr 2017 14:10:54 +0000 (10:10 -0400)]
ecore-drm2: Enable filling state structures without atomic support

This commit enables the ability to fill our state structures even if
atomic support is not enabled. This will allow us to reuse those state
structures for dealing with pageflip in both the atomic & non-atomic
use cases.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Enable reuse of existing state structures for non-atomic
Chris Michael [Tue, 25 Apr 2017 14:09:48 +0000 (10:09 -0400)]
ecore-drm2: Enable reuse of existing state structures for non-atomic

As there is nothing 'atomic' specific in these structures, we can move
them outside the atomic ifdef and make use of them for handling
pageflip for both atomic and non-atomic use cases.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Minor formatting fix
Chris Michael [Tue, 25 Apr 2017 13:12:18 +0000 (09:12 -0400)]
ecore-drm2: Minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoeo: fix missing event emission
Marcel Hollerbach [Thu, 4 May 2017 18:22:06 +0000 (20:22 +0200)]
eo: fix missing event emission

There have been cases where the logic of _event_callback_call break'ed
too early in the event submission.
Reason for that was the line ((const unsigned char *) desc -
(const unsigned char *) it->desc) producing a overflow.

This means the if statement

if (!legacy_compare &&
   ((const unsigned char *) desc - (const unsigned char *) it->desc) < 0)

was true while the pointer desc was smaller than it->desc, which means
the event subscription got aborted, even if it should not.

This turned out on two 32 bit maschines. And led to not rendering apps
anymore.

It was introduced by commit in 605fec91ee7.

@fix

7 years agoefl_ui_focus_object: that definition is not needed.
Marcel Hollerbach [Sun, 30 Apr 2017 10:11:08 +0000 (12:11 +0200)]
efl_ui_focus_object: that definition is not needed.

7 years agoefl_ui_focus_manager_sub: replace a wrong comment
Marcel Hollerbach [Sun, 30 Apr 2017 09:54:04 +0000 (11:54 +0200)]
efl_ui_focus_manager_sub: replace a wrong comment

7 years agoefl_ui_focus_manager: specify the event in the same way evas does
Marcel Hollerbach [Sun, 30 Apr 2017 09:36:19 +0000 (11:36 +0200)]
efl_ui_focus_manager: specify the event in the same way evas does

7 years agoefl_ui_focus_manager: the caller gives away the ownership of this list
Marcel Hollerbach [Sun, 30 Apr 2017 09:35:55 +0000 (11:35 +0200)]
efl_ui_focus_manager: the caller gives away the ownership of this list

7 years agoefl_ui_focus_manager: elaborate on what the last object is
Marcel Hollerbach [Sun, 30 Apr 2017 09:35:32 +0000 (11:35 +0200)]
efl_ui_focus_manager: elaborate on what the last object is

7 years agoefl_ui_focus_manager: make documentation clear
Marcel Hollerbach [Sun, 30 Apr 2017 09:26:10 +0000 (11:26 +0200)]
efl_ui_focus_manager: make documentation clear

jpeg pointed out that the documentation here is missleading and unclear.

7 years agoefl_ui_focus_manager: give feedback if setting root worked or not
Marcel Hollerbach [Sun, 30 Apr 2017 09:25:17 +0000 (11:25 +0200)]
efl_ui_focus_manager: give feedback if setting root worked or not

so a potential caller can make sure if the set of root worked or not

7 years agoefl_ui_focus_manager: rename api from geometry to focus_geometry
Marcel Hollerbach [Sun, 30 Apr 2017 08:57:56 +0000 (10:57 +0200)]
efl_ui_focus_manager: rename api from geometry to focus_geometry

otherwise we would clash with efl.gfx.

7 years agoeolian: allow future<void> for value-less futures
Daniel Kolesa [Thu, 4 May 2017 13:27:17 +0000 (15:27 +0200)]
eolian: allow future<void> for value-less futures

7 years agoelm_code: fix make check, sorry
Andy Williams [Wed, 3 May 2017 19:51:03 +0000 (20:51 +0100)]
elm_code: fix make check, sorry

7 years agoEvas_Common: Fix punctuation errors and typos
Bryce Harrington [Wed, 3 May 2017 19:07:44 +0000 (15:07 -0400)]
Evas_Common: Fix punctuation errors and typos

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: devilhorns, stefan_schmidt, cedric, jpeg

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

7 years agoevas: Rewrite Evas Eo documentation
Bryce Harrington [Wed, 3 May 2017 10:38:41 +0000 (12:38 +0200)]
evas: Rewrite Evas Eo documentation

Summary:
Cleans up grammar, simplifies wording, and elaborates on some details
for better clarity.  Assume the reader will already have a basic
understanding of reference counting and 3D graphics in order to avoid
overexplaining these concepts.

Subscribers: cedric, jpeg

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

7 years agoexamples/evas: Fix missing space before -lm in compilation directions
Bryce Harrington [Wed, 3 May 2017 10:03:40 +0000 (12:03 +0200)]
examples/evas: Fix missing space before -lm in compilation directions

Subscribers: cedric, jpeg

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

7 years agoevas_canvas3d_mesh: Fix typo
Bryce Harrington [Wed, 3 May 2017 09:55:21 +0000 (11:55 +0200)]
evas_canvas3d_mesh: Fix typo

Summary:  Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>

Subscribers: cedric, jpeg

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

7 years agoelm_code: Expose API for inserting text at cursor
Andy Williams [Wed, 3 May 2017 07:17:06 +0000 (08:17 +0100)]
elm_code: Expose API for inserting text at cursor

widget operations use NULL terminated strings, backend does not.
Refactor some selection code so all selection deletions trigger
undo events (except where they should not).

7 years agoelm_code : LINE_APPEND Render fix
Al Poole [Tue, 2 May 2017 19:57:36 +0000 (20:57 +0100)]
elm_code : LINE_APPEND Render fix

Summary: @fix

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: cedric, jpeg

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

7 years agotests: elm: make sure the new focus_common.h file gets into dist
Stefan Schmidt [Tue, 2 May 2017 15:23:49 +0000 (17:23 +0200)]
tests: elm: make sure the new focus_common.h file gets into dist

Needed to run check from the dist tarballs.

7 years agoecore_imf: Add ecore_imf_context_prediction_hint_set API
Jihoon Kim [Tue, 2 May 2017 07:28:10 +0000 (16:28 +0900)]
ecore_imf: Add ecore_imf_context_prediction_hint_set API

Summary: Added a new api to send the prediction hint string to IME.

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon

Reviewed By: jihoon

Subscribers: cedric, jsuya, z-wony, jpeg

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

7 years agodocs: remove wrong line-height
Marcel Hollerbach [Sun, 30 Apr 2017 07:45:29 +0000 (09:45 +0200)]
docs: remove wrong line-height

there was a 'line-height: 0%;' that resulted in unreadable edc code in
the Edje Data Collection reference documentation page.

Thank you Jeremy Suntheimer for spotting that!

fix T5438

7 years agoecore_evas: make ecore_evas buffer asynchronous.
Cedric BAIL [Fri, 28 Apr 2017 23:06:29 +0000 (16:06 -0700)]
ecore_evas: make ecore_evas buffer asynchronous.

7 years agoevas: only call output function on initialized output.
Cedric BAIL [Fri, 28 Apr 2017 23:02:09 +0000 (16:02 -0700)]
evas: only call output function on initialized output.

7 years agoecore_evas: do timeout reset on RENDER_POST for future asynchronous rendering.
Cedric BAIL [Fri, 28 Apr 2017 20:41:54 +0000 (13:41 -0700)]
ecore_evas: do timeout reset on RENDER_POST for future asynchronous rendering.

7 years agoecore_evas: properly warn when we are already rendering.
Cedric BAIL [Fri, 28 Apr 2017 20:40:26 +0000 (13:40 -0700)]
ecore_evas: properly warn when we are already rendering.

7 years agoecore_evas: refactor ecore_evas buffer render logic.
Cedric BAIL [Fri, 28 Apr 2017 20:28:43 +0000 (13:28 -0700)]
ecore_evas: refactor ecore_evas buffer render logic.

First step into introducing async rendering for ecore_evas buffer.

7 years agoelm_code: Fix selection,start signal
Andy Williams [Fri, 21 Apr 2017 17:23:05 +0000 (18:23 +0100)]
elm_code: Fix selection,start signal

@fix

7 years agoeio: improve Kevent (FreeBSD et. al)
Al Poole [Fri, 28 Apr 2017 17:16:41 +0000 (10:16 -0700)]
eio: improve Kevent (FreeBSD et. al)

Summary: Adds initial support for file/directory creation and deletion detection.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: raster, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agobump minimum version requirement of freetype2 to 16.2.10 which equals release 2.5.0.1
Stefan Schmidt [Fri, 28 Apr 2017 14:00:52 +0000 (16:00 +0200)]
bump minimum version requirement of freetype2 to 16.2.10 which equals release 2.5.0.1

For this one I feel like I earned an archaeologist medal. :-)

This is related to the commit raster made in aa92cddb to accommodate for older
freetype version. The TT_INTERPRETER_VERSION_35 define was actually introduced
in the release 2.5.0 which was released in June 2013 which means it had almost
4 years to get picked up. I would consider this safe to be a minimum dependency
for current efl versions.

The trick here is that the release version does not match the library version
spit out by pkg-config. 16.2.10 equals the freetype 2.5.0.1 release in this case.
Better make a note about it in configure for the next poor soul trying to
understand this.

Thanks again to llelectronics for reporting this.
Fix T5437
@fix

7 years agobuild: bump minimum version requirement of gnutls to 3.3.6
Stefan Schmidt [Fri, 28 Apr 2017 13:25:45 +0000 (15:25 +0200)]
build: bump minimum version requirement of gnutls to 3.3.6

This releases offers the gnutls_certificate_set_x509_trust_dir() API we use in
ecore_con. This gnutls version was release in July 2014 which gave it enough
time to be picked up by distributions.

Thanks a lot to llelectronics for reporting and tracking down the problem.

ref T5437
@fix

7 years agoefl readme - add libunwind to highly recommended for err bt
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 10:01:26 +0000 (19:01 +0900)]
efl readme - add libunwind to highly recommended for err bt

7 years agoefl readme - remove liblz4 from recommendations
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 09:59:44 +0000 (18:59 +0900)]
efl readme - remove liblz4 from recommendations

it's probably not a good idea as it adds some dirty pages for a tiny
lib that we already supply in our source. if your distro demands you
do this - fine. but i wouldnt recommend this highly.

7 years agoefl readme - vlc really shouldn't be recommended list if gst is def
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 09:56:17 +0000 (18:56 +0900)]
efl readme - vlc really shouldn't be recommended list if gst is def

recommending vlc and having gts default is probably not good. choose
one or the other ... but not both. so remove from the recommended list
just ebcause it's causing excess deps by packagers apparently

7 years agoevas font code - build on older freetypes without new definitions
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 09:37:40 +0000 (18:37 +0900)]
evas font code - build on older freetypes without new definitions

use the actual #35 as:

in freetype and it cant change without breaking abi...

@fix

7 years agothread fence code - move elsewhere in file to avoid conflicts
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 02:24:48 +0000 (11:24 +0900)]
thread fence code - move elsewhere in file to avoid conflicts

7 years agoedje_cc: Fix warning caused by conflict between local & global variable
Jeeyong Um [Fri, 28 Apr 2017 02:54:11 +0000 (11:54 +0900)]
edje_cc: Fix warning caused by conflict between local & global variable

7 years agoecore_evas: fix test in the hide callback in Windows module
Vincent Torri [Wed, 26 Apr 2017 20:39:39 +0000 (22:39 +0200)]
ecore_evas: fix test in the hide callback in Windows module

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoedje: Fix resource leak
Chris Michael [Thu, 27 Apr 2017 15:05:30 +0000 (11:05 -0400)]
edje: Fix resource leak

The function parse_str returns allocated memory which should be freed
before we exit this function.

Fix Coverity CID1374644

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoedje: Fix resource leak
Chris Michael [Thu, 27 Apr 2017 15:02:51 +0000 (11:02 -0400)]
edje: Fix resource leak

The function parse_str returns allocated memory which should be freed
before we exit this function.

Fix Coverity CID1374647

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agowayland engines: Don't store evas in engine info
Derek Foreman [Wed, 26 Apr 2017 19:20:47 +0000 (14:20 -0500)]
wayland engines: Don't store evas in engine info

We don't need it anymore.

7 years agowayland_shm: Stop using the evas directly to block for async render
Derek Foreman [Wed, 26 Apr 2017 19:16:37 +0000 (14:16 -0500)]
wayland_shm: Stop using the evas directly to block for async render

Use the new fence function instead.

This makes Cedric less unhappy.

7 years agoevas: Add a function to block for render thread completion
Derek Foreman [Wed, 26 Apr 2017 18:44:33 +0000 (13:44 -0500)]
evas: Add a function to block for render thread completion

This is needed by dmabuf engine fallback when it realizes it locally
allocated a buffer, has been rendering to it, but the compositor can't use
it.

So the engine copies its buffer contents into a new wl_shm buffer and
continues from there - however we need to make sure the async renderer
has finished first, so we don't copy a partial buffer.

This allows us to block for all previously submit actions in the render
queue to complete.

7 years agogl_drm:Rename import_simple_dmabuf to gl_import_simple_dmabuf
Derek Foreman [Tue, 25 Apr 2017 20:57:43 +0000 (15:57 -0500)]
gl_drm:Rename import_simple_dmabuf to gl_import_simple_dmabuf

There's also an ecore_drm2 function to import dmabuf as fb, so it's a
little less confusing to be a little more explicit here.

7 years agoecore_evas_wayland: Make local functions static
Derek Foreman [Tue, 25 Apr 2017 16:24:53 +0000 (11:24 -0500)]
ecore_evas_wayland: Make local functions static

7 years agoecore_evas_wayland: Remove unused functions
Derek Foreman [Tue, 25 Apr 2017 16:18:22 +0000 (11:18 -0500)]
ecore_evas_wayland: Remove unused functions

7 years agoecore_evas_wayland: Remove unnecessary function prototypes
Derek Foreman [Tue, 25 Apr 2017 16:00:34 +0000 (11:00 -0500)]
ecore_evas_wayland: Remove unnecessary function prototypes

7 years agoecore_evas_wayland_common: Reorder functions
Derek Foreman [Tue, 25 Apr 2017 15:59:33 +0000 (10:59 -0500)]
ecore_evas_wayland_common: Reorder functions

Try to put these in order so we don't need prototypes

No functional changes

7 years agoecore_evas: Add doxygen for ecore_evas_gl_x11_options_new()
Bryce Harrington [Wed, 26 Apr 2017 17:34:52 +0000 (13:34 -0400)]
ecore_evas: Add doxygen for ecore_evas_gl_x11_options_new()

Reviewers: devilhorns

Subscribers: cedric, jpeg

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

7 years agoeo: move all the key_ properties to C
Daniel Kolesa [Wed, 26 Apr 2017 14:18:49 +0000 (16:18 +0200)]
eo: move all the key_ properties to C

7 years agoeo: move wref_add/wref_del to C
Daniel Kolesa [Wed, 26 Apr 2017 13:01:44 +0000 (15:01 +0200)]
eo: move wref_add/wref_del to C

7 years agoeo: move future_link to C
Daniel Kolesa [Wed, 26 Apr 2017 12:25:37 +0000 (14:25 +0200)]
eo: move future_link to C

7 years agoecore: efl_promise: remove superfluous NULL check
Stefan Schmidt [Wed, 26 Apr 2017 13:12:53 +0000 (15:12 +0200)]
ecore: efl_promise: remove superfluous NULL check

f is already checked against NULL in the eina array macro. No need to check
again.

CID: 1362730

7 years agoeldbus: check return of dbus_signature_iter_next()
Stefan Schmidt [Wed, 26 Apr 2017 12:49:37 +0000 (14:49 +0200)]
eldbus: check return of dbus_signature_iter_next()

CID: 1341856

7 years agoevas_filter: initialize was_empty to false to have a defined state
Stefan Schmidt [Wed, 26 Apr 2017 12:16:14 +0000 (14:16 +0200)]
evas_filter: initialize was_empty to false to have a defined state

It is used further below in an if clause but might not have been
initialized at that point.

CID: 1374276

7 years agoevas: gl_filters: fix leak of evas image
Stefan Schmidt [Wed, 26 Apr 2017 11:56:59 +0000 (13:56 +0200)]
evas: gl_filters: fix leak of evas image

Make sure we free the allocated use_map evas image before leaving scope.

CID: 1374275

7 years agoevas: fix logic in evas_events.c
Jaeun Choi [Wed, 26 Apr 2017 08:16:16 +0000 (17:16 +0900)]
evas: fix logic in evas_events.c

Summary:
when collecting the objects under a mouse pointer,
evas uses the geometry of an object to decide
whether the mouse pointer is inside the area of the object,
which is inappropriate for a mapped object.
so mapped objects don't receive mouse events when they should.
this patch fixes the issue.

Test Plan: A sample code will be added as comments

Reviewers: jpeg, raster

Subscribers: cedric, eunue

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

7 years agoelm_fileselector: made fileselector styling more flexible
Vyacheslav Reutskiy [Wed, 26 Apr 2017 08:16:01 +0000 (11:16 +0300)]
elm_fileselector: made fileselector styling more flexible

Previously the progressbar in fileselector use hardcoded style name
"wheel", that made unpossible to create different style for
fileselector. This commit made it possible.

@fix

7 years agoelm_cursor: add style name for sub cursor
Vyacheslav Reutskiy [Wed, 26 Apr 2017 05:57:22 +0000 (08:57 +0300)]
elm_cursor: add style name for sub cursor

Missing style name for sub cursor call the next error output:

ERR<24193>:elementary lib/elementary/els_cursor.c:734 elm_cursor_theme()
Could not apply the theme to the cursor style=(null)

Also this error call extra recalc for cursor hot spots.

Fixes T5408
@fix

7 years agoEcore_Evas: use window states and event property to fix ecore_evas_fullscreen_set()
Vincent Torri [Wed, 26 Apr 2017 05:32:11 +0000 (07:32 +0200)]
Ecore_Evas: use window states and event property to fix ecore_evas_fullscreen_set()

This implies that elm_win_fullscreen_set() is also fixed

@fix

7 years agoEcore_Win32: add Property event API
Vincent Torri [Wed, 26 Apr 2017 05:17:04 +0000 (07:17 +0200)]
Ecore_Win32: add Property event API

@feature

7 years agoEcore_Win32: add ecore_win32_window_state_get() API to retrieve a window states
Vincent Torri [Wed, 26 Apr 2017 05:10:21 +0000 (07:10 +0200)]
Ecore_Win32: add ecore_win32_window_state_get() API to retrieve a window states

@feature

7 years agoEcore_Win32: update fullscreen state
Vincent Torri [Wed, 26 Apr 2017 04:56:42 +0000 (06:56 +0200)]
Ecore_Win32: update fullscreen state

7 years agoEcore_Win32: follow a bit more X code
Vincent Torri [Wed, 26 Apr 2017 04:53:57 +0000 (06:53 +0200)]
Ecore_Win32: follow a bit more X code

7 years agoEcore_Evas: clean up Windows module
Vincent Torri [Wed, 26 Apr 2017 04:47:13 +0000 (06:47 +0200)]
Ecore_Evas: clean up Windows module

7 years agoEcore_Win32: fix information message
Vincent Torri [Wed, 26 Apr 2017 04:19:20 +0000 (06:19 +0200)]
Ecore_Win32: fix information message

7 years agoEcore_Win32: fix spelling
Vincent Torri [Wed, 26 Apr 2017 04:17:08 +0000 (06:17 +0200)]
Ecore_Win32: fix spelling

7 years agoedje_cc: Convert anchors to beta feature (require -beta when compiled)
Jeeyong Um [Wed, 26 Apr 2017 02:33:47 +0000 (11:33 +0900)]
edje_cc: Convert anchors to beta feature (require -beta when compiled)

7 years agoedje_cc: Allow to set float position for anchors
Jeeyong Um [Tue, 25 Apr 2017 09:29:26 +0000 (18:29 +0900)]
edje_cc: Allow to set float position for anchors

7 years agoedje_cc: Allow part to be anchored to GROUP and the part named as "GROUP"
Jeeyong Um [Tue, 25 Apr 2017 09:27:52 +0000 (18:27 +0900)]
edje_cc: Allow part to be anchored to GROUP and the part named as "GROUP"

7 years agoedje_cc: Fix warning caused by missing const modifier
Jeeyong Um [Tue, 25 Apr 2017 09:03:04 +0000 (18:03 +0900)]
edje_cc: Fix warning caused by missing const modifier

7 years agoefl_ui_focus_manager: check for null return from node_get
Bryce Harrington [Tue, 25 Apr 2017 23:29:43 +0000 (16:29 -0700)]
efl_ui_focus_manager: check for null return from node_get

Summary:
node_get() can return NULL sometimes.  Add a missing check, and add dox
for the function to document the error return.

>>>     CID 1374434:  Null pointer dereferences  (NULL_RETURNS)
>>>     Assigning: "node" = null return value from "node_get".

@fix CID1374434

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoexamples/evas: fix spelling
Bryce Harrington [Tue, 25 Apr 2017 23:28:15 +0000 (16:28 -0700)]
examples/evas: fix spelling

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoedje_cc: introduce "Anchors" - easy way to set parts relationship
Jeeyong Um [Tue, 25 Apr 2017 23:25:11 +0000 (16:25 -0700)]
edje_cc: introduce "Anchors" - easy way to set parts relationship

Test Plan: compile src/examples/edc-anchors.c and run

Reviewers: zmike, raster, cedric, jpeg

Reviewed By: raster, jpeg

Subscribers: raster, barbieri, zmike, SanghyeonLee, taxi2se, Jaehyun_Cho

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas: do not rely on Evas canvas for Evas Ector engine backend.
Cedric BAIL [Tue, 25 Apr 2017 23:15:37 +0000 (16:15 -0700)]
evas: do not rely on Evas canvas for Evas Ector engine backend.

7 years agoelm_box/table: set the order directly when a container is registered
Marcel Hollerbach [Tue, 25 Apr 2017 15:04:50 +0000 (17:04 +0200)]
elm_box/table: set the order directly when a container is registered

The following situation:
 - A Box in a naviframe, with n children.
 - All added children register to the focus graph with the box as parent,
   order gets set correctly.
 - Naviframe hides this item, so box property tree unfocusable gets set
   to true, it gets unregistered from the focus graph, even every single
   child gets unregistered.
 - The item gets shown - every child and the table are getting
   registered again.
 - Order is not set again, since the box does not get changed
 - Order of the children is mixed up.

This should fix this case since the order is flushed every time the box
gets registered.

7 years agoefl_ui_focus_manager: safe fields from the node
Marcel Hollerbach [Tue, 25 Apr 2017 14:51:30 +0000 (16:51 +0200)]
efl_ui_focus_manager: safe fields from the node

There could be the case that the item gets freed due to some handling in
a event handler of the event EFL_UI_FOCUS_MANAGER_EVENT_FOCUSED.
So the code now sets the node to NULL after the event is called and
saves the fields that are rfom use later.

7 years agoefl.net: rename Ip.Address to Ip_Address.
Gustavo Sverzut Barbieri [Tue, 25 Apr 2017 14:16:40 +0000 (11:16 -0300)]
efl.net: rename Ip.Address to Ip_Address.

It's unlikely that we'll have other stuff under Ip namespace, also not
that likely to have other than Ip Addresses (to invert it to
Address.Ip), thus make a toplevel entry Ip_Address as suggested by
DaveMDS.

7 years agoelm_entry: reset 'icon' and 'end' swallow when style changed
Vyacheslav Reutskiy [Tue, 25 Apr 2017 13:34:03 +0000 (16:34 +0300)]
elm_entry: reset 'icon' and 'end' swallow when style changed

Fixes T5397

7 years agoefl/gfx: Remove unused function
Jean-Philippe Andre [Tue, 25 Apr 2017 12:21:54 +0000 (21:21 +0900)]
efl/gfx: Remove unused function

This fixes a warning with -Wunused-function

7 years agoevas: Fix crash in idle_flush
Jean-Philippe Andre [Tue, 25 Apr 2017 12:18:22 +0000 (21:18 +0900)]
evas: Fix crash in idle_flush

As reported by raster on the ML. The pointer passed to the
engines is not an engine output but an Efl_Canvas_Output.

7 years agoitests: elm_focus: rename local variable to avoid clash with main()
Stefan Schmidt [Tue, 25 Apr 2017 09:54:25 +0000 (11:54 +0200)]
itests: elm_focus: rename local variable to avoid clash with main()

tests/elementary/elm_test_focus_sub.c:88:25: warning: ‘main’ is usually a function [-Wmain]

7 years agodocs: efl_ui_focus_manager: document last missing items in this new file
Stefan Schmidt [Tue, 25 Apr 2017 09:32:36 +0000 (11:32 +0200)]
docs: efl_ui_focus_manager: document last missing items in this new file

7 years agodocs: elm_widget: document new foc us_register method
Stefan Schmidt [Tue, 25 Apr 2017 09:32:03 +0000 (11:32 +0200)]
docs: elm_widget: document new foc us_register method

7 years agodocs: efl_ui_focus_manager: document focus relations struct members
Stefan Schmidt [Tue, 25 Apr 2017 09:13:12 +0000 (11:13 +0200)]
docs: efl_ui_focus_manager: document focus relations struct members

7 years agoevas render: Fix issue with map render
Jean-Philippe Andre [Tue, 25 Apr 2017 05:34:03 +0000 (14:34 +0900)]
evas render: Fix issue with map render

Test case:
  elementary_test -to "Gesture Layer"

Just move the pictures around (eg. to the bottom). They could
disappear entirely.

This is because the geometry used was based on the smart
object "bounding box" rather than the mapped output.

@fix

7 years agoedje_cc: Fix external param smart parser
Jeeyong Um [Tue, 25 Apr 2017 00:41:46 +0000 (09:41 +0900)]
edje_cc: Fix external param smart parser

7 years agoevas: remove engine.data.output.
Cedric BAIL [Mon, 24 Apr 2017 22:09:25 +0000 (15:09 -0700)]
evas: remove engine.data.output.

This is the first step toward handling multi output. This patch
remove engine.data.output from Evas structure and use an Eina_List
for it instead. It also start moving code around to fetch an output
or an engine context (which are the same at the moment, but will be
split in a later patch).

7 years agoevas: start setting up output independently of the engine.
Cedric BAIL [Mon, 24 Apr 2017 21:53:52 +0000 (14:53 -0700)]
evas: start setting up output independently of the engine.

7 years agoevas: evas_render actually need to access that structure.
Cedric BAIL [Wed, 19 Apr 2017 22:48:22 +0000 (15:48 -0700)]
evas: evas_render actually need to access that structure.

7 years agoevas: Fix grammar of which vs. that
Bryce Harrington [Mon, 24 Apr 2017 12:28:31 +0000 (08:28 -0400)]
evas: Fix grammar of which vs. that

Subscribers: cedric, jpeg

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

7 years agoevas: Fix grammar for which vs. that
Bryce Harrington [Mon, 24 Apr 2017 12:27:49 +0000 (08:27 -0400)]
evas: Fix grammar for which vs. that

Subscribers: cedric, jpeg

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

7 years agoecore_evas: Fix grammar for at/to/for/on/which/etc.
Bryce Harrington [Mon, 24 Apr 2017 12:26:18 +0000 (08:26 -0400)]
ecore_evas: Fix grammar for at/to/for/on/which/etc.

Summary:
Fixes some grammar confusion for in that/this, that/which, to/at,
to/for, at/by, etc.

Subscribers: cedric, jpeg

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

7 years agoFix spelling of 'alpha channel'
Bryce Harrington [Mon, 24 Apr 2017 12:25:22 +0000 (08:25 -0400)]
Fix spelling of 'alpha channel'

Subscribers: cedric, jpeg

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

7 years agoevas: round glyph's advance before adding it to pen_x
Youngbok Shin [Sun, 23 Apr 2017 06:22:42 +0000 (09:22 +0300)]
evas: round glyph's advance before adding it to pen_x

Summary:
Rounding the sum of glyph's advance could cause inconsistency of
each glyph's positions. When Evas enables Harfbuzz library,
Each glyph's position has to be handled by only nearby glyphs.
But, currently, totally unrelated glyph's advacne could change
other glyphs positions.

ex) 1. "connect."
    2. "Tap here to connect."

You can see different gap between "c" and "o" of word "connect".
It should be same even if there was a different text before the word "connect".
@fix

Test Plan: N/A

Reviewers: raster, herdsman, jpeg

Reviewed By: raster

Subscribers: cedric

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