aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary (follow)
Commit message (Collapse)AuthorAgeFilesLines
* efl_ui_popup: Rebase masterdevs/jaehyun/efl_popupJaehyun Cho2017-11-276-29/+16
|
* efl_ui_popup_alert: Remove expandable property for nowJaehyun Cho2017-11-276-182/+6
| | | | | | It needs more time to stabilize expandable property. So the expandable property is removed for now. The expandable property will be added later.
* efl_ui_popup: Make backwall efl part object of Efl.Ui.PopupJaehyun Cho2017-11-274-45/+99
|
* efl_ui_popup: Rename bg_set with backwall_setJaehyun Cho2017-11-273-33/+33
| | | | | Since "background" is used as a basic part property, "backwall" is used to indicate the area behind efl_ui_popup.
* efl_ui_popup: add _calc_align function in sizing eval functionTaehyub Kim2017-11-271-0/+2
| | | | | | | | | | Summary: add _calc_align function in sizing eval function to show popup correctly. Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5373
* efl_ui_popup: add timeout signalTaehyub Kim2017-11-272-0/+2
| | | | | | | | | | Summary: add the timeout signal for user notification Reviewers: Jaehyun_Cho, jpeg, cedric, Blackmole, thiepha, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5372
* efl_ui_popup_alert: Define Clicked_Event structureJaehyun Cho2017-11-272-4/+21
|
* efl_ui_popup: Replace group_add/del with constructor/destructorJaehyun Cho2017-11-2710-51/+67
|
* efl_ui_popup: Code refactoring to replace legacy APIsJaehyun Cho2017-11-2714-332/+285
|
* efl_ui_popup: remove parent_window_get methodJinYong Park2017-11-273-18/+30
| | | | | | | | | | | | | | Summary: remove Efl.Ui.Popup's internal method "parent_window_get" Test Plan: elementary_test -to efluipopup Reviewers: jpeg, Jaehyun_Cho, woohyun, herb Reviewed By: Jaehyun_Cho Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5363
* efl_ui_popup: replace title_set to efl_text_set with efl_partJinYong Park2017-11-273-27/+72
| | | | | | | | | | | | | | Summary: Replace Efl.Ui.Popup.Alert's title set method to using efl_text_set with efl_part Test Plan: elementary_test -to efluipopupalert Reviewers: jpeg, Jaehyun_Cho, woohyun, herb Reviewed By: Jaehyun_Cho Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5359
* efl_ui_popup: add timeout propertyTaehyub Kim2017-11-273-0/+77
| | | | | | | | | | | | | | Summary: add timeout property Test Plan: 1. run elementary_test -to efluipopup 2. after 3 seconds, popup will be delete Reviewers: Jaehyun_Cho, jpeg, woohyun, thiepha, Blackmole, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5205
* efl_ui_popup_anchor: add Efl.Ui.Popup.Anchor classJinYong Park2017-11-274-0/+416
| | | | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Anchor class. It supports adding anchor object to popup. Test Plan: 1. run elementary_test -to efluipopupanchor Reviewers: Jaehyun_Cho, thiepha, herb, jpeg, cedric, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5126
* efl_ui_popup: remove unnecessary function callJinYong Park2017-11-271-4/+1
| | | | | | | | | | | | Summary: In _calc_align function, it could get align property through Efl_Ui_Popup_Data *pd directly, but call align_get function previously. Reviewers: Jaehyun_Cho, herb, thiepha, jpeg, cedric, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5207
* efl_ui_popup_alert_scroll: check sizing evaluation while scroller is changedTaehyub Kim2017-11-272-0/+7
| | | | | | | | | | | | | | | Summary: add a sizing check variable for safety of sizing evaluation when the min size of scroller is changed. Test Plan: 1. run elementary_test 2. search the sample with "popup" keyword 3. click the Efl Ui Popup Alert Scroll sample Reviewers: Jaehyun_Cho, jpeg, woohyun, thiepha, Blackmole, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5204
* efl_ui_popup: remove efl_ui_popup_position_setJinYong Park2017-11-272-21/+6
| | | | | | | | | | | | | | | Summary: Remove efl_ui_popup_position_set. Its functionality is replaced with efl_gfx_position_set. Test Plan: 1. elementary_test -to efluipopup Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, jpeg, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5129
* efl_ui_popup: use efl_data_scope_get instead of using 'self' objectJinYong Park2017-11-272-19/+16
| | | | | | | | | | | | Summary: Use efl_data_scope_get to get Efl_Ui_Popup_Data structure. There is no reason using "self" object in Efl_Ui_Popup_Data. Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, jpeg, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D5128
* efl_ui_popup_alert_text: add Efl.Ui.Popup.Alert.Text ClassTaehyub Kim2017-11-275-0/+232
| | | | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Alert.Text Class. It supports setting texts on the content area. Test Plan: 1. run elementary_text -to efluipopupalerttext Reviewers: Jaehyun_Cho, jpeg, thiepha, cedric, woohyun, Blackmole Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5124
* efl_ui_popup_alert_scroll: add Efl.Ui.Popup.Alert.Scroll classTaehyub Kim2017-11-275-0/+281
| | | | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Alert.Scroll Class. It supports scrolling content. Test Plan: 1. run elementary_test -to efluipopupalertscroll Reviewers: Jaehyun_Cho, jpeg, thiepha, cedric, Blackmole, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5123
* efl_ui_popup: cover the corner case of popup sizing evaluationTaehyub Kim2017-11-271-1/+1
| | | | | | | | | | | | Summary: cover the corner case of popup sizing evaluation Test Plan: 1. run elementary_test -to efluipopup Reviewers: Jaehyun_Cho, jpeg, thiepha, Blackmole, woohyun, cedric Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5146
* efl_ui_popup_alert: add Efl.Ui.Popup.Alert classTaehyub Kim2017-11-274-0/+281
| | | | | | | | | | | | Summary: Add initial code for Efl.Ui.Popup.Alert class. It supports setting title and buttons. Test Plan: 1. run elementary_test -to efluipopupalert Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D5108
* efl_ui_popup: make popup size expandableTaehyub Kim2017-11-271-0/+10
| | | | | | | | Summary: make popup size expandable Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D5107
* efl_ui_popup: add align and position propertiesTaehyub Kim2017-11-273-13/+98
| | | | | | | | | | | | | | | Summary: add align feature and position properties (center, left, right, top, bottom) efl_ui_popup_position_set should be seperated from evas_object_move since evas_object_move can be called internally. Test Plan: 1. run elementary_test -to efluipopup Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5105
* efl_ui_popup: add bg_set and bg_repeat_events_set/get APIJinYong Park2017-11-273-7/+80
| | | | | | | | | | | | | | | | | | | | | | Summary: add bg_set and bg_repeat_events_set/get API bg_set enables user change popup's outside bg bg_repeat_events_set enables popup's outside bg repeat events Test Plan: 1. run elementary_test -to efluipopup 2. click outside area of popup 3. click button in popup Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, cedric, jpeg, singh.amitesh Reviewed By: Jaehyun_Cho Subscribers: jpeg Tags: #efl Differential Revision: https://phab.enlightenment.org/D5054
* efl_ui_popup: add Efl.Ui.Popup classTaehyub Kim2017-11-274-0/+166
| | | | | | | | | | | | | | Summary: add initial code for Efl.Ui.Popup class Test Plan: 1. run elementary_test -to efluipopup Reviewers: Jaehyun_Cho, Blackmole, thiepha, woohyun, cedric Reviewed By: Jaehyun_Cho Subscribers: bu5hm4n, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5037
* efl_ui_bg: add Efl.Gfx.color_get.Sungtaek Hong2017-11-272-21/+35
| | | | | | | | | | | | | | | | | | Summary: since legacy elm_bg_color_set/get is changed to efl_gfx_color_set/get, efl_gfx_color_get also should get color of inner rect. @fix Test Plan: 1) run elementary test. 2) run Bg EO API(Efl.Ui.Bg) 3) set/unset "Bg color" check. 4) observe printed color values. Reviewers: jpeg, woohyun, cedric Differential Revision: https://phab.enlightenment.org/D5429
* elm: fix legacy codeMarcel Hollerbach2017-11-261-0/+9
| | | | | | | earlier elm_object_focused_object_get returned gengrid genlist toolbar objects if a item of them is focused. This should fix that. thank you @davemds for the report!
* elm_code: set the color scheme from the default edc.Al Poole2017-11-261-75/+57
| | | | | This allows us to override in the application also. Work from myself and @ajwillia.ms.
* elm ifrace scrollable - fix uninitialized values on scroll asjustCarsten Haitzler (Rasterman)2017-11-241-3/+3
| | | | | | | dragable values were invalid (not fetched) so vx/y were junk and this was making decisions based on that. guarantee it to be 0. @fix
* efl ui slider - fix crashes with fmt callback data and class dataCarsten Haitzler (Rasterman)2017-11-241-3/+3
| | | | | | | the format free cb was passed the class data (sd) as the callback data but this was freed by the time _indi_default_format_free_cb was called causing an invalid access. fix this by looking it up from the obj which is probably invalid at this point...
* mbe: Fix invalid part handlingJean-Philippe Andre2017-11-242-33/+12
| | | | | Only the text parts need special handling. Ping @CHAN :)
* win: Fix window background EO APIsJean-Philippe Andre2017-11-241-2/+0
| | | | Broken in a previous commit
* elm: add custom access state for Elm.HoverLukasz Stanislawski2017-11-242-0/+11
| | | | | | | | Reviewers: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5523
* layout: Fix erroneous warnings (from earlier patch)Jean-Philippe Andre2017-11-241-4/+5
| | | | Oops. Bad check :)
* elm_part: Mark as auto-unref before finalizeJean-Philippe Andre2017-11-241-6/+10
| | | | | | This simplifies the IMPLEMENT macro, which can now be a proper function. Also, do not set a parent for the part object, as it's not useful and could mess up the refcount.
* part bg: Fix up some unnecessary complexityJean-Philippe Andre2017-11-246-119/+75
| | | | | | | See previous commit :) Note: right now the background part has a small 3d indent which comes from the legacy theme being used. This will be fixed soon.
* efl_ui_layout: create efl_ui_bg when efl_part for background is called.Sungtaek Hong2017-11-247-5/+220
| | | | | | | | Reviewers: woohyun, jpeg, cedric Subscribers: felipealmeida, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5151
* widget: Add EINA_UNUSEDJean-Philippe Andre2017-11-241-1/+1
|
* efl_ui_widget: secure elm_legacy_add flagSungtaek Hong2017-11-242-3/+6
| | | | | | | | | | | | | | | | | | | | | Summary: _elm_legacy_add goes back to EINA_FALSE after setting sd->legacy. if constructor get called again after going back to EINA_FALSE, sd->legacy should remain EINA_TRUE. also, elm_legacy_add() should not be called non-elm_widget. Test Plan: Run elementary test->Efl.Ui.Text.Label. Check legacy flag in _elm_theme_object_set() for efl_ui_win. Check legacy flag for efl_ui_text after scrollable text is added. Reviewers: jpeg, woohyun Reviewed By: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5529
* elementary: fix typos in elm_win_legacyPawel Aksiutowicz2017-11-231-7/+7
| | | | | | | | | | | | Reviewers: stanluk, lukasz.stanislawski, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5511 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elementary: fix typos in elm_gesture_layerPawel Aksiutowicz2017-11-231-20/+20
| | | | | | | | | | Reviewers: stanluk, lukasz.stanislawski Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5512 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elementary: fix typos in elm_atspi_bridgePawel Aksiutowicz2017-11-231-11/+11
| | | | | | | | | | | | Reviewers: stanluk, lukasz.stanislawski Reviewed By: lukasz.stanislawski Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5513 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elementary: Windows requires EAPI for the legacy .eo.hLauro Moura2017-11-231-0/+18
| | | | | | | | | | | | | | | | | | Summary: After the reorganization of elm eos, some sources include the .eo headers directly instead of through Elementary.h. This causes problems on windows as the declarations won't be decorated with the dllexport attributes. Reviewers: cedric, felipealmeida, jpeg, vtorri Subscribers: jenkins Tags: #windows, #efl Differential Revision: https://phab.enlightenment.org/D5519 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elementary: fix compilation of elm_code test on windowsLauro Moura2017-11-233-0/+26
| | | | | | | | | | | | | | | | | | | | Summary: Added some guards to avoid redefinition of functions. Partially fixes T5866, as there is still the question whether we should test internal functions or not, as stated by jpeg in the comments. Reviewers: vtorri, felipealmeida, jpeg, cedric Reviewed By: cedric Subscribers: jenkins, cedric Maniphest Tasks: T5866 Differential Revision: https://phab.enlightenment.org/D5521 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elm: Add hack to make test case workJean-Philippe Andre2017-11-232-2/+2
| | | | | | | | | | | | | Because of the way elm_code test case is written, by directly including the C file, we end up with two symbols for the internal _elm_legacy_add flag. This makes some test case fail (after applying a pending patch). Solution found by Sungtaek Hong. elm_code test case needs to be fixed. Don't include the C files directly, testing static inlines should be done through a common .x or something, but not by including the C file itself. This has led and will lead to many issues.
* bg: Remove trailing \n in ERR messageJean-Philippe Andre2017-11-231-1/+1
|
* efl_access: Add reading_info_type set/get APIsShilpa Singh2017-11-232-0/+57
| | | | | | | | | | | | | | | | | Summary: Information obtained by atspi client is name, role, description, state of an object. reading_info_type_set/get APIs give control to application to decide on the information that can be exposed. Test Plan: The reading info is added as an attribute of an accessible object, on query of attribute, reading_info_type and corresponding character buffer should be given to ATSPI clients. Reviewers: kimcinoo Subscribers: cedric, govi, rajeshps, jpeg Differential Revision: https://phab.enlightenment.org/D5524
* elm_code: don't crash on NULL scopeAndy Williams2017-11-221-1/+1
| | | | This could be triggerd with the cursor was not in the file
* efl_ui_focus_manager: remove unnecessary debugging printf.Al Poole2017-11-221-1/+0
|
* efl_ui_focus_manager: fixup previous commitMarcel Hollerbach2017-11-221-2/+2
| | | | i forgot to git commit --amend ... i am sorry :[