platform/upstream/efl.git
9 years agoecore-evas-wayland: Remove call to ecore_wl_window_update_location
Chris Michael [Thu, 30 Jul 2015 19:17:57 +0000 (15:17 -0400)]
ecore-evas-wayland: Remove call to ecore_wl_window_update_location

Summary: This function should really not be called here as it triggers
an xdg_surface_set_window_geometry call which (in turn) should only be
getting called when the window geometry (meaning visible region)
itself has changed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Set wl_display field inside the Shm_Surface structure
Chris Michael [Thu, 30 Jul 2015 19:11:09 +0000 (15:11 -0400)]
evas-wayland-shm: Set wl_display field inside the Shm_Surface structure

Summary: As we need access to the wl_display in order to dispatch
events on the queue while we wait for free buffers, pass it in to the
surface creation function and set it in the Shm_Surface structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Pass along the wl_display parameter to the surface creation function
Chris Michael [Thu, 30 Jul 2015 19:10:49 +0000 (15:10 -0400)]
evas-wayland-shm: Pass along the wl_display parameter to the surface creation function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Modify existing engine functions to take a wl_display parameter
Chris Michael [Thu, 30 Jul 2015 19:09:55 +0000 (15:09 -0400)]
evas-wayland-shm: Modify existing engine functions to take a wl_display parameter

Summary: These functions need to have an additional wl_display
parameter so that we can set the field inside the Surface structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Provide wl_display to the surface structure
Chris Michael [Thu, 30 Jul 2015 19:09:02 +0000 (15:09 -0400)]
evas-wayland-shm: Provide wl_display to the surface structure

Summary: In order to fix an existing rendering issue, we need access
to the wl_display so that we can dispatch events on the que while we
wait for a free buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-wayland: Set wl_display in the evas engine structure
Chris Michael [Thu, 30 Jul 2015 18:37:58 +0000 (14:37 -0400)]
ecore-evas-wayland: Set wl_display in the evas engine structure

Summary: This sets the wl_display field of the Evas engine info
structure so that the wl_display can later be used for dispatching
queue while we await a free buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Provide wl_display field in engine info structure
Chris Michael [Thu, 30 Jul 2015 18:37:10 +0000 (14:37 -0400)]
evas-wayland-shm: Provide wl_display field in engine info structure

Summary: This just adds a field so we have some place to store the
wl_display for use in the evas wayland engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: If no depth is specified during reconfigure, use existing depth
Chris Michael [Thu, 30 Jul 2015 17:53:10 +0000 (13:53 -0400)]
evas-wayland-shm: If no depth is specified during reconfigure, use existing depth

Summary: This fixes a crash which Could occur if no outbuf depth was
given during a call to reconfigure.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowayland-shm: Introduce buffer ages
Derek Foreman [Thu, 30 Jul 2015 15:45:38 +0000 (11:45 -0400)]
wayland-shm: Introduce buffer ages

Summary:
We now track each shm buffer's time since last draw so evas can tell
what it needs to re-render.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland-shm: Assign buffers in the swap_mode callback
Derek Foreman [Thu, 30 Jul 2015 15:45:32 +0000 (11:45 -0400)]
wayland-shm: Assign buffers in the swap_mode callback

Summary:
This is when we're about to start a new render, so it's the best
time to set up the next buffer to draw to.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland-shm: rename _evas_outbuf_swapmode_get() to _evas_outbuf_swap_mode_get()
Derek Foreman [Thu, 30 Jul 2015 15:45:26 +0000 (11:45 -0400)]
wayland-shm: rename _evas_outbuf_swapmode_get() to _evas_outbuf_swap_mode_get()

Summary: Everyone else calls it swap_mode, let's be trendy.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland-shm: Remove curr_buff from Shm_Surface
Derek Foreman [Thu, 30 Jul 2015 15:45:17 +0000 (11:45 -0400)]
wayland-shm: Remove curr_buff from Shm_Surface

Summary:
We already have *current, but we're not using it properly.  Let's throw
out curr_buff and just use *current.

This temporarily makes swapmode_get do full renders, this will be
fixed in a future commit that adds proper buffer ages.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland-shm: refactor _evas_shm_surface_data_get()
Derek Foreman [Thu, 30 Jul 2015 15:45:05 +0000 (11:45 -0400)]
wayland-shm: refactor _evas_shm_surface_data_get()

Summary:
Split out the buffer picking stuff because we're going to want to call
it from somewhere else.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland-shm: Use MAX_BUFFERS macro instead of magic 4
Derek Foreman [Thu, 30 Jul 2015 15:44:57 +0000 (11:44 -0400)]
wayland-shm: Use MAX_BUFFERS macro instead of magic 4

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland-shm: rename _evas_shm_surface_redraw() to _evas_shm_surface_post()
Derek Foreman [Thu, 30 Jul 2015 15:44:49 +0000 (11:44 -0400)]
wayland-shm: rename _evas_shm_surface_redraw() to _evas_shm_surface_post()

Summary:
It doesn't redraw anything, it posts a buffer full of data to the
compositor.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland-shm: remove _evas_shm_surface_swap()
Derek Foreman [Thu, 30 Jul 2015 15:44:39 +0000 (11:44 -0400)]
wayland-shm: remove _evas_shm_surface_swap()

Summary: It no longer does anything useful

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoeolian/generator: actually overrun-safe buffer fill
Daniel Kolesa [Thu, 30 Jul 2015 12:59:16 +0000 (13:59 +0100)]
eolian/generator: actually overrun-safe buffer fill

9 years agoeolian/generator: no point in creating tmp_env, it's not used
Daniel Kolesa [Thu, 30 Jul 2015 12:50:46 +0000 (13:50 +0100)]
eolian/generator: no point in creating tmp_env, it's not used

9 years agolicenses: fix and generalize copyright information
Daniel Kolesa [Thu, 30 Jul 2015 12:38:14 +0000 (13:38 +0100)]
licenses: fix and generalize copyright information

9 years agoeolian/common_funcs: Play safe and use strncpy
Stefan Schmidt [Thu, 30 Jul 2015 12:21:55 +0000 (14:21 +0200)]
eolian/common_funcs: Play safe and use strncpy

Not very likely but better play safe and make sure we don not overrun
our destination buffer here.

CID: 1311352

9 years agoevas textblock: convert docs
Daniel Kolesa [Thu, 30 Jul 2015 12:16:05 +0000 (13:16 +0100)]
evas textblock: convert docs

9 years agoevas_common_interface: remove bad doc comment
Daniel Kolesa [Thu, 30 Jul 2015 12:01:29 +0000 (13:01 +0100)]
evas_common_interface: remove bad doc comment

9 years agoevas canvas3d: doc conversion of mesh
Daniel Kolesa [Thu, 30 Jul 2015 12:00:25 +0000 (13:00 +0100)]
evas canvas3d: doc conversion of mesh

9 years agoevas canvas3d: doc conversion of scene
Daniel Kolesa [Thu, 30 Jul 2015 11:38:51 +0000 (12:38 +0100)]
evas canvas3d: doc conversion of scene

9 years agoevas canvas3d: doc conversion of texture
Daniel Kolesa [Thu, 30 Jul 2015 11:30:40 +0000 (12:30 +0100)]
evas canvas3d: doc conversion of texture

9 years agogl_common/evas_gl_3d: Assign attenuation values correctly.
Stefan Schmidt [Thu, 30 Jul 2015 10:47:47 +0000 (12:47 +0200)]
gl_common/evas_gl_3d: Assign attenuation values correctly.

This really looks like a copy and paste error to me. The assigned const and
linear value would always be overridden by quad.

CID: 1267462, 1267460

9 years agocopying: add license information
Daniel Kolesa [Thu, 30 Jul 2015 09:55:29 +0000 (10:55 +0100)]
copying: add license information

9 years agoevas/gl_drm: Fix compilation with mesa 10.6.3 on Debian
Jean-Philippe Andre [Thu, 30 Jul 2015 05:41:48 +0000 (14:41 +0900)]
evas/gl_drm: Fix compilation with mesa 10.6.3 on Debian

Thanks @aerodynamik for the report.

Fixes T2616

9 years agoevas engine: add null point exception.
Jaehwan Kim [Thu, 30 Jul 2015 02:08:39 +0000 (11:08 +0900)]
evas engine: add null point exception.

Sometimes the data parameter can be null.
It makes a segment fault.
test: evas_new > add method_output as buffer > evas_free

@fix

9 years agoecore_evas_x: make gl_sync_draw_done an explicit signed char type
Dongyeon Kim [Thu, 30 Jul 2015 01:14:14 +0000 (10:14 +0900)]
ecore_evas_x: make gl_sync_draw_done an explicit signed char type

Summary:
char type is interpreted as unsigned char in some implementations,
so setting -1 will be read as 255.
So we should explicitly make this a signed char type.
@fix

Test Plan: Local tests

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: wonsik, cedric

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

9 years agoecore-evas-x: resize window when it is rotated by window manager.
Seunghun Lee [Wed, 29 Jul 2015 15:14:11 +0000 (11:14 -0400)]
ecore-evas-x: resize window when it is rotated by window manager.

Summary:
window manager can send arguments and its meaning as follows.

1) resize:0
it means client window doesn't need to resize its window by rotation.
this case is a ELM_WIN_BASIC window in mobile profile.

2) resize:1, ee->w != w, ee->h != h (deprecated)
it means client window should be resized by rotation, and wm already resize its window.
so, client don't need to resize its window.
it's just for backward compatibility.

3) resize:1, ee->w == w, ee->h == h (addition)
it means client window should be resized by rotation, and wm don't resize it.
so, client should resize its window.

Test Plan: N/A

Reviewers: gwanglim, raster, jypark, devilhorns

Subscribers: cedric

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

9 years agoNEWS: Small manual tweaks
Stefan Schmidt [Wed, 29 Jul 2015 15:00:54 +0000 (17:00 +0200)]
NEWS: Small manual tweaks

Most notably removed a merge commit and a commit stating to take EO out of
beta which is not happening for 1.15.

9 years agoecore_evas_input: add value to enable mouse button cancel feature
Ji-Youn Park [Wed, 29 Jul 2015 12:56:15 +0000 (21:56 +0900)]
ecore_evas_input: add value to enable mouse button cancel feature

mike reported this feature break the behavior in E19, but I have trouble to reproduce it.
so I first add value to enable this feature and after that,

9 years agoeina str: remove useless and wrong ifdef for FreeBSD
Daniel Kolesa [Wed, 29 Jul 2015 11:34:14 +0000 (12:34 +0100)]
eina str: remove useless and wrong ifdef for FreeBSD

9 years agoEvas filters: Fix make doc, check when EFL is not installed
Jean-Philippe Andre [Wed, 29 Jul 2015 11:00:35 +0000 (20:00 +0900)]
Evas filters: Fix make doc, check when EFL is not installed

Thanks @aerodynamik for even giving the proper environment
variable to set :)

Fixes T2614

9 years agoevas: fix size of borders in case need generate texture without atlases
Oleksandr Shcherbina [Tue, 28 Jul 2015 20:33:49 +0000 (22:33 +0200)]
evas: fix size of borders in case need generate texture without atlases

Summary:
Set size of texture unit without 2 pixels for borders in case use it without
atlses. Just one case if texture for 3D use repeat mode and non-normalized
tuxture coordinates

Reviewers: Hermet, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-evas-wayland-shm: Remove duplicated code on configure event
Chris Michael [Tue, 28 Jul 2015 19:12:17 +0000 (15:12 -0400)]
ecore-evas-wayland-shm: Remove duplicated code on configure event

Summary: As we end up calling ecore_evas_wl_common_resize anyway,
there is no need for all these size calculations in the configure
callback. The resize function will deal with this anyway.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoefl: Bump required wayland library versions
Chris Michael [Tue, 28 Jul 2015 16:53:20 +0000 (12:53 -0400)]
efl: Bump required wayland library versions

Summary: As a lot of functionality has changed in the relevant efl/e
wayland codebase, we should bump the required wayland library versions
as we are now dependant on updated wayland libraries.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Fix issue of surface_swap spamming invalid warning
Chris Michael [Tue, 28 Jul 2015 13:43:16 +0000 (09:43 -0400)]
evas-wayland-shm: Fix issue of surface_swap spamming invalid warning

Summary: Since the surface_swap functionality is changed now, we no
longer need to bother checking if the leaf is busy as we don't use the
leaf itself inside this function anymore.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowayland-shm: Remove "mapped"
Derek Foreman [Tue, 28 Jul 2015 13:16:04 +0000 (09:16 -0400)]
wayland-shm: Remove "mapped"

Summary:
Looks like the recent changes to swap/redraw have fixed a problem with
damage tracking and we no longer need this.

Damage history seems ok without it now.

@fix

Reviewers: zmike, devilhorns

Subscribers: cedric

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

9 years agowayland-shm: re-organize some of the swap/redraw logic
Derek Foreman [Tue, 28 Jul 2015 13:14:31 +0000 (09:14 -0400)]
wayland-shm: re-organize some of the swap/redraw logic

Summary:
The way things were, we'd be committing a buffer we hadn't rendered to
yet.

Now redraw() contains all the attach/damage/commit logic, and swap() is
called afterwards to set up a new target buffer for the next render.

@fix

Reviewers: zmike, devilhorns

Subscribers: cedric

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

9 years agowayland_shm: Don't store frame_cb
Derek Foreman [Tue, 28 Jul 2015 13:13:16 +0000 (09:13 -0400)]
wayland_shm: Don't store frame_cb

Summary:
We don't need to - all the frame callback does for us is ensure a queue
push.

We should destroy any callback we receive when we receive it.

@fix

Reviewers: zmike, devilhorns

Subscribers: cedric

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

9 years agoEcore: Fix invalid lock count if DEBUG is enabled
Jean-Philippe Andre [Tue, 28 Jul 2015 06:49:47 +0000 (15:49 +0900)]
Ecore: Fix invalid lock count if DEBUG is enabled

With -DDEBUG, we can see an error message, like:
ERR: You are calling _ecore_lock() from outside of the main loop
     threads in lib/ecore/ecore_private at line 306

Looking at the code shows that ecore_lock fails immediately if
thread debugging is enabled, but ecore_unlock does not, so the
value _ecore_main_lock_count could go below 0.

This is not very important as the value is never used.

9 years agoEvas filters: Fix order of header file includes
Jean-Philippe Andre [Tue, 28 Jul 2015 06:13:59 +0000 (15:13 +0900)]
Evas filters: Fix order of header file includes

This fixes filters on Ubuntu 32 bits.

This was one hell of a weird bug to track down. Everything worked
like a charm on my 64 bit machines, but filters would simply fail
for no good reason: a safety check sees a NULL pointer when clearly
it was properly allocated.

Just after entering a function, the content of an RGBA_Image would
change, even though there was no memory write there. This made the
image data pointer NULL, and filters would fail miserably.

So I printed out the contents of the RGBA_Image, they changed. But
the memory itself had not changed. The size of the struct itself
had changed when jumping from one file to another! But its definition
had not! Non-sense!

Unless of course a system header file was included before config.h
and ino_t or off_t would switch between 32 and 64 bits...

@fix

9 years agoEvas filters: Fix COW usage in filter mixin
Jean-Philippe Andre [Tue, 28 Jul 2015 05:17:53 +0000 (14:17 +0900)]
Evas filters: Fix COW usage in filter mixin

9 years agoEvas filters: Disable debug code path
Jean-Philippe Andre [Tue, 28 Jul 2015 02:27:08 +0000 (11:27 +0900)]
Evas filters: Disable debug code path

9 years agoEvas filters: Fix invalid rendering in case of async render
Jean-Philippe Andre [Mon, 27 Jul 2015 08:20:23 +0000 (17:20 +0900)]
Evas filters: Fix invalid rendering in case of async render

This simplifies the code and fixes async buffer management.

@fix

9 years agoexamples: Update .gitignore for binaries
Stefan Schmidt [Mon, 27 Jul 2015 12:17:58 +0000 (14:17 +0200)]
examples: Update .gitignore for binaries

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