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>
Jee-Yong Um [Thu, 23 Jun 2016 17:09:13 +0000 (10:09 -0700)]
genlist: scroll to item when calc is done
Summary:
If elm_genlist_item_bring_in() is called immediately after appending
item, genlist will not scroll to the last one but stop in the middle.
This patch blocks genlist from scrolling to not calculated item.
Test Plan:
1. Download F31560 and uncompress the file
2. make
3. ./test
Reviewers: SanghyeonLee
Subscribers: cedric, DaveMDS, jpeg
Differential Revision: https://phab.enlightenment.org/D4023
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I972e7f7b91ee885bf87c0338083a0449fa8510df
jinwoo.shin [Fri, 9 Dec 2016 09:26:02 +0000 (18:26 +0900)]
genlist : Fix item shrink
Item width is set as its block width.
But after item realize, item width is shrinked as item min width
and doesn't match with the block width.
@tizen_fix
Change-Id: I85c2f67ca3bbd72addb5c92bc60317fdb090b4de
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
jinwoo.shin [Fri, 6 Jan 2017 06:01:00 +0000 (15:01 +0900)]
elm_genlist: Fix focus flicking issue when item is prepended
Item blocks are unrealized if item is prepended.
That is not necessary, just re-position the next blocks.
@fix
Change-Id: I920311b80f7e1e2e7dae0b9d60e5de7d92a0d519
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
jinwoo.shin [Mon, 28 Nov 2016 10:45:11 +0000 (19:45 +0900)]
elm_genlist : Fix issues when item is enqueued
Fixed crash issue and item scroll issue when item is enqueued
@fix
Change-Id: I620e9052f57cc938a479c6de40345521d335a313
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
jinwoo.shin [Mon, 12 Dec 2016 05:18:27 +0000 (14:18 +0900)]
elm_genlist: Do not autoscroll if scroll to item is exist
This patch blocks autoscroll if pending scroll to item is exist.
@fix
Change-Id: Ifcdcab72a01d10253eafbb9f8ef638696fba631a
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Shinwoo Kim [Thu, 19 Jan 2017 01:55:30 +0000 (10:55 +0900)]
Not handle events if keyboard is on
The keyboard is using ecore_event_filter, so it is not possilbe to get events on activated application side.
So this commit ignores events if keyboard is on.
Change-Id: I1d493decb21b302f27b4500e7735025b35525c00
Jiyoun Park [Mon, 13 Feb 2017 04:12:54 +0000 (13:12 +0900)]
elm_win: remove the code to deal with aux_hint in pending rotation
we will remove the code to deal with aux_hint because we temporarily use this hint
and not consider wm's reply
Change-Id: I80290b73b9f051d4901bb35b11d3296387cad495
Jiyoun Park [Sun, 12 Feb 2017 07:12:21 +0000 (16:12 +0900)]
elm_win: Pend the rotation until app set the rotation.
Currently, camera use the elm_win_rotation_with_resize_set.
it rotate the canvas, and chage the win size also.
The reason why they use this api is to use the object rotation effect during the rotation.
If window server send rotation event during the rotation, or efl client deal with the rotation
during the app's rotation effect, it cause flickering.
Before, X backend , landscape rotation
1. set the available rotation set only 0
2. window server didn't send rotation effect
3. apps listen the devicd rotation callback
4. apps set elm_win_rotation_with_resize_set 90 or 270
5. efl client set the X property related with rotation
6. window server deals with the rotation by app side.
But now window server don't want to support this api , becuase client rotation causes the whole of rotation policy.
Opensource side, server need to support this situation, but we need to time to discuss.
to support compatibility, add this code until we find the final solution.
this concept is
1. app set pending rotation using aux_hint (it means app will deal with the rotation)
2. efl client doesn't deal with server's rotation
3. do the rotation job by app just like the server's rotation.
Change-Id: Ic1edecbdc729f9202be0977215bb770275f9cb74
Jiyoun Park [Mon, 9 Jan 2017 08:15:07 +0000 (17:15 +0900)]
elm_win: fix bug that floating mode set API ignores borderless value
If app calls elm_win_floating_mode_set after elm_win_borderless_set,
it doesn't work correctly.
Because, inside the floating mode set function, it create frame object again.
so only when borderless set is false, floating win can create frame object.
Change-Id: I9f166178388ae40c77d6ff4d38217bd8fbecbd38
Youngbok Shin [Thu, 5 Jan 2017 04:12:44 +0000 (13:12 +0900)]
config: reinitialize fontconfig for checking newly installed font
@tizen_fix
Change-Id: I1df290f536a8f329ccd17df55448d8fb22ffd481
Bowon Ryu [Mon, 3 Apr 2017 14:51:12 +0000 (23:51 +0900)]
toolbar: Initialize scroll region when toolbar is resized.
Elm_interface_scrollable_content_region_show causes problems in mirror mode.
This is to initialize the scroll region of the toolbar and supports mirroring.
Change-Id: I76bfbab5360a48d386cd97e01ef39b48d6614572
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Woochan Lee [Fri, 31 Mar 2017 06:33:55 +0000 (15:33 +0900)]
elc_multibuttonentry: Null checking before reference pointer.
WGID: 150822, 150823
Change-Id: Ie9fae662eef2066ec76fd28276d55b120ba16072
Jaeun Choi [Fri, 31 Mar 2017 04:21:05 +0000 (13:21 +0900)]
elm_flipselector: fixed flipselector item deletion process
flipselector item destructor had a severe drawback and this patch fixes it.
when deleting multiple items at once, the view needs to be updated only once.
however, the destructor updated the view on deletion of
every single item and it caused a severe performance issue.
the worst case happened when deleting a flipselector object -
with 10000 items, it took 10 seconds to finish deletion.
this patch has two points:
1. if a flipselector object is on deletion, item destructor doesn't update the view
2. otherwise, view update is handled in one job for multiple item deletion
origin: upstream
a4d2c51d1404c1d8563dd7ac37e64ee105aa6226
e2d1da14b8f9a8dfcce6e470a10e28635a2c641d
Change-Id: Ia46233558797fcfd208304946fb55fd881d8b11d
Signed-off-by: Jaeun Choi <jaeun12.choi@samsung.com>
Jeeyong Um [Thu, 30 Mar 2017 07:17:34 +0000 (16:17 +0900)]
build: Add independent "mobile" package instead of extension-mobile
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: I763868fdd4757647eb4e66077dcb6884bd46a281
Shinwoo Kim [Thu, 9 Mar 2017 08:59:00 +0000 (17:59 +0900)]
Revert "Elm_Main, Elc_Naviframe: Access frame is not shown on title in first page issue fix."
This reverts commit
c0dfb92230d85898c106f53a8276380997e3bfc7.
Because dbus connection which is created for atspi has improper SMACK label, the _elm_atspi_bridge_init should move to elm_run.
The launchpad prepares elm_win/bg/conformant, so elm_init is called on the launchpad side, but the SMACK label is not proper at this point.
It seems that the elm_run is proper place, because elm_run is called after the SMACK label is changed.
Change-Id: I5e52564c4fcafe97646dedba0e031333ff2fb88c
JinYong Park [Tue, 28 Mar 2017 03:31:22 +0000 (12:31 +0900)]
ctxpopup: add visible signal for show ctxpopup after parent resizing
Change-Id: I59c512ad6841cccf8e2721cf190b9e0b1517b1bf
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
Minchul Lee [Tue, 28 Mar 2017 03:11:12 +0000 (12:11 +0900)]
elm_entry: monitor the cbhm daemon
Change-Id: Icf01e24f07ab239ff78d73e4842b164f830d63c3
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
Minkyu Kang [Sat, 7 Jan 2017 09:13:08 +0000 (18:13 +0900)]
elm_notify: finish the hiding forcibly if get interrupt
The notify was not hidden when following case
- change the theme while hide is on going
- show while hide is on going
- hide finished calback is invoked hide is not on going
@tizen_fix
Change-Id: I1b194aac658fce0ea3514cc948eb2cabde23958a
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Woochan Lee [Wed, 22 Mar 2017 10:12:55 +0000 (19:12 +0900)]
calendar: Remove ICU dependency ICU module will load from efl-modules.
Change-Id: I0c93c2828b88dba26effb46487f73e0149fcef60
Vyacheslav Reutskiy [Tue, 21 Mar 2017 09:10:45 +0000 (11:10 +0200)]
elm_entry: fix build on not wayland systems
@fix
Change-Id: Ie586362707d3a94d458172d7dc8c27aade39925a
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
SubodhKumar [Sat, 18 Feb 2017 13:43:44 +0000 (19:13 +0530)]
elm_entry: Set the type to cbhm when dbus is initiated.
Issue:
By the time entry got focused, job has not initiated the dbus
causing not setting type to cbhm.
Change-Id: I25282eeb2280b7bfde642651b66b2bd6a951c834
Taehyub Kim [Fri, 6 Jan 2017 08:55:09 +0000 (17:55 +0900)]
elm_entry: send focused entry's type to CBHM
Change-Id: Ib4163139e884284683d5f482a20393be6a83232a
JinYong Park [Tue, 6 Dec 2016 13:12:55 +0000 (22:12 +0900)]
popup: add tizen custom signal (tizen 2.3 layout feature)
for wearable circle theme compatibility
Change-Id: I7f41df17795a373e52595ec257144cc7e81cec10
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
Shinwoo Kim [Fri, 17 Mar 2017 07:56:19 +0000 (16:56 +0900)]
atspi: enhance atspi accessible documentation
Change-Id: I2b31efa84d996f91016c6821f588100252606461
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>
Shinwoo Kim [Wed, 15 Mar 2017 01:49:19 +0000 (10:49 +0900)]
ctxpopup: remove warning message
the elm_atspi_accessible_name_get returns const char* type value.
Change-Id: I64e1d6185eda42d472a03f25db58de9efc375b95
Shinwoo Kim [Mon, 13 Mar 2017 04:31:30 +0000 (13:31 +0900)]
ctxpopup: make ctxpopup work customize accessible name.
The ctxpopup did not work for elm_atspi_accessible_name_cb_set.
Change-Id: I20a5098304cc490cbb1bbdc9ec1c6ef452ad14f3