Anuj Asher [Thu, 10 May 2018 07:32:43 +0000 (13:02 +0530)]
Rearrange structures to reduce padding
Change-Id: I46c766e9bbc755f07c9aea649c165395d6361ce0
Signed-off-by: Anuj Asher <anuj.asher@samsung.com>
Youngbok Shin [Fri, 25 May 2018 09:50:50 +0000 (18:50 +0900)]
textpath: improves text rendering quality of curved text
There was wrong logic for calculating # of slices, dt, dist of each segment.
It caused bad rendering quality by putting too much slices on small text.
In addition, textpath didn't care about smoothness of curve's slope changing.
The patch fixes to check differences of previous points and next points for Evas Map.
So, textpath can show smoothly curved text.
- Patch on EFL's upsteam:
https://phab.enlightenment.org/D6195
@tizen_fix
Change-Id: Ic03230504c400036acb480d22dacd59ed8a963cf
Woochan Lee [Thu, 17 May 2018 06:40:19 +0000 (15:40 +0900)]
elm_spinner: Call changed callback when value changed in min_max_set() API.
@tizen_feature
Change-Id: Ifa41f2380b4256b59be52ea924cc3f0f7a3073d5
JunsuChoi [Tue, 8 May 2018 09:53:50 +0000 (18:53 +0900)]
Revert "Revert "atspi : Do not send signal, if current object and highlight object are same""
This reverts commit
8c65904160bd074be89f7f64886d15304c25568e.
Change-Id: Ifd9d1f1d301372088a7eb45f50f1f9516dfde3ce
Signed-off-by: JunsuChoi <jsuya.choi@samsung.com>
JunsuChoi [Fri, 27 Apr 2018 04:28:12 +0000 (13:28 +0900)]
atspi: Enhance find unrealized item of genlist when called highlight_grab
Change-Id: I77822bfab815f9e27a57acf6b645ec4438f8b27d
Woochan Lee [Fri, 27 Apr 2018 02:13:52 +0000 (11:13 +0900)]
elm_spinner: Spinner value adjust when round enabled.
https://phab.enlightenment.org/D5843
P180419-05492
Change-Id: I50eb08cbff75e7fbe0e5ea7d9fe88a5388943cca
Wonki Kim [Wed, 18 Apr 2018 12:53:19 +0000 (21:53 +0900)]
interface_scrollable: Invoke stop callback when animators are deleted on move event
when animators are deleted on mouse move event, anim_stop callback is not invoked
this patch add logic to invoke it.
Change-Id: I1830c56e1a5b65f53a89488891f4531d9ff1638d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
JunsuChoi [Mon, 9 Apr 2018 10:46:00 +0000 (19:46 +0900)]
atspi : fix memory leak
If return at check iter_entry, it occured memory leak form ret
Change-Id: I88880bcee4f18f0b4fce8d6451e64c87282d0a7a
JunsuChoi [Thu, 5 Apr 2018 11:55:25 +0000 (20:55 +0900)]
[atspi] Add null check for free
if value plug_id is not null, eina_str_split_full can return null
so, split value need to check for null
Change-Id: Iebc6164a654d3873b77b754161914abf3e163b5f
Woochan Lee [Fri, 6 Apr 2018 03:53:21 +0000 (12:53 +0900)]
elm_gesture_layer: Using tap_finger_size set in config.
This tizen_only commit will be deleted after below commit merged.
https://phab.enlightenment.org/D5842
@tizne_only
Change-Id: I166e34a42ac0a180037f87737a732c3c3132596b
SubodhKumar [Mon, 26 Mar 2018 12:27:36 +0000 (17:57 +0530)]
widget: Fix eo resolve error
If the parent of the widget is not an widget class itself,
eo thows error. In case of window which has no widget as parent gives this error.
@tizen_fix
Change-Id: I1f69447f5a24d1b580ec5cdb16fc0036cc0f6da9
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
JunsuChoi [Mon, 26 Mar 2018 10:29:32 +0000 (19:29 +0900)]
Atspi: enhance finding next and prev item on screen's edge
1) The content of list is checked that is screen out when genlist's content_pos_set is called.
Therefore, the content of the item is excluded from check that is screen out.
2) the content_pos_set of genlist differs by 1 pixel from the final call when scrolled up and down.
If the item size is 360x360 on a 360x360 size screen, scrolling upward (0,360) to (0, 0)
will be called until the y coordinate of the highlight object in content_pos_set is 1.
But downward is not same. if scrolling downward (0,0) to (0,360)
will be called y coordinate of highlight object in final called content_pos_set is 360.
This part can be modified according to the content_pos_set call convention.
3) delta_y means the direction of the scroll. However, old_y and y do not have the proper orientation
when content_pos_set is called twice. Therefore, we use delta_y_backup temporarily.
[dlogutil]
When scroll up
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 0, hy = 0, y = 0
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = -45, hy = 0, y = 45
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 0, hy = -45, y = 45
...
...
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = -1, hy = -358, y = 359
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 0, hy = -359, y = 359
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = -1, hy = -359, y = 360
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 0, hy = -359, y = 360
When scroll down
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 0, hy = 0, y = 360
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 43, hy = 0, y = 317
...
...
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 2, hy = 357, y = 1
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 0, hy = 359, y = 1
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 1, hy = 359, y = 0
E/EFL ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set() delta_y = 0, hy = 360, y = 0
Change-Id: Iaa32c138009efa5d04f5b2447af1ba230c912d06
Jeonghyun Yun [Wed, 28 Mar 2018 02:18:25 +0000 (11:18 +0900)]
elm_genlist: Update color class when item realized and unrealized for TV profile
@tizen_fix
Change-Id: Id57d7c1333aaf582826bec1c22e56e6721c96bb9
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
Shinwoo Kim [Tue, 6 Mar 2018 09:18:59 +0000 (18:18 +0900)]
Emit "elm,key,action,activate" signal
An widget could be activated by key event, or AT-client such as screen-reader.
User could want to get sound feedback for this kind of activation.
The "elm,key,action,activate" signal will work for this.
Change-Id: I152b77dcc46dcdba4f73c9a5c962db7e5f8bfa1f
Shinwoo Kim [Fri, 16 Mar 2018 13:15:54 +0000 (22:15 +0900)]
atspi: do not expose name of PASSWORD_TEXT
The AT-client could get the name of PASSWORD_TEXT.
This could be fixed in _elm_entry_elm_interface_atspi_accessible_name_get,
but user defined accessible name should be accessible by the AT-client,
so _elm_widget_elm_interface_atspi_accessible_name_get is proper place.
Change-Id: I7ababb86e60dedb6882662dca6f66e35bba20024
Woochan Lee [Wed, 21 Mar 2018 01:04:57 +0000 (10:04 +0900)]
elm_spinner: Spinner value adjust when round enabled.
The round value was not being applied when input the value as an internal entry.
https://phab.enlightenment.org/D5843
Change-Id: I991548bb3a1289a093d88dbe95a8c84aec556d99
Woochan Lee [Tue, 20 Mar 2018 12:26:15 +0000 (21:26 +0900)]
elm_gesture_layer: Add new config value to handle tap finger size.
The tap_finger_size value of the concept is different from the finger_size value used in the past.
We need a minimum value for recognize the gesture as a tap or not.
Since the actual screen has different screen sizes, there is a problem that the recognition rate of tap is lowered when using the existing value(finger_size)
https://phab.enlightenment.org/D5842
Change-Id: I197f55e78ef6a1b76998ce2696858b87b2329389
JunsuChoi [Mon, 19 Mar 2018 08:23:29 +0000 (17:23 +0900)]
atspi : Add eldbus arguments for GetDefaultLabelInfo
Change-Id: I72cfb662b5ad5cc4c3aeb6fe738b33084ba56e26
Shinwoo Kim [Tue, 13 Mar 2018 09:13:11 +0000 (18:13 +0900)]
atspi: emit STATE_CHANGED signal
The atspi bridge has not sent STATE_CHANGED signal by commit 8e97952.
It was a mistake of commit 8e97952. We should send STATE_CHANGED signal again.
Change-Id: Id87c3b5d8d755bb15fcf9b8da0fd880e68c6a876
Youngbok Shin [Fri, 2 Mar 2018 04:44:23 +0000 (13:44 +0900)]
textpath: update map when object's position is updated
Updating map in the smart move override function is not valid.
The position is not updated to the object's structure in the function.
It can be replaced with evas_map_util_object_move_sync_set() function.
@tizen_fix
Change-Id: Ic1e09887aa87437de2b1204fc58e762ed4e427c4
Shinwoo Kim [Tue, 13 Feb 2018 05:29:45 +0000 (14:29 +0900)]
atspi: do not emit HIGHLIGHTED signal if ecore evas is obscured
The obscured application could call elm_atspi_component_highlight_grab.
The elm_atspi_component_highlight_grab emits STATE_HIGHLIGHTED signal.
This makes another visible application loses its highlight.
Example:
The "power system popup" could launch the "touch sensitivity".
Before showing the "touch sensitivity", the "wearable home" shows for a moment.
At this poisnt, the "wearable home" tries to grab highlight.
Change-Id: I47406135e6f6c5291ef28b0ab23dda7491eebba9
JunsuChoi [Tue, 6 Feb 2018 11:40:19 +0000 (20:40 +0900)]
atspi : Add attributes support for the default label.
If "default_label" attribute is appended "enabled_without_window" from window,
it works with default labels for some roles.
and if "default_label" attribute is appended "disabled"
from object that work default label, it don't work default label
Change-Id: I4516435133e77929852740f2b584611fe51763e0
JinYong Park [Wed, 31 Jan 2018 08:06:54 +0000 (17:06 +0900)]
popup: add block,clicked event to main layout for toast/small style only
In wearable profile, toast/small style popup need extraordinary event callback
For that style only, send block,clicked event when user touch in popup.
@tizen_fix
Change-Id: I3be25fd26e5dcd8acd685c9ed558cb4733b5d768
Signed-off-by: JinYong Park <j4939.park@samsung.com>
SangHyeon Lee [Tue, 30 Jan 2018 07:11:18 +0000 (16:11 +0900)]
genlist : apply focus bg hide when list is scrolled
Change-Id: I6ae00177d35d389d005dba0ee7669e37bebc28c2
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
SangHyeon Lee [Mon, 29 Jan 2018 07:12:04 +0000 (16:12 +0900)]
genlist: update focus_bg when min size is recalced
Change-Id: Icf645e8fa8ec78b4ef77b08a4304fe1115fff8c8
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Hosang Kim [Thu, 25 Jan 2018 10:55:01 +0000 (19:55 +0900)]
genlist: add edje message signal process in cache push.
To avoid create edje job, so edje job makes unnecessary rendering.
Change-Id: I47d57712aecd45758365a0116d57b0d0b12bd18a
JunsuChoi [Tue, 16 Jan 2018 08:08:53 +0000 (17:08 +0900)]
Revert "Revert "atspi: fix name, description callback issue""
This reverts commit
11d7fcf8973e410591d729a012c6bc89b0d25900.
Change-Id: I1e2001e44335b0197b2c47756a07c3c73e574297
JunsuChoi [Tue, 16 Jan 2018 08:05:30 +0000 (17:05 +0900)]
Revert "Revert "[Accessibility]: Access frame going behind popup issue fix when popup is created in transition,finished callback.""
This reverts commit
6c4467a7ce20faed01530e224cb52f30e1feef28.
Change-Id: I3abe687c48d3474fd4bcbe7ff814954441a58a55
SangHyeon Lee [Fri, 19 Jan 2018 08:31:37 +0000 (17:31 +0900)]
elm_genlist: add updating content logic when language is changed.
when language is changed, genlist content's text is not translated.
So I added elm_genlist_item_fields_update with ELM_GENLIST_ITEM_FIELD_CONTENT.
This patch is tizen_3.0 merge patch
@tizen_fix
Change-Id: I0075b8482ffaa55b2c503d8f1abad99d2e51b9fb
jiin.moon [Thu, 18 Jan 2018 03:57:06 +0000 (12:57 +0900)]
elm_config : fix the mismatch count of init/shutdown call
Change-Id: I94ed13a07db0d636f0e2b8df317c1ca3c9bf0821
Jaeun Choi [Thu, 18 Jan 2018 05:09:10 +0000 (14:09 +0900)]
elm_panel: [atspi][panel] Adds accessibility support for the panel widget
@tizen_only
Change-Id: I89c47a40c808c71ff991c3e37066f47e1edb2c2f
Jaeun Choi [Thu, 18 Jan 2018 04:43:34 +0000 (13:43 +0900)]
elm_panel: add "elm,state,hold" signal in _drawer_close()
@tizen_only
Change-Id: I4cc2de3fad9775dd7526db354cafd392923c16b8
Jaeun Choi [Tue, 16 Jan 2018 05:45:36 +0000 (14:45 +0900)]
elm_panel: add exception handling in _drawer_close()
this fixes a bug with scrollable panel not being blocked
when it is closed. scroll is blocked in _anim_stop_cb(),
which is called after elm_interface_scrollable_region_bring_in().
but if panel content is already at the target position, _anim_stop_cb()
is not called. so there is a need to check content's position and
handle the exceptional case.
Change-Id: I9b993dd4d5f776511b5f0b1006cfc6302cadaf76
origin: upstream (
d36c849e2003aaa54432b74bcabe9f838d992a36)
Jaeun Choi [Mon, 8 Jan 2018 08:23:51 +0000 (17:23 +0900)]
elm_panel: prevent redundant callback function addition or deletion
there is a need to check if callback functions already exist or not
before adding or deleting them, because they are added or deleted
at two points:
in _elm_panel_scrollable_set() and _elm_panel_elm_widget_disable().
Change-Id: Ieb534ce6842a9fc8577d4608b21953cf52d49a26
origin: upstream (
65b828b050abc56a1aee4f722535de3e0bea5fbb)
JinYong Park [Thu, 11 Jan 2018 02:41:44 +0000 (11:41 +0900)]
ctxpopup: fix unintentional item style change
When ctxpopup set style, show, set horizontal, change item's text,
item change style to smae with ctxpopup although it has its own style.
Change-Id: If2a7b897ee156015af078db7eee4b10fd1f9d56d
Signed-off-by: JinYong Park <j4939.park@samsung.com>
JinYong Park [Thu, 11 Jan 2018 07:31:06 +0000 (16:31 +0900)]
ctxpopup: add animation signal emit after sizing eval.
In some case, sizing eval calculate new ctxpopup direction,
but animation signal doesn't be emitted.
For example, move ctxpopup after show is called.
Change-Id: I19c4ef215853783d18f80b1469584979dbbe0fc6
Signed-off-by: JinYong Park <j4939.park@samsung.com>
Jeonghyun Yun [Thu, 11 Jan 2018 07:32:40 +0000 (16:32 +0900)]
elm_datetime: elm_widget_can_focus_set before module init for support TV UX
@tizen_fix
Change-Id: I802dd21e1a0ea66c4d984b54091bb98fe4163e9c
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
Shilpa Singh [Wed, 15 Nov 2017 12:48:33 +0000 (18:18 +0530)]
elc_ctxpopup: Add item_style_get API
Change-Id: I1911c4fb41a21e71ffeb9cfde193755872f6909b
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
(cherry picked from commit
62bfee336397cc980f003e27213f2ffefae4c545)
Jaehyun Cho [Tue, 9 Jan 2018 06:48:32 +0000 (15:48 +0900)]
naviframe: Move focus from last content to first content by focus next
Previously, if naviframe focus reaches to the last content, then the
next focus goes to naviframe itself and focus remains the last content.
Now, if naviframe focus reaches to the last content, then the next focus
goes to the first content.
Change-Id: I2bac890cd5953bfe77fee47044b2f86ce7d4c148
SangHyeon Lee [Fri, 5 Jan 2018 08:04:04 +0000 (17:04 +0900)]
genlist: fix white bg issue in item clip unset
Change-Id: If610c2ec963452e971aaa9ea08b443b13d4a695b
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Youngbok Shin [Tue, 2 Jan 2018 11:18:12 +0000 (20:18 +0900)]
layout: add elm_layout_valign_set/get APIs
@tizen_feature
Change-Id: Id49dff4811801aa4d6bbd691177003eeeda14612
Youngbok Shin [Wed, 27 Dec 2017 10:28:31 +0000 (19:28 +0900)]
entry: fix cursor position initialization issues when theme is changed
The issue was caused by the following patch.
"elm_entry: Save cursor position before entry text clear"
It needed to get cursor position at the text_set function to avoid
cursor position issue by delaying signal callback functions.
So, we can't remove the patch. In the theme_apply, we need to handle
cursor position more carefully to fix this side effect.
@tizen_fix
Change-Id: Id63aa401ba2572559bc241f54350b781c72f5092
Youngbok Shin [Wed, 20 Dec 2017 05:06:40 +0000 (05:06 +0000)]
Revert "Revert "entry: disable text selection by user interaction if elm_entry_select_allow_set() is called with EINA_FALSE""
This reverts commit
ef9dc3b049a2c7511b37fffb62146d982555a19b.
Change-Id: I4079041ae846223b16db40a980fb9ac591c7aa08
Youngbok Shin [Tue, 19 Dec 2017 07:05:48 +0000 (16:05 +0900)]
Revert "entry: disable text selection by user interaction if elm_entry_select_allow_set() is called with EINA_FALSE"
This reverts commit
a11b7e7b5eb67b701b72d1354afef9c32cc4bb0d.
Change-Id: I47ac1d84c1bbad7f21380aaad7adcfeb8f613fa8
SangHyeon Lee [Tue, 19 Dec 2017 06:34:55 +0000 (15:34 +0900)]
genlist: fix tooltip_cb_set wrong exception handling
Change-Id: I34fa14a91213917fb0842ba36e4bf0efb29ba953
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Youngbok Shin [Wed, 13 Dec 2017 10:29:47 +0000 (19:29 +0900)]
entry: disable text selection by user interaction if elm_entry_select_allow_set() is called with EINA_FALSE
@tizen_fix
Change-Id: I86a2bc892f8de66c3d59b270f6146f03ac225506
Shinwoo Kim [Fri, 8 Dec 2017 07:54:54 +0000 (16:54 +0900)]
atspi: not accept redundant leaf object
An object which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, has been acceptable
so far regardless its children. So it was possible to find its children.
But it does not make sense to accept ELM_ATSPI_ROLE_REDUNDANT_OBJECT object if
it does not have children.
There was an issue on Browser application because we accepted REDUNDANT leaf
object. There is a button which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, this
button would be used for conveying focus event to embedded web page.
The button was accepted, so it was not possible grab an object on web page.
Please refer to following part of accessibility tree. It is not possible to
get Elm_Atspi_Ewk_Wrapper, if Elm_Button is accepted for "GetNavigableAtPoint"
Elm_Layout
- Elm_Button [redundant object][0,148,1080,1604]
- Elm_Atspi_Ewk_Wrapper [embedded][0,148,1080,1604]
Change-Id: I355a913314d0132e0b0e0f7779e1d7c0b66b25db
Shinwoo Kim [Wed, 29 Nov 2017 12:14:19 +0000 (21:14 +0900)]
atspi: do not accept ELM_ATSPI_ROLE_IMAGE_MAP
There are two widgets using ELM_ATSPI_ROLE_IMAGE_MAP role.
One is elm_mapbuf which does not have to grab highlight.
It does not make sense because the elm_mapbuf only works for its content.
The other is elm_map. So far the elm_map does not have to grab highlight, and
it seems that the ELM_ATSPI_ROLE_IMAGE_MAP is improper role for elm_map.
We have to find proper role for elm_map when it is neccesary to grab highlight.
So this patch set would be reasonable.
Change-Id: I8fc82c8f278b12f1e6367f4e40bf6b37c44b1481
Youngbok Shin [Mon, 4 Dec 2017 08:36:30 +0000 (17:36 +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: I0ff3a8dee81aef26f3cbce38477b816e7bd576f2
SangHyeon Jade Lee [Thu, 30 Nov 2017 04:24:15 +0000 (13:24 +0900)]
genlist: enabled select on focus
Change-Id: I9740b7ef0148c24bacc126a439fc1f8cfd64ceb0
Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
Jeonghyun Yun [Wed, 29 Nov 2017 06:29:39 +0000 (15:29 +0900)]
focus: Add second_level for focus direction weight calculate
@tizen_fix
Change-Id: Ifab1a45485741b12ac68a17a5fb24581dab3bce8
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
Youngbok Shin [Tue, 28 Nov 2017 11:53:34 +0000 (20:53 +0900)]
entry: improve performance for updating cursors
There is a patch on upstream EFL.
https://phab.enlightenment.org/D4223
@tizen_feature
Change-Id: I8abdfbf96ea757c5e1ab48a235315cc4aa00b858
SangHyeon Jade Lee [Wed, 22 Nov 2017 05:12:00 +0000 (14:12 +0900)]
genlist: fix item calculation performance issue
in calc(),
we only need to process first viewport items,
but currently it forcely calculate block sized items in
every single calc() funciton calls because of || operator.
it must be changed as && operator for orignal purpose.
Change-Id: If57081046d67c09d66c360dbbb75b31101ecc1e6
Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
Shinwoo Kim [Mon, 6 Nov 2017 12:04:13 +0000 (21:04 +0900)]
atspi: Use bottom up approach for PAGE_TAB
The naviframe item is elm_layout, and its atspi role is ELM_ATSPI_ROLE_PAGE_TAB.
The screen-reader could ask an object at point by using the naviframe item as a
root object. In this case, elementary did not us bottom up approach.
For the consistency, and to make it work better, This patch set is using the
bottom up approach for the naviframe item.
Change-Id: Icfe0791e340dac0c3998b56217fab8c34922cc5b
Shinwoo Kim [Mon, 6 Nov 2017 12:20:06 +0000 (21:20 +0900)]
Suppress build warning message
Change-Id: I320984158df1ad037005472c40451546d4e9ea3a
Youngbok Shin [Tue, 14 Nov 2017 04:49:19 +0000 (13:49 +0900)]
rename .gbs.conf to gbs.conf.bak temporarily
There was a build failure issue with the latest gbs (0.24.9).
I found removing .gbs.conf will fix the issue.
Also, modifying upstream_branch's value "upstream" to
"origin/upstream" or "origin/tizen" etc will fix it, too.
I don't know which way is correct way to fix this issue.
To keep history of this file, I just rename it.
So, you can use gbs 0.24.9 to build the packages.
@tizen_fix
Change-Id: I668f5c6aa0bff1e1fc5cbd5d8600f87335e30844
Myoungwoon Roy, Kim [Mon, 13 Nov 2017 00:36:54 +0000 (09:36 +0900)]
Remove invalid link for examples
Change-Id: Idff895c2ec25d1aa0a6b777fc6b6200c46ecd269
Jeonghyun Yun [Thu, 9 Nov 2017 01:19:17 +0000 (10:19 +0900)]
elm_panel: show and hide necessary object when scrollable is set
@tizen_fix
Change-Id: I229f9872551a5ba656c9fd91a1f62b34db282824
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
Shinwoo Kim [Tue, 31 Oct 2017 10:54:04 +0000 (19:54 +0900)]
atspi: use correct object for highlight_grabbing
elm_object_accessibility_highlight_set is using VIEW object as a "target"
object for the ELM_WIDGET_ITEM_CLASS object. And the "target" object is used
for all highlight related lines in the elm_win including highlight_grabbing.
So when the elm_widget sets highlight_grabbing for the ELM_WIDGET_ITEM_CLASS
object, the VIEW object should be used.
Change-Id: I6bd1e40e69883e81f968ea82a6a48be9204206d2
Shinwoo Kim [Mon, 23 Oct 2017 08:53:39 +0000 (17:53 +0900)]
Enhacne documentation
- elm_win.eo
Change-Id: Idd209c7f17ea5e5be362be5a92c18c7fc2487a62
Taehyub Kim [Thu, 26 Oct 2017 02:19:59 +0000 (11:19 +0900)]
Revert "atspi: fix translation domain for naviframe item"
This reverts commit
8878a133735f1a67752051e64298d1650a8aa861.
Change-Id: I5d28b247334752a01e9cd6f42c497cd008a267b9
Taehyub Kim [Thu, 26 Oct 2017 02:19:35 +0000 (11:19 +0900)]
Revert "atspi: fix name, description callback issue"
This reverts commit
1932e8f4831a8762611bee2c0a1ea0befd01f4d2.
Change-Id: I3f79dc65dbccdfded1b028326ebc542ca1bffadf
Taehyub Kim [Thu, 26 Oct 2017 02:19:05 +0000 (11:19 +0900)]
Revert "atspi : Do not send signal, if current object and highlight object are same"
This reverts commit
093c6b99032156e726b88c7ab09b4a54adec4ce1.
I9d64b853a7218269d3498c09ca4c1cef461d0b98
Change-Id: I9e9ac517df185ec45e992aedf88ecab847c52f63
Taehyub Kim [Thu, 26 Oct 2017 02:17:50 +0000 (11:17 +0900)]
Revert "[Accessibility]: Access frame going behind popup issue fix when popup is created in transition,finished callback."
This reverts commit
70f64ff792790cf06528bd1bd98fd37ed05dfda2.
Ic52cb8faa0c122883a2bff33fb853a51f8f54ed5
Change-Id: I5790d4d1f1575a8cd7ec0e160426a4b13003a17d
Jeonghyun Yun [Mon, 23 Oct 2017 11:44:18 +0000 (20:44 +0900)]
elm_url: matched between url and proxy environment
@tizen_fix
Change-Id: Ic46db15739a1c86d39b223aa47cf114d52419f3e
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
Shilpa Singh [Wed, 18 Oct 2017 13:31:04 +0000 (19:01 +0530)]
[Accessibility]: Access frame going behind popup issue fix when popup is created in transition,finished callback.
Change-Id: I4e4bdf9c7ce6bd9528311319119c5f8c9e287d17
JunsuChoi [Fri, 20 Oct 2017 05:28:18 +0000 (14:28 +0900)]
atspi : Do not send signal, if current object and highlight object are same
Change-Id: I25a207cbba4562ae364412d1753d9034c96243c3
Shinwoo Kim [Fri, 20 Oct 2017 05:51:28 +0000 (14:51 +0900)]
atspi: fix name, description callback issue
The accessible name, description callback did not work for the naviframe item.
Because the naviframe item has used VIEW object for its accessible object.
If user calls elm_atspi_accessible_name_cb_set(naviframe_item, cb, data),
then the callback cb should set to VIEW object, not naviframe item, because
atspi_accessible_name_get is using the VIEW object.
Change-Id: I8b0d25d36b8e66a45a3757efa900ff9082d6fbf3
Shinwoo Kim [Fri, 20 Oct 2017 01:12:19 +0000 (10:12 +0900)]
atspi: fix translation domain for naviframe item
The naviframe item have used its VIEW object for accessible name and
description. But the naviframe item did not care about the translation
domain. So there was a translation problem.
Change-Id: I3163f4b078a62c82686806f265487c9a3082abc9
Sungtaek Hong [Thu, 19 Oct 2017 08:30:49 +0000 (17:30 +0900)]
efl_ui_textpath: fix potential memory leak
Change-Id: I7a1b171354ff66bb87a75b38aaa4ea5decea7a6d
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Jeonghyun Yun [Wed, 18 Oct 2017 22:48:46 +0000 (07:48 +0900)]
elm_scroller: fix scrolling with key move
Use content_region_show instead of content_pos_set in _key_action_move
Summary:
When user keep pressing key down or else on scroller content, scroller
animation is lagging because of elm_interface_scrollable_content_pos_set
by step_x or step_y value. When focus moved to next object by press key
down or else, content_pos_set by ecore_animator continuously. In this
time, content_pos_set in _key_action_move by step_x or step_y value
caused animation lagging problem. I fixed to use content_region_show
instead of content_pos_set in _key_action_move for remove exist
animator.
Test Plan:
1. elementary_test -> Scroller3
2. Press 3 times "Append 10 Items in 3s" button
3. focus to Item1 and keep pressing key_down
Reviewers: jpeg, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5278
Change-Id: Ia112e52594ad1189fe767bcc7bb0c37a82bcc3e6
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
JunsuChoi [Fri, 13 Oct 2017 03:13:31 +0000 (12:13 +0900)]
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.
Change-Id: I1a626a6cf650a0fc05aed22c38fc192267aeb8ef
Thiep Ha [Fri, 1 Sep 2017 02:21:52 +0000 (11:21 +0900)]
migrate from upstream efl_ui_textpath
migrate patches from upstream with adaptation:
b0d185ac127297f5dd73cb8b58966fd0256611d7
172cf67d161626bd97e16a9508e4e803c711c156
b55cb4feb1c35a0a6b31ac1ccbadc76432f581bc
Change-Id: Ia04e81150822b40c2f4ec0b76f40348adeb09c25
Shinwoo Kim [Tue, 17 Oct 2017 02:23:21 +0000 (11:23 +0900)]
Enhance documentation
- elm_entry.eo
- elm_flip.h
- elm_flipselector.h
- elm_config.h
- elm_focus.h
- elm_gen.h
- elm_object.h
- elm_genlist.eo
- elm_genlist.h
- elm_grid.eo
- elm_icon.h
- elm_image.h
- elm_image_legacy.h
- elm_index.h
Change-Id: Ic82c977595f8819f53552b38174815e06268952b
Sungtaek Hong [Wed, 5 Apr 2017 06:43:33 +0000 (15:43 +0900)]
elm_map: fix copyright scalability issue
- Since copyright may have long text, the text cannot be shown properly
in low resolution.
@tizen_fix
Change-Id: I063b386bf4ec2c4b8a1f29d7d3cbff6abed9802e
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Wonki Kim [Tue, 10 Oct 2017 07:56:44 +0000 (16:56 +0900)]
elm_box: fix a potential null pointer dereferencing in elm_box
Summary:
if 'evas_object_smart_data_get' return null somehow,
logic that dereference the smart data pointer will cause problems.
This patch prevent a potential bug in advance.
Reviewers: jpeg, woohyun, cedric
Differential Revision: https://phab.enlightenment.org/D5290
Change-Id: I3bb685468cc3bdf44bddff1c51988f8ab37e7627
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Shinwoo Kim [Mon, 16 Oct 2017 06:58:56 +0000 (15:58 +0900)]
atspi: not use destructed eo object
It is possible to access destructed eo object using ATSPI interface.
The following sequence is possilbe, because AT-client such as screen-reader
does not know whether a widget object deleted or not.
1. _elm_radio_evas_object_smart_del
2. _elm_radio_elm_interface_atspi_accessible_state_set_get
So before using eo interface, we have to check if the eo object is vlid or
not using eo_destructed_is.
Change-Id: I7ffaf7bd905dcc2ef5770d9c1cef9de52ec77322
Youngbok Shin [Tue, 17 Oct 2017 04:02:43 +0000 (13:02 +0900)]
examples: remove doxygen warning messages
It only remove warning messages which don't need example files.
Change-Id: Ia152012a0a197d7cc0472fefddeeccc090300f0f
Myoungwoon Roy, Kim [Wed, 11 Oct 2017 05:40:10 +0000 (14:40 +0900)]
Remove @ref for Start
Summary:
Since there is no Start page on upstream,
Remove @ref mark for Start.
Change-Id: I88ca7a1f5888c6090ecaf9d49ed7277595dcae74
Woochan Lee [Tue, 10 Oct 2017 10:57:59 +0000 (19:57 +0900)]
Spinner: Fix can't input number in case of min value is bigger than 1.
Min Max validate logic has been changed to support decimal point counting.
It makes this side effect.
Change-Id: Iede1a1ee48b60680387a770eaecd68a499d9eed4
JunsuChoi [Wed, 11 Oct 2017 03:12:45 +0000 (12:12 +0900)]
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: I5b9535b9f1ef7a515e3958af07dc0a61f1802782
JunsuChoi [Wed, 11 Oct 2017 13:09:14 +0000 (22:09 +0900)]
atspi : Do not center align when genlist item is highlighted in wearable profile
Change-Id: Ief1158011fd204cb10eed4b3576518dd7d55d64f
JunsuChoi [Wed, 13 Sep 2017 03:04:42 +0000 (12:04 +0900)]
atspi : Add check for chain end object with attribute
When searching for a neighbor object,
check whether there is an "relation_chain_end" attribute.
If it does, it returns the current object.
Change-Id: Ic5f9ded9c9f6a77dae8f940c2271544d6007813d
JunsuChoi [Fri, 29 Sep 2017 04:10:39 +0000 (13:10 +0900)]
atspi : Remove role check when getting an accessible object to a point.
Change-Id: Ie676a19164929d94c95d43044f1e585056d55874
JunsuChoi [Fri, 29 Sep 2017 11:55:32 +0000 (20:55 +0900)]
atspi: 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
Change-Id: I8ad128bba766c97ddf3dd28ad788c0e2dd1d3554
Jeonghyun Yun [Wed, 11 Oct 2017 01:45:57 +0000 (10:45 +0900)]
elm_image: stop preloading before intenal_file_set as it may hit to-be-freed memory
Change-Id: I8df88ac5736058983a5c3db1addd573402b214bc
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
JunsuChoi [Fri, 29 Sep 2017 07:35:41 +0000 (16:35 +0900)]
add return check for eldbus
Change-Id: If736b96e08b1ac991a6676743f670ca68ae9672c
Shinwoo Kim [Mon, 25 Sep 2017 13:57:02 +0000 (22:57 +0900)]
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.
Change-Id: I11db347b89f283ad2ab7fd5378ca123948dbbaf5
Shinwoo Kim [Sat, 23 Sep 2017 13:34:52 +0000 (22:34 +0900)]
atspi: win overrides atspi component get interface
(1) The efl_ui_win overrides _elm_interface_atspi_component_extents_get to give
correct value if screen_coord is EINA_FALSE which means relative position.
The efl_ui_win has given its object geometry value + ecore evas geometry value.
The object geometry value was equal to the ecore evas geometry value, so the
relative position was not correct(twice of ecore evas geometry value).
(2) Allow ELM_ROLE_INPUT_METHOD_WINDOW to send signal
Change-Id: I1b6832e960b3123d2a817d6253313447bc31af08
Shinwoo Kim [Wed, 27 Sep 2017 09:30:06 +0000 (18:30 +0900)]
atspi: make datetime itself unacceptable object
This depends on UI definition. The datetime itself does not have highlight.
Only each part objects such as inc/dec button, year, month, and day in it.
Change-Id: I6a14dec2a24ee280ad19fa885acec0992acc9400
Shinwoo Kim [Wed, 20 Sep 2017 04:14:27 +0000 (13:14 +0900)]
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.
Change-Id: I2edeefdc9a0c5955f1c28926321b74424c71bc40
Shinwoo Kim [Fri, 29 Sep 2017 05:28:21 +0000 (14:28 +0900)]
atspi: set elm_access layer to MAX
Set access object layer to max, because the highlight frame could be covered
by other object which has higher layer.
Change-Id: I16e54469f0c749fb2caab6da9ea68b8dc97d9b02
Shinwoo Kim [Thu, 28 Sep 2017 11:46:44 +0000 (20:46 +0900)]
elementary: atspi - fix dbus abort
This patch set fix following abort occured on dbus side.
(gdb) bt
0 __GI_raise (sig=sig@entry=6)
1 __GI_abort ()
2 _dbus_abort ()
3 _dbus_warn_check_failed
4 dbus_message_iter_append_basic
5 append_basic
6 eldbus_message_iter_basic_append
7 _bridge_signal_send
8 _text_text_removed_send
9 _bridge_accessible_event_dispatch
10 _elm_interface_atspi_accessible_event_emit
11 elm_interface_atspi_accessible_event_emit
12 _entry_changed_user_signal_cb
(gdb) f 12
(gdb) p *$1
$2 = {change = {insert = {content = 0x0, pos = 0, plain_length = 1},
del = {content = 0x0, start = 0, end = 1}},
insert = 0 '\000', merge = 0 '\000'}
The following patch set would fix the root cause of this problem.
https://phab.enlightenment.org/D5240
Change-Id: Ifea8c2fead631f06b7d54ce9a6517f795b3cbf06
Shinwoo Kim [Sat, 23 Sep 2017 08:42:55 +0000 (17:42 +0900)]
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'
Change-Id: Iebfb4ef75b5f32bf025e275dd9b548bd3581b2de
Shinwoo Kim [Thu, 21 Sep 2017 07:40:49 +0000 (16:40 +0900)]
atspi: support "default_label" attribute of window
Wearable profile application does not want to use default label functionality
because it is hard to meet application UI definition.
So if the window has attribute "default_label" key, and its "disabled" value,
then screen-reader does not read out default label, and does not clear
currently highlight object.
Application should append attribute as below.
elm_atspi_accessible_attribute_append(window, "default_label", "disabled");
This patch set works with following patch set.
https://review.tizen.org/gerrit/151570 (screen-reader)
Change-Id: I354c6ecf30db3a0011658d69577ad384fcb900db
Shinwoo Kim [Tue, 19 Sep 2017 11:28:12 +0000 (20:28 +0900)]
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: I0834f9d0625f4e787d6315ce4858bdec4a67ab18
Shinwoo Kim [Sat, 16 Sep 2017 08:09:33 +0000 (17:09 +0900)]
atspi: enhance line related to highlight frame
1. Before elm_widget_theme_object_set for a11y highlight frame was called in
_elm_win_accessibility_highlight_show which is called in highlighted object
move, resize callback.
2. Before evas_object_smart_changed was not called even though a11y highlight
frame is added as a smart member of highlighted object.
※ Refer to commit: c3b5da9 (atspi: make highlight frame be a smart member)
Change-Id: I1f5dc367d2fc5565d61ae12d44fb1e8a49eeb979
Hosang Kim [Thu, 28 Sep 2017 07:05:21 +0000 (16:05 +0900)]
elm_need_efret() - improve error handling according to coverity
fix CID 1360466, CID 1353589
we don't actually chekc if efreet inits right with elm_need_efreet()
as we just assume it inits (And there pretty much is no case where it
will not), but make coverity happy and check.
@fix
Change-Id: Ieb37ab35a6ebc3a7e30b9fd5be6bb0e5b06aa64f
(cherry picked from commit
1b28da85f8e76a9052e99e0bc9394cb26a42cdac)
Hosang Kim [Thu, 28 Sep 2017 06:40:44 +0000 (15:40 +0900)]
elm dbus menu - handle return value of eldbus_message_iter_arguments_get
handle possible error return of eldbus_message_iter_arguments_get()
according to coverity CID 1353591. this should fix that.
Change-Id: I213f644c6450e550f5a26fd9a0c11a707d71f94a
(cherry picked from commit
67fda5c6f55e323f72eba9ece0f35ff8822e7215)
Youngbok Shin [Thu, 28 Sep 2017 10:41:56 +0000 (19:41 +0900)]
elementary: fix memory leaks when using elm_prefs
"regex" is heap-allocated and is not handled by regfree().
We must explicitely call free() after a regfree() to remove
the regex_t from memory.
Change-Id: Ib278f4bd49b6246b7d6eaf7f646dd1c36aca4419
Author: Jean Guyomarc'h <jean@guyomarch.bzh>
Date: Fri Aug 12 16:36:12 2016 +0200