platform/upstream/elementary.git
7 years agogengrid: fix integer division type casting warning 88/142988/1
SangHyeon Jade Lee [Wed, 2 Aug 2017 10:50:20 +0000 (19:50 +0900)]
gengrid: fix integer division type casting warning

Change-Id: I1c7db5310a4edb16f4fda13e2ce19c71e8389741
Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
7 years agoAdd null check for svace issues 40/142940/1
JunsuChoi [Tue, 8 Aug 2017 01:17:39 +0000 (10:17 +0900)]
Add null check for svace issues

   Add null check because alloc function could return null

Change-Id: Ife8a3cc2cf48ba176e7e94c50c7d78bb2329fc6b

7 years agoRevert "Fix Svace issuese." 75/142875/2
woochan lee [Mon, 7 Aug 2017 11:29:03 +0000 (11:29 +0000)]
Revert "Fix Svace issuese."

This reverts commit 621f22ab071e439c69907b4c818d2cbacf5b845b.

Change-Id: Ib856a08d49734e68704e02a61729dff8bc2338b4

7 years agoRevert "Fix Svace issue." 73/142873/1
woochan lee [Mon, 7 Aug 2017 11:28:48 +0000 (11:28 +0000)]
Revert "Fix Svace issue."

This reverts commit 7883b1a651b9417e68df248ace56ce9fdab77a9a.

Change-Id: I894925b109b1834a907caa8aa256be560dd2f1ac

7 years agoFix Svace issue. 17/142817/2
Woochan Lee [Mon, 7 Aug 2017 08:31:04 +0000 (17:31 +0900)]
Fix Svace issue.

Change-Id: I5559eabddbb9bb3034ba9eea8fec1aadb2f6d3d8

7 years agoFix Svace issuese. 74/142774/1
Woochan Lee [Mon, 7 Aug 2017 08:07:00 +0000 (17:07 +0900)]
Fix Svace issuese.

Change-Id: I9a2f66edbe51908735315fbf859dc1a0d7641252

7 years agoDatetime: Apply UI Mirroring for Tizen 3.0 62/142762/2
Woochan Lee [Mon, 7 Aug 2017 07:42:35 +0000 (16:42 +0900)]
Datetime: Apply UI Mirroring for Tizen 3.0

The datetime is not including UI Mirroring feature.

Change-Id: Iacdf0bf589e328a7ef3902555e92d11f505492ff

7 years agolabel: set duration/speed for text marquee using internal functions 78/142578/2
Youngbok Shin [Fri, 4 Aug 2017 02:59:29 +0000 (11:59 +0900)]
label: set duration/speed for text marquee using internal functions

@tizen_feature

Change-Id: I3746364acd1818a9f0766ce18e029c8a3f70dc0d

7 years agoatspi: do not accept invisible object 45/142245/2
Shinwoo Kim [Thu, 3 Aug 2017 06:46:25 +0000 (15:46 +0900)]
atspi: do not accept invisible object

Issue:
If an object is child of scrollable parent, then the object is accepted even
though the object is invisible.

Solution:
Do not accept invisible object.

Change-Id: I0492eb9f5f265211521f066acd6f56d9c24356c0

7 years agoatspi: enhance elm_atspi_gesture_cb_set document 29/142229/3
Shinwoo Kim [Thu, 3 Aug 2017 06:24:31 +0000 (15:24 +0900)]
atspi: enhance elm_atspi_gesture_cb_set document

Change-Id: I887c08230b1de0404357d1b3717f4b3e14c08365

7 years agoatspi: handle "gesture_required" attribute 10/142110/3
Shinwoo Kim [Wed, 2 Aug 2017 12:15:56 +0000 (21:15 +0900)]
atspi: 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: I0b731ce947be569b2d782fdc21f18c79ffebf70e

7 years agocursor: remove a warning message from a unused static variable 43/142443/1
Youngbok Shin [Fri, 4 Aug 2017 02:45:14 +0000 (11:45 +0900)]
cursor: remove a warning message from a unused static variable

@tizen_fix

Change-Id: Icfcaf6e0c92aa259afae816313eb29550456d9f8
(cherry picked from commit 8187228fbf2d278779c09366bc12939e563224c8)

7 years agoentry: remove a warning message caused by unused parameter for cbhm 69/142269/1
Youngbok Shin [Thu, 3 Aug 2017 07:39:18 +0000 (16:39 +0900)]
entry: remove a warning message caused by unused parameter for cbhm

@tizen_fix

Change-Id: Ib1f61049b4c7fc075ac9764642eca0a9e7cb358e
(cherry picked from commit 2d18f914a1731a051e1818b1b890f6500a6878c4)

7 years agoentry: remove unused label for goto 90/142090/1 accepted/tizen/3.0/common/20170804.064005 accepted/tizen/3.0/ivi/20170804.014724 accepted/tizen/3.0/mobile/20170804.014642 accepted/tizen/3.0/tv/20170804.014658 accepted/tizen/3.0/wearable/20170804.014708 submit/tizen_3.0/20170803.051832
Youngbok Shin [Wed, 2 Aug 2017 10:57:05 +0000 (19:57 +0900)]
entry: remove unused label for goto

@tizen_fix

Change-Id: I7ea5763432b9118eb7e33f20419be2e25ccf7a9f
(cherry picked from commit 4efc635dc647d5e43a9e0170f41502a23438aeb5)

7 years agoatspi: suppress warning message 84/141984/2
Shinwoo Kim [Wed, 2 Aug 2017 06:51:25 +0000 (15:51 +0900)]
atspi: suppress warning message

The following is warning message.

In function '_elm_genlist_elm_widget_screen_reader':
warning: declaration of 'l' shadows a previous local [-Wshadow]
              Eina_List *l;
                         ^
note: shadowed declaration is here
    Eina_List *l;

Change-Id: I8af5c5e4a49219bebccd2a51ddc0ddfc853f447f

7 years agoatspi: access overrides Accessible.state_set.get 79/141779/3
Shinwoo Kim [Tue, 1 Aug 2017 10:22:03 +0000 (19:22 +0900)]
atspi: access overrides Accessible.state_set.get

The elm_access a widget makes primitive object accessible. If a primitive
object is not visible, then the elm_access should NOT have state VISIBLE and
SHOWING. From now the elm_access is checking visibility of primitive object.

Change-Id: I27c2f29d3346e03329784872281e4734ec753160

7 years agointerface_scrollable: Modify to cast values between double and int explicitly 20/142020/2
Wonki Kim [Wed, 2 Aug 2017 08:10:49 +0000 (17:10 +0900)]
interface_scrollable: Modify to cast values between double and int explicitly

this commit modify code to cast double and int variables explicitly

Change-Id: I6dc51d60ade454c773308eb778a74c8117ac8fd9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoelm_config: Fix potentional error 19/142019/2
Wonki Kim [Wed, 2 Aug 2017 08:09:14 +0000 (17:09 +0900)]
elm_config: Fix potentional error

Change-Id: I6f3a7e1035f7c329f8ee347b4235cbbcfa30400f
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years ago efl_ui_win: add error hanling code for malloc fail 04/142004/1
Jiyoun Park [Wed, 2 Aug 2017 07:48:27 +0000 (16:48 +0900)]
   efl_ui_win: add error hanling code for malloc fail

Change-Id: I57db76192233afcc95df22bef8eff824611228d7

7 years ago elm_win: add ELM_WIN_SOCKET_IMAGE type check 55/141355/1
Jiyoun Park [Mon, 31 Jul 2017 06:21:21 +0000 (15:21 +0900)]
elm_win: add ELM_WIN_SOCKET_IMAGE type check

    elm_win_socket_listen api only work for ELM_WIN_SOCKET_IMAGE type window.
    So it is better to add type check code.

Change-Id: Ic5f0c97767a957493bda70eddf96765c0723e58a

7 years agoatspi: grab highlight using unrealized item 95/140295/1 accepted/tizen/3.0/common/20170731.131710 accepted/tizen/3.0/ivi/20170731.012839 accepted/tizen/3.0/mobile/20170731.012719 accepted/tizen/3.0/tv/20170731.012745 accepted/tizen/3.0/wearable/20170731.012810 submit/tizen_3.0/20170727.060405 submit/tizen_3.0/20170728.001855 submit/tizen_3.0/20170728.001946
Shinwoo Kim [Mon, 24 Jul 2017 10:11:48 +0000 (19:11 +0900)]
atspi: 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.

Change-Id: Id36716d1e2d6249532d67dede9357e152b3d3107

7 years agoatspi: Remove build warning 04/140204/1
JunsuChoi [Mon, 24 Jul 2017 07:00:18 +0000 (16:00 +0900)]
atspi: Remove build warning

   Remove null initialization becuase of
   variable ss(Elm_Atspi_State_Set) is not pointer

Change-Id: I5f57e5d25c035dae841cd1258cb172ee7ee4a6a3

7 years agoslider: changed negative zero to zero 72/140172/1
Hosang Kim [Mon, 24 Jul 2017 05:35:13 +0000 (14:35 +0900)]
slider: changed negative zero to zero

When slider value is between 0.0 and -0.5, -0 is printed.

Change-Id: I7381dabc0749555b77be53e67c74e646c17840c1

7 years agogenlist : fix wrong item referencing in pos adjust 80/139280/2
SangHyeon Lee [Tue, 18 Jul 2017 07:30:26 +0000 (16:30 +0900)]
genlist : fix wrong item referencing in pos adjust

Change-Id: Ie055661c4f20308511f7c39c92e2dee36bbcdb15
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoatspi: fix mobile doxygen category issue 35/139635/2 accepted/tizen/3.0/common/20170721.115327 accepted/tizen/3.0/ivi/20170721.024058 accepted/tizen/3.0/mobile/20170721.024006 accepted/tizen/3.0/tv/20170721.024025 accepted/tizen/3.0/wearable/20170721.024044 submit/tizen_3.0/20170720.075806
Shinwoo Kim [Wed, 19 Jul 2017 23:50:54 +0000 (08:50 +0900)]
atspi: fix mobile doxygen category issue

Accessibility ┬ Access
              ├ Atspi Accessible
              ├ Atspi Bridge
              └ Atspi Component

The Access, Atspi Bridge, and Atspi Component did not have contents.

Change-Id: I4d0c1b7a25705217deb35fe7d9363035fc7708f5

7 years agointerface_scrollable: fix build fail on interface_scrollable 99/139499/2
Wonki Kim [Wed, 19 Jul 2017 06:13:28 +0000 (15:13 +0900)]
interface_scrollable: fix build fail on interface_scrollable

typo error

Change-Id: I4d9e786a71ff7bc765ff08e1c5266fb6801455b0

7 years agoatspi: Expose API for Wearable only 57/139257/4
Shinwoo Kim [Tue, 18 Jul 2017 06:18:04 +0000 (15:18 +0900)]
atspi: Expose API for Wearable only

Change-Id: Ib58b7e43992bed68796338815eb537fd42b423db

7 years agointerface_scrollable: Add "content,resize" callback to keep backward compat 42/139342/1
Wonki Kim [Tue, 18 Jul 2017 11:15:21 +0000 (20:15 +0900)]
interface_scrollable: Add "content,resize" callback to keep backward compat

There was a "content,resize" callback before tizen 3.0.
Even if it was a tizen only code block, there could be a backward compat issue
without the callback.

This commit emits the callback after whole procedure for content resizing.finished.

@tizen_feature

Change-Id: I0eccf8ebc8c704e1403056c0078bd6625d612265
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoatspi: use last appended relation information 97/138197/2 accepted/tizen/3.0/common/20170717.111106 accepted/tizen/3.0/ivi/20170717.085754 accepted/tizen/3.0/mobile/20170717.085625 accepted/tizen/3.0/tv/20170717.085724 accepted/tizen/3.0/wearable/20170717.085734 submit/tizen_3.0/20170714.105032
Shinwoo Kim [Tue, 11 Jul 2017 11:30:16 +0000 (20:30 +0900)]
atspi: use last appended relation information

So far, the screen reader has used the first relation information.
So application should remove appended relation information, before appending
relation information newly. This is hard to use in some point of view.
The application used *append API as *set API.
So using last appended relation information makes more sense.

Change-Id: Id7c3e7dc02acc0a883eb7e55b3892461aee259a3

7 years agochange markup text to utf8 when called accessible_name_get function 62/136962/6
JunsuChoi [Tue, 4 Jul 2017 01:36:39 +0000 (10:36 +0900)]
change markup text to utf8 when called accessible_name_get function

Change-Id: If56425bb5ab316e029d38024bcd7bfd5811fb8e6

7 years agoatspi: enhance finding the first,last obj 75/138175/2
Shinwoo Kim [Tue, 11 Jul 2017 10:16:39 +0000 (19:16 +0900)]
atspi: enhance finding the first,last obj

There are two kind of first(or last) object.
(1) The first object in viewport of its scrollable parent.
(2) The first object in accessibilty tree regardless of scrollable parent.

Looping navigation should use the first object of type (2)
Other cases should use the first object of type (1)

If view is changed, then there is no highlight. In this case the first object
of type (1) should be used. For example, if view is changed to 1 depth from
2 depth, then the highlight should use the first object of type (1).
If the following is 1 depth view after 2 depth view disapears, then there is
not currently highlighted object. In this case the item 4 should grab highlight
for next object, and the item 6 should grab highlight for the previous object.

+--------+
| item 4 |
|--------|
| item 5 |
|--------|
| item 6 |
+--------+

Change-Id: I72cd6b993a9dadbef5807fdf9d4674db8e8579b6

7 years agoatspi: consider scrollable parent for "GetNeighbor" 56/137656/6
Shinwoo Kim [Fri, 7 Jul 2017 02:44:14 +0000 (11:44 +0900)]
atspi: consider scrollable parent for "GetNeighbor"

To determine the next object,
find top scrollable parent of next object excluding scrollable parents of start
object, and check if the next object exists inside of the top scrollable parent
viewport.

If there is not top scrollable parent, then use the next object.

          (layout)
              |
   |----------|----------|
   |          |          |
(btn1)    (scroller)  (btn3)
              |
              |
   |----------|----------|
   |          |          |
(btn2)    (genlist)   (toolbar)

[case: top scrollable parent is scroller]
If current highlighted(start) object is btn1, and the 10th genlist item shows
just under the btn1 (i.e. btn2, and 1st ~ 9th items are scrolled out),
then the next object should be the 10th item.

[case: top scrollable parent is NULL]
After the 10th genlist item grabs highlight, the previous object should be the
9th genlist item, not the btn1. In this case scrollable paretns of start object
are scroller, and genlist. the next object has same scrollable parents. So the
top scrollable parent is NULL.

If the 10th genlist item is the next object of btn1, then the btn1 object could
be the previous object of 10th genlist. But this patch set make the 9th genlist
item previous. This behavior is quite dependent on UX definition.

Change-Id: I8ded2d533f0b77202be25713eafca652e1886bcb

7 years agoatspi: fix integer underflow issue 23/137323/1
Shinwoo Kim [Wed, 5 Jul 2017 08:10:47 +0000 (17:10 +0900)]
atspi: fix integer underflow issue

Change-Id: I99a498b901c0980d62e5c8abaf42687fb54ac335

7 years agoatspi: fix bug of finding the last object 93/136593/3 accepted/tizen/3.0/common/20170712.072408 accepted/tizen/3.0/ivi/20170711.222151 accepted/tizen/3.0/mobile/20170711.222042 accepted/tizen/3.0/tv/20170711.222109 accepted/tizen/3.0/wearable/20170711.222123 submit/tizen_3.0/20170705.022822
Shinwoo Kim [Fri, 30 Jun 2017 09:15:29 +0000 (18:15 +0900)]
atspi: fix bug of finding the last object

The last object can be found only if all_children_visited is false.
The start is same with root, when looking for the last object.

The first object can be found already, even though the start is same with root.
Because the forwarding navigation can visit its children.

Change-Id: I763994505d5b2b21ee8aa459b39c08512a34a279

7 years agoatspi: suppress runtime error, build warning 84/136484/2
Shinwoo Kim [Fri, 30 Jun 2017 02:35:51 +0000 (11:35 +0900)]
atspi: suppress runtime error, build warning

[runtime error]
(1) elm_atspi_bridge.c:2787 _bridge_path_from_object() safety check failed: eo == NULL
(2) elm_atspi_bridge.c:6184 _bridge_object_register() Unable to register class w/o Elm_Interface_Atspi_Accessible!
(3) lib/eo/eo.c:697 _eo_call_resolve() in elm_widget.eo.c:169: func 'elm_obj_widget_access_highlight_in_theme_get' (288) could not be resolved for class 'Edje_Object'

- Note: The access_highlight_in_theme (3) should handle non Elm_LAYOUT_CLASS.
  Or the access_highlight_in_theme should be removed. If the screen-reader
  shows highlight, then the access_highlight_in_theme doesn't make sense.

[build warning]
(1) warning: passing argument 2 of '_object_get_bus_name_and_path' discards 'const' qualifier from pointer target type
(2) warning: passing argument 3 of '_object_get_bus_name_and_path' from incompatible pointer type

Change-Id: I4a690afdbf90f2bf72b497d0c3916c7fc83ddb74

7 years agoatspi: check accessible parent for can_highlight 53/136353/2
Shinwoo Kim [Thu, 29 Jun 2017 07:31:44 +0000 (16:31 +0900)]
atspi: check accessible parent for can_highlight

If an object is Elm_Widget and accessible child of Elm_Widget_Item, then
can_child of this object does not check value of the Elm_Widget_Item.
Because the _elm_widget_item_highlightable has used elm_widget_parent_get.
It doesn't return Elm_Widget_Item. It returns parent object of Elm_Widget_Item.
So _elm_widget_item_highlightable should have to use accessible parent.

Change-Id: Iecbc162fc676efeb6e3162418ac3eb34b761195d

7 years agoatspi: moved highlight when object is out of screen 65/133965/11
JunsuChoi [Wed, 14 Jun 2017 06:07:34 +0000 (15:07 +0900)]
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/133970/
   at-spi2-core - https://review.tizen.org/gerrit/#/c/133972/

Change-Id: I32571343548031e2c2befd1c0828de031bace1f0

7 years agoelm_image: Fix previous image visible issue 83/136383/1
jiin.moon [Wed, 31 May 2017 10:01:03 +0000 (19:01 +0900)]
elm_image: Fix previous image visible issue

Summary: Previous image still visible when elm_image_file_set has wrong file path.

Test Plan: self

Reviewers: jpeg, jypark, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: singh.amitesh, minkyu, cedric

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

Change-Id: If8393e3851ea7cec1673540d7798eba1850cc75d

7 years agoelm_image: Fix file_set when preload is disabled 82/136382/1
Jean-Philippe Andre [Thu, 20 Apr 2017 09:29:26 +0000 (18:29 +0900)]
elm_image: Fix file_set when preload is disabled

If we disable preload, then the second file set on an elm_image
object would not trigger a deletion of the first image. As a
consequence, both images would be visible... really bad if there's
alpha or different dimensions!

Thanks Anand Kumar for the report!

@fix

Change-Id: If708c2d6bbc432585ba4493d6068467ab1a6086b

7 years agoefl_ui_image: fix removal of the internal evas image 81/136381/1
Daniel Zaoui [Mon, 21 Nov 2016 09:52:27 +0000 (11:52 +0200)]
efl_ui_image: fix removal of the internal evas image

During the replacement of the image with the new preloaded one,
the previous image is deleted but not removed from the list of
children of the icon (efl_ui_image), leading to Eo errors when
walking over the icon children.

@fix

Change-Id: Ic5e606bf2b485051e419b1ea0ba263cd5c7808f9

7 years agoatspi: find the first, last obj using "GetNeighbor" 24/135724/3
Shinwoo Kim [Mon, 26 Jun 2017 06:25:06 +0000 (15:25 +0900)]
atspi: find the first, last obj using "GetNeighbor"

The reducing IPC task overlooked functionality to get the first, last object.
This commit is related to the following commit.

[screen-reader]
commit 72e3396fac3a377f49422af454875a0e4c9a58bc

Add loop navigation feature.

Screen reader gives FOCUS_CHAIN_END_NOTIFICATION_EVENT notification if there is
no more object in its direction. If user gives next(or prev) gesture in same
direction one more time, then the first(or last) object will grab highlight.

Change-Id: I0e68c84a595396cbf7d0d2ae4d93fca4c425f0ea

7 years agoatspi: handle atspi proxy connection at runtime 02/135102/8
Shinwoo Kim [Wed, 21 Jun 2017 02:39:18 +0000 (11:39 +0900)]
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.

Change-Id: I86f610504848db816e6db355316f8da06db513df

7 years agoatspi: "GetNeighbor" is using deputy object 57/134257/2
Shinwoo Kim [Thu, 15 Jun 2017 12:16:35 +0000 (21:16 +0900)]
atspi: "GetNeighbor" is using deputy object

A01 object is deputy object, and exists in embedding process.
A02, A03 object exist in embedding process.
B01, B02 objects exist in embedded process.

The “GetNeighbor” method should return A02 object as “next” object of B02,
and return B02 object as “prev” object of A02.
The “next” object of A01 is B01.
The “prev” object of B01 is A01.
This is default implementation.
The following is default order: A01 - B01 - B02 - A02 - A03

But more important thing is that the embedding process could use
ELM_ATSPI_RELATION_FLOWS_TO/FROM for each objects A01, A02, and A03.
So there are some cases should be considered.

(1) If A01 is ELM_ATSPI_RELATION_FLOWS_FROM object of A03, then the
   “GetNeighbor” should find B02 first when it navigates backward from A03.

(2) If A03 is ELM_ATSPI_RELATION_FLOWS_TO object of A01, then the
   “GetNeighbor” should find A03 first when it navigates backward from B02.

(3) Even though the A01 has ELM_ATSPI_RELATION_FLOWS_TO relation information,
   the “GetNeighbor” should find B01 first. Because the
   ELM_ATSPI_RELATION_FLOWS_TO object is used when “GetNeighbor” finds
   next object of B02.

Change-Id: Id9ec5762fb5abe94f942bf3823c69729e6389702

7 years agoatspi: Make socket listen if atspi is enabled 69/133769/4
Shinwoo Kim [Tue, 13 Jun 2017 09:18:03 +0000 (18:18 +0900)]
atspi: Make socket listen if atspi is enabled

The socket proxy try to listen if the atspi is not enabled.
So it elm_atspi_bridge_utils_proxy_listen returns with out creating socket
interface(_socket_ifc_create) because it checks return value of
_elm_atspi_bridge_get which is used in _elm_atspi_enabled also.

Change-Id: Ie7a929d53ca9cc90e089f6a167b0480fc041c5af

7 years agoatspi: "GetNavigableAtPoint" sends deputy object 95/133895/4
Shinwoo Kim [Wed, 14 Jun 2017 02:30:58 +0000 (11:30 +0900)]
atspi: "GetNavigableAtPoint" sends deputy object

The deputy means embedding side object works for embedded object.
If there is no object at point on embedded side, then the deputy object should
have highlight.

So far the deputy object is elm_access, and the elm_access takes highlight.
So there is no chance to have highlight on embedded side.

Change-Id: Id3fd144f74784f2630215c401b93c56a87f388e3

7 years agoatspi: add "GetReadingMaterial" interface method 59/131359/6
Shinwoo Kim [Fri, 26 May 2017 13:05:11 +0000 (22:05 +0900)]
atspi: 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.

Related patch set:
https://review.tizen.org/gerrit/#/c/131358/ (at-spi2-core)
https://review.tizen.org/gerrit/#/c/131359/ (this one, elementary)
https://review.tizen.org/gerrit/#/c/131511/ (at-spi2-atk)
https://review.tizen.org/gerrit/#/c/131714/ (screen-reader)

@tizen_only

Change-Id: Ib17d34fd8af7b5856908692c617938116d02305e

7 years agoatspi: Reduce action related IPC 04/130204/2
Shinwoo Kim [Fri, 19 May 2017 10:29:06 +0000 (19:29 +0900)]
atspi: 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: I884a183ec52fa30a7173a19794ab6628f0f87207

7 years agoatspi: make popup label accessible 90/135990/1
Shinwoo Kim [Wed, 28 Jun 2017 00:04:07 +0000 (09:04 +0900)]
atspi: make popup label accessible

The application could customize default behavior of popup label.
There was no way to get the popup label so far.

Change-Id: I2b0477556a155574a151b063172bdb71cf72122e

7 years agowidget: initialize local variable 72/135772/1 accepted/tizen/3.0/common/20170627.122936 accepted/tizen/3.0/ivi/20170626.222348 accepted/tizen/3.0/mobile/20170626.222405 accepted/tizen/3.0/tv/20170626.222344 accepted/tizen/3.0/wearable/20170626.222340 submit/tizen_3.0/20170626.103050
Shinwoo Kim [Thu, 8 Jun 2017 11:33:55 +0000 (20:33 +0900)]
widget: initialize local variable

Uninitialized data is read from local variable 'ow', and 'oh'

Change-Id: Ib042ba64a88d82fa883f08c08851ee44c0a9a2da

7 years agoconformant: Added "virtualkeypad,size,changed" smart callback. 03/135703/1 submit/tizen_3.0/20170626.041320
Hosang Kim [Fri, 23 Jun 2017 10:27:08 +0000 (19:27 +0900)]
conformant: Added "virtualkeypad,size,changed" smart callback.

When the virtualkeypad size is changed, applications get the notice.
Applications can do internal object calculation according to the exact
virtualkeypad size.

Change-Id: Ic1e551a885c0d371f33295b2db993c97a46160c6

7 years agogenlist: add null check in filter item internal for prevent svace issue 92/135392/2
SangHyeon Lee [Wed, 21 Jun 2017 07:20:50 +0000 (16:20 +0900)]
genlist: add null check in filter item internal for prevent svace issue

Change-Id: I73f6f2f320665a63e8430eafdedbb63b40510841

7 years agogenlist: fix clip set api calls in genlist when clipees are less than 2 91/135391/1
SangHyeon Lee [Thu, 22 Jun 2017 06:43:35 +0000 (15:43 +0900)]
genlist: fix clip set api calls in genlist when clipees are less than 2

Change-Id: If3183bf9437523f2bb0c4eaeb6c23dd43c70fb68
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
8 years agoatspi: Fix object is completely on screen function 04/132704/3
JunsuChoi [Wed, 7 Jun 2017 07:56:31 +0000 (16:56 +0900)]
atspi: Fix object is completely on screen function

   is_complete variable has been modified to function correctly.

Change-Id: I2ed25f96ed51baac0873d82e985ccf445a4f6482

8 years agoAdd navigation helper functions for screen-reader and friends (part 2) 22/118422/15
Radoslaw Cybulski [Wed, 8 Mar 2017 14:41:34 +0000 (15:41 +0100)]
Add navigation helper functions for screen-reader and friends (part 2)

Change-Id: Idb6c1c3f33d377922b6813c2e03a4883c8ea34f3

8 years agoAdd navigation helper functions for screen-reader and friends 06/117306/24
Radoslaw Cybulski [Fri, 3 Mar 2017 15:29:55 +0000 (16:29 +0100)]
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.

Change-Id: Iff5820e280bef64414d0f07e9e2d5927a29bae4d

8 years agopanel: add "elm,state,hold", "elm,state,unhold" signals 06/133806/1
Jaeun Choi [Tue, 13 Jun 2017 10:33:09 +0000 (19:33 +0900)]
panel: add "elm,state,hold", "elm,state,unhold" signals

these signals were added in Tizen 2.3 as Tizen only code
and removed after merging upstream code into Tizen 2.4.
need to add the signals for compatibility.

Change-Id: I7b5400cd2d7046bb987f9d6c504bdf93c6c7c9fc

8 years agoatspi: ctxpopup item uses parent name first 60/133560/1
Shinwoo Kim [Tue, 13 Jun 2017 01:42:25 +0000 (10:42 +0900)]
atspi: ctxpopup item uses parent name first

The ctxpopup does not use parent name such as elm_widget_item, and
elm_interface_atspi_accessible_name. So the elm_atspi_accessible_name_set does
not work.

Change-Id: I5f4c1d4ba9849c5e36d8471715a24298a683052b

8 years agoatspi: fix compare func to find object at point 66/132466/2
Shinwoo Kim [Mon, 5 Jun 2017 10:36:19 +0000 (19:36 +0900)]
atspi: fix compare func to find object at point

The compare function(_sort_by_repeat_events) does not change if two objects
repeat event(repeat_events: 1) even though the second object is registered to
elm_access. In this case the object could be demoted in the list, and it is not
possilbe to find the object by screen reader.

The following is the problem case:

[Before Sorting]
1. Object A (repeat_events: 1)
2. Object B (repeat_events: 1, is registred to elm_access)
3. Object C (repeat_events: 1)
4. Object D (repeat_events: 0)
5. Object E (repeat_events: 0)

[After Sorting] D - E - A - B -C

Change-Id: I5c566252507d8d6c5aac5759588cdd9e1468cd3e

8 years agoatspi: do operation if its object is available 42/131642/3
Shinwoo Kim [Tue, 30 May 2017 08:05:53 +0000 (17:05 +0900)]
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 perent 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.

Change-Id: I59d69cd117252ef7364fd80536ce6b153c0ce920

8 years agoelm_map: fix wrong return type 22/133222/2
Sungtaek Hong [Fri, 9 Jun 2017 08:39:48 +0000 (17:39 +0900)]
elm_map: fix wrong return type

@tizen_fix

Change-Id: I5243b928b738724ce31347e7d6b515451d24b2e8
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
8 years agoscroller: Initialize member variables which are used for unstable situation 58/132858/3
Wonki Kim [Thu, 8 Jun 2017 04:40:23 +0000 (13:40 +0900)]
scroller: Initialize member variables which are used for unstable situation

This commit inits member vars to set proper position
when scroller initialy comes out.

Change-Id: I3b5490cbcc38fe77e549d152a7e4c666b6c4a518
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
8 years agomap: Fix broken link to openstreetmap.org 55/133155/1
Jeeyong Um [Fri, 9 Jun 2017 05:15:25 +0000 (14:15 +0900)]
map: Fix broken link to openstreetmap.org

Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ia5607006b9bebfe05c47f10157b92a48abfc0f08

8 years agogenlist: fix build error by wrong merged patches 06/133106/1
SangHyeon Lee [Fri, 9 Jun 2017 02:36:00 +0000 (11:36 +0900)]
genlist: fix build error by wrong merged patches

Change-Id: I7eeca7f7a17077e311267457ee948185da973d04
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
8 years agoRevert "[Scroller] Filp to cords for RTL mode in wanted_region_set" 35/132835/2
JunsuChoi [Thu, 8 Jun 2017 03:15:49 +0000 (12:15 +0900)]
Revert "[Scroller] Filp to cords for RTL mode in wanted_region_set"

This reverts commit e718c067da2478193b81a347ac36cd2b04371060.

Change-Id: I9eeda933036ff07e47c64a43fe1421f5265fc2c2

8 years agogenlist: fix genlist item prepend to below the group parent 28/132828/1
SangHyeon Lee [Tue, 23 May 2017 06:10:43 +0000 (15:10 +0900)]
genlist: fix genlist item prepend to below the group parent

Change-Id: I62a08d5730882e0490a3060735afeaffec6284ef
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
(cherry picked from commit 68b28227e4ce83559484bff87005b5a11272884b)

8 years ago[Scroller] Filp to cords for RTL mode in wanted_region_set 31/132731/1
JunsuChoi [Wed, 7 Jun 2017 04:53:40 +0000 (13:53 +0900)]
[Scroller] Filp to cords for RTL mode in wanted_region_set

   In RTL mode, wanted_regison_set does not change coordinates
   So add code like opensource.

Change-Id: Ib332b982c2994b0995b02bc2431fcd984610e089
(cherry picked from commit f9d1f7303e4774124098193247838b70387b1dbd)

8 years agopopup: fix object_mirrored_set didn't work 17/132717/2
JinYong Park [Fri, 2 Jun 2017 08:29:58 +0000 (17:29 +0900)]
popup: fix object_mirrored_set didn't work

Using config_mirrored_set was working good at popup widget,
but object_mirrored_set didn't.
The mirrored value of notify, main layout, scroller, action area layout should be changed following popup.

@fix

https://phab.enlightenment.org/D4900

Change-Id: I5096e14c86ae313e10f2547e43b6e81de97690c3
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
8 years agoatspi: connect to at-spi dbus based on org.a11y.Status.IsEnabled property 94/129494/8
Paweł Stawicki [Fri, 12 May 2017 11:37:11 +0000 (13:37 +0200)]
atspi: connect to at-spi dbus based on org.a11y.Status.IsEnabled property

Change-Id: Ic7a95172cd0da5e5285df195a4f31f9aaf98eade

8 years agoatspi: send window activated event to at_spi2 only once per session 82/128382/4
Paweł Stawicki [Fri, 12 May 2017 11:37:11 +0000 (13:37 +0200)]
atspi: send window activated event to at_spi2 only once per session

Change-Id: Ibae523e85c8fa2cdf3d9d8145e99274f1b318db1

8 years agoatspi: do not demote an object that repeats event. 74/131074/2
Shinwoo Kim [Thu, 25 May 2017 09:23:39 +0000 (18:23 +0900)]
atspi: do not demote an object that repeats event.

If an object is registered to elm_access, then do not demote its order even
though the object repeats event(repeat_events: 1) when _sort_by_repeat_events
function sorts object order.

User could add a rectangle to give accessibility. If the rectangle does not
repeat events, then it would be a problem when screen reader is off.

Change-Id: I3c154c96a290abb30f96564a9cee47ce237c5fe7

8 years agoelm_photocam: fix wrong initial value for zoom mode 93/131593/1
Taehyub Kim [Tue, 30 May 2017 06:36:24 +0000 (15:36 +0900)]
elm_photocam: fix wrong initial value for zoom mode

Change-Id: I4ee4be57645af30c4418fb8528bb767bf2211a71

8 years agodoc: Add missing "Elm_" prefix to doxygen group name 16/130616/2
Jeeyong Um [Tue, 23 May 2017 06:25:36 +0000 (15:25 +0900)]
doc: Add missing "Elm_" prefix to doxygen group name

Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: I85ded32ebf97cd02ce2d85a104dccc9c4b395daa

8 years agoelm_panel: use widget data for getting geometry 84/130184/2
Jaeun Choi [Fri, 19 May 2017 08:59:44 +0000 (17:59 +0900)]
elm_panel: use widget data for getting geometry

_elm_panel_evas_object_smart_resize() ends up calling
_elm_panel_elm_layout_sizing_eval() to adjust the layout
according to the updated width and height.
however, evas_object_geometry_get() doesn't return the updated values.
in fact, it is not necessary to call any API since the values are
stored as widget data in _elm_widget_evas_object_smart_resize().

Change-Id: I68467ec07700ee4dea99d36ee10c433608d5f555

8 years agoelm_panel: set hidden property when panel is close/open 83/130183/1
JEONGHYUN YUN [Thu, 16 Mar 2017 08:38:18 +0000 (17:38 +0900)]
elm_panel: set hidden property when panel is close/open

Summary:
elm_panel has a property named hidden which stores open/close status.
This is updated when:
  1.bring_in animation is done(anim_stop_cb).
  2.mouse_up on panel.
  3.API is called. (elm_panel_toggle, elm_panel_hidden_set)
In case 3, API changes hidden, and starts bring_in animation which will call anim_stop_cb() which will update hidden again.
If bring_in animation is canceled (eg: sizing_eval), anim_stop_cb will be called and calculate hidden status
which will not guarantee updated hidden state by APIs.

Test Plan:
1.Call any APIs which will call elm_layout_sizing_eval(panel) right after calling elm_panel_toggle()/elm_panel_hidden_set().
2.Delete content of panel during "toggled" cb.

Reviewers: jpeg, eunue, cedric

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

@tizen_fix

Change-Id: I8e0a97910de8bbc0920dd0260e3b81bc1793827e
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
8 years agoelm_panel: scrollable panel content size ratio refactoring (for 2.4 UX) 82/130182/1
JEONGHYUN YUN [Thu, 5 Jan 2017 09:33:33 +0000 (18:33 +0900)]
elm_panel: scrollable panel content size ratio refactoring (for 2.4 UX)

scrollable panel content size ratio refactoring (for 2.4 UX)

@tizen_fix

Change-Id: I19f3866cb269ed88a26052e0e6ae078755b49330
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
8 years agoelm_panel: Add _scrollable_layout_resize internal funcion for refactoring 81/130181/1
JEONGHYUN YUN [Thu, 5 Jan 2017 08:32:35 +0000 (17:32 +0900)]
elm_panel: Add _scrollable_layout_resize internal funcion for refactoring

Summary:
Remove duplicated code in _elm_panel_efl_gfx_size_set
and _elm_panel_scrollable_content_size_set.

Reviewers: jpeg, woohyun, eunue, jypark

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

Change-Id: I51196afc9519f93a16d10da479be87e5fec39de8
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
8 years agoelm_panel: add some exception handling code in scrollable_content_size_set 80/130180/1
JEONGHYUN YUN [Thu, 5 Jan 2017 05:54:08 +0000 (14:54 +0900)]
elm_panel: add some exception handling code in scrollable_content_size_set

this is part of the commit
336a5996a60efd2ef10ba45a2868e746c385c260
in tizen branch (which is from upstream)
except for the new API part

Change-Id: I8124229033de8c67dce2def519c87fd6e29960f0

8 years agoResize highlight rectangle if target object is clipped 96/129396/3
Shinwoo Kim [Tue, 16 May 2017 08:15:55 +0000 (17:15 +0900)]
Resize highlight rectangle if target object is clipped

Change-Id: I4017308af4a2e5162e75aec9a047f9fb2f66ff9f

8 years agoatspi: Demote relation object if the object exist 33/129633/2
Shinwoo Kim [Wed, 17 May 2017 08:10:28 +0000 (17:10 +0900)]
atspi: Demote relation object if the object exist

Change-Id: If49cc6c33228e168dbc0b6f22eeed5d7c5111a9a

8 years agoOverride Elm_Interface_Atspi_Accessible.relationships_clear 52/129552/2
Shinwoo Kim [Wed, 17 May 2017 02:08:46 +0000 (11:08 +0900)]
Override Elm_Interface_Atspi_Accessible.relationships_clear

The elm_widget, elm_widget_item override following interfaces.

  - Elm_Interface_Atspi_Accessible.relationship_append
  - Elm_Interface_Atspi_Accessible.relationship_remove

And keeps the relationship information in its data structure.
So the elm_atspi_accessible_relationships_clear does not work.

Change-Id: I790e27f0cc296d466d832d33c0596f063d499232

8 years agoentry: Support accessibility for entry anchors 06/129006/5
Shinwoo Kim [Fri, 12 May 2017 09:44:46 +0000 (18:44 +0900)]
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.

   Elm_Interface_Atspi_Component.accessible_at_point_get

Change-Id: I474a821723637fc9bdaa65b10b3e2148e706b114

8 years ago[atspi] Use atspi status as smart callback event info 21/128421/2
Shinwoo Kim [Wed, 10 May 2017 02:43:04 +0000 (11:43 +0900)]
[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: I6f1987222e6036fb24af6aea31a52cbb893603e2

8 years agowl_selection_send callabck comes twice with same buffer even after send is completed 16/128216/1
katpagavalli [Mon, 8 May 2017 05:35:22 +0000 (11:05 +0530)]
wl_selection_send callabck comes twice with same buffer even after send is completed

[Model] Z400F
[BinType] AP
[Customer] N/A

[Issue#] App compatibility
[Request] App compatibility
[Occurrence Version] QD5

[Problem] Crash occurs
[Cause & Measure] Cause :
Measure :
[Checking Method]

[Team] UIFW/EFL
[Developer] Katpagavalli Anantharaj
[Solution company] SRIB
[Change Type]

Change-Id: I65318a8ef4483c02d96f13f65e9c54b34fea91ff
Signed-off-by: katpagavalli <katpaga.a@samsung.com>
8 years agoatspi: enhance documentation 13/126013/3 accepted/tizen/3.0/common/20170511.174310 accepted/tizen/3.0/ivi/20170510.222447 accepted/tizen/3.0/mobile/20170510.222438 accepted/tizen/3.0/tv/20170510.222441 accepted/tizen/3.0/wearable/20170510.222444 submit/tizen_3.0/20170424.042911 submit/tizen_3.0_common/20170511.082856
Shinwoo Kim [Thu, 20 Apr 2017 01:00:44 +0000 (10:00 +0900)]
atspi: enhance documentation

Change-Id: I597e0cf17c1e3958bd1d862504d1e2709cb599c9

8 years agoatspi: Check existing attribute and override 77/125477/4
Shinwoo Kim [Mon, 17 Apr 2017 11:33:44 +0000 (20:33 +0900)]
atspi: Check existing attribute and override

elm_atspi_accessible_attribute_append should be deprecated because the attribute
is not appended. The attribute should work with setter, getter function.

It seems that atspi_accessible_get_attributes returns unique key and value.
The screen reader could get the last appended key and value though.
The previously added key and value is not necessary.

Change-Id: Id11540cdfddd86aa8214543a5c7a2eadf9f637e0

8 years ago[ATSPI] Modify clear only specified objects when called highlight_clear 58/126258/1
JunsuChoi [Tue, 18 Apr 2017 06:19:46 +0000 (15:19 +0900)]
[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.

Change-Id: I0b07f6bbbf3eecd35eff5c7fc380e634140e182c

8 years agoelm_map: Fix elm_map_overlay_color_get 04/125904/1
se.osadchy [Wed, 19 Apr 2017 05:45:04 +0000 (14:45 +0900)]
elm_map: Fix elm_map_overlay_color_get

Summary:
Add all supports types for overlay color (such as in Doc.)
@fix

Reviewers: cedric, Hermet, raster, NikaWhite, jpeg

Reviewed By: jpeg

Subscribers: jpeg, artem.popov

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

Change-Id: I3574302c33c6ca29ab58820e1b9c6cbf8e4f0f79

8 years ago[atspi][popup] Add text of elm.text to accessible_name_get. 72/125172/2
JunsuChoi [Fri, 14 Apr 2017 04:30:27 +0000 (13:30 +0900)]
[atspi][popup] Add text of elm.text to accessible_name_get.

   Add text of elm.text to accessible_name_get
   Because to support styles such as toast using elm.text

Change-Id: I6f6edf5e218f3d81aeb64aef5e540ce679c1a2f9

8 years agoslider: fix memory corruption issue 58/125658/2
Hosang Kim [Tue, 18 Apr 2017 08:23:07 +0000 (17:23 +0900)]
slider: fix memory corruption issue

It caused crash issues when tizen_vector tries to delete
uninitialized addresses.

@tizen_fix

Change-Id: I801471d387f84fc80cc28a67af58a93434872dc7

8 years agoentry: init eldbus before using eldbus 72/125472/1
Shinwoo Kim [Mon, 17 Apr 2017 10:21:24 +0000 (19:21 +0900)]
entry: init eldbus before using eldbus

It is possilbe to make dbus connection without eldbus_init.
In this case it is possilbe to make UNWANTED eldbus_shutdown work.
If a connection remains while eldbus_shutdown, then the eldbus complains with
CRItical message causing abort.

Change-Id: I11c341e896242074c00290dee25ffc32a0c6dc6b

8 years agoatspi: Expose API for both Mobile and Wearable 24/125324/2 submit/tizen_3.0/20170417.044527
Shinwoo Kim [Mon, 17 Apr 2017 02:35:13 +0000 (11:35 +0900)]
atspi: Expose API for both Mobile and Wearable

The exposed API could be used both profile Mobile and Wearable.

Change-Id: I6e61daf3c67a37239681ba6c36ccecad0ee54a6e

8 years agoatspi: Make atspi,(un)highlighted callback work on widget item. 11/124811/3
Shinwoo Kim [Wed, 12 Apr 2017 11:03:05 +0000 (20:03 +0900)]
atspi: Make atspi,(un)highlighted callback work on widget item.

The atspi,(un)highlighted callback works only on the widget so far.

Change-Id: Id09aa5be251eb93e145483b8473ad6e12b3dcacc

8 years agoatspi: Add and expose API 03/125203/3
Shinwoo Kim [Fri, 14 Apr 2017 04:14:15 +0000 (13:14 +0900)]
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

Change-Id: Id9cf551a18cb2362081cd4058950c2adf6152424

8 years agoelm_map: Fix work of elm_map_overlay_icon_set if icon is NULL. 99/121899/2
se.osadchy [Tue, 21 Mar 2017 18:13:15 +0000 (11:13 -0700)]
elm_map: Fix work of elm_map_overlay_icon_set if icon is NULL.

Summary:
Delete check on NULL for icon object due to incorrect work. Function must delete
icon in map overlay (according to documentation) if we set NULL, but with this check -
nothing happening and after elm_map_overlay_icon_get we have not NULL returned value.
@fix

Reviewers: cedric, Hermet, raster, jpeg

Reviewed By: cedric

Subscribers: artem.popov

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

Change-Id: I0079d88374e9eda920b6eef143744cdc902fe773

8 years agomain: Handle exception calling elm_shutdown without elm_exit 51/125051/1 accepted/tizen/3.0/common/20170414.095000 accepted/tizen/3.0/ivi/20170414.043232 accepted/tizen/3.0/mobile/20170414.043125 accepted/tizen/3.0/tv/20170414.043157 accepted/tizen/3.0/wearable/20170414.043216 submit/tizen_3.0/20170413.122705
Shinwoo Kim [Thu, 13 Apr 2017 11:50:51 +0000 (20:50 +0900)]
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: I20fdd1730a764301d297470de7cfa32173f8504c

8 years agoelm_win: add information of window state. 54/121054/4 accepted/tizen/3.0/common/20170414.094803 accepted/tizen/3.0/ivi/20170414.042839 accepted/tizen/3.0/mobile/20170414.041526 accepted/tizen/3.0/tv/20170414.042229 accepted/tizen/3.0/wearable/20170414.042642 submit/tizen_3.0/20170413.075042
Hosang Kim [Mon, 27 Mar 2017 05:51:14 +0000 (14:51 +0900)]
elm_win: add information of window state.

Change-Id: I080cb1ba0bd82ab5fccae88874b30c7765961ec4

8 years agoatspi: Add Elm_Atspi_Reading_Info_Type_Mask 53/123553/2
Shinwoo Kim [Thu, 6 Apr 2017 05:21:30 +0000 (14:21 +0900)]
atspi: Add Elm_Atspi_Reading_Info_Type_Mask

The elm_atspi_accessible_reading_info_type_set could get result value of bitwise
operation. If the elm_atspi_accessible_reading_info_type_set allows only enum
Elm_Accessible_Reading_Info_type, then g++ complains with following error:

invalid conversion from 'int' to 'Elm_Accessible_Reading_Info_Type' [-fpermissive]

So the elm_atspi_accessible_reading_info_type_set should change its parameter
from Elm_Accessible_Reading_Info_Type to Elm_Atspi_Reading_Info_Type_Mask.
The Elm_Atspi_Reading_Info_Type_Mask is unsigned int type.

Change-Id: I21cee619919e071a66d15840632f972b1e89c58e

8 years agoaccess: call "access,activated" smart callback 10/123410/2
Shinwoo Kim [Wed, 5 Apr 2017 10:30:15 +0000 (19:30 +0900)]
access: call "access,activated" smart callback

The "access,activated" smart callback is called when "Activate the selected item"
gesture occurs.

Application could do the activation action using elm_access_action_cb_set.
But we recommend not to use elm_access_action_cb_set for this purpose on atspi
environment. And this would be usual widget behavior as elm_button does.
Moreover we had provided this before Tizen 2.4.

Change-Id: I7371a9c0718079d30fb287f6936e95e745e7eda6

8 years agoatspi: add gesture method to accessible interface 37/113437/8
Shinwoo Kim [Tue, 7 Feb 2017 12:21:11 +0000 (21:21 +0900)]
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.
This works with https://review.tizen.org/gerrit/#/c/113438/

Change-Id: I8a03c68b2d727820a1fd12dabbad6df1c3b9a6d3

8 years agoCtxPopup: Fix for scroller position of horizontal ctxpopup in mirroring case 50/123450/4
Godly T.Alias [Wed, 5 Apr 2017 14:20:36 +0000 (19:50 +0530)]
CtxPopup: Fix for scroller position of horizontal ctxpopup in mirroring case

@tizen_fix

Change-Id: I245a74dd97a7e680d37edfb3852dbc8bd98e3237
Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>