platform/upstream/efl.git
9 years agoecore-drm: add ecore_drm_devices_get to get the list of drm devices 97/36997/3 accepted/tizen/common/20150319.090616 accepted/tizen/mobile/20150320.005832 accepted/tizen/tv/20150320.005600 accepted/tizen/wearable/20150319.095359 submit/tizen/20150318.130107
Boram Park [Tue, 17 Mar 2015 13:30:59 +0000 (09:30 -0400)]
ecore-drm: add ecore_drm_devices_get to get the list of drm devices

Summary:
    when enlightenment is working as wayland display server, enlightenment
    changes KDSETMODE to KD_GRAPHICS in _ecore_drm_tty_setup(). However,
    when enlightenment is killed by SIGSEGV, it doesn't changes KDSETMODE
    to KD_TEXT because englightenment process doesn't call ecore_drm_tty_close().
    To make possible enlightenment call ecore_drm_tty_close(), drm devices
    should be exposed.
    When enlightenment is killed by SIGSEGV, it will get drm devices with
    ecore_drm_device_get_list(), and will call ecore_drm_launcher_disconnect(),
    and ecore_drm_launcher_disconnect will call ecore_drm_tty_close() internally.

@feature

Reviewers: zmike, cedric, raster, gwanglim, devilhorns

Subscribers: cedric

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

Change-Id: Ie32b6eb02831bd95fd23d6a4f1dae372f999f4cc

9 years ago[Title] Fix to the bug which is the shared evas_gl_context with multi window 02/37002/3 accepted/tizen/tv/20150319.020319 submit/tizen_tv/20150318.024831
Wonsik Jung [Wed, 11 Feb 2015 10:52:27 +0000 (19:52 +0900)]
[Title]    Fix to the bug which is the shared evas_gl_context with multi window

[Problem]  When multi windows are shown, the latest window does not shown.
[Cause]    The latest window can not call glViewport with the updated coordinate
[Solution] Force call glViewport when window resizing occurs
[Team]     Graphics

Change-Id: I89059b59a9f47464aa0c1aa85768b9a188947d43

9 years ago[evas_gl] disable partial rendering default 33/36933/2 accepted/tizen/tv/20150318.025545 submit/tizen_tv/20150317.082808
Sunghyun Kim [Tue, 17 Mar 2015 07:49:15 +0000 (16:49 +0900)]
[evas_gl] disable partial rendering default

partial rendering disable in tizen 2.4 and tizen 3.0.
if application want enable partial rendering, it can use EVAS_GL_PARTIAL_ENABLE option.

Change-Id: I984721f1a43f7697346be76e7510b074ed19acc9

9 years agoEvas GL common: Disable evas gl preload by default 29/36429/1
Jean-Philippe Andre [Wed, 4 Mar 2015 08:11:26 +0000 (17:11 +0900)]
Evas GL common: Disable evas gl preload by default

Unfortunately, this "feature" has many problems and does not really
fix those it was supposed to address:

- Elm Photocam becomes horrible to use (the transition from
  low-res to high-res tiles triggers this miniature path).

- Evas async preload callback is called before the full image
  is ready (ie. the texture is not uploaded yet), when really
  the preload callback should be triggered only once the image
  is 100% ready. (TODO)

- Sometimes the miniature image keeps being used even though the
  main image has been uploaded (eg. with E background). Maybe the
  object image is not redrawn when it should.

- This uses a separate thread for the upload, which is both a good
  and bad idea because we need to do a make current. Also, this does
  not upload the full-res image tile by tile, but only in one pass,
  thus blocking the render loop until finished.

This patch changes the env var from "EVAS_GL_NOPRELOAD" to
"EVAS_GL_PRELOAD" (and only "1" will enable).

Sorry Cedric, we can talk later about how to improve this.

Change-Id: I6a6b988fc7e770a705c39f9b538763aedd6946b3

9 years agopackaging: use libinput 88/36288/1 accepted/tizen/common/20150306.164605 accepted/tizen/mobile/20150310.065819 accepted/tizen/tv/20150310.050501 accepted/tizen/wearable/20150307.082006 submit/tizen/20150306.055330 submit/tizen_mobile/20150309.094223
Philippe Coval [Wed, 4 Mar 2015 15:30:26 +0000 (16:30 +0100)]
packaging: use libinput

Change-Id: I9062d5dcffcb4126624a1c4734f76846474f0f03
Bug-Tizen: TC-2460
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.13.1 87/36287/1
Jaehwan Kim [Tue, 3 Mar 2015 04:18:46 +0000 (13:18 +0900)]
packaging: Bump to 1.13.1

add the elocation, elua packages.

Change-Id: Ia59637d592e647812f5c7366feec58c398e09b7e

9 years agoconvert drm_slp_bo to tbm_bo
Joogab Yun [Fri, 6 Feb 2015 11:07:05 +0000 (20:07 +0900)]
convert drm_slp_bo to tbm_bo

Change-Id: I796f5d02501108d0a145d745077eb2687795f9da

9 years agocheck version when dri2 extension init
Joogab Yun [Wed, 4 Feb 2015 08:16:20 +0000 (17:16 +0900)]
check version when dri2 extension init

Change-Id: I8ab782bc06d84200626fd52279029b9bf7c49c9a

9 years agopackaging: build the framebuffer support
Manuel Bachmann [Mon, 26 Jan 2015 14:47:50 +0000 (15:47 +0100)]
packaging: build the framebuffer support

Framebuffer allows to use EFL GUI applications on various
devices, including some which do not have X11/Wayland
capabilities. Using it require to explicitly define the
ECORE_EVAS_ENGINE and ELM_ENGINE environment variables to
"fb".

Change-Id: If4b3253bf66c339ffebcf3c15a4a0906da48ba7d
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agoecore_x: Add support for controlling the virtual keyboard
Gwanglim Lee [Mon, 12 Jan 2015 14:41:31 +0000 (23:41 +0900)]
ecore_x: Add support for controlling the virtual keyboard

Change-Id: Ia2c0d25723d559b3abf0858a05e876c6344af74a

9 years agoecore_x: Add support for setting the window geometry hint for each of degree of rotation
Gwanglim Lee [Mon, 12 Jan 2015 14:25:49 +0000 (23:25 +0900)]
ecore_x: Add support for setting the window geometry hint for each of degree of rotation

Change-Id: I61c740f04f8f355819c4e567613fd38dca54af8f

9 years agoevas/gl_x11: set "EGL_PLATFORM" as "x11" before doing eglInitialize
MinJeong Kim [Mon, 29 Dec 2014 01:29:57 +0000 (10:29 +0900)]
evas/gl_x11: set "EGL_PLATFORM" as "x11" before doing eglInitialize

Without 'EGL_PLATFORM" environment variable, eglInitialize() failed
because egl tried to load DRM platform instead of X11 Platform and
also it tried to handle x display value as gbm_device.
"EGL_PLATFORM" has to be set as "x11" for making egl load right module(x11)

Change-Id: Iee8f7382bae6af37386456183a5c028e05091b2b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agospec: Remove capi-system-sensor dependency.
Daniel Juyung Seo [Mon, 22 Dec 2014 16:11:43 +0000 (01:11 +0900)]
spec: Remove capi-system-sensor dependency.

EFL is using very old version of capi-system-sensor and it is not been
tested that much. We will enable this after doing some tests later.

Change-Id: I36c0dc5bc8bfcaadf5224ff43fc93bceaa56430e
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
9 years agopackaging: Bump to 1.12.2
Philippe Coval [Mon, 15 Dec 2014 14:35:47 +0000 (15:35 +0100)]
packaging: Bump to 1.12.2

Rebased from tizen's 1.9.3 version

skip: 4b88b54... Add spec file and enable Tizen build
skip: 409a44c... Enable gles building with efl, and disable SHAD_TEXSAM for gl attraibute
skip: 234fe39... Fix ivi building issue
skip: 32569f3... Enable installing examples binaries
skip: ebec758... Enable building multiple binary packages
skip: 87d86f6... wayland: add the xdg-shell protocol files
skip: 634e641... wayland: use the xdg-shell protocol to trigger window state
skip: ebea947... Ecore-Wayland: use modified xdg-shell with "xdg_surface_unset_minimized()"
skip: 50abd47... Decore: wayland: make xdg-shell conditionnal at runtime
skip: 7e25b44... ecore-wayland: fix a phase error in ecore_wl_screen_size_get()
skip: 0d73766... ecore-wayland: Implement ivi-shell support for Ecore_Wayland
skip: 78b3840... Revert "ecore-wayland: Implement ivi-shell support for Ecore_Wayland"
skip: 04092c2... ecore-wayland: update the xdg-shell protocol to 1.6.0

Change-Id: I1542d2602e7fb565d360e59de6d864fcef701aa2
Bug-Tizen: PTREL-536/part
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoAdd ECORE_WL_WINDOW_ACTIVATE/DEACTIVATE event.
Philippe Coval [Fri, 5 Dec 2014 10:19:44 +0000 (11:19 +0100)]
Add ECORE_WL_WINDOW_ACTIVATE/DEACTIVATE event.

Origin: tizen#68b9d7a3da8df9496d512737c62588842c249068
Author: Yan Wang <yan.wang@linux.intel.com>
Change-Id: Ibc03fb5a771674f15f15d5c5269f8f620d5a0d7a

9 years agopackaging: Bump 1.12.1
Philippe Coval [Wed, 26 Nov 2014 08:34:58 +0000 (09:34 +0100)]
packaging: Bump 1.12.1

Change-Id: I0f1d14b03e2dbb558bff16fff9f8b2c53a17f495
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.12.0
Philippe Coval [Mon, 24 Nov 2014 14:59:00 +0000 (15:59 +0100)]
packaging: Bump to 1.12.0

Change-Id: I9a50315288bb82a7852f67d37c6840c780f0b304
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.11.4
Philippe Coval [Mon, 27 Oct 2014 16:14:48 +0000 (17:14 +0100)]
packaging: Bump to 1.11.4

Change-Id: I30edb974f7aef96110a708aedab221ecf37ab0d8
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.11.1
Philippe Coval [Thu, 4 Sep 2014 11:52:13 +0000 (13:52 +0200)]
packaging: Bump to 1.11.1

Change-Id: I197079483c26551555a60f0004d8787ebbd0cfc0
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.11.0
Philippe Coval [Thu, 21 Aug 2014 08:29:03 +0000 (10:29 +0200)]
packaging: Bump to 1.11.0

Drop downstream changes :

409a44c... Enable gles building with efl, and disable SHAD_TEXSAM for gl attraibute
234fe39... Fix ivi building issue
32569f3... Enable installing examples binaries
ebec758... Enable building multiple binary packages

Bug-Tizen: PTREL-536/part
Change-Id: I4e49bba995349fed6b53205dd651affc4c8b4f35
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: manage efl vars in /etc/profile
Philippe Coval [Mon, 25 Aug 2014 11:47:56 +0000 (13:47 +0200)]
packaging: manage efl vars in /etc/profile

Change-Id: Ie6aa19a1d7accab45a88723f053a654e3eff37ae
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: make xdg-shell conditionnal at runtime
Philippe Coval [Thu, 7 Aug 2014 09:40:09 +0000 (11:40 +0200)]
packaging: make xdg-shell conditionnal at runtime

Using env variable : EFL_WAYLAND_USE_XDG_SHELL
(name is inspired from Qt implementation of xdg-shell)

Warning: the variable will be enabled for login shells
so make sure env is set to expect it to be activated
(in doubt: sh -l -c "application" )

Change-Id: I202f276120d0de2245deda6820261398d88c335d
Bug-Tizen: TC-1353/part
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.11.0+beta1
Philippe Coval [Thu, 7 Aug 2014 08:49:00 +0000 (10:49 +0200)]
packaging: Bump to 1.11.0+beta1

Bug-Tizen: PTREL-536/part
Change-Id: Id080d4a9c18e0962cf10ba4d77f3b34559c3784e
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.11.0+alpha1
Philippe Coval [Fri, 1 Aug 2014 12:42:58 +0000 (14:42 +0200)]
packaging: Bump to 1.11.0+alpha1

Bug-Tizen: PTREL-536/part
Change-Id: I7f19c6f9ee878d26583afcf983a63cad50d554c6
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.10.2
Philippe Coval [Tue, 29 Jul 2014 15:40:53 +0000 (17:40 +0200)]
packaging: Bump to 1.10.2

Change-Id: I3f2f01dd0dedd4b79bfd9664a02ba83a50d748ce
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.10.0+tech+preview
Philippe Coval [Thu, 17 Apr 2014 14:01:00 +0000 (16:01 +0200)]
packaging: Bump to 1.10.0+tech+preview

Change-Id: Ida19be7e73d5bbffd04ebc7ff5c3c073a4e78bb1
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.10.2
Philippe Coval [Tue, 29 Jul 2014 10:29:17 +0000 (12:29 +0200)]
packaging: Bump to 1.10.2

Change-Id: Icb8dbd1bb10bf0d33f2bb1f44a3d4f07301a78ea
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoClean spec file for yocto compliance.
Ronan Le Martret [Fri, 25 Jul 2014 09:04:52 +0000 (11:04 +0200)]
Clean spec file for yocto compliance.

Change-Id: I9ad4674e2591a776a828d7cf457a40234df51108
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoRevert "packaging: disable GLib main loop integration"
Stephane Desneux [Wed, 25 Jun 2014 13:37:28 +0000 (15:37 +0200)]
Revert "packaging: disable GLib main loop integration"

This reverts commit d448068edb5acc9ba8023713da4737fa9c8196a1.

Change-Id: I766728f36a326f4f9623b59018468f5c4e8596e7
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agopackaging: disable GLib main loop integration
Manuel Bachmann [Mon, 2 Jun 2014 12:55:46 +0000 (14:55 +0200)]
packaging: disable GLib main loop integration

g_main_loop() integration is buggy, and causes many packages to send
warnings and have 100% CPU usage. Disable it until we have a
clearer insight on this issue.

Change-Id: I0d83b19b2f74aa5c1f6d555f2b829cc9fe44ffff
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agopackaging: Bump to 1.9.3
Philippe Coval [Thu, 17 Apr 2014 11:53:02 +0000 (13:53 +0200)]
packaging: Bump to 1.9.3

Bug-Tizen: PTREL-737
Change-Id: Icaf69cc822b10312bf7def7103f5c949e1533223
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.9.2
Philippe Coval [Tue, 15 Apr 2014 11:32:28 +0000 (13:32 +0200)]
packaging: Bump to 1.9.2

Bug-Tizen: PTREL-737
Change-Id: Ifd686adcb56cb8c264aa14fdd7db1178739ef17d
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: add ephysics using bullet
Philippe Coval [Mon, 24 Mar 2014 11:12:56 +0000 (12:12 +0100)]
packaging: add ephysics using bullet

upstream suggested to have it enabled to enhance edje support

Change-Id: I57f30d92abbc76e9ca2ccbb315fd57ec2351baec
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Bump to 1.9.1
Philippe Coval [Mon, 17 Mar 2014 12:21:37 +0000 (13:21 +0100)]
packaging: Bump to 1.9.1
(upstream tag v1.9.1)

Change-Id: I01ebea80870a5dfab3d26ee847773db90585979d
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: Adapted to build on various graphics configuration
Philippe Coval [Tue, 11 Mar 2014 16:56:48 +0000 (17:56 +0100)]
packaging: Adapted to build on various graphics configuration

Checked on Tizen:Common (ex-Generic) (x11, wl, xwl...)

Bug-Tizen: PTREL-737
Change-Id: I8663d6d804c2ed207b4da2d67ac853496ecb2789
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoUpdate package version to 1.9.0
Eduardo Lima (Etrunko) [Tue, 25 Feb 2014 20:13:17 +0000 (17:13 -0300)]
Update package version to 1.9.0

Change-Id: If82fe12f0ae64752ec0681f9c713052d9fca36d2
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
9 years agopackaging: link on gstreamer-1.0 (was 0.10) (emotion)
Philippe Coval [Thu, 6 Feb 2014 13:34:03 +0000 (14:34 +0100)]
packaging: link on gstreamer-1.0 (was 0.10)  (emotion)

Bug-Tizen: TIVI-2578/part (Enable to build newest EFL 1.8 on IVI)
Bug-Tizen: PTREL-626/part (efl should support gstreamer 1.0)

Change-Id: Id09c50e340150c3759959864eb0df3b78e1c2add
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: workaround: disable xgesture temporary
Philippe Coval [Fri, 7 Feb 2014 14:48:36 +0000 (15:48 +0100)]
packaging: workaround: disable xgesture temporary

Change-Id: Icf29c11405f742b0f73c1deda7da0dbb740b3ff2
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoEnable building multiple binary packages
Eduardo Lima (Etrunko) [Wed, 5 Feb 2014 17:05:49 +0000 (15:05 -0200)]
Enable building multiple binary packages

With this change we now generate one package for each EFL module, just
as it was done in the 1.7.x series when we had different repositories.
This keeps the compatibility of the existing packages and removes the
need of specifying "Provides" and "Obsoletes" tags.

There is one additional package, efl-data, which ships the localization
files and Efl_Config.h. This file contains only information about the
version.

Change-Id: Iab11c00d07663159d18af24035c8fb7ad6be23dd
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
9 years agoEnable installing examples binaries
Eduardo Lima (Etrunko) [Tue, 25 Feb 2014 21:13:21 +0000 (18:13 -0300)]
Enable installing examples binaries

Change-Id: If903ba43c2c6591bd68c841b326d0e5a61dcdc10
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
9 years agoFix ivi building issue
Quanxian Wang [Fri, 25 Oct 2013 08:23:04 +0000 (16:23 +0800)]
Fix ivi building issue

Change-Id: Ide344ca8061311e403a0878a78743e666153106b
Signed-off-by: Quanxian Wang <quanxian.wang@intel.com>
9 years agoEnable gles building with efl, and disable SHAD_TEXSAM for gl attraibute
Quanxian Wang [Tue, 15 Oct 2013 03:34:55 +0000 (11:34 +0800)]
Enable gles building with efl, and disable SHAD_TEXSAM for gl attraibute

9 years agopackaging: Add spec file and enable Tizen build
José Roberto de Souza [Wed, 31 Jul 2013 22:19:03 +0000 (19:19 -0300)]
packaging: Add spec file and enable Tizen build

Change-Id: Ib4498e8fa18a2491cff764f43867679c1e364471
Important: Xprint was not found in Tizen repo, so it was commented in configure.ac

9 years agopackaging: use upstream tag based on version
Philippe Coval [Wed, 5 Feb 2014 16:45:39 +0000 (14:45 -0200)]
packaging: use upstream tag based on version

Change-Id: I1b0c5a9a420ffbec6822386b778fdef4dca7234b
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agorelease: Update NEWS and bump version for 1.13.1 release upstream/1.13.1 v1.13.1
Stefan Schmidt [Thu, 26 Feb 2015 12:26:59 +0000 (13:26 +0100)]
release: Update NEWS and bump version for 1.13.1 release

9 years agoeina + ecore - fix main loop thread id tracking on fork
Carsten Haitzler (Rasterman) [Thu, 26 Feb 2015 10:45:53 +0000 (19:45 +0900)]
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

9 years agoEvas GL: Fix leak of surfaces with GLES 1.1
Jean-Philippe Andre [Wed, 25 Feb 2015 05:58:19 +0000 (14:58 +0900)]
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

9 years agoEvas GL:Add evasgl extension macro '_EVASGL_EXT_DRVNAME_PRIVATE'.
Minkyoung Kim [Mon, 23 Feb 2015 12:31:41 +0000 (21:31 +0900)]
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>
9 years agoEvas GL: Fix issues in gles extensions initialisation
mythri.venugopal [Mon, 23 Feb 2015 10:39:42 +0000 (19:39 +0900)]
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>
9 years agoee-win32 probably might compile now
Mike Blumenkrantz [Thu, 12 Feb 2015 21:21:52 +0000 (16:21 -0500)]
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

9 years agoecore/drm: Fix libinput >= 0.8 check
Stefan Schmidt [Thu, 12 Feb 2015 17:37:42 +0000 (18:37 +0100)]
ecore/drm: Fix libinput >= 0.8 check

We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1

@fix

9 years agoedje_cc: Avoid segfault when strcmp NULL items
Stefan Schmidt [Thu, 12 Feb 2015 14:24:27 +0000 (15:24 +0100)]
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

9 years agoecore-drm: Fix bad German formatting ;)
Chris Michael [Thu, 12 Feb 2015 17:09:47 +0000 (12:09 -0500)]
ecore-drm: Fix bad German formatting ;)

Summary: No functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore/drm: Add support for changed libinput API since 0.8
Stefan Schmidt [Thu, 12 Feb 2015 17:01:55 +0000 (18:01 +0100)]
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

9 years agoecore-drm should not use sscanf when getting logind vt
Mike Blumenkrantz [Tue, 10 Feb 2015 21:23:17 +0000 (16:23 -0500)]
ecore-drm should not use sscanf when getting logind vt

this should be more robust for when something like "/dev/tty4" is passed

@fix

9 years agoEvas masking: Force BLEND mode in case of image masking (GL)
Jean-Philippe Andre [Tue, 10 Feb 2015 09:18:05 +0000 (18:18 +0900)]
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

9 years agoEvas masking: Fix potential issues with map & masking
Jean-Philippe Andre [Mon, 9 Feb 2015 12:34:04 +0000 (21:34 +0900)]
Evas masking: Fix potential issues with map & masking

These bugs have not been observed but the code logic did not
make sense.

@fix

9 years agoEvas masking: Fix some garbage pixels with the SW engine
Jean-Philippe Andre [Mon, 9 Feb 2015 12:16:06 +0000 (21:16 +0900)]
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

9 years agorelease: Update NEWS and bump version for 1.13.0 release v1.13.0
Stefan Schmidt [Mon, 9 Feb 2015 12:12:51 +0000 (13:12 +0100)]
release: Update NEWS and bump version for 1.13.0 release

9 years agoevas - gl engine - pipe renderer - disabling of unused arrays for lines
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 17:28:36 +0000 (02:28 +0900)]
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.

9 years agoevas - gl enigne - mask logic fix with texa draw arrays
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 17:27:00 +0000 (02:27 +0900)]
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

9 years agoEvas GL: Fix GLES1.1 extension initialisation bug
mythri.venugopal [Mon, 9 Feb 2015 05:23:29 +0000 (14:23 +0900)]
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>
9 years agoefl: interface are still clearly in beta.
Cedric BAIL [Sat, 7 Feb 2015 12:46:12 +0000 (13:46 +0100)]
efl: interface are still clearly in beta.

9 years agoevil: fix initialisation.
michelle legrand [Sat, 7 Feb 2015 12:45:05 +0000 (13:45 +0100)]
evil: fix initialisation.

Eina_Log is not available at this point of the initialisation.

9 years agoUpdate russian translation
Igor Murzov [Sat, 7 Feb 2015 12:38:49 +0000 (15:38 +0300)]
Update russian translation

9 years agoforgotten ee bit from previous commit
Mike Blumenkrantz [Fri, 6 Feb 2015 23:25:01 +0000 (18:25 -0500)]
forgotten ee bit from previous commit

9 years agoecore evas should not crash when unsetting pointer
Mike Blumenkrantz [Fri, 6 Feb 2015 22:54:08 +0000 (17:54 -0500)]
ecore evas should not crash when unsetting pointer

ref D812

disappointed.jpg

9 years agoEvas masking: Add forgotten file in previous commit
Jean-Philippe Andre [Fri, 6 Feb 2015 03:35:12 +0000 (12:35 +0900)]
Evas masking: Add forgotten file in previous commit

9 years agoEvas masking: Also fix map masking with non-bgra images
Jean-Philippe Andre [Fri, 6 Feb 2015 03:31:24 +0000 (12:31 +0900)]
Evas masking: Also fix map masking with non-bgra images

9 years agoecore-drm: Remove unused variable
Chris Michael [Thu, 5 Feb 2015 16:21:36 +0000 (11:21 -0500)]
ecore-drm: Remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix issue with ecore_drm_output_crtc_Find sending back an
Chris Michael [Thu, 5 Feb 2015 16:06:41 +0000 (11:06 -0500)]
ecore-drm: Fix issue with ecore_drm_output_crtc_Find sending back an
invalid id. Fix T2086

Summary: In order to avoid getting returned an invalid id, we should
not be checking the currently active encoder and crtc combination
because outputs may have changed, encoders/crtc combinations could
have changed, etc, etc.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore_cocoa: Handle more special characters and capital characters.
Michelle Legrand [Thu, 22 Jan 2015 10:24:42 +0000 (11:24 +0100)]
ecore_cocoa: Handle more special characters and capital characters.

This improve the situation and only affect Ecore_Cocoa code base by
detecting a useful charactere.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: add ecore event on mouse scroll for cocoa.
Michelle Legrand [Thu, 29 Jan 2015 12:56:49 +0000 (13:56 +0100)]
ecore_cocoa: add ecore event on mouse scroll for cocoa.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: replace "keyname" by "key".
Michelle Legrand [Wed, 28 Jan 2015 14:11:01 +0000 (15:11 +0100)]
ecore_cocoa: replace "keyname" by "key".

Ecore_Event_Key attribute "key" cannot be NULL. This
raise a segmentation fault in Enventor when hitting on
modifier keys.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: create a log domain and use Eina_Log.
Nicolas Aguirre [Thu, 29 Jan 2015 16:08:23 +0000 (17:08 +0100)]
ecore_cocoa: create a log domain and use Eina_Log.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: don't send mouse event with negative x or y values.
Nicolas Aguirre [Thu, 29 Jan 2015 16:04:28 +0000 (17:04 +0100)]
ecore_cocoa: don't send mouse event with negative x or y values.

With cocoa you may have negatives values when Mouse Down or Up. This
changes fix this behavior by sending mouse event only if x and y are
inside the ecore_evas space.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: add new events type for multiple window support.
Romain Perier [Thu, 15 Jan 2015 15:45:32 +0000 (16:45 +0100)]
ecore_cocoa: add new events type for multiple window support.

This commit adds a method in Ecore_Cocoa_Window to be able to retrieve an unique
identifier for each window. It adds new events type and modify existing ones to
pass these windows identifiers through the event call chain. Resize, GotFocus and
LotFocus events are also updated to pass these identifiers to event handlers.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: use the right Cocoa notification handlers for focus events
Romain Perier [Thu, 15 Jan 2015 16:20:16 +0000 (17:20 +0100)]
ecore_cocoa: use the right Cocoa notification handlers for focus events

Don't use NSAppKitDefined events subtype for focus events, which contain NULL
window object most of the time. Use the NSWindowDelegate method designed for that
purpose instead. It fixes random focus issues in windows which was caused by
incorrect window identifier not found in ecore_evas_cocoa.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: add on the fly resizing support.
Romain Perier [Thu, 15 Jan 2015 16:05:29 +0000 (17:05 +0100)]
ecore_cocoa: add on the fly resizing support.

Until now, video_resize events was received only when application returned control
to the event loop. When a window is resized dynamically a lot of video_resize
events are emitted from EcoreCocoaWindow::windowDidResize and not handled
immediatly, only when the main thread is back to the ecore main loop. This is why
there are not refreshed window areas. Call ecore_main_loop_iterate() from
windowDidResize solves the issue.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: fix _nsevent_window_is_type_of() type check
Romain Perier [Tue, 23 Dec 2014 16:51:51 +0000 (17:51 +0100)]
ecore_cocoa: fix _nsevent_window_is_type_of() type check

isKindOfClass should receive an instance of a class and a class as arguments and
not two class. It fixes Mouse events sent to a window on OSX.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: handle more special characters and capital characters.
Michelle Legrand [Thu, 22 Jan 2015 10:24:42 +0000 (11:24 +0100)]
ecore_cocoa: handle more special characters and capital characters.

This patch is self contained for Mac OS X and improve its keyboard handling.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: fix eina_test_rwlock test on OSX.
pierre lamot [Wed, 21 Jan 2015 11:04:37 +0000 (12:04 +0100)]
eina: fix eina_test_rwlock test on OSX.

add a reimplementation of clock_gettime for OSX within the test in
order to be able to test eina_condition_timedwait

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore: check that a test doesn't enter in an infitie loop.
pierre lamot [Wed, 21 Jan 2015 10:27:56 +0000 (11:27 +0100)]
ecore: check that a test doesn't enter in an infitie loop.

check that ecore_test_ecore_thread_eina_thread_queue_t6 doesn't
enter in an infinite loop if something goes wrong, if the main thread
doesn't receive the message number 10000

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: fix semaphore initialisation
pierre lamot [Wed, 21 Jan 2015 10:05:41 +0000 (11:05 +0100)]
eina: fix semaphore initialisation

This patch fix the semaphore initialisation on posix plateform

there was a preconditon test which returned the semaphore
uninitialised when count_init was 1, this caused the semaphore to
be unusable on OSX plateform. Furthermore, it seems that we need to
unlink the semaphore before its initialisation on OSX as there seems
to have some kind of persistence of the semaphore accross execution.

warning, this patch change the signification of the parametter
count_init on linux plateform, this parametter is now consistent on
every plateform, with the meaning of setting the initial count value
of the semaphore.

This used to be on linux 1 -> the semaphore is shared and initialised
at 1 and 0 -> the semaphore is not initialised, thus, by side effect
not shared and initialised at 0.

This patch set on linux plateform the semaphore as systematically
shared

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: jpeg decoders alows a difference of 1 bit per component.
pierre lamot [Tue, 20 Jan 2015 14:39:08 +0000 (15:39 +0100)]
evas: jpeg decoders alows a difference of 1 bit per component.

The required precision of decompressed images allows a difference of
1 bit for each pixel compoment [1] . Such difference has been noticed
on OSX when using libjpeg9 from macports.

evas_suite images tests has been modified to compare jpeg images with
this tolerance. Other image formats are still compare with exact
precision

[1] http://en.wikipedia.org/wiki/JPEG#Required_precision

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore: fix path comparison in Ecore_File test suite.
pierre lamot [Thu, 11 Dec 2014 13:09:06 +0000 (14:09 +0100)]
ecore: fix path comparison in Ecore_File test suite.

The Ecore_File test suite was comparing path with strcmp,
which can lead to incorect comparison in some case (comparing
realpath and expected path for instance)

This patch adds a function to compare paths within this tests. Paths
are compared by getting the "realpath" of each operand

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: memcmp can't be used to compare timeval due to potential padding on 64bit archi...
pierre lamot [Thu, 11 Dec 2014 10:21:50 +0000 (11:21 +0100)]
eina: memcmp can't be used to compare timeval due to potential padding on 64bit architecture.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: epp - fix build of edje file in cas of recursive includes.
Nicolas Aguirre [Tue, 3 Feb 2015 09:44:11 +0000 (10:44 +0100)]
edje: epp - fix build of edje file in cas of recursive includes.

Amitesh Singh fixed this issue with Commit
e66e132d9dabecb8273fe3962099d4523fef1055, but this commit has been reverted
recently, by a commit freeing ressources
(6d0b834a76c3301bf4c4b29752f902dbe8a8525e). It's clear that we are leaking here
if we remove the free, but there is also a valgrind error when this memory is
freed. After trying to debug and understand the code of epp, i can only
propose to remove this free, we will need to include a lot of files before this
memory leak could be visible.

It is also not a real problem, the memory leak only concern the file name passed
in the include directive and epp is started per file anyway. It is unlikely to
create any real life problem and we better spend our time on more pressing matter.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - fix order of transformation while updating bounding object.
Oleksandr Shcherbina [Thu, 5 Feb 2015 14:25:29 +0000 (15:25 +0100)]
evas: Evas_3D - fix order of transformation while updating bounding object.

Summary:
The order of tranformation changed to scale, orientation, position as
in some cases it can lead to incorrect value for the bounding box.

@fix

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - fix evas_3d_scene_pick when trying to get empty texcoords from mesh.
Oleksandr Shcherbina [Thu, 5 Feb 2015 14:17:43 +0000 (15:17 +0100)]
evas: Evas_3D - fix evas_3d_scene_pick when trying to get empty texcoords from mesh.

Summary:
During filling evas pick public data by API evas_3d_scene_pick
segfault can occur if mesh was created without texcoords.
See functions - _pick_data_mesh_add, _pick_data_texcoord_update

@fix

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeldbus: eina_value not allocated from mempool.
Guilherme Lepsch [Thu, 5 Feb 2015 14:15:37 +0000 (15:15 +0100)]
eldbus: eina_value not allocated from mempool.

Summary: Eina_Value must be allocated with eina_value_new() to be freed by eina_value_free().
@fix

Reviewers: felipealmeida, larryolj, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - fix when bounding sphere is large, situation with incorrect frustum...
Bogdan Devichev [Thu, 5 Feb 2015 14:06:10 +0000 (15:06 +0100)]
evas: Evas_3D - fix when bounding sphere is large, situation with incorrect frustum calculation was possible.

Summary: When center of bounding sphere was out of frustum and number of intersections between bs and planes of frustum was more then 3, objects disappeared.
@fix

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: Eina_File - add test case for path resolution.
Daniel Hirt [Thu, 5 Feb 2015 14:01:12 +0000 (15:01 +0100)]
eina: Eina_File - add test case for path resolution.

Summary:
This is a follow-up to the 7cbf22212f0c3292dbd1919f4cdd15802e9b9d84
revert commit. It's a bit late, as the issue has already been fixed with
the later 7143bd7fb5196f97003216528bfbfb8bec4826bd commit.

This test checks eina_file_sanitize "../" case with absolute paths (i.e.
that start with "/"), and should fail prior the revert mentioned above.

Should come up with more tests like this one.

Reviewers: stefan_schmidt, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: Eina_Value - use eina_mempool_free to cleanup the memory
vivek [Thu, 5 Feb 2015 13:57:14 +0000 (14:57 +0100)]
eina: Eina_Value - use eina_mempool_free to cleanup the memory

Summary:
The new value is allocated using Eina_Mempool, it should be freed using
eina_mempool, not using libc free.

@fix

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

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas masking: Fix GL masking with maps and stuff
Jean-Philippe Andre [Thu, 5 Feb 2015 13:27:27 +0000 (22:27 +0900)]
Evas masking: Fix GL masking with maps and stuff

This fixes an issue spotted after the previous fix.
Passing the Y-invert flag is necessary because in the usual
case a map is rendered with Y-invert (OpenGL coords vs. Evas coords)
but in case a map is rendered in an FBO (another map's surface)
then Y-invert must be unset.

9 years agoEvas masking: Fix another issue with masking
Jean-Philippe Andre [Thu, 5 Feb 2015 07:11:45 +0000 (16:11 +0900)]
Evas masking: Fix another issue with masking

Fixes rendering in the following case:
- Object with a map has a mask
- Object is child of smart object which also has a map (eg. transit)
--> Masking did not apply to the children before this patch.

NOTE: This works fine in SW but still didn't work in GL, see the
      following commit...

9 years agoelua: correct eo inheritance behavior
Daniel Kolesa [Thu, 5 Feb 2015 11:10:29 +0000 (11:10 +0000)]
elua: correct eo inheritance behavior

Now we try to treat first inherit as a parent and everything else as a mixin.
If the first inherit is not a class (interface or mixin), every inherit is
treated as a mixin.

@fix

9 years agoeldbus: fix memory leak.
Guilherme Lepsch [Thu, 5 Feb 2015 10:28:36 +0000 (11:28 +0100)]
eldbus: fix memory leak.

Summary:

@fix

Reviewers: felipealmeida, larryolj, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEcore_con: fix initialisation clean up and avoid memory leak.
Srivardhan Hebbar [Thu, 5 Feb 2015 10:26:58 +0000 (11:26 +0100)]
Ecore_con: fix initialisation clean up and avoid memory leak.

Summary: When ecore_init failed or when failed to initialize ecore_con_log_domain, then evil_shutdown was not called. So cleaned up code and added the fix.

@fix

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevil: prevent _evil_init_count from going below zero.
Srivardhan Hebbar [Thu, 5 Feb 2015 10:24:36 +0000 (11:24 +0100)]
evil: prevent _evil_init_count from going below zero.

Summary: _evil_init_count should never go below zero. This can occur, if a developer mistakenly calls evil_shutdown before calling evil_init. So fixing the code so that it never goes below zero.

Reviewers: cedric

Subscribers: cedric

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

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