platform/upstream/efl.git
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 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

8 years agoMerge "Edje entry: Skip codes for updating cursor when cursor position is not changed...
Youngbok Shin [Wed, 20 Apr 2016 12:02:19 +0000 (05:02 -0700)]
Merge "Edje entry: Skip codes for updating cursor when cursor position is not changed" into tizen

8 years agoecore_drm_device:Set drm device name from tdm fd 00/66700/1 accepted/tizen/common/20160421.161510 accepted/tizen/ivi/20160421.011343 accepted/tizen/mobile/20160421.011458 accepted/tizen/tv/20160421.011404 accepted/tizen/wearable/20160421.011417 submit/tizen/20160420.115640
Boram Park [Wed, 20 Apr 2016 10:32:18 +0000 (19:32 +0900)]
ecore_drm_device:Set drm device name from tdm fd

Change-Id: If0ea8a4d7d3be942c973534437188bab627c46ec

8 years agoMerge "efl/interface: update locale before parsing svg path" into tizen
Jee-Yong Um [Wed, 20 Apr 2016 06:02:15 +0000 (23:02 -0700)]
Merge "efl/interface: update locale before parsing svg path" into tizen

8 years agoMerge "evas: revert latest patch in evas_common_convert_argb_premul api It makes...
jiin.moon [Wed, 20 Apr 2016 05:12:02 +0000 (22:12 -0700)]
Merge "evas: revert latest patch in evas_common_convert_argb_premul api It makes blending issue with image mask." into tizen

8 years agoefl/interface: update locale before parsing svg path 26/66626/2
Jee-Yong Um [Wed, 20 Apr 2016 03:09:24 +0000 (12:09 +0900)]
efl/interface: update locale before parsing svg path

Change-Id: I4fb8c8ad78d8122c8a549c15cd335709cd5fd7ed
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
8 years agoEdje entry: Skip codes for updating cursor when cursor position is not changed 66/66466/4
Youngbok Shin [Tue, 19 Apr 2016 05:25:44 +0000 (14:25 +0900)]
Edje entry: Skip codes for updating cursor when cursor position is not changed

When ever a Edje's cursor function is called, "cursor,changed" signal is
emitted. Even if the position is not changed. And, in Elementary, the signal
will trigger evas_smart_objects_calculate() from elm_widget_show_region_set().
It causes bad performace.

The original patch is being reviewed on EFL upstream.
@tizen_fix

Change-Id: Ib615b7b85fada0ea85dede565bb384288ec50f73

8 years agoMerge "eina: Add ttrace log in evlog api" into tizen
jiin.moon [Wed, 20 Apr 2016 02:39:19 +0000 (19:39 -0700)]
Merge "eina: Add ttrace log in evlog api" into tizen

8 years agoeina: Add ttrace log in evlog api 72/65672/2
jiin.moon [Tue, 12 Apr 2016 05:46:44 +0000 (14:46 +0900)]
eina: Add ttrace log in evlog api

I think if this path will be work well, we should
convince evlog related with performance should be start + , end -

@tizen_feature

Change-Id: I90258cb1a33fd97f1db884068f953f9f628ad68b

8 years agoevas: revert latest patch in evas_common_convert_argb_premul api 77/66577/1
jiin.moon [Tue, 19 Apr 2016 12:22:05 +0000 (21:22 +0900)]
evas: revert latest patch in evas_common_convert_argb_premul api
It makes blending issue with image mask.

Refer to below description of reverted patch
==================================================================
commit: 1e33454772183563e0d2ffca6c961ff5822392ef

 evas common: make logic same to c code version.

    As C version,
    It increase alpha value by 1 to avoid loosing of the remains while it divides
    values. Neon version does same technique to make same results.
==================================================================
Change-Id: I980c739694bc1ce56b436a43d310c477e27d9cce

8 years agofix infinite loop when ecore_main_loop_glib_integrate is called 93/66493/3 accepted/tizen/common/20160420.140601 accepted/tizen/ivi/20160420.042830 accepted/tizen/mobile/20160420.042743 accepted/tizen/tv/20160420.042800 accepted/tizen/wearable/20160420.042814 submit/tizen/20160419.072838
Boram Park [Tue, 19 Apr 2016 07:16:51 +0000 (16:16 +0900)]
fix infinite loop when ecore_main_loop_glib_integrate is called

   Efl is working based on X in case of tizen IDE. In this case,
   ecore_main_loop_glib_integrate is not called.

Change-Id: I72f94c70f9fe0f5b1b553fce36d8fb960fb870a6

8 years agoUse calloc to initialize Ecore_Event_Mouse_XXX 57/66457/2
Duna Oh [Tue, 19 Apr 2016 04:53:25 +0000 (13:53 +0900)]
Use calloc to initialize Ecore_Event_Mouse_XXX

To make sure initialize all fields of Ecore_Event_Mouse_XXX,
use calloc() instead of malloc.

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

8 years agoecore_drm: add built-in devices by libinput_path 98/66398/3
Duna Oh [Mon, 18 Apr 2016 14:16:33 +0000 (23:16 +0900)]
ecore_drm: add built-in devices by libinput_path

getenv("PATH_DEVICES_NUM")
getenv("PATH_DEVICE_1")

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

8 years agoMerge "support tbm rot, flip" into tizen accepted/tizen/common/20160419.143313 accepted/tizen/ivi/20160419.050324 accepted/tizen/mobile/20160419.050316 accepted/tizen/tv/20160419.050306 accepted/tizen/wearable/20160419.050254 submit/tizen/20160419.011047
Joogab Yun [Tue, 19 Apr 2016 01:01:47 +0000 (18:01 -0700)]
Merge "support tbm rot, flip" into tizen

8 years ago[evas] add ttrace lib config 13/66413/1
Joogab Yun [Tue, 19 Apr 2016 00:25:36 +0000 (09:25 +0900)]
[evas] add ttrace lib config

Change-Id: Iba712e17cd6de9eef8a20e11aa09c586b4303c32

8 years agocalling cancel_read if the main loop wakes up not by a wayland socket fd 66/66366/3 accepted/tizen/ivi/20160418.235650 accepted/tizen/mobile/20160418.235637 accepted/tizen/tv/20160418.235643 accepted/tizen/wearable/20160418.235629 submit/tizen/20160418.102309
Boram Park [Mon, 18 Apr 2016 11:19:18 +0000 (20:19 +0900)]
calling cancel_read if the main loop wakes up not by a wayland socket fd

Change-Id: I0a172bf4d77a14913e745f1e6507246f36484da8

8 years agoecore wayland : add ECORE_WL_EVENT_GLOBAL_ADD/REMOVED, ECORE_WL_EVENT_KEYMAP_UPDATE... 96/65096/10
Sung-Jin Park [Tue, 5 Apr 2016 08:44:37 +0000 (17:44 +0900)]
ecore wayland : add ECORE_WL_EVENT_GLOBAL_ADD/REMOVED, ECORE_WL_EVENT_KEYMAP_UPDATE events

Change-Id: I48b54951261f7ab4357aa8b50c39ea199bde1f49

8 years agoecore_imf/wayland: Disable build wayland text input module 20/66220/1 accepted/tizen/common/20160419.142953 accepted/tizen/ivi/20160418.235325 accepted/tizen/mobile/20160418.235233 accepted/tizen/tv/20160418.235308 accepted/tizen/wearable/20160418.235249 submit/tizen/20160418.062859
Jihoon Kim [Mon, 18 Apr 2016 02:40:12 +0000 (11:40 +0900)]
ecore_imf/wayland: Disable build wayland text input module

wayland text input module will be moved into ISF

Change-Id: I39327a3db7d155a248f7a2a9ad6b913e0c263b9c

8 years agosupport tbm rot, flip 80/64880/6
Joogab Yun [Wed, 6 Apr 2016 03:05:36 +0000 (12:05 +0900)]
support tbm rot, flip

Change-Id: Ie0547222846446bb74bfe0c310f22870c23d93ab

8 years agoevas-wayland-shm: Fix rotation for wayland shm engine 74/65874/2 accepted/tizen/common/20160415.162428 accepted/tizen/ivi/20160415.083923 accepted/tizen/mobile/20160415.083902 accepted/tizen/tv/20160415.083915 accepted/tizen/wearable/20160415.083844 submit/tizen/20160415.043720
Chris Michael [Mon, 21 Mar 2016 13:29:32 +0000 (09:29 -0400)]
evas-wayland-shm: Fix rotation for wayland shm engine

Prior to this fix, window rotation was not operating correctly and the
surface contents would get rendered at the wrong size and position.
This patch fixes the engine so that rotation operates properly now.

NB: Tested with the Window States(2) test in elementary

Thanks to shiin for reporting :)

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Conflicts:
src/modules/evas/engines/wayland_shm/evas_outbuf.c

Change-Id: I171a2a4f77ce9feae014825f8b0d80e891014780

8 years agoedje: fix invalid calculation to get a circular dependency 07/66007/1
Shinwoo Kim [Thu, 14 Apr 2016 12:55:14 +0000 (21:55 +0900)]
edje: fix invalid calculation to get a circular dependency

Change-Id: Ic0cc0ef774f02a6cec05bb1a5000f1d1cd88ead2

8 years agoevas: Disable TILE_ROTATE option 25/65725/2
jiin.moon [Tue, 12 Apr 2016 08:07:06 +0000 (17:07 +0900)]
evas: Disable TILE_ROTATE option
A crash issue happen by codes under this option when rotating.

Never used this option on tizen platform before.
And never verified this code on upstream.

Change-Id: Ic6f89d7ca7eeea063b99a6b421c3bbbed7e1eed5

8 years agoEvas langauge: Prevent potential buffer overflow and clean code. 31/65931/1
Tom Hacohen [Fri, 8 Apr 2016 10:34:53 +0000 (11:34 +0100)]
Evas langauge: Prevent potential buffer overflow and clean code.

We were copying a user defined string into a fixed size buffer
without doing any boundary checks. This commit fixes that.
Also cleaned up similar code that was using hardcoded numbers.

@fix.

Change-Id: If32cdf9fc383cc0d13043693af1179686dcb9f44

8 years agoMerge "Edje entry: Use markup text for password in preedit mode" into tizen
Youngbok Shin [Thu, 14 Apr 2016 05:35:38 +0000 (22:35 -0700)]
Merge "Edje entry: Use markup text for password in preedit mode" into tizen