platform/upstream/efl.git
8 years agoMerge "Revert "Evas GL: Fix aarch64 build error in 'run-time generation and load...
joogab yun [Fri, 25 Mar 2016 14:27:22 +0000 (07:27 -0700)]
Merge "Revert "Evas GL: Fix aarch64 build error in 'run-time generation and load of shaders' patch"" into tizen

8 years agoMerge "Revert "Evas GL: Fix 'run-time shader' patch by changing position 'extension...
joogab yun [Fri, 25 Mar 2016 14:27:12 +0000 (07:27 -0700)]
Merge "Revert "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'"" into tizen

8 years agoRevert "Evas GL: Fix aarch64 build error in 'run-time generation and load of shaders... 58/63758/1
Prudhvi Raj Vasireddi [Fri, 25 Mar 2016 14:17:50 +0000 (07:17 -0700)]
Revert "Evas GL: Fix aarch64 build error in 'run-time generation and load of shaders' patch"

This reverts commit 61c9991eef4ece13e45c567905c48d3e9a829a09.

Change-Id: I024814255ec3043ad9da207b9c0d0fda4452f246

8 years agoRevert "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_E... 57/63757/1
Prudhvi Raj Vasireddi [Fri, 25 Mar 2016 14:17:36 +0000 (07:17 -0700)]
Revert "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'"

This reverts commit 45b7bf098bea3d1d5bf468387239cfa0dd7c1058.

Change-Id: I4babc4fe364576b9538e8e8474a6b762bd7b0da1

8 years agoevas: trigger FLUSH_PRE callback prior to kicking off an async render 20/63720/1 accepted/tizen/ivi/20160325.134458 accepted/tizen/mobile/20160325.134418 accepted/tizen/tv/20160325.134336 accepted/tizen/wearable/20160325.134430 submit/tizen/20160325.093515 submit/tizen/20160325.124154
Ji-Youn Park [Fri, 25 Mar 2016 09:11:04 +0000 (17:41 +0830)]
evas: trigger FLUSH_PRE callback prior to kicking off an async render

while not occurring immediately before flush as in sync rendering, this
is functionally close enough that it will serve the purpose for which the
callback was intended, namely receiving a callback that occurs after render
update calculations have occurred but before flush happens

opensource_commit 1d3c4162b3d863a798c68865829c892c0832d903
Author: Mike Blumenkrantz <zmike@osg.samsung.com>
Date:   Tue Dec 15 17:18:36 2015 -0500

Change-Id: Icac04f7e3a33088754b5e906d604b165a4b4cf02

8 years agoDo not send first finger touch events. Only send mouse events 61/63661/2 accepted/tizen/ivi/20160325.133955 accepted/tizen/mobile/20160325.133719 accepted/tizen/tv/20160325.133821 accepted/tizen/wearable/20160325.133902 submit/tizen/20160325.072629
JengHyun Kang [Fri, 25 Mar 2016 06:12:58 +0000 (15:12 +0900)]
Do not send first finger touch events. Only send mouse events

Change-Id: Ic7114548e9db045ad3f9aa8bf6761147017870e1

8 years agoMerge "ecore_imf/wayland: fix IME flickering issue when input_panel_hide and show... accepted/tizen/ivi/20160325.032459 accepted/tizen/mobile/20160325.032409 accepted/tizen/tv/20160325.032427 accepted/tizen/wearable/20160325.032443 submit/tizen/20160324.222622
Jihoon Kim [Thu, 24 Mar 2016 11:48:50 +0000 (04:48 -0700)]
Merge "ecore_imf/wayland: fix IME flickering issue when input_panel_hide and show is called sequentially" into tizen

8 years agoecore_imf/wayland: fix IME flickering issue when input_panel_hide and show is called... 40/63540/3
Jihoon Kim [Thu, 24 Mar 2016 11:31:48 +0000 (20:31 +0900)]
ecore_imf/wayland: fix IME flickering issue when input_panel_hide and show is called sequentially

Change-Id: Ieafa9cd921cc8d68c64af6b72404ef52e7bbf724

8 years agoMerge "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EG... accepted/tizen/common/20160325.135430 accepted/tizen/ivi/20160324.131343 accepted/tizen/mobile/20160324.132534 accepted/tizen/tv/20160324.132431 accepted/tizen/wearable/20160324.132412 submit/tizen/20160324.110050
Wonsik Jung [Thu, 24 Mar 2016 10:59:20 +0000 (03:59 -0700)]
Merge "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'" into tizen

8 years agoMerge "Revert ":evas: enable dynamic flag for zero copy texture upload in ector ...
Wonsik Jung [Thu, 24 Mar 2016 10:45:42 +0000 (03:45 -0700)]
Merge "Revert ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm"" into tizen

8 years agoEvas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image... 25/63525/3
Prudhvi Raj, Vasireddi [Thu, 24 Mar 2016 10:37:22 +0000 (19:37 +0900)]
Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'

Change-Id: I899d9a49ad7313610bfdccd9d90a3ff3f17dee02

8 years agoRevert ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to... 26/63526/1
Wonsik Jung [Thu, 24 Mar 2016 10:41:00 +0000 (03:41 -0700)]
Revert ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm"

This reverts commit 1d7a1bc0a841eacc433369524f999ab331bd0365.

Change-Id: Iba5cea19ffccda72e30ac93c0de3e0d93e4fa035

8 years agoecore_wayland: Add a new API to get keymap 09/63309/3
JengHyun Kang [Wed, 23 Mar 2016 06:33:53 +0000 (15:33 +0900)]
ecore_wayland: Add a new API to get keymap
 - ecore_wl_input_keymap_get()

Change-Id: I38c660881c87cba2b1a066c276a3f0b5f8d62c6f

8 years agoMerge ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to...
Wonsik Jung [Thu, 24 Mar 2016 02:00:49 +0000 (19:00 -0700)]
Merge ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm" into tizen

8 years agoecore_drm : set the output mode without fb 30/63330/2 accepted/tizen/ivi/20160324.011828 accepted/tizen/mobile/20160324.011641 accepted/tizen/tv/20160324.011722 accepted/tizen/wearable/20160324.011748 submit/tizen/20160323.123653 submit/tizen/20160323.130249 submit/tizen/20160323.180254
SooChan Lim [Wed, 23 Mar 2016 08:04:39 +0000 (17:04 +0900)]
ecore_drm : set the output mode without fb

Change-Id: Icad38375de9680a990bffd25776c06e3079b7ba8

8 years agoecore-evas wayland: move frame sending to pre-flush callback 62/63262/2 accepted/tizen/ivi/20160323.141027 accepted/tizen/mobile/20160323.135751 accepted/tizen/tv/20160323.140013 accepted/tizen/wearable/20160323.135645 submit/tizen/20160323.100319
Mike Blumenkrantz [Tue, 15 Dec 2015 22:14:43 +0000 (17:14 -0500)]
ecore-evas wayland: move frame sending to pre-flush callback

it was possible to deadlock rendering if a pre-render occurred but
the resulting render had no updated regions

@fix

Conflicts:
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c

Change-Id: I2c391f037c29310d1d66945c256ba8af98d9c22f

8 years ago:evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EX... 79/63179/5
huiyu.eun [Tue, 22 Mar 2016 10:52:10 +0000 (19:52 +0900)]
:evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm

This is backport from MCD TIZEN :

   commit ID : 8e2bc203d2cc2ea36123589f2eed70ef59b6a404a2dc65a843e02fd0932673caa21d6d81f00c19fc
   Author: Dongyeon Kim <dy5.kim@samsung.com>
   Date: 2015-10-13 16:07:18, 2015-10-01 10:05:28

[Title] evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm[Problem] Animation slow

[Cause] Texture uploading in Adreno is slow

[Solution] Remove texture uploading by enabling dynamic hint set
for images used in ector, and use GL_TEXTURE_EXTERNAL_OES target
for texture bound from tbm surface

[Team] Graphics

Change-Id: Ie72bebea09141c2c27122cc2d3750dc0533d19e3
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
8 years agoecore_wl: add logic for waiting until keyrouter interface is ready. 78/63178/1 submit/tizen/20160323.021528
Hosang Kim [Tue, 22 Mar 2016 10:47:16 +0000 (19:47 +0900)]
ecore_wl: add logic for waiting until keyrouter interface is ready.

Sometimes keyrouter interface is not ready.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I22ca3c74295b5a4e2b22676cf57ba43ef43b0a9b

8 years agoecore_evas_drm: enable pointer warping 66/63066/2 accepted/tizen/ivi/20160323.012202 accepted/tizen/mobile/20160323.012110 accepted/tizen/tv/20160323.012128 accepted/tizen/wearable/20160323.012144 submit/tizen/20160322.075833
Duna Oh [Tue, 22 Mar 2016 03:56:59 +0000 (12:56 +0900)]
ecore_evas_drm: enable pointer warping

origin: upstream
https://git.enlightenment.org/core/efl.git/commit/?id=d53e1d6748f07f46e9c6abc791651cdc78c0bc86
https://git.enlightenment.org/core/efl.git/commit/?id=ddc6962d775345ccb0eb4590486693efb3564075

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

8 years agoecore_evas: change RENDER_SYNC from define to env 09/63109/1 submit/tizen/20160322.070244
Ji-Youn Park [Tue, 22 Mar 2016 06:48:43 +0000 (15:18 +0830)]
ecore_evas: change RENDER_SYNC from define to env

outside needs to turn on/off RENDER_SYNC feature.
env val: ECORE_EVAS_RENDER_SYNC.

Change-Id: If02ef2aad383e500dacf2ec34ea4715a234d7117

8 years agospec : remove unnecessary enviroment values 54/63054/1
Jaehwan Kim [Tue, 22 Mar 2016 02:47:01 +0000 (11:47 +0900)]
spec : remove unnecessary enviroment values

Change-Id: I08315161279cd46cbcb028aa7696507412255db3

8 years agoEvas GL: Fix aarch64 build error in 'run-time generation and load of shaders' patch 02/63002/3 submit/tizen/20160322.024412
Prudhvi Raj, Vasireddi [Mon, 21 Mar 2016 12:11:12 +0000 (21:11 +0900)]
Evas GL: Fix aarch64 build error in 'run-time generation and load of shaders' patch

Change-Id: Iae81201874de496a41c3a868b786ceed30487bcf

8 years agoMerge "ecore_imf/wayland: use default preedit style" into tizen
sungwook park [Mon, 21 Mar 2016 10:35:18 +0000 (03:35 -0700)]
Merge "ecore_imf/wayland: use default preedit style" into tizen

8 years agoecore_input_evas: find a evas_device of requested Evas_Device_Class 98/62498/3
Duna Oh [Wed, 16 Mar 2016 10:44:24 +0000 (19:44 +0900)]
ecore_input_evas: find a evas_device of requested Evas_Device_Class

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

8 years agoecore_imf/wayland: use default preedit style 43/62943/1
Jihoon Kim [Mon, 21 Mar 2016 07:36:42 +0000 (16:36 +0900)]
ecore_imf/wayland: use default preedit style

Change-Id: Iffb2d450923bbde191c4928253f133b13608a8e8

8 years agoecore_wl: Generate mouse button cancel event 27/61527/5
JengHyun Kang [Tue, 15 Mar 2016 12:31:29 +0000 (21:31 +0900)]
ecore_wl: Generate mouse button cancel event

Change-Id: I1ae57dc8279ce8eefdce682335fb98361710be64

8 years agoMerge "EvasGL: implement GLES 3.1" into tizen submit/tizen/20160321.022625
DaeKwang Ryu [Mon, 21 Mar 2016 01:47:35 +0000 (18:47 -0700)]
Merge "EvasGL: implement GLES 3.1" into tizen

8 years agoEvasGL: implement GLES 3.1 02/60102/7
DaeKwang Ryu [Tue, 23 Feb 2016 08:40:10 +0000 (17:40 +0900)]
EvasGL: implement GLES 3.1

add feature GLES 3.1.
2 wrapper functions are added.
(glFramebufferParameteri, glGetFramebufferParameteriv)

Bugfix: in evas_gl_api_ext.c,
It didn't create Ext functions for GLES 3.X.

Change-Id: I0b913f57d511631527b667f6feb79d4d4f35d7e1

8 years agoEvas GL: Applied 'Fix linking to 'context_restore_set'' patch for wayland_egl engine 51/62751/1
Prudhvi Raj, Vasireddi [Fri, 18 Mar 2016 03:13:22 +0000 (12:13 +0900)]
Evas GL: Applied 'Fix linking to 'context_restore_set'' patch for wayland_egl engine

Change-Id: I5bfc2ad6a21110c32470021c06df8f098425e08d

8 years agoMerge " Evas GL: Apply patches for 'run-time generation and load of shaders' featu...
Wonsik Jung [Fri, 18 Mar 2016 02:57:42 +0000 (19:57 -0700)]
Merge "    Evas GL: Apply patches for 'run-time generation and load of shaders' feature" into tizen

8 years agoMerge "disable ephysics to remove dependency on bullet" into tizen
Jee-Yong Um [Thu, 17 Mar 2016 09:08:29 +0000 (02:08 -0700)]
Merge "disable ephysics to remove dependency on bullet" into tizen

8 years agodisable ephysics to remove dependency on bullet 61/62661/1
Jee-Yong Um [Thu, 17 Mar 2016 09:00:42 +0000 (18:00 +0900)]
disable ephysics to remove dependency on bullet

Change-Id: I32b4cbe751477a9bbf88ea415aae612d3c4f3fc4
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
8 years agoecore-wayland: support tizen_effect interface 42/61042/5 accepted/tizen/common/20160318.145525 accepted/tizen/ivi/20160318.113307 accepted/tizen/mobile/20160318.112956 accepted/tizen/tv/20160318.113126 accepted/tizen/wearable/20160318.113143 submit/tizen/20160317.075557
MinJeong Kim [Thu, 3 Mar 2016 12:16:02 +0000 (21:16 +0900)]
ecore-wayland: support tizen_effect interface

Supprot tizen_effect interface. tizen_effect interface allows client to know
if window effect is done or started.

Change-Id: I854777ee18e90d2e02be007df2f3e361089d1cce
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoMerge "Revert "ecore-wl: save the values of aux_hint in Ecore_Wl_Window"" into tizen
Doyoun Kang [Thu, 17 Mar 2016 04:56:27 +0000 (21:56 -0700)]
Merge "Revert "ecore-wl: save the values of aux_hint in Ecore_Wl_Window"" into tizen

8 years agoMerge "ecore-wl: do not destroy the wl_surface during ecore_wl_window is existed...
Doyoun Kang [Thu, 17 Mar 2016 04:55:58 +0000 (21:55 -0700)]
Merge "ecore-wl: do not destroy the wl_surface during ecore_wl_window is existed." into tizen

8 years agoecore_drm/ecore_evas_drm : add HWC condition on pageFlip 29/62529/3 submit/tizen/20160316.130158
Juyeon Lee [Wed, 16 Mar 2016 10:58:37 +0000 (19:58 +0900)]
ecore_drm/ecore_evas_drm : add HWC condition on pageFlip

Change-Id: I2757b8246d7f292435ee7b2359acc790f7368a28

8 years agoefl: prepare /run/.efl/.ecore directory for display owner with proper permissons 85/61885/2 accepted/tizen/ivi/20160316.081250 accepted/tizen/mobile/20160316.081204 accepted/tizen/tv/20160316.081217 accepted/tizen/wearable/20160316.081233 submit/tizen/20160316.040827
Youngbok Shin [Fri, 11 Mar 2016 05:17:37 +0000 (14:17 +0900)]
efl: prepare /run/.efl/.ecore directory for display owner with proper permissons

@tizen_fix

Change-Id: Id13b37fa638165caec1f1f05d0d02b283562dfc1

8 years agoMerge "evas: use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory... submit/tizen/20160315.115717
Sangjin Lee [Tue, 15 Mar 2016 11:04:19 +0000 (04:04 -0700)]
Merge "evas: use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory." into tizen

8 years agoevas: use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory. 17/62317/4 submit/tizen/20160315.115610
Seunghun Lee [Tue, 15 Mar 2016 08:44:41 +0000 (17:44 +0900)]
evas: use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory.

allow to locate the shm file in the Tizen specific directory.

Change-Id: I76663d784076d59cce290500ebe857070c293934

8 years agoecore_wl_input: use the identifier of input device as evas_device's description 67/62167/2 accepted/tizen/common/20160316.155849 accepted/tizen/ivi/20160315.122618 accepted/tizen/mobile/20160315.122502 accepted/tizen/tv/20160315.122532 accepted/tizen/wearable/20160315.122558 submit/tizen/20160315.070331
Duna Oh [Tue, 15 Mar 2016 00:22:08 +0000 (09:22 +0900)]
ecore_wl_input: use the identifier of input device as evas_device's description

identifier - the path of event node. ex)/dev/input/event2 -> evas_device's description
name - readable name of device. ex) USB Optical Mouse -> evas_device's name

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

8 years agoecore_drm: initialize dev->window value to -1, meaning unset yet. 29/62029/3
Duna Oh [Mon, 14 Mar 2016 03:06:43 +0000 (12:06 +0900)]
ecore_drm: initialize dev->window value to -1, meaning unset yet.

The window value from ecore_evas could be zero.
So use -1 as a default value.

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

8 years agoecore wayland: added code to handle parent window when the parent window is set 38/62238/2
Doyoun Kang [Tue, 15 Mar 2016 04:22:17 +0000 (13:22 +0900)]
ecore wayland: added code to handle parent window when the parent window is set

Change-Id: Ie0c2723d30a58eb2cc0f8366382100621c33e554

8 years ago Evas GL: Apply patches for 'run-time generation and load of shaders' feature 72/62072/6
Prudhvi Raj, Vasireddi [Mon, 14 Mar 2016 06:12:16 +0000 (15:12 +0900)]
Evas GL: Apply patches for 'run-time generation and load of shaders' feature

    Major changes,
    By default, compile & load only most common shaders
    Compile & load other shaders during run-time as and when needed

    Major improvements,
    Improves launching time with less number of shaders compiled & loaded by default
    Reduces memory usage, by avoiding loading all shaders
    Limits loading to most common shaders only in every subsequent run

Upstream patches list,

Evas GL: Implement runtime generation and load of shaders
Evas GL: Release shader compiler during evas_render_idle_flush
Evas GL: Fix linking to 'context_restore_set'
Evas GL: Delete shaders after linking programs
Evas GL: Precompile common shaders
Evas GL: Save all binary shaders during idle_flush
Evas GL: Fix oopsie in the shaders selection
evas_gl_shader: refractor shader/program compile check code.
Evas GL: Fix build for bigendian
Efreet, Elua : use eina_file_mkstemp instead of mkstemp
Evas GL: Fix shaders for bigendian
Evas: Fix potential crash with extraneous eet_shutdown
Evas GL: Fix shader binaries cache
Evas GL: Also fix surface cap cache
Evas: Fix shader flag 'afill' (forcing alpha to 255)
Evas: Actually fix this 'afill' thing
Evas: Discard shaders cache when the code changed
Evas: Avoid saving the shaders cache at every shutdown
Evas GL: Actually save the checksum inside the file
eina: use eina_file_path_join() and eina_environment_tmp_get() when needed
Eina: Fix eina_file_mk[ds]temp when a path is passed
elua: Fix use of eina_file_mkstemp after previous patch
Efreet, Elua : use eina_file_mkstemp instead of mkstemp
Eina: Add proper test case for eina_mk[ds]temp

Change-Id: Ica4093ebf9b89a5d270e3bde999efe9cb9fbe69f

8 years agoecore_evas_drm: add eina module init / shutdown to resolve undefined symbol error 48/62248/1 accepted/tizen/ivi/20160315.121752 accepted/tizen/mobile/20160315.121621 accepted/tizen/tv/20160315.121658 accepted/tizen/wearable/20160315.121716 submit/tizen/20160315.051502
Gwanglim Lee [Tue, 15 Mar 2016 05:06:42 +0000 (14:06 +0900)]
ecore_evas_drm: add eina module init / shutdown to resolve undefined symbol error

Change-Id: Ibf95c78cc498057ec94aff8debf03c08d94db157

8 years agoedje: get cache directory from XDG_CACHE_HOME not from efreet 40/62140/1 accepted/tizen/ivi/20160315.003821 accepted/tizen/mobile/20160315.003733 accepted/tizen/tv/20160315.003747 accepted/tizen/wearable/20160315.003802 submit/tizen/20160314.132818
Gwanglim Lee [Mon, 14 Mar 2016 13:22:33 +0000 (22:22 +0900)]
edje: get cache directory from XDG_CACHE_HOME not from efreet

Change-Id: Ic3a24293f1cab8aa63185f51162d22f7e5a5d928

8 years agonot using gbm_tbm_get_surface 59/61759/1 accepted/tizen/ivi/20160313.233552 accepted/tizen/mobile/20160313.233413 accepted/tizen/tv/20160313.233524 accepted/tizen/wearable/20160313.233445 submit/tizen/20160310.113329
Boram Park [Thu, 10 Mar 2016 03:07:27 +0000 (12:07 +0900)]
not using gbm_tbm_get_surface

Change-Id: I53e93e341910095574e8054604dd78e93f321b41

8 years agoAdd since_tizen in ecore_imf keyboard mode event 63/61563/1
Jihoon Kim [Wed, 9 Mar 2016 02:11:16 +0000 (11:11 +0900)]
Add since_tizen in ecore_imf keyboard mode event

Change-Id: Ic387ece1a407bf99abca529938c3949b34ff362e

8 years agoMerge "EvasGL: This patch is for synchronization with Tizen 2.4" into tizen accepted/tizen/common/20160310.072541 accepted/tizen/ivi/20160310.052914 accepted/tizen/mobile/20160310.052817 accepted/tizen/tv/20160310.052841 accepted/tizen/wearable/20160310.052857 submit/tizen/20160309.015950
DaeKwang Ryu [Wed, 9 Mar 2016 01:54:11 +0000 (17:54 -0800)]
Merge "EvasGL: This patch is for synchronization with Tizen 2.4" into tizen

8 years agoRevert "ecore-wl: save the values of aux_hint in Ecore_Wl_Window" 56/61556/1
Seunghun Lee [Mon, 7 Mar 2016 10:19:45 +0000 (19:19 +0900)]
Revert "ecore-wl: save the values of aux_hint in Ecore_Wl_Window"

This reverts commit c7ead75ae758dba7814055138faa8811f7a4cf35.

Change-Id: I99537d1ef2d236ded1eb5c0ea6abd9e67b9d3203

8 years agoecore-wl: do not destroy the wl_surface during ecore_wl_window is existed. 55/61555/1
Seunghun Lee [Wed, 24 Feb 2016 09:44:01 +0000 (18:44 +0900)]
ecore-wl: do not destroy the wl_surface during ecore_wl_window is existed.

If we destroy wl_surface by ecore_wl_window_hide(),
all of the protocol related wl_surface should be made again when it is shown.
But external libraries doesn't know about state of wl_surface,
Thus, keeping the wl_surface with ecore_wl_window is better.

Change-Id: I6977d761bcbce8bf280abb986fa5ac126c98c63f

8 years agoecore_evas_extn: Add safety checks, fixing a crash in elm_test 29/61429/1 accepted/tizen/common/20160310.065054 accepted/tizen/ivi/20160309.004540 accepted/tizen/mobile/20160309.004447 accepted/tizen/tv/20160309.004504 accepted/tizen/wearable/20160309.004522 submit/tizen/20160308.021833
Jean-Philippe Andre [Mon, 25 Jan 2016 06:58:16 +0000 (15:58 +0900)]
ecore_evas_extn: Add safety checks, fixing a crash in elm_test

See T2835 (my crash was different from the one reported).

The buffer may be initialized after the first render_pre, due to
whatever timing issue. Check in elm_test "Window Socket" and then
open several "Window Plug".

@fix

Change-Id: Id8740001e8c489f1a3b98d81d39427615f610df0

8 years agoecore_drm: add ecore_drm_output_hal_private_get 85/61285/1 accepted/tizen/common/20160307.154359 accepted/tizen/ivi/20160308.020808 accepted/tizen/mobile/20160308.020627 accepted/tizen/tv/20160308.020652 accepted/tizen/wearable/20160308.020738 submit/tizen/20160307.074514
SooChan Lim [Mon, 7 Mar 2016 07:30:07 +0000 (16:30 +0900)]
ecore_drm: add ecore_drm_output_hal_private_get

get the private data of the drm_output_hal

Change-Id: I75d0c9eee9cf4a925f43a8d956473622da4f5c74

8 years agoEvasGL: This patch is for synchronization with Tizen 2.4 38/61238/1
DaeKwang Ryu [Mon, 7 Mar 2016 02:41:16 +0000 (11:41 +0900)]
EvasGL: This patch is for synchronization with Tizen 2.4

Change-Id: I370d843f45e81750b1a338ee0a6ffa220c8d296d

8 years agoMerge "ecore_imf/wayland: Support input panel data get" into tizen accepted/tizen/common/20160307.153551 accepted/tizen/ivi/20160307.105326 accepted/tizen/mobile/20160307.105230 accepted/tizen/tv/20160307.105300 accepted/tizen/wearable/20160307.105312 submit/tizen/20160307.023529
Jihoon Kim [Mon, 7 Mar 2016 01:37:56 +0000 (17:37 -0800)]
Merge "ecore_imf/wayland: Support input panel data get" into tizen

8 years agoecore_imf/wayland: Support input panel data get 75/59775/5
Haifeng Deng [Thu, 18 Feb 2016 10:32:45 +0000 (18:32 +0800)]
ecore_imf/wayland: Support input panel data get

Change-Id: I8f7a57b7ead8ed3e21b0ebbc72acf8cc1f35d1f0

8 years agoMerge "change type position Kept for ABI compatibility" into tizen
sunghyun kim [Mon, 7 Mar 2016 00:40:35 +0000 (16:40 -0800)]
Merge "change type position  Kept for ABI compatibility" into tizen

8 years agouse dumb buffer if SW backend is running 08/61108/1 accepted/tizen/ivi/20160304.104748 accepted/tizen/mobile/20160304.104633 accepted/tizen/tv/20160304.104652 accepted/tizen/wearable/20160304.104725 submit/tizen/20160303.091837
Boram Park [Fri, 4 Mar 2016 02:49:59 +0000 (11:49 +0900)]
use dumb buffer if SW backend is running

Change-Id: I47f3b350a78deddae508cd81d4e6912eb5b250c3

8 years agonot create dumb framebuffer 44/61044/1
Boram Park [Thu, 3 Mar 2016 12:30:22 +0000 (21:30 +0900)]
not create dumb framebuffer

Change-Id: Ic9705dca66e22d317dc8b8e8a409ed4cb0fbbae0

8 years agotemporarily fix for enlightenment blocking issue 12/61012/1
Boram Park [Thu, 3 Mar 2016 08:46:22 +0000 (17:46 +0900)]
temporarily fix for enlightenment blocking issue

Change-Id: I5d16778ff93a181f07d261acdab8b042f2ea6914

8 years agochange type position Kept for ABI compatibility 32/60632/1
sunghyun kim [Mon, 29 Feb 2016 11:22:02 +0000 (20:22 +0900)]
change type position  Kept for ABI compatibility

change EVAS_NATIVE_SURFACE_WL's position 3 to 6 for keep ABI compatibility
Change-Id: Iab9be58e1113b2156060089b816f3cb97cc53edb

8 years agoecore_wl : add exception checks regarding _ecore_wl_disp->wl.keyrouter in ecore_wl_wi... 02/60602/1 accepted/tizen/common/20160302.193340 accepted/tizen/ivi/20160302.003030 accepted/tizen/mobile/20160302.002944 accepted/tizen/tv/20160302.002958 accepted/tizen/wearable/20160302.003015 submit/tizen/20160229.081932
Ji-Youn Park [Mon, 29 Feb 2016 07:50:59 +0000 (16:20 +0830)]
ecore_wl : add exception checks regarding _ecore_wl_disp->wl.keyrouter in ecore_wl_window_keygrab_unset()

Change-Id: I6fa198cae8dec760b1f797d7dd0f7f07edce13fa

8 years agouse TRACE_EFL_XXXX macro 26/60526/1 accepted/tizen/common/20160301.120657 accepted/tizen/ivi/20160229.095454 accepted/tizen/mobile/20160229.095356 accepted/tizen/tv/20160229.095409 accepted/tizen/wearable/20160229.095431 submit/tizen/20160228.234815 submit/tizen_common/20160229.190608
Boram Park [Sun, 28 Feb 2016 23:46:10 +0000 (08:46 +0900)]
use TRACE_EFL_XXXX macro

Change-Id: I4abd97bced49c4c84b02ac257e32468e8bd9bd66

8 years agoapply libtdm 22/60522/1 accepted/tizen/ivi/20160228.232153 accepted/tizen/mobile/20160228.232051 accepted/tizen/tv/20160228.232104 accepted/tizen/wearable/20160228.232137 submit/tizen/20160229.555555
Boram Park [Sat, 13 Feb 2016 05:24:59 +0000 (14:24 +0900)]
apply libtdm

Change-Id: I32186ffd4d5733eaf6f763251405a5459e85277d

8 years agoRevert "ecore_drm: Add ECORE_DRM_DEVICE_SUPPORT_SPRD define for SPRD device" 21/60521/1
Boram Park [Sat, 13 Feb 2016 04:47:20 +0000 (13:47 +0900)]
Revert "ecore_drm: Add ECORE_DRM_DEVICE_SUPPORT_SPRD define for SPRD device"

This reverts commit f02998e1c2c0a49a481fde8c86b3cf6e392eb03f.

Conflicts:
src/lib/ecore_drm/ecore_drm_device.c

Change-Id: I3649845c5aa49d3795c874b78d008379903b16c4

8 years agoRevert "ecore-drm: set the -DECORE_DRM_DEVICE_SUPPORT_SPRD after %build" 20/60520/1
Boram Park [Sat, 13 Feb 2016 04:45:49 +0000 (13:45 +0900)]
Revert "ecore-drm: set the -DECORE_DRM_DEVICE_SUPPORT_SPRD after %build"

This reverts commit 437a096a5bd9b70f9aeb1788f6c5db8931d254a6.

Change-Id: I6ae917ce094c36ae75681c42ecdc013843cfa83f

8 years agoCheck tizen api version to convert key to support old tizen keycodes 16/60416/2 accepted/tizen/ivi/20160226.095621 accepted/tizen/mobile/20160226.095531 accepted/tizen/tv/20160226.095541 accepted/tizen/wearable/20160226.095604 submit/tizen/20160226.054125
JengHyun Kang [Fri, 26 Feb 2016 05:33:45 +0000 (14:33 +0900)]
Check tizen api version to convert key to support old tizen keycodes

Change-Id: I8278b93f9e78b9a02bfc231feb42d29cf9504bba

8 years agoAdded ttrace for drm setup, evas_gl_drm engine, ecore_evas_gl_drm 93/60393/1 submit/tizen/20160226.045144
MinJeong Kim [Fri, 26 Feb 2016 02:09:48 +0000 (11:09 +0900)]
Added ttrace for drm setup, evas_gl_drm engine, ecore_evas_gl_drm

Change-Id: Ibab1b414bc82cc677bd6d73ae8d03f0d3d06f76c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoMerge "edje_entry: Add "preedit_highlight" tag" into tizen
Youngbok Shin [Tue, 23 Feb 2016 06:15:02 +0000 (22:15 -0800)]
Merge "edje_entry: Add "preedit_highlight" tag" into tizen

8 years agoedje_entry: Add "preedit_highlight" tag 06/60006/2
Minwoo, Lee [Mon, 24 Aug 2015 06:49:50 +0000 (15:49 +0900)]
edje_entry: Add "preedit_highlight" tag

Signed-off-by: Minwoo, Lee <minwoo47.lee@samsung.com>
Conflicts:
src/lib/edje/edje_entry.c

Change-Id: I11c2edd7b589bcf46db0b2c3e384ccb1cdab58fb

8 years agoMerge "ecore_imf/wayland: refine content purpose" into tizen accepted/tizen/ivi/20160223.231338 accepted/tizen/mobile/20160223.231251 accepted/tizen/tv/20160223.231308 accepted/tizen/wearable/20160223.231323 submit/tizen/20160223.042742
sungwook park [Tue, 23 Feb 2016 04:25:17 +0000 (20:25 -0800)]
Merge "ecore_imf/wayland: refine content purpose" into tizen

8 years agoecore_drm : add _ecore_drm_output_delete 33/59533/2
Junkyeong Kim [Tue, 16 Feb 2016 09:22:50 +0000 (18:22 +0900)]
ecore_drm : add _ecore_drm_output_delete

Change-Id: Ia0f52966ed2b57a2ee81176c31fa3abb783e7de5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoecore_imf/wayland: refine content purpose 09/60009/1
Jihoon Kim [Mon, 22 Feb 2016 08:40:56 +0000 (17:40 +0900)]
ecore_imf/wayland: refine content purpose

Change-Id: If125b5fe7d98bb281a5a4c521190e9e2293308b9

8 years agoecore_imf/wayland: Add comment in tizen only code 82/59982/2
Jihoon Kim [Mon, 22 Feb 2016 05:07:32 +0000 (14:07 +0900)]
ecore_imf/wayland: Add comment in tizen only code

Change-Id: I6a5338abbeaeb5bdef5a5430943b9a82e24028e3

8 years ago[Tizen2.4] Fix to load module for plugin. 79/58579/5
Youngbok Shin [Mon, 19 Jan 2015 08:47:39 +0000 (17:47 +0900)]
[Tizen2.4] Fix to load module for plugin.

Change-Id: I86fac687d2293f1be52d3585e94ac4d6b0374fb9

8 years agoMerge "ecore_imf/wayland: Add bidi_direction" into tizen accepted/tizen/common/20160224.090714 accepted/tizen/ivi/20160222.012255 accepted/tizen/mobile/20160222.012027 accepted/tizen/tv/20160222.012117 accepted/tizen/wearable/20160222.012227 submit/tizen/20160219.103704 submit/tizen_common/20160223.134137 submit/tizen_common/20160223.144503
Jihoon Kim [Fri, 19 Feb 2016 10:02:22 +0000 (02:02 -0800)]
Merge "ecore_imf/wayland: Add bidi_direction" into tizen

8 years agoecore_imf/wayland: Add bidi_direction 70/59870/2
InHong Han [Fri, 19 Feb 2016 05:36:52 +0000 (14:36 +0900)]
ecore_imf/wayland: Add bidi_direction

Change-Id: I2070af00e794bf56ab71db4d57c823080394e599
Signed-off-by: InHong Han <inhong1.han@samsung.com>
8 years agoecore-wl: save the values of aux_hint in Ecore_Wl_Window 42/59642/2
Seunghun Lee [Wed, 17 Feb 2016 05:54:10 +0000 (14:54 +0900)]
ecore-wl: save the values of aux_hint in Ecore_Wl_Window

this patch is for re-sending the values of aux_hint in case wl_surface is recreated.

Change-Id: Ib45a68b036173a1d98f1c9d36ef1a1788d99c025

8 years agoRevert "evas-gl-drm: block the pageflip for hwc at enlightenment." 51/59851/1
SooChan Lim [Fri, 19 Feb 2016 03:56:37 +0000 (12:56 +0900)]
Revert "evas-gl-drm: block the pageflip for hwc at enlightenment."

This reverts commit b3072ce9783f3d8baf1da18d1472bddeab6093ed.

Change-Id: I1fb1c354379733d4c65a010da8acdc48c2f78778

8 years agoRevert "ecore-evas-drm: hwc:check the possibility of drawing canvas" 50/59850/1
SooChan Lim [Fri, 19 Feb 2016 03:56:27 +0000 (12:56 +0900)]
Revert "ecore-evas-drm: hwc:check the possibility of drawing canvas"

This reverts commit 0abd931f3714f471d13aad524d2fda9503adaf68.

Change-Id: If71e942112eb97c9ca5ec9ca0c9099ac23ee0323

8 years agoecore-evas-drm: hwc:check the possibility of drawing canvas 09/59809/2
SooChan Lim [Thu, 18 Feb 2016 23:30:17 +0000 (08:30 +0900)]
ecore-evas-drm: hwc:check the possibility of drawing canvas

The wait_for_showup flags is set by enlightenment hwc.
The wait_for_showup flags is set to be true
when enlightenment display something on a screen.
And the flags is set to be false when the enlightenment
is done to display the image on a screen.

Change-Id: I221d7ae53d4a02e8a2012e88212d8ec18c0d90f3

8 years agoevas-gl-drm: block the pageflip for hwc at enlightenment. 08/59808/1
SooChan Lim [Thu, 18 Feb 2016 23:25:59 +0000 (08:25 +0900)]
evas-gl-drm: block the pageflip for hwc at enlightenment.

When the enlightenment set up the hwc(hardware compositing),
gl_drm engine does not display the ecore_evas canvas on a display.
Enlightenment will do it.

Change-Id: I562d1349d22e02b25d89c3093f89a15e86e157d3

8 years agoEvas Text: Update text layout when ellipsis is changed without resize 75/59675/1
Youngbok Shin [Tue, 16 Feb 2016 15:14:38 +0000 (17:14 +0200)]
Evas Text: Update text layout when ellipsis is changed without resize

Summary:
When only ellipsis is changed from 0.0~1.0 to -1.0 without resize,
the text is never updated. Because, previous state for ellipsis is never kept
and used properly to check when Evas Text needs to be updated.

It does not have any effect when ellipsis is changed from -1.0 to 0.0~1.0.
Because, Evas text always resize itself according to its text size.
So, necessarily, Evas text object has to be resized to the smaller size.
Commonly, Edje will handle its size if Evas text needs to be ellipsized.
@fix

Test Plan: Test case is included.

Reviewers: tasn, woohyun, herdsman

Subscribers: cedric, jpeg

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

Conflicts:
src/tests/evas/evas_test_text.c

Change-Id: Id5c484152efbe0a4df723c4422127e46ad5213be

8 years agoEvas object: Add paragraph_direciton APIs 74/59674/1
Youngbok Shin [Thu, 19 Nov 2015 11:37:07 +0000 (11:37 +0000)]
Evas object: Add paragraph_direciton APIs

Summary:
It adds evas_object_paragraph_direction_set, get APIs.
The APIs set or get paragraph direction to/from the given object.
It changes BiDi calculations and affect the direction and aligning of text.
It doesn't have any effect to text without Fribidi library.

The default paragraph direction is EVAS_BIDI_DIRECTION_INHERIT.
If dir is EVAS_BIDI_DIRECTION_INHERIT, paragraph direction is changed
according to smart parent object. If there is no smart parent object,
paragraph direction works as EVAS_BIDI_DIRECTION_NEUTRAL.

@feature

Test Plan:
Test cases included to the following files.
- evas_test_textblock.c
- evas_test_text.c
- evas_test_object_smart.c

Run "make check".

Reviewers: woohyun, raster, herdsman, tasn

Subscribers: c, raster, cedric

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

Conflicts:
src/lib/evas/canvas/evas_object_text.c

Change-Id: Ie97eab545f487bdd817156b18fd434f814159183

8 years agoEvas text: Change bitfield bool types to Eina_Bool. 73/59673/1
Tom Hacohen [Thu, 12 Nov 2015 15:43:43 +0000 (15:43 +0000)]
Evas text: Change bitfield bool types to Eina_Bool.

This is really just a safety measure, as we always just check if the value
is true. However, with char the potential values are -1 and 0, and with
Eina_Bool they are 1 and 0, so fixing that.

Thanks to the "sparse semantic parser" for detecting that, and to Stefan
for reporting.

Change-Id: Icb0de29e241e5931be7b2c7e9f78c0324b949e46

8 years agoEvas text: Remove tabs for readability 72/59672/1
Subodh Kumar [Tue, 17 Nov 2015 11:22:17 +0000 (11:22 +0000)]
Evas text: Remove tabs for readability

Summary: Remove tabs

Test Plan: NA

Reviewers: tasn

Subscribers: cedric

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

Change-Id: I235274a7410c20255f2d09c182797b1d11bc6bf4

8 years agoevas: fix some indentation and formatting in textblock. 71/59671/1
Subodh Kumar [Mon, 9 Nov 2015 23:39:10 +0000 (15:39 -0800)]
evas: fix some indentation and formatting in textblock.

Summary: Fix some indentation and formatting.

Reviewers: herdsman, tasn

Subscribers: cedric

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

Change-Id: I235048cadb9ad828cf22dbcd7a7c4ed3ca52fb79
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoEvas text: set NULL free'd pointers in evas_object_text_free() 70/59670/1
Youngbok Shin [Mon, 15 Feb 2016 10:41:37 +0000 (10:41 +0000)]
Evas text: set NULL free'd pointers in evas_object_text_free()

Summary:
_render_pre() function could be called for an object which is
going to be deleted. According to state changes of the object,
text could be recalculated with free'd pointers. It caused an
invalid read and crash.
@fix

Test Plan:
1. Apply D1747.
2. Run elementary_test.
3. Put any character in elm_entry and change paragraph direction.
4. Put any character again.
5. It can cause a crash which is caused by invalid read in Evas Text.

Reviewers: herdsman, woohyun, tasn, raster

Subscribers: cedric, jpeg

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

Change-Id: Id4c680ac7ecab49a59af365dfcd7b6f5dfcca432

8 years agoEvas textblock: ifdef unused 'hyphens' code 69/59669/1
Daniel Hirt [Sun, 14 Feb 2016 12:20:34 +0000 (14:20 +0200)]
Evas textblock: ifdef unused 'hyphens' code

The usage of the 'hyphens' array is only relevant when
"--enable-hyphen" is used.
This fixes the dead code addressed in
5b083ace84ca91496810cd1826c9469a6c741700.

Change-Id: Ic4801d8b8a581f108773b08cd6947326d039e80a

8 years agoRevert "Evas textblock: Properly ifdef hyphenation out." 68/59668/1
Daniel Hirt [Sun, 14 Feb 2016 11:18:49 +0000 (13:18 +0200)]
Revert "Evas textblock: Properly ifdef hyphenation out."

This reverts commit 5b083ace84ca91496810cd1826c9469a6c741700.

The "--enable-hyphen" option refers to using the optional hyphenation
dictionaries. We support hyphenation via SHY-HYPHEN hints regardless of
this option.
The following commit will provide finer handling to address the issue in
the reverted one.

Change-Id: I14845bb2bdb20e546cf44a89e407b7566cc5de53

8 years agoEvas textblock: Disable hyphenation tests when hyphenation is disabled. 67/59667/1
Tom Hacohen [Fri, 12 Feb 2016 12:12:00 +0000 (12:12 +0000)]
Evas textblock: Disable hyphenation tests when hyphenation is disabled.

Conflicts:
src/tests/evas/evas_test_textblock.c

Change-Id: Ib1826744bf9a87d5bd122b5ea91a06c4009ffc60

8 years agoEvas textblock: Properly ifdef hyphenation out. 66/59666/1
Tom Hacohen [Fri, 12 Feb 2016 12:08:29 +0000 (12:08 +0000)]
Evas textblock: Properly ifdef hyphenation out.

I found this thanks to coverity. There was some code that we were running
although hyphenation was actually off.

CID 1341062.

Change-Id: Id890453d9fb4bcbdfa68587245a12b70061ab43c

8 years agoEvas textblock: Fix _dict_hyphen_load could return an uninitialized pointer 65/59665/1
Youngbok Shin [Fri, 12 Feb 2016 09:46:33 +0000 (09:46 +0000)]
Evas textblock: Fix _dict_hyphen_load could return an uninitialized pointer

Summary:
If there are hyph_*.dic files except for requested language,
"dict" pointer could be return without initialized. It doesn't make any
warning messages when it is compiled. Normally, it is NULL implicitly.
But, it is good to set NULL explicitly for understanding code.

Test Plan: N/A

Reviewers: herdsman, tasn, woohyun

Subscribers: cedric, jpeg

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

Change-Id: Id2ce93c6c55c39e7f5464963fb26dd715e87264e

8 years agoEvas font: Use proper enum value for extrabold 51/59251/2
Youngbok Shin [Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)]
Evas font: Use proper enum value for extrabold

Summary:
ULTRABOLD is identical to EXTRABOLD in freetype.
But, "extrabold" word is added for FC_WEIGHT_EXTRABOLD.
So, it has to be changed to use EXTRABOLD instead of
ULTRABOLD. It was mistake in my previous commit.
@fix

Test Plan: N/A

Reviewers: tasn, herdsman, woohyun

Subscribers: cedric, jpeg

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

Change-Id: I46ce936b5023f5f5f766c9faaac8c8bb8df4dd56

8 years agoEvas textblock: Skip layout logic for an text item which doesn't have font. 88/59188/3
Youngbok Shin [Fri, 4 Dec 2015 14:46:26 +0000 (14:46 +0000)]
Evas textblock: Skip layout logic for an text item which doesn't have font.

Summary:
Evas textblock could cause infinite loop if there is no fonts to use.
If there is no fonts, text_props.text_len is never set.
When text_props.text_len is 0, the for loop in _layout_par runs forever.
It is ridiculous to use Textblock without fonts. But, it shouldn't runs
infinite loop in any situation.

@fix

Test Plan:
1. Remove all of fonts in your EFL or Tizen device.
   (Or you can test it modifying some codes in Textblock by skipping load fonts.)
2. Run elementary_test -to entry3 or see any multiline textblocks.

Reviewers: tasn, herdsman, woohyun

Subscribers: cedric, jpeg

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

Change-Id: Ifeb027353a8b0de7ff033df63f02d542954c7cf7

8 years agoEvas Textblock: Fix text disappear issue when text is made up with multiple items. 87/59187/3
Youngbok Shin [Wed, 2 Dec 2015 07:36:47 +0000 (09:36 +0200)]
Evas Textblock: Fix text disappear issue when text is made up with multiple items.

Summary:
Text is disappearing when we resize a singleline Evas Textblock with ellipsis.
It is happened by putting a Text item at logical_items list without considering about logical position.
It is only happended the text is made up with multiple items.
@fix

Test Plan:
1. Run elementary_test
2. Click Label Ellipsis
3. Resize the window dynamically and see the result.

Reviewers: woohyun, tasn, herdsman

Subscribers: jpeg, subodh6129, shilpasingh, cedric

Maniphest Tasks: T2709

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

Change-Id: I8ec611fbddbb8fab1cd9706d4fc16f82ae87891f

8 years agoevas: fix a NULL dereference issue 86/59186/3
Minwoo, Lee [Wed, 6 Jan 2016 19:24:16 +0000 (11:24 -0800)]
evas: fix a NULL dereference issue

Summary:
If evas engine init failed, it can make crash.
For example
If opengl init failed, then ee->prop.window is 0
ecore_evas_gl_x11_options_new_internal
{
   if (!ee->prop.window)
     {
        ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
        ecore_evas_free(ee);
        return NULL;
     }
}

ecore_evas_free calls evas_fonts_zero_pressure
and this time evas->engine.func is NULL so it makes crash.

Reviewers: cedric

Subscribers: cedric, jpeg

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

Change-Id: I1f1becdc34856fe75a6de7eafb76ec78bfc8ccba
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: fix a NULL dereference issue in font. 85/59185/3
Youngbok Shin [Tue, 1 Dec 2015 23:03:27 +0000 (15:03 -0800)]
evas: fix a NULL dereference issue in font.

Summary:
eina_list_remove returns Eina_List pointer.
It could be NULL if the last list item is removed.
And the returned Eina_List pointer could be different from the given list.
So, calling free for fdir->data after fdir's address is changed is dangerous.
@fix

Test Plan: Run expedite or test app with evas_font_path_append() API.

Reviewers: stefan_schmidt, jpeg

Reviewed By: jpeg

Subscribers: stefan, jiin.moon, cedric, jpeg

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

Change-Id: I08525dccd60e975818194e3e86aaa4b1d66375f1
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas_font_dir: do not passed free'd memory to eina_list_remove() 84/59184/3
Stefan Schmidt [Mon, 30 Nov 2015 16:16:28 +0000 (17:16 +0100)]
evas_font_dir: do not passed free'd memory to eina_list_remove()

Free the actual memory after we removed it from the list.

Change-Id: I4a1211df9c2ca52f6eba34a9ae78a16d19edf4dc

8 years agoevas: Add ExtraLight, ExtraBold for font weight. 83/59183/4
Youngbok Shin [Thu, 26 Nov 2015 08:16:13 +0000 (10:16 +0200)]
evas: Add ExtraLight, ExtraBold for font weight.

Summary:
Evas supports UltraLight, UltraBold as font weight.
These terms have same weight value as ExtraLight, ExtraBold.
Some applications, for example, fontforge, use ExtraLight, ExtraBold terms for these weight values.
So, it would be better to support these terms, too.
@feature

Test Plan: None

Reviewers: tasn, woohyun, herdsman

Reviewed By: herdsman

Subscribers: cedric

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

Change-Id: I8448dd86f3b57b603558437aa6449f552dab13e9

8 years agoMerge "ecore_imf/wayland: ignore the duplicate show request" into tizen accepted/tizen/ivi/20160218.083656 accepted/tizen/mobile/20160218.055024 accepted/tizen/tv/20160218.055102 accepted/tizen/wearable/20160218.055157 submit/tizen/20160217.080453 submit/tizen_common/20160218.142243
Jihoon Kim [Wed, 17 Feb 2016 08:00:49 +0000 (00:00 -0800)]
Merge "ecore_imf/wayland: ignore the duplicate show request" into tizen