summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* completely freeze collectionview items to prevent recalcsdevs/zmike/cvMike Blumenkrantz2019-09-063-15/+47
| | | | collectionview item layouts no longer recalc. ever.
* sizeMike Blumenkrantz2019-09-051-7/+13
|
* support grids in the exampleMarcel Hollerbach2019-09-031-9/+26
|
* set model before setting data accessMarcel Hollerbach2019-09-031-9/+11
|
* fix warningMarcel Hollerbach2019-09-031-16/+22
|
* random list fixesMarcel Hollerbach2019-09-031-13/+22
|
* collection view fixesMarcel Hollerbach2019-09-031-140/+418
| | | | Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
* valid fix in factoryMarcel Hollerbach2019-09-031-0/+1
|
* collection view example fixesMarcel Hollerbach2019-09-031-10/+13
|
* elementary: add an example to test Efl.Ui.CollectionView.Cedric BAIL2019-09-032-0/+116
|
* elementary: introduce Efl.Ui.CollectionView a generic listing View.Cedric BAIL2019-09-035-1/+1878
| | | | | The idea of this widget is to provide to MVVM what Efl.Ui.Collection provide and leverage the same shared logic for layout.
* efl_ui_factory: split into constructing and buildingMarcel Hollerbach2019-09-036-3/+30
| | | | | | constructing is called during construction time, building is called after finalize. This is usefull for theme related properties that can only be set after the theme is applied, which happens during finalize.
* elementary: Efl.Ui.Layout_Factory bind property during widget creation.Cedric BAIL2019-09-032-33/+5
| | | | | In the same vain as previous patch this will initialize more of the widget during its creation and reduce unecessary recalc.
* elementary: Efl.Ui.Image_Factory bind property also during widget creation.Cedric BAIL2019-09-032-17/+6
| | | | | In the same vain as previous patch this will initialize more of the widget during its creation and reduce unecessary recalc.
* elementary: Efl.Ui.Widget_Factory bind widget property before finalizing the ↵Cedric BAIL2019-09-031-24/+22
| | | | | | | widget. In the same vain as previous patch this will initialize more of the widget during its creation and reduce unecessary recalc.
* elementary: leverage sizing information from model if available to avoid ↵Cedric BAIL2019-09-031-1/+18
| | | | | | | unecessary calc. With the new Efl unified infrastructure, we do delay a lot of the computation to finalize, by filling the object information before finalize we reduce unecessary computation.
* efl_ui_position_manager_grid: honor NULL objectsMarcel Hollerbach2019-09-031-3/+12
| | | | | | its sometimes possible that there is a NULL object returned by the batch call. We should not just access the NULL element. Additionally, if NULL was returned during visibility setting, we need to set visibility here.
* efl_ui_grid_position_manager: recalculate max min size correctlyMarcel Hollerbach2019-09-032-7/+27
| | | | | | | | we are walking all the items anyways, so we can recalc the minsize here anyways. Additionally, this pm was never tested with code that just passes a set of items at data-access init time, without calling item_added for each item. (Which is perfectly fine). With this commit this is now perfectly possible,
* efl_ui_position_manager_list: skip cache calculation for not finalizedMarcel Hollerbach2019-09-031-0/+1
| | | | | | | if we are not finalized yet, there is no reason to calculate the caches, as this will be redone later on anyways. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
* efl_ui_positon_manager_list: skip viewport size setting if its the sameMarcel Hollerbach2019-09-031-0/+2
| | | | | | this can be skipped. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
* efl_ui_position_manager_list: require cache hereMarcel Hollerbach2019-09-031-0/+2
| | | | | the cache need to be required here, as we are going to access it later on.
* efl_ui_position_manager_list: set visibilitly more oftenMarcel Hollerbach2019-09-031-1/+4
| | | | | | | | | | it is possible that the object returned by the batching call is NULL. That is valid, however, if the batching call for the visibility is getting the NULL element, but the placement is getting the none NULL element, then the item on screen will not be visible. This commit ensures that those items will be visible. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
* efl_ui_position_manager_list: error when we detect that sizes are wrongMarcel Hollerbach2019-09-031-0/+9
| | | | | | | | when sizes are different to the cached size, then the displayed items are out of order, or do not fill the whole viewport. This should not happen. In case that this is detected, print an error. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
* efl_ui_spotlight: migrate from active_index to active_elementMarcel Hollerbach2019-09-0213-190/+183
| | | | | | | | | | | | | | | | | | | | | | 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 Differential Revision: https://phab.enlightenment.org/D9813
* eolian: fix validation of ownability with hashesDaniel Kolesa2019-08-311-1/+1
|
* eolian: properly handle non-beta restriction of __undefined_typeDaniel Kolesa2019-08-314-17/+18
|
* eolian: always validate inner types of complex types for @moveDaniel Kolesa2019-08-311-1/+1
|
* elua: add eolian bindings for type_is_moveDaniel Kolesa2019-08-311-0/+5
|
* eolian: add API to check if an inner type of complex type is @moveDaniel Kolesa2019-08-314-2/+25
| | | | | | This complements the equivalent APIs of parameters and so on. It is not the same as the older type_is_owned API, which applied to everything.
* eolian: refactor ownability validation to accommodate new syntaxDaniel Kolesa2019-08-311-30/+30
| | | | | | | This refactors ownability checks so that they're only performed in contexts where @move can be specified, which both helps with performance and enables later removal of ownability info from types themselves.
* eolian: validate @by_ref correctnessDaniel Kolesa2019-08-311-4/+27
| | | | | The @by_ref qualifier can only be used with value types, to guarantee exactly one level of pointers.
* cxx: Fix example after popup changes.Lauro Moura2019-08-301-1/+1
| | | | | | | | | | | | | | Summary: Popup api changed in 1ca07b72da944 Reviewers: zmike, felipealmeida, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9807
* efl_ui_collection: prevent the invalid insertion of items.Marcel Hollerbach2019-08-302-1/+87
| | | | | | | | | | | | | | | | | | | | | | Summary: the group hirachy that you can build up with group items is flattend down in the collection, as a linear list. Based on that a user might be able to insert items at invalid positions, like between groups, without having set the proper group item, which ... is a problem. This commit ensures that no new item ever destroys the neightboor hood between two items of the same group or a item with a group and its group leader. Reviewers: stefan_schmidt, zmike, segfaultxavi, SanghyeonLee Reviewed By: SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9778
* efl_ui/pan: remove pan,viewport,changed eventMike Blumenkrantz2019-08-304-7/+11
| | | | | | | | | | | | | | | | | | | | | Summary: this is just a duplicate of entity geometry changed events, users of pan should just use those instead ref T7708 Depends on D9791 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7708 Differential Revision: https://phab.enlightenment.org/D9792
* efl_ui/pan: only emit size change event on pan content size changeMike Blumenkrantz2019-08-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | Summary: changing the size of the pan content does not require that the pan position also changes, so let users of pan sort this out using the correct events ref T7708 Depends on D9790 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7708 Differential Revision: https://phab.enlightenment.org/D9791
* efl_ui/pan: add position info to pan,content_position,changed eventMike Blumenkrantz2019-08-305-8/+8
| | | | | | | | | | | | | | | | | | | | Summary: changed events should always send the related data when possible ref T7708 Depends on D9789 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7708 Differential Revision: https://phab.enlightenment.org/D9790
* efl_ui/pan: add pan,content_size,changed eventMike Blumenkrantz2019-08-306-19/+21
| | | | | | | | | | | | | | | | | Summary: this is a shortcut so pan users don't have to manually hook the content resize event Depends on D9788 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D9789
* efl_ui/pan: rename pan,position,changed -> pan,content_position,changedMike Blumenkrantz2019-08-306-10/+10
| | | | | | | | | | | | | | | | | | | | Summary: the pan object is not changing its position, it's moving the content ref T7708 Depends on D9787 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7708 Differential Revision: https://phab.enlightenment.org/D9788
* efl_ui/pan: remove pan content,changed eventMike Blumenkrantz2019-08-306-38/+56
| | | | | | | | | | | | | | | | | | | | Summary: this was being emitted as a catch-all for pan changes, where something else should have been monitored/used instead ref T7708 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7708 Differential Revision: https://phab.enlightenment.org/D9787
* evas_filter_parser: remove dereferenced NULLShinwoo Kim2019-08-301-4/+10
| | | | | | | | | | | | | | | | Summary: This is detected by static analysis tool. The variable last could be NULL when it is dereferenced. Reviewers: Hermet, zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9796
* elm sel mgr - remove event handlers when no drop targets are leftCarsten Haitzler (Rasterman)2019-08-301-0/+1
| | | | | | | case left over that this didnt handle right and this breaks e's dnd once a file preview popup appears. @fix
* tests: use void cast with util callbackMike Blumenkrantz2019-08-301-8/+8
| | | | | | | fixes a lot of compiler warnings Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9802
* efl_ui/popup: timeout -> closing_timeoutMike Blumenkrantz2019-08-304-5/+5
| | | | | | | | | simple property rename ref T7902 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9801
* docs: Proper documentation for Collection and Item classesXavi Artigas2019-08-308-35/+85
| | | | | | | | | | | | Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl, #documentation Differential Revision: https://phab.enlightenment.org/D9798
* elua: expose new tags via eolian bindingsDaniel Kolesa2019-08-301-0/+30
|
* eolian: add API to expose the new @move and @by_ref tagsDaniel Kolesa2019-08-304-0/+152
|
* eolian: add parsing for @move and @by_refDaniel Kolesa2019-08-303-15/+57
| | | | | | | | | | | | | | | The @by_ref qualifier is now allowed on parameters, returns and struct fields in the usual qualifier section. It will mean that this type is passed around by reference, and will only be allowed on types that are not already pointer-like. The @move qualifier will replace @owned as one with a clearer meaning. It means "transfer of ownership". It has the same semantics as the current @owned, i.e. on return values it transfers ownership of the value to the caller, on parameters it transfers ownership to the callee (the inverse is the default when not specified). On struct fields, it means the field will transfer together with the struct that contains it.
* elm_entry: add null check logic on elm_entry_text_set APIBowon Ryu2019-08-301-1/+1
| | | | | | | | | | | | | | | | Summary: If current_text is NULL, a segmentation fault is occured. Test Plan: N/A Reviewers: cedric, Hermet, Jaehyun_Cho, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9780
* test_ui_slder: remove meaningless printf when reaching the limitWooHyun Jung2019-08-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* eio - don't call cb's after a cancelCarsten Haitzler (Rasterman)2019-08-301-0/+6
| | | | | | | | i saw a segv in e/efm .. an eio call was called after it had been canceled. this should never happen. ever. so ensure it does not once an eio file has been canceled. @fix