platform/upstream/efl.git
8 years agoecore_drm : add ecore_drm_output_dpms_get 96/59296/1
SooChan Lim [Fri, 12 Feb 2016 07:50:17 +0000 (16:50 +0900)]
ecore_drm : add ecore_drm_output_dpms_get

Change-Id: I77d5f3c9d8e960ed2980adab56640a5f7c254655

8 years agoEvas text: Fix Evas Text truncated text case. 65/59165/1
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

8 years agoEvas textblock: Save memory space reducing unused hyphen dictionary loads 21/59121/1
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

8 years agoEvas: Use proper language for harfbuzz shaping 20/59120/1
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

8 years agoEvas textgrid: Use default language according to locale 19/59119/1
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

8 years agoEvas textblock: Use a common thickness and position at a underline. 18/59118/1
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

8 years agoEvas Text/Textblock: Use locale for lang as default. 17/59117/1
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

8 years agoedje: Reduce duplicated item obj creations and deletions. 16/59116/1
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

8 years agoecore_imf/wayland: fix undefined symbol issue in wayland immodule 15/58915/2 accepted/tizen/mobile/20160205.011843 accepted/tizen/tv/20160205.011855 accepted/tizen/wearable/20160205.011915 submit/tizen/20160204.230522
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

8 years agoMerge "ecore_imf/wayland: support to send imdata in case of having focus" into tizen accepted/tizen/mobile/20160204.091347 accepted/tizen/tv/20160204.091400 accepted/tizen/wearable/20160204.091420 submit/tizen/20160204.001406 submit/tizen/20160204.012042
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

8 years agoecore_imf/wayland: support to send imdata in case of having focus 32/58832/2
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

8 years agoecore_imf/wayland: Support to set return key type and disable in runtime 77/58777/1
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

8 years agoecore_imf/wayland: send cursor position before requesting to show 24/58724/3
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

8 years agoecore_wl: change 'class' to 'clas' of tizen_input_device 82/58682/1 submit/submit/tizen/20160203.003623/20160203.003711 submit/tizen/20160203.003623
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

8 years agoAdd auto_capitalization_word 80/58480/1 accepted/tizen/mobile/20160202.115232 accepted/tizen/tv/20160202.115256 accepted/tizen/wearable/20160202.115324 submit/tizen/20160202.072154
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>
8 years agoedje: Add edje_object_part_text_freeze, thaw APIs for freezing cursor movements. 14/58214/3 accepted/tizen/mobile/20160129.083815 accepted/tizen/tv/20160129.083837 accepted/tizen/wearable/20160129.083856 submit/tizen/20160129.051436
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

8 years agoevas/edje: Add evas_textblock_cursor_range_text_valid_markup_get internal API. 08/58208/3
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

8 years agoevas/edje: Add evas_textblock_cursor_cluster_* internal APIs. 07/58207/3
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

8 years agoEvasEngine : add native surface with TBM Surface for wayland_shm 31/58231/1
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

8 years agoembryo: change the log catagory of printf in embryo 02/58202/1 accepted/tizen/mobile/20160129.083520 accepted/tizen/tv/20160129.083541 accepted/tizen/wearable/20160129.083551 submit/tizen/20160129.003334
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

8 years agoedje_embryo: add printf feature. 01/58201/1
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

8 years agoembryo: add eina_log 00/58200/1
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

8 years agoMerge "ecore_wl: Added destroy interface for tizen_rotation_interface." into tizen accepted/tizen/common/20160203.160752 accepted/tizen/mobile/20160128.010858 accepted/tizen/tv/20160128.010916 accepted/tizen/wearable/20160128.010944 submit/tizen/20160127.102516 submit/tizen_common/20160127.225316
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

8 years agoMerge "ecore_wayland: fix that setting preferred / available rotations does not work...
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

8 years agoMerge "evas engine : Downstream tbm surface patchs" into tizen
Wonsik Jung [Wed, 27 Jan 2016 02:38:38 +0000 (18:38 -0800)]
Merge "evas engine : Downstream tbm surface patchs" into tizen

8 years agoEvas text: Replace Efl_Gfx_Base param to Evas_Object. 66/57966/1 accepted/tizen/mobile/20160127.004937 accepted/tizen/tv/20160127.005034 accepted/tizen/wearable/20160127.005107 submit/tizen/20160126.105934
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

8 years agoMerge "Evas text: Add legacy bindings for evas filters" into tizen submit/tizen/20160126.071710
Youngbok Shin [Tue, 26 Jan 2016 05:50:17 +0000 (21:50 -0800)]
Merge "Evas text: Add legacy bindings for evas filters" into tizen

8 years agoecore_input/wayland: Process extra touch events 19/57919/1
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

8 years agoEvas text: Add legacy bindings for evas filters 05/57905/1
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

8 years agoMerge "Support input panel layout variation" into tizen accepted/tizen/mobile/20160126.050739 accepted/tizen/tv/20160126.050808 accepted/tizen/wearable/20160126.050829 submit/tizen/20160126.013616
Jihoon Kim [Mon, 25 Jan 2016 09:46:03 +0000 (01:46 -0800)]
Merge "Support input panel layout variation" into tizen

8 years agoSupport input panel layout variation 01/57801/2
Haifeng Deng [Sun, 24 Jan 2016 07:55:30 +0000 (15:55 +0800)]
Support input panel layout variation

Change-Id: I8f9f479e4c23a24c0bf5e006f7f237b0827a2412

8 years agoecore_wl: Added destroy interface for tizen_rotation_interface. 55/57855/1
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

8 years agoecore_drm: change log level of drmCtlInstHandler 41/57841/1 accepted/tizen/mobile/20160125.224643 accepted/tizen/tv/20160125.224653 accepted/tizen/wearable/20160125.224702 submit/tizen/20160125.071139
Boram Park [Mon, 25 Jan 2016 07:07:18 +0000 (16:07 +0900)]
ecore_drm: change log level of drmCtlInstHandler

Change-Id: I7b03a4d010d803ae2e6c6d2e589eed5c676679db

8 years agoecore_wayland: fix that setting preferred / available rotations does not work before... 18/57818/1
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

8 years agoevas engine : Downstream tbm surface patchs 04/57804/1
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

8 years agoecore-wayland : deal with tizen_input_device_mgr interface 77/56477/4 accepted/tizen/mobile/20160125.065750 accepted/tizen/tv/20160125.065821 accepted/tizen/wearable/20160125.065846 submit/tizen/20160124.224449
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

8 years agoecore-evas: handle visibility_change event 36/57436/1 accepted/tizen/mobile/20160122.034115 accepted/tizen/tv/20160122.034133 accepted/tizen/wearable/20160122.034153 submit/tizen/20160121.075859
MinJeong Kim [Wed, 20 Jan 2016 06:51:10 +0000 (15:51 +0900)]
ecore-evas: handle visibility_change event

Change-Id: If50460e55de17e0f1d5f6ed3714344e5c353e943

8 years agoMerge "ecore_imf: Added new input_panel_event_callback type for keyboard mode." into...
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

8 years agoecore_imf: Added new input_panel_event_callback type for keyboard mode. 25/57125/2
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

8 years agoecore_wayland: move check for pointer capability into wl_input_cursor_from_name_set() 84/56984/2
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

8 years agoMerge "edje: enhance edje_calc circular dependency error message" into tizen
Shinwoo Kim [Fri, 15 Jan 2016 05:51:18 +0000 (21:51 -0800)]
Merge "edje: enhance edje_calc circular dependency error message" into tizen

8 years agoMerge "Edje: enhance embryo stack broken 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

8 years agoMerge "edje: enhance circular dependency error message of edje calculation" into...
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

8 years agoSupport extra touch events 92/56392/6 accepted/tizen/mobile/20160115.111738 accepted/tizen/tv/20160115.111759 accepted/tizen/wearable/20160115.111817 submit/tizen/20160115.044121
JengHyun Kang [Thu, 7 Jan 2016 09:19:37 +0000 (18:19 +0900)]
Support extra touch events

Change-Id: I80319154ddd9a160a6980cf791cd68df115d2f9d

8 years agoedje: enhance edje_calc circular dependency error message 16/56916/1
Shinwoo Kim [Wed, 13 Jan 2016 10:59:31 +0000 (19:59 +0900)]
edje: enhance edje_calc circular dependency error message

Change-Id: I130e6ab238168ebc7a95baaf29c0ecd1b869de4d

8 years agoEdje: enhance embryo stack broken error message 15/56915/1
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

8 years agoedje: enhance circular dependency error message of edje calculation 14/56914/1
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

8 years agoecore-buffer: connect wayland display server first as a buffer queue server. 48/56848/2 accepted/tizen/mobile/20160114.011737 accepted/tizen/tv/20160114.011800 accepted/tizen/wearable/20160114.011823 submit/tizen/20160113.071436
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

8 years agoecore-buffer: remove examples that may not worked. 47/56847/2
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

8 years agoecore_wayland: send mouse_move when sets touch_focus window in cb_touch_down 26/56526/2
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

8 years agoMerge "efl: Enable hyphenation" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:59 +0000 (18:42 -0800)]
Merge "efl: Enable hyphenation" into tizen

8 years agoMerge "Evas textblock: add support for hyphenation wrap style" 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

8 years agoMerge "Eina unicode: add eina_unicode_unicode_to_utf8_range" 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

8 years agoMerge "Evas language: add full locale language getter" 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

8 years agoMerge "Evas language: Fix language from locale function." 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

8 years agoecore_con: enable other builds, not only wayland 20/56820/1
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

8 years agogl_drm: consider stride of frame buffer in outbuf copy 27/56727/3
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

8 years agoMerge "ecore_buffer: remove ecore-buffer.pc file from default distro pc list." into...
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

8 years agoecore_imf/wayland: Fix not to show IME in touching entry after hiding IME 16/56616/1 accepted/tizen/common/20160112.171918 accepted/tizen/mobile/20160112.042921 accepted/tizen/tv/20160112.042941 accepted/tizen/wearable/20160112.043001 submit/tizen/20160111.223026 submit/tizen_common/20160112.125432
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

8 years agoecore_wl_input: fix null pointer dereference 75/56575/1 accepted/tizen/mobile/20160111.230023 accepted/tizen/tv/20160111.230041 accepted/tizen/wearable/20160111.230104 submit/tizen/20160111.111738
MinJeong Kim [Mon, 11 Jan 2016 08:30:26 +0000 (17:30 +0900)]
ecore_wl_input: fix null pointer dereference

Change-Id: I3ba69ad69b920548116c1935b3aea64257d7f03a

8 years agoefl: Enable hyphenation 07/55507/6
Youngbok Shin [Thu, 24 Dec 2015 06:25:18 +0000 (15:25 +0900)]
efl: Enable hyphenation

Change-Id: I3cce33b90bf05501195b99142b2ff9879a5f15aa

8 years agoEvas textblock: add support for hyphenation wrap style 91/55491/6
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 (&shy;)
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

8 years agoEina unicode: add eina_unicode_unicode_to_utf8_range 21/55521/3
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

8 years agoEvas language: add full locale language getter 09/55509/4
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

8 years agoEvas language: Fix language from locale function. 14/55514/3
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

8 years agoecore_imf/wayland: Fix issue text input context was not set to activate in focus... 28/56228/3 accepted/tizen/mobile/20160108.065223 accepted/tizen/tv/20160108.065249 accepted/tizen/wearable/20160108.065308 submit/tizen/20160108.023953
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

8 years agoecore_buffer: remove ecore-buffer.pc file from default distro pc list. 86/56386/1
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

8 years agoecore_drm_evdev: fix wrong use of EINA_SAFETY_ON_TRUE_RETURN_VAL macro in _device_rem... 54/56254/2
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

8 years agoevas: added missing append_arc() api declaration. 78/56378/1
Subhransu Mohanty [Thu, 7 Jan 2016 06:34:01 +0000 (15:34 +0900)]
evas: added missing append_arc() api declaration.

Change-Id: I5eb1c5c37be4b75b31dbf5ab953720dead26331e

8 years agosupport input panel geometry 38/55038/10 accepted/tizen/mobile/20160107.101922 accepted/tizen/tv/20160107.101945 accepted/tizen/wearable/20160107.101957 submit/tizen/20160107.054830
Haifeng Deng [Mon, 21 Dec 2015 10:52:03 +0000 (18:52 +0800)]
support input panel geometry

Change-Id: I0c278eef70ebb8cfb89070839b6ccc2a443667b9

8 years agoMerge "spec: include efreetd" into tizen accepted/tizen/mobile/20160106.003529 accepted/tizen/tv/20160106.003425 accepted/tizen/wearable/20160106.003454 submit/tizen/20160105.103232
Jaehwan Kim [Tue, 5 Jan 2016 08:05:08 +0000 (00:05 -0800)]
Merge "spec: include efreetd" into tizen

8 years agospec: include efreetd 75/56175/1
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

8 years agoAdd a new API for keymap cache 00/54600/6
JengHyun Kang [Thu, 24 Dec 2015 05:40:06 +0000 (14:40 +0900)]
Add a new API for keymap cache

Change-Id: I36ab0d665e6a43d55eb3c741c0c5889a4c4d9801

8 years agoMerge "Evas textblock: Clean up ellipsis handling code." into tizen
Youngbok Shin [Tue, 5 Jan 2016 07:28:06 +0000 (23:28 -0800)]
Merge "Evas textblock: Clean up ellipsis handling code." into tizen

8 years agoMerge "Evas Textblock: Fix ellipsis when textblock is resized to formatted h." into...
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

8 years agoMerge "Revert "Evas Textblock: Fix ellipsis when textblock is resized to formatted...
Youngbok Shin [Tue, 5 Jan 2016 07:27:58 +0000 (23:27 -0800)]
Merge "Revert "Evas Textblock: Fix ellipsis when textblock is resized to formatted h."" into tizen

8 years agoEvas textblock: Clean up ellipsis handling code. 72/56172/1
Tom Hacohen [Mon, 4 Jan 2016 15:09:16 +0000 (15:09 +0000)]
Evas textblock: Clean up ellipsis handling code.

This cleans up the previous commit a bit by isolating the calculation
code and using a temporary descriptively named variable for the calculation.

Change-Id: I53f509dd5bfd775f83a9012654e51a89894d4cb3

8 years agoEvas Textblock: Fix ellipsis when textblock is resized to formatted h. 71/56171/1
Youngbok Shin [Mon, 4 Jan 2016 15:00:56 +0000 (15:00 +0000)]
Evas Textblock: Fix ellipsis when textblock is resized to formatted h.

Summary:
it->h is sum of max ascent and max descent. It shouldn't be used
when handle ellipsis. Because, Evas Textblock uses these values for
each lines differently according to its location.
(start, end, else, single)
So, for handling ellipsis exactly, it has to be fixed.

Test Plan: A test case is included in Evas Test suite.

Reviewers: woohyun, tasn, herdsman

Subscribers: cedric, jpeg

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

Change-Id: I91a1daa2253fc528189c791f52153adf7530013f

8 years agoecore_wayland: set touch_focus window when gets pointer_enter 79/55779/2
Duna Oh [Tue, 29 Dec 2015 08:02:30 +0000 (17:02 +0900)]
ecore_wayland: set touch_focus window when gets pointer_enter

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

8 years agoRevert "Evas Textblock: Fix ellipsis when textblock is resized to formatted h." 70/56170/1
Youngbok Shin [Tue, 5 Jan 2016 06:45:44 +0000 (15:45 +0900)]
Revert "Evas Textblock: Fix ellipsis when textblock is resized to formatted h."

This reverts commit c6a4cd0963cd333f177bf1dfd4b231741ab312f3.

The patch is merged in upstream.
So, it will be replaced by the original patch.

Change-Id: Id17e6cbf6b98e04d30332d9db262fdb799f838e1

8 years agoEvas Textblock: Fix ellipsis when textblock is resized to formatted h. 89/56089/1
Youngbok Shin [Mon, 4 Jan 2016 08:02:38 +0000 (17:02 +0900)]
Evas Textblock: Fix ellipsis when textblock is resized to formatted h.

Summary:
it->h is sum of max ascent and max descent. It shouldn't be used
when handle ellipsis. Because, Evas Textblock uses these values for
each lines differently according to its location.
(start, end, else, single)
So, for handling ellipsis exactly, it has to be fixed.

Test Plan: A test case is included in Evas Test suite.

Reviewers: woohyun, tasn, herdsman

Subscribers: cedric, jpeg

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

@tizen_fix

Change-Id: I901bbe5279c66cc2322635a60b239d0167f037d9

8 years agoecore wayland: modified code to handle iconic state 00/56000/1 accepted/tizen/mobile/20160104.224429 accepted/tizen/tv/20160104.224444 accepted/tizen/wearable/20160104.224510 submit/tizen/20160104.063048
Doyoun Kang [Thu, 31 Dec 2015 01:59:37 +0000 (10:59 +0900)]
ecore wayland: modified code to handle iconic state

Change-Id: I867299796d4a650d3dae301b634046ef1fd0555e

8 years agoHide input panel before hide request context is deleted 15/55815/1 accepted/tizen/mobile/20151230.113939 accepted/tizen/tv/20151230.114019 accepted/tizen/wearable/20151230.114049 submit/tizen/20151229.120237
Haifeng Deng [Tue, 29 Dec 2015 11:37:52 +0000 (19:37 +0800)]
Hide input panel before hide request context is deleted

Change-Id: I288654e5f8b1cc1510f414b6dc1f05ce1c4403c7

8 years agoMerge "ecore_imf/wayland: do not check input panel enable in show or hide" into tizen accepted/tizen/mobile/20151228.233326 accepted/tizen/tv/20151228.232221 accepted/tizen/wearable/20151228.231510 submit/tizen/20151228.110606
Jihoon Kim [Mon, 28 Dec 2015 07:34:51 +0000 (23:34 -0800)]
Merge "ecore_imf/wayland: do not check input panel enable in show or hide" into tizen

8 years agoecore_imf/wayland: do not check input panel enable in show or hide 16/55616/1
Jihoon Kim [Mon, 28 Dec 2015 07:28:04 +0000 (16:28 +0900)]
ecore_imf/wayland: do not check input panel enable in show or hide

Input panel enable is already being checked in ecore_imf API.

Change-Id: I9f4c5116dfa23d4cd52fc557e2a4c0fab47298b6

8 years ago[License] update license 98/55498/1
Sung-Taek Hong [Fri, 31 Jul 2015 09:11:14 +0000 (18:11 +0900)]
[License] update license

Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Conflicts:
licenses/COPYING.FTL
packaging/efl.spec

Change-Id: I4999d0ee31f366c53aab39d2cec58a789254414e

8 years agoMerge "evas/gl : Do not re-preload image data if texture is successfully uploaded...
Jaehwan Kim [Thu, 24 Dec 2015 04:10:40 +0000 (20:10 -0800)]
Merge "evas/gl : Do not re-preload image data if texture is successfully uploaded with image data." into tizen

8 years agoMerge "ecore_wayland: fix ecore_wl_window_keyboard_state_set()" into tizen
Jiyoun Park [Wed, 23 Dec 2015 08:57:16 +0000 (00:57 -0800)]
Merge "ecore_wayland: fix ecore_wl_window_keyboard_state_set()" into tizen

8 years agoecore_wayland: fix ecore_wl_window_keyboard_state_set() 65/54865/5
Hosang Kim [Fri, 18 Dec 2015 08:54:56 +0000 (17:54 +0900)]
ecore_wayland: fix ecore_wl_window_keyboard_state_set()

Fix parameter of ecore_wl_window_keyboard_state_set().
Also clipboard and indicator is fixed, too.

Change-Id: Ib2d2531b7b475b1e3b505fda4f2280881699e1c9

8 years agoecore con: request e19 compositor to create socket 22/55322/2 accepted/tizen/mobile/20151224.000038 accepted/tizen/tv/20151224.000112 accepted/tizen/wearable/20151224.000127 submit/tizen/20151223.075445 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Thiep Ha [Wed, 23 Dec 2015 06:57:01 +0000 (15:57 +0900)]
ecore con: request e19 compositor to create socket

In Tizen 3.0, the security does not allow 1 application to create
socket and other applications to connect to that socket.
All sockets should be created by system daemon or service.
Therefore, we request the e19 compositor to create sockets for us.
Besides, this patches also change the location of sockets to
avoid smack errors.

@tizen_feature

Change-Id: Ia7cb5d937f964d2d7528e84ca06854fcaf805d66

8 years agoevas/gl : Do not re-preload image data if texture is successfully uploaded with image... 01/55301/1
Minkyoung Kim [Fri, 18 Dec 2015 07:49:17 +0000 (16:49 +0900)]
evas/gl : Do not re-preload image data if texture is successfully uploaded with image data.

Summary:
'cached' flag is not enough to check whethere data is loaded and texture is uploaded.
so check more options for prevent re-preload image data on gl-backend.

Test Plan: Local Test (elementary_test : elm images)

Reviewers: jpeg, eunue

Reviewed By: jpeg

Subscribers: cedric, jiin.moon, wonsik, spacegrapher

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

Change-Id: Ia15c6ec4a22a6b48921baab5d00992bc0918c477
Origin: upstream

8 years agoMerge "evas: Do not preload data if data is cached." into tizen submit/tizen_common/20151223.095123
Jaeun Choi [Wed, 23 Dec 2015 02:19:09 +0000 (18:19 -0800)]
Merge "evas: Do not preload data if data is cached." into tizen

8 years agoMerge "evas/gl: Update texture when preload is cancelled." into tizen
Jaeun Choi [Wed, 23 Dec 2015 02:19:02 +0000 (18:19 -0800)]
Merge "evas/gl: Update texture when preload is cancelled." into tizen

8 years agogl_drm: support evasgl native surface 29/55129/1 accepted/tizen/mobile/20151222.223606 accepted/tizen/tv/20151222.223619 accepted/tizen/wearable/20151222.223635 submit/tizen/20151222.072410
MinJeong Kim [Tue, 22 Dec 2015 06:27:22 +0000 (15:27 +0900)]
gl_drm: support evasgl native surface

gl_drm engine can set native surface using EVASGL type.

Change-Id: Ie80a797e1244e4aa4ae8e06b38e98f2ac6a2652b

8 years agoRemove a unused variable 25/54925/3
JengHyun Kang [Sun, 20 Dec 2015 23:04:44 +0000 (08:04 +0900)]
Remove a unused variable

Change-Id: I6e82d9fa5e138a6981e1b5866a5e155c9777fc39

8 years agoecore-drm: Don't send mouse_move event too early 63/54863/2
Duna Oh [Fri, 18 Dec 2015 08:35:55 +0000 (17:35 +0900)]
ecore-drm: Don't send mouse_move event too early

We cannot be sending an ecore_event for mouse move here
as it is too early in the startup process for that too happen.
Raising the event here never gets caught because the ecore_evas has not yet registered for ecore_input listening.

origin: upstream
https://git.enlightenment.org/core/efl.git/commit/?id=0210051a40beb2d53789ced8b6c97671ea99ef2b

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

8 years agoecore_idle_exiter: return NULL in eo_finalize() when Ecore_Task_Cb is not set 69/54869/1 accepted/tizen/mobile/20151220.230720 accepted/tizen/tv/20151220.230734 accepted/tizen/wearable/20151220.230750 submit/tizen/20151219.084045
Sung-Taek Hong [Fri, 18 Dec 2015 08:58:53 +0000 (17:58 +0900)]
ecore_idle_exiter: return NULL in eo_finalize() when Ecore_Task_Cb is not set

Summary: - ecore_idle_exiter_add should return NULL, when Ecore_Task_Cb is not set.

Reviewers: jpeg, woohyun, jaehwan, Jaehyun

Subscribers: cedric, jpeg

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

Change-Id: Ifb65320579f3248116c47cb55dbb4f14596b6d13

8 years agoAdd a new ecore_drm API 95/53895/11
JengHyun Kang [Thu, 10 Dec 2015 05:36:51 +0000 (14:36 +0900)]
Add a new ecore_drm API

 - ecore_drm_device_left_handed_set
 - Set a libinput's left handed option

Change-Id: Ifc1686b9b04a27512ae00df9275ae84e1c3a0f60

8 years agoecore_wayland: fix comparing keyboard state to state of conformant_area wl event. 07/54807/1 accepted/tizen/mobile/20151218.085952 accepted/tizen/tv/20151218.085755 accepted/tizen/wearable/20151218.085909 submit/tizen/20151218.053557
Gwanglim Lee [Fri, 18 Dec 2015 04:44:50 +0000 (13:44 +0900)]
ecore_wayland: fix comparing keyboard state to state of conformant_area wl event.
The state of conformant_area wl event is based on the visibility value
of virtual keyboard window. Thus we need to add 1 to it before comparing
with keyboard state.

Change-Id: I3b1a3dd2c9d154b10f1cd63b16c42e3295a78bfc

8 years agoevas_callback: Remove callbacks in reverse order with evas_event_callback_del 94/54694/1
Sung-Taek Hong [Thu, 17 Dec 2015 07:54:02 +0000 (16:54 +0900)]
evas_callback: Remove callbacks in reverse order with evas_event_callback_del

Summary:

 - This function is deprecated, because del_full should be used instead.
 - Still, the documentation specifies in which order the callbacks should
 - be deleted.

Change-Id: Ie05155abafd3d73425e1b73bc85090ec98cd06fa
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>