summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-09efl: remove all remaining .eo.legacy.h includesdevs/q66/remove-generated-legacy-includesDaniel Kolesa
Summary: This is a little hacky (especially wrt the efl_access header files being created) but we need this in order to be able to fully remove legacy header generation in eolian. Reviewers: cedric, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8258
2019-03-09Revert "elementary,evas: remove obsolete legacy includes"Carsten Haitzler (Rasterman)
This reverts commit c876ac52d91806bfc6440b10387ccb91e6a75abf. This is not safe to remove - this breaks enlightenment. perhaps test with the reason efl exists in the first place before delcaring it safe? specifically this removed some function symbols in efl_canvas_event_grabber_eo.legacy.c ...
2019-03-09efl: ensure legacy is only relying on stable typesMarcel Hollerbach
Summary: This commit changes the beta ness of a few types, those types are looking quite stable. Edje types will likely not change. The Efl.Gfx.Join types are actaully already stable since the last release, since evas_vg was stable back then and those enums have been in there. The elementary stuff looks a bit unthought, and we have the chance to change the API in the backend, so maybe we want to not declare it stable, but rather reintroduce the legacy types. With this we can enable eolian generation of beta tags for types. ref T7726 Depends on D8276 Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt, q66 Reviewed By: segfaultxavi, q66 Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7726 Differential Revision: https://phab.enlightenment.org/D8277
2019-03-09eolian: drop env var checking that is unneccessaryMarcel Hollerbach
Summary: This now does work, and we can enable the full checks Reviewers: segfaultxavi, cedric, q66, zmike Reviewed By: q66 Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8276
2019-03-09solve neon rotation issue by moving to the tiled rotatorCarsten Haitzler (Rasterman)
the tiles rotator is faster no matter what. this will fix D8099 by movoing to tiled rotation and nuking the neon code and we end uop being faster anyway in all cases. @fix
2019-03-09efl: mark types beta that have been missed beforeMarcel Hollerbach
Summary: With this we can drop the getenv in eolian, and enable beta checking per default. ref T7584 Depends on D8274 Reviewers: segfaultxavi, cedric, q66, zmike Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7584 Differential Revision: https://phab.enlightenment.org/D8275
2019-03-09efl_gfx_types: pull 2 types out of betaMarcel Hollerbach
Summary: those types are now used in stable API, we should mark it stable. ref T7584 Reviewers: segfaultxavi, cedric, q66, zmike Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7584 Differential Revision: https://phab.enlightenment.org/D8274
2019-03-09efl: apply the stabilzed column of the efl api boardMarcel Hollerbach
Summary: The project https://phab.enlightenment.org/tag/efl_api/ has been used in the last few weeks to figure out which classes can be stablized and which cannot. This commit moves those dedicated classes outside beta. And makes them stable. ref T7601 ref T7600 ref T7599 ref T7598 ref T7597 ref T7596 ref T7594 ref T7593 ref T7591 ref T7590 ref T7589 ref T7588 ref T7583 ref T7582 ref T7581 ref T7576 ref T7570 ref T7567 ref T7564 ref T7563 ref T7560 ref T7559 ref T7672 ref T7584 ref T7577 ref T7571 ref T7558 ref T7555 ref T7554 ref T7553 ref T7512 ref T7511 Depends on D8272 Reviewers: cedric, stefan_schmidt, zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7672, T7601, T7600, T7599, T7598, T7597, T7596, T7594, T7593, T7591, T7590, T7589, T7588, T7584, T7583, T7582, T7581, T7577, T7576, T7571, T7570, T7567, T7564, T7563, T7560, T7559, T7558, T7555, T7554, T7553, T7512, T7511 Differential Revision: https://phab.enlightenment.org/D8273
2019-03-09efl_ui_focus_manager: move API into beta which is for debuggingMarcel Hollerbach
Summary: there is no sense to have this outside beta, noone should really use this. It is only meant for debugging purposes. ref T7726 Depends on D8271 Reviewers: segfaultxavi, cedric, zmike Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7726 Differential Revision: https://phab.enlightenment.org/D8272
2019-03-09efl_ui: repair a few docsMarcel Hollerbach
Summary: ref T7726 Depends on D8270 Reviewers: segfaultxavi, cedric, zmike Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7726 Differential Revision: https://phab.enlightenment.org/D8271
2019-03-09efl_ui_types: rename move_prolicy fieldMarcel Hollerbach
Summary: in was not very descriptiv, move_in was concluded to be more descriptive ref T7726 Reviewers: segfaultxavi, cedric, zmike Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7726 Differential Revision: https://phab.enlightenment.org/D8270
2019-03-09efl_ui_widget: refactor sub_object handlingMarcel Hollerbach
efl_ui_widget has a property called widget_parent. The setter for this function is called is exactly once, and this is within the constructor, to a value which is not even set to the actaul field parent_obj. Which shows, that in the sitation right now, the setter of the property is a bit disconnected and lags some real aspects. As we are heading towards eo-api stabilization we should beat some sense into this setter, as people using our classes might overwrite the setter and except calls to it, whenever the widget_parent is changed, and implementation as in elm_menu show that this might makes sense sometime. In order to achive this, the sub_object registering code of elm is adjusted a bit. sub_object_add/del is now used to differenciate between evas objects and efl.ui.widget objects as subobject. In case of a widget, the widget_parent of this object is set, most of the widget specific code is then executed in the actaul setter. In case of an evas object, the parent reference is added. In the end both end up in the subobject children list. The later is also a requirement for widget_parent_set to be successfull. ref T7553 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8031
2019-03-09efl_ui_widget: remove widget_parent overwrittingMarcel Hollerbach
before the widget_parent have been only set once. The call to the set was in the constructor and carried the efl_parent. In the next commit widget_parent is getting a refactor, which gives it more meaning, where it is actaully called, which means, the behaviour will change. In order to not break every existing usage of the here changed widgets, we move the code to the constructor, and feed it with the efl_parent, just like before. Differential Revision: https://phab.enlightenment.org/D8041
2019-03-08eo: make reflection getter const function.Cedric BAIL
Getter are usually not modifying there object. This is going to put a strong limit on what a getter property for MVVM is, as it will prevent any side effect on getting a property from a View. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7969
2019-03-08efl: for consistency and effiency move Efl.Model event to send stringshare ↵Cedric BAIL
like Property_Bind event. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7946
2019-03-08efl: add an event for the View to know if someone did bound a property.Cedric BAIL
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7945
2019-03-08elementary: rely on Efl.Ui.Widget to do more of property binding for MVVM in ↵Cedric BAIL
Efl.Ui.Layout. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7943
2019-03-08elementary: Efl.Ui.Image now rely on Efl.Ui.Widget infrastructure for View ↵Cedric BAIL
and Property_Bind. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7942
2019-03-08elementary: implemente property_bind support on all widget using property ↵Cedric BAIL
reflection. This means that all property that are registered in the reflection table of any Eo class will be available for binding with a model. This will increase the amount of useful binding quickly. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7941
2019-03-08efl: add an event to notify that the View property has changed.Cedric BAIL
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>> Differential Revision: https://phab.enlightenment.org/D7940
2019-03-08efl.text.interactive: rename events to avoid conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8265
2019-03-08elm.code.widget: rename events to avoid conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8264
2019-03-08efl.access.selection: rename events to avoid conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8263
2019-03-08efl.ui.pan: namespace events to avoid conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8262
2019-03-08efl_ui_selectable: namespace events to avoid conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8261
2019-03-08efl-net: namespace events to avoid naming conflictsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8260
2019-03-08evas: add a bunch of interfaces type includes and typedefsMike Blumenkrantz
this sucks but we've been using these types in legacy headers for years and it's not something we can rush in a fix for Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8248
2019-03-08edje: restore edje legacy type that was defined to eo typeMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8247
2019-03-08evas: restore legacy types which were defined to eo typesMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8245
2019-03-08headers: ensure Efl.h is always included behind BETA define guardsMike Blumenkrantz
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8244
2019-03-08Revert "Emile: Move colorspaces to Efl.Gfx"Mike Blumenkrantz
This reverts commit 0d41ad0c837a2e1655a4d41c28ec7f0ccf10639c. stop defining legacy types to eo types!!!! https://i.redd.it/95mmznk5wo021.gif Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8243
2019-03-08eolian_csharp: fix binding of stringshare arguments in eventsVitor Sousa
2019-03-08efl.gfx.image: namespace events for this classMike Blumenkrantz
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Differential Revision: https://phab.enlightenment.org/D8257
2019-03-08eolian: remove unused variablesDaniel Kolesa
2019-03-08eo files: mark a bunch of types with @betaMike Blumenkrantz
Summary: these are all types that we do not currently want to release Depends on D8102 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric Tags: #efl_api Differential Revision: https://phab.enlightenment.org/D8241
2019-03-08efl.loop_timer: rename all methods/properties/eventsMike Blumenkrantz
Summary: avoid potential future conflict by not using conflict-able names ref T7731 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7731 Differential Revision: https://phab.enlightenment.org/D8256
2019-03-08eolian: remove legacy handling API and most of generationDaniel Kolesa
Summary: This removes all Eolian API that deals with handling of legacy code. It also removes the code using it in the generator as well as bindings, but for now keeps generation of .eo.legacy.h types, as there are still instances in our codebase where things are otherwise broken. We can remove the rest once that is resolved. Reviewers: zmike, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8255
2019-03-08efl_canvas_scene: rename event from focus,* to scene_focus,*Marcel Hollerbach
Summary: This event can just be renamed, no need to handle legacy. The reason for this, that this event is used to map to EVAS_CALLBACK_ enum fields, which means, the legacy names of the event does not matter. ref T7476 Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7476 Differential Revision: https://phab.enlightenment.org/D8242
2019-03-08elementary,evas: remove obsolete legacy includesDaniel Kolesa
Summary: Since the removal of legacy interfaces from eo files, these files contain nothing useful, and can safely be removed. One exception is `efl_ui_layout.eo.legacy.h`, which will require more involved work to remove, since a lot of things seem to depend on the Efl_Ui_Layout typedef being present, wrongly (i suspect this will break everything with `EFL_NOLEGACY_API_SUPPORT`). Reviewers: cedric, zmike, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8251
2019-03-08tests: add test for legacy-only build in elm_suiteMike Blumenkrantz
Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D8254
2019-03-08tests: add build test for EFL_NOLEGACY_API_SUPPORT in efl_ui_suiteMike Blumenkrantz
Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D8252
2019-03-08tests: use Efl_Ui.h for efl_ui testMike Blumenkrantz
Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8253
2019-03-08build: add a new script helperMarcel Hollerbach
Summary: This script can be used to run all examples that have been build with meson, this is usefull in order to check if everything works, and checks if (due to some patches) errors are happening in the output. This is not meant as function checking of the whole example, just automatically checking the first-look-appearance. For now a few examples are setted up correctly, there might be more that need setups / custom arguments, they can be added over time. Reviewers: stefan_schmidt, zmike, cedric, q66, devilhorns, segfaultxavi Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7979
2019-03-08ui.box,table: update layout when homogeneous mode is changed.Yeongjong Lee
Summary: changing homogeneous mode is needed layout_update. Test Plan: 1. elementary_test -to 'efl.ui.box' 2. Click 'Homogenous' check box. 3. Check layout is updated. Reviewers: zmike, Jaehyun_Cho, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8216
2019-03-08ui.box_flow: refactor layout_updateYeongjong Lee
Summary: This patch remove evas_box function from Efl.Ui.Box_Flow and add unit test. Depends on D8214 Test Plan: 1. make check 2. `elementary_test -to 'efl.ui.box'` with 'flow' checkbox. Reviewers: zmike, Jaehyun_Cho Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8219
2019-03-08eo: fix reflectionMarcel Hollerbach
Summary: the DFS tree walk was accidently stopped by a too early return statement. We should only return if we found a reflection entry, if not, then we should continue our search Depends on D7996 Reviewers: cedric, zmike, q66, segfaultxavi Reviewed By: cedric, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7997
2019-03-08eolian: add support for marking type declarations betaDaniel Kolesa
Summary: This also simplifies the beta checking API by unifying it under objects (makes much more sense that way) and reworks the validator to have betaness support within its context state, allowing checks to be done easily in any place. The betaness checks are disabled for types for the time being, because otherwise there are too many errors (types are assumed to be stable as they are not tagged beta, but they reference beta classes all over the place). Set EOLIAN_TYPEDECL_BETA_WARN to 1 in your environment to force enable the checks. Reviewers: zmike, bu5hm4n, stefan_schmidt, lauromoura, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl, #eolian Differential Revision: https://phab.enlightenment.org/D8102
2019-03-08evas_canvas3d: add empty functions for missing APIsMarcel Hollerbach
The other alternative would be to move callback_register/ callback_unregister from evas.canvas3d.object to evas.canvas3d.node. However doing this right now is a bit hard based on the fact that no example currently does render / work. Therefore the empty implementation is the solution that does require fewer code movements. ref T5719 Depends on D7759
2019-03-08elementary: replace deprecated api usage with correct one.Hermet Park
2019-03-08edje_calc: make INTP use TO_INT_ROUNDShinwoo Kim
Summary: The edje_part_recalc calculates next postion(p3). Please refer to following line. p3->final.y = INTP(p1->final.y, p2->final.y, pos); If the condition is as blow, then p3->final.y becomes -50 only if pos is 1.0. Because INP uses TO_INT not TO_INT_ROUND. p1->final.y == -32 p2->final.y == -50 So we had nonsmooth ending of transition. Test Plan: Sample application to check this issue. Please look carefully when the rect moves from bottom to top. {F3627740} {F3627739} Reviewers: cedric, Hermet, jypark Reviewed By: Hermet Subscribers: zmike, akanad, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7842