Gwanglim Lee [Tue, 15 Mar 2016 05:06:42 +0000 (14:06 +0900)]
ecore_evas_drm: add eina module init / shutdown to resolve undefined symbol error
Change-Id: Ibf95c78cc498057ec94aff8debf03c08d94db157
Gwanglim Lee [Mon, 14 Mar 2016 13:22:33 +0000 (22:22 +0900)]
edje: get cache directory from XDG_CACHE_HOME not from efreet
Change-Id: Ic3a24293f1cab8aa63185f51162d22f7e5a5d928
Boram Park [Thu, 10 Mar 2016 03:07:27 +0000 (12:07 +0900)]
not using gbm_tbm_get_surface
Change-Id: I53e93e341910095574e8054604dd78e93f321b41
Jihoon Kim [Wed, 9 Mar 2016 02:11:16 +0000 (11:11 +0900)]
Add since_tizen in ecore_imf keyboard mode event
Change-Id: Ic387ece1a407bf99abca529938c3949b34ff362e
DaeKwang Ryu [Wed, 9 Mar 2016 01:54:11 +0000 (17:54 -0800)]
Merge "EvasGL: This patch is for synchronization with Tizen 2.4" into tizen
Jean-Philippe Andre [Mon, 25 Jan 2016 06:58:16 +0000 (15:58 +0900)]
ecore_evas_extn: Add safety checks, fixing a crash in elm_test
See T2835 (my crash was different from the one reported).
The buffer may be initialized after the first render_pre, due to
whatever timing issue. Check in elm_test "Window Socket" and then
open several "Window Plug".
@fix
Change-Id: Id8740001e8c489f1a3b98d81d39427615f610df0
SooChan Lim [Mon, 7 Mar 2016 07:30:07 +0000 (16:30 +0900)]
ecore_drm: add ecore_drm_output_hal_private_get
get the private data of the drm_output_hal
Change-Id: I75d0c9eee9cf4a925f43a8d956473622da4f5c74
DaeKwang Ryu [Mon, 7 Mar 2016 02:41:16 +0000 (11:41 +0900)]
EvasGL: This patch is for synchronization with Tizen 2.4
Change-Id: I370d843f45e81750b1a338ee0a6ffa220c8d296d
Jihoon Kim [Mon, 7 Mar 2016 01:37:56 +0000 (17:37 -0800)]
Merge "ecore_imf/wayland: Support input panel data get" into tizen
Haifeng Deng [Thu, 18 Feb 2016 10:32:45 +0000 (18:32 +0800)]
ecore_imf/wayland: Support input panel data get
Change-Id: I8f7a57b7ead8ed3e21b0ebbc72acf8cc1f35d1f0
sunghyun kim [Mon, 7 Mar 2016 00:40:35 +0000 (16:40 -0800)]
Merge "change type position Kept for ABI compatibility" into tizen
Boram Park [Fri, 4 Mar 2016 02:49:59 +0000 (11:49 +0900)]
use dumb buffer if SW backend is running
Change-Id: I47f3b350a78deddae508cd81d4e6912eb5b250c3
Boram Park [Thu, 3 Mar 2016 12:30:22 +0000 (21:30 +0900)]
not create dumb framebuffer
Change-Id: Ic9705dca66e22d317dc8b8e8a409ed4cb0fbbae0
Boram Park [Thu, 3 Mar 2016 08:46:22 +0000 (17:46 +0900)]
temporarily fix for enlightenment blocking issue
Change-Id: I5d16778ff93a181f07d261acdab8b042f2ea6914
sunghyun kim [Mon, 29 Feb 2016 11:22:02 +0000 (20:22 +0900)]
change type position Kept for ABI compatibility
change EVAS_NATIVE_SURFACE_WL's position 3 to 6 for keep ABI compatibility
Change-Id: Iab9be58e1113b2156060089b816f3cb97cc53edb
Ji-Youn Park [Mon, 29 Feb 2016 07:50:59 +0000 (16:20 +0830)]
ecore_wl : add exception checks regarding _ecore_wl_disp->wl.keyrouter in ecore_wl_window_keygrab_unset()
Change-Id: I6fa198cae8dec760b1f797d7dd0f7f07edce13fa
Boram Park [Sun, 28 Feb 2016 23:46:10 +0000 (08:46 +0900)]
use TRACE_EFL_XXXX macro
Change-Id: I4abd97bced49c4c84b02ac257e32468e8bd9bd66
Boram Park [Sat, 13 Feb 2016 05:24:59 +0000 (14:24 +0900)]
apply libtdm
Change-Id: I32186ffd4d5733eaf6f763251405a5459e85277d
Boram Park [Sat, 13 Feb 2016 04:47:20 +0000 (13:47 +0900)]
Revert "ecore_drm: Add ECORE_DRM_DEVICE_SUPPORT_SPRD define for SPRD device"
This reverts commit
f02998e1c2c0a49a481fde8c86b3cf6e392eb03f.
Conflicts:
src/lib/ecore_drm/ecore_drm_device.c
Change-Id: I3649845c5aa49d3795c874b78d008379903b16c4
Boram Park [Sat, 13 Feb 2016 04:45:49 +0000 (13:45 +0900)]
Revert "ecore-drm: set the -DECORE_DRM_DEVICE_SUPPORT_SPRD after %build"
This reverts commit
437a096a5bd9b70f9aeb1788f6c5db8931d254a6.
Change-Id: I6ae917ce094c36ae75681c42ecdc013843cfa83f
JengHyun Kang [Fri, 26 Feb 2016 05:33:45 +0000 (14:33 +0900)]
Check tizen api version to convert key to support old tizen keycodes
Change-Id: I8278b93f9e78b9a02bfc231feb42d29cf9504bba
MinJeong Kim [Fri, 26 Feb 2016 02:09:48 +0000 (11:09 +0900)]
Added ttrace for drm setup, evas_gl_drm engine, ecore_evas_gl_drm
Change-Id: Ibab1b414bc82cc677bd6d73ae8d03f0d3d06f76c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Youngbok Shin [Tue, 23 Feb 2016 06:15:02 +0000 (22:15 -0800)]
Merge "edje_entry: Add "preedit_highlight" tag" into tizen
Minwoo, Lee [Mon, 24 Aug 2015 06:49:50 +0000 (15:49 +0900)]
edje_entry: Add "preedit_highlight" tag
Signed-off-by: Minwoo, Lee <minwoo47.lee@samsung.com>
Conflicts:
src/lib/edje/edje_entry.c
Change-Id: I11c2edd7b589bcf46db0b2c3e384ccb1cdab58fb
sungwook park [Tue, 23 Feb 2016 04:25:17 +0000 (20:25 -0800)]
Merge "ecore_imf/wayland: refine content purpose" into tizen
Junkyeong Kim [Tue, 16 Feb 2016 09:22:50 +0000 (18:22 +0900)]
ecore_drm : add _ecore_drm_output_delete
Change-Id: Ia0f52966ed2b57a2ee81176c31fa3abb783e7de5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Jihoon Kim [Mon, 22 Feb 2016 08:40:56 +0000 (17:40 +0900)]
ecore_imf/wayland: refine content purpose
Change-Id: If125b5fe7d98bb281a5a4c521190e9e2293308b9
Jihoon Kim [Mon, 22 Feb 2016 05:07:32 +0000 (14:07 +0900)]
ecore_imf/wayland: Add comment in tizen only code
Change-Id: I6a5338abbeaeb5bdef5a5430943b9a82e24028e3
Youngbok Shin [Mon, 19 Jan 2015 08:47:39 +0000 (17:47 +0900)]
[Tizen2.4] Fix to load module for plugin.
Change-Id: I86fac687d2293f1be52d3585e94ac4d6b0374fb9
Jihoon Kim [Fri, 19 Feb 2016 10:02:22 +0000 (02:02 -0800)]
Merge "ecore_imf/wayland: Add bidi_direction" into tizen
InHong Han [Fri, 19 Feb 2016 05:36:52 +0000 (14:36 +0900)]
ecore_imf/wayland: Add bidi_direction
Change-Id: I2070af00e794bf56ab71db4d57c823080394e599
Signed-off-by: InHong Han <inhong1.han@samsung.com>
Seunghun Lee [Wed, 17 Feb 2016 05:54:10 +0000 (14:54 +0900)]
ecore-wl: save the values of aux_hint in Ecore_Wl_Window
this patch is for re-sending the values of aux_hint in case wl_surface is recreated.
Change-Id: Ib45a68b036173a1d98f1c9d36ef1a1788d99c025
SooChan Lim [Fri, 19 Feb 2016 03:56:37 +0000 (12:56 +0900)]
Revert "evas-gl-drm: block the pageflip for hwc at enlightenment."
This reverts commit
b3072ce9783f3d8baf1da18d1472bddeab6093ed.
Change-Id: I1fb1c354379733d4c65a010da8acdc48c2f78778
SooChan Lim [Fri, 19 Feb 2016 03:56:27 +0000 (12:56 +0900)]
Revert "ecore-evas-drm: hwc:check the possibility of drawing canvas"
This reverts commit
0abd931f3714f471d13aad524d2fda9503adaf68.
Change-Id: If71e942112eb97c9ca5ec9ca0c9099ac23ee0323
SooChan Lim [Thu, 18 Feb 2016 23:30:17 +0000 (08:30 +0900)]
ecore-evas-drm: hwc:check the possibility of drawing canvas
The wait_for_showup flags is set by enlightenment hwc.
The wait_for_showup flags is set to be true
when enlightenment display something on a screen.
And the flags is set to be false when the enlightenment
is done to display the image on a screen.
Change-Id: I221d7ae53d4a02e8a2012e88212d8ec18c0d90f3
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