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
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
SooChan Lim [Wed, 18 May 2016 00:29:46 +0000 (09:29 +0900)]
ecore_drm: destroy hal_output
Change-Id: I0ab342965d86929b2bbfc00fb379d6918c3b39af
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>
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
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
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
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
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>
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>
MinJeong Kim [Fri, 13 May 2016 05:32:31 +0000 (14:32 +0900)]
evas/gl-drm: fixed memory leak
Change-Id: Ib462eb8dc43a59a05ffe7e0f98e00f02e0f3056c
jiin.moon [Thu, 12 May 2016 04:59:06 +0000 (21:59 -0700)]
Merge "evas: skip 1x1 size frame" into tizen
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
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
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 (
59681c331139e4d5424e77ff1614dc47fa8ddd8e,
f5c4cd2f7f51f739f5f69eb4c857ccbfd8d51b0a)" into tizen
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
Jiyoun Park [Tue, 10 May 2016 04:37:57 +0000 (21:37 -0700)]
Merge "[ecore_evas] rotation engine info set bug fixed" into tizen
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>
Jaehwan Kim [Tue, 3 May 2016 08:03:17 +0000 (01:03 -0700)]
Merge "edje: add error log message for missing description" into tizen
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
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>
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>
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
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
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
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
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 (
59681c331139e4d5424e77ff1614dc47fa8ddd8e,
f5c4cd2f7f51f739f5f69eb4c857ccbfd8d51b0a)
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
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
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
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>
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
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
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
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
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
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
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
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
Youngbok Shin [Tue, 26 Apr 2016 10:44:34 +0000 (03:44 -0700)]
Merge "Evas textblock: improve and fix line range rectangles" 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
Youngbok Shin [Tue, 26 Apr 2016 10:44:26 +0000 (03:44 -0700)]
Merge "textblock: support escaped ' 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
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
Youngbok Shin [Tue, 26 Apr 2016 10:44:13 +0000 (03:44 -0700)]
Merge "Evas textblock: fix cached markup's stringshare refs" 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
Woochan Lee [Tue, 26 Apr 2016 09:28:44 +0000 (18:28 +0900)]
edje_text: Deleted duplicate line.
Change-Id: I83af52a56b329a230aebf610fa90c21c92a3ad00
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
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
SooChan Lim [Mon, 25 Apr 2016 11:24:11 +0000 (20:24 +0900)]
ecore_evas_drm: change the log level
Change-Id: I30eafe040893f8ec63cdd44f86cf4780cae90e20
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
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
MinJeong Kim [Wed, 20 Apr 2016 13:12:13 +0000 (22:12 +0900)]
ecore-wl: fix maximized value getter
Change-Id: I3a3cf53048bc80543ef9a9fb1508c52a775a7ce8
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
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
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
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
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
Mike Blumenkrantz [Tue, 29 Mar 2016 19:38:47 +0000 (15:38 -0400)]
textblock: support escaped ' 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
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
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
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
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
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
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
Boram Park [Fri, 22 Apr 2016 10:27:23 +0000 (19:27 +0900)]
ecore_drm_display: enhance tdm log
Change-Id: Ia6ac6c6d1c5027e66c43e8c8ad41a8e4a89e6e4d
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
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
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
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
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
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
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>
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
jiin.moon [Wed, 20 Apr 2016 02:39:19 +0000 (19:39 -0700)]
Merge "eina: Add ttrace log in evlog api" into tizen
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
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
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
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
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
Joogab Yun [Tue, 19 Apr 2016 01:01:47 +0000 (18:01 -0700)]
Merge "support tbm rot, flip" into tizen
Joogab Yun [Tue, 19 Apr 2016 00:25:36 +0000 (09:25 +0900)]
[evas] add ttrace lib config
Change-Id: Iba712e17cd6de9eef8a20e11aa09c586b4303c32
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
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
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
Joogab Yun [Wed, 6 Apr 2016 03:05:36 +0000 (12:05 +0900)]
support tbm rot, flip
Change-Id: Ie0547222846446bb74bfe0c310f22870c23d93ab
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
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
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
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
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
Youngbok Shin [Fri, 8 Apr 2016 10:17:51 +0000 (11:17 +0100)]
Evas: Add API to reinit the language and use it in elementary.
Summary:
evas_common_language_from_locale_* functions kept static pointers
inside of its functions. Once these function was called, it was never reset.
It made big problems for harfbuzz and hyphenation. Also, Elementary
provides elm_language_set() API. Then we need to support it fully.
@fix
Test Plan: Test case for hyphenation is included in Evas test suite.
Reviewers: raster, tasn, herdsman, woohyun, z-wony, Blackmole, minudf
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3864
Conflicts:
src/lib/elementary/elm_main.c
The change for elementary will be applied at elementary git.
Change-Id: I747fc027973538c2d04180c23dce4c19c307419d
Subodh Kumar [Thu, 3 Dec 2015 16:04:07 +0000 (16:04 +0000)]
Edje entry: Use markup text for password in preedit mode
Summary:
Use markup text for password in preedit mode
Problem is that when text comes in preedit mode
it is always markup text and when it is committed
to entry it got committed with markup tags along with
the original string, so for preedit mode password
should be filtered all markup to set the proper text.
@fix
Test Plan:
In preedit mode, enter any character say 'A'
preedit markup like <preedit>A</preedit>
will come in preedit changed callback
Result: Text is set as plain text like below
<preedit>A</preedit>
Reviewers: thiepha, jihoon, herdsman, shilpasingh, tasn
Reviewed By: shilpasingh, tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2929
Change-Id: Ib53e9cc414ab2e84bba27adfd6676c5d32d150ac
Boram Park [Fri, 8 Apr 2016 09:43:56 +0000 (18:43 +0900)]
deinit bufmgr after creating a tbm surface
Change-Id: I6b66902b0968cdd665c40db8d5c4cc033893b6fb
Boram Park [Fri, 25 Mar 2016 05:55:54 +0000 (14:55 +0900)]
get drm_fd from TDM_DRM_MASTER_FD enviroment variable
Change-Id: I4c90f41ab1badf929d32ca89a068447ba2727148
huiyu.eun [Thu, 14 Apr 2016 01:02:12 +0000 (10:02 +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 :
8e2bc203d2cc2ea36123589f2eed70ef59b6a404,
a2dc65a843e02fd0932673caa21d6d81f00c19fc
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: Iac74ab2a7ccb22dd58464da655e7a126f46ed03d
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Junkyeong Kim [Fri, 8 Apr 2016 04:54:30 +0000 (13:54 +0900)]
ecore_drm : add protection code for enlightenment seg fault when booting without any output
Change-Id: I46ff1701fbf20d020a5d1f5928f535da573791b7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 8 Apr 2016 02:08:57 +0000 (11:08 +0900)]
ecore_drm : fix output subpixel setting error
Change-Id: I413b1a31d6bf6ba25f5146c998aece4a926c6e48
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
sunghyun kim [Fri, 8 Apr 2016 09:40:24 +0000 (02:40 -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
sunghyun kim [Fri, 8 Apr 2016 02:11:02 +0000 (19:11 -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
12ece5d958925f04dd8958819a36931fdc40adb6.
Change-Id: Ie719b621b71744ca26fe56c37521b05709c79c44
Sangjin Lee [Tue, 5 Apr 2016 12:16:50 +0000 (21:16 +0900)]
ecore_wl: use wl_display_prepare_read() before poll()
For thread-safety, wayland recommend use this function before wait using poll()
Please see documentation of wl_displau_repare_read_queue()
https://wayland.freedesktop.org/docs/html/apb.html#Client-classwl__display_1a40039c1169b153269a3dc0796a54ddb0
Change-Id: I0d01952433f746abf445928078d8124ca8d327b0