Thiep Ha [Wed, 14 Jun 2017 01:40:27 +0000 (10:40 +0900)]
elm config: add more NULL check
Add NULL check when we cannot allocate memory.
Change-Id: I69d549cec3726e6f4e24b47b37c5bc4de0035440
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
Youngbok Shin [Fri, 9 Jun 2017 08:16:58 +0000 (17:16 +0900)]
elementary entry: update focus state when editable state is changed
Summary:
To recieve keyboard events, the entry_edje should have Evas focus.
But, if a non editable Entry widget takes focus, it can't recieve
keyboard events even if it becomes editable after taking focus.
So, elm_entry_editable_set() function should update Entry's focus state.
@fix
Test Plan:
The code of elementary_test - entry is modified to test this issue.
Please, check the issue with the following steps.
1. Run "elementary_test entry"
2. Click "Unfocus" button to make entry to "unfocused" state.
3. Click "Edit" button to make entry to non-editable mode.
4. Click "Focus" button to make entry to "focused" state.
5. Click "Edit" button to make entry to editable mode.
6. See a cursor is blinking in entry.
=> But, you can't edit text without this patch.
Reviewers: raster, herdsman, cedric, jpeg, woohyun
Differential Revision: https://phab.enlightenment.org/D4858
Change-Id: Iee51cf29a116aacf7a18d7bf82a2c7bbc58d8696
JunsuChoi [Fri, 9 Jun 2017 08:03:37 +0000 (17:03 +0900)]
[ATSPI][Popup] "Alert" reading text of popup is inserted when user does not set Accessible name.
Change-Id: I58e657a4253fa25ec57f42977088537cd529dfc6
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
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
JunsuChoi [Thu, 8 Jun 2017 03:18:20 +0000 (12:18 +0900)]
Revert "[Scroller] Filp to cords for RTL mode in wanted_region_set"
This reverts commit
f9d1f7303e4774124098193247838b70387b1dbd.
Change-Id: I98e34223b90b3afe868c9fa2ac77e6c136df2565
JunsuChoi [Thu, 1 Jun 2017 07:24:45 +0000 (16:24 +0900)]
[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
This commit has merged several commits applied to tizen_3.0 branch
89388 [ATSPI] Show the object highlighted by highlight_grab when the object is completely out of the scroll
d7005 [ATSPI] Modify highlight grab of scrollable widget
4d34b [ATSPI] Modify highlight region show
c744f [ATSPI] Add check the object is in the scroller content size
c03a9 [ATSPI] enhance expose highlight information on atspi
Change-Id: Iaf7d61e7cff1e6e97e88e1117b0d8f00e674bd7e
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>
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
JinYong Park [Wed, 7 Jun 2017 03:41:07 +0000 (12:41 +0900)]
popup: fix unintentional object deletion when change scrollable
If popup scrollable change from FALSE to TRUE after content or text is added,
content_area is deleted, so it cause null pointer problem.
main_layout has content_area in its CONTENT_PART, but in scrollable_set API,
tbl set into main_layout's CONTENT_PART, so content_area is deleted.
On the contrary, if scrollable change to FALSE,
content object in content_area is deleted, because tbl set into content_area's CONTENT_PART.
So if some object set into other object,
unset previous object and set it into properly part after that.
A case using item_append should be fixed by other patch.
@fix
https://phab.enlightenment.org/D4894
Change-Id: Ief2d9d0bdb95bdcb3376181d5f7a905c3f3715e0
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
SangHyeon Lee [Fri, 2 Jun 2017 00:55:04 +0000 (09:55 +0900)]
genlist: theme_object_set returns enum not bool, so now genlist check enum values
Change-Id: If7998e36b8f10937c11e3df21b9d5062a6cb059c
Hosang Kim [Wed, 5 Apr 2017 04:28:01 +0000 (13:28 +0900)]
conformant: refer to window position when reflecting keyboard size
The vitural keyapd geometry is absolute coordinates value.
But conformant geometry is relative coordinates value.
When calculating overlapping size between keypad and conformant,
there is calculation error. So add window's x, y position for accurate
calculation.
@tizen_fix
Change-Id: Ia6fe558716439e39ccbc4e364fec309f80385f25
(cherry picked from commit
ff36b8e6c46817de8ce99ad096bcdf54a66f4146)
JinYong Park [Wed, 31 May 2017 07:40:02 +0000 (16:40 +0900)]
popup: remove previous object when content set NULL
Other widget removes previous object when set content NULL, but popup do nothing.
Of course using content_unset is able to remove previous object,
content_set(NULL) should be availalbe to remove that object for uniformity of the entire widget.
@fix
https://phab.enlightenment.org/D4885
Change-Id: I34d4f2be8ba04ac54c70b1f30d0c4a2478075eff
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
Youngbok Shin [Fri, 17 Feb 2017 09:21:55 +0000 (18:21 +0900)]
layout: add elm_layout_text_valign_set/get APIs
There is a need of changing vertical align using API from EFL C# dev team.
* dependency warning
- efl
edje: add part_text_valign property for internal usage
https://review.tizen.org/gerrit/#/c/115318/
@tizen_feature
Change-Id: Ied58ddd926f22dc2e043c379ee366487cbf2dca5
Woochan Lee [Thu, 25 May 2017 11:12:14 +0000 (20:12 +0900)]
spinner: Add signal to notify the value of spinner has been reached at min, max.
Summary: The User requires this signal to handle spinner widget easily on their app.
Test Plan: Spinner test on elementary_test.
Reviewers: cedric, jpeg, Hermet, woohyun, Jaehyun, myoungwoon, Jaehyun_Cho
Reviewed By: myoungwoon, Jaehyun_Cho
Subscribers: myoungwoon, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4886
Change-Id: If5e0ba0223244a63f2b0fbd26955f40d3398fe54
Youngbok Shin [Mon, 29 May 2017 04:39:04 +0000 (13:39 +0900)]
label: Add elm_label_text_style_user_push, pop, peek APIs for internal usages
It is internal APIs only for C#.
@tizen_feature
Change-Id: Ic5e1f615f84d447641c3e3537052fe74d49dc17e
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
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
Bowon Ryu [Fri, 26 May 2017 04:01:56 +0000 (13:01 +0900)]
elm_toolbar: added to ensure different sizes of items in shrink mode.
Change-Id: I9f8a14e77a8859c9a7543e442f8355d5ef5c0d3d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Jeeyong Um [Tue, 23 May 2017 06:30:52 +0000 (15:30 +0900)]
doc: Add missing "Elm_" prefix to doxygen group name
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ia9b1279b60cb4ba67b4ee624b78c735652ad4a3f
Jeeyong Um [Tue, 23 May 2017 04:53:09 +0000 (13:53 +0900)]
doxygen: fix group definitions to sync with autogenerated ones
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ie69031ca458101f7d10a0674c70637310dfe01db
SangHyeon Lee [Wed, 24 May 2017 06:35:06 +0000 (15:35 +0900)]
gengrid: check NULL pointer of focused item before edge check on key action move
@fix
Change-Id: I0c85b6a4cbb73a9a66d17bf3498f6ce18fd3283e
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
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>
JinYong Park [Wed, 24 May 2017 03:45:13 +0000 (12:45 +0900)]
ctxpopup: move position in hover area
If user move ctxpopup out of hover area,
size calculation works not good.
Move position in hover area forcibly.
Change-Id: I2117f66b0066cac607f4769bf53bef23c3724a89
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
JinYong Park [Wed, 24 May 2017 04:01:06 +0000 (13:01 +0900)]
popup,ctxpopup : remove build warning
Change-Id: I24aefbb0b587a25a0a551856a3ca781c13f30546
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
SangHyeon Lee [Fri, 12 May 2017 06:44:27 +0000 (15:44 +0900)]
genlist: genlist list mode scroll should expanded at least genlist width size
Change-Id: Ife480551c96807607ff54b39433afcf2b1eb6292
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Taehyub Kim [Tue, 23 May 2017 06:22:39 +0000 (15:22 +0900)]
elm_cnp: add ECORE_WL_EVENT_DATA_SOURCE_CANCELLED callback for releasing drag resource when drag is cancelled
Change-Id: I73a217820d454a7fecf2b485caa4d3a8e6d93935
Jeeyong Um [Fri, 19 May 2017 13:15:37 +0000 (22:15 +0900)]
hoversel: Backport internal _resizing_eval()
Signed-Off-By; Jeeyong Um <jc9.um@samsung.com>
Change-Id: I44344967758b15542d84dc1752bbbb6d025d9575
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
Woochan Lee [Thu, 18 May 2017 06:57:36 +0000 (15:57 +0900)]
multibuttonentry: Change name of signal.
Change-Id: I9f44d135b7f2dfb99f901649db57c7368d29b59c
Woochan Lee [Wed, 22 Feb 2017 07:24:45 +0000 (16:24 +0900)]
multibuttonentry: Hide last item divider on shrink mode.
Change-Id: Ifd238747a3eb8542de01111bed27d7a0564b6cd8
Shinwoo Kim [Thu, 20 Apr 2017 01:00:44 +0000 (10:00 +0900)]
atspi: enhance documentation
Change-Id: I597e0cf17c1e3958bd1d862504d1e2709cb599c9
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
Woochan Lee [Mon, 15 May 2017 04:39:37 +0000 (13:39 +0900)]
multibuttonentry: Separate selected item and focused item logic.
When user set a selected item on MBE creation time.
The internal logic will be broken.
So we need to seperate logic with them.
Change-Id: Ib44c015ecc7b19de4cf0abf0cbe1bafd0f1ad164
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
Shinwoo Kim [Wed, 17 May 2017 08:10:28 +0000 (17:10 +0900)]
atspi: Demote relation object if the object exist
Change-Id: If49cc6c33228e168dbc0b6f22eeed5d7c5111a9a
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
Sungtaek Hong [Tue, 16 May 2017 06:48:47 +0000 (15:48 +0900)]
Apply toolbar color_class
TIZEN_ONLY(
20170516): Apply toolbar color_class
elm_widget_class_color_set is applicable only to LAYOUT class.
Since elm_toolbar does not inherit elm_layout,
this needs to be implemented.
@tizen_feature
Change-Id: I76c412f6425608dbf77e0979bbc4b723cc2a0d67
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Woochan Lee [Wed, 17 May 2017 07:39:25 +0000 (16:39 +0900)]
calendar: Change the logic to get the name of days.
To support dynamically language change case.
To improve code quality.
Change-Id: If7a5e6f7850b93136544da882dd048a6ba8f29f4
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
Minchul Lee [Mon, 15 May 2017 12:23:30 +0000 (21:23 +0900)]
copypaste: modify for profile configurability of module
Change-Id: Ibf5f848a49bfebb9a1885859a7c969fc3fd66166
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
JinYong Park [Fri, 12 May 2017 06:07:01 +0000 (15:07 +0900)]
popup: add "visible_set(FALSE)" before calling dismissed callback
After hiding animation is finished, "dismissed" callback will be called.
It means popup's visible state is FALSE.
But if evas_object_show(popup) is called in it's custom dimssed callback function,
popup's visible state is TRUE, so evas_object_show is canceled.
So visible_set(FALSE) is must done before call dimissed callback.
https://phab.enlightenment.org/D4869
https://phab.enlightenment.org/D4710
Change-Id: Id46ea46760db8ae857a0b476eba3adfdb6efbe12
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
JinYong Park [Fri, 12 May 2017 06:08:49 +0000 (15:08 +0900)]
popup: enable to set last_button_number to 0
If last added button is removed, any statements to set last_button_number in for loop doesn't be executed.
So last button number has previous value, not 0.
Because of that, action area is not removed, but that area has zero height, so it doesn't be shown.
@fix
https://phab.enlightenment.org/D4870
Change-Id: I0b41af6bcfbe12991f47c4aadbd617c1da431540
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
SangHyeon Lee [Wed, 10 May 2017 11:14:33 +0000 (20:14 +0900)]
remove wrong unsigned char compare to apply profile config
Change-Id: I5731de60f20990200da4ec1f00fe256cf3779148
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
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>
JinYong Park [Wed, 10 May 2017 09:01:39 +0000 (18:01 +0900)]
notify: move set variables codeblock before send event callback
set variables must done before sending event callback
Change-Id: I9715a227463955cfdba9c4caf7bc164adf433d48
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
Minchul Lee [Mon, 8 May 2017 08:17:17 +0000 (17:17 +0900)]
theme: hecking the return value of a function strchr
Change-Id: I06d6206d04d6a77efd417ac401f39d9cbf7ad657
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
JinYong Park [Mon, 8 May 2017 03:44:48 +0000 (12:44 +0900)]
notify: fix wrong return
That function return EINA_BOOL, so previous code is wrong.
It changed "goto end", to return ECORE_CALLBACK_CANCEL
Change-Id: I252c7736491b96d1cf6e0d137bd127c5a6aca23d
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
SangHyeon Lee [Mon, 24 Apr 2017 08:15:41 +0000 (17:15 +0900)]
tizen_util: fix tizen profile wearable condition to have only 1 or 0 values
Change-Id: I1d68a9866393bb59329d6da44ed84f65890e5e80
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Taehyub Kim [Fri, 21 Apr 2017 08:26:33 +0000 (17:26 +0900)]
elm_cnp: fix for preventing bad file descriptor
Change-Id: Ieeaa87a96b22a0f753ceec12a51387e1825ef230
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
SangHyeon Lee [Mon, 27 Mar 2017 09:59:30 +0000 (18:59 +0900)]
gengrid: add focus raise feature
Change-Id: I345c2881db7e491857639b7772a4c648b297710f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
SangHyeon Lee [Mon, 27 Mar 2017 09:42:34 +0000 (18:42 +0900)]
gengrid: add visible/hidden signal for texts and contents
Change-Id: I164b230566b073e2abe3882ab0d12a1ba46218d3
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Jeeyong Um [Thu, 20 Apr 2017 07:45:53 +0000 (16:45 +0900)]
elm.hoversel: highlight selected item when auto update is enabled
================================================================================
elm.hoversel: highlight selected item when auto update is enabled
Summary:
When auto update is enabled, the label of the hoversel will be that of selected
item. This feature is usually used when changing state of something.
Highlighting item previous selected will show what is current state more
explicitly especailly hoversel has many items.
Test Plan: elementary_test -to hoversel
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4799
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com
================================================================================
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Id38c8d2ae0a4ae4816306f1608ab7fc0f342fe0f
Jeeyong Um [Tue, 28 Mar 2017 10:26:54 +0000 (19:26 +0900)]
license: Add macro to copy license file
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ibe858119a9299ab814d0f65f49e2bf2de7636828
Hosang Kim [Wed, 19 Apr 2017 04:18:39 +0000 (13:18 +0900)]
slider: fix slider indicator behavior
1. Slider indicator will be shown, when always visible mode is on.
2. When slider is disabled, slider indicator will be disabled, too.
@tizen_fix
Change-Id: Ia08e15a191c5cfced14b9cc4a1944af11b0acf5e
Woochan Lee [Tue, 18 Apr 2017 11:45:24 +0000 (20:45 +0900)]
Datetime: Spinner TV UI implement.
Change-Id: I3dbfaf5900ab19370a4c9f76040d93df73d29331
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
(cherry picked from commit
47dce7be68344698397dc61ffa4816111464ec42)
JinYong Park [Mon, 17 Apr 2017 01:01:08 +0000 (10:01 +0900)]
ctxpopup: add color_class parent-child relationship
Change-Id: I610e066db811d261843ac9802d746b70b89c160b
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
JinYong Park [Thu, 13 Apr 2017 09:14:37 +0000 (18:14 +0900)]
ctxpopup: fix size calc problem when base part size same with list
Change-Id: I3f0bff89ebb5b464fba218bd7c3b267b7bcec181
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
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
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
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
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
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
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
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
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
JinYong Park [Wed, 12 Apr 2017 06:19:43 +0000 (15:19 +0900)]
ctxpopup: add focus set to fix ctxpopup couldn't get focus
Change-Id: I365b6a9f38d78750b425cbc253e1988e6082d33f
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
junsu choi [Fri, 14 Apr 2017 08:19:03 +0000 (01:19 -0700)]
Revert "[atspi] add check to highlighted object when called highlight_grab"
This reverts commit
70e5f45194e82668c4cff0c4d20d7decb6371cc1.
Change-Id: I85bb8ccbbe4d126dbdcad72edabfcdccc8388f7e
JunsuChoi [Fri, 14 Apr 2017 07:40:27 +0000 (16:40 +0900)]
[atspi] add check to highlighted object when called highlight_grab
When the application calls highlight_grab, highlight_clear
callback of highlighted object is not called.
So check highlighted object and call highlight_clear function.
Change-Id: I32e287b673174a56882b46999959d06127c90a57
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
SangHyeon Lee [Wed, 12 Apr 2017 05:14:15 +0000 (14:14 +0900)]
genlist: add elm_win_auto_focus_enable check in focus highlight signal emit
Change-Id: Idcf3786e9f30e33bc66dbeef971c05f335a1d9e6
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Jongmin Lee [Tue, 11 Apr 2017 03:23:06 +0000 (12:23 +0900)]
tizen_util: support for runtime tizen profile configurability
Change-Id: I32c2fa22ae86286a2af1223291d334c150eeb54f
Jeeyong Um [Wed, 5 Apr 2017 09:03:40 +0000 (18:03 +0900)]
build: Change policy for elementary-mobile from replacement to add-on
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Id60028fc796f3a7b746ff4da24433adc313c6b3f
JunsuChoi [Tue, 10 Jan 2017 05:10:08 +0000 (14:10 +0900)]
[atspi][elm_popup] Ignore text from elm_object_text_set in accessible_name_get
Because of screen-reader need to read title
when object have dialog role(popup), but object_text_get gets
the body text. So, if user do not set accessible name in the popup,
elc_popup should return title.
@tizen_only
Change-Id: Iec9ce0d78203aeba5fdd0fd2e0f15891cc242730
JunsuChoi [Tue, 14 Mar 2017 09:13:43 +0000 (18:13 +0900)]
[elm_popup][atspi] expose part-text as at-spi object
Create an access object for the popup's elm.text. by default.
Because Application user can not access the edje object in elm.text.
Therefore, they can not create an access object for elm.text part.
Change-Id: Ie79cc9ee9e3a96529f3760159856563ca5216dca
JinYong Park [Tue, 11 Apr 2017 10:33:46 +0000 (19:33 +0900)]
notify: prevent hide or dismiss call during hididing
+ for duplicated hide event, if dismiss is called, remove timer
Change-Id: I5d749e63744cb5f96869428c576e131dfbee6df1
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
JinYong Park [Mon, 10 Apr 2017 09:51:22 +0000 (18:51 +0900)]
ctxpopup: add two flags set value for show again after dismiss
In case of first show, there flag value is initialized,
so show_signals_emit could be called normally.
But dismiss ctxpopup and show again, that two value is set other value
by dismiss function, so show_signals_emit is blocked
Change-Id: I734c17fc9168a3f584513b47ea596fa38aacc70b
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
SangHyeon Lee [Tue, 11 Apr 2017 04:35:05 +0000 (13:35 +0900)]
genlist: fix atspi action get return proper return types
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Change-Id: Ie17722374236241ec4cb21713f05c681c73cf634
Wonki Kim [Sat, 4 Mar 2017 12:19:19 +0000 (21:19 +0900)]
interface_scrollable: Fix scroller to keep its page when changing lang
When mirrored mode is changed, scroller goes to the logical current page
by reverting the current wanted x position.
However, that reverting logic doesn't take place when lang changed from rtl to ltr.
This commit modifies mirrored_set api to keep its current page even if lang changed.
Change-Id: I335a8829e93e4b0580dc172bc196d0f657773c6a
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Mon, 6 Mar 2017 03:18:38 +0000 (12:18 +0900)]
interface_scrollable: modify mirror logic consistently
Current logic inconsistently handles 'wanted coord' as both reversed or not.
That cause scroller unstable in complicated situation.
This commit modify mirror logic consistently and also
replace the same commit that is already merged but has no commit message.
(https://review.tizen.org/gerrit/#/c/104185/)
@tizen_fix
Change-Id: I1cdb6cb483d99d2f1926ac97381f4aa60c3d68ba
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Mon, 6 Mar 2017 03:16:06 +0000 (12:16 +0900)]
Revert "interface_scrollable: modify position mirror logic to support mirrored ui"
This reverts commit
3a0e310ece0ab249e0db5b6e3c1612a776463c8f.
Change-Id: Ie8b4ca7e84cdd0f6a3e9ae4107106f5c5340f99b
Wonki Kim [Mon, 27 Feb 2017 10:46:13 +0000 (19:46 +0900)]
interface_scrollable: Compensate scroller when scroller is not stable
Scroller internal states could be invalid when scroller is being calculated.
However, user app code could call scroller apis in middle of calculating of the scroller,
which mean apis are excuted on the invalid states of the scroller.
In that case, scroller api couldn't make what they want to do at all.
This patch compensates the current "Scroller Logic" when getting a more
exact page infomation from scroller while the "Scroller" is calculated.
@tizen_fix
Change-Id: If14ec3dac225dcc95f0666af7e0639a2958c667c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Mon, 27 Feb 2017 16:05:42 +0000 (01:05 +0900)]
elm_conform: Remove legacy to coraborate with current indicator properly
elm_conform has had two indivisual indicators for each rotation angle.
However elm_conform don't have to have two indicator as tizen 2.4 did,
because indicator server daemon structure has been changed.
And current legacy logic on conform makes problem on the indicator server.
This commit removes legacy logic to coraborate with current indicator server properly
@tizen_only
Change-Id: I1e6ed508298e8f352a50c25828439aee8c5894d9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Mon, 27 Feb 2017 10:27:08 +0000 (19:27 +0900)]
interface_scrollable: Remove redundant code block
wanted-updates logics is paired working with wanted-set logic.
but there are coordinates mirroring logics on the both side.
It is useless to reverse value which is reversed.
@tizen_fix
Change-Id: If3909559def5280677116b2a00036875b54cbbd7
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Wed, 15 Feb 2017 12:01:46 +0000 (21:01 +0900)]
interface_scrollable: Improve gravity_set api to support pan changing
Summary:
When you set gravity 1 on scroller, scroller sticks to the bottom
even content is changed.
however, scroller don't work like above, if size of pan is changed.
this commit uses pan_pos_max rather than w/h of content_info
because pan_pos_max is related with both content_size and pan size.
gravity_set will work properly even if both size of content and pan are
changed simultaneously.
Test Plan:
1. Select 'scroll3' in the elementary_test
2. Append enough items so that scroll bar appears (about 30 items)
3. Go to the bottom and Set gravity 1.0
4. Check that scroller sticks to the bottom once you append another item
(it works)
5. Check that scroller sticks to to bottom once you resize window(pan)
(it doesn't work without this patch)
Reviewers: eagleeye, jpeg, cedric, woohyun, z-wony
Differential Revision: https://phab.enlightenment.org/D4665
Change-Id: I0af8e737cae4a31f9aa2082b7a89c0d01392f5f3
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Mon, 20 Feb 2017 04:26:21 +0000 (13:26 +0900)]
interface_scrollable: Optimize calculations and remove redundant
Summary:
There are some redundant code blocks, unnessacery recursive logics
for interface_scrollable.
This commit removes redundant code blocks and serializes unnessacery
recursive logics
Test Plan:
1. Run efl application
2. Check that app works properly.
2. Check how many pan_changed_cb calls are reduced.
Reviewers: cedric, jpeg, woohyun, herdsman
Subscribers: jsuya, eagleeye, z-wony
Differential Revision: https://phab.enlightenment.org/D4671
Change-Id: I70137b3ac17317404298d5abf0c9f29c742a6769
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Tue, 14 Feb 2017 16:47:16 +0000 (01:47 +0900)]
interface_scrollable: remove unnecessary function call
wanted_region_set should be called only when content size is changed.
similar logic in the pan_resized_cb would be invoked in the
pan_changed_cb.
it's duplicated and also diffrence against upstream.
this commit removes unnecessary function calls.
and also it removes diffrence against upstream.
@tizen_fix
Change-Id: Ia03d2a9c642b93f56cc99f6f2d8dc3c1f8228b1c
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Wed, 8 Feb 2017 09:31:06 +0000 (18:31 +0900)]
interface_scrollable: update pan position once pan size is changed
Becase bar is closely related with pan and content,
we have to update bar position and size on some event
such as position or size of pan is changed or size of content is
changed.
However bar related things are not updated,
even if pan changed callback is invoked by pan related changing.
This behavior makes invalid drag value and wrong drag value makes
scroller had a bad position.
@tizen_fix
Change-Id: I7f013fd9a05a7f139548c4e05dd1dfc088af8b4e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
j_yong.hwang [Tue, 8 Sep 2015 11:22:03 +0000 (20:22 +0900)]
interface_scrollable: fix calculation logic of gengrid/scroller.
this commit is ported code about gengrid/interface_scrollable from tizen_2.4.
ported commits list = (
72c55bbadc310e39b2b929811316ef6eabaf9b6a,
2c2fc2d0bbbe91ad640d73a7a85fb19bd0c5b086
8c76cca65fa841c9646ac21eec9ccd627cb962a3,
cdf2b41436c0bb0f17c34439e5e0f73e111d802b
2ba6eedfd54ad9b3bbcee5dce45d35528696a69e,
d22885ea8ee67b8da5a7d77b8aebd9db6ce0f91d
357cf9b9b084e96acd71db89a19bf2a85a6e792 )
when gengrid is rotating, gengrid shows wrong position because size of gengrid
content is changed. Above commits override function of interface_scrollable to set
proper position of gengrid.
@tizen_only
Change-Id: I20136971730063c6a6730e23e9acb66f6fc416dd
Wonki Kim [Tue, 10 Jan 2017 08:02:50 +0000 (17:02 +0900)]
interface_scrollable: Unify basis of calculation of page_get logic
if rtl mode is set, current_page_get api will return page number by
substracting by result of last_page_get api to reverse x axis.
but if content size is not a integer multiple of page size,
(which means there is a partial size of the page)
current_page_get api returns a little bit large value.
this commit reverse x axis before calculation logic to unify a kind of
basis of axis.
@tizen_fix
Change-Id: I8a48d52829a8dc9d2660a1a77b44f42587459711
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Wonki Kim [Sat, 7 Jan 2017 06:54:41 +0000 (15:54 +0900)]
conform: Revise postpone logic of indicator
Refactoring name of type and variables to make sense.
Ignore main code block when coming event is duplicated.
Change-Id: Idb3797ec236812318d5b8fb0c2a28931c72b2c27
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Woochan Lee [Tue, 11 Apr 2017 04:41:45 +0000 (13:41 +0900)]
Use thread safety function.
WGID: 172073
Change-Id: I63f29ce4c9fb390eb2f2573bba5544f7e0a76323
Jaeun Choi [Mon, 10 Apr 2017 12:57:16 +0000 (21:57 +0900)]
elm_calendar: type checking (including NULL checking) before getting data
missing NULL checking caused TC fail
Change-Id: Ibaa2bdb23fe6d29c0dc83f8c53a7be7e901883fc
Signed-off-by: Jaeun Choi <jaeun12.choi@samsung.com>
Woochan Lee [Mon, 10 Apr 2017 10:19:17 +0000 (19:19 +0900)]
Revert "Disabled elementary_quicklaunch."
TC failure can be caused.
This reverts commit
0462bc63c346e73efae1cdd1a377ccd2bc42e919.
Change-Id: Ieabd31a242f51df1354d563071a3423e544c2a63
jinwoo.shin [Tue, 6 Dec 2016 08:19:21 +0000 (17:19 +0900)]
elm_genlist : Fix duplicated focused signal emit
Change-Id: I403562a817fe7e5cf042196b511d16f2b360e452
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
jiin.moon [Thu, 9 Feb 2017 07:01:05 +0000 (16:01 +0900)]
elm_win: if the type of win is TOOLTIP, unset the input event area
If the type of win is tooltip, have to send the input event to below window.
This is tizen_only because ecore_evas_input_rect_set api is exist only in tizen.
@tizen_only
Change-Id: I0a37b87adc76bd7efee04dec0f6d5d440e8fe8bf
JinYong Park [Wed, 29 Mar 2017 06:05:35 +0000 (15:05 +0900)]
popup: add show signal to notify after align set
do align set after show animation is finised,
notify's state is default, so notify don't be visible
Change-Id: I023b5b9a801ac14d6fe63c33dd28ea452ad23ae3
Signed-off-by: Jinyong Park <j4939.park@samsung.com>