platform/upstream/efl.git
8 years agoCall a release request if a device is removed 90/72790/1 accepted/tizen/common/20160606.141725 accepted/tizen/ivi/20160606.040609 accepted/tizen/mobile/20160606.035215 accepted/tizen/tv/20160606.035908 accepted/tizen/wearable/20160606.040112 submit/tizen/20160603.042314
JeongHyun Kang [Thu, 2 Jun 2016 11:02:05 +0000 (20:02 +0900)]
Call a release request if a device is removed

Change-Id: I00ab477fdebb799a3554daee3ed18544613973dc

8 years agoevas_object_key_grab exclusive option logic is changed. 50/72150/2
JEONGHYUN YUN [Tue, 31 May 2016 01:20:24 +0000 (10:20 +0900)]
evas_object_key_grab exclusive option logic is changed.
 - added is_active property in Evas_Key_Grab
 - Evas key down and key up events transferred to active grabs only.
 - If evas grabs has a exclusive grab, other grabs will be deactivated.
 - If a exclusive grab is ungrabbed, remained grabs will be activated.

Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Change-Id: I36ff752cc86262a0cfeb92d4f849bb3ae5b881d4

8 years agoset pending_flip before calling tdm_output_commit 07/72407/2 accepted/tizen/common/20160601.134157 accepted/tizen/ivi/20160602.023134 accepted/tizen/mobile/20160602.023304 accepted/tizen/tv/20160602.022946 accepted/tizen/wearable/20160602.023105 submit/tizen/20160601.093131
Boram Park [Wed, 1 Jun 2016 00:47:25 +0000 (09:47 +0900)]
set pending_flip before calling tdm_output_commit

    The commit handler can be called in tdm_output_commit.

Change-Id: I1de00b2877d08bad0456463ea28acf02b047cf57

8 years agoevas_device: fix build warning - use parentheses around assignment used as truth... 24/71824/2
Duna Oh [Fri, 27 May 2016 08:10:12 +0000 (17:10 +0900)]
evas_device: fix build warning - use parentheses around assignment used as truth value

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

8 years agoecore_wl_input: fix build warning of incompatible pointer type 21/71821/2 sandbox/srk/devel
Duna Oh [Fri, 27 May 2016 08:03:52 +0000 (17:03 +0900)]
ecore_wl_input: fix build warning of incompatible pointer type

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

8 years agoecore_wl_input: use release as a destructor since wl_seat ver. is upgraded to 4 82/71782/2
Duna Oh [Fri, 27 May 2016 05:52:46 +0000 (14:52 +0900)]
ecore_wl_input: use release as a destructor since wl_seat ver. is upgraded to 4

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

8 years agowayland egl : Remove build warning for unused variable 86/70886/2
JunsuChoi [Mon, 23 May 2016 07:05:33 +0000 (16:05 +0900)]
wayland egl : Remove build warning for unused variable

   Remove unused variable. and EINA_UNUSED macro was inserted after unused parameter.

Change-Id: Ic0ee6f5e0c62a87b0b8eeb1d539b7676b6ce51ff

8 years agoevas_engines_gl_drm : Remove build warning 28/70728/3
JunsuChoi [Fri, 20 May 2016 08:19:00 +0000 (17:19 +0900)]
evas_engines_gl_drm : Remove build warning

   - Remove unused variable.
   - Some variables were type casted into void* for arithmetic warning.
   - Changed type of 'last' variable type in _evas_outbuf_cb_pageflip() function.
     Because, That is only used as 'struct gbm_bo' type.

Change-Id: Ic660edb8d5d1ea096bd3830736f57db85ed2b105

8 years agoevas_engines_drm : Remove build warning for unused parameter 91/70691/2
JunsuChoi [Fri, 20 May 2016 06:36:18 +0000 (15:36 +0900)]
evas_engines_drm : Remove build warning for unused parameter

   EINA_UNUSED macro was inserted after unused parameter.

Change-Id: Ice5b9222dc7c566c78f8e27e5befabbc52c8d678

8 years agoevas_object_vg : Fix build warning for uninitialized variable. 09/69809/3
JunsuChoi [Tue, 10 May 2016 05:42:52 +0000 (14:42 +0900)]
evas_object_vg : Fix build warning for uninitialized variable.

initialized two variable

Change-Id: I9d1d48fbae1f1df3c6ed9de38b3b8ef36d5a59d1

8 years agoecore_drm : Fix build warning for unused parameter and function. 10/69810/3
JunsuChoi [Tue, 10 May 2016 07:28:39 +0000 (16:28 +0900)]
ecore_drm : Fix build warning for unused parameter and function.

Instead of some unused parameters (void)variable_name line
and remove unused function.

Change-Id: Iddf588aa35c7284539de1a88d27b717094b010bb

8 years agoEcore Wayland : Remove build warning 23/69823/2
JunsuChoi [Tue, 17 May 2016 01:42:44 +0000 (10:42 +0900)]
Ecore Wayland : Remove build warning

   Remove build warning from ecore_wl_input.c, _window.c
   I did remove unused variable and add EINA_UNUSED for unused parameter.
   Also, I added type casting for 'uintptr' type

Change-Id: I8a53efbd1712debc3331627d8e2da4bcb4176c0c

8 years agoecore_input_evas : Remove build warning for unused parameter 83/70683/2
JunsuChoi [Fri, 20 May 2016 06:25:52 +0000 (15:25 +0900)]
ecore_input_evas : Remove build warning for unused parameter

   EINA_UNUSED macro was inserted after unused parameter.

Change-Id: Id8ba8ec955f6dc4e9f7de89aa736d9d6dbdb5c60

8 years ago[evas] bugfix - color format of native tbm surface 36/71536/1
Joogab Yun [Thu, 26 May 2016 00:30:39 +0000 (09:30 +0900)]
[evas] bugfix - color format of native tbm surface

 there is color format bug in camera test, so change shader code
 and DDK modification is necessary

Change-Id: I547199174aa063453baefaa1c4b48ff8926f6b79

8 years agoecore-wayland: fixed wrong variable for NULL check 19/71119/1
MinJeong Kim [Tue, 24 May 2016 07:20:25 +0000 (16:20 +0900)]
ecore-wayland: fixed wrong variable for NULL check

Change-Id: I8d01cfbc0e331951c3e84077d0708eb9a5e3d71c

8 years ago[Event] Fix worng data type calc in keyboard_repeat_setup. 53/70953/1 accepted/tizen/common/20160525.155730 accepted/tizen/ivi/20160525.235117 accepted/tizen/mobile/20160525.235057 accepted/tizen/tv/20160525.235101 accepted/tizen/wearable/20160525.235046 submit/tizen/20160524.083338 submit/tizen/20160525.051831
Junho Jung [Mon, 23 May 2016 10:53:30 +0000 (19:53 +0900)]
[Event] Fix worng data type calc in keyboard_repeat_setup.

  - repeat's member is double type. but input data is int type.

Change-Id: I6eda2f8530aa9df8149342f8fa204369a04cbb8b

8 years agoEvas Device: fix segv in evas_device_cleanup 52/70852/1 accepted/tizen/ivi/20160524.004357 accepted/tizen/mobile/20160524.004317 accepted/tizen/tv/20160524.004335 accepted/tizen/wearable/20160524.004305 submit/tizen/20160523.054353
Duna Oh [Mon, 23 May 2016 05:05:10 +0000 (14:05 +0900)]
Evas Device: fix segv in evas_device_cleanup

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

8 years agoMerge "ecore_wl: Considering screen height size, when calc dpi." into tizen
Woochan Lee [Thu, 19 May 2016 10:18:12 +0000 (03:18 -0700)]
Merge "ecore_wl: Considering screen height size, when calc dpi." into tizen

8 years agoMerge "[wayland_egl] delete evas_engine_info_set in ecore_evas_wl_hide" into tizen
sunghyun kim [Thu, 19 May 2016 05:57:53 +0000 (22:57 -0700)]
Merge "[wayland_egl] delete evas_engine_info_set in ecore_evas_wl_hide" into tizen

8 years agoecore_wl: Considering screen height size, when calc dpi. 93/70393/2
Woochan Lee [Thu, 19 May 2016 05:38:07 +0000 (14:38 +0900)]
ecore_wl: Considering screen height size, when calc dpi.

Change-Id: I7ba6b5961d23369c443f62c2c4d73645e32a9c5a

8 years agoecore_wayland: fixed resource leak 41/70241/1 accepted/tizen/common/20160520.170855 accepted/tizen/ivi/20160520.002235 accepted/tizen/mobile/20160520.002229 accepted/tizen/tv/20160520.002211 accepted/tizen/wearable/20160520.002222 submit/tizen/20160519.044349
Doyoun Kang [Thu, 19 May 2016 03:06:01 +0000 (12:06 +0900)]
ecore_wayland: fixed resource leak

Change-Id: I6966ec74582b710ea3b4f7f0c3f60cc03af998ec

8 years agoecore_evas: remove build warning 40/70240/1 accepted/tizen/common/20160520.170834 submit/tizen/20160519.043849
Doyoun Kang [Thu, 19 May 2016 03:01:12 +0000 (12:01 +0900)]
ecore_evas: remove build warning

Change-Id: I2d703a88cc13ac53c9b4ffaf6742bd8ed4939add

8 years agoEvas Device: use EINA_LIST_FOREACH_SAFE instead of EINA_LIST_FREE 28/70228/3
Duna Oh [Thu, 19 May 2016 01:58:36 +0000 (10:58 +0900)]
Evas Device: use EINA_LIST_FOREACH_SAFE instead of EINA_LIST_FREE

evas_device_del does eina_list_remove, and EINA_LIST_FREE does the same thing.
It can causes memory leak and possible crash. (reported by valgrind)

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

8 years agoMerge "ecore_imf: Add multiline hint in input hint" into tizen
Jihoon Kim [Thu, 19 May 2016 01:03:51 +0000 (18:03 -0700)]
Merge "ecore_imf: Add multiline hint in input hint" into tizen

8 years agoecore_wl_input: add logic for waiting until "wl input" is ready 08/70108/2
Hosang Kim [Wed, 18 May 2016 05:53:21 +0000 (14:53 +0900)]
ecore_wl_input: add logic for waiting until "wl input" is ready

Sometimes wl input is not ready, because it is async process to create
wl input.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I8869fb51f178425830dc1ff3825c60e2b7920b68

8 years agoecore_imf: Add multiline hint in input hint 02/70102/1
Jihoon Kim [Wed, 18 May 2016 06:20:05 +0000 (15:20 +0900)]
ecore_imf: Add multiline hint in input hint

@feature

Change-Id: I6d20ba7315fed8d17be212a1c03f63ce674afce2

8 years agoMerge "Evas text: fix RTL text ellipsis issues" into tizen accepted/tizen/common/20160519.191115 accepted/tizen/ivi/20160519.002939 accepted/tizen/mobile/20160519.002859 accepted/tizen/tv/20160519.002913 accepted/tizen/wearable/20160519.002831 submit/tizen/20160518.081457 submit/tizen_common/20160518.095515
Youngbok Shin [Wed, 18 May 2016 04:29:18 +0000 (21:29 -0700)]
Merge "Evas text: fix RTL text ellipsis issues" into tizen

8 years agoMerge "Evas text: Remove a whitespcae from the right end of ellipsized RTL text"...
Youngbok Shin [Wed, 18 May 2016 04:29:14 +0000 (21:29 -0700)]
Merge "Evas text: Remove a whitespcae from the right end of ellipsized RTL text" into tizen

8 years agoMerge "Evas textblock: Calculate exact width for current item" into tizen
Youngbok Shin [Wed, 18 May 2016 04:29:10 +0000 (21:29 -0700)]
Merge "Evas textblock: Calculate exact width for current item" into tizen

8 years agoMerge "Evas textblock: fix ellipsis item at wrong place in RTL text" into tizen
Youngbok Shin [Wed, 18 May 2016 04:29:05 +0000 (21:29 -0700)]
Merge "Evas textblock: fix ellipsis item at wrong place in RTL text" into tizen

8 years agoMerge "Evas textblock: Apply scale factor to <linesize>, <linegap> formats" into...
Youngbok Shin [Wed, 18 May 2016 04:29:01 +0000 (21:29 -0700)]
Merge "Evas textblock: Apply scale factor to <linesize>, <linegap> formats" into tizen

8 years agoecore_drm: destroy hal_output 18/70018/2
SooChan Lim [Wed, 18 May 2016 00:29:46 +0000 (09:29 +0900)]
ecore_drm: destroy hal_output

Change-Id: I0ab342965d86929b2bbfc00fb379d6918c3b39af

8 years agoecore_wayland: use configured width/height to send rotation event 59/69759/3
MinJeong Kim [Mon, 16 May 2016 13:24:19 +0000 (22:24 +0900)]
ecore_wayland: use configured width/height to send rotation event

It's necessary to store configured width/height values to rotation event
structure instead of allocation width/height to prevent overriding latest
configured size by allocation size.

Change-Id: I0b5a7f577a105cb107e3300af19ee0d91b56476f
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
8 years agoecore_wl_input: increase wl_seat version from 1 to 4. 99/69699/3
Hosang Kim [Mon, 16 May 2016 10:29:13 +0000 (19:29 +0900)]
ecore_wl_input: increase wl_seat version from 1 to 4.

To register "repeat info" listner. Because it is supported since version
4.0.

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

8 years agoEvas text: fix RTL text ellipsis issues 95/69795/1
Youngbok Shin [Tue, 17 May 2016 01:15:59 +0000 (10:15 +0900)]
Evas text: fix RTL text ellipsis issues

Summary:
Visual position of ellipsis item should be set according to
its bidi direction. But, by setting visual position in same way
as logical position, the end ellipsis could be put opposite side.
Also, start ellipsis must placed on left side of RTL text.
@fix T3187

Test Plan: Test an sample on T3187

Reviewers: tasn, herdsman, woohyun

Subscribers: cedric, jpeg, minudf

Maniphest Tasks: T3187

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

@tizen_fix

Change-Id: If78b6becb5059052ddae23f7dee39d91ddce38c7

8 years agoEvas text: Remove a whitespcae from the right end of ellipsized RTL text 92/69792/1
Youngbok Shin [Tue, 17 May 2016 01:07:20 +0000 (10:07 +0900)]
Evas text: Remove a whitespcae from the right end of ellipsized RTL text

@tizen_fix

Change-Id: I89d2e658e986f9fa569608562e494715701ae264

8 years agoEvas textblock: Calculate exact width for current item 89/69789/3
Youngbok Shin [Tue, 17 May 2016 00:58:37 +0000 (09:58 +0900)]
Evas textblock: Calculate exact width for current item

@tizen_fix

Change-Id: I19af0791b709637369f327811f8b1471eb486468

8 years agoEvas textblock: fix ellipsis item at wrong place in RTL text 85/69785/3
Youngbok Shin [Tue, 17 May 2016 00:45:17 +0000 (09:45 +0900)]
Evas textblock: fix ellipsis item at wrong place in RTL text

Summary:
An ellipsis item could be placed in wrong place in RTL text
with separated and short text items. Normally, an ellipsis
item has to be behind(in logical position) of previous item.
But, when the length of previos text item is 1, ellipsis
item could have same position with the previous item.
It was working fine for LTR text. But, wrong ellipsis could
be shown in RTL text.
@fix

Test Plan:
The test case included.
Run "make check"

Reviewers: tasn, minudf, woohyun, herdsman

Subscribers: Blackmole, z-wony, anand.km, cedric, jpeg

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

@tizen_fix

Change-Id: I17cee4742ca0e947b2aeb413cf4c1a6b89a15de7

8 years agoEvas textblock: Apply scale factor to <linesize>, <linegap> formats 81/69781/1
Youngbok Shin [Mon, 16 May 2016 23:49:45 +0000 (08:49 +0900)]
Evas textblock: Apply scale factor to <linesize>, <linegap> formats

Summary:
Font size is scaled according to scale factor.
The linesize, linegap formats also have to be scaled properly.
@fix

Test Plan:
Test cases are included.
Run "make check"

Reviewers: woohyun, Jieun, tasn, herdsman

Reviewed By: tasn

Subscribers: cedric, jpeg

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

Change-Id: I0845c013a734f0feffa203689d404de4edecd898

8 years agoedje: fix typo affecting our 32bits signal matching code. 84/68984/2
Jaeyong Hwang [Wed, 11 May 2016 02:15:55 +0000 (11:15 +0900)]
edje: fix typo affecting our 32bits signal matching code.

Big thanks to Maxim who did a serious digging in this issue making it almost
a patch review.

T3125

@fix

upstream commit: 61f7236a62db2c932c82bc68fb1ac8082514831f
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: Id4fc301cf5e700914073bd1c3447b1281844ae49

8 years agoecore_evas, ecore_wayland : enable pointer warp 43/69243/5 accepted/tizen/common/20160517.173821 accepted/tizen/ivi/20160516.091703 accepted/tizen/mobile/20160516.091730 accepted/tizen/tv/20160516.091603 accepted/tizen/wearable/20160516.091718 submit/tizen/20160516.024826
Sung-Jin Park [Thu, 12 May 2016 08:53:38 +0000 (17:53 +0900)]
ecore_evas, ecore_wayland : enable pointer warp

Change-Id: I23b15cfc87ec50bbc01422e3a9a8e3c615f94a7c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
8 years agoecore_wayland : add tizen_input_device_manager interface listeners not to make a... 10/69210/2
Sung-Jin Park [Thu, 12 May 2016 07:22:18 +0000 (16:22 +0900)]
ecore_wayland : add tizen_input_device_manager interface listeners not to make a crash

Change-Id: Iae23d6e9d4ae6357c88f3105ff7780ed9dbed59a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
8 years agoevas/gl-drm: fixed memory leak 16/69416/1
MinJeong Kim [Fri, 13 May 2016 05:32:31 +0000 (14:32 +0900)]
evas/gl-drm: fixed memory leak

Change-Id: Ib462eb8dc43a59a05ffe7e0f98e00f02e0f3056c

8 years agoMerge "evas: skip 1x1 size frame" into tizen
jiin.moon [Thu, 12 May 2016 04:59:06 +0000 (21:59 -0700)]
Merge "evas: skip 1x1 size frame" into tizen

8 years agoevas: skip 1x1 size frame 50/69150/1
jiin.moon [Wed, 11 May 2016 07:51:59 +0000 (16:51 +0900)]
evas: skip 1x1 size frame

Don't need to render about 1x1 size.

Change-Id: I999a5b77450ae75ad19d54e923330ec5794734ba

8 years ago edje_callbacks: fix click signal emitting even though mouse event was cancelled 10/69110/1
Ji-Youn Park [Wed, 11 May 2016 14:12:10 +0000 (22:42 +0830)]
edje_callbacks: fix click signal emitting even though mouse event was cancelled

    even though each part want to get the signal regardless of ON_HOLD,
    click signal should not emmitted if event flag is set to ON_HOLD.
    ON_HOLD means this event is useless, so up event with ON_HOLD flag cannot source of clicked signal.

    @fix

    open_commit 27495fe6705a5e28971cffdd8e9cfcb92868a439
    Author: Ji-Youn Park <jy0703.park@samsung.com>
    Date:   Wed May 11 22:14:27 2016 +0830

Change-Id: I953268970ef1bcf74725a5e938ee37eed19d953d

8 years ago[wayland_egl] delete evas_engine_info_set in ecore_evas_wl_hide 88/68888/5
sunghyun kim [Tue, 10 May 2016 07:42:35 +0000 (16:42 +0900)]
[wayland_egl] delete evas_engine_info_set in ecore_evas_wl_hide

wayland spec is not define whether wl_egl_window_create() can use null surface or not.
so current tizen device does not allow to create null surface wayland window.

Change-Id: Iec3ab7833e619fe93ea90bd6cfae3d40a308a1fd

8 years agoMerge "edje: fix edje RTL description in case of custom state of a part This patch...
Myoungwoon Roy Kim [Wed, 11 May 2016 00:38:11 +0000 (17:38 -0700)]
Merge "edje: fix edje RTL description in case of custom state of a part This patch is from opensource (59681c331139e4d5424e77ff1614dc47fa8ddd8ef5c4cd2f7f51f739f5f69eb4c857ccbfd8d51b0a)" into tizen

8 years agoMerge "edje: Fix issue with width calculation and padding This patch is from opensour...
Myoungwoon Roy Kim [Wed, 11 May 2016 00:37:58 +0000 (17:37 -0700)]
Merge "edje: Fix issue with width calculation and padding This patch is from opensource (acab227544b7903ed6c267f022ebc389246e9ccc)" into tizen

8 years agoMerge "[ecore_evas] rotation engine info set bug fixed" into tizen accepted/tizen/common/20160511.141848 accepted/tizen/ivi/20160512.050344 accepted/tizen/mobile/20160512.050319 accepted/tizen/tv/20160512.050329 accepted/tizen/wearable/20160512.050305 submit/tizen/20160510.110832
Jiyoun Park [Tue, 10 May 2016 04:37:57 +0000 (21:37 -0700)]
Merge "[ecore_evas] rotation engine info set bug fixed" into tizen

8 years ago[ecore_evas] rotation engine info set bug fixed 74/67874/4
JEONGHYUN YUN [Fri, 29 Apr 2016 02:46:48 +0000 (11:46 +0900)]
[ecore_evas] rotation engine info set bug fixed

if rotation is occured twice during the output flush, it cause crush.
the reason of problem is rotaion-> engine setup cause buffer free.
so only engine setup not async render

Change-Id: I76b8c97fc32571962ddc08d0fe70a3bf0f026647
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
8 years agoMerge "edje: add error log message for missing description" into tizen accepted/tizen/common/20160505.140424 accepted/tizen/ivi/20160506.035751 accepted/tizen/mobile/20160506.035220 accepted/tizen/tv/20160506.035539 accepted/tizen/wearable/20160506.035642 submit/tizen/20160504.075815
Jaehwan Kim [Tue, 3 May 2016 08:03:17 +0000 (01:03 -0700)]
Merge "edje: add error log message for missing description" into tizen

8 years agoMerge "eina: make eina rectangle an allocated thread safe structure to use." into...
WooHyun Jung [Tue, 3 May 2016 07:39:39 +0000 (00:39 -0700)]
Merge "eina: make eina rectangle an allocated thread safe structure to use." into tizen

8 years agoedje: add error log message for missing description 68/68268/1
jinwoo.shin [Thu, 10 Mar 2016 22:15:13 +0000 (14:15 -0800)]
edje: add error log message for missing description

Summary:
Developer cannot notice that any description didn't applied due to missing description or typo.
This message will be helpful to make correct the application.

Reviewers: cedric, Hermet, raster

Subscribers: soohye.shin, minkyu, cedric, jpeg

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

Change-Id: I3c0e40d8d2af996aa412a8bf8950f46c52c6c8a4
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: return default description depends on RTL when description doesn't exist 63/68263/1
Soohye Shin [Fri, 4 Mar 2016 23:53:53 +0000 (15:53 -0800)]
edje: return default description depends on RTL when description doesn't exist

Summary:
If not found edje part description, edje just set default description in spite of RTL status.
This adds to call function for getting the correct description as RTL status.

Reviewers: raster, Hermet, cedric

Subscribers: minkyu, sju27, cedric, jpeg

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

Change-Id: I493b590d5517d32a6d32d31cdf065e41e4e8fa8f
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoDo not convert keycodes if this system does not support old tizen keys 69/67069/6 accepted/tizen/common/20160504.125038 accepted/tizen/ivi/20160503.011732 accepted/tizen/mobile/20160503.011635 accepted/tizen/tv/20160503.011656 accepted/tizen/wearable/20160503.011716 submit/tizen/20160502.104143
JengHyun Kang [Mon, 25 Apr 2016 04:42:13 +0000 (13:42 +0900)]
Do not convert keycodes if this system does not support old tizen keys

Change-Id: I16e6b0894f9839d193255004f693ccc4f13b68c3

8 years agoevas: add radius, radius_x, radius_y, pressure, and angle to mouse event structs 48/66948/15 submit/tizen/20160502.041901
Duna Oh [Fri, 22 Apr 2016 06:36:01 +0000 (15:36 +0900)]
evas: add radius, radius_x, radius_y, pressure, and angle to mouse event structs

Evas Mouse events are used for mouse and also the first touch point.
In order not to lose touch information of first touch,
we add extended members to Evas_Event_Mouse_XXXwq structs.
The values of these members come from Ecore_Event_Mouse_XXX.

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

8 years agoMerge "[2.4][edje_entry] Fix to pass proper text and cursor position to imf in case...
Thiep Ha [Fri, 29 Apr 2016 05:36:05 +0000 (22:36 -0700)]
Merge "[2.4][edje_entry] Fix to pass proper text and cursor position to imf in case of selection" into tizen

8 years agoecore_wayland: added ecore_wl_window_stack_mode_set API 81/67881/1 accepted/tizen/common/20160429.170551 accepted/tizen/ivi/20160502.011718 accepted/tizen/mobile/20160502.011616 accepted/tizen/tv/20160502.011632 accepted/tizen/wearable/20160502.011650 submit/tizen/20160429.052526
Doyoun Kang [Fri, 29 Apr 2016 04:29:10 +0000 (13:29 +0900)]
ecore_wayland: added ecore_wl_window_stack_mode_set API

Change-Id: I99f9d8a0ea344cf3a3d7e18a62dccfa9909d31b8

8 years agoedje: fix edje RTL description in case of custom state of a part 31/67831/1
Minwoo, Lee [Thu, 28 Apr 2016 12:13:28 +0000 (21:13 +0900)]
edje: fix edje RTL description in case of custom state of a part
This patch is from opensource (59681c331139e4d5424e77ff1614dc47fa8ddd8ef5c4cd2f7f51f739f5f69eb4c857ccbfd8d51b0a)

    Summary:
    In case of RTL, the "custom" state properties does not apply. It happened because we don't copy the latest src to
    dst in set_state(PART:.., "custom", 0.0); in case of dst is already populated.
    We should copy the updated src to dst whenever we set the new custom description.

    @fix

    Reviewers: cedric, raster, jpeg, zmike, jaehwan

    Subscribers: kimcinoo, seoz, jpeg

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

Signed-off-by: Minwoo, Lee <minwoo47.lee@samsung.com>
Change-Id: Icf0b73f0cf2056e8f368c4215fc8139f2b4828e0

8 years agoedje: Fix issue with width calculation and padding 27/67827/1
Minwoo, Lee [Thu, 28 Apr 2016 11:16:07 +0000 (20:16 +0900)]
edje: Fix issue with width calculation and padding
This patch is from opensource (acab227544b7903ed6c267f022ebc389246e9ccc)

    Summary:
    The size of the style pad isn't considered when the min value of the
    textblock is calculated.  In case of putting the lable that there is an
    outline in the box, the letter is cut.  So, I revised so that
    evas_object_textblock_style_insets_get could be called after a
    evas_object_textblock_size_formatted_get in
    _edje_object_size_min_restricted_calc function.  And then the style pad was
    considered in the result value of the edje_object_size_min_calc.

    @fix

    Test Plan:

    EAPI_MAIN int
    elm_main(int argc, char **argv)
    {
       Evas_Object *box, *label;
       Evas_Object *win;

       elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);

       win = elm_win_util_standard_add("Font", "FONT");
       elm_win_autodel_set(win, EINA_TRUE);

       box = elm_box_add(win);
       elm_box_padding_set(box, 10, 0);
       elm_box_align_set(box, 1, 0.5);
       evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
       evas_object_size_hint_align_set(box, EVAS_HINT_FILL, EVAS_HINT_FILL);
       elm_win_resize_object_add(win, box);
       evas_object_show(box);

       label = elm_label_add(box);
       elm_object_text_set(label, "<font=default align=rignt color=#ffffff font_size=200 style=soft_outline outline_color=#ff0000ff>label");
       elm_box_pack_end(box, label);
       evas_object_show(label);

       evas_object_resize(win, 500, 300);
       evas_object_show(win);
       elm_run();

       return 0;
    }
    ELM_MAIN();

Signed-off-by: Minwoo, Lee <minwoo47.lee@samsung.com>
Change-Id: I5ca56206064233698ca9802c761bf94320381dfb

8 years agoeina: make eina rectangle an allocated thread safe structure to use. 48/67748/1
Cedric BAIL [Mon, 25 Apr 2016 19:48:08 +0000 (12:48 -0700)]
eina: make eina rectangle an allocated thread safe structure to use.

This is a better fix than D3913.

Change-Id: I18a1fb7b49e1b09794298f136ed00f8b061fddd3

8 years ago[2.4][edje_entry] Fix to pass proper text and cursor position to imf in case of selection 81/67681/1
Subodh Kumar [Fri, 14 Aug 2015 07:40:56 +0000 (13:10 +0530)]
[2.4][edje_entry] Fix to pass proper text and cursor position to imf in case of selection

@tizen_fix

Change-Id: I62beb5ce8027d00fe3e64de5320bb02ddc2d0359
Signed-off-by: Subodh Kumar <s7158.kumar@samsung.com>
8 years ago[evas-gl] destroy surface when evas-gl is direct renderable 69/67669/1
sunghyun kim [Thu, 28 Apr 2016 02:45:17 +0000 (11:45 +0900)]
[evas-gl] destroy surface when evas-gl is direct renderable

In tizen 3.0 & upstream , evasgl create more buffer when evas gl is direct renderable status.
but according to Log,this code want destory buffer.
Note that tizen 2.4, it is already fixed.

Change-Id: I4daa76a5c1b4b1f1cc288170beaf8b84b53bc027

8 years agoMerge "[evas] change rotation angle(90 and 270) because tbm is yinvert" into tizen
Joogab Yun [Thu, 28 Apr 2016 01:29:01 +0000 (18:29 -0700)]
Merge "[evas] change rotation angle(90 and 270) because tbm is yinvert" into tizen

8 years agoMerge "evas: enable dynamic flag for zero copy texture upload in ector / Bind to...
Wonsik Jung [Thu, 28 Apr 2016 01:28:39 +0000 (18:28 -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 agoedje_entry: fix crash issue in case of no selection text 25/67525/2 accepted/tizen/common/20160428.144255 accepted/tizen/ivi/20160428.003048 accepted/tizen/mobile/20160428.005143 accepted/tizen/tv/20160428.002850 accepted/tizen/wearable/20160428.003215 submit/tizen/20160427.115643
Jihoon Kim [Wed, 27 Apr 2016 06:58:26 +0000 (15:58 +0900)]
edje_entry: fix crash issue in case of no selection text

Change-Id: I90362a605cdaa10a64548003852e4448ba81c984

8 years ago[evas] change rotation angle(90 and 270) because tbm is yinvert 18/67518/1
Joogab Yun [Wed, 27 Apr 2016 06:24:21 +0000 (15:24 +0900)]
[evas] change rotation angle(90 and 270) because tbm is yinvert

Change-Id: I95481dc1419ad5de4c6609de34e4805df791dc88

8 years agoMerge "Evas textblock: Replace the replacement character of Tizen to 0x00A0 from... accepted/tizen/ivi/20160428.002924 accepted/tizen/mobile/20160428.005231 accepted/tizen/tv/20160428.002617 accepted/tizen/wearable/20160428.002956 submit/tizen/20160427.100734
Youngbok Shin [Tue, 26 Apr 2016 10:44:48 +0000 (03:44 -0700)]
Merge "Evas textblock: Replace the replacement character of Tizen to 0x00A0 from 0xFFFC" into tizen

8 years agoMerge "Evas textblock: Add glyphs shaping exception with checking language script...
Youngbok Shin [Tue, 26 Apr 2016 10:44:45 +0000 (03:44 -0700)]
Merge "Evas textblock: Add glyphs shaping exception with checking language script" into tizen

8 years agoMerge "Evas textblock: Use width of item format to position cursor." into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:38 +0000 (03:44 -0700)]
Merge "Evas textblock: Use width of item format to position cursor." into tizen

8 years agoMerge "Evas textblock: improve and fix line range rectangles" into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:34 +0000 (03:44 -0700)]
Merge "Evas textblock: improve and fix line range rectangles" into tizen

8 years agoMerge "Evas textblock: fix evas_textblock_cursor_line_set" into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:30 +0000 (03:44 -0700)]
Merge "Evas textblock: fix evas_textblock_cursor_line_set" into tizen

8 years agoMerge "textblock: support escaped &apos; tag" into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:26 +0000 (03:44 -0700)]
Merge "textblock: support escaped &apos; tag" into tizen

8 years agoMerge "Evas textblock: fix null-derefernce in _style_match_tag()" into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:21 +0000 (03:44 -0700)]
Merge "Evas textblock: fix null-derefernce in _style_match_tag()" into tizen

8 years agoMerge "Evas textblock: add a stringshare fastpath to markup_set" into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:17 +0000 (03:44 -0700)]
Merge "Evas textblock: add a stringshare fastpath to markup_set" into tizen

8 years agoMerge "Evas textblock: fix cached markup's stringshare refs" into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:13 +0000 (03:44 -0700)]
Merge "Evas textblock: fix cached markup's stringshare refs" into tizen

8 years agoMerge "Evas textblock: Fix markup cache, was completely broken." into tizen
Youngbok Shin [Tue, 26 Apr 2016 10:44:10 +0000 (03:44 -0700)]
Merge "Evas textblock: Fix markup cache, was completely broken." into tizen

8 years agoedje_text: Deleted duplicate line. 30/67330/1
Woochan Lee [Tue, 26 Apr 2016 09:28:44 +0000 (18:28 +0900)]
edje_text: Deleted duplicate line.

Change-Id: I83af52a56b329a230aebf610fa90c21c92a3ad00

8 years agoMerge "edje_text.c: Fix text size bug when text size calc for fit option support...
Woochan Lee [Tue, 26 Apr 2016 08:22:51 +0000 (01:22 -0700)]
Merge "edje_text.c: Fix text size bug when text size calc for fit option support." into tizen

8 years agoeina: return NULL iterator in all case, not only when safety check is turned on. 36/67236/1
Duna Oh [Tue, 26 Apr 2016 03:02:20 +0000 (12:02 +0900)]
eina: return NULL iterator in all case, not only when safety check is turned on.

origin from upstream:
https://git.enlightenment.org/core/efl.git/commit/src/lib/eina/eina_hash.c?id=5aa6a73b3461af4d67ba2dfe369ee2da3e11c9b5

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

8 years agoecore_evas_drm: change the log level 72/67172/3
SooChan Lim [Mon, 25 Apr 2016 11:24:11 +0000 (20:24 +0900)]
ecore_evas_drm: change the log level

Change-Id: I30eafe040893f8ec63cdd44f86cf4780cae90e20

8 years agoMerge "Evas_GL: Re-apply below run-time shader patches along with 'AFILL' flag handli...
Wonsik Jung [Tue, 26 Apr 2016 01:36:02 +0000 (18:36 -0700)]
Merge "Evas_GL: Re-apply below run-time shader patches along with 'AFILL' flag handling fix" into tizen

8 years agoEvas_GL: Re-apply below run-time shader patches along with 'AFILL' flag handling fix 44/67144/3
Prudhvi Raj, Vasireddi [Mon, 25 Apr 2016 09:08:48 +0000 (18:08 +0900)]
Evas_GL: Re-apply below run-time shader patches along with 'AFILL' flag handling fix

'run-time generation and load of shaders' feature (commit e7ae3b84795a8988caa6478e7e20aa4cd7a9545e)
Fix linking to 'context_restore_set'' patch for wayland_egl engine (commit 4e43d2c3a82f6471ca1f3e4028f2115d47f91cea)
Fix aarch64 build error in 'run-time generation and load of shaders' patch (commit 61c9991eef4ece13e45c567905c48d3e9a829a09)
Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require' (commit 45b7bf098bea3d1d5bf468387239cfa0dd7c1058)

AFILL Fix: AFILL flag is SET only for external images with No alpha

Change-Id: I175d820c909db1387324c9d98dd10d6c3341d397

8 years agoecore-wl: fix maximized value getter 27/66727/3 accepted/tizen/common/20160426.143009 accepted/tizen/ivi/20160425.231650 accepted/tizen/mobile/20160425.231506 accepted/tizen/tv/20160425.231631 accepted/tizen/wearable/20160425.231552 submit/tizen/20160425.065136
MinJeong Kim [Wed, 20 Apr 2016 13:12:13 +0000 (22:12 +0900)]
ecore-wl: fix maximized value getter

Change-Id: I3a3cf53048bc80543ef9a9fb1508c52a775a7ce8

8 years agoEvas textblock: Replace the replacement character of Tizen to 0x00A0 from 0xFFFC 13/66913/3
Youngbok Shin [Fri, 22 Apr 2016 04:25:05 +0000 (13:25 +0900)]
Evas textblock: Replace the replacement character of Tizen to 0x00A0 from 0xFFFC

To do not show "OBJECT REPLACEMENT CHARACTER",
we are going to use 0x00A0 instead of 0xFFFC.

@tizen_fix

Change-Id: Ie5968bc1a8d1a0c85ba0cec01adcbce37314daf5

8 years agoEvas textblock: Add glyphs shaping exception with checking language script 47/66947/2
Youngbok Shin [Fri, 22 Apr 2016 07:18:41 +0000 (16:18 +0900)]
Evas textblock: Add glyphs shaping exception with checking language script

@tizen_fix

Change-Id: I1f517cea5bfdf3e40aae675497500b5bb6a0c210

8 years agoEvas textblock: Use width of item format to position cursor. 34/66934/2
Subodh Kumar [Thu, 17 Dec 2015 11:54:35 +0000 (11:54 +0000)]
Evas textblock: Use width of item format to position cursor.

Summary:
Use width of item format to position cursor.

Sometimes it becomes very difficult to
position cursor over item and selection
becomes very difficult as we position the
cursor once the input X coord reached end of the item,
like one attached in the test plan. So this patch
decides over 50% of item width for X coord reaches
to position it at start or end.

@ix

Test Plan:
Attached setup shows how difficult to position cursor at the end when clicked
over item and selection is also very difficult. Consider such case in mobile
device, its becomes impossible to position cursor at the end and selection is
too much difficult.

{F27036}

Also added test cases in evas test suite

Reviewers: herdsman, tasn

Subscribers: cedric, jpeg

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

Change-Id: I801bfd2e3754299b5268be9970eed9ae5b340935

8 years agoEvas textblock: improve and fix line range rectangles 33/66933/2
Daniel Hirt [Tue, 8 Dec 2015 15:17:59 +0000 (17:17 +0200)]
Evas textblock: improve and fix line range rectangles

The line range rectangles geometries needed a bit of adjusting. I
started out with fixing T2648. In order to fill the gap between the end
of the line and the margins, the geometry of the last line's character
was used. I am not really sure why. Anyway, we have the line geometry,
so I replaced it with that.

Then, it led me to do some alignment checks, and indeed alignment cases
were not treated. For instance, an LTR paragraph could have a line
aligned with a value greater than 0.0. That means that we should fill
the gap from the left of the line, if it was the last line in a
multi-line selection. The inverse case is for RTL.

I think it now works as it should. Will see if the selection logic is
missing some more stuff once I come up with more example cases.

Fixes T2648.

@fix

Change-Id: Ic8285a9ae389e80c09d84558bc0cda749deaa575

8 years agoEvas textblock: fix evas_textblock_cursor_line_set 32/66932/2
Daniel Hirt [Mon, 7 Dec 2015 15:23:24 +0000 (17:23 +0200)]
Evas textblock: fix evas_textblock_cursor_line_set

The line_set function should set the cursor to the first logical
position in the line. We can't use the first text position of the
first item in the line, due to BiDi considerations (the line may be
reordered). I've split evas_textblock_cursor_line_char_first to avoid
code duplication, as it already handles these cases.

@fix

Change-Id: I8f493bc62b53b57e170829d01ad8cf43dc716642

8 years agotextblock: support escaped &apos; tag 23/66923/2
Mike Blumenkrantz [Tue, 29 Mar 2016 19:38:47 +0000 (15:38 -0400)]
textblock: support escaped &apos; tag

while not in the official html4 spec, this was supported by all browsers
except IE during the html4 era and is now included in html5.

@fix

Change-Id: I7b503c16e7ed97525f5123e586bfcccc4c2a4972

8 years agoEvas textblock: fix null-derefernce in _style_match_tag() 22/66922/2
Jiwon Kim [Thu, 24 Mar 2016 08:14:50 +0000 (10:14 +0200)]
Evas textblock: fix null-derefernce in _style_match_tag()

Summary:
add null check in _style_match_tag()
if evas_object_textblock_text_markup_set() is called with markup text before setting style,
segmentation fault is occurred in _style_match_tag()
@fix

Test Plan:
Insert this situation to test suite
 -> test id : evas_textblock_simple

Test for without this patch:
 1. apply patch just "src/tests/evas/evas_test_textblock.c" partially.
 2. $make check

Test for with this patch:
 1. apply this patch completely (2 files)
 2. $make check

Reviewers: id213sin, herdsman

Subscribers: Blackmole, cedric, jpeg

Projects: #efl

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

Change-Id: I5dc72d755b62a03a1ec0fac89e52ae59cee9dcb6

8 years agoEvas textblock: add a stringshare fastpath to markup_set 21/66921/2
Daniel Hirt [Sun, 28 Feb 2016 15:49:20 +0000 (17:49 +0200)]
Evas textblock: add a stringshare fastpath to markup_set

This optimization makes use of already stringshare'd text and avoids
unnecessary stringshare_add calls in markup_set. It improves the
performance of edje_calc when reapplying text to the textblock part.

Change-Id: I49f36e0404e44b92d3c255d0feeb126e5c4ffb44

8 years agoEvas textblock: fix cached markup's stringshare refs 20/66920/2
Daniel Hirt [Sun, 28 Feb 2016 15:33:40 +0000 (17:33 +0200)]
Evas textblock: fix cached markup's stringshare refs

The last fix 34020ed131c7a5da4d60bb3a452fac0d9ee5fdd1 was missing a
stringshare_del for the NOP case of markup_set. It led to a
constantly increasing ref count of the cached markup.

@fix

Change-Id: Ibd27474c54ed96329b9178c87917963cd4a15c0f

8 years agoecore_wayland: added floating mode set for wayland window 64/66664/4
MinJeong Kim [Wed, 20 Apr 2016 06:35:23 +0000 (15:35 +0900)]
ecore_wayland: added floating mode set for wayland window

Change-Id: I642edb56024faf4d44467722d18ea2f3363e2536

8 years agoEvas textblock: Fix markup cache, was completely broken. 19/66919/2
Tom Hacohen [Fri, 26 Feb 2016 09:06:00 +0000 (09:06 +0000)]
Evas textblock: Fix markup cache, was completely broken.

The markup cache was completely broken. It was not compared correctly,
so it wasn't even used, but regardless it was cleared just after being
set in some of the cases.

This is the first part of a performance regression fix in elm label.

@fix

Change-Id: I27e088c59b55aee5606b02ea021c386d8bde3a0d

8 years agoedje_text.c: Fix text size bug when text size calc for fit option support. 63/67063/2
Woochan Lee [Mon, 25 Apr 2016 03:49:36 +0000 (12:49 +0900)]
edje_text.c: Fix text size bug when text size calc for fit option support.

Change-Id: Ia1ee631a00f7478958c87e67ce07a636f7e0149f

8 years agoecore_drm_display: enhance tdm log 91/66991/1
Boram Park [Fri, 22 Apr 2016 10:27:23 +0000 (19:27 +0900)]
ecore_drm_display: enhance tdm log

Change-Id: Ia6ac6c6d1c5027e66c43e8c8ad41a8e4a89e6e4d

8 years agoecore-evas-wayland: Add event handler render_flush_post to handle wm_rotation. accepted/tizen/common/20160421.161722 accepted/tizen/ivi/20160422.065756 accepted/tizen/mobile/20160422.065829 accepted/tizen/tv/20160422.065743 accepted/tizen/wearable/20160422.065722 submit/tizen/20160421.061308
Seunghun Lee [Tue, 19 Apr 2016 02:20:52 +0000 (11:20 +0900)]
ecore-evas-wayland: Add event handler render_flush_post to handle wm_rotation.

Ack rotation done to wm after finishing make rotated frame.

Change-Id: I28bfa493379ae21cdfd9995d334ec890c928b401

8 years ago[Evas Engine] : add native TBM surface to gl drm engine 52/66652/2
Wonsik, Jung [Wed, 20 Apr 2016 06:43:44 +0000 (15:43 +0900)]
[Evas Engine] : add native TBM surface to gl drm engine

Add evas object image's native surface of TBM to EvasGLDRM engine

Change-Id: I9e89d0e7cffe2bc027a9f32579d8aa6bf378ed65