SooChan Lim [Thu, 18 Feb 2016 23:25:59 +0000 (08:25 +0900)]
evas-gl-drm: block the pageflip for hwc at enlightenment.
When the enlightenment set up the hwc(hardware compositing),
gl_drm engine does not display the ecore_evas canvas on a display.
Enlightenment will do it.
Change-Id: I562d1349d22e02b25d89c3093f89a15e86e157d3
Youngbok Shin [Tue, 16 Feb 2016 15:14:38 +0000 (17:14 +0200)]
Evas Text: Update text layout when ellipsis is changed without resize
Summary:
When only ellipsis is changed from 0.0~1.0 to -1.0 without resize,
the text is never updated. Because, previous state for ellipsis is never kept
and used properly to check when Evas Text needs to be updated.
It does not have any effect when ellipsis is changed from -1.0 to 0.0~1.0.
Because, Evas text always resize itself according to its text size.
So, necessarily, Evas text object has to be resized to the smaller size.
Commonly, Edje will handle its size if Evas text needs to be ellipsized.
@fix
Test Plan: Test case is included.
Reviewers: tasn, woohyun, herdsman
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3448
Conflicts:
src/tests/evas/evas_test_text.c
Change-Id: Id5c484152efbe0a4df723c4422127e46ad5213be
Youngbok Shin [Thu, 19 Nov 2015 11:37:07 +0000 (11:37 +0000)]
Evas object: Add paragraph_direciton APIs
Summary:
It adds evas_object_paragraph_direction_set, get APIs.
The APIs set or get paragraph direction to/from the given object.
It changes BiDi calculations and affect the direction and aligning of text.
It doesn't have any effect to text without Fribidi library.
The default paragraph direction is EVAS_BIDI_DIRECTION_INHERIT.
If dir is EVAS_BIDI_DIRECTION_INHERIT, paragraph direction is changed
according to smart parent object. If there is no smart parent object,
paragraph direction works as EVAS_BIDI_DIRECTION_NEUTRAL.
@feature
Test Plan:
Test cases included to the following files.
- evas_test_textblock.c
- evas_test_text.c
- evas_test_object_smart.c
Run "make check".
Reviewers: woohyun, raster, herdsman, tasn
Subscribers: c, raster, cedric
Differential Revision: https://phab.enlightenment.org/D1690
Conflicts:
src/lib/evas/canvas/evas_object_text.c
Change-Id: Ie97eab545f487bdd817156b18fd434f814159183
Tom Hacohen [Thu, 12 Nov 2015 15:43:43 +0000 (15:43 +0000)]
Evas text: Change bitfield bool types to Eina_Bool.
This is really just a safety measure, as we always just check if the value
is true. However, with char the potential values are -1 and 0, and with
Eina_Bool they are 1 and 0, so fixing that.
Thanks to the "sparse semantic parser" for detecting that, and to Stefan
for reporting.
Change-Id: Icb0de29e241e5931be7b2c7e9f78c0324b949e46
Subodh Kumar [Tue, 17 Nov 2015 11:22:17 +0000 (11:22 +0000)]
Evas text: Remove tabs for readability
Summary: Remove tabs
Test Plan: NA
Reviewers: tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3337
Change-Id: I235274a7410c20255f2d09c182797b1d11bc6bf4
Subodh Kumar [Mon, 9 Nov 2015 23:39:10 +0000 (15:39 -0800)]
evas: fix some indentation and formatting in textblock.
Summary: Fix some indentation and formatting.
Reviewers: herdsman, tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3174
Change-Id: I235048cadb9ad828cf22dbcd7a7c4ed3ca52fb79
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Mon, 15 Feb 2016 10:41:37 +0000 (10:41 +0000)]
Evas text: set NULL free'd pointers in evas_object_text_free()
Summary:
_render_pre() function could be called for an object which is
going to be deleted. According to state changes of the object,
text could be recalculated with free'd pointers. It caused an
invalid read and crash.
@fix
Test Plan:
1. Apply D1747.
2. Run elementary_test.
3. Put any character in elm_entry and change paragraph direction.
4. Put any character again.
5. It can cause a crash which is caused by invalid read in Evas Text.
Reviewers: herdsman, woohyun, tasn, raster
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3445
Change-Id: Id4c680ac7ecab49a59af365dfcd7b6f5dfcca432
Daniel Hirt [Sun, 14 Feb 2016 12:20:34 +0000 (14:20 +0200)]
Evas textblock: ifdef unused 'hyphens' code
The usage of the 'hyphens' array is only relevant when
"--enable-hyphen" is used.
This fixes the dead code addressed in
5b083ace84ca91496810cd1826c9469a6c741700.
Change-Id: Ic4801d8b8a581f108773b08cd6947326d039e80a
Daniel Hirt [Sun, 14 Feb 2016 11:18:49 +0000 (13:18 +0200)]
Revert "Evas textblock: Properly ifdef hyphenation out."
This reverts commit
5b083ace84ca91496810cd1826c9469a6c741700.
The "--enable-hyphen" option refers to using the optional hyphenation
dictionaries. We support hyphenation via SHY-HYPHEN hints regardless of
this option.
The following commit will provide finer handling to address the issue in
the reverted one.
Change-Id: I14845bb2bdb20e546cf44a89e407b7566cc5de53
Tom Hacohen [Fri, 12 Feb 2016 12:12:00 +0000 (12:12 +0000)]
Evas textblock: Disable hyphenation tests when hyphenation is disabled.
Conflicts:
src/tests/evas/evas_test_textblock.c
Change-Id: Ib1826744bf9a87d5bd122b5ea91a06c4009ffc60
Tom Hacohen [Fri, 12 Feb 2016 12:08:29 +0000 (12:08 +0000)]
Evas textblock: Properly ifdef hyphenation out.
I found this thanks to coverity. There was some code that we were running
although hyphenation was actually off.
CID 1341062.
Change-Id: Id890453d9fb4bcbdfa68587245a12b70061ab43c
Youngbok Shin [Fri, 12 Feb 2016 09:46:33 +0000 (09:46 +0000)]
Evas textblock: Fix _dict_hyphen_load could return an uninitialized pointer
Summary:
If there are hyph_*.dic files except for requested language,
"dict" pointer could be return without initialized. It doesn't make any
warning messages when it is compiled. Normally, it is NULL implicitly.
But, it is good to set NULL explicitly for understanding code.
Test Plan: N/A
Reviewers: herdsman, tasn, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3674
Change-Id: Id2ce93c6c55c39e7f5464963fb26dd715e87264e
Youngbok Shin [Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)]
Evas font: Use proper enum value for extrabold
Summary:
ULTRABOLD is identical to EXTRABOLD in freetype.
But, "extrabold" word is added for FC_WEIGHT_EXTRABOLD.
So, it has to be changed to use EXTRABOLD instead of
ULTRABOLD. It was mistake in my previous commit.
@fix
Test Plan: N/A
Reviewers: tasn, herdsman, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3673
Change-Id: I46ce936b5023f5f5f766c9faaac8c8bb8df4dd56
Youngbok Shin [Fri, 4 Dec 2015 14:46:26 +0000 (14:46 +0000)]
Evas textblock: Skip layout logic for an text item which doesn't have font.
Summary:
Evas textblock could cause infinite loop if there is no fonts to use.
If there is no fonts, text_props.text_len is never set.
When text_props.text_len is 0, the for loop in _layout_par runs forever.
It is ridiculous to use Textblock without fonts. But, it shouldn't runs
infinite loop in any situation.
@fix
Test Plan:
1. Remove all of fonts in your EFL or Tizen device.
(Or you can test it modifying some codes in Textblock by skipping load fonts.)
2. Run elementary_test -to entry3 or see any multiline textblocks.
Reviewers: tasn, herdsman, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3402
Change-Id: Ifeb027353a8b0de7ff033df63f02d542954c7cf7
Youngbok Shin [Wed, 2 Dec 2015 07:36:47 +0000 (09:36 +0200)]
Evas Textblock: Fix text disappear issue when text is made up with multiple items.
Summary:
Text is disappearing when we resize a singleline Evas Textblock with ellipsis.
It is happened by putting a Text item at logical_items list without considering about logical position.
It is only happended the text is made up with multiple items.
@fix
Test Plan:
1. Run elementary_test
2. Click Label Ellipsis
3. Resize the window dynamically and see the result.
Reviewers: woohyun, tasn, herdsman
Subscribers: jpeg, subodh6129, shilpasingh, cedric
Maniphest Tasks: T2709
Differential Revision: https://phab.enlightenment.org/D3022
Change-Id: I8ec611fbddbb8fab1cd9706d4fc16f82ae87891f
Minwoo, Lee [Wed, 6 Jan 2016 19:24:16 +0000 (11:24 -0800)]
evas: fix a NULL dereference issue
Summary:
If evas engine init failed, it can make crash.
For example
If opengl init failed, then ee->prop.window is 0
ecore_evas_gl_x11_options_new_internal
{
if (!ee->prop.window)
{
ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
ecore_evas_free(ee);
return NULL;
}
}
ecore_evas_free calls evas_fonts_zero_pressure
and this time evas->engine.func is NULL so it makes crash.
Reviewers: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3542
Change-Id: I1f1becdc34856fe75a6de7eafb76ec78bfc8ccba
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Tue, 1 Dec 2015 23:03:27 +0000 (15:03 -0800)]
evas: fix a NULL dereference issue in font.
Summary:
eina_list_remove returns Eina_List pointer.
It could be NULL if the last list item is removed.
And the returned Eina_List pointer could be different from the given list.
So, calling free for fdir->data after fdir's address is changed is dangerous.
@fix
Test Plan: Run expedite or test app with evas_font_path_append() API.
Reviewers: stefan_schmidt, jpeg
Reviewed By: jpeg
Subscribers: stefan, jiin.moon, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3392
Change-Id: I08525dccd60e975818194e3e86aaa4b1d66375f1
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Stefan Schmidt [Mon, 30 Nov 2015 16:16:28 +0000 (17:16 +0100)]
evas_font_dir: do not passed free'd memory to eina_list_remove()
Free the actual memory after we removed it from the list.
Change-Id: I4a1211df9c2ca52f6eba34a9ae78a16d19edf4dc
Youngbok Shin [Thu, 26 Nov 2015 08:16:13 +0000 (10:16 +0200)]
evas: Add ExtraLight, ExtraBold for font weight.
Summary:
Evas supports UltraLight, UltraBold as font weight.
These terms have same weight value as ExtraLight, ExtraBold.
Some applications, for example, fontforge, use ExtraLight, ExtraBold terms for these weight values.
So, it would be better to support these terms, too.
@feature
Test Plan: None
Reviewers: tasn, woohyun, herdsman
Reviewed By: herdsman
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3126
Change-Id: I8448dd86f3b57b603558437aa6449f552dab13e9
Jihoon Kim [Wed, 17 Feb 2016 08:00:49 +0000 (00:00 -0800)]
Merge "ecore_imf/wayland: ignore the duplicate show request" into tizen
Jihoon Kim [Wed, 17 Feb 2016 07:41:30 +0000 (16:41 +0900)]
ecore_imf/wayland: ignore the duplicate show request
Previously show request is called in both focus in and mouse up event.
It will ignore those duplicated show request.
Change-Id: Ife7ff20a9327b63a24d21c75aa0ed7fd5a10cc37
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Sung-Jin Park [Wed, 17 Feb 2016 01:57:42 +0000 (10:57 +0900)]
ecore_wl : add exception checks regarding _ecore_wl_disp->wl.keyrouter in ecore_wl_window_keygrab_set()
Change-Id: I456fd5fe8ad4c26cdaa90987eac1f456e856ff78
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Junghwan Choi [Mon, 1 Feb 2016 13:34:02 +0000 (22:34 +0900)]
ecore_wl : input rect set/add/subtract added
Change-Id: I0c3a8c675f91873cbdd96b7f1e6cc3bd5d582c87
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
Jihoon Kim [Tue, 16 Feb 2016 05:36:52 +0000 (14:36 +0900)]
ecore_imf/wayland: Add comment in tizen only code
Change-Id: Iee4e4852539ddb79220108912aea74be466122e0
JengHyun Kang [Thu, 11 Feb 2016 11:32:24 +0000 (20:32 +0900)]
ecore-drm: Add ttrace
Change-Id: I74d08b0542e935156bf605917320aedf286aefb3
SooChan Lim [Fri, 12 Feb 2016 07:50:17 +0000 (16:50 +0900)]
ecore_drm : add ecore_drm_output_dpms_get
Change-Id: I77d5f3c9d8e960ed2980adab56640a5f7c254655
Youngbok Shin [Wed, 9 Dec 2015 07:50:33 +0000 (09:50 +0200)]
Evas text: Fix Evas Text truncated text case.
Summary:
Evas Text only concerns about a advance of each text item.
When a width of last character is bigger than its advance, the last character can be truncated.
And the different line size calculation caused different aligning between Evas Text and Evas Textblock.
So, the width of last character will be considered in Evas Text just like Evas Textblock.
@fix
Test Plan:
The following text shows how the size calculation is different between Evas Textblock and Text.
Get native size from Evas Textblock and get width(geometry) of Evas Text.
You can see the width of Evas Text is bigger than native size of Evas Textblock.
(adv > width)
こんにちは。
The following text will be truncated without this patch.
(adv < width)
ନୂଁ
Reviewers: woohyun, tasn, herdsman
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3004
Change-Id: I53eefb462fa2a6efecde83b6e5d116b455c82a42
Youngbok Shin [Thu, 4 Feb 2016 09:29:03 +0000 (11:29 +0200)]
Evas textblock: Save memory space reducing unused hyphen dictionary loads
Summary:
Commonly, only few hyphenation dictionaries are used at a application.
So, loading all of dictionary files could cause waste of memory.
Evas textblock has to load hyphenation dictionaries only when it is
really needed.
Test Plan: N/A
Reviewers: woohyun, tasn, herdsman
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3626
Change-Id: I431d500ef25a43267c74eff37f87c65d6ac0ea7a
Youngbok Shin [Thu, 4 Feb 2016 10:07:08 +0000 (10:07 +0000)]
Evas: Use proper language for harfbuzz shaping
Summary:
Evas Text, Textblock, Textgrid keeps own language information.
This language information could be vary from the result of setlocale().
Especially, Evas Textblock supports <lang> tag. The language could be
changed in the middle of text. All of these language has to be used
for harfbuzz shaping.
@fix
Test Plan: N/A
Reviewers: herdsman, raster, woohyun, tasn
Reviewed By: tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3628
Change-Id: Ief121bb023af8fd7941408d8f67781d7fbfc4f14
Youngbok Shin [Wed, 3 Feb 2016 09:34:32 +0000 (09:34 +0000)]
Evas textgrid: Use default language according to locale
Summary:
Use default language according to locale.
It's the same as the recent changes on Evas Text, Textblock.
@feature
Test Plan: N/A
Reviewers: herdsman, raster, tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3642
Change-Id: Ifd8dbc068e6703c4325104ed6c60460dc74fad54
Youngbok Shin [Wed, 27 Jan 2016 13:14:52 +0000 (13:14 +0000)]
Evas textblock: Use a common thickness and position at a underline.
Summary:
If a underline is drawn with seperated thickness and position, it doesn't look good.
It will take the thickest and the lowest underline.
@feature
Test Plan:
Set the following markup text in Evas Textblock.
<underline=on underline_color=#fff><font_size=20>Markup text <font_size=50>with</font_size> underline tag</font_size></underline>
It shows the underline is split to 3 underlines with different thickness and positions.
Commonly, underline has to be drawn with same thickness ans position per each line.
Reviewers: woohyun, herdsman, tasn
Reviewed By: tasn
Subscribers: jpeg, raster, subodh6129, cedric
Differential Revision: https://phab.enlightenment.org/D2971
Change-Id: I2c3a0cbfc03a29501f7e3878fa84934173430233
Youngbok Shin [Tue, 26 Jan 2016 10:48:42 +0000 (10:48 +0000)]
Evas Text/Textblock: Use locale for lang as default.
Summary:
The configuration files for Fontconfig can describe
how font list is made according to language information.
EFL also set the language for each Evas textblock styles
and used for loading font list.
But, this is inconvenient to use if we want to apply language
for loading font list according to system-wide locale information.
This patch will apply locale information for font list if there is
no specific language in description.
And it also add [lang=auto] for Evas Textblock.
auto - It loads locale for language.
none - It disables language.
@feature
Test Plan: N/A
Reviewers: woohyun, herdsman, tasn
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D3344
Change-Id: I7a4d3d8d7a841f6f82190695488c28db86a91486
Youngbok Shin [Tue, 12 Jan 2016 13:20:19 +0000 (13:20 +0000)]
edje: Reduce duplicated item obj creations and deletions.
Summary:
When text is changed, all of objects for item tag are deleted
and recreated. It is unnecessary work and can cause performance
issues. Actually, many of application developers wonder why
item provider callback functions are called every text changes.
@fix
Test Plan:
Run elementary_test -to "entry emoticon"
When you make a very little change on text,
36 emoticon objects are recreated.
Reviewers: woohyun, jaehwan, herdsman, tasn
Reviewed By: tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3537
Change-Id: I078e07432ba4f2cfda3f410db382d2b4e1c198a6
Jihoon Kim [Thu, 4 Feb 2016 22:59:29 +0000 (07:59 +0900)]
ecore_imf/wayland: fix undefined symbol issue in wayland immodule
Change-Id: I12d6eab1438c5608f8724006711b1234762c2528
Jihoon Kim [Thu, 4 Feb 2016 00:09:56 +0000 (16:09 -0800)]
Merge "ecore_imf/wayland: support to send imdata in case of having focus" into tizen
Jihoon Kim [Wed, 3 Feb 2016 23:39:28 +0000 (08:39 +0900)]
ecore_imf/wayland: support to send imdata in case of having focus
Change-Id: Ia0f0947c2cbf295940eee5e6a3662e80cfa6e112
Jihoon Kim [Wed, 3 Feb 2016 09:48:11 +0000 (18:48 +0900)]
ecore_imf/wayland: Support to set return key type and disable in runtime
Change-Id: Id1ef8398490a3a61faf918007f12807fe87d9c42
Jihoon Kim [Wed, 3 Feb 2016 05:52:10 +0000 (14:52 +0900)]
ecore_imf/wayland: send cursor position before requesting to show
The right cursor position should be transfered before requesting to show input panel
Change-Id: I5885fb77a241cc691c50013088ff3c8753953fe3
Duna Oh [Wed, 3 Feb 2016 00:18:38 +0000 (09:18 +0900)]
ecore_wl: change 'class' to 'clas' of tizen_input_device
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: If67cfb9cee7f280e46e4257a72a36ae8f165f27e
inhonghan [Mon, 1 Feb 2016 10:55:40 +0000 (19:55 +0900)]
Add auto_capitalization_word
Change-Id: Iecff78c52a63168e1bea94e0c00255d2bf3ae963
Signed-off-by: inhonghan <inhong1.han@samsung.com>
Youngbok Shin [Thu, 16 Jul 2015 04:43:05 +0000 (13:43 +0900)]
edje: Add edje_object_part_text_freeze, thaw APIs for freezing cursor movements.
@tizen_feature
Change-Id: I3852c2c724c5d4e996b11713f1f3915408e87adb
Youngbok Shin [Wed, 28 Jan 2015 13:06:29 +0000 (22:06 +0900)]
evas/edje: Add evas_textblock_cursor_range_text_valid_markup_get internal API.
Change-Id: I779f4e97af31dcb88373e611de957c5322955441
Youngbok Shin [Tue, 27 Jan 2015 08:16:26 +0000 (17:16 +0900)]
evas/edje: Add evas_textblock_cursor_cluster_* internal APIs.
This is TIZEN_ONLY feature.
Change-Id: Ib99ec407b294ea2daf212e9968edcd76cff14ef2
Wonsik Jung [Thu, 28 Jan 2016 11:37:21 +0000 (20:37 +0900)]
EvasEngine : add native surface with TBM Surface for wayland_shm
@feature add evas object image's native surface with TBM surface for wayland_shm
Change-Id: Id44a15d637ea1721c0e57c49ddbe9258847ae4d8
Jaehwan Kim [Mon, 18 Jan 2016 07:54:52 +0000 (16:54 +0900)]
embryo: change the log catagory of printf in embryo
If the catagory is DBG, we should rebuild efl to print the message
by using printf in edc. So change it to use it more convenient.
@fix
Change-Id: Ieb5038ccd76a0150792d786fe76dc9bb9d3db7f0
Jaehwan Kim [Thu, 31 Dec 2015 02:59:48 +0000 (11:59 +0900)]
edje_embryo: add printf feature.
Summary:
The edc debugging is difficult because users can not check
whether or not any program is executed or the state of part.
If users can print that property, they can do debugging more easily.
This "printf" feature is for debugging edc.
@feature
Test Plan:
add printf("test : %s %d %f", "text", 1, 0.5); in the script in the edc
build it by edje_cc
excute it and see the log
Reviewers: cedric, raster, jpeg
Reviewed By: jpeg
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3499
Change-Id: Iaaed860a25e3b0fc0f2cce20a93dd238e4a0f41b
Jaehwan Kim [Wed, 30 Dec 2015 00:14:36 +0000 (09:14 +0900)]
embryo: add eina_log
Summary: add eina_log
Test Plan: use DBG, ERR ... in embryo code
Reviewers: raster, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3507
Change-Id: I75a66292d4634492c0b3995c22c9c1d2c408ac91
Juyeon Lee [Wed, 27 Jan 2016 08:41:29 +0000 (00:41 -0800)]
Merge "ecore_wl: Added destroy interface for tizen_rotation_interface." into tizen
Juyeon Lee [Wed, 27 Jan 2016 08:34:31 +0000 (00:34 -0800)]
Merge "ecore_wayland: fix that setting preferred / available rotations does not work before calling ecore_wl_window_show()." into tizen
Wonsik Jung [Wed, 27 Jan 2016 02:38:38 +0000 (18:38 -0800)]
Merge "evas engine : Downstream tbm surface patchs" into tizen
Youngbok Shin [Tue, 26 Jan 2016 10:52:00 +0000 (19:52 +0900)]
Evas text: Replace Efl_Gfx_Base param to Evas_Object.
It fix build failure from Evas_Legacy.h
Change-Id: Iefef2f2eec21e5c2db962eb99e2a204e1505634e
Youngbok Shin [Tue, 26 Jan 2016 05:50:17 +0000 (21:50 -0800)]
Merge "Evas text: Add legacy bindings for evas filters" into tizen
JengHyun Kang [Wed, 20 Jan 2016 11:45:55 +0000 (20:45 +0900)]
ecore_input/wayland: Process extra touch events
- Get touch axis information such radius_x, radius_y, angle and pressure
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I2fc6763fa27be3b56ea95e17c04d7ce8605aeb80
Youngbok Shin [Tue, 26 Jan 2016 01:33:31 +0000 (10:33 +0900)]
Evas text: Add legacy bindings for evas filters
Summary:
For backward compatability (on Tizen), the following APIs are added again:
evas_object_text_filter_program_set
evas_object_text_filter_source_set
The best way to use those is still EDC.
Test Plan: N/A
Reviewers: woohyun, jpeg
Reviewed By: jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3604
Change-Id: I2d98ed3c70f5d7e88e665b9cae4efce8add5c400
Jihoon Kim [Mon, 25 Jan 2016 09:46:03 +0000 (01:46 -0800)]
Merge "Support input panel layout variation" into tizen
Haifeng Deng [Sun, 24 Jan 2016 07:55:30 +0000 (15:55 +0800)]
Support input panel layout variation
Change-Id: I8f9f479e4c23a24c0bf5e006f7f237b0827a2412
Seunghun Lee [Mon, 25 Jan 2016 08:48:15 +0000 (17:48 +0900)]
ecore_wl: Added destroy interface for tizen_rotation_interface.
Change-Id: Iaf716fa2363f78abd8ca29f51e39f7730f39032b
Boram Park [Mon, 25 Jan 2016 07:07:18 +0000 (16:07 +0900)]
ecore_drm: change log level of drmCtlInstHandler
Change-Id: I7b03a4d010d803ae2e6c6d2e589eed5c676679db
Seunghun Lee [Mon, 25 Jan 2016 02:39:51 +0000 (11:39 +0900)]
ecore_wayland: fix that setting preferred / available rotations does not work before calling ecore_wl_window_show().
store the information of preferred/available rotations,
and then set it after creates tz_rotation.
Change-Id: I197822906decdabf88924ce37b328612f1ebde73
Wonsik Jung [Sun, 24 Jan 2016 11:47:19 +0000 (20:47 +0900)]
evas engine : Downstream tbm surface patchs
Evas_Engine: add TBM surface and clean up Native Struct
:
7db9613e8c95268acfa6d51ea6aa45418ee8e697
evas tbm: Fix compilation warnings
:
d7903e40b326de5323276cdf2869a608cd0c5a33
evas tbm: Fix compilation warnings
:
d7903e40b326de5323276cdf2869a608cd0c5a33
wayland: Add support for TBM buffers
:
3593186a60e5530871a252a4bd6b03d881a0ead4
waylang-egl: Remove trailing spaces
:
a7063973819c087a3a6e039e4cbeed13b29a1fd5
Evas: Fix compilation for GLX
8884ce59b33d4681a1f1bd60bc91d0d6adf9348f
Change-Id: Ie709a5a610f8037907c99a57353995dfa20d99ba
Duna Oh [Fri, 8 Jan 2016 10:04:15 +0000 (19:04 +0900)]
ecore-wayland : deal with tizen_input_device_mgr interface
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I015c7742790e50c1732bf84830d289d88536ea5e
MinJeong Kim [Wed, 20 Jan 2016 06:51:10 +0000 (15:51 +0900)]
ecore-evas: handle visibility_change event
Change-Id: If50460e55de17e0f1d5f6ed3714344e5c353e943
Jihoon Kim [Mon, 18 Jan 2016 10:29:21 +0000 (02:29 -0800)]
Merge "ecore_imf: Added new input_panel_event_callback type for keyboard mode." into tizen
Wonkeun Oh [Tue, 12 Jan 2016 12:24:25 +0000 (21:24 +0900)]
ecore_imf: Added new input_panel_event_callback type for keyboard mode.
Applications want to know the current keyboard mode state to handle application's size manually.
Change-Id: I3bb5bb243ea1185696e12ae94ded5ca6154187c6
Duna Oh [Thu, 14 Jan 2016 06:16:23 +0000 (15:16 +0900)]
ecore_wayland: move check for pointer capability into wl_input_cursor_from_name_set()
We don't need to work for cursor if system doesn't have pointer devices.
Since this function is called by elementary(e.g. entry) also, we move a check condition into the function.
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I4e14dad07126f976c9b22b1cc3caddd6bdcca186
Shinwoo Kim [Fri, 15 Jan 2016 05:51:18 +0000 (21:51 -0800)]
Merge "edje: enhance edje_calc circular dependency error message" into tizen
Shinwoo Kim [Fri, 15 Jan 2016 05:51:10 +0000 (21:51 -0800)]
Merge "Edje: enhance embryo stack broken error message" into tizen
Shinwoo Kim [Fri, 15 Jan 2016 05:50:57 +0000 (21:50 -0800)]
Merge "edje: enhance circular dependency error message of edje calculation" into tizen
JengHyun Kang [Thu, 7 Jan 2016 09:19:37 +0000 (18:19 +0900)]
Support extra touch events
Change-Id: I80319154ddd9a160a6980cf791cd68df115d2f9d
Shinwoo Kim [Wed, 13 Jan 2016 10:59:31 +0000 (19:59 +0900)]
edje: enhance edje_calc circular dependency error message
Change-Id: I130e6ab238168ebc7a95baaf29c0ecd1b869de4d
Shinwoo Kim [Wed, 13 Jan 2016 02:55:46 +0000 (11:55 +0900)]
Edje: enhance embryo stack broken error message
Summary: Enhance embry stack broken error message
Test Plan: Make a run_program run a script
Reviewers: raster, zmike, jpeg
Reviewed By: jpeg
Subscribers: cedric, seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D3528
Change-Id: I26fa61b420ee40956323bf5ee526fbeb3238351f
Shinwoo Kim [Thu, 31 Dec 2015 04:49:56 +0000 (13:49 +0900)]
edje: enhance circular dependency error message of edje calculation
Summary: enhance error message of edje calculation
Test Plan: check edje having circular dependency
Reviewers: raster, cedric, jpeg
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D3484
Change-Id: Id162d6016fc6086816b627027b297243fcad42f3
Seunghun Lee [Wed, 13 Jan 2016 05:26:44 +0000 (14:26 +0900)]
ecore-buffer: connect wayland display server first as a buffer queue server.
buffer queue server is a display server in wayland display server environment.
Change-Id: I08fa3396ec0b4e063703b119f6eda8ee43b6906b
Seunghun Lee [Wed, 13 Jan 2016 05:22:20 +0000 (14:22 +0900)]
ecore-buffer: remove examples that may not worked.
since the API, ecore_buffer_data_get() is not supported in tizen distro,
so, the examples to be removed by this commit may not worked.
Change-Id: I60243b86d0386df8bbb8159abd5a2d71c297fea1
Duna Oh [Mon, 11 Jan 2016 02:14:36 +0000 (11:14 +0900)]
ecore_wayland: send mouse_move when sets touch_focus window in cb_touch_down
Summary:
When user touches the screen, ecore_drm generates MOUSE_MOVE event before MOUSE_BUTTON_DOWN.
But when ecore_wayland gets touch_motion before touch_down, touch_focus window is NULL and sending MOUSE_MOVE event fails.
Also in terms of 'touch' input, touch_focus needs be set in cb_touch_down, not in cb_pointer_enter.
So this commit makes sure that ecore_wayland generates MOUSE_MOVE when touch_focus is set.
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I721c0dc7248a885c57c64d3957e0bd84cd7ce1bd
Youngbok Shin [Wed, 13 Jan 2016 02:42:59 +0000 (18:42 -0800)]
Merge "efl: Enable hyphenation" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:46 +0000 (18:42 -0800)]
Merge "Evas textblock: add support for hyphenation wrap style" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:39 +0000 (18:42 -0800)]
Merge "Eina unicode: add eina_unicode_unicode_to_utf8_range" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:29 +0000 (18:42 -0800)]
Merge "Evas language: add full locale language getter" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:23 +0000 (18:42 -0800)]
Merge "Evas language: Fix language from locale function." into tizen
Thiep Ha [Wed, 13 Jan 2016 01:52:58 +0000 (10:52 +0900)]
ecore_con: enable other builds, not only wayland
@tizen_fix
Change-Id: I836a960fdddabd7686120da00a32a64201e90f17
Changyeon Lee [Tue, 12 Jan 2016 03:43:15 +0000 (12:43 +0900)]
gl_drm: consider stride of frame buffer in outbuf copy
Change-Id: Iba4f5ebe3a05d5d6e579b1cf2449382c17d53494
Seunghun Lee [Tue, 12 Jan 2016 05:59:26 +0000 (21:59 -0800)]
Merge "ecore_buffer: remove ecore-buffer.pc file from default distro pc list." into tizen
Jihoon Kim [Mon, 11 Jan 2016 11:01:49 +0000 (20:01 +0900)]
ecore_imf/wayland: Fix not to show IME in touching entry after hiding IME
Change-Id: Ib97ce48f0cd25002210f2a5cfca2c3583ad50321
MinJeong Kim [Mon, 11 Jan 2016 08:30:26 +0000 (17:30 +0900)]
ecore_wl_input: fix null pointer dereference
Change-Id: I3ba69ad69b920548116c1935b3aea64257d7f03a
Youngbok Shin [Thu, 24 Dec 2015 06:25:18 +0000 (15:25 +0900)]
efl: Enable hyphenation
Change-Id: I3cce33b90bf05501195b99142b2ff9879a5f15aa
Daniel Hirt [Tue, 13 Oct 2015 07:59:19 +0000 (10:59 +0300)]
Evas textblock: add support for hyphenation wrap style
We now support hyphenation in style. Use "wrap=hyphenation" to use this
wrap option. It will hyphenate based on explicit SOFT HYPHEN (­)
placement in the text, and with the (optional) assistance of dictionaries
compatible with Hunspell's "hyphen" library.
This wrap mode favors breaking at hyphen positions in a word, over moving
the whole word to the next line. It will put an additional "-" at the
break position if it was hyphened.
Enabling the hyphen dictionaries is done by adding these configure
options:
--enable-hyphen (requires Hunspell's "hyphen" library installed)
--with-dictionaries-hyphen-dir=DIR (specifies the install location of
the actual .dic dictionary files e.g. /usr/share/hyphen)
Note that dictionary files are expected to be in the form of "en_US.dic"
or anything that ends with it e.g. "hyph_en_US.dic" (this how they are
named in Arch Linux).
@feature
Change-Id: I789e58b1056fbfdbd5562c99a8a2c21848c4c025
Daniel Hirt [Sat, 21 Nov 2015 10:39:00 +0000 (12:39 +0200)]
Eina unicode: add eina_unicode_unicode_to_utf8_range
Required some special treatment to get words (substring) out of an
input Unicode string to a utf8 one. This saves the trouble converting
the whole string: you input an offset in the Eina_Unicode array, and
provide the required length. That's is, now you can extract words and
whatnot in utf8 form.
To save code I wrapped the original one to get the whole length.
Change-Id: I65f8eadeb0d69f7829e956ddd901ea2adae731c6
Daniel Hirt [Sun, 15 Nov 2015 09:31:32 +0000 (11:31 +0200)]
Evas language: add full locale language getter
evas_common_language_from_locale_get truncates the country letters in
the language. We don't always want that (one example is dictionaries).
Change-Id: I663a90ee9e4386e8f8d5d3352974a3d28bd08ee7
Tom Hacohen [Tue, 17 Nov 2015 12:07:39 +0000 (12:07 +0000)]
Evas language: Fix language from locale function.
This function was trying to infer from the LANG env var, though it should
have just queried the locale all along, as the language we want is the
system's text language, and not necessarily the LANG variable's value.
@fix.
Change-Id: Id51b0b2b017bc8d133311168491c59b727726ab7
Li Zhang [Tue, 5 Jan 2016 12:29:22 +0000 (20:29 +0800)]
ecore_imf/wayland: Fix issue text input context was not set to activate in focus-in event
Change-Id: Icecd03b030199594c7fa7775ca588c8fd89214d4
Seunghun Lee [Thu, 7 Jan 2016 07:30:12 +0000 (16:30 +0900)]
ecore_buffer: remove ecore-buffer.pc file from default distro pc list.
Change-Id: Ie73e9480af57d3f68484936c17fae07672cbaa4c
Sung-Jin Park [Wed, 6 Jan 2016 00:28:47 +0000 (09:28 +0900)]
ecore_drm_evdev: fix wrong use of EINA_SAFETY_ON_TRUE_RETURN_VAL macro in _device_remapped_key_get()
Change-Id: Idcbb3dbd54f34a703cb307b08f48f2220c3b9c66
Subhransu Mohanty [Thu, 7 Jan 2016 06:34:01 +0000 (15:34 +0900)]
evas: added missing append_arc() api declaration.
Change-Id: I5eb1c5c37be4b75b31dbf5ab953720dead26331e
Haifeng Deng [Mon, 21 Dec 2015 10:52:03 +0000 (18:52 +0800)]
support input panel geometry
Change-Id: I0c278eef70ebb8cfb89070839b6ccc2a443667b9
Jaehwan Kim [Tue, 5 Jan 2016 08:05:08 +0000 (00:05 -0800)]
Merge "spec: include efreetd" into tizen
Jaehwan Kim [Tue, 5 Jan 2016 07:45:07 +0000 (16:45 +0900)]
spec: include efreetd
If efreetd is not included, any application can make
defunct process when efreet_init is called.
Change-Id: I7f8a4968af075225c70962031488bc8ce7a3fa5f
JengHyun Kang [Thu, 24 Dec 2015 05:40:06 +0000 (14:40 +0900)]
Add a new API for keymap cache
Change-Id: I36ab0d665e6a43d55eb3c741c0c5889a4c4d9801
Youngbok Shin [Tue, 5 Jan 2016 07:28:06 +0000 (23:28 -0800)]
Merge "Evas textblock: Clean up ellipsis handling code." into tizen
Youngbok Shin [Tue, 5 Jan 2016 07:28:02 +0000 (23:28 -0800)]
Merge "Evas Textblock: Fix ellipsis when textblock is resized to formatted h." into tizen