platform/upstream/efl.git
6 years agoelm: [efl_ui_layout] Added NULL check of obj
JunsuChoi [Tue, 12 Dec 2017 09:06:49 +0000 (14:36 +0530)]
elm: [efl_ui_layout] Added NULL check of obj

@tizen_fix

orignal patch: f6329f2e51bb2f164f97073eb518944801263089

Change-Id: I15f0ebc6e637b5f4119a5f897c7a1dd6d21f78d1

6 years ago[ATSPI][elm_layout] apply screen_reader_changed callback Called screen_reader_changed...
JunsuChoi [Mon, 11 Dec 2017 15:19:59 +0000 (20:49 +0530)]
[ATSPI][elm_layout] apply screen_reader_changed callback Called screen_reader_changed callback when screen reader is on/off

Called screen_reader_changed callback when screen reader is on/off.
@TIZEN_ONLY

@tizen_fix

orignal patch: 8835059cbcce3daf2f2a822f655164edc1391b28

Change-Id: I63d602d1c9df6eb6b8ac66414e51cdc41ce9724b

6 years agoelm: access: index: Send selected signal to atspi client
Shilpa Singh [Tue, 12 Dec 2017 08:31:06 +0000 (14:01 +0530)]
elm: access: index: Send selected signal to atspi client

orig: 83e5dbbc7975fb5a29896915d8b10da9272d2899

Change-Id: Ia3884c391c630956131996b3f870ef9cb51fb7ed

6 years agoelm: access: Access frame going behind popup issue fix
Shilpa Singh [Tue, 12 Dec 2017 08:15:17 +0000 (13:45 +0530)]
elm: access: Access frame going behind popup issue fix
when popup is created in transition,finished callback.
orig: 4130d890df95add7632c0ab863be4db3477d28af

Change-Id: I391bc0013830c88d74e41eb1fe0f8109b442b21c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoatspi : Change default label append of popup from show_finish_cb to on_show.
JunsuChoi [Tue, 12 Dec 2017 07:55:34 +0000 (13:25 +0530)]
atspi : Change default label append of popup from show_finish_cb to on_show.
show_finish_cb is called after animation of popup has finished.
default label time limit for screen-readers is 0.3 seconds.
Default label does not work if animation does not finish in 0.3 seconds
So change it so that it can be processed by smart show.

orig: 0f834dc1b813fac712082b21d91eb15b555aa592

Change-Id: I44a0257217307fb47eefc31e6d04213700bf1b67
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoatspi: Handle default label object on toolkit side
Shinwoo Kim [Tue, 12 Dec 2017 07:45:07 +0000 (13:15 +0530)]
atspi: Handle default label object on toolkit side

There are unexpected difficult cases to make default label work correctly.

The following would be the case.
(top of accessible tree) - (bottom side)
PageTab1 - Panel1 - PageTab2 - Panel2 - PageTab3 - Panel3(currently showing)
Application could make as below: PageTab1 - Panel1 - PageTab3 - Panel3 - PageTab2 - Panel2(currently showing) or
following tree would normally be possilbe: PageTab1 - Panel1 - PageTab2 - Panel2(currently showing)
There are much of complicated case over there.
So we are handling the default label object stack on toolkit(Elementary) side.
Please refer to following patch set: https://review.tizen.org/gerrit/#/c/151025/ (at-spi2-core)
https://review.tizen.org/gerrit/#/c/151030/ (screen-reader)

Change-Id: Ibc0918ad925066a7cbe0e8888edc4d3431d8c154
orig: a981fc78abdb4bb61fc76deb8d15016d63bc3da9
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoecore_input: need to include Ecore.h in Ecore_Input.h
Duna Oh [Wed, 6 Apr 2016 09:54:25 +0000 (18:54 +0900)]
ecore_input: need to include Ecore.h in Ecore_Input.h

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

6 years agoelm: access: Use Efl_Access instead of Elm_Atspi
Shilpa Singh [Tue, 12 Dec 2017 06:15:06 +0000 (11:45 +0530)]
elm: access: Use Efl_Access instead of Elm_Atspi

Change-Id: Icb57e66de1e01049c074d547731f6c05bfb745da

6 years agoelm: [atspi][panel] Adds accessibility support for the panel widget.
JunsuChoi [Fri, 8 Dec 2017 13:59:58 +0000 (19:29 +0530)]
elm: [atspi][panel] Adds accessibility support for the panel widget.
Panel handles similar popups.
When open or close it sends signal to screen-reader.

orig patch: ebc340ef13fdab63a07f6a58af54f00d84c92eb8

Change-Id: I5124d0398c410d33335705d9bbe4577eb9b3bd9b
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years ago[EvasGL] Fix to 3D memory leak.
Wonsik, Jung [Mon, 11 Dec 2017 07:14:21 +0000 (16:14 +0900)]
[EvasGL] Fix to 3D memory leak.

If evas_gl_make_current is called with NULL,
and evgl_surface_destroy and evgl_context_destroy is called,
3D memory leak occurs.
Because rsc->current_ctx is NULL in evas_gl_make_current
and texture and framebuffer can not be free in destroy funnctions.
To fix that, one value is added to EVGL_resource.
This value is kept with current_ctx, when evas_gl_make_current is called with NULL.

Change-Id: Ib363990589872858fd3a27ea730f38a3c6571a65

6 years ago[Evas Engine] : add native TBM surface to gl drm engine
Wonsik, Jung [Mon, 11 Dec 2017 05:27:20 +0000 (14:27 +0900)]
[Evas Engine] : add native TBM surface to gl drm engine

Add evas object image's native surface of TBM to EvasGLDRM engine

Change-Id: I56b035150de7798ca9e990b162b350b36f1c46fc

6 years agoelm: Tizen Profile Runtime Configurability
Shinwoo Kim [Mon, 11 Dec 2017 10:18:04 +0000 (19:18 +0900)]
elm: Tizen Profile Runtime Configurability

[From]
commit fb75487443770f053f720aef8fa071597de83d57
Author: Jongmin Lee <jm105.lee@samsung.com>
Date:   Tue Apr 11 12:23:06 2017 +0900

    tizen_util: support for runtime tizen profile configurability

Change-Id: I79bd9bb203738f4c78ec209b3669179bf8db4cc1

6 years agoelm: Add navigation helper functions for screen-reader and friends (part 2)
Radoslaw Cybulski [Mon, 11 Dec 2017 14:25:58 +0000 (19:55 +0530)]
elm: Add navigation helper functions for screen-reader and friends (part 2)

@tizen_feature

orignal patch: 6dc61d57e94d35149f8af0678be2c5237f7791ac

Change-Id: If3be1cee8b4c422c4da2bb7b805da8234ed84c89

6 years agoelm: access: grab highlight using unrealized item
Shinwoo Kim [Mon, 11 Dec 2017 13:36:30 +0000 (19:06 +0530)]
elm: access: grab highlight using unrealized item

The looping naviation could make the first(or last) item grab highlight.
But the _elm_widget_item_elm_interface_atspi_component_highlight_grab returns
without setting highlight if sd->view is NULL
that means the item is NOT realized in case of genlist.
So the _elm_genlist_item_elm_interface_atspi_component_highlight_grab
BRINGs the first(or last) item IN first before grabbing highlight.

orig: bf0dc4a05f36fbec6822e3275827f16b33036957

Change-Id: Ic6021cd5358a79748610da0c54384a24fcb45f5c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: access: In access_name_get function call _elm_widget_item_accessible_plain_name_...
Shilpa Singh [Mon, 11 Dec 2017 10:18:19 +0000 (15:48 +0530)]
elm: access: In access_name_get function call _elm_widget_item_accessible_plain_name_get/_elm_widget_accessible_plain_name_get
to store the name text as well to convert the text.

Change-Id: I0b8ee228efad334725fe909015f19ebcb9fa9727

6 years agoelm: Add navigation helper functions for screen-reader and friends
Radoslaw Cybulski [Mon, 11 Dec 2017 10:44:25 +0000 (16:14 +0530)]
elm: Add navigation helper functions for screen-reader and friends

This patch adds GetNavigableAtPoint accessibility interface - the function finds accessibility object at given coordinates. This massively (10-15 times)
reduce amount of IPC calls (and time spent) in typical screen-reader scenario.

@tizen_fix

orignal patch: 7519c5070dae2b1a0716ead7bfe8d4de1a4a5114

Change-Id: I657c900bc6618bc4a17fbbb21469b06e41d0c7ff

6 years agoelm: [ATSPI] Modify clear only specified objects when called highlight_clear
JunsuChoi [Mon, 11 Dec 2017 09:03:23 +0000 (14:33 +0530)]
elm: [ATSPI] Modify clear only specified objects when called highlight_clear

In the past, highlight clear cleared all highlight in the window. When a user calls
highlight_grab manually, highlight_clear on highlighted object causes all highlight
to disappear. So we modify it to clear the object specified in highlight_clear.

@tizen_fix

orignal patch: 52e6f940c73b6d12b0a8866821ef32badb724f66

Change-Id: Ibbe8570ece706f68bef3a6e647c6cfb204b145d4

6 years ago[evas] use EVAS_GL_WAYLAND_Y_INVERTED_WL attribute of
Joogab Yun [Wed, 8 Jun 2016 08:19:12 +0000 (17:19 +0900)]
[evas] use EVAS_GL_WAYLAND_Y_INVERTED_WL attribute of
eglQueryWaylandBufferWL

 - 'yinvert=0' in YaGL of emulator, so we need check
EGL_WAYLAND_Y_INVERTED_WL attribute to query orientation of
   wl_buffer

@tizen_fix : bug fix

Change-Id: I98abbe72c882d83a4bf90081f5feb2462027fb7c

6 years agoatspi: Add and expose API
Shinwoo Kim [Mon, 11 Dec 2017 08:12:37 +0000 (13:42 +0530)]
atspi: Add and expose API
[add]
- elm_object_part_access_register
[expose]
- elm_object_part_access_object_get
- elm_access_object_register
- elm_access_object_unregister
- elm_access_object_get
- elm_atspi_bridge_utils_say
- elm_atspi_accessible_name_cb_set
- elm_atspi_accessible_description_cb_set
- elm_atspi_accessible_attribute_append
- elm_atspi_accessible_reading_info_type_set
- elm_atspi_accessible_reading_info_type_get
- elm_atspi_accessible_gesture_cb_set
- elm_atspi_accessible_can_highlight_set
- elm_atspi_accessible_can_highlight_get
- elm_atspi_component_highlight_grab
- elm_atspi_component_highlight_clear

original patch: c8fb84319dc59b6a5d6ffaac9c396c9f03932005

Change-Id: Iae890f9a899cae165135be0e6458e90a9793bddc
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoEdje_cc: Disable beta feature checking logic
Wonki Kim [Mon, 11 Dec 2017 08:40:47 +0000 (17:40 +0900)]
Edje_cc: Disable beta feature checking logic

Tizen has already used that feature without the option(-beta)
This patch removes the checking logic, to keep compatability

Change-Id: I766012b94a30e3b845c12e0a389e4d6cdb634ca6
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm: keep Tizen legacy API
Shinwoo Kim [Mon, 11 Dec 2017 08:29:54 +0000 (17:29 +0900)]
elm: keep Tizen legacy API

Upstream is using prefix efl_access for legacy API.
Tizen has used prefix elm_atspi for legacy API. Application is uisng elm_atspi
API set. So we have to keep Tizen legacy API.

@tizen_feature

Change-Id: If0ea8ed9d477b5764c36c56eab756514aa2bfcd6

6 years ago[evas-gl] check extention "EGL_TIZEN_image_native_surface" in wayland_egl
sunghyun kim [Wed, 6 Dec 2017 11:07:25 +0000 (20:07 +0900)]
[evas-gl] check extention  "EGL_TIZEN_image_native_surface" in wayland_egl

Change-Id: I459902b3c5383be64ebb665455095862674a2b1d

6 years ago[evas_gl] add partial_render_debug mode for debug
sunghyun kim [Wed, 6 Dec 2017 09:30:32 +0000 (18:30 +0900)]
[evas_gl] add partial_render_debug mode for debug

if EVAS_GL_PARTIAL_DEBUG is set, add sky blue color rectangle before draw object.
it is for debug.

Change-Id: Ib4716c98b4735ea4edebf102a4692ec610392b28

6 years ago[evas-gl] destroy surface when evas-gl is direct renderable
sunghyun kim [Wed, 6 Dec 2017 07:34:35 +0000 (16:34 +0900)]
[evas-gl] destroy surface when evas-gl is direct renderable

evasgl create more buffer when evas gl is direct renderable status.
but according to log,this code want destory buffer.

Change-Id: If06a0c42d551ad1d7559a5f225f9b0beced579b9

6 years agochange type position Kept for ABI compatibility
sunghyun kim [Wed, 6 Dec 2017 06:55:59 +0000 (15:55 +0900)]
change type position  Kept for ABI compatibility

Change-Id: I40891b039c45376314345956a699cf945c55b5a1

6 years agoedje: fix calculation for vertically expandable textblock without max height
Youngbok Shin [Mon, 11 Dec 2017 07:49:59 +0000 (16:49 +0900)]
edje: fix calculation for vertically expandable textblock without max height

It also include a performance patch for this code section from tizen branch.

@tizen_fix

Change-Id: Ib1c98cf360ebf301a0c7980e42c9fec1fabea443

6 years agoecore_device: add dummy functions for ecore_device API
JengHyun Kang [Wed, 6 Dec 2017 08:33:35 +0000 (17:33 +0900)]
ecore_device: add dummy functions for ecore_device API

Change-Id: I42a1290124ddda47b2e6741363adf8d15a033e19

6 years agoecore_wl2: add functions to set client's custom cursors
JengHyun Kang [Fri, 8 Dec 2017 08:54:51 +0000 (17:54 +0900)]
ecore_wl2: add functions to set client's custom cursors

Change-Id: I0017e31e31bf1ccd2c0b4afb5bf5badd48a00584

6 years agoecore_wl2_input: do not send pointer enter about all of touch down
JengHyun Kang [Thu, 7 Dec 2017 04:49:00 +0000 (13:49 +0900)]
ecore_wl2_input: do not send pointer enter about all of touch down

Change-Id: I2e14b59daa5934bc654284146a43c63fd61ace2e

6 years agoevas: Add scale feature for embedded bitmap fonts.
Youngbok Shin [Mon, 25 Sep 2017 09:34:22 +0000 (18:34 +0900)]
evas: Add scale feature for embedded bitmap fonts.

Summary:
When evas selects a strike of embedded bitmap font,
calculate ratio and use it for scaling embedded bitmap.
@feature

Reviewers: jpeg, tasn, woohyun, raster, herdsman

Reviewed By: raster

Subscribers: charlesmilette, Francesco149, cedric

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

Change-Id: Ifcafac15f88cbc1914e005342af236b93b791dbf

6 years agovpath: A temp patch for migration task
Wonki Kim [Mon, 11 Dec 2017 02:33:26 +0000 (11:33 +0900)]
vpath: A temp patch for migration task

calling setuid makes crash on qemu environment, especially for arm env
so this patch skip setuid temporally

Change-Id: Ia7dc5ab03b641b9c5da4d136986a6487b2c6378c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm_win: add ELM_WIN_INDICATOR_BG_TRANSPARENT enum to fix build break
Jiyoun Park [Sat, 9 Dec 2017 08:56:25 +0000 (17:56 +0900)]
elm_win: add ELM_WIN_INDICATOR_BG_TRANSPARENT enum to fix build break

Change-Id: Iea6a9562720eec9b9f3ee333272c61ab6c1893ce

6 years agoconfigure.ac: fix app's build break related with Ecore_Wayland.h
Jiyoun Park [Sat, 9 Dec 2017 07:46:03 +0000 (16:46 +0900)]
configure.ac: fix app's build break related with Ecore_Wayland.h

this code should be removed after finding the right way(ex: app change)

Change-Id: Ie8b7893a48f5107efab6df104ddc9bf5498faf48

6 years agoelm: access: handle "gesture_required" attribute
Shinwoo Kim [Fri, 8 Dec 2017 13:40:05 +0000 (19:10 +0530)]
elm: access: handle "gesture_required" attribute
The elementary sends the "detail2" information highlight based on the attribute
"gesture_required" when an object grabs.
If an object has attribute key "gesture_required", and "scroll" for its value,
then the "detail2" is 1. Otherwise, the "detail2" is 0.
The screen-reader AT client calls "ObjectNeedsScrollGesture" method of
e-mod-tizen-screen-reader window manager module with object geometry value,
if the "detail2" is 1. Otherwise, the object geometry value is not used.

The e-mod-tizen-screen-reader window manager module will send mouse event
based on the object geometry.

Application side could use this feature setting attribute as below:
- elm_atspi_accessible_attribute_append(btn, "gesture_required", "scroll");

This patch set depends on: https://review.tizen.org/gerrit/#/c/142108/ (screen-reader)
https://review.tizen.org/gerrit/#/c/142107/ (e-mod-tizen-screen-reader)

Change-Id: Ibdc8d4d93d5d9946c566812b6cd77e48cbbab4c2
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: [atspi]Demote relation object if the object exist
Shinwoo Kim [Fri, 8 Dec 2017 11:47:14 +0000 (17:17 +0530)]
elm: [atspi]Demote relation object if the object exist

@tizen_fix

orignal patch: e57e429c5cf05062d10b11226ab220576322f2fb

Change-Id: I1477280838fd7b0a67588ba89dbc31b9863a1dcd

6 years agoelm: [atspi][elm_popup] Ignore text from elm_object_text_set in accessible_name_get
JunsuChoi [Fri, 8 Dec 2017 10:50:06 +0000 (16:20 +0530)]
elm: [atspi][elm_popup] Ignore text from elm_object_text_set in accessible_name_get

Because of screen-reader need to read title when object have dialog role(popup),
but object_text_get gets the body text. So, if user do not set accessible name
in the popup, elc_popup should return title.

@tizen_fix

orignal patch: b4978c5ba599c4b35bdf60ff40f294bbe556da18

Change-Id: Ifc583d6c4a2c916e0551f2c839904d3fa43a2751

6 years agoelm: [atspi]check if highlighted object's parent hidden
Shinwoo Kim [Fri, 8 Dec 2017 10:37:33 +0000 (16:07 +0530)]
elm: [atspi]check if highlighted object's parent hidden

If an object is content of a layout (parent), and user calls
evas_object_hide for the layout, then the _elm_widget_evas_object_smart_hide
for the object (child) is not called. So it is not possible to know
object's changed state on the AT-client side.

 This patch set will check parents of highlighted object in
_elm_widget_evas_object_smart_hide, and emit state changed
signal if one of parents is equal to the hiding object.

@tizen_fix

orignal patch: afcec90361769e19f6d6dc005aa35daeaa74b8ec

Change-Id: I45d7d71c96e1a2645c93f2d1012067f880d6a99d

6 years agoelm_win: fix app's build break related with precreate object get/set
Jiyoun Park [Fri, 8 Dec 2017 10:20:24 +0000 (19:20 +0900)]
elm_win: fix app's build break related with precreate object get/set

precreate object get/set is API for improving launching performance of 3rd party applications.
// TIZEN_ONLY(20160218): Improve launching performance.
add empty function for app build

Change-Id: I1ca11acfd9a6f829584681b8c5ad145809a43d23

6 years agoelm: access: add "GetReadingMaterial" interface method
Shinwoo Kim [Fri, 8 Dec 2017 10:08:35 +0000 (15:38 +0530)]
elm: access: add "GetReadingMaterial" interface method
The atspi_accessible_get_reading_material of at-spi2-core calls this method to get
reading material to be used screen-reader side.
This is for reducing IPC. It seems that the number of IPC is changed from 30 to 1.

original patch: 55d106bd627819d11800b74b090aca626abd9108

Change-Id: I2ce742626f48343d01447c5e200b2f5b7a3370fc
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: [atspi] do not response if ecore evas is obscured
Shinwoo Kim [Fri, 8 Dec 2017 10:17:39 +0000 (15:47 +0530)]
elm: [atspi] do not response if ecore evas is obscured

The homescreen could launch an application using 1 finger two tap.
If 1 finger tap is fired as soon as application launches,
the accessible_at_point_get works for obscured homescreen.

@tizen_fix

orignal patch: 4ae8e71b4911e81e7943413a71f9a0463a4fac70

Change-Id: Ia9276ef17736d63a6c424e517deb65e8370aaee2

6 years agoelm: [atspi]reduce IPC of object:state-changed:showing
Shinwoo Kim [Fri, 8 Dec 2017 10:09:03 +0000 (15:39 +0530)]
elm: [atspi]reduce IPC of object:state-changed:showing
     Send interested signal only

@tizen_fix

orignal patch: afef94299613fafe9dd46276597873561a929080

Change-Id: I1d6cc39cdaa6b7ef20446bb8118ba19c46dbcdb6

6 years agoefl_ui_win: fix build break by opensource temporarily until migration finish
Jiyoun Park [Fri, 8 Dec 2017 09:21:59 +0000 (18:21 +0900)]
efl_ui_win: fix build break by opensource temporarily until migration finish

return type of elm_win_wl_window_get has been changed.
Ecore_Wl_Window -> Ecore_Wl2_Window
It cause build break. so until fixing all app in tizen, we return Ecore_Wl_Window like before

Change-Id: I005fa8f4878eef36bcd613f41c3e4c2ad6f8074b

6 years agoelm: access: Reduce action related IPC.
Shinwoo Kim [Fri, 8 Dec 2017 08:33:06 +0000 (14:03 +0530)]
elm: access: Reduce action related IPC.
If there are more than 10 actions on an object, then more than 10 IPC occurs for calling
reading information related action such as ReadingStopped
which is called whenever an object has highlight.

Change-Id: I10c540801cfc89ffc08c7a44cc031fff6dc6e646
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoevas text: Replace the replacement character to 0x00A0 which is empty character
Youngbok Shin [Fri, 8 Dec 2017 06:40:04 +0000 (15:40 +0900)]
evas text: Replace the replacement character to 0x00A0 which is empty character

@tizen_feature

Change-Id: I13ddfb89759bceddb81f6fd70bf69a94fd9de0e0

6 years agoevas/edje: Add evas_textblock_cursor_cluster_* internal APIs.
Youngbok Shin [Fri, 8 Dec 2017 06:32:14 +0000 (15:32 +0900)]
evas/edje: Add evas_textblock_cursor_cluster_* internal APIs.

@tizen_feature

Change-Id: Iabe46715e06f7db74ac5a9bcbb9fc07d528af2f1

6 years agoelm: access: atspi: add gesture method to accessible interface Screen reader asks...
Shinwoo Kim [Wed, 6 Dec 2017 13:21:58 +0000 (18:51 +0530)]
elm: access: atspi: add gesture method to accessible interface Screen reader asks application first if application want to consume gesture event.
If application returns FALSE, it means that application does NOT want to consume gesture event.

Change-Id: I8b17cbc15240c570acfd055798c058ddc44aa3f9
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years ago[evas-gl] change dynamic texture's format RGBA/BGRA to ARGB
sunghyun kim [Thu, 7 Dec 2017 01:57:31 +0000 (10:57 +0900)]
[evas-gl] change dynamic texture's format RGBA/BGRA to ARGB

now, dynamic hint set has color format problem.
so changed internal format RGBA/BGRA to ARGB.

Change-Id: I3b333ede46460e693af1672a29ae3c7f3aa268e8

6 years agoevas-gl : fix initialize bug in eng_gl_surface_query()
sunghyun kim [Fri, 23 Sep 2016 05:42:39 +0000 (14:42 +0900)]
evas-gl : fix initialize bug in eng_gl_surface_query()

Change-Id: Ia280d87b16b462db2896cdbe48e1b399415bdf6a

6 years ago[evasgl] change swap mode when rect size not match tile size
sunghyun kim [Fri, 11 Aug 2017 05:16:32 +0000 (14:16 +0900)]
[evasgl] change swap mode when rect size not match tile size

Change-Id: I609a0bab36f0781de0048844516405a53a7990c8

6 years agoelm: atspi: do operation if its object is available Operation
Shinwoo Kim [Thu, 7 Dec 2017 14:12:21 +0000 (19:42 +0530)]
elm: atspi: do operation if its object is available Operation
1. activate An object under the naviframe item is accessible even though new
naviframe item is pushed on it.
In this case, it is possilbe to do action of the object.
So this patch set is checking SHOWING state before doing action.
Operation 2. selection It was possible to (de)select even though its one
of parent freezes events.
It is impossilbe to (de)select using touch event if freeze_events set to
1. So it should work same using atspi interface. TODO: handle non UI action

Change-Id: I7d01183f00ab27b01d7cb71a537ef7a4fc4b01b6
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: access: entry: Support accessibility for entry anchors Rectangles makes entry...
Shinwoo Kim [Thu, 7 Dec 2017 13:44:22 +0000 (19:14 +0530)]
elm: access: entry: Support accessibility for entry anchors Rectangles makes entry anchors
work which are kept in anchor_atspi_rects One entry anchor could wrap over multiple
lines.
In this case the rectangle for the entry anchor exists only on the first line.
Other lines just draw highlight rectangle when the first rectangle has highlight.
The highlight rectangles are kept in anchor_highlight_rects. In the follwing interface,
entry checks the point if it exists inside of anchor wrapping over multiple lines.
Because from the second line of the entry anchor does not have any objects such as
rectangle to work for the following interface.
Efl.Access.Component.accessible_at_point_get;

Change-Id: I27ff9512bde51f0ced4305967a6d3a31d27af945
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoevas: add EVAS_BIDI_DIRECTION_ANY_RTL for evas_object_paragraph_direction_set API
Youngbok Shin [Thu, 7 Dec 2017 13:26:48 +0000 (22:26 +0900)]
evas: add EVAS_BIDI_DIRECTION_ANY_RTL for evas_object_paragraph_direction_set API

The original patch is uploaded to EFL upstream.
Please, check the following link.
https://phab.enlightenment.org/D4663

@tizen_feature

Change-Id: Ia5f6967b7cb769eb743ff57f83a86959e834672c

6 years agoelm: access: Make atspi,(un)highlighted callback work on widget item. The atspi,...
Shinwoo Kim [Thu, 7 Dec 2017 11:06:29 +0000 (16:36 +0530)]
elm: access: Make atspi,(un)highlighted callback work on widget item. The atspi,(un)highlighted callback works only on the widget so far.

Change-Id: Ib89f6dc33a8e1060b279f6757ecbb05bc3699f2e
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years ago[atspi] Use atspi status as smart callback event info
Shinwoo Kim [Thu, 7 Dec 2017 11:22:18 +0000 (16:52 +0530)]
[atspi] Use atspi status as smart callback event info
The elm_win did not use atspi status for SIG_ATSPI_SCREEN_READER_CHANGED smart signal.

Change-Id: Id7ec063d154a08bce727435436f54cbcb3202deb
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoevas text: add "width" which includes advance
Youngbok Shin [Thu, 7 Dec 2017 12:35:05 +0000 (21:35 +0900)]
evas text: add "width" which includes advance

The advance value didn't consider bigger width cases.
It also include the following patch.
Evas text: Remove a whitespcae from the right end of ellipsized RTL text

@tizen_fix

Change-Id: Ie14a286593b7c7c35ba3263c257dfaf89c653c11

6 years agoevas: Apply the last character's advance for width calculation
Youngbok Shin [Thu, 7 Dec 2017 12:26:29 +0000 (21:26 +0900)]
evas: Apply the last character's advance for width calculation

@tizen_fix

Change-Id: Ic158de603bea079885a8454296465b0cba4e285f

6 years agoEvas textblock: Calculate exact width for current item
Youngbok Shin [Thu, 7 Dec 2017 12:10:13 +0000 (21:10 +0900)]
Evas textblock: Calculate exact width for current item

@tizen_fix

Change-Id: I46f3f118cd7eab80ed3d986a221f0cb4d47b3807

6 years agoEvas textblock: Replace the replacement character of Tizen to 0x00A0 from 0xFFFC
Youngbok Shin [Thu, 7 Dec 2017 11:35:52 +0000 (20:35 +0900)]
Evas textblock: Replace the replacement character of Tizen to 0x00A0 from 0xFFFC

To do not show "OBJECT REPLACEMENT CHARACTER",
we are going to use 0x00A0 instead of 0xFFFC.

@tizen_fix

Change-Id: Ifb9381d32a76c0eb2175cda2a1a2c96a8ca882df

6 years agosend h/w device infomation to input events
JengHyun Kang [Thu, 30 Nov 2017 16:12:04 +0000 (01:12 +0900)]
send h/w device infomation to input events

Change-Id: Id512610175246e4caedcf0224dc2f2fede4d2643

6 years agoatspi: add state_notify api
Lukasz Stanislawski [Thu, 7 Dec 2017 10:17:23 +0000 (15:47 +0530)]
atspi: add state_notify api

The purpose of this api is to provide additional way of synchronization
between elementary application and assistive technology client
(screen reader).

The subject of synchronization is accssibility object state which
is required by screen reader implementation to work properly.

Because of nature of efl, visibility changes of efl object state cannot be
effectively evaluated in a moment they occur due to following obstacles:

1. requires tracking of visibility of parent, parent's parent etc.
2. requires tracking of clipper of parent, parent's parent etc.
3. requires tracking of all clippers movement
4. requires tracking of all clippers alpha
5. requires tracking of stacking order 5. requires tracking of object movement.

 Such implementation will have heavy impact on framework.
To cover more cases an additioanl method of synchronization is provided
which can notify assistive technology clients about state of accessible
objects at the moment it is invoked.

This is meant to be elementary internal api.

@tizen_feature

orignal patch : 10aa19137bb1c6168e26f0973aa06caab6942fbf

Change-Id: Icc41b643b72fb2fb0ccd438394f71749de533fa5

6 years agoelm: [index]Added selected state for index item
Prasoon Singh [Thu, 7 Dec 2017 08:22:11 +0000 (13:52 +0530)]
elm: [index]Added selected state for index item

@tizen_feature

orignal patch: f4ce5bba22f058a48a4f8002783b76cfc2bf15cf

Change-Id: I711b0851c10629408f6ba0c58e5490553e3b4025

6 years agoelm_label: add click event for label widget.
Youngbok Shin [Thu, 7 Dec 2017 06:15:38 +0000 (15:15 +0900)]
elm_label: add click event for label widget.

-This patch is for maintaining compatibility
@tizen

Author:     Hosang Kim <hosang12.kim@samsung.com>
AuthorDate: Tue Nov 1 17:32:36 2016 +0900

Change-Id: Idbff6cf97654cac1c663bd0e8883dc7f8998963b

6 years agoelementary: apply slide ALWAYS mode for Edje marquee
Youngbok Shin [Thu, 7 Dec 2017 05:42:41 +0000 (14:42 +0900)]
elementary: apply slide ALWAYS mode for Edje marquee

Dependency warning: It should be applied with the following patch.
https://review.tizen.org/gerrit/162567

@tizen_fix

Change-Id: Ia8bfe1d12e9fd13f87164bf615c54f97de88ec19

6 years agolabel: set duration/speed for text marquee using internal functions
Youngbok Shin [Thu, 7 Dec 2017 05:33:10 +0000 (14:33 +0900)]
label: set duration/speed for text marquee using internal functions

@tizen_feature

Change-Id: I04443e7bafe4e63ae69968f8fa826c7451fbdecf

6 years agoelm: [elm_widget]Fix scroll move when highlight_grab
JunsuChoi [Thu, 7 Dec 2017 08:08:50 +0000 (13:38 +0530)]
elm: [elm_widget]Fix scroll move when highlight_grab
     Fixed to *_focus_region_show because scrollable_*_region_show/bring_in
     logic malfunction when highlight_grab from wearable.

@tizen_fix

orignal patch: f7ad5ee18f5423a77ffaee9d7d50f1cae19d856d

Change-Id: I7c950fd0154ef4fb58b6e970e1105ac1cd411bdf

6 years agoelm: [widget]enhance elm_atspi_accessible_can_highlight_set to set
Prasoon Singh [Thu, 7 Dec 2017 07:47:41 +0000 (13:17 +0530)]
elm: [widget]enhance elm_atspi_accessible_can_highlight_set to set
     can_hihglight property to its children.

@tizen_feature

orignal patch: bd031e932672c57fd990bd85838c5f55fc2a438b

Change-Id: I0be9f102b8e31c195a739a9206bafcc07216e6e6

6 years agoelm: [index] index item accessibility highlight implementation
Prasoon Singh [Thu, 7 Dec 2017 07:29:30 +0000 (12:59 +0530)]
elm: [index] index item accessibility highlight implementation

@tizen_feature

orignal patch: efba44d453990f751ecdf70b1ef7ba4e63273414

Change-Id: I57e080d1a09276af89da662ddba7f696a0456506

6 years ago[evasgl] reduce shader list for performance
sunghyun kim [Thu, 7 Dec 2017 05:09:47 +0000 (14:09 +0900)]
[evasgl] reduce shader list for performance

In most cases, application use a few shaders.
for booting performance, evas need to reduce shader in precompile time.
even if application need new shader, they will be compiled and saved in runtime.
because they will be saved shared file, other appication need not compile shader if it is already compiled by other app

Change-Id: I4df6a8109a97f5a5947ec215cb9426f2e51099f7

6 years ago[evas_gl] Add lock to wait compiling shader
sunghyun kim [Tue, 18 Jul 2017 02:57:49 +0000 (11:57 +0900)]
[evas_gl] Add lock to wait compiling shader

when application compile shader, shader files are created at the end.
so if other proceess try creating shader before shader file is created,
it also try again compile shader.
so add lock to wait compiling shader

Change-Id: Id9da72f226e180cc18fcaaa65d639676ccfe9114

6 years ago[evasgl] Delete checking checksum when copy old shader
sunghyun kim [Thu, 7 Dec 2017 04:46:00 +0000 (13:46 +0900)]
[evasgl] Delete checking checksum when copy old shader

when application use runtime shader, it add runtime shader when application shutdown.
for add runtime shader, they copy old shader file to temp file  and modify,rename this.
but in this case, eet_open & checksum check is failed.
because temp file is empty (it didn't write checksum)
so delete checking checksum when copy old shader to temp file.

and..

if new shader is compiled, it will be saved after shutdown.
because of this, shader is compiled 2~3 times in some case.
so add some code for this problem.
1. close & reopen shader before checking shader file.
2. update shader file when application compile new shader

Change-Id: I3eb966d9f67695cb576db6b955824574251083b6

6 years agoelm: Fix build error by keeping backward compatablility
Shinwoo Kim [Thu, 7 Dec 2017 04:28:40 +0000 (13:28 +0900)]
elm: Fix build error by keeping backward compatablility

Application should define EFL_BETA_API_SUPPORT to use Efl_Event_Description.
So this patch set does use "legacy: null" for thoes APIs.
And it seems that eolian has problem to generate enum variable for eo.legacy.h.
Please refer to following ticket for more detailed information.

https://phab.enlightenment.org/T6486

@tizen_fix

Change-Id: Ie48f83fb73bfb146a9147db63078ce8cafbaa638

6 years agolabel: Add elm_label_text_style_user_push, pop, peek APIs for internal usages
Youngbok Shin [Thu, 7 Dec 2017 04:42:26 +0000 (13:42 +0900)]
label: Add elm_label_text_style_user_push, pop, peek APIs for internal usages

It is internal APIs only for C#.

@tizen_feature

Change-Id: I278ca71f96bab309e5c6992f153eec4eac5cdb8d

6 years agolabel: don't make ellipsis/slide label as expandable
Youngbok Shin [Thu, 7 Dec 2017 04:36:13 +0000 (13:36 +0900)]
label: don't make ellipsis/slide label as expandable

@tizen_fix

Change-Id: I29402f4a395826f1b24ad4cf7ed88a265174db2b

6 years agolabel: fix to get proper minimum size from legacy label theme
Youngbok Shin [Thu, 7 Dec 2017 04:33:11 +0000 (13:33 +0900)]
label: fix to get proper minimum size from legacy label theme

It needs part_text_min_policy property functions from Edje.

@tizen_fix

Change-Id: Iecb0285a08557fafef6047e6c01d802c7e2cfb0a

6 years agolabel: wrap width will work as min and max width
Youngbok Shin [Thu, 7 Dec 2017 04:30:08 +0000 (13:30 +0900)]
label: wrap width will work as min and max width

The given width from elm_label_wrap_width_set() will work
as min and max width for the given label object.

@tizen_fix

Change-Id: Ifb7a15e472afdab7976939b109d6a4e9965213ef

6 years agoedje: edje: add text marquee always set/get APIs for internal usages
Youngbok Shin [Wed, 6 Dec 2017 08:24:09 +0000 (17:24 +0900)]
edje: edje: add text marquee always set/get APIs for internal usages

@tizen_feature

Change-Id: I470046446572d3962a6648eca6b905de48ab8ce6

6 years agoelm: main: Handle exception calling elm_shutdown without elm_exit.
Shinwoo Kim [Wed, 6 Dec 2017 13:47:00 +0000 (19:17 +0530)]
elm: main: Handle exception calling elm_shutdown without elm_exit.
elm_shutdown could be called without elm_exit.
In this case, the dbus connection created in elm_run is not disconnected.
Then eldbus complains with CRItical log message.

Change-Id: I0419c55c085e52f97760fbca2d25fef990d9577c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years ago[evas_gl] EvasGL : Disable Partial Rendering On EvasGL
Joogab Yun [Thu, 29 Dec 2016 07:16:38 +0000 (16:16 +0900)]
[evas_gl] EvasGL : Disable Partial Rendering On EvasGL
          - webkit app -> scroll repeat -> sometimes display blink
          - browser -> long press on web page -> Magnifer UI -> move ->
display empty

@tizen_fix : bug fix

Change-Id: I78b6d80948c532382861c358e89e27468d582537

6 years agoevas/software_generic: Round up merged rect to tile size
Joogab Yun [Thu, 23 Feb 2017 03:53:33 +0000 (12:53 +0900)]
evas/software_generic: Round up merged rect to tile size

Summary:
For some drivers, there is a limitation for partial rects that only
multiples of tile size width/height are allowed.
Currently, rects are merged based on the current rotation, so when
the rects are calculated based on 0 rotation it does not meet the above
requirement.
Add a rect rounding up routine after _merge_rects such that the rect
is rounded up to tile size based on 0 rotation.

@tizen_fix : bug fix

Change-Id: I0ac0208e383332158dc7c3fa9fa5012e37bcf797

6 years agoelm: popup: access: expose part-text as at-spi object Create an access object for...
JunsuChoi [Wed, 6 Dec 2017 07:58:13 +0000 (13:28 +0530)]
elm: popup: access: expose part-text as at-spi object Create an access object for the popup's elm.text. by default.
Because Application user can not access the edje object in elm.text. Therefore, they can not create an access object for elm.text part.

Change-Id: I4fb1f623d40e2b22d3466c0d750d05ad38ed0622
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: atspi_bridge: Not handle events if keyboard is on The keyboard is using ecore_ev...
Shinwoo Kim [Wed, 6 Dec 2017 06:56:24 +0000 (12:26 +0530)]
elm: atspi_bridge: Not handle events if keyboard is on The keyboard is using ecore_event_filter, so it is not possilbe to get events on activated application side.
So this commit ignores events if keyboard is on.

Change-Id: I5a3d15143cd20262308ea15b38f23c8cad386929
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: atspi: On Highlight_grab read should happen
Shilpa Singh [Tue, 5 Dec 2017 14:38:47 +0000 (20:08 +0530)]
elm: atspi: On Highlight_grab read should happen

Change-Id: I4406f666ade21696b22c4a1edf52a7349ca2fa1f
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: [elm_gengird] Highlighted obj is eo obj, so make it again view obj
Prasoon Singh [Tue, 5 Dec 2017 14:12:37 +0000 (19:42 +0530)]
elm: [elm_gengird] Highlighted obj is eo obj, so make it again view obj
     before checking its class and parent

@tizen_fix

orignal patch:5bedb228550eeb7d0294acfe4531b38f6612a324

Change-Id: I5ab4f8d6a4e18fa7e9e90bfe1d66fdf2f00749fb

6 years agoelm: atspi: naviframe: Set/Get accessible information using VIEW(item) object
Shinwoo Kim [Tue, 5 Dec 2017 14:27:47 +0000 (19:57 +0530)]
elm: atspi: naviframe: Set/Get accessible information using VIEW(item) object

Change-Id: If5fdc8e873f385001262b668c07f383358d76389
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: [elm_list] Changed highlighted object to eo_obj.
Prasoon Singh [Tue, 5 Dec 2017 14:08:09 +0000 (19:38 +0530)]
elm: [elm_list] Changed highlighted object to eo_obj.

@tizen_fix

orignal patch: 08848c00ba3695959d64c521fc5e71401f8d6b77

Change-Id: I227caf135cb96b8d18f6827447979fd0106c6125

6 years agoelm: access: naviframe: add API elm_object_part_access_object_get
Shinwoo Kim [Tue, 5 Dec 2017 13:53:35 +0000 (19:23 +0530)]
elm: access: naviframe: add API elm_object_part_access_object_get

Change-Id: I585bf7a58fab7311c27f223b6a178e122485a2fb
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: fix build error
Shinwoo Kim [Tue, 5 Dec 2017 12:17:58 +0000 (21:17 +0900)]
elm: fix build error

Build error:
/usr/include/elementary-1/elm_atspi_bridge.eo.h:42:20:
 error: 'Efl_Event_Description' does not name a type

The Efl_Event_Description is defined in efl_object.eo.h which is included only
if EFL_BETA_API_SUPPORT is defined in Eo.h. So the elm_atspi_bridge.eo.h should
be included only after EFL_BETA_API_SUPPORT is defined.

Eo_Event_Description was defined in Eo.h. So there was no build error so far.

Change-Id: Iec6e6259a6b5e0b192837022ced23cb2bb3bcdb9

6 years agoelm: [elm_toolbar] enhance accessibility scroll and highlight on toolbar items
Prasoon Singh [Tue, 5 Dec 2017 13:26:40 +0000 (18:56 +0530)]
elm: [elm_toolbar] enhance accessibility scroll and highlight on toolbar items

@tizen_feature

orignal patch: a3bfadd63480fd12cd121f1a5f1cdbf625324e2e

Change-Id: Ic54c0be5523d0856cb1c6dbfc276a92cccbee396

6 years agoelm: [atspi] make atspi proxy work for more than two sockets created in one process
Shinwoo Kim [Tue, 5 Dec 2017 13:22:33 +0000 (18:52 +0530)]
elm: [atspi] make atspi proxy work for more than two sockets created in one process

Change-Id: I953f3054614fc86ddb1d3c8cefedf4f1044a361c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: access: add widget/widget_item accessible_description_set/get Because the transl...
Shinwoo Kim [Tue, 5 Dec 2017 10:32:19 +0000 (16:02 +0530)]
elm: access: add widget/widget_item accessible_description_set/get Because the translatable domain exits in widget/widget_item data, it does not work with base interface description_set/get.
http://suprem.sec.samsung.net/jira/browse/TSAM-9930

Change-Id: I9df6d65a062753d0e141cfd02fe69e7f5247df36
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: access: On Highlight_grab read should happen.
Shilpa Singh [Tue, 5 Dec 2017 09:13:34 +0000 (14:43 +0530)]
elm: access: On Highlight_grab read should happen.

Change-Id: I155488c836f4fdf28e86e25bbeb408f1845950a5

6 years agoelm: [ATSPI][Highlight_grab]: When flicked left/right, scroll and show content.
Shilpa Singh [Tue, 5 Dec 2017 08:40:32 +0000 (14:10 +0530)]
elm: [ATSPI][Highlight_grab]: When flicked left/right, scroll and show content.

Change-Id: I7ca53bca33c63396808cf809fa71376ba00b23b3

6 years agoecore_wayland: turn off wayland warning message until finishing migration job
Jiyoun Park [Tue, 5 Dec 2017 07:31:29 +0000 (16:31 +0900)]
ecore_wayland: turn off wayland warning message until finishing migration job

Change-Id: Ia10f6154ed448d9b92d0c8ea4280d1c9548bb9e2

6 years agoelm: [atspi] add smart signal 'atspi,screen,reader,changed'
Shinwoo Kim [Tue, 5 Dec 2017 07:00:48 +0000 (12:30 +0530)]
elm: [atspi] add smart signal 'atspi,screen,reader,changed'

Change-Id: Ie4c08ad323a5087ef4b24dd3e0b9a14a4ebfcf1b
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: [access] Export elm_atspi_bridge_utils_is_screen_reader_enabled
Shinwoo Kim [Tue, 5 Dec 2017 06:45:39 +0000 (12:15 +0530)]
elm: [access] Export elm_atspi_bridge_utils_is_screen_reader_enabled

Change-Id: I6a70145695ca59aba2fa12bdac913301c39afa91
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: [Access][Highlight_grab]: Improvise, highlight grab cases.
Shilpa Singh [Tue, 5 Dec 2017 06:35:52 +0000 (12:05 +0530)]
elm: [Access][Highlight_grab]: Improvise, highlight grab cases.

Change-Id: I355f344f84b1eac6e2535553fb6c8217bf5bf158

6 years agoelm: access: Use visible data changed signal, and add a extent get interface func.
Shilpa Singh [Tue, 5 Dec 2017 06:25:06 +0000 (11:55 +0530)]
elm: access: Use visible data changed signal, and add a extent get interface func.

Change-Id: I85adb6e3739866cf63075f671caf7a879570ed7a

6 years agoelm: [ATSPI]: 1. As ATSPI mode is always on, check for bridge connect as well
Shilpa Singh [Mon, 4 Dec 2017 14:41:47 +0000 (20:11 +0530)]
elm: [ATSPI]: 1. As ATSPI mode is always on, check for bridge connect as well
2. Use common _elm_atspi_enabled func instead of internal func

Change-Id: Idd3d90aa31181ef5a5f65e4c0c1e0855d8e5cbf7

6 years agoelm: [index]Do not give highlightable state if index style is pagecontrol
Prasoon Singh [Mon, 4 Dec 2017 13:58:46 +0000 (19:28 +0530)]
elm: [index]Do not give highlightable state if index style is pagecontrol

@tizen_fix

orignal patch: dd227fe25f621eb5d1fd61419e2b56601586f65b

Change-Id: Id60ea21cf38a725bd7dd0bc34f5260bf15a28280

6 years ago[ATSPI]: When scroll happens due to flick, drag, inform screen-reader to do the reading.
Shilpa Singh [Mon, 4 Dec 2017 13:58:05 +0000 (19:28 +0530)]
[ATSPI]: When scroll happens due to flick, drag, inform screen-reader to do the reading.

Change-Id: I8eb6f2b06fdcf34b81eb889bee904aafb09ad044