platform/upstream/efl.git
9 years agoedje: Fix double free scenario caused by static pointer.
Youngbok Shin [Thu, 27 Aug 2015 10:04:57 +0000 (11:04 +0100)]
edje: Fix double free scenario caused by static pointer.

Summary:
The result of evas_object_textblock_cursor_content_get() API has to be cleaned
by outside.  _edje_entry_cursor_content_get() is calling free() inside of the
function for handle the result using static pointer. But, the caller of
_edje_entry_cursor_content_get() is already handling the result using free().
It can cause double free problem.

The bigger issue is in elementary. See elm_entry_cursor_content_get() API's
document. The document advice developers to free the result when it is done.

@fix

Test Plan: N/A

Reviewers: tasn, raster, woohyun

Subscribers: cedric

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

9 years agoecore_pipe: add write fdset and except fdset.
Ji-Youn Park [Thu, 27 Aug 2015 07:58:10 +0000 (16:28 +0830)]
ecore_pipe: add write fdset and except fdset.

ecore_pipe_wait can be run not only select but also _ecore_glib_select__locked.
if write fdset is null, it make problem in FD_ISSET.

@fix

9 years agoecore_wayland: add wayland session recovery listener
Stefan Schmidt [Wed, 26 Aug 2015 12:08:25 +0000 (14:08 +0200)]
ecore_wayland: add wayland session recovery listener

Register and wait for the uuid event issued by the compositor once a new
surface is created.

9 years agoecore_wayland: bind and destroy session_recovery interface correctly.
Stefan Schmidt [Tue, 25 Aug 2015 12:31:09 +0000 (14:31 +0200)]
ecore_wayland: bind and destroy session_recovery interface correctly.

This was missing from the initial session recovery support patches. Bind
the interface so we can actually work with it on the client side and destroy
it at the end.

@fix

9 years agoEo base: print an error when an object with a parent is destructed.
Tom Hacohen [Wed, 26 Aug 2015 13:17:26 +0000 (14:17 +0100)]
Eo base: print an error when an object with a parent is destructed.

This should not happen. Objects with parents must have their parents
unset before they reach refcount == 0. That's because the parent is the
one holding the refcount. This means that if we get to the destructor
(object is deleted) while a parent is still set, we have an error
scenario.

9 years agoRevert "Revert "Eo base: Change parent_set to be an assignment of ref.""
Tom Hacohen [Wed, 26 Aug 2015 09:47:06 +0000 (10:47 +0100)]
Revert "Revert "Eo base: Change parent_set to be an assignment of ref.""

Had to revert it until I pushed the changes to elm, which I had issues
with. Now the patch can safely go back in.

This reverts commit 37abea3831f62ac612b377bb48ce6c90e076dd25.

9 years agoRevert "Eo base: Change parent_set to be an assignment of ref."
Tom Hacohen [Wed, 26 Aug 2015 09:32:32 +0000 (10:32 +0100)]
Revert "Eo base: Change parent_set to be an assignment of ref."

Damn, this breaks some things. Reverting until fixed.

This reverts commit 9c78ee0bf4125c095e85f7fcf9921586cda64a52.

9 years agoEo base: Change parent_set to be an assignment of ref.
Tom Hacohen [Wed, 26 Aug 2015 09:02:01 +0000 (10:02 +0100)]
Eo base: Change parent_set to be an assignment of ref.

After this change, parent_set assigns a ref, so for example:
  obj = eo_add(CLASS, parent); /* Ref is 1 */
  eo_do(obj, eo_parent_set(parent2)); /* Ref is 1 */
  eo_ref(obj); /* Ref is 2 */
  eo_do(obj, eo_parent_set(NULL)); /* Ref is 1, giving the ref to NULL */
  eo_do(obj, eo_parent_set(parent)); /* Ref is 1 */

This is following a discussion on the ML about commit
8689d54471aafdd7a5b5a27ce116bf2ab68c1042.

@feature

9 years agoedje_cc_out: Fix edje_cc compile error with script on Windows.
Jaehyun Cho [Wed, 26 Aug 2015 04:30:15 +0000 (13:30 +0900)]
edje_cc_out: Fix edje_cc compile error with script on Windows.

On Windows, PATH_MAX is 260 and PATH_MAX is used as string buffer
size in edje_cc compile. This causes edje_cc compile error when the edc
file contains "script" keyword and the length of file paths is
relatively long.
To resolve this problem, change the string buffer size in edje_cc
compile.

@fix

9 years agoRevert "Revert "ecore_win: fix the incorrect mouse cursor position.""
ChunEon Park [Tue, 25 Aug 2015 10:32:29 +0000 (19:32 +0900)]
Revert "Revert "ecore_win: fix the incorrect mouse cursor position.""

This reverts commit 3ce8860dab29ba6d0849ed1ecbbc72bbe0e11773.

Apply only to mouse wheel case. Button press/release wans't problem actually.
If I correct, this is caused because of different nature of window systems.
Anyway our Ecore_Event_Mouse values should keep consistency among the various systems.

9 years agoRevert "ecore_win: fix the incorrect mouse cursor position."
ChunEon Park [Tue, 25 Aug 2015 09:12:40 +0000 (18:12 +0900)]
Revert "ecore_win: fix the incorrect mouse cursor position."

This reverts commit 1f1542f82404fa2262526cc3eed7b2edc622c5ce.

coordinate has been corrupted. need to investigate more.

9 years agobuild: replace libsystemd-{daemon, journal} with libsystemd
Marcel Hollerbach [Tue, 25 Aug 2015 08:52:47 +0000 (10:52 +0200)]
build: replace libsystemd-{daemon, journal} with libsystemd

Summary:
since all the libs got merged into libsystemd in 209, we can just check
for libsystemd

Reviewers: cedric

Subscribers: stefan_schmidt, morlenxus

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

9 years agoecore_win: fix the incorrect mouse cursor position.
ChunEon Park [Tue, 25 Aug 2015 06:31:05 +0000 (15:31 +0900)]
ecore_win: fix the incorrect mouse cursor position.

Ecore_Event_Mouse_* x, y values are relative to the current window position
as well as the root x, y, values are relative to the root window.

previously, x,y is started from the root window and root x, y values are invalid.

fix them

@fix

9 years agosmall typo in docs, mounse is mouse
Thanatermesis [Tue, 25 Aug 2015 01:04:50 +0000 (03:04 +0200)]
small typo in docs, mounse is mouse

9 years agoeldbus: add since tag for now public eldbus_message_signal_new API
Stefan Schmidt [Mon, 24 Aug 2015 10:07:10 +0000 (12:07 +0200)]
eldbus: add since tag for now public eldbus_message_signal_new API

Thanks go to vtorri for bringing this to my attention.

9 years agoevas_3d: fix defines
Marcel Hollerbach [Mon, 24 Aug 2015 10:00:57 +0000 (12:00 +0200)]
evas_3d: fix defines

Summary:
evas_3d: removed unnessecary defines

Evas_Real was allready defined.

The typedefs of the Eo types can be avoided by fixing the include order

Reviewers: cedric, stefan_schmidt, tasn

Reviewed By: stefan_schmidt, tasn

Subscribers: stefan_schmidt, cedric

Projects: #efl

Maniphest Tasks: T2658

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

9 years agoevas/filter: Remove unused variable
Stefan Schmidt [Mon, 24 Aug 2015 08:15:11 +0000 (10:15 +0200)]
evas/filter: Remove unused variable

lib/evas/filters/evas_filter_parser.c:861:14: warning: unused variable 'ok' [-Wunused-variable]

9 years agoeldbus: remove now public eldbus_message_signal_new declaration from private.h
Stefan Schmidt [Mon, 24 Aug 2015 08:11:34 +0000 (10:11 +0200)]
eldbus: remove now public eldbus_message_signal_new declaration from private.h

The declaration is now on eldbus_message as EAPI so we can safely remove it here.

9 years agoeldbus: add eldbus_message_signal_new to public header
Lukasz Stanislawski [Mon, 24 Aug 2015 08:07:40 +0000 (10:07 +0200)]
eldbus: add eldbus_message_signal_new to public header

Test Plan: elementary tests

Reviewers: cedric

Subscribers: seoz, cedric

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

9 years agoefl - jp2k loader - guard against openjpeg bug tha causes an abort
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2015 02:39:12 +0000 (11:39 +0900)]
efl - jp2k loader - guard against openjpeg bug tha causes an abort

so... if you load a non-jp2k file using openjpeg, you can get an abort
deep inside the openjpeg library that we can't do anything about. we
set all error handlers but literally the openjpeg code has ab assert
there that causes this bug. it shouldn't and newer opengjpeg libs have
it removed, but 1.5.2 has it and this causes an untrappable crash.
this is simply bad behavior in openjpeg not allowing it to be used
safely to loade image files. the relevant backtrace:

    w=w@entry=0x7fffffffb548, h=h@entry=0x7fffffffb54c,
    alpha=alpha@entry=0x7fffffffb556 "", map=map@entry=0x7fff29ac2000,
    length=<optimized out>, error=error@entry=0x7fffffffb5bc,
    opts=<optimized out>)
    at modules/evas/image_loaders/jp2k/evas_image_load_jp2k.c:111

the relevant code in openjpeg:

int cio_numbytesleft(opj_cio_t *cio) {
  assert((cio->end - cio->bp) >= 0);
        return cio->end - cio->bp;
}

so that assert is triggered. and nothing can be done about it which is
pretty poor.

so an upgrade of openjpeg should fix this as in newer versions have
dropped the assert line in that function, but until poeople have that from
their distro, this adds magic number checks for file headers that avoids
using openjpeg if it's not "apparently" a jp2k file. this does not
stop a corrupt file or a maliciously designed file still causing this
problem, but it does just result in an abort() and isnn't seemingly an
overflow isse that can be exploted, so if you still suffer, find a way to
upgrade openjpeg to 2.x. until then... this reduces inadvertent damage.

@fix

9 years agoeina: fix coverity issue CID 1317154.
Cedric BAIL [Sat, 22 Aug 2015 17:50:58 +0000 (19:50 +0200)]
eina: fix coverity issue CID 1317154.

9 years agoethum: fix compilation on Windows due to missing visibility setting.
ChunEon Park [Sat, 22 Aug 2015 07:09:25 +0000 (16:09 +0900)]
ethum: fix compilation on Windows due to missing visibility setting.

9 years agoevil: add missing since
ChunEon Park [Sat, 22 Aug 2015 07:01:45 +0000 (16:01 +0900)]
evil: add missing since

9 years agoEo base: clean up parent removal in destructor.
Tom Hacohen [Fri, 21 Aug 2015 16:19:47 +0000 (17:19 +0100)]
Eo base: clean up parent removal in destructor.

This cleans up the changes in 8689d54471aafdd7a5b5a27ce116bf2ab68c1042.
This commit reduces code duplication, and fixes broken handling of
overridden parent_set().

9 years agoecore_con: fix test to properly send the right amount of data (including the '\0').
Cedric BAIL [Fri, 21 Aug 2015 15:54:13 +0000 (17:54 +0200)]
ecore_con: fix test to properly send the right amount of data (including the '\0').

9 years agoeina: use new eina_file_path_join API
Vincent Torri [Thu, 13 Aug 2015 06:14:32 +0000 (08:14 +0200)]
eina: use new eina_file_path_join API

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add API to join pahs, as well as path separators
Vincent Torri [Thu, 13 Aug 2015 06:11:15 +0000 (08:11 +0200)]
eina: add API to join pahs, as well as path separators

eina_str_join() is used a lot to contatenate paths, but the
separator should be '\' on Windows. So add 2 API and 2 defines for
more cross platform code

@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: don't forget to reset cairo matrix to identity.
Cedric BAIL [Fri, 21 Aug 2015 14:07:16 +0000 (16:07 +0200)]
ector: don't forget to reset cairo matrix to identity.

9 years agoefl: fix Efl.Gfx.Shape.Dup to use const parameter.
Cedric BAIL [Tue, 28 Jul 2015 23:17:53 +0000 (01:17 +0200)]
efl: fix Efl.Gfx.Shape.Dup to use const parameter.

9 years agoefl: prevent segv while interpolating empty shape.
Cedric BAIL [Sat, 4 Jul 2015 00:23:17 +0000 (02:23 +0200)]
efl: prevent segv while interpolating empty shape.

9 years agoevas: improve simple VG example to interpolate a full VG tree.
Cedric BAIL [Thu, 2 Jul 2015 19:51:54 +0000 (21:51 +0200)]
evas: improve simple VG example to interpolate a full VG tree.

9 years agoeina: add test for decomposition and composition of matrix.
Cedric BAIL [Tue, 30 Jun 2015 07:45:29 +0000 (09:45 +0200)]
eina: add test for decomposition and composition of matrix.

9 years agoeina: add eina_matrix4_quaternion_get and eina_quaternion_matrix4_get.
Cedric BAIL [Wed, 24 Jun 2015 17:33:44 +0000 (19:33 +0200)]
eina: add eina_matrix4_quaternion_get and eina_quaternion_matrix4_get.

Implementation taken from pseudo code at :
http://www.w3.org/TR/css3-transforms/#decomposing-a-3d-matrix

9 years agoeina: add eina_matrix4_multiply and eina_matrix4_identity function.
Cedric BAIL [Tue, 30 Jun 2015 16:39:39 +0000 (18:39 +0200)]
eina: add eina_matrix4_multiply and eina_matrix4_identity function.

9 years agoeina: add eina_matrix4_transpose.
Cedric BAIL [Thu, 25 Jun 2015 12:52:55 +0000 (14:52 +0200)]
eina: add eina_matrix4_transpose.

9 years agoeina: add tests for eina_matrix4_inverse.
Cedric BAIL [Wed, 24 Jun 2015 16:58:00 +0000 (18:58 +0200)]
eina: add tests for eina_matrix4_inverse.

9 years agoeina: add eina_matrix4_inverse.
Cedric BAIL [Wed, 24 Jun 2015 16:57:46 +0000 (18:57 +0200)]
eina: add eina_matrix4_inverse.

9 years agoeina: test eina_matrix4_normalized.
Cedric BAIL [Wed, 24 Jun 2015 15:23:43 +0000 (17:23 +0200)]
eina: test eina_matrix4_normalized.

9 years agoeina: add eina_matrix4_normalized.
Cedric BAIL [Wed, 24 Jun 2015 15:23:23 +0000 (17:23 +0200)]
eina: add eina_matrix4_normalized.

9 years agoeina: add eina_matrix4_determinant.
Cedric BAIL [Wed, 24 Jun 2015 14:56:26 +0000 (16:56 +0200)]
eina: add eina_matrix4_determinant.

9 years agoeina: our 3x3 matrix are 2D matrix, not 3D rotation matrix.
Cedric BAIL [Wed, 24 Jun 2015 13:31:32 +0000 (15:31 +0200)]
eina: our 3x3 matrix are 2D matrix, not 3D rotation matrix.

9 years agoevas: add logic to duplicate recursively an Efl_VG_Node tree.
Cedric BAIL [Fri, 19 Jun 2015 09:26:46 +0000 (11:26 +0200)]
evas: add logic to duplicate recursively an Efl_VG_Node tree.

9 years agoevas: allow parent during dup to be an Evas_Object_VG.
Cedric BAIL [Sat, 4 Jul 2015 00:28:33 +0000 (02:28 +0200)]
evas: allow parent during dup to be an Evas_Object_VG.

9 years agoevas: add support for interpolating Efl_VG_Node tree.
Cedric BAIL [Tue, 16 Jun 2015 14:28:19 +0000 (16:28 +0200)]
evas: add support for interpolating Efl_VG_Node tree.

9 years agoevas: add an unique name for each Efl.VG.Base object and make it possible to find...
Cedric BAIL [Fri, 5 Jun 2015 08:54:13 +0000 (10:54 +0200)]
evas: add an unique name for each Efl.VG.Base object and make it possible to find it from parent.

9 years agoEvil: fix compilation when MSVC is not available.
Vincent Torri [Fri, 21 Aug 2015 10:44:44 +0000 (12:44 +0200)]
Evil: fix compilation when MSVC is not available.

localtime_s is not defined in msvcrt.dll but rather is defined in
Microsoft libc when Visual Studio or other stuff is installed.

Issue introduced in:024812c1a76286991f292c3191936778ec219ff8

Fixes T2681

@fix

9 years agoEvas filters: Fix build for Jenkins gcc_x32
Jean-Philippe Andre [Fri, 21 Aug 2015 02:06:50 +0000 (11:06 +0900)]
Evas filters: Fix build for Jenkins gcc_x32

Disable bit32 library if it's not available.
We should probably either ship it or disable it altogether
for the filters. Hmm.

9 years agoAdd experimental implementation of custom animator ticks
Chris Michael [Thu, 6 Aug 2015 13:52:16 +0000 (09:52 -0400)]
Add experimental implementation of custom animator ticks

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: properly fix unref of ector renderer.
Cedric BAIL [Thu, 20 Aug 2015 13:39:16 +0000 (15:39 +0200)]
evas: properly fix unref of ector renderer.

Async rendering doesn't have a main loop cleanup function. The only one
being called is in the rendering thread. I wrongly assumed in my previous
patch that render_post on an object was called after the async render was
done which is obviously not the case as pointed by Subhransu. This patch
now wait for the async rendering to be done.

9 years agoeo - use ren not xref for children to not waste memory
Carsten Haitzler (Rasterman) [Thu, 20 Aug 2015 10:16:00 +0000 (19:16 +0900)]
eo - use ren not xref for children to not waste memory

optimization

xrefs keep lists of objects references. children are already in a list.
why keep both? lots of extra memory used for no value when debug is on
(pretty much most of the time).

9 years agoevas: fix win32 build warning.
ChunEon Park [Thu, 20 Aug 2015 09:09:39 +0000 (18:09 +0900)]
evas: fix win32 build warning.

include evas_private.h so that
internal ector eo apis have affected with symbol visibilty declarations.

9 years agoector: freetype -> default software
ChunEon Park [Thu, 20 Aug 2015 07:29:04 +0000 (16:29 +0900)]
ector: freetype -> default software

9 years agoecore_imf_example: remove unnecessary code to set client window
Jihoon Kim [Thu, 20 Aug 2015 07:11:24 +0000 (16:11 +0900)]
ecore_imf_example: remove unnecessary code to set client window

9 years agoevil: fix warnings.
ChunEon Park [Thu, 20 Aug 2015 06:33:06 +0000 (15:33 +0900)]
evil: fix warnings.

correct data size for 32/64 compatibility.

9 years agoevil: fix incorrect function call.
ChunEon Park [Thu, 20 Aug 2015 05:25:15 +0000 (14:25 +0900)]
evil: fix incorrect function call.

_localtime64_s() requires _time64_t as one argument but here we passes time_s.
Proper api is localtime_s().

9 years agoeo - destruction - ensure child is removed from parent child list
Carsten Haitzler (Rasterman) [Thu, 20 Aug 2015 03:50:52 +0000 (12:50 +0900)]
eo - destruction - ensure child is removed from parent child list

this follows on from cbc1a217bfc8b5c6dd94f0448f19245c43eb05e0 as this
code was correct, but was then causing bugs due to children staying in
their parent lists. this should never have happened and this is really
bad. this fixes this and ensures children on destruction are gone from
their parent lists.

@fix

9 years agoEvas filters: Fix char buffer size
Jean-Philippe Andre [Thu, 20 Aug 2015 02:37:22 +0000 (11:37 +0900)]
Evas filters: Fix char buffer size

Thanks Coverity.
Fixes CID 1316684

9 years agoEdje_Entry: check selection before the cursor position change.
Mykyta Biliavskyi [Thu, 20 Aug 2015 02:31:27 +0000 (11:31 +0900)]
Edje_Entry: check selection before the cursor position change.

Summary:
change position of the main textblock cursor
in depends of the selection is present. Change cursor position to
the start or end of selection only when selection is present.
@fix

Test Plan:
Press "Up" and "Down" arrow keys on selected and normal text.
For selected text: the entry cursor should be placed one line
   above or below selection block (in depends from pressed button).
For normal text: the entry cursor should be placed one line
   above or below of the current cursor position.

Reviewers: tasn, Hermet, herdsman

Subscribers: cedric

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

9 years agoevas: be more pedantic in case of error in Evas_VG_Node.
Cedric BAIL [Wed, 19 Aug 2015 18:21:41 +0000 (20:21 +0200)]
evas: be more pedantic in case of error in Evas_VG_Node.

9 years agoeio: limit race condition during shutdown.
Cedric BAIL [Wed, 19 Aug 2015 18:21:02 +0000 (20:21 +0200)]
eio: limit race condition during shutdown.

9 years agoEvas language: fix script run code
Daniel Hirt [Wed, 19 Aug 2015 08:45:09 +0000 (11:45 +0300)]
Evas language: fix script run code

For script runs that start with an UNKNOWN character, the whole
run was mistakenly identified as script type UNKNOWN.

Also, refactored code a bit for readability.

Fixes T2670.
@fix

9 years agoevas: no need to get the data if it is not the right type of object.
Cedric BAIL [Wed, 19 Aug 2015 14:12:58 +0000 (16:12 +0200)]
evas: no need to get the data if it is not the right type of object.

9 years agoector: fix naming and forcing this inline function to be static.
Cedric BAIL [Wed, 19 Aug 2015 14:12:29 +0000 (16:12 +0200)]
ector: fix naming and forcing this inline function to be static.

9 years agoevas: fix ref/unref of ector renderer to always happen in the main loop.
Cedric BAIL [Wed, 19 Aug 2015 14:06:39 +0000 (16:06 +0200)]
evas: fix ref/unref of ector renderer to always happen in the main loop.

9 years agoector: remove depricated file ector_blend_private.h
Subhransu Mohanty [Mon, 17 Aug 2015 07:00:34 +0000 (16:00 +0900)]
ector: remove depricated file ector_blend_private.h

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add SSE2 support for gradient filling in software backend.
Subhransu Mohanty [Mon, 17 Aug 2015 06:55:18 +0000 (15:55 +0900)]
ector: add SSE2 support for gradient filling in software backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add NEON support for composition function in software backend.
Subhransu Mohanty [Mon, 17 Aug 2015 06:42:48 +0000 (15:42 +0900)]
ector: add NEON support for composition function in software backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add sse2 support for composition function in software backend.
Subhransu Mohanty [Mon, 17 Aug 2015 06:36:57 +0000 (15:36 +0900)]
ector: add sse2 support for composition function in software backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: refactored software drawing backend to use composition function.
Subhransu Mohanty [Mon, 17 Aug 2015 06:18:26 +0000 (15:18 +0900)]
ector: refactored software drawing backend to use composition function.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add alpha field to gradient data.
Subhransu Mohanty [Mon, 17 Aug 2015 06:24:50 +0000 (15:24 +0900)]
ector: add alpha field to gradient data.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add dash stroking feature in software backend.
Subhransu Mohanty [Mon, 17 Aug 2015 05:44:46 +0000 (14:44 +0900)]
ector: add dash stroking feature in software backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: refactored shape generation in software backend.
Subhransu Mohanty [Mon, 17 Aug 2015 05:26:40 +0000 (14:26 +0900)]
ector: refactored shape generation in software backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: remove wrong implementation of singleton in software_surface class.
Subhransu Mohanty [Mon, 17 Aug 2015 04:59:59 +0000 (13:59 +0900)]
ector: remove wrong implementation of singleton in software_surface class.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: fix memory leak in software backend when using shape.
Subhransu Mohanty [Mon, 17 Aug 2015 04:54:49 +0000 (13:54 +0900)]
ector: fix memory leak in software backend when using shape.

Mixin destructor are not called, so we need to explicitely call it.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: add bounding box info in RLE data for software backend.
Subhransu Mohanty [Mon, 17 Aug 2015 04:45:42 +0000 (13:45 +0900)]
ector: add bounding box info in RLE data for software backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: now software rasterizer allocates memory on stack to work in multi threading...
Subhransu Mohanty [Mon, 17 Aug 2015 04:13:38 +0000 (13:13 +0900)]
ector: now software rasterizer allocates memory on stack to work in multi threading env.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: delete the ector_renderer when evas_vg_node gets deleted.
Subhransu Mohanty [Wed, 19 Aug 2015 00:00:51 +0000 (09:00 +0900)]
evas: delete the ector_renderer when evas_vg_node gets deleted.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas GL: Debug APIs should also restore context
Jean-Philippe Andre [Wed, 19 Aug 2015 04:33:55 +0000 (13:33 +0900)]
Evas GL: Debug APIs should also restore context

As discussed briefly with @spacegrapher

9 years agoEvas GL: Also generate debug functions for GLES 2
Jean-Philippe Andre [Tue, 18 Aug 2015 09:26:40 +0000 (18:26 +0900)]
Evas GL: Also generate debug functions for GLES 2

9 years agoEvas GL: Add EVGL_FUNC_BEGIN() to GLES 3 functions as well
Jean-Philippe Andre [Tue, 18 Aug 2015 09:16:10 +0000 (18:16 +0900)]
Evas GL: Add EVGL_FUNC_BEGIN() to GLES 3 functions as well

This call ensures that the context is current (context restore).

9 years agoEvas GL: Simplify previous commit
Jean-Philippe Andre [Tue, 18 Aug 2015 08:59:21 +0000 (17:59 +0900)]
Evas GL: Simplify previous commit

Also generate the debug functions for GLES 3

9 years agoEvas GL: Restore current context to evas gl context when the backend has taken over
Dongyeon Kim [Tue, 18 Aug 2015 08:35:40 +0000 (17:35 +0900)]
Evas GL: Restore current context to evas gl context when the backend has taken over

Summary:
When Evas GL apis are called outside of on pixels callback,
evas gl backend context may have been made current, and Evas GL will
render into a wrong context.
So here we provide context restore mechanism of keeping track of
currently bound context and calling make current when needed.
@feature

Test Plan: Run Evas GL test cases

Reviewers: jpeg, cedric

Subscribers: mythri, mer.kim, wonsik, cedric

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

9 years agoEvas filters: Fix proxy buffer size in Lua
Jean-Philippe Andre [Tue, 18 Aug 2015 07:58:41 +0000 (16:58 +0900)]
Evas filters: Fix proxy buffer size in Lua

In order to do that, avoid creating multiple Buffer instances
when pointing to the same proxy source. This fixes buffer.width
and buffer.height in Lua.

9 years agoEvas filters: Fix massive memleak with async sw render
Jean-Philippe Andre [Tue, 18 Aug 2015 06:11:23 +0000 (15:11 +0900)]
Evas filters: Fix massive memleak with async sw render

Oooops, the flag stolen meant that we don't hold any reference on
this buffer anymore, which meant we should not increase the refcount
here!

@fix

9 years agoEvas: Add debug env var EVAS_IMAGE_NO_MMAP
Jean-Philippe Andre [Tue, 18 Aug 2015 02:27:17 +0000 (11:27 +0900)]
Evas: Add debug env var EVAS_IMAGE_NO_MMAP

Looking for image buffer memory leaks with Valgrind is impossible
when all images are mmaped. This is intended as a DEBUG environment
variable only.

9 years agoEvas filters: Fix for Lua 5.3 (with --enable-lua-old)
Jean-Philippe Andre [Mon, 17 Aug 2015 11:02:53 +0000 (20:02 +0900)]
Evas filters: Fix for Lua 5.3 (with --enable-lua-old)

Tested with LuaJIT, Lua 5.2 and Lua 5.3.

@fix

9 years agoeo - fix bug vector when unparenting of an eo obj may affect others
Carsten Haitzler (Rasterman) [Tue, 18 Aug 2015 08:23:16 +0000 (17:23 +0900)]
eo - fix bug vector when unparenting of an eo obj may affect others

it is possible that a destructor/parent_set override or function could
go modifying the children list of objects in a parent, this the
EINA_LIST_FREE may actually miss objects in the process since within
the "free" func the list may have been altered etc.

@fix

9 years agoefl debug infra - add more event types for ability to check extended inf
Carsten Haitzler (Rasterman) [Mon, 17 Aug 2015 10:37:06 +0000 (19:37 +0900)]
efl debug infra - add more event types for ability to check extended inf

9 years agoefl debug - add the ability to begin/end states not just call ranges
Carsten Haitzler (Rasterman) [Mon, 17 Aug 2015 02:10:26 +0000 (11:10 +0900)]
efl debug - add the ability to begin/end states not just call ranges

9 years agoeina: change default log level at which we display backtrace.
Cedric BAIL [Sat, 15 Aug 2015 10:53:00 +0000 (12:53 +0200)]
eina: change default log level at which we display backtrace.

We mostly use in our code base ERR in conjunction with system related error. This
doesn't require any information from who did call that function to get debugged and
is creating way to much noise with little value.

9 years agoevas_image: finish doc conversion
Daniel Kolesa [Fri, 14 Aug 2015 15:36:21 +0000 (16:36 +0100)]
evas_image: finish doc conversion

9 years agoevas_image: convert more docs
Daniel Kolesa [Fri, 14 Aug 2015 15:21:51 +0000 (16:21 +0100)]
evas_image: convert more docs

9 years agoevas_object,evas_image: partial doc conversion
Daniel Kolesa [Fri, 14 Aug 2015 12:20:17 +0000 (13:20 +0100)]
evas_object,evas_image: partial doc conversion

9 years agoedje: set file permission back to 644
Amitesh Singh [Fri, 14 Aug 2015 09:58:58 +0000 (15:28 +0530)]
edje: set file permission back to 644

9 years agoecore-wl: do not nul terminate drops
Mike Blumenkrantz [Thu, 13 Aug 2015 19:47:09 +0000 (15:47 -0400)]
ecore-wl: do not nul terminate drops

the application can do this based on mime types. we should not be
nul terminating incremental drop data

@fix

9 years agoemotion: Fix typos in doxygen
Chris Michael [Thu, 13 Aug 2015 14:53:10 +0000 (10:53 -0400)]
emotion: Fix typos in doxygen

Summary: This patch fixes some typos in the documentation of Emotion

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-x: add property member to Ecore_X_Event_Selection_Notify
Mike Blumenkrantz [Wed, 12 Aug 2015 21:57:30 +0000 (17:57 -0400)]
ecore-x: add property member to Ecore_X_Event_Selection_Notify

@feature

9 years agoevas render 2 - tiled rouding of updates to keep number regions down
Carsten Haitzler (Rasterman) [Wed, 12 Aug 2015 11:06:30 +0000 (20:06 +0900)]
evas render 2 - tiled rouding of updates to keep number regions down

tile to 16x16 (we can cahnge) to keep number of update rects
down/minimal with render2

9 years agoevas - handle case where layer->evas is null - don't crash
Carsten Haitzler (Rasterman) [Wed, 12 Aug 2015 01:45:52 +0000 (10:45 +0900)]
evas - handle case where layer->evas is null - don't crash

there seems to be a corner case where obj->layer->evas is null for an
object. i think during shutdown of a canvas.

@fix

9 years agoefreet - fix efreetd kill and start with clean cache case blank icons
Carsten Haitzler (Rasterman) [Tue, 11 Aug 2015 03:56:02 +0000 (12:56 +0900)]
efreet - fix efreetd kill and start with clean cache case blank icons

if you kill efreetd ANd delete all the caches, the restart of efreetd
will lose all icons until an app re-registeres icon extensions and it
can scan all icons .. and then app has to actually get the right
upodate events and do the update properly when this happens. this
fixes that scenario

@fix