platform/upstream/efl.git
8 years agoEdje: Auto-unref proxy objects after calls
Jean-Philippe Andre [Tue, 24 May 2016 07:00:33 +0000 (16:00 +0900)]
Edje: Auto-unref proxy objects after calls

8 years agoEfl: Add Efl.Part and switch to it
Jean-Philippe ANDRE [Wed, 18 May 2016 18:20:09 +0000 (03:20 +0900)]
Efl: Add Efl.Part and switch to it

This should now fix the part API usage once and for all.
EFL should have no part name in any of its APIs beyond
the Efl.Part interface.

Part proxy objects (may be real objects) have a lifetime
of only one function call, in a fashion similar to eo_super.

@feature

8 years agoeolian-cxx: ship new complex.eo file in dist
Stefan Schmidt [Tue, 24 May 2016 09:13:28 +0000 (11:13 +0200)]
eolian-cxx: ship new complex.eo file in dist

8 years agobuild: cxx bindings: make sure we ship needed headers in distribution
Stefan Schmidt [Tue, 24 May 2016 08:47:22 +0000 (10:47 +0200)]
build: cxx bindings: make sure we ship needed headers in distribution

Ecore.hh and eina_workarounds.hh have not been shipped in the dist and thus
failed the build.

8 years agobuild: cxx binding: fix typo in file path to be cleaned
Stefan Schmidt [Tue, 24 May 2016 08:16:06 +0000 (10:16 +0200)]
build: cxx binding: fix typo in file path to be cleaned

8 years agogenlist: process message before restricted calc for get proper size of text and conte...
SangHyeon Lee [Tue, 24 May 2016 05:11:07 +0000 (14:11 +0900)]
genlist: process message before restricted calc for get proper size of text and content visibled

Summary:
genlist text_get and content_get send signal for visibled or re-arrange
it's part on edc.
this singal may need to be processed before calculating item edc for
proper result.

we cannot call one only one time in realized function, because, size
must calculated before the realized callback, and user can send
customized signal in their realized callback which also need to be
processed.

Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
8 years agoeo - now ref and unref objects on each eo call to keep things safe
Carsten Haitzler (Rasterman) [Mon, 23 May 2016 02:15:53 +0000 (11:15 +0900)]
eo - now ref and unref objects on each eo call to keep things safe

so... i got this ... callback calls callback calls something calls
callback that deletes the original object at the top so when it comes
back ... things die as the object was destructed. in removing eo_do()
we removed the ref/unrefs that went with it. so this uses the
_EO_API_BEFORE_HOOK and _EO_API_AFTER_HOOK to call exposed "internal"
public functions _eo_real_ref() and _eo_real_unref().

this fixes a new segv i've noticed in several e dialogs where hitting
close does the above via callbacks and closes the window etc.

8 years agoecore-con tests - remove WRONG connect check
Carsten Haitzler (Rasterman) [Sun, 22 May 2016 08:18:33 +0000 (17:18 +0900)]
ecore-con tests - remove WRONG connect check

sothe ecore-con tests were calling ecore_con_server_connected_get()
every time a server was created on a NUL server object. WTF? this is
pointless. testing if an api returns tre on being connected on an
invalid object? all it does is create lots of eo noise. remove so we
can see the real errors in the output.

@fix

8 years agoecore-con - simplify down to a single libc resolver
Carsten Haitzler (Rasterman) [Sun, 22 May 2016 08:03:26 +0000 (17:03 +0900)]
ecore-con - simplify down to a single libc resolver

Summary:
this removes the cares/ares based resolver and the compiled-in dns.c
resolver, modified the getaddrinfo based resolver to use threads not
forking (almost halving its size) and now makes that the only resolver
we have. getaddrinfo handles ipv6 and ipv4 (according to docs). this
simplifies code paths, drops code size of the efl tree by about 11k
lines of code, makes it easier to test and more robust to future
changes with ip resolving as it now just relies on libc. we won't have
coverity complaints on dns.c imported code anymore to fix and don't
have tokeep up with bugfixes/security from the upstream imported code.
this means we use a single resolver on all platforms (windows, mac,
linux) as opposed to before where cares was used for windows, and
dns.c on linux/mac. oh and the forking original was broken since our
move to eo too. so it couldnt even compile if enabled, letalone work.

so fix bug with missing /etc/resolv.conf that dns.c couldn't cope
with, fix testability, fix maintainability and reduce efl codebase size.

this fixes T3668

@fix
@improve

Subscribers: cedric, seoz, jpeg

Maniphest Tasks: T3668

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

8 years agoeolian-cxx: Fix generation of complex types in C++ binding
Felipe Magno de Almeida [Mon, 23 May 2016 20:34:50 +0000 (17:34 -0300)]
eolian-cxx: Fix generation of complex types in C++ binding

Fixed generation of complex types in C++ binding, with tests. This
problem came after the removal of the pointer types for top-level
complex types.

8 years agoeolian-cxx: Add test for list and array complex types
Felipe Magno de Almeida [Mon, 23 May 2016 15:33:37 +0000 (12:33 -0300)]
eolian-cxx: Add test for list and array complex types

8 years agoeolian: Allow promises to have a second type
Felipe Magno de Almeida [Mon, 23 May 2016 18:58:11 +0000 (15:58 -0300)]
eolian: Allow promises to have a second type

Promises can have a second type, which is the progress type

8 years agoc++: Reorganized C++ binding generation
Felipe Magno de Almeida [Mon, 23 May 2016 15:01:30 +0000 (12:01 -0300)]
c++: Reorganized C++ binding generation

Moved all generation to a single Makefile_Cxx.am file instead of
throughout the whole project. And fixed C++ generation on Elementary
after elm merge.

8 years agoSlideshow: Fix doc to reflect the real behaviour of the widget.
Dave Andreoli [Mon, 23 May 2016 17:46:59 +0000 (19:46 +0200)]
Slideshow: Fix doc to reflect the real behaviour of the widget.

8 years agoEo override: Fix compilation issues.
Tom Hacohen [Mon, 23 May 2016 16:11:47 +0000 (17:11 +0100)]
Eo override: Fix compilation issues.

I thought I compiled, but it seems that @q66 managed to distract
me and I thought wrong and didn't actually. Oh well, fixed now.

Thanks to @zmike for letting me know.

8 years agoEo override: Document class.
Tom Hacohen [Mon, 23 May 2016 15:48:19 +0000 (16:48 +0100)]
Eo override: Document class.

8 years agoeo: FIXME for wref_del so I don't forget
Daniel Kolesa [Mon, 23 May 2016 15:15:04 +0000 (16:15 +0100)]
eo: FIXME for wref_del so I don't forget

8 years agoeolian: remove pointers from complex and class types
Daniel Kolesa [Mon, 23 May 2016 14:41:28 +0000 (15:41 +0100)]
eolian: remove pointers from complex and class types

Complex types (i.e. list, array, hash, accessor etc.) now do not require
pointers with them anymore (the pointer is implied) and the same goes for
class handles. Eolian now explicitly disallows creating pointers to these
as well. This is the first part of the work to remove pointers from Eolian
completely, with the goal of simplifying the DSL (higher level) and therefore
making it easier for bindings (as well as easier API usage).

@feature

8 years agoelm_win: add elm_win_indcator_type and elm_win_indicator_enabled into window's eo.
Ji-Youn Park [Mon, 23 May 2016 11:14:54 +0000 (19:44 +0830)]
elm_win: add elm_win_indcator_type and elm_win_indicator_enabled into window's eo.

elm_window will be changed to control layout related with conformant.
remove opacity and overlap mode and add type set.

8 years agoeolian: handle invalid keywords correctly
Daniel Kolesa [Mon, 23 May 2016 09:49:42 +0000 (10:49 +0100)]
eolian: handle invalid keywords correctly

Before this Eolian segfaulted when an invalid keyword was used.

Fixes T3672.

8 years agoEo: Fix wrong allocation.
Tom Hacohen [Mon, 23 May 2016 07:36:08 +0000 (08:36 +0100)]
Eo: Fix wrong allocation.

We weren't allocating the correct amount. Oops.

CID 1355594.

8 years agoevas: gl_common add define for missing EGL_WAYLAND_Y_INVERTED_WL
Nicolas Aguirre [Sun, 22 May 2016 21:38:22 +0000 (23:38 +0200)]
evas: gl_common add define for missing EGL_WAYLAND_Y_INVERTED_WL

8 years agoFDO icons: better icons for zoom-*
Dave Andreoli [Sun, 22 May 2016 11:25:21 +0000 (13:25 +0200)]
FDO icons: better icons for zoom-*

8 years agoFDO icons: added all the Devices icons
Dave Andreoli [Sat, 21 May 2016 16:54:11 +0000 (18:54 +0200)]
FDO icons: added all the Devices icons

8 years agoEfreet test: fix warning on Windows
Vincent Torri [Sat, 21 May 2016 14:40:31 +0000 (10:40 -0400)]
Efreet test: fix warning on Windows

Summary:
comp.h is redefining some macros on Windows. So just rename all the macros
with the TANGO prefix

Test Plan: compilatioN

Reviewers: cedric, jpeg, zmike

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

8 years agoeina vector - fix indenting and 80 col overflow in inline header
Carsten Haitzler (Rasterman) [Sat, 21 May 2016 14:37:07 +0000 (23:37 +0900)]
eina vector - fix indenting and 80 col overflow in inline header

8 years agoeina vector inline header - replace last equal with approx macro
Carsten Haitzler (Rasterman) [Sat, 21 May 2016 14:35:12 +0000 (23:35 +0900)]
eina vector inline header - replace last equal with approx macro

rthis replaces double a == double b with a macro that keeps a close
enough range using epsilon (which is the error range for a dobule).

this fixes T3245

8 years agoelementary: Add correct icon fallback for fdo icons
Andy Williams [Sat, 21 May 2016 09:14:45 +0000 (10:14 +0100)]
elementary: Add correct icon fallback for fdo icons

Fixes missing app icons (and others) when using elementary icon theme.
This is required to comply with the fdo icon spec.
Now that we have a fuller icon theme in elementary it's not intrusive

8 years agoelementary: Icon config don't disable elements
Andy Williams [Sat, 21 May 2016 08:54:42 +0000 (09:54 +0100)]
elementary: Icon config don't disable elements

Use some smarter logic to make elementary vs fdo selection mutually exclusive

8 years agogl_drm: switch to GLERRV macro for error reporting
Derek Foreman [Fri, 20 May 2016 20:24:28 +0000 (15:24 -0500)]
gl_drm: switch to GLERRV macro for error reporting

eglGetError() is actually somewhat heavy, so hide it behind the GLERRV
macro which compiles out the test by default.

8 years agogl_drm: Fix silly run time warning for wayland dmabuf
Derek Foreman [Fri, 20 May 2016 20:23:19 +0000 (15:23 -0500)]
gl_drm: Fix silly run time warning for wayland dmabuf

DMABuf buffers destroy their glimage in the unbind callback, so it's
usually already gone for the free callback.

Now we test if we actually need to destroy anything.

Also, switch to GLERRV macro for error reporting - it saves us the heavy
eglGetError() unless we've built it in intentionally.

8 years agoelm_win: define EFL_TEAMWORK_VERSION in all cases
Mike Blumenkrantz [Fri, 20 May 2016 20:10:28 +0000 (16:10 -0400)]
elm_win: define EFL_TEAMWORK_VERSION in all cases

8 years agoelm_win: implement v2 of teamwork api using window-based display protocol
Mike Blumenkrantz [Fri, 20 May 2016 18:04:21 +0000 (14:04 -0400)]
elm_win: implement v2 of teamwork api using window-based display protocol

this adds support for wayland and makes teamwork integration trivial for any
application

@feature

8 years agoeolian: add warnings for class/complex types with pointers (with env var)
Daniel Kolesa [Fri, 20 May 2016 16:14:38 +0000 (17:14 +0100)]
eolian: add warnings for class/complex types with pointers (with env var)

8 years agoelput: Check return of calibration_get_default_matrix function
Chris Michael [Fri, 20 May 2016 15:28:48 +0000 (11:28 -0400)]
elput: Check return of calibration_get_default_matrix function

We should be checking the return value when we try to get the default
matrix calibration for an input device so we can fail properly

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEdje cc out: Make list removal slightly more efficient.
Tom Hacohen [Fri, 20 May 2016 15:22:48 +0000 (16:22 +0100)]
Edje cc out: Make list removal slightly more efficient.

8 years agoEdje cc: Rename shadowing variables.
Tom Hacohen [Fri, 20 May 2016 15:20:41 +0000 (16:20 +0100)]
Edje cc: Rename shadowing variables.

8 years agoelput: Don't calculate pointer constraints twice
Chris Michael [Fri, 20 May 2016 15:17:01 +0000 (11:17 -0400)]
elput: Don't calculate pointer constraints twice

As constraints for pointer movement are already handled in the
function which sends the pointer motion event, there is no need to
handle them inside the function which gets pointer position.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEo: Fix compilation for people using GCC.
Tom Hacohen [Fri, 20 May 2016 15:16:14 +0000 (16:16 +0100)]
Eo: Fix compilation for people using GCC.

Apparently you can't cast when initializing static consts, even if
the cast is to the same type. This commit splits the macro used
so we have an additional one that casts and thus works with
eo_override().

8 years agoevas 3d - fix mesh savers/loaders to not leave memory unset
Carsten Haitzler (Rasterman) [Fri, 20 May 2016 12:43:46 +0000 (21:43 +0900)]
evas 3d - fix mesh savers/loaders to not leave memory unset

i've been gettign persistent evas test suite suite failures ffor a
while. annoying as i can't get 100% pass anymore. it's due to segv's
in evas test suite thanks to chunks of uninitialized memory in the
mesh loaders/saver code.

this fixes that

@fix

8 years agofix warnings about double/float comparisons in eina vector
Carsten Haitzler (Rasterman) [Fri, 20 May 2016 11:55:48 +0000 (20:55 +0900)]
fix warnings about double/float comparisons in eina vector

this should fix T3245

this is basicall where we go double a == double b and due to precision
issues this may not always be right, but this means that the
equivalent now checks for "really close values" rather than perfectly
exact.

@fix

8 years agoEo super: Validate class in eo_super instead of call_reslove.
Tom Hacohen [Fri, 20 May 2016 10:47:32 +0000 (11:47 +0100)]
Eo super: Validate class in eo_super instead of call_reslove.

This is more correct and fixes a segfault that occurs when eo_id is
disabled.

8 years agoEo tests: Fix compilation warnings with eoid disabled.
Tom Hacohen [Fri, 20 May 2016 10:39:36 +0000 (11:39 +0100)]
Eo tests: Fix compilation warnings with eoid disabled.

8 years agoEo: Implement eo_override() to enable overriding functions of objects.
Tom Hacohen [Thu, 19 May 2016 10:33:17 +0000 (11:33 +0100)]
Eo: Implement eo_override() to enable overriding functions of objects.

This change lets you override the functions of objects so that those
functions will be called instead of the functions of the class. This
lets you change objects on the fly and makes using the delegate pattern
easier (no need to create a class every time anymore).
You can see the newly added tests (in this commit) for usage examples.

@feature

8 years agoEo: Improve error message when overriding functions.
Tom Hacohen [Thu, 19 May 2016 10:27:41 +0000 (11:27 +0100)]
Eo: Improve error message when overriding functions.

8 years agoEo: Reorganise the vtable in classes and add pointer from objects.
Tom Hacohen [Wed, 18 May 2016 17:12:39 +0000 (18:12 +0100)]
Eo: Reorganise the vtable in classes and add pointer from objects.

This is the first step towards supporting eo_override().
More details about eo_override() to follow.

8 years agoEo: Remove useless test.
Tom Hacohen [Thu, 19 May 2016 10:48:36 +0000 (11:48 +0100)]
Eo: Remove useless test.

We no longer have a call stack, so there's no need to have
this test.

8 years agoecore: promise for timeout and job are clearly never optional, so return them.
Cedric Bail [Fri, 20 May 2016 09:25:48 +0000 (02:25 -0700)]
ecore: promise for timeout and job are clearly never optional, so return them.

8 years agoeolian: enable incorrect property doc warnings with env var
Daniel Kolesa [Thu, 19 May 2016 15:57:12 +0000 (16:57 +0100)]
eolian: enable incorrect property doc warnings with env var

This adds env var EOLIAN_PROPERTY_DOC_WARN which enables extra
warnings for properties that don't have a general doc but have
getter/setter doc. This will eventually become an error and
will be enabled by default. For now it's too verbose.

8 years agoecore-wl2: Minor formatting fix
Chris Michael [Thu, 19 May 2016 13:12:29 +0000 (09:12 -0400)]
ecore-wl2: Minor formatting fix

NB: No functional changes, just making this readable for me

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-vg: Don't fetch parent if we are not going to use it
Chris Michael [Thu, 19 May 2016 12:43:32 +0000 (08:43 -0400)]
evas-vg: Don't fetch parent if we are not going to use it

Essentially, this removes a compiler warning wrt 'parent' being set
but not used.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas: propagate the change to child when object is a vector graphic container
Subhransu Mohanty [Thu, 19 May 2016 08:55:06 +0000 (01:55 -0700)]
evas: propagate the change to child when object is a vector graphic container

Summary: let me know whats your thought

Reviewers: Hermet, cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelementary: remove elm_mapbuf_eo.h target from Makefile.am
Jee-Yong Um [Thu, 19 May 2016 08:45:02 +0000 (01:45 -0700)]
elementary: remove elm_mapbuf_eo.h target from Makefile.am

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoLazEDC: introduce simple external param syntax
Jee-Yong Um [Thu, 19 May 2016 08:42:14 +0000 (01:42 -0700)]
LazEDC: introduce simple external param syntax

Summary:
EXTERNAL parts can have parameters, and its form is like the next.
   params.string: "param_name" "param_value";

This patch will shorten above line by the next syntax.
   params.param_name: "param_value";

The type of param will be determined by the type of inserted value.

Reviewers: cedric, raster, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoevas: changed the interpolate() implementaion
Subhransu Mohanty [Thu, 19 May 2016 08:39:44 +0000 (01:39 -0700)]
evas: changed the interpolate() implementaion

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoevas: fix the ref issue of newly created object in shape_dup() function
Subhransu Mohanty [Thu, 19 May 2016 08:36:33 +0000 (01:36 -0700)]
evas: fix the ref issue of newly created object in shape_dup() function

Summary:
There are couple of issue.

    By adding the gradient to both parent container as well as to the shape. when we dupe the container it copies twice.
    Usually we create one gradient and set it to multiple shape , in that case when we call dupe() function it is going to make a separate copy for each of the shape.

The patch fixes 1st issue. for 2nd one we need to maybe change the way we implemented dupe function

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoelm_win: add elm_win_indcator_overlap mode into window's eo.
Ji-Youn Park [Thu, 19 May 2016 08:49:40 +0000 (17:19 +0830)]
elm_win: add elm_win_indcator_overlap mode into window's eo.

elm_window will be changed to control layout related with conformant.
one of features is overlap between indicator and layout.

8 years agoexamples: emotion: adapt to name change from obj to object
Stefan Schmidt [Thu, 19 May 2016 07:19:06 +0000 (09:19 +0200)]
examples: emotion: adapt to name change from obj to object

In commit 75a53ece1007d927b8f0b6c5d3f269726afb9108 obj was changed to object.
As one can claerly see though make examples have not been run to verify this
change. Catch up in examples with this rename.

8 years agosclae : add the feature for rounding off
Jaehwan Kim [Thu, 19 May 2016 02:13:04 +0000 (11:13 +0900)]
sclae : add the feature for rounding off

Add the feature for rounding off to the nearest in ELM_SCALE_SIZE
macro. It makes to be more close to calculated value.

8 years agoefl: Define if systemd version >= 209
Chris Michael [Wed, 18 May 2016 20:42:59 +0000 (16:42 -0400)]
efl: Define if systemd version >= 209

Elput conditionally requires this to choose proper codepath wrt systemd-logind

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoedje: fix condition scope
Jean Guyomarc'h [Wed, 18 May 2016 20:25:49 +0000 (22:25 +0200)]
edje: fix condition scope

Commit 3faf3f3fc converted an eo_do() into two functions.
However the eo_do() was implicitely enclosed within an if,
which after conversion led to the if coverting only one
of these functions instead of both.

Pointed out by GCC's -Wmisleading-indentation.

8 years agoecore-wl2: Minor formatting fixes
Chris Michael [Wed, 18 May 2016 20:08:06 +0000 (16:08 -0400)]
ecore-wl2: Minor formatting fixes

NB: No function changes, just formatting

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoignores: eo_suite_add_fallback
Jean Guyomarc'h [Wed, 18 May 2016 19:55:24 +0000 (21:55 +0200)]
ignores: eo_suite_add_fallback

8 years agoefl: fix misleading indentation
Jean Guyomarc'h [Wed, 18 May 2016 19:27:58 +0000 (21:27 +0200)]
efl: fix misleading indentation

GCC's -Wmisleading-indentation is complaining...
It is a warning flag introduced in GCC 6.x, and
is enabled by -Wall.

8 years agoeina: add missing header guards
Jean Guyomarc'h [Wed, 18 May 2016 19:29:02 +0000 (21:29 +0200)]
eina: add missing header guards

8 years agoecore-evas: Fix Makefile to not include Ecore_Wayland
Chris Michael [Wed, 18 May 2016 19:20:25 +0000 (15:20 -0400)]
ecore-evas: Fix Makefile to not include Ecore_Wayland

Ecore_Wayland is deprecated for 1.18 so this should have been removed
during that commit. Fell through the cracks sadly

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelementary: Add missing EINA_UNUSED for unused parameter
Chris Michael [Wed, 18 May 2016 19:19:29 +0000 (15:19 -0400)]
elementary: Add missing EINA_UNUSED for unused parameter

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agosoftware_generic: Add wayland dmabuf native surface support
Derek Foreman [Wed, 18 May 2016 15:27:32 +0000 (10:27 -0500)]
software_generic: Add wayland dmabuf native surface support

8 years agogl_drm: Add wayland dmabuf native surface support
Derek Foreman [Tue, 17 May 2016 18:43:31 +0000 (13:43 -0500)]
gl_drm: Add wayland dmabuf native surface support

8 years agoevas: Add wayland dmabuf native surface type
Derek Foreman [Tue, 17 May 2016 18:42:32 +0000 (13:42 -0500)]
evas: Add wayland dmabuf native surface type

Add the structures required for supporting dmabuf native surfaces

8 years agosoftware_generic: Call native surface free callbacks
Derek Foreman [Mon, 16 May 2016 21:47:05 +0000 (16:47 -0500)]
software_generic: Call native surface free callbacks

In the near future this will prevent leaking native surface data for
wayland dmabuf buffers.

8 years agowayland_shm: Attempt to create mmappable dmabuf objects
Derek Foreman [Thu, 5 May 2016 20:48:16 +0000 (15:48 -0500)]
wayland_shm: Attempt to create mmappable dmabuf objects

To composite from dmabuf buffers without GL we need to be able to mmap them
in the compositor - create the buffers in a way that makes that possible.

8 years agowayland_shm: Fix dmabuf failed allocation handling
Derek Foreman [Thu, 5 May 2016 16:48:42 +0000 (11:48 -0500)]
wayland_shm: Fix dmabuf failed allocation handling

We frequently attempt to generate multiple buffers before any come back
as failed - the orphaned buffers need to be handled more carefully.

8 years agojs fixes
Felipe Magno de Almeida [Tue, 17 May 2016 09:22:42 +0000 (11:22 +0200)]
js fixes

8 years agoeo: for consistency use object like all our API.
Cedric Bail [Wed, 18 May 2016 15:17:36 +0000 (08:17 -0700)]
eo: for consistency use object like all our API.

8 years agoeo datarefcount - only use in debug mode
Carsten Haitzler (Rasterman) [Wed, 18 May 2016 14:02:09 +0000 (23:02 +0900)]
eo datarefcount - only use in debug mode

8 years agoelc_popup: add escape key binding
Taehyub Kim [Wed, 18 May 2016 12:55:35 +0000 (21:55 +0900)]
elc_popup: add escape key binding

Summary:
There are no methods to close the popup with key down.
So I added the escape key binding to close the popup with escape key.

Test Plan:
1. patch this code
2. delete /home/{user}/.elementary to refresh the config value
3. launch elementary_test -to "popup"
4. click one example of the list and press escape key
5. see closing the popup

Reviewers: cedric, raster, jpeg, Jaehyun_Cho, Hermet

Reviewed By: Hermet

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

Conflicts:
src/lib/elementary/elm_priv.h

8 years agoEo: Fix singleton pattern and add a test to make sure it works.
Tom Hacohen [Wed, 18 May 2016 12:29:45 +0000 (13:29 +0100)]
Eo: Fix singleton pattern and add a test to make sure it works.

8 years agoexamples: elementary: remove unused variable
Stefan Schmidt [Wed, 18 May 2016 10:31:52 +0000 (12:31 +0200)]
examples: elementary: remove unused variable

8 years agoexamples: evas: remove unused variable
Stefan Schmidt [Wed, 18 May 2016 10:29:06 +0000 (12:29 +0200)]
examples: evas: remove unused variable

pi is never used here. Actually for such cases we should use M_PI anyway.

8 years agoexamples: evas: build evas-3d-fog example
Stefan Schmidt [Wed, 18 May 2016 10:16:23 +0000 (12:16 +0200)]
examples: evas: build evas-3d-fog example

So far this file has only been in our tree but the example has not been build.

8 years agoexamples: ecore: add all needed files to SOURCES to make sure they are distributed
Stefan Schmidt [Wed, 18 May 2016 09:34:21 +0000 (11:34 +0200)]
examples: ecore: add all needed files to SOURCES to make sure they are distributed

This worked in-tree but never landed in a distribution tarball and thus the
examples build form such a tarball would fail.

8 years agoexamples: evas: add all needed files to SOURCES to make sure they are distributed
Stefan Schmidt [Wed, 18 May 2016 09:16:46 +0000 (11:16 +0200)]
examples: evas: add all needed files to SOURCES to make sure they are distributed

This worked in-tree but never landed in a distribution tarball and thus the
examples build form such a tarball would fail.

8 years agoIndex : Use orientation interface APIs instead of horizontal set/get APIs
Yeshwanth Reddivari [Wed, 18 May 2016 09:33:53 +0000 (18:33 +0900)]
Index : Use orientation interface APIs instead of horizontal set/get APIs

Test Plan: elementary_test

Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet

Subscribers: Hermet

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

8 years agoindex: Avoid SIGSEV in elm_index_item_sorted_insert
Yeshwanth Reddivari [Wed, 18 May 2016 09:31:48 +0000 (18:31 +0900)]
index: Avoid SIGSEV in elm_index_item_sorted_insert

Summary:
Avoid SIGSEV in elm_index_item_sorted_insert when cmp_data_func returns >=0
After deleting eo_item and making it NULL in above case, view(it) is created which resulted in crash.

Test Plan: elementary_test -to 'index 2'

Reviewers: singh.amitesh, jpeg, cedric, raster, Hermet

Reviewed By: Hermet

Subscribers: Hermet

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

8 years agoefl: change name of animator,tick event in C.
Cedric Bail [Wed, 18 May 2016 08:56:21 +0000 (01:56 -0700)]
efl: change name of animator,tick event in C.

8 years agoeo: fix borked test.
Cedric Bail [Wed, 18 May 2016 08:56:06 +0000 (01:56 -0700)]
eo: fix borked test.

8 years agoelm_list: perform a null check before accessing its member
Jee-Yong Um [Wed, 18 May 2016 08:56:12 +0000 (17:56 +0900)]
elm_list: perform a null check before accessing its member

Summary:
In inline function _elm_list_item_free, null check is performed
after accessing its member.

@fix

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: jpeg

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

8 years agoEo cxx: remove leftover usage of eo_del().
Tom Hacohen [Wed, 18 May 2016 08:55:03 +0000 (09:55 +0100)]
Eo cxx: remove leftover usage of eo_del().

8 years agoelementary/colorselector: apply scale factor.
Hermet Park [Wed, 18 May 2016 08:53:05 +0000 (17:53 +0900)]
elementary/colorselector: apply scale factor.

Some parts of ui have scale factor, but some don't
Apply scale factor to whole parts for working properly.

8 years agoecore_imf: Add multiline hint in input hint
Jihoon Kim [Wed, 18 May 2016 06:20:05 +0000 (15:20 +0900)]
ecore_imf: Add multiline hint in input hint

@feature

8 years agoeina test suite vector - make correctness range 2x as big
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:51:52 +0000 (01:51 +0900)]
eina test suite vector - make correctness range 2x as big

make correctness rand 2 * DBL_EPSILON due to compilers, fastmath and
being a little inaccurate sometimes at the bottom end of precision.

@fix

8 years agoecore audio test - improve samples for ecore audio test
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:39:45 +0000 (01:39 +0900)]
ecore audio test - improve samples for ecore audio test

8 years agoecore wl2 - remove warning with unused goto label
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:05:20 +0000 (01:05 +0900)]
ecore wl2 - remove warning with unused goto label

8 years agoefl - key/data/value/obj attach to eo objects - make these properties
Carsten Haitzler (Rasterman) [Tue, 17 May 2016 16:02:37 +0000 (01:02 +0900)]
efl - key/data/value/obj attach to eo objects - make these properties

the key data now is a property so they come out in bindings really
nicely like:

  obj.key_data["blah"] = x;

  x = obj.key_data["blah"];

etc.

8 years agoeolian: add event_prefix and have classes follow that or eo_prefix by default
Daniel Kolesa [Tue, 17 May 2016 16:14:47 +0000 (17:14 +0100)]
eolian: add event_prefix and have classes follow that or eo_prefix by default

Previously events used to use class name as a prefix and ignored eo_prefix
when specified. This is no longer the case. Events follow eo_prefix by default
now. In order to get around this for classes where this is undesirable, a new
field event_prefix was added which takes priority over eo_prefix. If neither
is specified, class name is used like previously.

@feature

8 years agoPanes: Use orientation interface APIs instead of horizontal set/get APIs
Amitesh Singh [Tue, 17 May 2016 15:00:03 +0000 (00:00 +0900)]
Panes: Use orientation interface APIs instead of horizontal set/get APIs

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

8 years agoEo: Remove eo_del() and make eo_unref() the replacement.
Tom Hacohen [Tue, 17 May 2016 15:08:28 +0000 (16:08 +0100)]
Eo: Remove eo_del() and make eo_unref() the replacement.

We used to have eo_del() as the mirrored action to eo_add(). No longer,
now you just always eo_unref() to delete an object. This change makes it
so the reference of the parent is shared with the reference the
programmer has. So eo_parent_set(obj, NULL) can free an object, and so
does eo_unref() (even if there is a parent).

This means Eo no longer complains if you have a parent during deletion.

8 years agoEo name: Rename Eo.Base.id to Eo.Base.name.
Tom Hacohen [Tue, 17 May 2016 15:00:13 +0000 (16:00 +0100)]
Eo name: Rename Eo.Base.id to Eo.Base.name.

This is there to reduce confusion with Eo_Id and also the name
is just better.

8 years agoecore: do not create another main loop object
Cedric Bail [Tue, 17 May 2016 14:38:36 +0000 (07:38 -0700)]
ecore: do not create another main loop object

So ecore main loop does restart everything with an main loop shutdown
and init when it detect a bad fd. This can happen if you del a fd after
you have destroyed it. Something terminology is doing (and should be
legal), but that then ended up with a main loop with no event handler
registered and the process was looking like stuck with nothing happening.