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
Minkyu Kang [Mon, 27 Feb 2017 11:13:06 +0000 (20:13 +0900)]
elementary tooltip: adjust arrow if tooltip was moved
Summary:
If orientation is TOP, BOTTOM, LEFT and RIGHT and
tooltip was moved due to located out of screen,
adjust location of arrow so that can indicate right position.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Test Plan: elementary_test -to tooltip4
Reviewers: cedric, Hermet, jpeg
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4554
Change-Id: I40854c2d4c0e8f435b00e5914eb23d491e02154b
Sungtaek Hong [Thu, 9 Mar 2017 05:05:13 +0000 (14:05 +0900)]
[Panel] initialize repeat_events when scrollable is set
- In Non-scrollable panel, repeat_events is changed
during _panel_toggle, while scrollable panel is not.
- elm_panel_scrollable_set() should initialize repeat_events
@tizen_fix
Change-Id: I336dbd14313859aa935d9fa7ad58ee6846127de6
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
JEONGHYUN YUN [Thu, 9 Mar 2017 07:46:23 +0000 (16:46 +0900)]
multibuttonentry : fix box indicated item correctly in item_insert_before and item_insert_after
Summary:
If user added item with item_insert_before and item_insert_after, item was not displayed.
For this reason, fixed box indicated item correctly from reference->button to VIEW(reference).
Additionally, remove the unused variable button in _Multibuttonentry_Item struct.
Reviewers: woohyun, CHAN, cedric, jpeg
Reviewed By: CHAN, jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4708
Change-Id: Idbc0867bec31e25e6622fe6e7967c774513f860d
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Youngbok Shin [Wed, 8 Mar 2017 05:15:56 +0000 (14:15 +0900)]
naviframe: keep unfocusable state of item before finishing item push/pop
If item pop was started without focus at a naviframe object
and the naviframe object got focus before finising item pop,
the naviframe object could give focus to its first object of prev item.
It could ruin focus orders and failed to restore previous focused
object in the item.
To keep consistency of focus policy, same logic will be applied to
item push scenario.
@fix
Change-Id: Ia74bdce3620bd59622ef32a0cedf5fbd84815400
(cherry picked from commit
ac06e3cb3b6a80069944727a35e383ad11753b0f)
Woochan Lee [Mon, 6 Mar 2017 10:27:03 +0000 (19:27 +0900)]
Fix target of signal.
the target is not obj(spinner). button is a target for this.
Change-Id: Ia5a0f49b6640df8a19afbde7188f2f70b2adb385
Bowon Ryu [Tue, 7 Mar 2017 11:34:51 +0000 (20:34 +0900)]
elm_toolbar: reduce unnecessary search cost.
"more_menu" is not used in Tizen.
Change-Id: Ia54a4dfb7259c4ab4a7c6eb1b401fa643ef4224c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Amitesh Singh [Mon, 23 Jan 2017 06:00:21 +0000 (11:30 +0530)]
spinner: fix mem leak on focus next traversel
commit
9736dc6cf0606b4559b3202348511c974d4b2d99
Author: Amitesh Singh <amitesh.sh@samsung.com>
Date: Mon Jan 23 11:23:22 2017 +0530
spinner: fix mem leak on focus next traversel
this patches fixes an eina list mem leak on each
focus next(tab/alt-tab) traversal.
@fix
Change-Id: Iff524f28db11cf23a69dacf03c58050e41d9f10b
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Amitesh Singh [Tue, 17 Jan 2017 07:01:10 +0000 (12:31 +0530)]
Elm.Entry: use proper theme_set function on edje object
This is based on below upstream patch.
commit
44569b859a78feeff890e97239c9269b7be23b2f
Author: Daniel Hirt <daniel.hirt@samsung.com>
Date: Thu Aug 4 13:13:29 2016 +0300
Elm.Entry: use proper theme_set function on edje object
Shouldn't use elm_widget_theme_object_set for handlers/anchors here.
Fixes T4091.
@fix
Change-Id: I1cafb708b7cb041428cefe038d94f0cf4f11b769
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Minkyu Kang [Mon, 2 Jan 2017 08:13:03 +0000 (17:13 +0900)]
spinner: free the longpress_timer when unfocused
Change-Id: I89713d520a80f247569533c0f21ceb51902bbe44
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Amitesh Singh [Mon, 16 Jan 2017 09:02:01 +0000 (14:32 +0530)]
elm widget - stop segv during shutdown when objects become deleted
This is based on below upstream patch.
commit
38ba68a7c76784e86a7016efd1e69af251b62381
Author: Carsten Haitzler (Rasterman) <raster@rasterman.com>
Date: Tue Jul 5 22:55:16 2016 +0900
elm widget - stop segv during shutdown when objects become deleted
@fix
probably this stablizes our elm_shutdown a bit.
Change-Id: I99238e69070b77f704077cb7126d9bac335d7020
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Amitesh Singh [Sat, 21 Jan 2017 10:01:50 +0000 (15:31 +0530)]
elm scrollable: return correct values from post event callbacks
This fixes a small bug in my old patch
248b6beeee1e238
commit
f1163107574a150cda7d1ef5e34f005e58b9680d
Author: Mike Blumenkrantz <zmike@osg.samsung.com>
Date: Thu Nov 3 11:42:26 2016 -0400
elm scrollable: return correct values from post event callbacks
post event callbacks must return 0 to stop processing when an event is
consumed, and 1 when processing should continue. this is the only place in
all of efl which used this functionality, and it did so incorrectly.
@fix
ref
248b6beeee1e2387176e3abec7176e916175f12a
ref D2393
Change-Id: I943779d2a005637e470f9fc40d9cb15782b14b20
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Joogab Yun [Thu, 9 Feb 2017 00:55:36 +0000 (09:55 +0900)]
[elm_glview] initialize to NULL after free function
Change-Id: I58ffda7e99f59de8fe1921bc2f032e5bef29ff2a
Minkyu Kang [Tue, 21 Feb 2017 09:32:30 +0000 (15:02 +0530)]
elementary gengrid: fix for working item reorder mode correctly
Summary:
Change the item indexing to start 1 after reordering animation.
Change the logic of edge checking to get the row or col correctly.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Test Plan:
elementary_test -to gengrid2
append 6 items
enable the reorder mode
check reordering is working properly (4 to 1)
@fix
Reviewers: singh.amitesh, cedric
Subscribers: jehun.lim, jpeg
Differential Revision: https://phab.enlightenment.org/D4676
Change-Id: If3e48d96127bb13dca8595bfc1b8bf6d8c303b08
Minkyu Kang [Tue, 7 Feb 2017 23:00:35 +0000 (15:00 -0800)]
elm_genlist: do not check scroll if show_item is NULL
Summary:
If show_item is NULL then does not need to check scroll.
But, sometimes show_item is NULL but check_scroll is true.
It was wrong and can makes a crash.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: cedric, Hermet, SanghyeonLee, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4569
Change-Id: If4ed681fc14b7b8535eb065c7ee81aea251e80eb
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Woochan Lee [Thu, 23 Feb 2017 05:31:38 +0000 (14:31 +0900)]
Disabled elementary_quicklaunch.
Change-Id: Ide4e2b8301b4d49d0053bbef982021318c27c983
Jeeyong Um [Thu, 23 Feb 2017 07:21:15 +0000 (16:21 +0900)]
Revert "build: exclude private headers (elm_widget_*.h) from devel package"
This reverts commit
6df681ffd6ca931d7793eb3bb936b4717283875d.
Private headers will be removed from devel package when external
packages depending on them are merged into elementary.
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Icbca0d0dae98a239cf59a45c6160d04278a30924
Hosang Kim [Mon, 20 Feb 2017 08:21:19 +0000 (17:21 +0900)]
gengrid: fix gengrid item's x, y index updating logic.
when mirroring is enabled, gengrid's x, y index is updated by wrong
value.
Change-Id: I754f675e22e0e81098a27cd6386b14b6b4db0aae
Hosang Kim [Wed, 15 Feb 2017 11:59:04 +0000 (20:59 +0900)]
genlist: add current x position for item bring in/show.
Sometimes genlist's x position is not zero.
But genlist does not consider it.
Change-Id: I7277c077479044244e2c8849c6d670efe75b0c0f
(cherry picked from commit
b96ceedbb9ecabbcf04b73b08a6184e33801874c)
Youngbok Shin [Thu, 16 Feb 2017 05:35:22 +0000 (14:35 +0900)]
win: apply EVAS_BIDI_DIRECTION_ANY_RTL as default for RTL locale
* dependency warning
- efl
"evas: add EVAS_BIDI_DIRECTION_ANY_RTL for evas_object_paragraph_direction_set API"
https://review.tizen.org/gerrit/#/c/114989/
@tizen_feature
Change-Id: Id72455ef011b602f0bf6876b3be3f8558ad0211f
(cherry picked from commit
bf47379bfbbe0273142710bcf845454de2604200)
Taehyub Kim [Thu, 16 Feb 2017 11:26:13 +0000 (20:26 +0900)]
Revert "Revert "elm_entry: show context menu when entry is longpressed without focusing""
This reverts commit
85efc0ebd9460c37068951e58b8ad590409dc488.
Change-Id: Ied9714577ecf0e110f2758e1a3e346205fbfdeaa
Wonki Kim [Thu, 16 Feb 2017 06:35:30 +0000 (15:35 +0900)]
elm_genlist: fix recursive call of genlist eo api
when user call elm_genlist_policy_set,
It causes stack overflow because policy_set api calls itself.
this commit modifies the policy_set api to call
its parent method body rather than itself.
Change-Id: Id5b56bc351c53e5ae38a31a6b69841e763db0acb
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Sungtaek Hong [Wed, 15 Feb 2017 04:00:46 +0000 (13:00 +0900)]
elm_index: skip level check when only 0 level is active
- In mouse move callback, index tries to calculate current level.
- This is not needed when level 1 is not active. and blocks index item
change.
origin: upstream(
8ac66d9dc09e911fe3dfe0eafca2121fb2c74a15)
Change-Id: I760cc2ea62edb5e197a9210625299e108ac042fb
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Sungtaek Hong [Wed, 15 Feb 2017 02:23:02 +0000 (11:23 +0900)]
elm_panel: set scrollable panel unfocusable when closed
- When scrollable panel is closed by elm_panel_hidden_set(),
elm_panel_toggle() APIs, it shows animation with scroller bringin
effect.
- During this animation, panel is still focusable, and may stop closing
when content gets focused.
- scrollable panel is now set unfocusable when closed by APIs above, and
set focusable when opened after bringin animation.
origin: upstream(
f4d5d57e17496098eeb9427a5b196d26963d5c78)
Change-Id: I43e32a10845f81a3c146a2dbd59093b6606c6759
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Bowon Ryu [Tue, 14 Feb 2017 11:34:57 +0000 (20:34 +0900)]
toolbar: added for mirroring of navigationbar
Change-Id: I3722977b4bf9aa66b95e028bda33b47dc3a806ef
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
Woochan Lee [Mon, 13 Feb 2017 04:18:02 +0000 (13:18 +0900)]
multibuttonentry: input panel should be shown whenever mbe is clicked
Change-Id: I112eba1ee9f0e659225e7e2f4ebfe0b3f6066df9