summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* efl: remove all remaining .eo.legacy.h includesdevs/q66/remove-generated-legacy-includesDaniel Kolesa2019-03-0913-13/+472
| | | | | | | | | | | | | | | 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
* Revert "elementary,evas: remove obsolete legacy includes"Carsten Haitzler (Rasterman)2019-03-096-40/+29
| | | | | | | | | 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 ...
* efl: ensure legacy is only relying on stable typesMarcel Hollerbach2019-03-096-38/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* eolian: drop env var checking that is unneccessaryMarcel Hollerbach2019-03-091-4/+2
| | | | | | | | | | | | | | 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
* solve neon rotation issue by moving to the tiled rotatorCarsten Haitzler (Rasterman)2019-03-092-352/+215
| | | | | | | | 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
* efl: mark types beta that have been missed beforeMarcel Hollerbach2019-03-092-2/+2
| | | | | | | | | | | | | | | | | | | | | 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
* efl_gfx_types: pull 2 types out of betaMarcel Hollerbach2019-03-091-2/+2
| | | | | | | | | | | | | | | | | | | 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
* efl: apply the stabilzed column of the efl api boardMarcel Hollerbach2019-03-0932-47/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* efl_ui_focus_manager: move API into beta which is for debuggingMarcel Hollerbach2019-03-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* efl_ui: repair a few docsMarcel Hollerbach2019-03-092-3/+3
| | | | | | | | | | | | | | | | | | | 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
* efl_ui_types: rename move_prolicy fieldMarcel Hollerbach2019-03-093-3/+3
| | | | | | | | | | | | | | | | | | | 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
* efl_ui_widget: refactor sub_object handlingMarcel Hollerbach2019-03-091-99/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* efl_ui_widget: remove widget_parent overwrittingMarcel Hollerbach2019-03-0916-186/+118
| | | | | | | | | | | | 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
* eo: make reflection getter const function.Cedric BAIL2019-03-0854-167/+167
| | | | | | | | | 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
* efl: for consistency and effiency move Efl.Model event to send stringshare ↵Cedric BAIL2019-03-086-23/+35
| | | | | | | like Property_Bind event. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7946
* efl: add an event for the View to know if someone did bound a property.Cedric BAIL2019-03-087-8/+26
| | | | | Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7945
* elementary: rely on Efl.Ui.Widget to do more of property binding for MVVM in ↵Cedric BAIL2019-03-083-28/+38
| | | | | | | Efl.Ui.Layout. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7943
* elementary: Efl.Ui.Image now rely on Efl.Ui.Widget infrastructure for View ↵Cedric BAIL2019-03-083-22/+25
| | | | | | | and Property_Bind. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7942
* elementary: implemente property_bind support on all widget using property ↵Cedric BAIL2019-03-083-1/+194
| | | | | | | | | | | 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
* efl: add an event to notify that the View property has changed.Cedric BAIL2019-03-081-0/+10
| | | | | | Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>> Differential Revision: https://phab.enlightenment.org/D7940
* efl.text.interactive: rename events to avoid conflictsMike Blumenkrantz2019-03-083-5/+5
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8265
* elm.code.widget: rename events to avoid conflictsMike Blumenkrantz2019-03-083-16/+16
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8264
* efl.access.selection: rename events to avoid conflictsMike Blumenkrantz2019-03-083-4/+4
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8263
* efl.ui.pan: namespace events to avoid conflictsMike Blumenkrantz2019-03-085-22/+22
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8262
* efl_ui_selectable: namespace events to avoid conflictsMike Blumenkrantz2019-03-0821-73/+73
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8261
* efl-net: namespace events to avoid naming conflictsMike Blumenkrantz2019-03-0836-94/+94
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8260
* evas: add a bunch of interfaces type includes and typedefsMike Blumenkrantz2019-03-082-0/+40
| | | | | | | | 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
* edje: restore edje legacy type that was defined to eo typeMike Blumenkrantz2019-03-082-11/+27
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8247
* evas: restore legacy types which were defined to eo typesMike Blumenkrantz2019-03-0810-87/+116
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8245
* headers: ensure Efl.h is always included behind BETA define guardsMike Blumenkrantz2019-03-087-8/+16
| | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8244
* Revert "Emile: Move colorspaces to Efl.Gfx"Mike Blumenkrantz2019-03-088-58/+64
| | | | | | | | | | 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
* eolian_csharp: fix binding of stringshare arguments in eventsVitor Sousa2019-03-081-0/+1
|
* efl.gfx.image: namespace events for this classMike Blumenkrantz2019-03-083-9/+9
| | | | | | | | | | | | Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Differential Revision: https://phab.enlightenment.org/D8257
* eolian: remove unused variablesDaniel Kolesa2019-03-081-5/+3
|
* eo files: mark a bunch of types with @betaMike Blumenkrantz2019-03-0874-192/+192
| | | | | | | | | | | | | | | | | 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
* efl.loop_timer: rename all methods/properties/eventsMike Blumenkrantz2019-03-0815-37/+37
| | | | | | | | | | | | | | | | | | | 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
* eolian: remove legacy handling API and most of generationDaniel Kolesa2019-03-0834-762/+144
| | | | | | | | | | | | | | | | | 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
* efl_canvas_scene: rename event from focus,* to scene_focus,*Marcel Hollerbach2019-03-084-14/+14
| | | | | | | | | | | | | | | | | | | | | 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
* elementary,evas: remove obsolete legacy includesDaniel Kolesa2019-03-086-29/+40
| | | | | | | | | | | | | | | | | | | | 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
* tests: add test for legacy-only build in elm_suiteMike Blumenkrantz2019-03-083-0/+5
| | | | | | | | | | | | Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D8254
* tests: add build test for EFL_NOLEGACY_API_SUPPORT in efl_ui_suiteMike Blumenkrantz2019-03-083-0/+9
| | | | | | | | | | | | Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D8252
* tests: use Efl_Ui.h for efl_ui testMike Blumenkrantz2019-03-081-1/+1
| | | | | | | | | | | | Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8253
* build: add a new script helperMarcel Hollerbach2019-03-081-0/+142
| | | | | | | | | | | | | | | | | | | | | | | 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
* ui.box,table: update layout when homogeneous mode is changed.Yeongjong Lee2019-03-082-2/+11
| | | | | | | | | | | | | | | | | | | 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
* ui.box_flow: refactor layout_updateYeongjong Lee2019-03-088-73/+741
| | | | | | | | | | | | | | | | | | | | 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
* eo: fix reflectionMarcel Hollerbach2019-03-084-1/+252
| | | | | | | | | | | | | | | | | | | 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
* eolian: add support for marking type declarations betaDaniel Kolesa2019-03-0812-117/+232
| | | | | | | | | | | | | | | | | | | | | | | | 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
* evas_canvas3d: add empty functions for missing APIsMarcel Hollerbach2019-03-086-0/+12
| | | | | | | | | | | 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
* elementary: replace deprecated api usage with correct one.Hermet Park2019-03-081-1/+1
|
* edje_calc: make INTP use TO_INT_ROUNDShinwoo Kim2019-03-082-11/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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