platform/upstream/efl.git
9 years agoecore_con_eet: fix dereferencing of object during callback that crashed some tests...
Cedric BAIL [Tue, 28 Jul 2015 01:04:38 +0000 (03:04 +0200)]
ecore_con_eet: fix dereferencing of object during callback that crashed some tests case.

9 years agoecore_con: fix test to actually send a NULL terminated string.
Cedric BAIL [Tue, 28 Jul 2015 00:55:32 +0000 (02:55 +0200)]
ecore_con: fix test to actually send a NULL terminated string.

9 years agoevas canvas3d: bounding box does not change the position according object
Ivan Furs [Mon, 27 Jul 2015 23:40:04 +0000 (01:40 +0200)]
evas canvas3d: bounding box does not change the position according object

Summary:
This fix need for synchronous rotation mesh and aabb of  "sonic" in example "evas-3d-aabb.c".
@fix

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: sri.hebbar, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_ipc: remove redundant code
Thiep Ha [Mon, 27 Jul 2015 23:08:11 +0000 (01:08 +0200)]
ecore_ipc: remove redundant code

Summary:
buf is always NULL (already freed and set to NULL).
We don't need to add NULL checking and free it.

Reviewers: raster, cedric, Hermet

Subscribers: seoz, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina_quaternion: add forgotten implementation of converting eina_matrix3 to eina_quat...
Vivek Ellur [Mon, 27 Jul 2015 23:00:34 +0000 (01:00 +0200)]
eina_quaternion: add forgotten implementation of converting eina_matrix3 to eina_quaternion

Summary:
Implemenation of eina_matrix3_quaternion_get function

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

Subscribers: cedric

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

This was a function I forgot to finish implement. Thanks Vivek to take care of it.
As it comes with a test case, is self contained and fix a missing bit of code I will
push it at this point in time of our release process. Sorry everyone for that late push.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina_quaternion: add test cases for various eina quaternion operations
Vivek Ellur [Mon, 27 Jul 2015 22:55:56 +0000 (00:55 +0200)]
eina_quaternion: add test cases for various eina quaternion operations

Summary:
Added test cases for scale, multiply, normalize,dot operations for quaternion
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina_quaternion: add test cases for eina f16p16 quaternion functions
Vivek Ellur [Mon, 27 Jul 2015 22:48:25 +0000 (00:48 +0200)]
eina_quaternion: add test cases for eina f16p16 quaternion functions

Summary:
Added test cases for various operations on eina f16p16 quaternions

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje_cc: fix dereference before null check
jiin.moon [Mon, 27 Jul 2015 22:46:05 +0000 (00:46 +0200)]
edje_cc: fix dereference before null check

Summary:
Fix Coverity issue which reports a dereference before null check.
The enc_info can not has NULL point
because _edje_multisense_encode api calls exit() in case of failure

Reviewers: Hermet, Jaehyun, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-evas-x: fix typo
Seunghun Lee [Mon, 27 Jul 2015 22:41:14 +0000 (00:41 +0200)]
ecore-evas-x: fix typo

Test Plan: N/A

Reviewers: gwanglim, raster, jypark, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas-wayland-shm: Don't call surface commit until we've setup the frame listener
Chris Michael [Mon, 27 Jul 2015 19:53:02 +0000 (15:53 -0400)]
evas-wayland-shm: Don't call surface commit until we've setup the frame listener

Summary: This fixes an issue where we may been missing a frame
callback due to the wl_surface_commit being called before the frame
callback listener was setup. Now we will setup the frame callback
listener before doing any wl_surface_commit so that we don't miss
frames.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agorelease: Update NEWS and bump version for 1.15.0-beta3 release v1.15.0-beta3
Daniel Juyung Seo [Mon, 27 Jul 2015 16:20:33 +0000 (01:20 +0900)]
release: Update NEWS and bump version for 1.15.0-beta3 release

9 years agoEvas masking: Fix crash in async rendering
Jean-Philippe Andre [Mon, 27 Jul 2015 05:10:29 +0000 (14:10 +0900)]
Evas masking: Fix crash in async rendering

There was a FIXME comment... >_<

Improper management of image resources in async render led to
a rare crash. This should fix that.

@fix

9 years agoevas - image data unload - try plug another possible crash path
Carsten Haitzler (Rasterman) [Sat, 25 Jul 2015 18:02:06 +0000 (03:02 +0900)]
evas - image data unload - try plug another possible crash path

i am not sure if this is the odd crash i am seeing, but in theory it
could be. as these crashes are rare it's hard to find and gdb is "too
late" other than telling me the image is freed already by the time we
do an unload.

9 years agoevas - render2 - ensure region files are in dist
Carsten Haitzler (Rasterman) [Sat, 25 Jul 2015 13:34:17 +0000 (22:34 +0900)]
evas - render2 - ensure region files are in dist

9 years agoevas/filter: Avoid leak in error path
Stefan Schmidt [Fri, 24 Jul 2015 16:51:42 +0000 (18:51 +0200)]
evas/filter: Avoid leak in error path

If format is not found we go out of scope and would leak param. Free instead.

CID 1308610

9 years agoevas - image unload - fix unload to only unload imgs needing it
Carsten Haitzler (Rasterman) [Fri, 24 Jul 2015 14:21:55 +0000 (23:21 +0900)]
evas - image unload - fix unload to only unload imgs needing it

need_unload seems to have been done wrong. using preload not
need_unload. no idea why it checked/cleared preload instead of
need_unload.

9 years agoevas render2 work - no new feature - paralell bit of code
Carsten Haitzler (Rasterman) [Tue, 21 Jul 2015 09:01:11 +0000 (18:01 +0900)]
evas render2 work - no new feature - paralell bit of code

*this does not affect any "stable" code paths - it's render2 and some
added region code that i MAY have to use to fix some bugs/issues as i
am noticing tilebuf being pretty silly and just doing bounding boxes.
region code lifted from xserver (mit-x11 license thus compatible with
evas bsd) and it's been stripped down and cleaned up with some tilebuf
optimizations like remembering the last rect add/del to avoid work
when repetedly adding/delling the same rects (very common).

9 years agoevas render - fix up debug macros so they don't generate any code
Carsten Haitzler (Rasterman) [Tue, 21 Jul 2015 08:48:47 +0000 (17:48 +0900)]
evas render - fix up debug macros so they don't generate any code

if render debug is not enabled make sure they end up totally empty to
avoid any possible overhead from the optimizer not stripping them out

9 years agoevas grid: Eolian doc conversion of grid.
Srivardhan Hebbar [Fri, 24 Jul 2015 12:40:30 +0000 (13:40 +0100)]
evas grid: Eolian doc conversion of grid.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoecore-drm: Ignore key events that are not seat wide state changes
Chris Michael [Thu, 23 Jul 2015 14:49:31 +0000 (10:49 -0400)]
ecore-drm: Ignore key events that are not seat wide state changes

Summary: This patch adds some checks to make sure that we can ignore
key events which are not seat wide state changes.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEcore_Win32: do not allocate data as it is useless. Fix memory leak.
Vincent Torri [Thu, 23 Jul 2015 15:47:28 +0000 (17:47 +0200)]
Ecore_Win32: do not allocate data as it is useless. Fix memory leak.

@fix

9 years agoexamples/emotion: Remove unused callback functions from generic example
Stefan Schmidt [Thu, 23 Jul 2015 15:19:24 +0000 (17:19 +0200)]
examples/emotion: Remove unused callback functions from generic example

9 years agoexamples/ecore_con: Mark some unused parameters as such
Stefan Schmidt [Thu, 23 Jul 2015 15:18:04 +0000 (17:18 +0200)]
examples/ecore_con: Mark some unused parameters as such

9 years agoexamples/evas/shooter: Move image path into file that uses them.
Stefan Schmidt [Thu, 23 Jul 2015 15:11:23 +0000 (17:11 +0200)]
examples/evas/shooter: Move image path into file that uses them.

The evas-3d-shooter-header.h is used by two binaries. One is using these image
path and the other not. Which means that we get a bunch of warnings thrown at
us during the compile of the binary which does not use them as unused variables.
Solve this by having them only in the place where they are actually used.

9 years agoexamples/evas/shooter: Add double include guards to header file.
Stefan Schmidt [Thu, 23 Jul 2015 15:03:27 +0000 (17:03 +0200)]
examples/evas/shooter: Add double include guards to header file.

9 years agoexamples/evas/shooter: Remove more unused variables.
Stefan Schmidt [Thu, 23 Jul 2015 14:48:21 +0000 (16:48 +0200)]
examples/evas/shooter: Remove more unused variables.

9 years agoexamples/evas/shooter: Remove unused variable
Stefan Schmidt [Thu, 23 Jul 2015 14:45:06 +0000 (16:45 +0200)]
examples/evas/shooter: Remove unused variable

The column.ply does not even exist. Might have been removed and this part
forgotten.

9 years agoEcore_Evas GDI engine: free module data
Vincent Torri [Thu, 23 Jul 2015 08:36:53 +0000 (10:36 +0200)]
Ecore_Evas GDI engine: free module data

9 years agoEvas GDI engine: save the original bitmap into the memory DC
Vincent Torri [Thu, 23 Jul 2015 07:52:31 +0000 (09:52 +0200)]
Evas GDI engine: save the original bitmap into the memory DC

This allows the memory DC to be killed and fix a memory leak

@fix

9 years agoEvas filters: Set state.next to nil when not in transition
Jean-Philippe Andre [Thu, 23 Jul 2015 11:07:36 +0000 (20:07 +0900)]
Evas filters: Set state.next to nil when not in transition

This is what the doc says and makes more sense.
That was some kind of inverted logic.

9 years agoeina: Add since 1.15 tag for environment*get API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:14:21 +0000 (12:14 +0200)]
eina: Add since 1.15 tag for environment*get API additions

9 years ago eina: Add since 1.15 tag for quaternion API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:13:01 +0000 (12:13 +0200)]
 eina: Add since 1.15 tag for quaternion API additions

9 years agoeina_evlog: Remove trailing whitespaces while looking at this file.
Stefan Schmidt [Thu, 23 Jul 2015 10:05:31 +0000 (12:05 +0200)]
eina_evlog: Remove trailing whitespaces while looking at this file.

9 years agoeina: Add since 1.15 tag for evlog API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:04:35 +0000 (12:04 +0200)]
eina: Add since 1.15 tag for evlog API additions

9 years agoeina: Add since 1.15 tag for crc API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:02:42 +0000 (12:02 +0200)]
eina: Add since 1.15 tag for crc API additions

9 years agoedje: Add since 1.15 tag for language_set API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:00:01 +0000 (12:00 +0200)]
edje: Add since 1.15 tag for language_set API additions

9 years agoecore_x: Add since 1.15 tag for keygrab API additions
Stefan Schmidt [Thu, 23 Jul 2015 09:58:48 +0000 (11:58 +0200)]
ecore_x: Add since 1.15 tag for keygrab API additions

9 years agoecore_x: Add since 1.15 tag for keyrouter API additions
Stefan Schmidt [Thu, 23 Jul 2015 09:51:08 +0000 (11:51 +0200)]
ecore_x: Add since 1.15 tag for keyrouter API additions

9 years agoevas vg: Eolian doc conversion of vg.
Srivardhan Hebbar [Thu, 23 Jul 2015 09:43:04 +0000 (10:43 +0100)]
evas vg: Eolian doc conversion of vg.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoeina tests, ecore_con tests: fix compiler warnings
Daniel Kolesa [Thu, 23 Jul 2015 09:39:44 +0000 (10:39 +0100)]
eina tests, ecore_con tests: fix compiler warnings

9 years agoeo tests, evas filter tests: fix compiler warnings
Daniel Kolesa [Thu, 23 Jul 2015 09:07:23 +0000 (10:07 +0100)]
eo tests, evas filter tests: fix compiler warnings

9 years agoeina, ecore_imf: fix uninitialized field warnings
Daniel Kolesa [Thu, 23 Jul 2015 09:02:03 +0000 (10:02 +0100)]
eina, ecore_imf: fix uninitialized field warnings

9 years agoevas out: Eolian doc conversion of out.
Srivardhan Hebbar [Thu, 23 Jul 2015 08:32:46 +0000 (09:32 +0100)]
evas out: Eolian doc conversion of out.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoEvas: Fix wayland-only compilation without Xlib headers
Jean-Philippe Andre [Thu, 23 Jul 2015 07:24:29 +0000 (16:24 +0900)]
Evas: Fix wayland-only compilation without Xlib headers

If the Xlib headers are not installed, a special macro must
be defined before including EGL headers.

9 years agoEvas/psd: Remove commented-out debug code
Jean-Philippe Andre [Mon, 20 Jul 2015 08:33:00 +0000 (17:33 +0900)]
Evas/psd: Remove commented-out debug code

Removing because it matches a grep of <<<< used for merge conflicts :)

9 years agoEvas GL: Add missing call in case of direct rendering
Jean-Philippe Andre [Mon, 20 Jul 2015 06:24:04 +0000 (15:24 +0900)]
Evas GL: Add missing call in case of direct rendering

I spotted this by looking at the code in a different branch (that
was tested on real hardware).

9 years agoRevert "Eolian: fix eolian helper for windows."
Stefan Schmidt [Wed, 22 Jul 2015 15:30:47 +0000 (17:30 +0200)]
Revert "Eolian: fix eolian helper for windows."

This reverts commit 60b473d949c2582695a0ed7e67dc2e2c32eeee1b.

It breaks our mingw cross build setup we are using on jenkins. In summary it
silently fails to use eolian_gen.exe while it should use the linux native
eolian_gen and thus does not generate the c and h files from the eo ones.

See the ml for details or look at the error here:
https://build.enlightenment.org/job/changely_efl_mingw_x86_64/2115/console

9 years agoevas polygon: Eolian doc conversion of polygon.
Srivardhan Hebbar [Wed, 22 Jul 2015 09:41:39 +0000 (10:41 +0100)]
evas polygon: Eolian doc conversion of polygon.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoevas object: Eolion doc conversion of object_smart.
Srivardhan Hebbar [Wed, 22 Jul 2015 09:38:59 +0000 (10:38 +0100)]
evas object: Eolion doc conversion of object_smart.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoUse eina_environment_tmp_get()
Vincent Torri [Wed, 22 Jul 2015 05:31:26 +0000 (07:31 +0200)]
Use eina_environment_tmp_get()

9 years agoEcore: lower log level
Vincent Torri [Wed, 22 Jul 2015 05:28:29 +0000 (07:28 +0200)]
Ecore: lower log level

On Windows, this insanely fills a temporary file, reaching
gigabytes

9 years agoEina: use Eina API in documentation
Vincent Torri [Wed, 22 Jul 2015 03:18:19 +0000 (05:18 +0200)]
Eina: use Eina API in documentation

9 years agoEfreet: use eina_file_mkstemp() instead of mkstemp in efreetd.c
Vincent Torri [Wed, 22 Jul 2015 03:44:50 +0000 (05:44 +0200)]
Efreet: use eina_file_mkstemp() instead of mkstemp in efreetd.c

9 years agoecore-x: send last event time along with generic Ecore_X_Event_Client_Message
Mike Blumenkrantz [Tue, 21 Jul 2015 22:08:16 +0000 (18:08 -0400)]
ecore-x: send last event time along with generic Ecore_X_Event_Client_Message

this won't necessarily be the same time that the client sent the message,
but at least it will provide a better reference point than 0

9 years agoevas_canvas3d_scene: fix missing color initializer
Daniel Kolesa [Tue, 21 Jul 2015 13:46:25 +0000 (14:46 +0100)]
evas_canvas3d_scene: fix missing color initializer

9 years agoevas_object_vg: fix missing initializer warning
Daniel Kolesa [Tue, 21 Jul 2015 13:44:38 +0000 (14:44 +0100)]
evas_object_vg: fix missing initializer warning

9 years agoevas: fix missing render2_walk initializers
Daniel Kolesa [Tue, 21 Jul 2015 12:54:23 +0000 (13:54 +0100)]
evas: fix missing render2_walk initializers

This caused annoying compiler warnings that are gone now.

@fix

9 years agoevas textgrid: Eolian doc conversion of Textgrid.Pallelt.
Srivardhan Hebbar [Tue, 21 Jul 2015 10:57:53 +0000 (11:57 +0100)]
evas textgrid: Eolian doc conversion of Textgrid.Pallelt.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoevas box: Eolian doc conversion of box.
Srivardhan Hebbar [Tue, 21 Jul 2015 09:23:41 +0000 (10:23 +0100)]
evas box: Eolian doc conversion of box.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: tasn, q66

Subscribers: cedric

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

9 years agorelease: Update NEWS and bump version for 1.15.0-beta2 release v1.15.0-beta2
Daniel Juyung Seo [Mon, 20 Jul 2015 23:09:31 +0000 (08:09 +0900)]
release: Update NEWS and bump version for 1.15.0-beta2 release

9 years agoevas canvas3d: Eolian doc conversion of canvas3d_primitive.
Srivardhan Hebbar [Mon, 20 Jul 2015 12:25:27 +0000 (13:25 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_primitive.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoevas canvas3d: Eolian doc conversion of canvas3d_node.
Srivardhan Hebbar [Mon, 20 Jul 2015 10:53:56 +0000 (11:53 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_node.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoevas canvas: Eolian doc conversion of efl_vg_base.
Srivardhan Hebbar [Fri, 17 Jul 2015 13:54:57 +0000 (14:54 +0100)]
evas canvas: Eolian doc conversion of efl_vg_base.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoevas canvas3d: Eolian doc conversion of canvas3d_object.
Srivardhan Hebbar [Fri, 17 Jul 2015 13:25:48 +0000 (14:25 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_object.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoevas canvas3d: Eolian doc conversion of canvas3d_camera.
Srivardhan Hebbar [Fri, 17 Jul 2015 12:11:01 +0000 (13:11 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_camera.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoEvas GL: Some documentation on sync objects
Jean-Philippe Andre [Fri, 17 Jul 2015 04:47:30 +0000 (13:47 +0900)]
Evas GL: Some documentation on sync objects

9 years agoEvas GL: Deprecate API evasglCreateImage
Jean-Philippe Andre [Fri, 17 Jul 2015 02:50:21 +0000 (11:50 +0900)]
Evas GL: Deprecate API evasglCreateImage

Despite its ugly name, evasglCreateImageForContext should be used
instead, as it's a proper API with evasgl and ctx passed in as
arguments.

9 years agoEvas GL: Fix sync, wlbuffer and image egl ext functions
Jean-Philippe Andre [Thu, 16 Jul 2015 13:25:36 +0000 (22:25 +0900)]
Evas GL: Fix sync, wlbuffer and image egl ext functions

Before this patch, those EGL/EvasGL functions can not work
without a current context. But EGL does not require any
current context for those to work, or at least, this should
be left to the driver to decide.

Evas GL was only able to get a pointer to the display
if a context was current.

The display pointer should be infered from Evas_GL unless
we can find a current display. EGL does not require a
context to be current in most of these function calls.

This should bring evasgl a little bit closer to EGL in terms
of behaviour (those are EGL-only extensions, btw).

Thanks @spacegrapher for the quick review

@fix

9 years agoevas_image : fix unloads cleanup logic
Hosang Kim [Thu, 16 Jul 2015 11:07:39 +0000 (20:07 +0900)]
evas_image : fix unloads cleanup logic

Summary:
Now Evas gl preload feature is disabled.
But if it is turned on, memory crash occurs.
Because evas_gl_common_texture_upload is not excuted immediately.

Test Plan: EVAS_GL_PRELOAD=1 ELM_ENGINE=gl elementary_test -to "photocam"

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

Subscribers: jpeg, cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoEctore: And more build fixes for @mythri! :)
Jean-Philippe Andre [Thu, 16 Jul 2015 11:02:47 +0000 (20:02 +0900)]
Ectore: And more build fixes for @mythri! :)

9 years agoEvas filters: Fix color value for invisible
Jean-Philippe Andre [Tue, 14 Jul 2015 04:49:51 +0000 (13:49 +0900)]
Evas filters: Fix color value for invisible

Since the filters default to alpha = 255 the actual value of
invisible / transparent was black.

9 years agoEvas GL: Fix glClear(0,0,0,0) with DR and COPY
Jean-Philippe Andre [Fri, 10 Jul 2015 03:37:27 +0000 (12:37 +0900)]
Evas GL: Fix glClear(0,0,0,0) with DR and COPY

When glClear is called in direct rendering move (DR), we usually
have to skip the call altogether because clearing out transparency
would erase the pixels in the evas backbuffer. This means Evas
would not be able to blend an RGBA GLView on top of other objects.

But COPY mode should allow Evas GL to poke holes in a window
backbuffer.

Thanks @spacegrapher for the review :)

NOTE: Elm GLView also needs to pass the render op to its Evas.Image.

@fix

9 years agoEvas GL: Fix internal function pointer
Jean-Philippe Andre [Mon, 13 Jul 2015 07:04:45 +0000 (16:04 +0900)]
Evas GL: Fix internal function pointer

evas_gl_native_context_get is an internal function
passed around from an evas engine to evas_gl so that we can
implement evasglCreateImageForContext without exposing
any evas engine internal structure to evas_gl.

It's all a ittle bit ugly but the previous solution with
dlsym(DEFAULT) didn't work.

9 years agoeina_module: Raise dlopen() error messages to WRN when file exists
Jean-Philippe Andre [Mon, 13 Jul 2015 05:08:08 +0000 (14:08 +0900)]
eina_module: Raise dlopen() error messages to WRN when file exists

Failing to load a module that does not exist is indeed not an error,
but failing to load a module that exists on disk happened probably
because of an error like "symbol not found".

Considering eina_module is most likely used by EFL itself, I believe
an internal linking failure is a warning worth reporting.

9 years agoEvas GL: Fix evasglImageDestroy() from non-evasgl threads
Jean-Philippe Andre [Mon, 13 Jul 2015 04:51:10 +0000 (13:51 +0900)]
Evas GL: Fix evasglImageDestroy() from non-evasgl threads

If the TLS variable was not initialized, Evas GL can't get a pointer
to a valid EGLDisplay which is required by eglImageDestroy.

So, we keep track of the dpy used at creation time and use that
if we're in another thread.

9 years agoEctor: Another build fix for @mythri
Jean-Philippe Andre [Thu, 16 Jul 2015 10:35:48 +0000 (19:35 +0900)]
Ector: Another build fix for @mythri

9 years agoevas canvas3d: Eolian doc conversion of canvas3d_light.
Srivardhan Hebbar [Thu, 16 Jul 2015 10:16:45 +0000 (11:16 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_light.

Summary:
Apart from evas_canvas3d_node_look_at_set() all other things are referenced.
Tried to reference it to @Evas.Canvas3D.Node.look_at_set(). But getting error.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoEctor: Fix potential build errors with double typedef
Jean-Philippe Andre [Thu, 16 Jul 2015 02:39:38 +0000 (11:39 +0900)]
Ector: Fix potential build errors with double typedef

Depending on the compiler and its version, having twice a
typedef on the same name may lead to a build failure.

Thanks @mythri for the report.

9 years agoimage_savers/jpeg: actually properly fixed the jump
Daniel Kolesa [Thu, 16 Jul 2015 09:14:44 +0000 (10:14 +0100)]
image_savers/jpeg: actually properly fixed the jump

9 years agoEcore evas: Correct function name in magic failure.
Tom Hacohen [Thu, 16 Jul 2015 08:34:16 +0000 (09:34 +0100)]
Ecore evas: Correct function name in magic failure.

Why this is done like this, and not just with __func__ in the macro is
beyond me.

Thanks to Vincent Torri for pointing this out.

@fix

9 years agoEolian: fix eolian helper for windows.
Tom Hacohen [Thu, 16 Jul 2015 08:27:40 +0000 (09:27 +0100)]
Eolian: fix eolian helper for windows.

Based on an Elementary patch by Vincent Torri.

@fix

9 years agoRevert "image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp"
Carsten Haitzler (Rasterman) [Thu, 16 Jul 2015 02:13:29 +0000 (11:13 +0900)]
Revert "image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp"

This reverts commit 5beb47aa4d65d0be9d75550511dd184e9e69b4d8.

Revert "image_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf"

This reverts commit 84c7751e195ea29efffbe55eaa732e739402a04a.

these end up with efl simply not compiling. efl tree does not build at
all now and this warrants a revert.

lib/evas/.libs/libevas.so: undefined reference to sigjmp'
collect2: error: ld returned 1 exit status
Makefile:19321: recipe for target 'bin/evas/evas_cserve2' failed
.. etc.

9 years agoimage_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp
Daniel Kolesa [Wed, 15 Jul 2015 19:05:23 +0000 (20:05 +0100)]
image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp

9 years agoimage_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf
Daniel Kolesa [Wed, 15 Jul 2015 15:24:27 +0000 (16:24 +0100)]
image_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf

@fix

9 years agogl_generic: fix unintended behavior (we want to assign the value we point to)
Daniel Kolesa [Wed, 15 Jul 2015 15:08:04 +0000 (16:08 +0100)]
gl_generic: fix unintended behavior (we want to assign the value we point to)

9 years agoevas_object_image: fix wrong type assignment warning
Daniel Kolesa [Wed, 15 Jul 2015 15:06:32 +0000 (16:06 +0100)]
evas_object_image: fix wrong type assignment warning

9 years agoeolian: do not use an invalid pointer after updating buffer
Daniel Kolesa [Wed, 15 Jul 2015 14:32:53 +0000 (15:32 +0100)]
eolian: do not use an invalid pointer after updating buffer

Replacing decimal point in buffer resulted in invalidation of the original
string pointer. On Linux, this issue was for some reason not caught, but
it was wrong anyway. Use the updated string correctly now.

@fix

9 years agoautotools: do NOT need --enable-i-really- for disabled libeeze on non-linux
Daniel Kolesa [Wed, 15 Jul 2015 13:16:24 +0000 (14:16 +0100)]
autotools: do NOT need --enable-i-really- for disabled libeeze on non-linux

9 years agoefl.interfaces: Doc conversion of efl_gfx_fill.eo
Srivardhan Hebbar [Wed, 15 Jul 2015 12:47:46 +0000 (13:47 +0100)]
efl.interfaces: Doc conversion of efl_gfx_fill.eo

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoEvas: Fix no_render flag when in a map
Jean-Philippe Andre [Wed, 15 Jul 2015 08:51:18 +0000 (17:51 +0900)]
Evas: Fix no_render flag when in a map

no_render objects would still show up in a map surface
because of a different logic.

9 years agoEvas masking: Fix rendering of masks that belong to a proxied smart object
Jean-Philippe Andre [Wed, 15 Jul 2015 07:41:59 +0000 (16:41 +0900)]
Evas masking: Fix rendering of masks that belong to a proxied smart object

This is a complex situation:
- Smart object A contains image I
- A is proxied into an image B
- B is marked as source_invisible, which means A is invisible
- Mask M is applied to image I
- Mask M is ALSO a smart child of A
Because of all that, mask M could not be rendered into its private
mask surface, as it was falling under the case of "parent_src_invisible".

This patch checks that the object is not a mask during the
parent_src_invisible check.

@fix

9 years agoEvas filters: Fix parsing of curve() with a function
Jean-Philippe Andre [Wed, 15 Jul 2015 05:09:49 +0000 (14:09 +0900)]
Evas filters: Fix parsing of curve() with a function

If the points argument was a function, there was a Lua call
stack error, making the filter fail.

9 years agoThe default return value of edje_object_base_scale_get API is 1.0.
ChunEon Park [Wed, 15 Jul 2015 03:22:41 +0000 (12:22 +0900)]
The default return value of edje_object_base_scale_get API is 1.0.
The return value is used for divisor in many case.
If it return 0.0 when it fail, it can break app with div by zero.

@fix

Signed-Off-By: YoungBok Shin(id213sin) (youngb.shin@samsung.com)
9 years agoecore-wl: Reset input keyboard repeat values when we cancel the timer
Chris Michael [Tue, 14 Jul 2015 18:33:41 +0000 (14:33 -0400)]
ecore-wl: Reset input keyboard repeat values when we cancel the timer

Summary: If we end up cancelling the keyboard repeat timer due to no
focused surface, we should also reset the input repeat values.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wl: Don't renew keyboard-repeat timer if we have no focused surface
Chris Michael [Tue, 14 Jul 2015 18:31:15 +0000 (14:31 -0400)]
ecore-wl: Don't renew keyboard-repeat timer if we have no focused surface

Summary: During the keyboard repeat function, if we have no keyboard
focused window to send the key to, then we should cancel the repeat
timer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wl: Reset ecore_wl_input repeat values on keyboard leave
Chris Michael [Tue, 14 Jul 2015 18:28:14 +0000 (14:28 -0400)]
ecore-wl: Reset ecore_wl_input repeat values on keyboard leave

Summary: As we delete any keyboard repeat timers when we get a
keyboard leave event, we should also reset any stored values there
(key, sym, time, etc).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wl: Reset input's pointer & keyboard focus on events
Chris Michael [Tue, 14 Jul 2015 18:22:42 +0000 (14:22 -0400)]
ecore-wl: Reset input's pointer & keyboard focus on events

Summary: If we get pointer or keyboard leave events, then reset the
Ecore_Wl_Input's idea of focus (eg: set input->pointer_focus and
input->keyboard_focus fields to NULL) just in case we cannot find a
window for this surface.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian/generator: generate @ingroup in doc comments properly
Daniel Kolesa [Tue, 14 Jul 2015 13:30:41 +0000 (14:30 +0100)]
eolian/generator: generate @ingroup in doc comments properly

9 years agoEvas textblock: Clear unused paragraphs
Daniel Hirt [Tue, 14 Jul 2015 11:44:38 +0000 (14:44 +0300)]
Evas textblock: Clear unused paragraphs

This fixes a scenario in which paragraphs in the current layout still
store visual lines from the previous layout. This is possible if the
text uses an ellipsis format, allowing the layout work to stop at a
certain paragraph. This inconsistency affects some query functions that
consider lines which may be irrelevant in the current layout.

Test Case: see added test case to evas_suite.

@fix

9 years agoefl.interfaces: Doc conversion of efl_file.eo
Srivardhan Hebbar [Tue, 14 Jul 2015 12:10:19 +0000 (13:10 +0100)]
efl.interfaces: Doc conversion of efl_file.eo

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, tasn, q66

Reviewed By: q66

Subscribers: cedric

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