platform/upstream/efl.git
9 years agoecore-drm: Add missing doxy for ecore_drm_output_enable
Chris Michael [Tue, 5 May 2015 17:51:00 +0000 (13:51 -0400)]
ecore-drm: Add missing doxy for ecore_drm_output_enable

Summary: This adds missing doxygen for function ecore_drm_output_enable

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedje: _check_recursive_reference reworked to fix segv in Edje_Edit.
Andrii Kroitor [Tue, 5 May 2015 08:46:08 +0000 (10:46 +0200)]
edje: _check_recursive_reference reworked to fix segv in Edje_Edit.

Summary:
in some cases collections cache "ref" can be NULL and old code fails.
Replaced with reliable way of getting part list that was found in
_edje_edit_group_references_update

@fix

Reviewers: raster, Hermet, seoz, reutskiy.v.v, FurryMyad, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix typo in API documentation.
Amitesh Singh [Tue, 5 May 2015 08:44:37 +0000 (10:44 +0200)]
evas: fix typo in API documentation.

Summary: Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>

Reviewers: raster, Hermet

Subscribers: seoz, cedric, sachin.dev

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: handle orientation while an object is cutout.
Cedric BAIL [Tue, 5 May 2015 08:15:02 +0000 (10:15 +0200)]
evas: handle orientation while an object is cutout.

T2338

Thanks to DaveMDS to take the time to report accurately the issue. That helped
a lot figuring out things. And another thanks to Vincent Torri for the help on
the math side.

9 years agoevas: fix reference counting of Evas_GL_Image during orient_set.
Cedric BAIL [Fri, 1 May 2015 10:15:10 +0000 (12:15 +0200)]
evas: fix reference counting of Evas_GL_Image during orient_set.

9 years agoevas: prevent infinite loop when there is no image we can remove.
Cedric BAIL [Thu, 30 Apr 2015 15:12:55 +0000 (17:12 +0200)]
evas: prevent infinite loop when there is no image we can remove.

9 years agoefl.model: Remove unused emodel-cxx.pc.in and emodel.pc.in
Felipe Magno de Almeida [Mon, 4 May 2015 22:04:31 +0000 (19:04 -0300)]
efl.model: Remove unused emodel-cxx.pc.in and emodel.pc.in

9 years agoevas-gl common: clarify cryptic error message
Mike Blumenkrantz [Mon, 4 May 2015 21:11:08 +0000 (17:11 -0400)]
evas-gl common: clarify cryptic error message

9 years agoecore-evas-wayland: Fix issue of setting NULL cursor object
Chris Michael [Mon, 4 May 2015 16:37:56 +0000 (12:37 -0400)]
ecore-evas-wayland: Fix issue of setting NULL cursor object

Summary: If we are calling ecore_evas_object_cursor_set with a NULL
object, then we need to inform the ecore_wayland window that we no
longer have a cursor surface.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Remove debug noise
Chris Michael [Mon, 4 May 2015 15:42:20 +0000 (11:42 -0400)]
evas-drm: Remove debug noise

Summary: No real function changes, just commented out some debug so we
have less noise for release.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove debug noise
Chris Michael [Mon, 4 May 2015 15:41:25 +0000 (11:41 -0400)]
ecore-drm: Remove debug noise

Summary: No real function changes, just commented out some debug lines
so we have less noise for release

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: fix lexer assertion failure
Daniel Kolesa [Fri, 1 May 2015 10:57:50 +0000 (11:57 +0100)]
eolian: fix lexer assertion failure

The function was missing an "else", so a wrong branch was always
executed with errors at EOF. This fixes that.
@fix

9 years agoeolian: specialize tmp free for typedef (avoid double free issue)
Daniel Kolesa [Fri, 1 May 2015 10:48:35 +0000 (11:48 +0100)]
eolian: specialize tmp free for typedef (avoid double free issue)

@fix

9 years agoecore-drm: close fd when asked to close fd
Derek Foreman [Thu, 30 Apr 2015 18:31:07 +0000 (14:31 -0400)]
ecore-drm: close fd when asked to close fd

Summary:
the logind device close function just lets logind revoke fd permissions
but doesn't actually close the (now useless) fd.

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoecore-drm: don't return EINA_FALSE as an invalid fd
Derek Foreman [Thu, 30 Apr 2015 18:29:43 +0000 (14:29 -0400)]
ecore-drm: don't return EINA_FALSE as an invalid fd

Summary:
0 is a valid fd.  EINA_FALSE is 0.  EINA_FALSE is a valid fd.

@fix

Subscribers: cedric

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

9 years agoecore-drm: append O_CLOEXEC always
Derek Foreman [Thu, 30 Apr 2015 18:28:30 +0000 (14:28 -0400)]
ecore-drm: append O_CLOEXEC always

Summary:
Seems libinput wasn't bothering to set this so all child processes get
their hands on input devices

@fix

Subscribers: cedric

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

9 years agoecore_drm: close fd if flag set fails
Derek Foreman [Thu, 30 Apr 2015 18:27:04 +0000 (14:27 -0400)]
ecore_drm: close fd if flag set fails

@fix

Subscribers: cedric

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

9 years agoecore-evas-wayland: remove duplicated shutdown of ecore_evas_wl_common
MinJeong Kim [Thu, 30 Apr 2015 15:31:19 +0000 (11:31 -0400)]
ecore-evas-wayland: remove duplicated shutdown of ecore_evas_wl_common

Summary:
 After a creation for ecore_evas_wayland_shm or ecore_evas_wayland_egl is
failed, _ecore_evas_wl_common_shutdown() gets called 'twice'.

 First shutdown is from _ecore_evas_wl_common_free() which is set as fn_free()
of ecore_evas engine, and this fn_free() is called by ecore_evas_free().
 Second is from direct call inside ecore_evas_wayland_shm_new_internal()
(or ecore_evas_wayland_egl_new_internal()).
 This duplicated shutdown causes block of first next _ecore_evas_wl_common_init
because init count is not zero but -1.

 So second shutdown should be removed so that it makes enable fall back to
another wayland engine correctly when one is failed to create ecore_evas_wayland.

@fix

Reviewers: gwanglim, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoevas-wayland-shm: Fix T2352 (focused window borders blink)
Chris Michael [Thu, 30 Apr 2015 15:13:36 +0000 (11:13 -0400)]
evas-wayland-shm: Fix T2352 (focused window borders blink)

Summary: This fixes an issue where the wrong swapmode was being
returned to the evas render function. This was causing focused windows
to blink.

NB: Big thanks to Derek for assisting !! :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-x: use async pointer grab mode in ecore_x_window_key_grab()
Mike Blumenkrantz [Thu, 30 Apr 2015 01:58:23 +0000 (21:58 -0400)]
ecore-x: use async pointer grab mode in ecore_x_window_key_grab()

using a sync grab here causes the device to be frozen in the xserver,
preventing any event processing on the device until the grab ends. it also
prevents new grabs, such as the ones which would be created by xkill when
launched from a keybinding; this means that as long as the grabbed key is
held, the pointer is effectively dead to the world.

I attempted to find the reason for using sync pointer grabs here,
but the original commit message was:

  aaaahmmm.. no.. this.. oops

see https://git.enlightenment.org/legacy/ecore.git/commit/?id=f62faeae288fc8211d5f97b43d3b81de87db0942

fix T2228

9 years agoevas-wayland-shm: Update software_generic render engine size on output resize
Chris Michael [Wed, 29 Apr 2015 18:23:24 +0000 (14:23 -0400)]
evas-wayland-shm: Update software_generic render engine size on output resize

Summary: As we override the software_generic function for
eng_output_resize, so we can handle resize edges, we should also be
updating the software_generic's render engine size here because the
function for software_generic->output_resize never gets called.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Minimize race condition when finding free leaf
Chris Michael [Wed, 29 Apr 2015 15:49:49 +0000 (11:49 -0400)]
evas-wayland-shm: Minimize race condition when finding free leaf

Summary: This fixes a possible race condition that could happen when
using more than 2 buffers. Instead of searching for a free buffer in
various places, find a free buffer when evas requests the buffer data
and save that free buffer as the 'current buffer'

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Use size of buffer when caching
Chris Michael [Wed, 29 Apr 2015 15:14:38 +0000 (11:14 -0400)]
evas-wayland-shm: Use size of buffer when caching

Summary: evas_cache and evas_cache2 are expecting the width of the
buffer when caching so just use that directly rather than calculating
bpl.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: add touch_motion event on touch_down event handler.
Mun, Gwan-gyeong [Wed, 29 Apr 2015 12:55:06 +0000 (08:55 -0400)]
ecore-drm: add touch_motion event on touch_down event handler.

Summary:
  ecore-drm touch down handler does not produce ECORE_EVENT_MOUSE_MOVE event.
  so, when user touches screen, application can't handle mouse down event correctly.
  this fix adds touch_motion event on touch_down event handler.

Reviewers: zmike, cedric, raster, gwanglim, devilhorns

Subscribers: cedric

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

9 years agoecore_drm: send a fake motion event to let other know the initial pos of mouse
Boram Park [Wed, 29 Apr 2015 12:54:03 +0000 (08:54 -0400)]
ecore_drm: send a fake motion event to let other know the initial pos of mouse

Summary:
At the first time after finishing booting, the position of mouse cursor is in the
center of screen. But e doesn't know it. ecore_drm should let e know the initial
position of cursor by sending a fake motino event.

Reviewers: devilhorns, ManMower, zmike, raster, gwanglim

Subscribers: cedric

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

9 years agoevas-drm: Fix evas-gl_drm picking incorrect resolution/mode for outputs
Mun, Gwan-gyeong [Wed, 29 Apr 2015 12:49:06 +0000 (08:49 -0400)]
evas-drm: Fix evas-gl_drm picking incorrect resolution/mode for outputs

Summary:
Fix evas-gl_drm picking incorrect resolution/mode for outputs
   reference,  commit: d3a207bf9ab1246b5a5299ade7b25ee46a8e3cf7

Reviewers: zmike, cedric, raster, gwanglim, devilhorns

Subscribers: cedric

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

9 years agoecore-drm: Fix using uninitialized output value
MinJeong Kim [Wed, 29 Apr 2015 12:47:32 +0000 (08:47 -0400)]
ecore-drm: Fix using uninitialized output value

Summary:
This revision fixed using of uninitialized value 'output'.
The usage can cause segmentation fault when it try to refer current_mode

@fix

Reviewers: devilhorns

Subscribers: cedric

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

9 years agoemile: only disable tests timeout on Windows.
Cedric BAIL [Wed, 29 Apr 2015 07:50:51 +0000 (09:50 +0200)]
emile: only disable tests timeout on Windows.

9 years agoeina: in fact this is gone and won't come back.
Cedric BAIL [Wed, 29 Apr 2015 07:47:58 +0000 (09:47 +0200)]
eina: in fact this is gone and won't come back.

Eo and Efl.Model are here for that task.

9 years agoEina: fix eina_file_split on Windows and update unit test
Vincent Torri [Wed, 29 Apr 2015 05:52:31 +0000 (07:52 +0200)]
Eina: fix eina_file_split on Windows and update unit test

@fix

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoEdje embryo: Fix invalid check for get_state_val (text str)
Jean-Philippe Andre [Wed, 29 Apr 2015 04:31:10 +0000 (13:31 +0900)]
Edje embryo: Fix invalid check for get_state_val (text str)

@fix

9 years agoeina: fix eina_stringshare format warning after commit 912924a
Jean Guyomarc'h [Tue, 28 Apr 2015 21:50:57 +0000 (23:50 +0200)]
eina: fix eina_stringshare format warning after commit 912924a

Summary:
Since the type of 'r' changed from unsigned short to unsigned int we
need to change its format as well.

Reviewers: stefan_schmidt, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-drm: shutup libinput log info
Mike Blumenkrantz [Tue, 28 Apr 2015 20:12:36 +0000 (16:12 -0400)]
ecore-drm: shutup libinput log info

9 years agotests/ecore_con: Avoid warining about _parse_url being unused
Stefan Schmidt [Tue, 28 Apr 2015 14:19:29 +0000 (16:19 +0200)]
tests/ecore_con: Avoid warining about _parse_url being unused

It is only used inside two ifdef conditions. Better check them for
_parse_url as well.

9 years agoeolian: fix tests after the EAPI switch
Daniel Kolesa [Tue, 28 Apr 2015 14:19:48 +0000 (15:19 +0100)]
eolian: fix tests after the EAPI switch

9 years agoelocation: allow usage of it with C++.
Cedric BAIL [Tue, 28 Apr 2015 13:17:49 +0000 (15:17 +0200)]
elocation: allow usage of it with C++.

9 years agoeolian: actually these should be marked EAPI
Daniel Kolesa [Tue, 28 Apr 2015 13:18:57 +0000 (14:18 +0100)]
eolian: actually these should be marked EAPI

9 years agoeolian: mark _class_get func protos with EOAPI
Daniel Kolesa [Tue, 28 Apr 2015 13:12:18 +0000 (14:12 +0100)]
eolian: mark _class_get func protos with EOAPI

this is necessary to properly export the funcs on Windows. @fix

9 years agoautotools: fix non-verbose build output
Daniel Kolesa [Tue, 28 Apr 2015 12:29:34 +0000 (13:29 +0100)]
autotools: fix non-verbose build output

D2431 added some mkdirs that were printed even when not in verbose mode.
This commit fixes that; those mkdirs will stay hidden (unless verbose).

Bad cedric! @fix

9 years agoecore_con: fix double free issue in ecore_con_eet.
Srivardhan Hebbar [Tue, 28 Apr 2015 12:13:30 +0000 (14:13 +0200)]
ecore_con: fix double free issue in ecore_con_eet.

Summary:
While creating ecore_con_eet_server, if client is not set to false, then while deleting, it is checking for client and it is by default not false. So set it.
ecore_con_reply object is being deleted twice. So removed code to delete the reply object as it would be deleted after the callback.

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

Subscribers: cedric

Maniphest Tasks: T2372

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agopkg-config: prefix eolian_flags with sysrootdir when crosscompiling
Romain Naour [Thu, 23 Apr 2015 21:17:59 +0000 (23:17 +0200)]
pkg-config: prefix eolian_flags with sysrootdir when crosscompiling

Otherwise, the elementary build is brocken while crosscompiling since
"pkg-config --variable=eolian_flags eo evas edje ecore efl" return paths
to the host's include directories (/usr/share/eolian/include).

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoautotools: add --disable-libeeze
Romain Naour [Thu, 23 Apr 2015 21:17:58 +0000 (23:17 +0200)]
autotools: add --disable-libeeze

When cross-compiling, we only want to build edje_cc, embryo_cc
and eet binaries for the host before starting the build for the
target.

This patch allows to disable libeeze in order to shorten the
build time but most of all remove the dependency on libudev.

In normal case it's not recommended hence a warning.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_file: add more tests for ecore_file.
Thiep Ha [Tue, 28 Apr 2015 09:19:15 +0000 (11:19 +0200)]
ecore_file: add more tests for ecore_file.

Summary:
This patch adds more tests for ecore_file.
It helps examine unchecked cases.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian: fix build of generated Eolian files.
Guilherme Lepsch [Tue, 28 Apr 2015 09:14:18 +0000 (11:14 +0200)]
eolian: fix build of generated Eolian files.

Summary: Fix build with properly creation of output dir for eolian_gen on out of source build when passing the option --disable-dependency-tracking.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: fix compilation warnings in eio_test_xattr.c when xattr tests are disabled.
vivek [Tue, 28 Apr 2015 09:09:47 +0000 (11:09 +0200)]
eio: fix compilation warnings in eio_test_xattr.c when xattr tests are disabled.

Summary: Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: add new tests for eio.
kabeer khan [Tue, 28 Apr 2015 09:08:08 +0000 (11:08 +0200)]
eio: add new tests for eio.

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoemotion: trying to fix gstreamer backend build on Windows.
Cedric BAIL [Tue, 28 Apr 2015 08:59:57 +0000 (10:59 +0200)]
emotion: trying to fix gstreamer backend build on Windows.

9 years agoephysics: trying to fix build on Windows.
Cedric BAIL [Tue, 28 Apr 2015 08:59:35 +0000 (10:59 +0200)]
ephysics: trying to fix build on Windows.

9 years agoEcore audio: Fix (skip) build on Windows
Jean-Philippe Andre [Tue, 28 Apr 2015 06:13:29 +0000 (15:13 +0900)]
Ecore audio: Fix (skip) build on Windows

Thanks vtorri for the report

9 years agoeina stringshare - make short internal string refs ints not shorts
Carsten Haitzler (Rasterman) [Tue, 28 Apr 2015 06:10:32 +0000 (15:10 +0900)]
eina stringshare - make short internal string refs ints not shorts

this should fix T2088 - at the expense of more memory but a short was
just too little here.

9 years agoecore-wayland: Fix issue of efl/elm apps not setting opaque & input regions
Chris Michael [Mon, 27 Apr 2015 17:00:07 +0000 (13:00 -0400)]
ecore-wayland: Fix issue of efl/elm apps not setting opaque & input regions

Summary: Since evas handles surface damage & surface commit roles now,
we no longer are calling ecore_wl_commit inside ecore_evas. This was
causing the surface opaque & input regions to no longer be set. We fix
that here by creating and setting opaque/input regions whenever the
appropriate ecore_wl region functions are called.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: fix issue of using two times the same image with different orient in software.
Cedric BAIL [Mon, 27 Apr 2015 17:15:58 +0000 (19:15 +0200)]
evas: fix issue of using two times the same image with different orient in software.

Fixing T2338

9 years agoecore-wl: reject key events which do not correlate to a valid keysym
Mike Blumenkrantz [Mon, 27 Apr 2015 16:56:41 +0000 (12:56 -0400)]
ecore-wl: reject key events which do not correlate to a valid keysym

9 years agorelease: Update NEWS and bump version for 1.14.0-beta3 release v1.14.0-beta3
Stefan Schmidt [Mon, 27 Apr 2015 12:24:53 +0000 (14:24 +0200)]
release: Update NEWS and bump version for 1.14.0-beta3 release

9 years agoEvas masking: Free mask surfaces during evas dump
Jean-Philippe Andre [Mon, 27 Apr 2015 06:56:54 +0000 (15:56 +0900)]
Evas masking: Free mask surfaces during evas dump

On minimizing, free all mask surfaces. This could save a lot
of memory.

Also, write "proxy" COW only when there is a surface (the "proxy"
pointer itself is always valid and non-NULL).

9 years agoemile: correctly free buffer allocated for compressed image.
Cedric BAIL [Sun, 26 Apr 2015 07:38:13 +0000 (09:38 +0200)]
emile: correctly free buffer allocated for compressed image.

CID 1295688

9 years agoecore_evas: move docs from .c to .h and make it consistence
Thiep Ha [Sun, 26 Apr 2015 07:20:11 +0000 (09:20 +0200)]
ecore_evas: move docs from .c to .h and make it consistence

Summary:
There are some documents in .c file. This patch moves them to .h
file. This also uses primitive verbs in brief section to make document
more consistence.

Reviewers: Hermet, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeet: fix interger overflow
Cedric BAIL [Sat, 25 Apr 2015 18:14:26 +0000 (20:14 +0200)]
eet: fix interger overflow

CID 1256196

9 years agoemile: fix memory leak.
Cedric BAIL [Sat, 25 Apr 2015 18:00:44 +0000 (20:00 +0200)]
emile: fix memory leak.

CID 1288918 & 1288919

9 years agoevas: get rid of clobbered warning.
Cedric BAIL [Sat, 25 Apr 2015 17:59:18 +0000 (19:59 +0200)]
evas: get rid of clobbered warning.

9 years agoecore_con: fix typos and improve document consistence.
Thiep Ha [Sat, 25 Apr 2015 17:35:23 +0000 (19:35 +0200)]
ecore_con: fix typos and improve document consistence.

Summary:
This patch fixes typos and uses primitive verb in brief section
to improve document consistence for ecore_con.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: correct document for eina_hash_list_prepend/remove.
Thiep Ha [Sat, 25 Apr 2015 17:34:16 +0000 (19:34 +0200)]
eina: correct document for eina_hash_list_prepend/remove.

Summary:
The eina_hash_list_preprend/remove API have wrong description.
This patch fixes it.

@fix

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoemile: fix memory leak.
Cedric BAIL [Sat, 25 Apr 2015 17:27:20 +0000 (19:27 +0200)]
emile: fix memory leak.

CID 1288924 & 1288923

9 years agoemile: fix typo.
Cedric BAIL [Sat, 25 Apr 2015 17:08:36 +0000 (19:08 +0200)]
emile: fix typo.

9 years agoemile: opts can be NULL, so checking it before using it.
Cedric BAIL [Sat, 25 Apr 2015 16:58:30 +0000 (18:58 +0200)]
emile: opts can be NULL, so checking it before using it.

CID 1288927

9 years agoemile: check that we actually do have option before using them.
Cedric BAIL [Sat, 25 Apr 2015 16:52:22 +0000 (18:52 +0200)]
emile: check that we actually do have option before using them.

CID 1288929

9 years agoemile: fix support of AGRY88.
Cedric BAIL [Sat, 25 Apr 2015 16:26:58 +0000 (18:26 +0200)]
emile: fix support of AGRY88.

CID 1288931

9 years agoevas: fix usage of the same ressource in the GL backend with orient.
Cedric BAIL [Fri, 24 Apr 2015 15:04:58 +0000 (17:04 +0200)]
evas: fix usage of the same ressource in the GL backend with orient.

When we set orient we actually need to return a new image or it will confuse
evas a lot.

9 years agoecore-drm: fix multiclick interval time
Mike Blumenkrantz [Fri, 24 Apr 2015 17:40:32 +0000 (13:40 -0400)]
ecore-drm: fix multiclick interval time

libinput returns timestamps in milliseconds as int, not double

9 years agoecore-drm: fix improper conditional syntax in _ecore_drm_tty_switch()
Mike Blumenkrantz [Fri, 24 Apr 2015 16:52:40 +0000 (12:52 -0400)]
ecore-drm: fix improper conditional syntax in _ecore_drm_tty_switch()

9 years agoecore-drm: add safety checks to all EAPI functions
Mike Blumenkrantz [Fri, 24 Apr 2015 16:51:34 +0000 (12:51 -0400)]
ecore-drm: add safety checks to all EAPI functions

9 years agoecore-con: try to load libcurl.so.5 before .so.4
Raoul Hecky [Fri, 24 Apr 2015 07:12:32 +0000 (09:12 +0200)]
ecore-con: try to load libcurl.so.5 before .so.4

Curl is using a strange soname bumping where soname version is changed by configure when it detects some differences with off_t.
Explanations here: http://curl.haxx.se/dev/readme-curl_off_t.html

As we are not using curl_off_t in our code, we can simply load libcurl.so.5 if present.

9 years agoedje_util: fix memory leak
Andrii Kroitor [Fri, 24 Apr 2015 07:03:16 +0000 (16:03 +0900)]
edje_util: fix memory leak

Summary:
list returned by evas_object_box_children_get should be freed

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Subscribers: cedric

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

9 years agoEvas GL common: Avoid excessive pipe flushes in image free
Jean-Philippe Andre [Thu, 23 Apr 2015 07:14:22 +0000 (16:14 +0900)]
Evas GL common: Avoid excessive pipe flushes in image free

This should boost performance a little bit when an image is
just unref'ed but not deleted (thus doesn't need a pipe flush).

9 years agoEvas GL masking: Improve performance with scaled images
Jean-Philippe Andre [Thu, 23 Apr 2015 07:12:04 +0000 (16:12 +0900)]
Evas GL masking: Improve performance with scaled images

The GL scaled images is a fast path for masking where
the shader scales masks on the fly.
This optimization actually fixes some issues where the current
texture binding was incorrect.

9 years agoFix ecore_con_eet_client_example example compilation error
Felipe Magno de Almeida [Fri, 24 Apr 2015 01:20:16 +0000 (22:20 -0300)]
Fix ecore_con_eet_client_example example compilation error

Added eet to include flags for Makefile.am for ecore examples

9 years agoFix uninitialized member by coverity CID 1294558
Felipe Magno de Almeida [Fri, 24 Apr 2015 00:24:06 +0000 (21:24 -0300)]
Fix uninitialized member by coverity CID 1294558

Initialize the scope member in the default constructor.

9 years agoecore-drm: refactor _ecore_drm_output_backlight_init() to use fewer gotos
Mike Blumenkrantz [Thu, 23 Apr 2015 17:21:32 +0000 (13:21 -0400)]
ecore-drm: refactor _ecore_drm_output_backlight_init() to use fewer gotos

9 years agoecore-drm: use eeze_udev_find_by_filter() to only return relevant backlight devices
Mike Blumenkrantz [Thu, 23 Apr 2015 17:17:25 +0000 (13:17 -0400)]
ecore-drm: use eeze_udev_find_by_filter() to only return relevant backlight devices

9 years agoecore-drm: restrict output backlight detection to drm device
Mike Blumenkrantz [Thu, 23 Apr 2015 17:11:22 +0000 (13:11 -0400)]
ecore-drm: restrict output backlight detection to drm device

previously this would pull in any available backlight device regardless
of whether it was actually attached to the device or output in any way

9 years agoevas_text: fix default return value.
Jaehwan Kim [Thu, 23 Apr 2015 13:09:08 +0000 (22:09 +0900)]
evas_text: fix default return value.

@fix

9 years agoecore-file: use hash list for inotify monitor tracking
Mike Blumenkrantz [Thu, 23 Apr 2015 12:54:20 +0000 (08:54 -0400)]
ecore-file: use hash list for inotify monitor tracking

inotify reuses watches for multiple instances on the same file, so
keeping a multimap here is necessary to avoid hash collision

fix T2360

9 years agoecore_timer: fix the default return value.
Jaehwan Kim [Wed, 22 Apr 2015 09:01:14 +0000 (18:01 +0900)]
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

9 years agoeina thread_queue: fix typo in doc.
ChunEon Park [Thu, 23 Apr 2015 02:35:35 +0000 (11:35 +0900)]
eina thread_queue: fix typo in doc.

9 years agoecore-drm: fix uninitialized output mode pointers when creating outputs
Mike Blumenkrantz [Thu, 23 Apr 2015 01:11:51 +0000 (21:11 -0400)]
ecore-drm: fix uninitialized output mode pointers when creating outputs

9 years agoecore-drm: fix ecore_drm_devices_get() to return a const value
Mike Blumenkrantz [Wed, 22 Apr 2015 23:34:19 +0000 (19:34 -0400)]
ecore-drm: fix ecore_drm_devices_get() to return a const value

this is the internal device list, we're pretty hosed if someone decides
to free it because there's no const

9 years agoefreet: fix leak in efreet_util_desktop_exec_find()
Mike Blumenkrantz [Wed, 22 Apr 2015 19:32:49 +0000 (15:32 -0400)]
efreet: fix leak in efreet_util_desktop_exec_find()

@fix

9 years agoecore_drm: Don't crash if a device is assigned a bad output
Derek Foreman [Wed, 22 Apr 2015 18:32:16 +0000 (14:32 -0400)]
ecore_drm: Don't crash if a device is assigned a bad output

Summary:
If an input device is assigned via udev to an output that we can't find
we just assign it to the first output instead.

Reviewers: zmike, devilhorns

Subscribers: cedric

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

9 years agoeina thread_queue: fix typo in doc.
ChunEon Park [Wed, 22 Apr 2015 14:11:24 +0000 (23:11 +0900)]
eina thread_queue: fix typo in doc.

9 years agoefl: Move test for gl library to evas-gl-drm engine checks and Fix T2167
Chris Michael [Wed, 22 Apr 2015 13:19:07 +0000 (09:19 -0400)]
efl: Move test for gl library to evas-gl-drm engine checks and Fix T2167

Summary: Since we won't need gl library unless we are building
evas-gl-drm engine, move the checks for with_opengl config option to
the gl_drm engine checking macro. Also, since gl_drm is ONLY supported
if we have --with-opengl=es configure option, let's error out with a
message if someone passes anything Other than with_opengl=es.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore: build newly added Ecore_Con examples.
Cedric BAIL [Wed, 22 Apr 2015 12:58:44 +0000 (14:58 +0200)]
ecore: build newly added Ecore_Con examples.

9 years agoecore_con: example program for ecore_con_eet.
Srivardhan Hebbar [Wed, 22 Apr 2015 12:55:33 +0000 (14:55 +0200)]
ecore_con: example program for ecore_con_eet.

Summary:

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: add testcases for various eio_xattr types set and get functions.
vivek [Wed, 22 Apr 2015 12:52:55 +0000 (14:52 +0200)]
eio: add testcases for various eio_xattr types set and get functions.

Summary:
Added test cases for eio_file_xattr_string_set, eio_file_xattr_string_get, eio_file_xattr_int_set, eio_file_xattr_int_get, eio_file_xattr_double_get, eio_file_xattr_double set functions

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

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: add another test case to cover remaining functions in ecore_con_eet.
Srivardhan Hebbar [Wed, 22 Apr 2015 12:52:28 +0000 (14:52 +0200)]
ecore_con: add another test case to cover remaining functions in ecore_con_eet.

Summary:
When I checked the Jenkins report, I saw few of the functions were left off. So added another case and modified the existing case to cover all the functions or ecore_con_eet.

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

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: add test cases to cover more ecore con functions.
Srivardhan Hebbar [Wed, 22 Apr 2015 12:26:57 +0000 (14:26 +0200)]
ecore_con: add test cases to cover more ecore con functions.

Summary:
The dns lookup test would result in a crash unless https://phab.enlightenment.org/D2398 fix.
Also added more functions to existing case to cover ecore_con.c

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test cases for eina file xattr functions.
vivek [Wed, 22 Apr 2015 12:21:36 +0000 (14:21 +0200)]
eina: add test cases for eina file xattr functions.

Summary:
Added test cases for eina_file_xattr_get and eina_file_xattr_value_get functions

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: fix dns lookup crash issue.
Srivardhan Hebbar [Wed, 22 Apr 2015 12:19:46 +0000 (14:19 +0200)]
ecore_con: fix dns lookup crash issue.

Summary:
When executed ecore_con_lookup_example function, we were getting a crash. This is the fix for the crash. I analysed it in the valgrind and found the error. Valgrind reported invalid free at this place.
svr->name is getting freed in _ecore_con_server_eo_base_destructor function and svr is getting freed in ecore_con_shutdown function.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: fix ecore_con_lookup_example to actually exit when done.
Srivardhan Hebbar [Wed, 22 Apr 2015 10:41:43 +0000 (12:41 +0200)]
ecore_con: fix ecore_con_lookup_example to actually exit when done.

Summary:
Without ecore_main_loop_quit the example won't end. So added that and as ecore_init is done in ecore_con_init removed that.

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test case for eina_strbuf_string_free function.
vivek [Wed, 22 Apr 2015 10:38:58 +0000 (12:38 +0200)]
eina: add test case for eina_strbuf_string_free function.

Summary:
Added test case for eina_strbuf_string_free function in eina_strbuf module

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix rotation and flipping of image in gl engine
kabeer khan [Wed, 22 Apr 2015 09:25:38 +0000 (11:25 +0200)]
evas: fix rotation and flipping of image in gl engine

Summary:
fix rotation(90, 180, 270) and flipping(vertical, horizontal, transpose,
transverse) of evas image in gl engine backend.

@fix

T2338

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: cedric, jpeg

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>