platform/upstream/efl.git
6 years agoatspi: use detail value of window activated signal
Shinwoo Kim [Wed, 20 Dec 2017 08:49:38 +0000 (14:19 +0530)]
atspi: use detail value of window activated signal

The detail value of window activated signal is using for following cases

(1) support "default_label" attribute of window
(2) notify existing keyboard window.
The keyboard window would exist always, once it shows.
So if screen-reader turns off, and turn on again, there was no ATSPI signal.
We are using 'activate' signal for this case to get the reference of
keyboard window. And we are using detail value to reduce a call of IPC.
orig: ba47f6bba8065c4ae1f4fd20e8d60ff1487be2b1

Change-Id: I36c5b96868233bdf7a162f4a1d23057ed9b2a05f
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: access: emit signal after atspi bridge is connected
Shinwoo Kim [Wed, 20 Dec 2017 07:58:38 +0000 (13:28 +0530)]
elm: access: emit signal after atspi bridge is connected

This patch set emitting popup SHOWING signal, and window ACTIVE signal after
the atspi bridge is connectted.

The SHOWING signal of popup does not work properly, if the popup shows before
the atspi bridge is not connected. In this case, the screen-reader cannot read
popup information. So the SHOWING signal should be emitted after the connection
is established.

The ACTIVE signal does not work properly in the following case.
There are two windows show in one process at the same time. In this case,
the ACTIVE signal was not emitted because window_activated_broadcast_needed is
set to EINA_FALSE. This would be a bug.

orig: fe8b20fac57caa39c0f801d3819e688f391c1831

Change-Id: I7e88b20c1d31ecc41410d8d81159654ce637e133
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoatspi: handle atspi proxy connection at runtime
Shinwoo Kim [Tue, 12 Dec 2017 14:55:40 +0000 (20:25 +0530)]
atspi: handle atspi proxy connection at runtime

The following cases make atspi proxy work incorrectly.

[case 1]
1. screen reader on, then a11y order would be
   A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)
2. make A2 grab highlight
3. go previous, then A1 grabs highlight.
   but expected result is that the B2 grabs highlight

[case 2]
1. screen reader on, then a11y order would be
   A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)
2. make A1 grab highlight
3. go next, then B1 grabs highlight.
   This means that the proxy connection is made properly.
4. screen reader off
5. screen reader on, then a11y order is
   A1(embedding, deputy) -  A2(embedding)
   but the following is expected result as step 1
   A1(embedding, deputy) - B1(embedded) - B2(embedded) - A2(embedding)

So far the pory connects if elm_interface_atspi_children_get is called.
So there is no chance to make connection for the [case 1].

When atspi is disabled, then all atspi related interface is closed.
But the proxy related resources are not removed.
If atspi is enabled again, then newly created interface is used on new BUS.
And the proxy related resources are reused.
So the [case 2]  happens.

This patch set depends on screen-connector to use "widget,create" signal to
connect proxy on elementary side. This should be removed, and we have to
provide proper API to be used on screen-connector side to connect proxy.

orig: 4b26fedd8b3366ac3e5bc89e8e09a5e668616dfd

Change-Id: I4f3a68c9eca271c9ba3b38bff9be3df1794f27e5
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoRevert "elm: access: add widget/widget_item accessible_description_set/get Because...
shilpa singh [Tue, 19 Dec 2017 08:47:16 +0000 (08:47 +0000)]
Revert "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. suprem.sec.samsung.net/jira/browse/TSAM-9930"

This reverts commit 317dcdfe6c75f4a74a92e90e3f6811fa3fed717c.

(This patch is not required as efl_access_description_set/get should be enough)

Change-Id: Ib55f6ea4074a0cd1f9ef230cf4ccb412fc45befd

6 years agoelm: access: fix - socket proxy should be created before bridge is connected
Shinwoo Kim [Mon, 18 Dec 2017 14:40:59 +0000 (20:10 +0530)]
elm: access: fix - socket proxy should be created before bridge is connected

Change-Id: Ia41b77c2d747bc4b332882ee6e7155b63946688c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoevas_engine: add to free evas engine resource
Wonsik, Jung [Mon, 18 Dec 2017 12:28:05 +0000 (21:28 +0900)]
evas_engine: add to free evas engine resource

Add to free evas engine resourece before free evas and initialize ecore_evas's driver

@tizen_only
Change-Id: Ic097f3145f6530d7b8ddf960eca6ba52b265d065

6 years agoelm: access: find valid child of list item
Shinwoo Kim [Tue, 12 Dec 2017 15:15:18 +0000 (20:45 +0530)]
elm: access: find valid child of list item

This patch set is solving following case.
If genlist item uses evas_object_image_source_set to show item itself, then
evas_tree_objects_at_xy_get does not return below objects of image source.
So content objects of genlist item could not become cadicdates for
elm_interface_atspi_component_accessible_at_point_get.

@tizen_fix

Change-Id: I2fd47b5fb231a7bed6f7b499683040428e370a52
orig: 4c82b324e48cd19f94f64cfadd945efc0d88dd2f
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm_colorselector : set selected status directly in selected_set function 13/165213/1
Jeonghyun Yun [Wed, 27 Dec 2017 06:03:47 +0000 (15:03 +0900)]
elm_colorselector : set selected status directly in selected_set function

@tizen_fix

Change-Id: I79bdea8bfdcf4f57e2a49dea711e4ce6a106857c
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector : support marking change when color set on ELM_COLORSELECTOR_PALETT... 12/165212/1
Jeonghyun Yun [Wed, 27 Dec 2017 06:02:16 +0000 (15:02 +0900)]
elm_colorselector : support marking change when color set on ELM_COLORSELECTOR_PALETTE mode only

@tizen_fix

Change-Id: I90e16ca018b5c5c35c8767b454e5881835f11a8c
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector: changed item selection procedure to handle by _on_color_selected() 11/165211/1
Jeonghyun Yun [Wed, 27 Dec 2017 05:59:57 +0000 (14:59 +0900)]
elm_colorselector: changed item selection procedure to handle by _on_color_selected()

Deleted duplicate item selection procedure code
in _elm_color_item_selected_set() and _item_action_activate()

@tizen_fix

Change-Id: I9da15be0d6615e1c9c3e11a21d6517b52fc1b4b2
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector: add callback for elm,state,selected for backward 10/165210/1
Jeonghyun Yun [Wed, 27 Dec 2017 05:56:16 +0000 (14:56 +0900)]
elm_colorselector: add callback for elm,state,selected for backward

@tizen_fix

Change-Id: I9a93dd38cc1c3a97d8c32b74a17fb5853dad4009
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector: Fix palette align issue 99/165199/3
Jeonghyun Yun [Wed, 27 Dec 2017 05:30:37 +0000 (14:30 +0900)]
elm_colorselector: Fix palette align issue

@tizen_fix

Change-Id: I8e7a3761f5bd181a976823e7e02992ff237ebfec
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_colorselector: change default mode to enhance performance. 95/165195/2
Jeonghyun Yun [Wed, 27 Dec 2017 05:24:26 +0000 (14:24 +0900)]
elm_colorselector: change default mode to enhance performance.

This commit change default mode to ELM_COLORSELECTOR_PALETTE
to prevent running unnecessary logics in elm_colorselector_mode_set.

@tizen_fix

Change-Id: Ic34cd182724afc2bfbb6d468c718c3df57391a76
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years ago ecore_evas_wayland_common: set default size of surfaces temporaily.
Jiyoun Park [Wed, 27 Dec 2017 05:00:49 +0000 (14:00 +0900)]
   ecore_evas_wayland_common: set default size of surfaces temporaily.

   below opensource commit remove set default size of surface.
   but it cause problem in tizen, so we add tizen only code until fix the problem.

   commit 93bac8ce4a88064c430d55b34fa80bd914f2c2f9
   Author: Mike Blumenkrantz <zmike@osg.samsung.com>
   Date:   Fri Jul 21 16:17:55 2017 -0400

   wayland: stop creating 1x1 surfaces on init

   fix T5226

   #IGot99TicketsBut1x1AintOne

Change-Id: I7e9bfe2d7ce446feedd6a5149390193d78bc3e65

6 years ago[ecore_evas] Fix TC fail issue with evas_gl
jiin.moon [Tue, 29 Mar 2016 06:09:59 +0000 (15:09 +0900)]
[ecore_evas] Fix TC fail issue with evas_gl

Change the priority of the wayland
@tizen_fix

Change-Id: Ie047e7c11b1371fa81d4e48f4238e8db2af12b73

6 years agoecore_imf: Add documentation in prediction hint hash APIs
Jihoon Kim [Tue, 19 Dec 2017 10:46:11 +0000 (19:46 +0900)]
ecore_imf: Add documentation in prediction hint hash APIs

Change-Id: I3f97a9fa458c5933fe7b8a52a502296622a335e4
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoecore_imf: Add prediction hint hash APIs
Jihoon Kim [Fri, 15 Sep 2017 07:18:15 +0000 (16:18 +0900)]
ecore_imf: Add prediction hint hash APIs

Change-Id: Id012fd172d3b15bfa3e9ea10c22216db10ba23b5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoecore_imf: Add autofill hints in input hint
Jihoon Kim [Fri, 15 Sep 2017 06:51:59 +0000 (15:51 +0900)]
ecore_imf: Add autofill hints in input hint

Change-Id: I4e51adf179afa69a077de8ecabf7fa763c03f871
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years ago rebase_build: fix error related with file rename elm_bg 98/165098/2
Jiyoun Park [Tue, 26 Dec 2017 06:43:03 +0000 (15:43 +0900)]
   rebase_build: fix error related with file rename elm_bg

   Change-Id: Ieac3fb49b5d026ea0eb1908510d230e38f40db3a

Change-Id: Ia57d83478f57d8077e8b39df2c19caa70f4255fe

6 years agoefl_access: Remove beta tag to generate legacy functions
Wonki Kim [Tue, 26 Dec 2017 08:04:48 +0000 (17:04 +0900)]
efl_access: Remove beta tag to generate legacy functions

temp patch for migration

Change-Id: I82e6bb78718fbf97fa19604d9dd3901e56e481d2
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm_panel: show and hide necessary object when scrollable is set 91/165091/1
Jeonghyun Yun [Tue, 26 Dec 2017 05:33:02 +0000 (14:33 +0900)]
elm_panel: show and hide necessary object when scrollable is set

@tizen_fix

Change-Id: Iab4abee7352af2dd59e5833c0d86bceb19b90376
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelm_panel: scrollable panel content size ratio refactoring (for 2.4 UX) 88/165088/2
Jeonghyun Yun [Tue, 26 Dec 2017 05:22:53 +0000 (14:22 +0900)]
elm_panel: scrollable panel content size ratio refactoring (for 2.4 UX)

@tizen_feature

Change-Id: I9acedea6a41e6948e75b1c8d9c46fa4577d39774
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agospec: Add definitions for new compiled files
Wonki Kim [Tue, 26 Dec 2017 04:37:04 +0000 (13:37 +0900)]
spec: Add definitions for new compiled files

As a rusult of rebase onto upstream/master,
We have to handle new compiled files.
This commit is for that.

Change-Id: I69862df7ecc26c03ba876a9511a9350c12b299fa
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm_photocam : create 1x1 grid default 80/165080/1
Jeonghyun Yun [Tue, 26 Dec 2017 01:38:57 +0000 (10:38 +0900)]
elm_photocam : create 1x1 grid default

@tizen_feature

Change-Id: I06c78081b2af50c1d7cf523c461813a3641b9b9e
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years ago edje: rename Edje.Object to Efl.Canvas.Layout
Jiyoun Park [Sat, 23 Dec 2017 10:21:54 +0000 (19:21 +0900)]
   edje: rename Edje.Object to Efl.Canvas.Layout

6 years ago rebase_build: fix build error related with tizen only code
Jiyoun Park [Sat, 23 Dec 2017 09:38:18 +0000 (18:38 +0900)]
   rebase_build: fix build error related with tizen only code

   opensource changed some sturcture and rename object.
   so we changed tizen only code based on open source.

6 years ago rebase_build: fix build error related with EDJE_OBJECT_CLASS
Jiyoun Park [Sat, 23 Dec 2017 06:21:38 +0000 (15:21 +0900)]
   rebase_build: fix build error related with EDJE_OBJECT_CLASS

   gengrid, genlist, list use  the info EDJE_OBJECT_CLASS
   but because of opensource change, Tizen only code need to change the code.

6 years ago rebase_build: elm_atspi_proxy need the info of elm_ctxpopup_item
Jiyoun Park [Sat, 23 Dec 2017 05:34:07 +0000 (14:34 +0900)]
   rebase_build: elm_atspi_proxy need the info of elm_ctxpopup_item

   because below patch, this code need to be added.

    elm: atspi - make atspi_proxy work

    1. atspi: make possible to merge two atspi subtrees from different processes.
      - commit 15b749312eb34f5c47ca28d5ba05cb854c766046
      - Author: Lukasz Stanislawski <l.stanislaws@samsung.com>
      - Date:   Wed May 6 14:21:31 2015 +0200

    2. [atspi] enable atspi_proxy to work
      - commit ffb22851f98d229f72318dba2318e86750c269a0
      - Author: Shinwoo Kim <cinoo.kim@samsung.com>
      - Date:   Tue Jul 5 09:22:42 2016 +0900

    ID_change-Id: If37d92344d404442d53445d9f73e604332250a0e

6 years ago rebase_build: fix build error related with tizen_only code
Jiyoun Park [Sat, 23 Dec 2017 04:45:56 +0000 (13:45 +0900)]
   rebase_build: fix build error related with tizen_only code

   opensource change the code, so change tizen only code based on opensource.

6 years ago rebase_build: fix ecore_handler error and window geometry
Jiyoun Park [Fri, 22 Dec 2017 07:05:28 +0000 (16:05 +0900)]
   rebase_build: fix ecore_handler error and window geometry

   this patch is really hotfix. we should solve window size issue based on opensource.

6 years ago rebase_build: fix build error [evas_gl_thread] Implement evas gl thread
Jiyoun Park [Fri, 22 Dec 2017 05:25:02 +0000 (14:25 +0900)]
   rebase_build: fix build error [evas_gl_thread] Implement evas gl thread

6 years agorebase_build: fix build error <ecore: stabilize wayland event handling in multithread>
Jiyoun Park [Fri, 22 Dec 2017 04:15:35 +0000 (13:15 +0900)]
rebase_build: fix build error <ecore: stabilize wayland event handling in multithread>

6 years agorebase_build: fix rebase merge problem
Jiyoun Park [Fri, 22 Dec 2017 03:25:36 +0000 (12:25 +0900)]
rebase_build: fix rebase merge problem

6 years ago edje: Import missing eo descriptions for ellipsize feature
Jiyoun Park [Thu, 21 Dec 2017 14:19:45 +0000 (23:19 +0900)]
edje: Import missing eo descriptions for ellipsize feature
    by Younbok Shin <youngb.shin@samsung.com>

    @tizen_fix

6 years agoecore_wl2: add ecore_wl2_window_find API
Jiyoun Park [Sat, 16 Dec 2017 01:48:29 +0000 (10:48 +0900)]
ecore_wl2: add ecore_wl2_window_find API

opensource didn't implement this API.
we need to check the reason why opensource remove this api.

Change-Id: I8e1d8e942bb273791f52382e9e7a13daf601d7f8

6 years agoevas_legach.h: add heder define for migration job
Jiyoun Park [Fri, 15 Dec 2017 05:03:31 +0000 (14:03 +0900)]
evas_legach.h: add heder define for migration job

crosswalk-tizen app include Evas_Legacy.h directly.
after changing the app, we will revert this commit.

Change-Id: I7168dd7e8aefc998c8dc5c92ae0bcaa72fbee44b

6 years agoefl_ui_win: remove the disable frame feature code.
Jiyoun Park [Thu, 14 Dec 2017 23:47:27 +0000 (08:47 +0900)]
efl_ui_win: remove the disable frame feature code.

if app want to turn on win_no_border config,
we should modify only code related with border in new efl_ui_win.

Change-Id: I399944d5d14936f47682611a1e1c0e475f65cf61

6 years agoecore-input: fix reference to EORE_EVENT_DEVICE_XXX for migration job
Jiyoun Park [Thu, 14 Dec 2017 23:34:17 +0000 (08:34 +0900)]
ecore-input: fix reference to EORE_EVENT_DEVICE_XXX for migration job

Change-Id: I7a014ace361624afc214a4e37755b8ba33ddbea1

6 years agolibunibreak: Fix for Hangul word wrap
Youngbok Shin [Thu, 14 Dec 2017 12:39:30 +0000 (21:39 +0900)]
libunibreak: Fix for Hangul word wrap

Word wrap is not supported for Hangul characters.
To make it work for Hangul, use english alphabet tables instead of Hangul.

@tizen_fix

Change-Id: I1059f63eadd526540c468af3f3c70b9788f74133

6 years agoedje: add a missing keyword to edje_cc_handler for ellipsize
Youngbok Shin [Thu, 14 Dec 2017 08:59:00 +0000 (17:59 +0900)]
edje: add a missing keyword to edje_cc_handler for ellipsize

@tizen_fix

Change-Id: I7633d178f2cd2522a632e037c637e8d642e1ed31

6 years agoeina_list: use old EINA_LIST_FOREACH to fix c++ casting warning.
Jiyoun Park [Thu, 14 Dec 2017 07:26:32 +0000 (16:26 +0900)]
eina_list: use old EINA_LIST_FOREACH to fix c++ casting warning.

dali_adaptor and chromium-efl turn on werror option related with type casting.
after adding the code to deal with cplusplus in eina, we will use new eina foreach define

Change-Id: I54286aa278684ac7050d835c1ba55dd79c2fcb3d

6 years agoevas_gl: remove GL_VERSION wrapping
Daekwang Ryu [Wed, 13 Dec 2017 14:14:22 +0000 (23:14 +0900)]
evas_gl: remove GL_VERSION wrapping

Remove GL_SHADING_LANGUAGE_VERSION because tizen support GLES 3.x.

Change-Id: I60f5d58b39b22dde6a6e3fb4b6502cbdf81415ba

6 years agoevas_gl: remove hack code in evgl_api_gles3_get()
Daekwang Ryu [Wed, 13 Dec 2017 13:55:28 +0000 (22:55 +0900)]
evas_gl: remove hack code in evgl_api_gles3_get()

Change-Id: I96bb71fceea5126694a67417caef8b4f50ca0a34

6 years agoelm_win: undeprecate elm_win_type_set for tizen.
Jiyoun Park [Thu, 14 Dec 2017 06:36:00 +0000 (15:36 +0900)]
elm_win: undeprecate elm_win_type_set for tizen.

tizen need to change win type after window creation.

Change-Id: I7053f6313be785f12bf7c698bf64880f5e0ed58a

6 years agoelm_win_input_rect_set/add/subtract added
Jiyoun Park [Thu, 14 Dec 2017 05:35:22 +0000 (14:35 +0900)]
elm_win_input_rect_set/add/subtract added

Before_Change-Id: I0ff5ae24eb30b3d824da7fd020db96fe41eac6cc
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
Change-Id: Iaf9b0ca33f1bdde5d4a42f78fdcaa3ebb307a3d7

6 years agoremove ecore_imf module since isf provide it
Jongmin Lee [Thu, 14 Dec 2017 03:17:01 +0000 (12:17 +0900)]
remove ecore_imf module since isf provide it

Change-Id: I159e25e3086c0782bcd018ad4a04a19aee65d0be

6 years agoedje_cc: add nine-patch feature
Jeonghyun Yun [Thu, 14 Dec 2017 02:35:56 +0000 (11:35 +0900)]
edje_cc: add nine-patch feature

@tizen_feature

Change-Id: Ie56ee6f82b1e6a33e23bf3c641cfa76c1a90d272
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoEvasGL: Fix the bug as EvasGL can not find the config
Wonsik, Jung [Thu, 14 Dec 2017 02:28:24 +0000 (11:28 +0900)]
EvasGL: Fix the bug as EvasGL can not find the config

Fix the bug of reset config value by native window config
@TIZEN_ONLY

Change-Id: Ie3518fcbc9480f03288b57bd427b05b550bcf380

6 years agoAdd ecore cplusplus extern define
Jeonghyun Yun [Thu, 14 Dec 2017 01:45:00 +0000 (10:45 +0900)]
Add ecore cplusplus extern define

Change-Id: I98738db07f015896f753afb5f9fa083c4d7cec37
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoeina_list: fix old-style-cast warning
Jiyoun Park [Wed, 13 Dec 2017 23:21:57 +0000 (08:21 +0900)]
eina_list: fix old-style-cast warning

opensource changed EINA_LIST_FOREACH to use the c type casting.
it cause old-style-cast warning in c++.

Change-Id: I4411929d56a7fcbcf85b2109266079d211875426

6 years agoelm:[elm_hoversel] Added hover object in children list
Prasoon Singh [Wed, 13 Dec 2017 11:13:13 +0000 (16:43 +0530)]
elm:[elm_hoversel] Added hover object in children list

@tizen_fix

orignal patch:4ac1a2892f0024759b231a4aa286a4428ae24bb0

Change-Id: I83ddc41e26d05c6c6fe7bb32a8dc025794328721

6 years agoatspi: fix infinite loop issue
Shinwoo Kim [Wed, 13 Dec 2017 09:13:16 +0000 (14:43 +0530)]
atspi: fix infinite loop issue

It is possilbe to get a target object as a return value of
get_object_at_point. In this case _elm_widget_elm_interface_atspi_component_accessible_at_point_get
works again with the target which is same with root object.

[Enhanced]
- We do not have to go parent if the bottom up logic meets root object.
- Visiblity of panel is always true. So we are checking its SHOWING state.
  If the panel is not SHOWING, remove it from valid children list.

orignal patch: 680532bd4dff4ca12f9ec0958fcb65ac67a89256

@tizen_fix

Change-Id: I9b18a6fda915f4958c3b965454c6bb2ba9663fa6

6 years agoAdd backwards compatability implementation for elm_scale_get and elm_scale_set
Jeonghyun Yun [Wed, 13 Dec 2017 10:07:24 +0000 (19:07 +0900)]
Add backwards compatability implementation for elm_scale_get and elm_scale_set
to allow running unmodified Tizen applications on a new drop of elementary

@tizen_feature

Change-Id: I473d9928b8d6810d7ebca7be5ccb0df09894de5e
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoRevert "evas_gl: fix evas_gl_current_context_get()"
Daekwang Ryu [Wed, 13 Dec 2017 07:59:26 +0000 (16:59 +0900)]
Revert "evas_gl: fix evas_gl_current_context_get()"

This reverts commit 7769755062b2b814f8390b60a9f39caaea150878.

Change-Id: I5ff8159c0a84d4c5b5444856becb4705eded3b5e

6 years agoelm: [atspi] remove unacceptable leaf node
JunsuChoi [Wed, 13 Dec 2017 09:26:24 +0000 (14:56 +0530)]
elm: [atspi] remove unacceptable leaf node

An object could have children which have same position. In this case, if
first child of this object is not acceptable leaf node, then there is no chance
to find second child object.

orignal patch: d834889ee1f1dfed962c9b92201412b32ce280d8

@tizen_fix

Change-Id: I663a5c980ddb4598ab2beeb0ee5f847c1b46ee49

6 years agoatspi : During the highlight grab, out signal is not sent.
JunsuChoi [Wed, 13 Dec 2017 09:14:40 +0000 (14:44 +0530)]
atspi : During the highlight grab, out signal is not sent.
There is an action that takes time to complete the highlight grab,
such as scroll bring in.
So the highlight box can be outside the screen.
After the highlight grab process is completed,
will check the highlight box status.

Change-Id: Ib114183209239f099ec7c1d081291f8953285562
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm: [atspi]enhance _accessible_at_point_top_down_get
Shinwoo Kim [Wed, 13 Dec 2017 09:06:44 +0000 (14:36 +0530)]
elm: [atspi]enhance _accessible_at_point_top_down_get

If there is only one valid child at point, then return it.
The evas_tree_objects_at_xy_get could not find proper object,
if application does not have well aligned objects.

This could be a role of application, but this patch set could solve somehow.

@tizen_fix

orignal patch: b81db08d75d968f005810a892039e944dd517b0c

Change-Id: I53f4077c8b5b89ce906147633034ada9652e45e0

6 years agoelm: [ATSPI] Add to find genlist item using proxy image
JunsuChoi [Wed, 13 Dec 2017 08:59:36 +0000 (14:29 +0530)]
elm: [ATSPI] Add to find genlist item using proxy image

In a wearable profile, genlist displays the item using a proxy image.
When a screen-reader finds an object in the top_down, it can not find
the item. because, found item is proxy image. So, using evas_object_image_source_get
and gets item view object from proxy image.

@tizen_fix

orignal patch: da9b3affe94ecdbfbe4d67c1d554571e071ba414

Change-Id: I2218f6237e2c5c935f27bfd549c013b0b322abb2

6 years agoelm: access: genlist: Do not center align when genlist item is highlighted in wearabl...
JunsuChoi [Wed, 13 Dec 2017 08:58:01 +0000 (14:28 +0530)]
elm: access: genlist: Do not center align when genlist item is highlighted in wearable profile

orig: 65e5539a7aaee40ac132de03da18eebd820bb71e
Change-Id: I9c95392d1160510bfafbd0e9bdcdab8b7babea84
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoelm:[widget][atspi] check if the access info is NULL
Shinwoo Kim [Wed, 13 Dec 2017 08:53:47 +0000 (14:23 +0530)]
elm:[widget][atspi] check if the access info is NULL

The elm_access object is deleted in job callback. the
access information is removed before adding the job.
So the access information could be NULL.

@tizen_fix

orignal patch: c46157c9484129e6bf749850e0525fb87d3410d6

Change-Id: Ic04b5bc02c8eb1ae1b3d4cb32c771f48f03563bf

6 years agoelm: [atspi][widget] Proper handling: In case of widget is registerd by elm_access_ob...
Shinwoo Kim [Wed, 13 Dec 2017 08:46:56 +0000 (14:16 +0530)]
elm: [atspi][widget] Proper handling: In case of widget is registerd by elm_access_object_register

@tizen_fix

orignal patch:5211783e90c0ce1ed169b92dcb71de7014d42c02

Change-Id: I03b7effba0360bad0503a99048874e3922e01a3e

6 years agoelm: access: Improves how to find the can_highlight of the widget.
JunsuChoi [Wed, 13 Dec 2017 08:21:56 +0000 (13:51 +0530)]
elm: access: Improves how to find the can_highlight of the widget.
Returns EINA_FALSE if any of parents is EINA_FALSE when determining can_highlight.
To determine can_highlight for the parent of an object,
we try to find the parent of the parent again.
As it repeats, it traverses as much as depth size factorial (d!) However,
if any of the parent of the object has can_highlight of the widget
data is EINA_FALSE, it is eventually EINA_FALSE

orig:
366d904cb45a7c7dd6202c16ec19d73b8784e8e6
2212fffb35af18498d53f0da894218ba59f8c8ca

Change-Id: I5ad0cc5c36f017dbbc6f07a05919a3b95aaa513c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years agoEcore_Device: fix app's build error becase difference between tizen & opensource
Jiyoun Park [Wed, 13 Dec 2017 08:16:10 +0000 (17:16 +0900)]
Ecore_Device: fix app's build error becase difference between tizen & opensource

Ecore_Event structure is changed in opensource. it add Eo type to all Ecore event type structure.
but currently, tize only code also add Ecore_Device to the end of Ecore event sturcture.
so we should change c code to deal with Ecore_Device type.
this is hotfix patch for build.

Change-Id: Ic4b66cf5f99e116f308831bd58d744aac82a5b56

6 years agoelm: [atspi] try bottom-up search first for getting accessible object at x,y point
Shinwoo Kim [Wed, 13 Dec 2017 07:27:21 +0000 (12:57 +0530)]
elm: [atspi] try bottom-up search first for getting accessible object at x,y point

@tizen_fix

orignal patch: 6f910731325c6503df460216c4e6500d8a1bc656:

Change-Id: Idbdace712b97639b2e3b58962b278756a38b04c7

6 years agoelm: add elm_atspi_ewk_wrapper class
Lukasz Stanislawski [Thu, 7 Dec 2017 13:56:57 +0000 (19:26 +0530)]
elm: add elm_atspi_ewk_wrapper class

Create wrapper widget around Ewk_View Evas_Object in order to
integrate a11y frameworks from elementary and Chromium. Such wrapper
should be created on Chromium EFL port side, however currently will be
added on elementary side with hope to move it into chromium library.

@tizen_feature

orignal patch: 85d052b2e63dc7e0b5286cea61c0870a2f854dcc

Change-Id: I8e99a836e5c47d8e37100b5309c200fbfa20960d

6 years agoevas_gl: sync with Evas_GL.h of Tizen
Daekwang Ryu [Tue, 12 Dec 2017 06:21:14 +0000 (15:21 +0900)]
evas_gl: sync with Evas_GL.h of Tizen

Change-Id: I68cd5c2b36416d692e8c4fba70e826b93ebfe50c

6 years agoevas_gl: fix evas_gl_current_context_get()
Daekwang Ryu [Tue, 12 Dec 2017 04:54:46 +0000 (13:54 +0900)]
evas_gl: fix evas_gl_current_context_get()

evas_gl_current_context_get() function should return
the context of evas_gl_common_current_context_get()
becuase CONTEXT_RESTORE feature was added.
CONTEXT_RESTORE makes app call evas_gl_make_current() only once
without evas_gl context switching.

Change-Id: Ic1807436691ce714ee7f8dc231d7215db37c2959

6 years agoevas_gl: add creating a debug context
Daekwang Ryu [Wed, 19 Apr 2017 06:07:27 +0000 (15:07 +0900)]
evas_gl: add creating a debug context

When users create a debug context,
have to check EGL_KHR_create_context extension with
evas_gl_string_query().

Change-Id: I0ee03d18232301e1b97ae6ad98967065a9ec99a7

6 years agoEvas_GL:(WL)Add feature to set EvasGL error state
Daekwang Ryu [Tue, 12 Dec 2017 02:33:09 +0000 (11:33 +0900)]
Evas_GL:(WL)Add feature to set EvasGL error state

Change-Id: Icbebe48816db5f5b0c97852a982e1d23fb3cd685

6 years agoEvasGL: modify context_create() for GLES3 on wayland_egl
Daekwang Ryu [Wed, 22 Nov 2017 02:51:32 +0000 (11:51 +0900)]
EvasGL: modify context_create() for GLES3 on wayland_egl

Change-Id: Iad5abfd22077dace59899a6fc87adc72cc4a37d4

6 years agoadd dependenecy pkg for ECORE_WAYLAND pc
Jeonghyun Yun [Wed, 13 Dec 2017 05:37:01 +0000 (14:37 +0900)]
add dependenecy pkg for ECORE_WAYLAND pc

Change-Id: I0c76e92dda779aca563b518a12078e1fda1159a8
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agogenlist: add @tizen_only @internal APIs
SangHyeon Lee [Wed, 13 Dec 2017 04:50:42 +0000 (13:50 +0900)]
genlist: add @tizen_only @internal APIs

@tizen_fix

Change-Id: I5417c44b461fd5bb8e513d786d3c792c08de5454

6 years agoremove unnecessary build dependency
Jongmin Lee [Tue, 12 Dec 2017 08:33:31 +0000 (17:33 +0900)]
remove unnecessary build dependency

Change-Id: I254b305db8188e83d40c69191f292eb296cb6bae

6 years agoEvasGL: Add GL[u]int64 type in Evas_GL
Wonsik, Jung [Tue, 12 Dec 2017 10:47:30 +0000 (19:47 +0900)]
EvasGL: Add GL[u]int64 type in Evas_GL

To support khronos 64 bit type, this patch is made.

@TIZEN_ONLY

Change-Id: Ie71f1e8c7aa0bf1bd663cc75222f5e023bea09d2

6 years agoEvasGL: Add PreRotation
Wonsik, Jung [Tue, 12 Dec 2017 09:47:52 +0000 (18:47 +0900)]
EvasGL: Add PreRotation

Add PreRotation feature for Evas GL's direct rendering

@TIZEN_ONLY
Change-Id: I7548a8f7ec516aebc30df64cc2216dcb1dcd41a0

6 years agoelm:[atspi]moved highlight when object is out of screen
JunsuChoi [Tue, 12 Dec 2017 13:41:56 +0000 (19:11 +0530)]
elm:[atspi]moved highlight when object is out of screen

 when highlighted object is out of screen or scroll view , elementary
 send 'object:move-outed' signal to screen-reader
 need this commit:
 screen-reader - https://review.tizen.org/gerrit/#/c/135993/
 at-spi2-core - https://review.tizen.org/gerrit/#/c/135994/

@tizen_feature

orignal patch: 9cd6a35c8731fc59b736bd0721f9f3dba1cf26fb

Change-Id: I0a657c9e4444d2eab78213a7e6c5b6e5668c5c1d

6 years agoelm: [ATSPI] Show object highlighted by highlight_grab when object is out of scroll
JunsuChoi [Mon, 11 Dec 2017 13:37:46 +0000 (19:07 +0530)]
elm: [ATSPI] Show object highlighted by highlight_grab when object is out of scroll

 Show item object of elm_genlist, elm_gengrid, elm_toolbar, elm_list and
 other object( in scroller) when out of scroll view.

@tizen_fix

orignal patch: d8bdb91a65cb678258ac3704d11610520aa8948d,0b4c76fdcbbd91710a81c9072b5571e6d3fffcec

Change-Id: Ia1f06c35601b7803c489cf2c64b83b582f33b58f

6 years agoelm: access: connect to at-spi dbus based on org.a11y.Status.IsEnabled property
Paweł Stawicki [Tue, 12 Dec 2017 13:46:25 +0000 (19:16 +0530)]
elm: access: connect to at-spi dbus based on org.a11y.Status.IsEnabled property

Change-Id: I288e0e4e96900f16edc6f25433d1005f478db9df
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
6 years ago evas: Avoid glTexSubImage2D() COW problem
sunghyun kim [Tue, 12 Dec 2017 10:22:47 +0000 (19:22 +0900)]
 evas: Avoid glTexSubImage2D() COW problem

Change-Id: I77696a283920b0e3ec22e23b99ddc3b6bf686fc9

6 years agoelm:[atspi] block event which is not interested in
Shinwoo Kim [Tue, 12 Dec 2017 10:32:51 +0000 (16:02 +0530)]
elm:[atspi] block event which is not interested in

The following ATSPI dbus signal is not interested in. Moreover the
following ATSPI dbus signal occurs a lot at init time. This could
cause a performance issue.

 - 'ChildrenChanged' with added child
 - 'ChildrenChanged' with deleted child
 - 'AddAccessible'
 - 'RemoveAccessible'

@tizen_fix

orignal patch: 9f22a562423b272c4b39306c57771fadca5ee8f7

Change-Id: I208bf22092bd2678d270f3b895ae097a3e2e1c2d

6 years agoelm: Add null check for svace issues
JunsuChoi [Tue, 12 Dec 2017 10:08:54 +0000 (15:38 +0530)]
elm: Add null check for svace issues
 Add null check because alloc function could return null

@tizen_fix

orignal patch: afd2f1e6d978c0981b264f63b9cc2497cff18378

Change-Id: I7282122af463842220ef26277313683eb5352057

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>