summaryrefslogtreecommitdiff
path: root/src/bin/elementary (unfollow)
AgeCommit message (Collapse)Author
2019-10-02efl_gfx_arrangement: change content_padding param type and remove scalableYeongjong Lee
Summary: This change `content_padding` parameter type to int from double for consistency of size properties. `scalable` should be handled in more common size API. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> ref T7864 Test Plan: ninja test Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7864 Differential Revision: https://phab.enlightenment.org/D10154
2019-10-02elementary_test: Add the value provider test for animation_viewJunsuChoi
Summary: Add an Value Provider item to test vector animation on elementary_test. This test is to apply Efl.Gfx.Vg.Value_Provider to the loaded efl_ui_animation object. If Evas Vg Json(Lottie) Loader is not supported, use the vector class to output the svg file. Depends on D9874 Depends on D9897 Test Plan: elementary_test -> Value Provider Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10015
2019-09-30test_code: do not create a background by handMarcel Hollerbach
the background here was wrong, it hasnt resizable hints, which means that the whole object cannot be resized. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D10223
2019-09-30efl_ui: remove efl_ui_text headers from Efl_Ui.h for nowMike Blumenkrantz
these require legacy types and headers, which should not be brought into this header Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10235
2019-09-30elm_test/radio: use eo type hereMike Blumenkrantz
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10230
2019-09-27elm_test: undef logging macros before redefining them in headerMike Blumenkrantz
Summary: Depends on D10228 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10229
2019-09-26efl_ui_*selectable: unify these APIs with the same c_prefixMarcel Hollerbach
Summary: with this commit that api for single and multi selectable shares the same prefix, which makes sense in c as we do not really differ between those two types there anyway. ref T7871 Reviewers: SanghyeonLee, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7871 Differential Revision: https://phab.enlightenment.org/D10183
2019-09-25efl_ui : reverse the select method name to be ended verb on the last.SangHyeon Jade Lee
Summary: our new method naming rule only allow verb at the last position, so change name to fallow rule. Reviewers: bu5hm4n, cedric, segfaultxavi Reviewed By: bu5hm4n, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10144
2019-09-24efl/player: rename 'play' property to 'pause'Mike Blumenkrantz
this is a bit of an overhaul wherein the existing 'play' mechanics are all inverted. 'pause' is a state which stops playback but does not affect the playback_position property. this patch also includes implementations of Efl.Player::playing for a couple classes which (now) only implement pause, as this is a requirement for the objects to actually activate their animations test cases: * unit tests * all elm_test animation cases * elm_test video * rage Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10114
2019-09-24efl/player: merge start+stop methods into 'playing' propertyMike Blumenkrantz
this has some overlap with the existing 'play' property which will soon be renamed. the intent here is that there is a property for controlling the 'playing' state and then another property for managing 'pausing' the play state ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10113
2019-09-24efl/player: prune properties duplicated in efl.playableMike Blumenkrantz
efl.playable implements a number of properties which are also present in efl.player. playable was intended to be separate, so enforce this split in all classes which use player ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10109
2019-09-24elementary: add a basic test for MVVM infrastructure.Cedric Bail
Differential Revision: https://phab.enlightenment.org/D10063
2019-09-24efl_ui_win: default the window type to basicMarcel Hollerbach
normally when you create a window, you just want to have it beeing a basic window. If not you still can set the window type. ref T8229 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10049
2019-09-23elm_test: mark image_zoomable test as non-legacyMike Blumenkrantz
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10053
2019-09-23elementary_codegen: check before use to avoid use after freeStefan Schmidt
These might or might not have been freed already, depending on the breaks form the above loop. Before we are having a use after free here better check on it before free'ing another time. Coverity IDs: 1402671, 1402701 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10047
2019-09-23test: Add a logic to check a size of CheckWonki Kim
If I pack a check without any api calls into a box, then it doesn't have the hint_min size which is defined on check edc. I guess there are problems on sizing logic currently, so this patch helps people to test the problem. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10038
2019-09-18efl/radio/box: handle non-radio-objectsMike Blumenkrantz
this improves the usefulness of radio box by presenting it as a box widget which has the additional feature of being able to manage radio widgets also fix all the image cases in elm_test which relied on there being only a single box in the window Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9998
2019-09-18build: fix elm header usageMike Blumenkrantz
.c files in src/lib/elementary should only include elm_priv.h to ensure that all the include ordering is correct and that all necessary headers are pulled in .c files outside of src/lib/elementary should include either/both Efl_Ui.h, Elementary.h as needed Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D9978
2019-09-18build: use legacy api in places where legacy should be usedMike Blumenkrantz
these seem to randomly have been changed when they shouldn't have also install elm_clock_eo.h since this is required but we didn't install it Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D9971
2019-09-17efl_ui_multi_selectable: remove SINGLE_ALWAYSMarcel Hollerbach
this should get a better solution later on. There is also no real usage for that. ref T7922 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9985
2019-09-16efl.ui.scrollable: fix event name for scrollableHosang Kim
Summary: Event name is applied in the past tense. Meaning of 'stop' is 'stop it early', so I changed it to 'finish' Test Plan: elementary_test -> efl.ui.scroller Reviewers: segfaultxavi, woohyun Reviewed By: segfaultxavi Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9859
2019-09-16efl/image: Efl.Gfx.Image_Scale_Type -> Efl.Gfx.Image_Scale_MethodXavi Artigas
ref T7927, T7875 Depends on D9931
2019-09-12efl_ui_timepicker/datepicker : change event name properlyWooHyun Jung
Summary: This changes the event name from "changed" to "date(or time),changed" @ref T7869 T7901 Reviewers: segfaultxavi, zmike, bu5hm4n Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7901, T7869 Differential Revision: https://phab.enlightenment.org/D9905
2019-09-09elm perf_test: fix warning of implicit conversion of floating pointJaehyun Cho
The result of integral division is converted into floating point. To fix the warning by assigning the result to Evas_Coord variable, type cast is done.
2019-09-06efl_ui_spotlight: migrate from active_index to active_elementMarcel Hollerbach
after playing arround with the widget, we found out that it feels quite weird to have a index, where most of the time you work with widgets. We might want to add syntax suger in the future to make it easier to just jump to the next element, or to the previous, but that still is to be decided. The event and the communication to the spotlight manager are still left to be used with the index, reason for this is, that we might need to fill there an invalid pointer, if a deletion is triggering an animation, which seems quite weird. That needs further discussing. Docx have been updated, the sitemarks about the shifting of the active_index can be removed, as the element is not subject of change during content adds/deletes. ref T7991 Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Differential Revision: https://phab.enlightenment.org/D9813
2019-09-05elm_test: don't use legacy win api in interfaces tags caseMike Blumenkrantz
fix T7754 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9829
2019-08-30efl_ui/popup: timeout -> closing_timeoutMike Blumenkrantz
simple property rename ref T7902 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9801
2019-08-30test_ui_slder: remove meaningless printf when reaching the limitWooHyun Jung
Summary: Without new internal min/max properties, this may be the only way to not give redundant printing of the meaningless value. @ref T8188 Test Plan: 1. elementary_test 2. EFl.Ui.Slider 3. On the limit slider, move the knob above the limit Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8188 Differential Revision: https://phab.enlightenment.org/D9793
2019-08-30efl_ui_datetime: change min/max to date_min/date_maxWooHyun Jung
Summary: To keep consistency with other classes, change the property name properly. @ref T7869 Reviewers: zmike, segfaultxavi, bu5hm4n Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7869 Differential Revision: https://phab.enlightenment.org/D9797
2019-08-29elm config -> allow people to set desktop entry and magnifier configCarsten Haitzler (Rasterman)
2019-08-29efl_ui_tab_pager: remove the setter for tab_barMarcel Hollerbach
the setter of the tab_bar here is quite useless. If you set it after something else was set, the item situation is not clear anymore, there is more in the spotlight than in the bar. You cannot use the widget without tab bar. So the logical consequence for me was that the pager create the tab bar by itself, and you can just access it via a getter. Reviewed-by: WooHyun Jung <woohyun0705@gmail.com> Differential Revision: https://phab.enlightenment.org/D9731
2019-08-29efl_ui_tab_page: remove partMarcel Hollerbach
I introduced the property for item a few patches earlier. I do not want to use a part for this, as i would have to implement the class twice (Once in the part, once as a selfstanding object). It would also be kind of weird to have code like: efl_content_set(efl_part(efl_part("item"), "tab"),bla). The purpose of this part also got a little bit replaced when the item was introduced, as this is the central point of data for the tab bar icon. So need for an additional editition part. Reviewed-by: WooHyun Jung <woohyun0705@gmail.com> Differential Revision: https://phab.enlightenment.org/D9728
2019-08-29efl_ui_tab_bar: remove update eventMarcel Hollerbach
Summary: before the previous commit this was used to update the tab_bar icon. However, this is not needed anymore, as the item stuff can directly be updated. So I do not see a reason for this event anymore. Reviewers: zmike, segfaultxavi, cedric, woohyun, bowonryu Reviewed By: woohyun Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9727
2019-08-29introduce efl_ui_tab_bar_default_itemMarcel Hollerbach
Summary: Tab bar used a direct layout to implement all this functionality by its own. However, it seems that we can reuse a lot of object functionality that is already part of efl.ui.item. With this commit the features that are not part of Efl.Ui.Item are moved to Efl.Ui.Tab_Bar_Default_Item. The tab bar is changed in a way that you do not need to pass the icon and label by hand anymore, you can rather just pass the tab_bar default item. Additionally, the item for a tab_page can now directly be generated from a page. This is the first commit in order to cleanup efl_ui_tab_bar, tab_page & tab_pager. The goal is also to implement our interfaces for inserting elements on those objects. So our common test suites can also be used. Reviewers: zmike, segfaultxavi, cedric, woohyun, bowonryu Reviewed By: woohyun Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9726
2019-08-29efl_ui_radio_group: migrate to Efl.Ui.Single_SelectableMarcel Hollerbach
with this the whole thing is migrated to single_selectable. The group is added to the spec test suite. The elm_test case of radio_group now also has a fallback option to demonstrate the usage of it. This also fixes a broken testcase, where a flag was forgotten to be checked. ref T8024 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9706
2019-08-27efl_ui_slider: refactor for better data flow and code readabilityWooHyun Jung
1. efl_ui_range_value_set only sets value 2. remove internal eo functions (such as xxx_knob, val_fetch, and val_set) 3. make access_value_and_text works correctly @ref T7893 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9720
2019-08-27efl_pack_table: rename table_position to cell_column, cell_rowYeongjong Lee
Summary: Rename ambiguous `table_position` property. it is actually related to child column, row. ref T7900 Reviewers: segfaultxavi, zmike Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7900 Differential Revision: https://phab.enlightenment.org/D9611
2019-08-26efl_ui_multi_selectable: add APIs for selectingMarcel Hollerbach
this can be used to select / unselect a range or all selectables in a container. The range selectable APIs do not have a strong ordering on a and b, b does not have to come after a. ref T8057 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9660
2019-08-26efl_ui_spin_button: rename editable to direct_text_inputMarcel Hollerbach
Summary: as suggested in T8097. Reviewers: cedric, zmike, woohyun Reviewed By: woohyun Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9707
2019-08-23efl/gfx: redo image scale_type enumMike Blumenkrantz
this is ideally a bit more clear and flexible than the previous enum names Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9691
2019-08-23efl_ui/popup: remove text_alert classMike Blumenkrantz
this can now be done by simply calling efl_ui_widget_scrollable_content_scrollable_text_set on an alert popup tests have been adjusted for this Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9677
2019-08-23efl_ui/popup: remove scroll_alert classMike Blumenkrantz
this can now be done by simply calling efl_ui_widget_scrollable_content_set on an alert popup tests have been adjusted for this Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9675
2019-08-23test_ui_spotlight: remove dead default in switchJaehyun Cho
2019-08-21elm_test: fix background radio usageMike Blumenkrantz
radio group apis need to use the radio group Differential Revision: https://phab.enlightenment.org/D9689
2019-08-21efl_ui/popup: remove anchor_popup classMike Blumenkrantz
Summary: all functionality is now merged into the base popup class. this greatly simplifies the codebase and deduplicates a lot of code ref T7902 Depends on D9651 Reviewers: cedric Reviewed By: cedric Subscribers: herb, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7902 Differential Revision: https://phab.enlightenment.org/D9652
2019-08-21example: replace svg resource and load it properly.Hermet Park
2019-08-21elementary_test: Add the animation view testJunsuChoi
Summary: Add an animation view item to test vector animation on elementary_test. If Evas Vg Json(Lottie) Loader is not supported, use the vector class to output the svg file. Depends {D9451} Test Plan: elementart_test Animation View Reviewers: Hermet, smohanty, kimcinoo, zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9472
2019-08-21elm_test: add group itemsMarcel Hollerbach
this is just to showcase them for now, for now they are positioned wrong. later revisions will handle the correct positioning Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9585
2019-08-21elm_test: rename file and remove wrong namesMarcel Hollerbach
additionally, we can just use efl_ui_list and grid class here, no need for more complex stuff Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9584
2019-08-21introduce group itemMarcel Hollerbach
this brings a group item in the style of genlist / gengrid group items. The group item theme does currently not provide the signals in the theme that would be needed for selecting it. This is kind of intended, but we might need API to express that. ref T8115 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9583