platform/upstream/efl.git
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>
9 years agoEldbus: fix potential unsigned int underflow.
Tom Hacohen [Wed, 22 Apr 2015 12:17:28 +0000 (13:17 +0100)]
Eldbus: fix potential unsigned int underflow.

Subtracting two unsigned values results in an unsigned value, which means
abs() will have no effect.
This also means that if base is smaller than size, we'll have an
unsigned int underflow.

I did it this way (with the if) because it looked like base might be
smaller than size. However, please remove the if (and don't reinstate
the abs) if this is not the case.

9 years agoEcore_evas wayland: remove double parenthesis around comparison.
Tom Hacohen [Wed, 22 Apr 2015 12:13:19 +0000 (13:13 +0100)]
Ecore_evas wayland: remove double parenthesis around comparison.

Double praenthesis should be used around assignments, not comparisons.
Doing this correctly all aronud lets the compiler warn us about potential
mistakes.

9 years agoEvas text utils: move the non-ot function into the current ifdef.
Tom Hacohen [Wed, 22 Apr 2015 12:11:52 +0000 (13:11 +0100)]
Evas text utils: move the non-ot function into the current ifdef.

This function should only be build when OT is off. Move
it to the #else part of the ifdef.

9 years agoEina safety: remove unused error string.
Tom Hacohen [Wed, 22 Apr 2015 12:06:16 +0000 (13:06 +0100)]
Eina safety: remove unused error string.

At the moment there are no errors possible for safety checks.
This may change in the future (unlikely), so we have the eina_error
already exposed for that. However, there's no need for the string.

One more down towards a warningless build.

9 years agoEolian generator: remove unusued variable.
Tom Hacohen [Wed, 22 Apr 2015 12:03:17 +0000 (13:03 +0100)]
Eolian generator: remove unusued variable.

9 years agoEdje smart: Add NULL safety
Jean-Philippe Andre [Wed, 22 Apr 2015 01:51:25 +0000 (10:51 +0900)]
Edje smart: Add NULL safety

This case actually happens with E. It's invalid but still happening,
and because Eo doesn't actually check the parent (or its type) fully,
an invalid, non-NULL object was returned.

See T2336 (this is not fixing the root cause!).

9 years agoecore-drm: Change ecore_drm_fb_set warning level
Chris Michael [Tue, 21 Apr 2015 17:58:41 +0000 (13:58 -0400)]
ecore-drm: Change ecore_drm_fb_set warning level

Summary: This is not actually "critical", it just means that we tried
to set a dumb buffer of the wrong size. Ecore_Evas will call this
function again after the canvas has been resized to the proper size,
so just issue a WRN here.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Fix issue of fullscreen surfaces not getting focus on show
Chris Michael [Tue, 21 Apr 2015 17:42:25 +0000 (13:42 -0400)]
ecore-evas-drm: Fix issue of fullscreen surfaces not getting focus on show

Summary: This fixed T2349 where elm apps would not get initial focus
on show when running via drm. This also addresses the issue of always
sending the state_change event even when not an override.

NB: Thanks to bu5hm4n for reporting ... and even providing a potential fix ;)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-blend-ops: fix off-by-1 in the C MUL3_SYM "simd" multiplier
Chris Michael [Tue, 21 Apr 2015 15:23:28 +0000 (11:23 -0400)]
evas-blend-ops: fix off-by-1 in the C MUL3_SYM "simd" multiplier

Summary: op_blend functions give off-by-1 using NEON intrinsics in C
MUL3_SYM, this commit fixes that issue with no ill effects on other
platforms.

@fix

Reviewers: raster, cedric

Subscribers: cedric

Projects: #efl

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

9 years agoecore_imf: init wayland before using wayland calls.
Marcel Hollerbach [Tue, 21 Apr 2015 14:06:38 +0000 (10:06 -0400)]
ecore_imf: init wayland before using wayland calls.

Summary:
ecore_imf: init wayland if wayland env var exists

Otherwise ecore-wl functions could return some invalid values. The env var check to avoid error messages.

@fix

Reviewers: Sergeant_Whitespace, devilhorns

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric

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

9 years agoEvas 3d: Fix clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 12:08:30 +0000 (21:08 +0900)]
Evas 3d: Fix clang warning

Unused function

9 years agoEdje: Silence more clang stuff
Jean-Philippe Andre [Tue, 21 Apr 2015 11:44:38 +0000 (20:44 +0900)]
Edje: Silence more clang stuff

And make it explicit that the enum is unsigned

9 years agoEvas tiler: Remove unused functions (clang)
Jean-Philippe Andre [Tue, 21 Apr 2015 11:40:41 +0000 (20:40 +0900)]
Evas tiler: Remove unused functions (clang)

rect_list_add_split_strict is still kept for reference in
eina_tiler.c

9 years agoEctor: More clang silencing
Jean-Philippe Andre [Tue, 21 Apr 2015 11:40:27 +0000 (20:40 +0900)]
Ector: More clang silencing

9 years agoEfreet: Silence clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 11:32:54 +0000 (20:32 +0900)]
Efreet: Silence clang warning

[unsigned - unsigned] is unsigned and might wrap around, the implicit
conversion to int (by calling abs()) saved the game here.

9 years agoEeze: Silence clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 11:31:39 +0000 (20:31 +0900)]
Eeze: Silence clang warning

9 years agoEdje edit: Fix clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 11:28:44 +0000 (20:28 +0900)]
Edje edit: Fix clang warning

Remove useless variable

9 years agoEvas: Fix clang warning (actually use function)
Jean-Philippe Andre [Tue, 21 Apr 2015 11:14:23 +0000 (20:14 +0900)]
Evas: Fix clang warning (actually use function)

Those helper functions are barely ever used...

9 years agoEvas GL common: Fix clang warnings
Jean-Philippe Andre [Tue, 21 Apr 2015 10:47:44 +0000 (19:47 +0900)]
Evas GL common: Fix clang warnings

Mooooarrr!

9 years agoEcore_Con: Fix clang warnings
Jean-Philippe Andre [Tue, 21 Apr 2015 11:03:33 +0000 (20:03 +0900)]
Ecore_Con: Fix clang warnings

9 years agoEvas 3d: Fix clang warnings
Jean-Philippe Andre [Tue, 21 Apr 2015 10:45:19 +0000 (19:45 +0900)]
Evas 3d: Fix clang warnings

9 years agoecore_evas_convert: Fix useless clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 10:44:47 +0000 (19:44 +0900)]
ecore_evas_convert: Fix useless clang warning

9 years agoETC1: Fix more clang warnings
Jean-Philippe Andre [Tue, 21 Apr 2015 10:36:05 +0000 (19:36 +0900)]
ETC1: Fix more clang warnings

Some of these are a bit pointless (eg. init with {0})
but at least this silences clang and helps reveal more
potentially useful warnings.

9 years agoEthumb: Fix clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 10:35:48 +0000 (19:35 +0900)]
Ethumb: Fix clang warning

Unused function.......

9 years agoEvas/cserve2: Fix clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 10:14:12 +0000 (19:14 +0900)]
Evas/cserve2: Fix clang warning

9 years agoEctor: Fix (probably valid) clang warning
Jean-Philippe Andre [Tue, 21 Apr 2015 10:02:57 +0000 (19:02 +0900)]
Ector: Fix (probably valid) clang warning

This time it looks like this is a valid warning.
if (abs(double) <= 0.00001f) might too often be true since abs() returns
an int.