Commit Graph

29091 Commits

Author SHA1 Message Date
Vincent Torri e55a3f1af8 Eina: fix eina_file_split on Windows and update unit test
@fix

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-04-29 15:28:14 +09:00
Jean-Philippe Andre 2e6e14dd73 Edje embryo: Fix invalid check for get_state_val (text str)
@fix
2015-04-29 13:39:43 +09:00
Jaehwan Kim 8f397d559a evas_text: fix default return value.
@fix
2015-04-23 22:12:32 +09:00
Jaehwan Kim ffdd54df34 ecore_timer: fix the default return value.
When this function fails to get the interval value, it should return -1.0.
Currently, the value can be integer(-1.0 has an Error).
Maybe it should be fixed.

@fix
2015-04-23 18:36:53 +09:00
Sohyun Kim 20edf12595 Evas textblock: remove freed item from the line list
@fix
2015-04-17 09:29:36 +01:00
Jean-Philippe Andre dcde3208fc Evas GL: Fallback to indirect rendering if mul_col != 0xFFFFFFFF
@fix
2015-04-14 21:32:46 +09:00
Tom Hacohen 885058bca0 Evas object: verify the parent is valid and fail if not.
It seems like before the switch to Eo, all the object_*_add functions
had magic checks that only allowed non NULL Evas pointers to be passed.
Since we switched to Eo we apparently missed the early failure we used
to have, and we instead fail later. This patch should fix that.

Thanks to jaehwan for reporting.

@fix
2015-04-13 13:54:41 +01:00
Jaehwan Kim 11a60bd059 evas_object_box: add MAGIC_CHECK when it is added.
@fix
2015-04-13 14:25:02 +09:00
Jean-Philippe Andre 76bb86f42c Evas image: Return proper path even with mmap
Since we're using a union (u.{f,file} we can't just
return u.file when the file was set as an mmap source.

@fix
2015-04-10 16:54:34 +09:00
Dongyeon Kim 7258e0d468 Evas GL: Add missing dlopen for GLX 1.x version
Summary:
For GLX backend, we should dlopen libGL.so*
@fix

Test Plan: Evas GL 1.x test cases

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: mythri, mer.kim, wonsik, cedric

Differential Revision: https://phab.enlightenment.org/D2322
2015-04-10 16:54:28 +09:00
Dongyeon Kim e729f21f0f Evas GL: reset current surface to NULL when it is destroyed
Summary:
Hopefully this will fix some of the multiple windows issues for elm glview but not all.
@fix

Test Plan: elementary glview tests

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2317
2015-04-10 16:54:21 +09:00
Jean-Philippe Andre 2d2ad94bc0 eina: Add NULL check for eina_threadqueue_free
@fix
2015-04-10 11:35:35 +09:00
Jaeun Choi 342e6fcd53 eina: eina_unicode_utf8_next_get should return 0
when one of the parameters is NULL to avoid null pointer access.
it also corresponds to the description in doc.

@fix
2015-04-08 21:40:05 +09:00
Stefan Schmidt 99abdc5ca4 release: Update NEWS and bump version for 1.13.2 release 2015-04-01 16:34:26 +02:00
ChunEon Park a22e1a2b9f ecore_idler: + null check.
like timer, animator we do check the idler validation
and prevert crash there just in user misusage case.

@fix
2015-03-25 14:46:59 +09:00
Vincent Torri 3521cd1fc2 evil: fix access to a file mapping object
Patch from Jorge Luis Zapatta (turran), a bit modified
by me

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-24 23:14:10 +01:00
Cedric BAIL 3ab85b3106 evas: fix use after free.
Thanks to Thanatermesis for tracking this in T2135.
2015-03-24 23:11:25 +01:00
ChunEon Park bb30fb6aea evas: prevent crash.
if user delete the interceptor in the interceptor callback,
the interceptors would be NULL.
So we need to check whether it's valid or not.

@fix
2015-03-23 22:02:27 +09:00
Jaeun Choi 7319f3fee3 eina: safety check for NULL pointer
data should not be NULL. it is used as the source of memcpy.

@fix
2015-03-19 16:55:14 +09:00
Youngbok Shin e1bcd5ccae evas/clip: If the clipper is image or has color, clipped area should be redrawn.
Summary:
If the clipper is image or has color, it affects to its clipees.
Even if we unset the clipper or change the clipper to another object,
it seems the clipper is not changed.

Test Plan:
Make two clipper objects and one clipee object.
And make clip the clipee according to following example

ex) Clipee object -> inner_clipper -> clipper

evas_object_clip_set(clipee, inner_clipper);
evas_object_clip_set(inner_clipper, clipper);

After checking the result and hide inner_clipper.

evas_object_clip_set(clipee, clipper);
evas_object_hide(inner_clipper);

See the result.

Reviewers: raster, cedric, Hermet, jpeg

Subscribers: woohyun, cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>

Note: Technically we should not check the color of the fact that
      the clipper is a mask and not a simple rect. But because of
      real-life performance issues, damage_add was disabled so we're
      trying to keep the perf in most cases while being correct in
      cases where the clipper is visually important.

@fix (following hermet's advice)
2015-03-17 18:15:17 +09:00
Sung-Taek Hong f83f490e84 edje: correct order of functions
Summary:
_edje_object_part_text_raw_set() has to locate before
_edje_user_define_string().

 - _edje_user_define_string takes one of its parameters
   rp->typedata.text->text, and this is set
   by _edje_object_part_text_raw_set().

Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>

Reviewers: cedric, seoz

Subscribers: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D2118
2015-03-10 16:33:43 +09:00
Jean-Philippe Andre ed2402f168 Evas GL: Fix list of extensions with GLESv1
EGL/EvasGL extensions are also valid with GLESv1.
This means evasglCreateImage could be used.

@fix
2015-03-05 21:01:24 +09:00
ChunEon Park fec7492062 ecore/ecore_audio: fix timer control logically wrong.
@fix
2015-03-01 18:02:53 +09:00
Mike Blumenkrantz c1b26bccd4 ecore-wl fullscreen state is based on either window type or attribute
fixes fullscreen state detection when being set to fullscreen by the compositor

@fix
2015-02-27 09:50:29 -05:00
Stefan Schmidt 16e098df2d release: Update NEWS and bump version for 1.13.1 release 2015-02-26 13:26:59 +01:00
Carsten Haitzler 02cda8633e eina + ecore - fix main loop thread id tracking on fork
if you fork and even if you do ecore_fork_reset() a thread calling
ecore_main_loop_thread_safe_call_async(0 for example eill end up
resetting the mainloop thread id to itself (a non mainlopo thread) via
calling eina_main_loop_is() since pid changed. there is little point
in doing this so remove the pid tracking from eina and ensure mainloop
thread id is updated in ecore's fork reset.

@fix
2015-02-26 19:52:07 +09:00
Jean-Philippe Andre 2d3025e553 Evas GL: Fix leak of surfaces with GLES 1.1
When destroying a GLES 1.1 surface, it is necessary to also
destroy and remove the main surface from the list.

This issue probably never really showed up because people
don't:
- use GLES 1.1
- constantly create & destroy new Evas GL surfaces
- but mostly no one cares about 1.1 anymore :)

@fix
2015-02-25 15:07:25 +09:00
Minkyoung Kim 70d9ed501b Evas GL:Add evasgl extension macro '_EVASGL_EXT_DRVNAME_PRIVATE'.
Summary:
To distinguish supported extension name from not supported.
This patch can be solution to the problem, glGetString() returns non-supported extention name.

Test Plan: Local tests

Reviewers: raster, jpeg, Hermet, cedric

Subscribers: cedric, spacegrapher, wonsik

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-24 14:05:34 +09:00
mythri.venugopal 4e4e42f700 Evas GL: Fix issues in gles extensions initialisation
Summary:
Fix 1- If extension is not listed in GL_EXTENSIONS, do not try
to get the function address of the extension functions.
Fix 2- For GL_EXT_robustness, for GLESv1 version, do not try to
export glGetnUniformXXX functions.

Reviewers: jpeg

Subscribers: cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-24 14:05:29 +09:00
Mike Blumenkrantz 7e09afa5c3 ee-win32 probably might compile now
<vtorri> bad Mike !
<vtorri> the name of the function is not good, so compilation fails on Windows
<vtorri> remove 'object' in the name of the definition of the function :)

@fix
2015-02-12 16:23:07 -05:00
Stefan Schmidt b58b4f6c3f ecore/drm: Fix libinput >= 0.8 check
We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1

@fix
2015-02-12 18:39:30 +01:00
Stefan Schmidt 80d5f02276 edje_cc: Avoid segfault when strcmp NULL items
Martin reported a porblem with one of the SHR project edc files after an upgrade
to 1.13. The segfault itself is easy enough to fix here but I think there might
be other problems with the edc after this segfault is gone. We will see.

Fixes T2106
2015-02-12 18:29:26 +01:00
Chris Michael 8ba1498361 ecore-drm: Fix bad German formatting ;)
Summary: No functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 18:19:27 +01:00
Stefan Schmidt 18262f8930 ecore/drm: Add support for changed libinput API since 0.8
We check for libinput 06 or higher. In version 0.8 they got an API break
(hopefully the last one before 1.0) which we did not support so far. I have
seen libinput 0.9 used on gentoo and newer ubuntu systems so we should
definitely support them.

Adding a LIBINPUT_HIGHER_08 define to check for this. So far we have only one
location where we need it. Once there is a libinput 1.0 we should remove the
support for older versions.

http://lists.freedesktop.org/archives/wayland-devel/2015-January/019383.html
2015-02-12 18:19:27 +01:00
Mike Blumenkrantz 141c27b852 ecore-drm should not use sscanf when getting logind vt
this should be more robust for when something like "/dev/tty4" is passed

@fix
2015-02-10 16:25:50 -05:00
Jean-Philippe Andre 4ac337c0b1 Evas masking: Force BLEND mode in case of image masking (GL)
This fixes some cases where the image has no alpha and COPY mode
is used, but a mask is also applied. In that case, masking
takes precedence and BLEND mode is used.

@fix
2015-02-10 18:28:27 +09:00
Jean-Philippe Andre 6f980e7350 Evas masking: Fix potential issues with map & masking
These bugs have not been observed but the code logic did not
make sense.

@fix
2015-02-10 11:41:10 +09:00
Jean-Philippe Andre 6458b1782e Evas masking: Fix some garbage pixels with the SW engine
A rare case of garbage data would happen if smooth scaling
was called with a mask and 1:1 scaling. Use the proper
render_op to COPY for the first pass.

@fix
2015-02-10 11:41:09 +09:00
Stefan Schmidt b5d48869bc release: Update NEWS and bump version for 1.13.0 release 2015-02-09 13:12:51 +01:00
Carsten Haitzler e54af4291f evas - gl engine - pipe renderer - disabling of unused arrays for lines
@fix - this fixes disabling of unused texa and texsam arays when line
drawing - spotted in code review and bug hunting of another bug.
2015-02-10 02:30:10 +09:00
Carsten Haitzler 2ca0756ad6 evas - gl enigne - mask logic fix with texa draw arrays
this fixes a logic oops in addition of masking to evas which caused
crashes with a null texa array causing a crash in gldrawarrays
2015-02-10 02:30:10 +09:00
mythri.venugopal 48d8cdb4dd Evas GL: Fix GLES1.1 extension initialisation bug
Summary:
Extension function pointer initialisation requires glGetString(GL_EXTENSIONS).
To get GLESv1 extension string, GLESv1 context has to be bound.
Change involves updating extensions after GLESv1 context has been bound.

Reviewers: jpeg

Subscribers: cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-02-09 14:28:16 +09:00
Cedric BAIL 28e21eac0e efl: interface are still clearly in beta. 2015-02-07 14:00:28 +01:00
michelle legrand 399dbb8c6a evil: fix initialisation.
Eina_Log is not available at this point of the initialisation.
2015-02-07 14:00:28 +01:00
Igor Murzov e98ba63c82 Update russian translation 2015-02-07 15:38:49 +03:00
Mike Blumenkrantz dc14e4d349 forgotten ee bit from previous commit 2015-02-06 18:25:01 -05:00
Mike Blumenkrantz 7171135792 ecore evas should not crash when unsetting pointer
ref D812

disappointed.jpg
2015-02-06 17:54:08 -05:00
Jean-Philippe Andre 88e5369eee Evas masking: Add forgotten file in previous commit 2015-02-06 12:35:12 +09:00
Jean-Philippe Andre 73b16a4962 Evas masking: Also fix map masking with non-bgra images 2015-02-06 12:33:29 +09:00
Chris Michael 92954b707c ecore-drm: Remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-05 11:21:36 -05:00