platform/upstream/efl.git
9 years agoecore-buffer: change the passing argument of tbm_surface_internal_create_with_bos... 77/40477/1 submit/tizen/20150604.065932
Seunghun Lee [Tue, 2 Jun 2015 07:17:38 +0000 (16:17 +0900)]
ecore-buffer: change the passing argument of tbm_surface_internal_create_with_bos() by updating API of libtbm.

This patch is for updating libtbm's API.

Change-Id: I83673bc69ffde3216773ff5b344b08d91996617b

9 years agoecore-buffer: remove forward references to enum type for c++. 49/40449/1 submit/tizen/20150604.042838
Seunghun Lee [Thu, 4 Jun 2015 01:48:58 +0000 (10:48 +0900)]
ecore-buffer: remove forward references to enum type for c++.

Change-Id: I7ffd4d8eaae5ace5db45d00ab699ab10c67859cb

9 years agoecore-buffer: fix wrong check for failure case 14/40314/4
Seunghun Lee [Tue, 2 Jun 2015 05:42:33 +0000 (14:42 +0900)]
ecore-buffer: fix wrong check for failure case

Change-Id: I3e59d41166b4c8180f643c7b825836186ed469a6

9 years agoecore-buffer: fix formatting 13/40313/4
Seunghun Lee [Tue, 2 Jun 2015 05:40:33 +0000 (14:40 +0900)]
ecore-buffer: fix formatting

Change-Id: I57bc9fe315b749bbaf512f18db4668ed59b77897

9 years agoecore-buffer: fix memory leak when failed to allocate bo. 12/40312/5
Seunghun Lee [Tue, 2 Jun 2015 05:36:56 +0000 (14:36 +0900)]
ecore-buffer: fix memory leak when failed to allocate bo.

first allocate the memory for bo, and then if failed allocation for bo_data,
then just free "bo" and returning.

Change-Id: I9f4eb8f49731ea253d6fbcfacbb17b6a2e15d718

9 years agoRevert "ecore-buffer: change the passing argument of tbm_surface_internal_create_with... 16/40416/1
Seunghun Lee [Wed, 3 Jun 2015 11:53:09 +0000 (20:53 +0900)]
Revert "ecore-buffer: change the passing argument of tbm_surface_internal_create_with_bos() by updating API of libtbm."

This reverts commit 6f43e8a6cd13afe3b4406263e3784fa1419172e3.

Change-Id: I5a3de7530653b7dbd4c7974a362cac17f6f5b02f

9 years agoecore-buffer: change the passing argument of tbm_surface_internal_create_with_bos... 04/40404/2 submit/tizen/20150603.104901
Seunghun Lee [Tue, 2 Jun 2015 07:17:38 +0000 (16:17 +0900)]
ecore-buffer: change the passing argument of tbm_surface_internal_create_with_bos() by updating API of libtbm.

This patch is for updating libtbm's API.

Change-Id: I1c2fb45e974ae67c354b49ad5536166a389d694b

9 years agoecore-buffer: fix inconsistency in return value. 11/40311/2
Seunghun Lee [Tue, 2 Jun 2015 05:34:37 +0000 (14:34 +0900)]
ecore-buffer: fix inconsistency in return value.

Change-Id: I8cd7578ebb990859084f8357a59088aefeaf3d53

9 years agoecore-buffer: remove dependency on ecore-x from ecore-buffer. 10/40310/2
Seunghun Lee [Tue, 2 Jun 2015 05:32:17 +0000 (14:32 +0900)]
ecore-buffer: remove dependency on ecore-x from ecore-buffer.

Change-Id: I6b6638f5e4470d13a09c37b9ca79d4eca084397c

9 years agoImplementation 'focus_skip_unset' request for wl_surface 09/40309/2 submit/tizen/20150603.021106
Duna Oh [Tue, 2 Jun 2015 07:16:59 +0000 (16:16 +0900)]
Implementation 'focus_skip_unset' request for wl_surface

Change-Id: I086500b978126b501ffb239ccb6b64944fd208ee
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoImplementation 'focus_skip_set' request for wl_surface 94/40294/2
Duna Oh [Tue, 2 Jun 2015 04:04:50 +0000 (13:04 +0900)]
Implementation 'focus_skip_set' request for wl_surface

Change-Id: Ide885bcb2211d39a6b17459a5662026db185528f
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoDon't set EINA_LOG_LEVEL_DBG to default eina_log level 88/40288/2
Boram Park [Tue, 2 Jun 2015 02:06:10 +0000 (11:06 +0900)]
Don't set EINA_LOG_LEVEL_DBG to default eina_log level

Change-Id: I08127586f40425def8afff1647b442e113d7fe8a

9 years agoMerge ":wecore_wayland: Add key router feature related with client side. this feature...
Ji-Youn Park [Mon, 1 Jun 2015 07:34:02 +0000 (00:34 -0700)]
Merge ":wecore_wayland: Add key router feature related with client side. this feature is not freezed, so it can be changed." into tizen

9 years ago:wecore_wayland: Add key router feature related with client side. 70/40170/7 accepted/tizen/common/20150602.072655 accepted/tizen/mobile/20150602.090912 accepted/tizen/tv/20150602.090846 accepted/tizen/wearable/20150602.090859 submit/tizen/20150601.074813
Ji-Youn Park [Fri, 29 May 2015 17:42:12 +0000 (02:42 +0900)]
:wecore_wayland: Add key router feature related with client side.
this feature is not freezed, so it can be changed.

Change-Id: I1255d995d805cd296f7c455bbd0609a311bccbe6

9 years agoadd ECORE_DRM_DEVICE_USER_HANDLER to disable default drm event handler 04/40204/2 accepted/tizen/common/20150602.074425 accepted/tizen/mobile/20150602.090835 accepted/tizen/tv/20150602.090802 accepted/tizen/wearable/20150602.090824 submit/tizen/20150601.062754
Boram Park [Wed, 20 May 2015 11:12:21 +0000 (20:12 +0900)]
add ECORE_DRM_DEVICE_USER_HANDLER to disable default drm event handler

Change-Id: Ibd4a830676c7f330b06f4d090b6fc95a2c496ed1

9 years agoMerge "Fix issue wrong surrounding text returns when there is selection area" into... submit/tizen/20150601.010616
Jihoon Kim [Mon, 1 Jun 2015 01:04:20 +0000 (18:04 -0700)]
Merge "Fix issue wrong surrounding text returns when there is selection area" into tizen

9 years agoFix issue wrong surrounding text returns when there is selection area 03/40103/2
Jihoon Kim [Fri, 29 May 2015 04:16:49 +0000 (13:16 +0900)]
Fix issue wrong surrounding text returns when there is selection area

@fix

Change-Id: Iff89b396c1a69d2879b9f710eb41e58e9d377b87

9 years agoImplementation 'position_set' request for wl_surface 94/40094/2 accepted/tizen/common/20150602.074339 accepted/tizen/mobile/20150602.090611 accepted/tizen/tv/20150602.090532 accepted/tizen/wearable/20150602.090547 submit/tizen/20150529.120250
Duna Oh [Fri, 29 May 2015 03:34:33 +0000 (12:34 +0900)]
Implementation 'position_set' request for wl_surface

Ecore_wl_window send 'x,y' position to E19-server

Change-Id: Ie139e0c3e16994980eec78fcd9d6e4e87d2f70ea
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoFix to the bug of create egl window surface 60/40060/3 accepted/tizen/common/20150529.082248 accepted/tizen/mobile/20150529.083528 accepted/tizen/tv/20150529.083450 accepted/tizen/wearable/20150529.083503 submit/tizen/20150528.130135
Wonsik Jung [Thu, 28 May 2015 10:55:17 +0000 (19:55 +0900)]
Fix to the bug of create egl window surface

@fix - When widow surface is created for Evas GL capa testing, invalid window id is used.
It is side effect of previoud patch

Change-Id: I7af2c43a87a317f4c90278a0b38e1ab7e46cd24c

9 years agoecore_imf/wayland: support input language mode in wayland text input 37/40037/1 accepted/tizen/common/20150528.081140 accepted/tizen/mobile/20150528.113719 accepted/tizen/tv/20150528.113652 accepted/tizen/wearable/20150528.113710 submit/tizen/20150528.044547
Jihoon Kim [Thu, 28 May 2015 04:13:25 +0000 (13:13 +0900)]
ecore_imf/wayland: support input language mode in wayland text input

@feature

Change-Id: I6bb0094db098060faa04458c75a23bad18093c31

9 years agoecore_imf/wayland: support input hint in wayland text input 34/40034/1
Jihoon Kim [Thu, 28 May 2015 02:00:20 +0000 (11:00 +0900)]
ecore_imf/wayland: support input hint in wayland text input

@feature

Change-Id: I29131fda6cfb9adec95c71d85b4e4fc72cc04d5a

9 years agoecore_imf/wayland: support password mode in wayland text input 29/40029/1
Jihoon Kim [Thu, 28 May 2015 01:05:11 +0000 (10:05 +0900)]
ecore_imf/wayland: support password mode in wayland text input

@feature

Change-Id: Ib90217c829d063882698d691d56af1d0ba8f6954

9 years agoecore_imf/wayland: support autocapital mode in wayland text input 70/39970/1 accepted/tizen/common/20150527.134934 accepted/tizen/mobile/20150528.003932 accepted/tizen/tv/20150528.003858 accepted/tizen/wearable/20150528.003910 submit/tizen/20150527.063043
Jihoon Kim [Wed, 27 May 2015 05:39:37 +0000 (14:39 +0900)]
ecore_imf/wayland: support autocapital mode in wayland text input

@feature

Change-Id: Iba85168256dc018ddcfbc3c5c28cf7d1484871c8

9 years agoecore-drm: add support for libinput device added and deleted events 84/39884/1 accepted/tizen/common/20150526.081153 accepted/tizen/mobile/20150526.094841 accepted/tizen/tv/20150526.094320 accepted/tizen/wearable/20150526.094623 submit/tizen/20150526.041002
Gwanglim Lee [Tue, 26 May 2015 04:06:28 +0000 (13:06 +0900)]
ecore-drm: add support for libinput device added and deleted events

Change-Id: I38fb9483ed1a30de630dc44bdb8164db896dec80

9 years agoecore_x: Add key router feature related with client side. 71/39671/5 accepted/tizen/common/20150521.125548 accepted/tizen/mobile/20150522.005633 accepted/tizen/tv/20150522.004731 accepted/tizen/wearable/20150522.005518 submit/tizen/20150520.110027
Ji-Youn Park [Wed, 13 May 2015 11:47:36 +0000 (20:47 +0900)]
ecore_x: Add key router feature related with client side.
Currently app only grab key using Xgrabkey.
Keyrouter will support several keygrab mode and apps can use it.

Change-Id: I051185968c00dc45002c1608ce16415285273dd4
Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>
Conflicts:
src/lib/ecore_x/Ecore_X.h
src/lib/ecore_x/Ecore_X_Atoms.h
src/lib/ecore_x/ecore_x_atoms_decl.h
src/lib/ecore_x/xlib/ecore_x_e.c
origin: upstream

9 years agoecore-buffer: check if NULL before using function pointer 70/39670/2
Seunghun Lee [Wed, 20 May 2015 13:46:56 +0000 (22:46 +0900)]
ecore-buffer: check if NULL before using function pointer

Change-Id: Iee774c7ab702b850c3de8f8de49b361af28cb49c

9 years agoecore-buffer: fix the bug finding backend using argument 69/39669/1
Seunghun Lee [Wed, 20 May 2015 13:45:18 +0000 (22:45 +0900)]
ecore-buffer: fix the bug finding backend using argument

Change-Id: I1c084f5d626ceaf6e9dd95ed9862fa008370464c

9 years agoecore-buffer: fix formatting and typo 68/39668/1
Seunghun Lee [Wed, 20 May 2015 13:43:38 +0000 (22:43 +0900)]
ecore-buffer: fix formatting and typo

Change-Id: I020543aee469209547b92e7da4dac260a6265e5e

9 years agoecore-buffer: Use tbm API lower version. 52/39652/1
Seunghun Lee [Wed, 20 May 2015 10:52:32 +0000 (19:52 +0900)]
ecore-buffer: Use tbm API lower version.

tbm backend used libtbm's latest version API set.
but, libtbm is not updated yet, so we should use lower version.

Change-Id: Iddcbafdd74bd2abcb7b68c33f55ba146b09ab7ea

9 years agoecore_imf/wayland: support feature to change layout of virtual keyboard 49/39649/1
Jihoon Kim [Wed, 20 May 2015 09:47:58 +0000 (18:47 +0900)]
ecore_imf/wayland: support feature to change layout of virtual keyboard

Change-Id: I7826d6bbcd17be17537599ae23a64481c8d48548

9 years agoecore_imf/wayland: hide input panel explicitly in focus-out handler 00/39600/1 submit/tizen/20150519.102410
Jihoon Kim [Tue, 19 May 2015 10:19:54 +0000 (19:19 +0900)]
ecore_imf/wayland: hide input panel explicitly in focus-out handler

Change-Id: I9b5a34de849913f3becc650ca3ccaf8bc29f8c72

9 years agoremove 'transient_for' protocol from tizen_surface_extension 75/39575/1 submit/tizen/20150519.035408
Duna Oh [Tue, 19 May 2015 02:38:00 +0000 (11:38 +0900)]
remove 'transient_for' protocol from tizen_surface_extension

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Id992761a72b28cccf7e3bdc0ef9837d2a9fd7a1a

9 years agoremove execute permissions
Gwanglim Lee [Mon, 18 May 2015 12:38:08 +0000 (21:38 +0900)]
remove execute permissions

Change-Id: I29083260a3d15906c518a111ac5000f8e14832c1

9 years agoremove place_below_parent from tizen_surface_extension 45/39545/1
Boram Park [Mon, 18 May 2015 12:26:26 +0000 (21:26 +0900)]
remove place_below_parent from tizen_surface_extension

Change-Id: I8782598df10fe0e03b499f498e13af5407326cc7

9 years agosupport 'transient_for' protocol 26/39526/3
Duna Oh [Mon, 18 May 2015 07:38:26 +0000 (16:38 +0900)]
support 'transient_for' protocol

Add 'tizen_surface_extension', 'tizen_resource' interfaces

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ibffb7da647a66ba38c9acce42cb58625c017805e

9 years agoecore-buffer: Add intial ecore-buffer library 97/39397/10
Seunghun Lee [Thu, 14 May 2015 10:29:24 +0000 (19:29 +0900)]
ecore-buffer: Add intial ecore-buffer library

Change-Id: Ie1a7bef8f5d31ab45814f4682cb7ee4c1c0efc46

9 years agoecore-wayland: Add a grab_count variable for synchronization wl_input_grab/ungrab... 10/39510/2 accepted/tizen/common/20150520.084028 accepted/tizen/mobile/20150519.084102 accepted/tizen/tv/20150519.084028 accepted/tizen/wearable/20150519.084044 submit/tizen/20150518.072938
jhyuni.kang [Mon, 18 May 2015 04:04:37 +0000 (13:04 +0900)]
ecore-wayland: Add a grab_count variable for synchronization wl_input_grab/ungrab with pointer and touch event

Change-Id: I06fdcc2ced0108b306a9079a6016804e4ce15f07

9 years agoCreate Wl surface for evas gl capability testing 67/39267/3 accepted/tizen/common/20150513.083729 accepted/tizen/mobile/20150514.051108 accepted/tizen/tv/20150513.105551 accepted/tizen/wearable/20150513.110458 submit/tizen/20150513.035729
Wonsik Jung [Tue, 12 May 2015 08:30:48 +0000 (17:30 +0900)]
Create Wl surface for evas gl capability testing

@fix - Current Evas GL native egl  surface is created using wl surface of Evas Wayland EGL Backend
If this wl surface is deleted, Evas GL native egl surface will be invalid.
To fix, this patch has the creation of new wl surface for Evas GL.
It is similar to XOrg's Evas GL.

Change-Id: I0a9b1434a51ae80ec882c3db6212081d92ebe2b7

9 years agoEvas GL: fix bug related with alignment 26/39326/1
Ji-Youn Park [Wed, 13 May 2015 05:41:44 +0000 (14:41 +0900)]
Evas GL: fix bug related with alignment
if pixel size is not 32 bit, alignment have to be changed.

Change-Id: I6258637dd859c8de8162542e8f95c85052c623d5
Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>
9 years agoecore_evas_wayland: prevent duplicated shutdown for ecore_wl 16/39316/2
MinJeong Kim [Wed, 13 May 2015 03:11:27 +0000 (12:11 +0900)]
ecore_evas_wayland: prevent duplicated shutdown for ecore_wl

Change-Id: I56d41906aa17c360194259defc17a6182b400334
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agocheck if tz_policy exists to avoid segfault 18/39318/1
Boram Park [Wed, 13 May 2015 03:46:14 +0000 (12:46 +0900)]
check if tz_policy exists to avoid segfault

Change-Id: I3ca6d48d0a4a1d6c89dac2192cb8e742a7628a49

9 years agoChange a file 755->644 33/39233/1
jhyuni.kang [Tue, 12 May 2015 04:59:56 +0000 (13:59 +0900)]
Change a file 755->644

Change-Id: I75c0f711fdd39eb34c12fb1af66cc8d20e911158

9 years agoFix to call evas gl init when elm_glview/evas gl is not used. 26/39126/1
Wonsik Jung [Sun, 10 May 2015 06:04:17 +0000 (15:04 +0900)]
Fix to call evas gl init when elm_glview/evas gl is not used.

@fix - Although elm_glview/evas gl is not used, evgl_engine_init() is called.
Because eng_gl_get_pixels_set is always called when evas object image is rendering.
To fix it, the checked code with pixel_getter function is added

Change-Id: I60461dcce3d2dcfae857c9870bf656c3aa9b0b65

9 years agoecore-wayland: Check a key repeat using xkb ruled keycode 42/39042/1 accepted/tizen/common/20150511.125455 accepted/tizen/mobile/20150510.124047 accepted/tizen/tv/20150508.123501 accepted/tizen/wearable/20150508.124710 submit/tizen/20150507.130142
jhyuni.kang [Thu, 7 May 2015 11:33:56 +0000 (20:33 +0900)]
ecore-wayland: Check a key repeat using xkb ruled keycode

Change-Id: Icf432f3fbbfd21bccf7bf2f001999faea04d5890

9 years agoecore-drm: fix double free problem 13/39013/1 accepted/tizen/common/20150507.110609 accepted/tizen/mobile/20150507.143453 accepted/tizen/tv/20150508.052019 accepted/tizen/wearable/20150508.023152 submit/tizen/20150507.063502
Boram Park [Thu, 7 May 2015 01:39:33 +0000 (10:39 +0900)]
ecore-drm: fix double free problem

Change-Id: I935244194a74b2321a11804be371fe9ea59db321

9 years agosend ECORE_WL_EVENT_WINDOW_HIDE when window is destroyed 16/38916/1 accepted/tizen/common/20150504.070802 accepted/tizen/mobile/20150501.022055 accepted/tizen/tv/20150501.021137 accepted/tizen/wearable/20150501.021430 submit/tizen/20150430.090147
Boram Park [Thu, 30 Apr 2015 10:25:25 +0000 (19:25 +0900)]
send ECORE_WL_EVENT_WINDOW_HIDE when window is destroyed

Change-Id: I05ce1ed7810e8ce7155f712d16416bf31812bb81

9 years agosupport ECORE_WL_EVENT_WINDOW_SHOW/HIDE event 07/38907/2
Boram Park [Thu, 30 Apr 2015 05:04:02 +0000 (14:04 +0900)]
support ECORE_WL_EVENT_WINDOW_SHOW/HIDE event

Change-Id: I0d87d60d00e15abd8521242e62a97bebbe02805c

9 years agosupport activate request for wl_surface 06/38906/2
Boram Park [Thu, 30 Apr 2015 05:02:01 +0000 (14:02 +0900)]
support activate request for wl_surface

Change-Id: I2ae3dae66b0f068365608696f6945f7d5fc23e74

9 years agoecore_evas_wayland: remove duplicated shutdown for ecore_evas_wl_common 96/38896/1 accepted/tizen/common/20150504.070627 accepted/tizen/mobile/20150501.021934 accepted/tizen/tv/20150501.020847 accepted/tizen/wearable/20150501.021351 submit/tizen/20150430.051720
MinJeong Kim [Thu, 30 Apr 2015 05:13:15 +0000 (14:13 +0900)]
ecore_evas_wayland: remove duplicated shutdown for ecore_evas_wl_common

Change-Id: I3683f86a9aa7cb414236dde9defe9d4bd94ebc65

9 years agoevas gl_generic wayland_egl: add NULL check in eng_window_use and evas_gl_common_cont...
Gwanglim Lee [Wed, 29 Apr 2015 14:37:55 +0000 (23:37 +0900)]
evas gl_generic wayland_egl: add NULL check in eng_window_use and evas_gl_common_context_resize to avoid segmentation fault after failing egl choose config

Change-Id: Ia45e478956e0816094e6ac2f7e18976a19c62302

9 years agoevas-drm: Fix evas-gl_drm picking incorrect resolution/mode for outputs 40/38840/2 accepted/tizen/common/20150429.145322 accepted/tizen/mobile/20150430.012211 accepted/tizen/tv/20150430.012131 accepted/tizen/wearable/20150430.012147 submit/tizen/20150429.110658
Mun, Gwan-gyeong [Wed, 29 Apr 2015 08:06:03 +0000 (17:06 +0900)]
evas-drm: Fix evas-gl_drm picking incorrect resolution/mode for outputs

Change-Id: Ibf5fcb065141404cf6ad3287460817b8c96bbd1c

9 years agofix blocking issue when a pageflip event doesn't occur 27/38827/1 accepted/tizen/common/20150429.093800 accepted/tizen/mobile/20150429.124701 accepted/tizen/tv/20150429.123902 accepted/tizen/wearable/20150429.124130 submit/tizen/20150428.160542
Boram Park [Wed, 29 Apr 2015 05:36:38 +0000 (14:36 +0900)]
fix blocking issue when a pageflip event doesn't occur

Change-Id: Ied38ad1fc078e82ec85aa8e00556f34970fc48fd

9 years agoecore-drm Add API for querying output parameters
Derek Foreman [Thu, 19 Feb 2015 19:47:26 +0000 (14:47 -0500)]
ecore-drm Add API for querying output parameters

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Maniphest Tasks: T2131

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

Conflicts:

src/lib/ecore_drm/Ecore_Drm.h
src/lib/ecore_drm/ecore_drm_output.c

Change-Id: I5d7e097834e5fd55aa4fad3ab137be6c0063f86f

9 years agoecore-drm: Add support for DPMS on an output
Chris Michael [Tue, 7 Apr 2015 15:41:21 +0000 (11:41 -0400)]
ecore-drm: Add support for DPMS on an output

Summary: This commit adds support for setting DPMS level of an output.
This adds a new API function 'ecore_drm_output_dpms_set' to set the
level.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Conflicts:

src/lib/ecore_drm/Ecore_Drm.h
src/lib/ecore_drm/ecore_drm_output.c
src/lib/ecore_drm/ecore_drm_private.h

Change-Id: Id544f862b2f76ff10a9a1142852b505d9c4d0fbb

9 years agoecore_wl_window: changed opaque region set 64/38764/1
MinJeong Kim [Tue, 28 Apr 2015 07:44:58 +0000 (16:44 +0900)]
ecore_wl_window: changed opaque region set

1. request 'set_opaque_region' directly.
2. request for setting opaque region to NULL when window is being set to alpha

Change-Id: I9092d3d1adb850c7c77e0b9d1ce4f79eaffde214

9 years agoEdje smart: Add NULL safety 48/38748/1
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!).

Change-Id: I800606d2f6009ba6c9b128b3cd75ac73a730aeda
origin: upstream

9 years agoevas text: fix _ellipsis_get to return -1.0 on failure. 21/38721/1
Youngbok Shin [Mon, 9 Feb 2015 17:30:30 +0000 (17:30 +0000)]
evas text: fix _ellipsis_get to return -1.0 on failure.

Summary:
When getting ellipsis value from evas text object fails,
the most reasonable return value is -1.0.
Currently, evas_object_text_ellipsis_get API with NULL returns 0.0.
It means ellipsis is not off. It must return -1.0 when API fails.
@fix

Comments by Tom: until now, this was inconsistent. With this change, it
now returns -1.0 consistently. Also, fixed commit summary.

Reviewers: woohyun, Hermet, seoz, tasn

Reviewed By: tasn

Subscribers: cedric

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

Change-Id: I28672de1524c959b3d17349e8b2e081f1cca933b
origin: upstream

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

@fix

Change-Id: Iaedbb2f4973d997a17badab0400297db1f3f93b8
origin: upstream

9 years agoecore_timer: fix the default return value. 19/38719/1
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

Change-Id: Ied080e1b2e25412d6ab69124184165de4b498e91
origin: upstream

9 years agoecore_wayland: implementation for tizen-policy protocol 68/38668/2 accepted/tizen/common/20150428.153912 accepted/tizen/mobile/20150427.234801 accepted/tizen/tv/20150427.234424 accepted/tizen/wearable/20150427.234557 submit/tizen/20150427.111033
Boram Park [Fri, 24 Apr 2015 03:54:08 +0000 (12:54 +0900)]
ecore_wayland: implementation for tizen-policy protocol

Change-Id: I7a8450876a6b50f75e1ab762d81f44f444bc80e7

9 years agoAdd wl_display_roundtrip to wait for being done pending job by server 86/38586/1 accepted/tizen/common/20150423.074043 accepted/tizen/mobile/20150423.084802 accepted/tizen/tv/20150422.102447 accepted/tizen/wearable/20150423.084713 submit/tizen/20150422.100122
MinJeong Kim [Tue, 21 Apr 2015 13:01:46 +0000 (22:01 +0900)]
Add wl_display_roundtrip to wait for being done pending job by server

Change-Id: Iacc372c96633c69c9af97bfe93ea2fec73a1ccf0

9 years agoevas-wayland-shm : Refactor Evas Wayland Shm Engine 85/38585/1
MinJeong Kim [Tue, 21 Apr 2015 12:54:41 +0000 (21:54 +0900)]
evas-wayland-shm : Refactor Evas Wayland Shm Engine

Change-Id: I307d01a05ca49d667aebe29015b9ee543b8cce38

9 years agoecore-drm: Send touch_motion event when touch_down event is triggered. 25/38525/2 accepted/tizen/common/20150422.080236 accepted/tizen/mobile/20150422.103622 accepted/tizen/tv/20150422.102221 accepted/tizen/wearable/20150422.102934 submit/tizen/20150421.060037
Mun, Gwan-gyeong [Tue, 21 Apr 2015 14:48:45 +0000 (23:48 +0900)]
ecore-drm: Send touch_motion event when touch_down event is triggered.

Change-Id: Ie80fd0852985e3f43d55b17e104e15c029d182b0

9 years agocorrect the physical size of a drm output 43/38443/1
Boram Park [Tue, 21 Apr 2015 01:54:12 +0000 (10:54 +0900)]
correct the physical size of a drm output

Change-Id: I8bffb4fcec5f77e96f2067687bac383e23927805

9 years agoadd evas_render_copy to dump evas canvas 47/38347/1 accepted/tizen/common/20150420.081646 accepted/tizen/mobile/20150420.233101 accepted/tizen/tv/20150420.233017 accepted/tizen/wearable/20150420.233038 submit/tizen/20150420.062645
Boram Park [Fri, 17 Apr 2015 02:29:01 +0000 (11:29 +0900)]
add evas_render_copy to dump evas canvas

summary:
In case of x, if client knows xid, then client can get a image from
window. But in case of wayland, client only knows window resource.
And buffer is hidden inside of evas engine backend. To get a image
from window, evas should offer a way to allow client to get a image.

Change-Id: I475266fe92ded534c4adce26092676464db02cc5

9 years agoecore-drm: Return the index of the crtc from output_crtc_find
Chris Michael [Wed, 11 Mar 2015 21:09:48 +0000 (17:09 -0400)]
ecore-drm: Return the index of the crtc from output_crtc_find

Summary:
Fix issue of invalid memory read from
ecore_drm_output_create. We call ecore_drm_output_crtc_find to get the
Index of the crtc to use, however prior to this commit the index was
not being returned (the actual crtc was)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Reviewers: zmike

Subscribers: cedric

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

9 years agoecore-drm: Add output id to output event
Chris Michael [Mon, 23 Feb 2015 18:57:44 +0000 (13:57 -0500)]
ecore-drm: Add output id to output event

Summary: When we raise an event for an output, also include the output
id in the event structure. This will allow us to better identify which
output the event occured on.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm Add hooks for updating wl_output when outputs are hotplugged
Derek Foreman [Thu, 19 Feb 2015 19:47:34 +0000 (14:47 -0500)]
ecore-drm Add hooks for updating wl_output when outputs are hotplugged

Summary:
This provides callbacks to any bound wl_output listeners when a
display is hotplugged.

NOTE: Currently we don't receive hotplug events
ANOTHER NOTE: We don't yet handle display removal

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2131

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

9 years agoMerge "Evas object: verify the parent is valid and fail if not." into tizen
Jaehwan Kim [Wed, 15 Apr 2015 05:34:18 +0000 (22:34 -0700)]
Merge "Evas object: verify the parent is valid and fail if not." into tizen

9 years agoevas gl_drm engine: add support for recreating gbm surface after resize accepted/tizen/common/20150416.090320 accepted/tizen/mobile/20150415.132740 accepted/tizen/tv/20150415.131624 accepted/tizen/wearable/20150415.132144 submit/tizen/20150414.140526
Gwanglim Lee [Tue, 14 Apr 2015 14:04:10 +0000 (23:04 +0900)]
evas gl_drm engine: add support for recreating gbm surface after resize

Change-Id: I6d6a9ebd9233b4d6a702419e827b0196092aa630

9 years agoEvas object: verify the parent is valid and fail if not. 91/38191/1
Tom Hacohen [Mon, 13 Apr 2015 12:50:43 +0000 (13:50 +0100)]
Evas object: verify the parent is valid and fail if not.

It seems like before the switch to Eo, all the object_*_add functions
had magic checks that only allowed non NULL Evas pointers to be passed.
Since we switched to Eo we apparently missed the early failure we used
to have, and we instead fail later. This patch should fix that.

Thanks to jaehwan for reporting.

@fix

Change-Id: Ic9d30d25b6b3120472b908ef6992b1462a3a2b3e
Origin: upstream

9 years agoMerge "evas/common: improve evas_common_convert_argb_unpremul() computation." into...
Jaehwan Kim [Tue, 14 Apr 2015 01:46:39 +0000 (18:46 -0700)]
Merge "evas/common: improve evas_common_convert_argb_unpremul() computation." into tizen

9 years agopackaging: reduce summary. it must not exceed 79 characters. accepted/tizen/common/20150414.095800 accepted/tizen/mobile/20150415.014848 accepted/tizen/tv/20150415.012414 accepted/tizen/wearable/20150415.013651 submit/tizen/20150410.052552
Gwanglim Lee [Tue, 14 Apr 2015 01:27:42 +0000 (10:27 +0900)]
packaging: reduce summary. it must not exceed 79 characters.

Change-Id: Icd2209fed4845f64f5f6d7ce59a44c2583a08f9c

9 years agoevas/common: improve evas_common_convert_argb_unpremul() computation. 19/38119/2
ChunEon Park [Mon, 6 Apr 2015 12:58:07 +0000 (21:58 +0900)]
evas/common: improve evas_common_convert_argb_unpremul() computation.

prev logic increased the alpha channel by 1 so the unpremul resulted in the color got too diff from the origin.

We can't avoid losing the rest values while dividing values in premul/unpremul()
but this will recover the value better closed to origin value.

Change-Id: I32ab39f3efd89753a697602f53b893107bec9247
Origin: upstream

9 years agoevas gl_drm: enable blacklist gl engine check to prevent segfault when it is trying...
Gwanglim Lee [Sat, 11 Apr 2015 16:04:07 +0000 (01:04 +0900)]
evas gl_drm: enable blacklist gl engine check to prevent segfault when it is trying to run on sw mesa

Change-Id: I49f29632dd7f5daedf281cf32856bbf2b180a538

9 years agoecore_evas_drm: fix init and shutdown error when re-initializing ecore_evas.
Gwanglim Lee [Sat, 11 Apr 2015 16:01:59 +0000 (01:01 +0900)]
ecore_evas_drm: fix init and shutdown error when re-initializing ecore_evas.

Change-Id: Iaf197ed51a05375d0f19d8ae72dc7f222721afbd

9 years agoecore_drm_tty: disable unsetenv
Gwanglim Lee [Sat, 11 Apr 2015 15:59:48 +0000 (00:59 +0900)]
ecore_drm_tty: disable unsetenv

Change-Id: I0be1994115ea056f5294ae69e2f39eee8a11ea89

9 years agoecore_drm: disable creating drm fb dumb buffer in _ecore_drm_output_create.
Gwanglim Lee [Sat, 11 Apr 2015 15:57:55 +0000 (00:57 +0900)]
ecore_drm: disable creating drm fb dumb buffer in _ecore_drm_output_create.
This code brings up set_crtc privilege error on evas drm / gl_drm engies.

Change-Id: I4d304b0fb0de76035bb967b6aab8590a89220f1a

9 years agoecore_drm: add null check when releasing resource
Gwanglim Lee [Sat, 11 Apr 2015 15:49:36 +0000 (00:49 +0900)]
ecore_drm: add null check when releasing resource

Change-Id: I27308f691ee94e0dee0f1f07d1c1f3cfe31f4874

9 years agoecore_evas_drm: improve drm page flip event handling 30/38030/1 drm-pageflip
Gwanglim Lee [Thu, 9 Apr 2015 16:11:07 +0000 (01:11 +0900)]
ecore_evas_drm: improve drm page flip event handling

Change-Id: I5f0cda91b905c2f3e6057a3a1f81948ec2a8bc88

9 years agoecore_evas: remove libglapi.so dlerror check to avoid ecore_evas_drm_shutdown on... 20/38020/1
Gwanglim Lee [Thu, 9 Apr 2015 14:50:33 +0000 (23:50 +0900)]
ecore_evas: remove libglapi.so dlerror check to avoid ecore_evas_drm_shutdown on target which doesn't have glapi library

Change-Id: Ice7d8b6edc1104d296a585c6bbd9edaf73ce62f0

9 years agopackaging: enable evas gl_drm engine 18/38018/1
Gwanglim Lee [Thu, 9 Apr 2015 14:43:22 +0000 (23:43 +0900)]
packaging: enable evas gl_drm engine

Change-Id: I32cc9f07269b45bc9bb53bcf43447d0bcaab038e

9 years agoMerge "Evas GL : Bugfix when using pixmap in native surface image" into tizen accepted/tizen/common/20150409.072538 accepted/tizen/mobile/20150409.122323 accepted/tizen/tv/20150409.121735 accepted/tizen/wearable/20150409.103308 submit/tizen/20150409.053849
Daekwang Ryu [Thu, 9 Apr 2015 05:37:05 +0000 (22:37 -0700)]
Merge "Evas GL : Bugfix when using pixmap in native surface image" into tizen

9 years agoEvas GL : Bugfix when using pixmap in native surface image 43/37943/2
Daekwang Ryu [Wed, 8 Apr 2015 14:19:20 +0000 (23:19 +0900)]
Evas GL : Bugfix when using pixmap in native surface image

[Cause] When using pixmap without alpha channel, use incorrect shader codes.
[Solution] add a new variable "offbuffer"

Change-Id: Ia98b14b52658e8654efd1d493a88ea31145769a6

9 years agoeina: add null check 33/37933/3
Jaeun Choi [Wed, 8 Apr 2015 12:29:13 +0000 (21:29 +0900)]
eina: add null check

eina_unicode_utf8_next_get should return 0
when one of the parameters is NULL to avoid null pointer access.
it also corresponds to the description in doc.

@fix

Change-Id: I2550b5796bda38304f602c93794e0d79f829fedb
Origin: upstream

9 years agospec: Enable glib integration instead of g-main-loop. 89/35089/3
Daniel Juyung Seo [Mon, 9 Feb 2015 02:05:48 +0000 (11:05 +0900)]
spec: Enable glib integration instead of g-main-loop.

--with-glib=always enables glib integration with ecore main loop. Thus
one can use glib APIs with ecore main loop.
--enable-g-main-loop uses g main loop as EFL's main loop instead of
ecore main loop. This option is not recommended and not tested well.

Change-Id: Ia9ea3fef435d026502374017134d45d9893e3ec4
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
9 years agoedje_cc: add nine-patch feature(Tizen only). 87/37187/1 accepted/tizen/common/20150323.083904 accepted/tizen/mobile/20150323.092319 accepted/tizen/tv/20150323.112539 accepted/tizen/wearable/20150324.004249 submit/tizen/20150323.044739
Jaehwan Kim [Fri, 20 Mar 2015 09:20:25 +0000 (18:20 +0900)]
edje_cc: add nine-patch feature(Tizen only).

Change-Id: I73f7025b2e2022a996961e1fd5ee5a1e78f776be

9 years agoeina: safety check for NULL pointer 01/37101/2
Jaeun Choi [Thu, 19 Mar 2015 07:15:20 +0000 (16:15 +0900)]
eina: safety check for NULL pointer

data should not be NULL. it is used as the source of memcpy.

@fix

Change-Id: I93913d593df27d7fa66e065a72af9a3215bd3e13
Origin: upstream

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>