Commit Graph

31324 Commits

Author SHA1 Message Date
Ji-Youn Park be2a4342b4 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,
2015-07-29 21:56:15 +09:00
Daniel Kolesa 56a5ef9d86 eina str: remove useless and wrong ifdef for FreeBSD 2015-07-29 12:35:33 +01:00
Jean-Philippe Andre b8a2a9b3c0 Evas filters: Fix make doc, check when EFL is not installed
Thanks @aerodynamik for even giving the proper environment
variable to set :)

Fixes T2614
2015-07-29 20:22:35 +09:00
Oleksandr Shcherbina 1f758ad96d 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>
2015-07-28 22:33:52 +02:00
Chris Michael 7745189b0a 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>
2015-07-28 15:28:17 -04:00
Chris Michael ac9b5a0afc 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>
2015-07-28 12:53:20 -04:00
Chris Michael 1c19649acd 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>
2015-07-28 09:43:16 -04:00
Derek Foreman d68c382105 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
2015-07-28 09:19:12 -04:00
Derek Foreman 0b284d0914 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
2015-07-28 09:19:07 -04:00
Derek Foreman f2caeff9c2 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
2015-07-28 09:18:59 -04:00
Jean-Philippe Andre a1a1a93175 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.
2015-07-28 17:13:52 +09:00
Jean-Philippe Andre fbd0a51607 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
2015-07-28 17:13:52 +09:00
Jean-Philippe Andre 0058cd08f4 Evas filters: Fix COW usage in filter mixin 2015-07-28 17:13:52 +09:00
Jean-Philippe Andre f9c7d25b08 Evas filters: Disable debug code path 2015-07-28 17:13:52 +09:00
Jean-Philippe Andre 284cd2a530 Evas filters: Fix invalid rendering in case of async render
This simplifies the code and fixes async buffer management.

@fix
2015-07-28 17:13:52 +09:00
Stefan Schmidt 20045ec0e1 examples: Update .gitignore for binaries 2015-07-28 08:32:47 +02:00
Cedric BAIL 94d9981d8c ecore_con_eet: fix dereferencing of object during callback that crashed some tests case. 2015-07-28 03:05:37 +02:00
Cedric BAIL 1d27699bc6 ecore_con: fix test to actually send a NULL terminated string. 2015-07-28 03:05:37 +02:00
Ivan Furs 004f2b49a9 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>
2015-07-28 03:05:37 +02:00
Thiep Ha 88b2bfe435 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>
2015-07-28 03:05:37 +02:00
Vivek Ellur f3768834c5 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>
2015-07-28 03:05:37 +02:00
Vivek Ellur df50704764 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>
2015-07-28 03:05:37 +02:00
Vivek Ellur 309962ed8f 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>
2015-07-28 03:05:37 +02:00
jiin.moon 29bcec0669 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>
2015-07-28 03:05:37 +02:00
Seunghun Lee 3adb6127ff 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>
2015-07-28 03:05:37 +02:00
Chris Michael 43ddf5b69d 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>
2015-07-27 15:53:02 -04:00
Daniel Juyung Seo af46bc4999 release: Update NEWS and bump version for 1.15.0-beta3 release 2015-07-28 01:20:50 +09:00
Jean-Philippe Andre c45ae022c8 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
2015-07-27 14:15:09 +09:00
Carsten Haitzler 17823d21ea 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.
2015-07-26 03:02:06 +09:00
Carsten Haitzler ec59636da4 evas - render2 - ensure region files are in dist 2015-07-25 22:34:17 +09:00
Stefan Schmidt 3b91d33da2 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
2015-07-24 19:01:10 +02:00
Carsten Haitzler 5b1e3b3a89 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.
2015-07-24 23:21:55 +09:00
Carsten Haitzler 65ebf496fd 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).
2015-07-24 22:11:40 +09:00
Carsten Haitzler e0c81ed35f 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
2015-07-24 22:11:40 +09:00
Srivardhan Hebbar 3e54602209 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
2015-07-24 13:40:30 +01:00
Chris Michael 79b33928fa 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>
2015-07-23 11:54:24 -04:00
Vincent Torri 3d531fba1e Ecore_Win32: do not allocate data as it is useless. Fix memory leak.
@fix
2015-07-23 16:51:06 +01:00
Stefan Schmidt b7c20a9ee3 examples/emotion: Remove unused callback functions from generic example 2015-07-23 17:19:24 +02:00
Stefan Schmidt 4666d805f7 examples/ecore_con: Mark some unused parameters as such 2015-07-23 17:18:04 +02:00
Stefan Schmidt 4ab46f0d1f 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.
2015-07-23 17:11:23 +02:00
Stefan Schmidt 02a3ace1ae examples/evas/shooter: Add double include guards to header file. 2015-07-23 17:03:27 +02:00
Stefan Schmidt 7632995c94 examples/evas/shooter: Remove more unused variables. 2015-07-23 16:48:21 +02:00
Stefan Schmidt 47a4bd53e0 examples/evas/shooter: Remove unused variable
The column.ply does not even exist. Might have been removed and this part
forgotten.
2015-07-23 16:45:06 +02:00
Vincent Torri 0ccd43615f Ecore_Evas GDI engine: free module data 2015-07-23 14:05:33 +01:00
Vincent Torri 07af170bd8 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
2015-07-23 14:05:33 +01:00
Jean-Philippe Andre ff6dbb17e3 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.
2015-07-23 20:17:39 +09:00
Stefan Schmidt c78b466139 eina: Add since 1.15 tag for environment*get API additions 2015-07-23 12:19:14 +02:00
Stefan Schmidt 770f93e7d8 eina: Add since 1.15 tag for quaternion API additions 2015-07-23 12:19:14 +02:00
Stefan Schmidt 45087f0699 eina_evlog: Remove trailing whitespaces while looking at this file. 2015-07-23 12:19:14 +02:00
Stefan Schmidt b4a85c72d8 eina: Add since 1.15 tag for evlog API additions 2015-07-23 12:19:13 +02:00