summaryrefslogtreecommitdiff
path: root/src/tests/eo/function_overrides (follow)
AgeCommit message (Collapse)Author
2018-03-20efl: use efl_add_ref to create objects which have no parentCedric BAIL
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-01-23cmake: add eoMarcel Hollerbach
2016-09-09Eo: Change the way functions are registered to classesTom Hacohen
This change lets us remove a field from the structure that leads to around 20KiB more of saving in private dirty pages in elementary. This also looks a bit better and feels a bit cleaner. Breaks API and ABI.
2016-09-08Eo: Make function overrides implicit.Tom Hacohen
Before this commit, function overrides were explicit. That is, you'd have to explicitly state you were overriding a function instead of creating a new one. This made the code a tad more complex, and was also a bit more annoying to use. This commit removes this extra piece of information. This means we now store much less information per function, that will let us further optimise out structures in the future.
2016-09-05Adjust the EFL to the Eo class_initilizer changes.Tom Hacohen
2016-08-23Efl object: Don't pass events to eo class creation.Tom Hacohen
This was never used and there is no plan to ever use it. I'm going to soon add a different mechanism with which it will be possible to provide them again to Eo if ever needed without breaking ABI. Though it's unlikely it will ever be.
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-04-11eolian: Make promise eolian generation use macros for hooksFelipe Magno de Almeida
Modify the way hooks are defined and used by promise generation in Eolian in the Eo API. Instead of passing macro names as parameters to EO_FUNC_BODY macros, just re-define the actual hooks when it is needed.
2016-04-06eo: add before and after macro hooks for API generation functionsFelipe Magno de Almeida
Add two parameters for macros that generate API functions in Eo so that the generation can be customized with macros used by Eolian. Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-03Fix migration script mistakes and compilation warnings.Tom Hacohen
Mostly unused vars following the removal of eo_do_ret(). However, there are some cases where the migration script got some things wrong, and I had to manually fix them.
2016-03-03Eo tests: Update tests according to the new syntaxTom Hacohen
These tests don't use eolian, but are plain Eo, so they need manual updating.
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2015-09-28Eo: Remove EO_SENTINEL.Tom Hacohen
This was never really needed because we always had the count. Removing this now because we are already breaking API and ABI.
2015-09-28Eo: Drop doc field from ops and events.Tom Hacohen
This hasn't been used for a while. Since we are going to break Eo a bit anyway it's a good opportunity to drop this. This may cause a slight performance issues with legacy events, such as smart callbacks. This shouldn't really be a problem as we've migrated away from them. If it does, we need to migrate the remaining parts. Only relevant for callbacks that are added before the classes are created, which shouldn't be possible except for smart, only for old evas callbacks.
2014-04-10Eo: EO_BASE_CLASS->EO_CLASS.Tom Hacohen
2014-04-10Eo2: Updated naming Eo2->Eo.Tom Hacohen
2014-04-10eo2: fix uninitialized vars in testsJérémy Zurcher
because of conditional execution of eo2_do() fct calls these vars could end up not initialized.
2014-04-10eo2: change the order of EO2_OP_FUNC* to put EAPI first.Tom Hacohen
This looks cleaner and more aligned. Also, it makes more sense as the internal function is bound to the EAPI and not the other way around.
2014-04-10eo2: use EO2_CLASS_DESCRIPTION_NOOPS everywhere.Tom Hacohen
2014-04-10eo2: cleaned up the function overrides test.Tom Hacohen
2014-04-10eo2: fix function overrides test.Tom Hacohen
2014-04-10eo2: fix tests, do not use _CLASS_FUNC_, see previous commitJérémy Zurcher
2014-04-10eo2: migrated function_overrides test to eo2.Tom Hacohen
2013-09-27Eo: get rid of eo_class_do(_super) which we don't need anymore.Tom Hacohen
We now completely use eo_do(_super), so those are not needed.
2013-09-27Revert "eo: libs,test,benchmarks Eo_Class -> Eo"Tom Hacohen
This reverts commit 1714fe93f42d6950171d0ab9069bfb808a62fd31. We actually want this type, it makes things clearer. Conflicts: src/tests/eo/function_overrides/function_overrides_inherit2.c src/tests/eo/function_overrides/function_overrides_simple.c src/tests/eo/suite/eo_test_class_simple.c
2013-09-27Eo: unify the class func and normal func prototypes.Tom Hacohen
Conflicts: src/lib/eo/eo.c
2013-09-27eo: libs,test,benchmarks Eo_Class -> EoJérémy Zurcher
Conflicts: src/tests/eo/suite/eo_test_general.c
2013-05-01Eo: Add reference functions for objects dataDaniel Zaoui
We want to introduce a new mechanism concerning the data of the Eo objects. The goal is to improve the memory management by defragmenting the memory banks used by the Eo objects. The first phase has been done by raster and consists in allocating the objects into a separate memory region that the one used by malloc. So now, we know where our objects are located. Now, moving objects means moving data of objects. The issue we have here is that a lot of data pointers are stored into data of other objects, e.g Evas Object data into lists for rendering... We need a way to reference the data and eo_data_get doesn't provide us that. So we need to improve the API for data extraction by requesting from the developer if the data will be stored or not. Five functions are supplied: - eo_data_scope_get: no referencing, the data pointer is no more used after exiting the function. - eo_data_ref: reference the data of the object. It means that while the data is referenced, the object cannot be moved. - eo_data_xref: reference the data of the object but for debug purpose, we associate the objects that references. Same behavior as eo_data_ref for non-debug. - eo_data_unref: unreference the data of an object. - eo_data_xunref: unreference the data of an object previously referenced by another object. I deprecated the eo_data_get function. Most of the time, eo_data_scope_get needs to be used. In the next patches, I changed the eo_data_get to the corresponding functions, according to the usage of the data pointer. The next step is to find all the places in the code where the data is stored but not yet referenced. This will be done by: - requesting from every object to unreference all data to other objects. - moving all the objects from one region to another - requesting from every object to rerefenrence the data. - debugging by hunting the segmentation faults and other weird creatures.
2013-03-18Change usage of eo_do_super to the new prototype.Tom Hacohen
2013-01-18Eo: Changed NDEBUG to EO_DEBUG.Tom Hacohen
This was stupid from the start, but now it casuse even more issues. We'll have to just add a configure option to it when the time comes. SVN revision: 82989
2013-01-18Eo tests: Fix function overrides test to not test some things when NDEBUG is ↵Tom Hacohen
used. SVN revision: 82987
2012-09-26merge: add eoVincent Torri
SVN revision: 77072