path: root/src/tests (unfollow)
AgeCommit message (Collapse)Author
2016-06-14evas object: Mark event free as @betaJean-Philippe Andre
Use EO_EVENT_DEL instead.
2016-06-14tests: Remove eo evas object eventsJean-Philippe Andre
This is the last usage, apart from evas_callbacks.c itself.
2016-06-13evas_canvas: move evas_output_XXX API from eo to legach.Ji-Youn Park
evas canvas will be removed from eo. evas_output_XXX APIs are usually used by widget or e17. I decided not open these kind of APIs to eo. app can use the size of elm win instead of evas output apis.
2016-06-11eina: Add support for eina_safepointer in promisesFelipe Magno de Almeida
2016-06-10eina: reenable all tests that where wrongfully disabled.Cedric BAIL
2016-06-10eina: add tests suite for Eina_Safepointer.Cedric BAIL
2016-06-10eolian: remove the unnecessary subtypes APIDaniel Kolesa
Inner type can now be retrieved as a base type of the type. If the type has two inner types or more, there is a new API that allows you to get the second inner type by calling it on the first one (same would apply to getting third via second etc.). This API is simpler to use and doesn't require an iterator.
2016-06-10Evas: Rename Evas.Image into Efl.Canvas.Image.InternalJean-Philippe Andre
Make it abstract. And add Evas.Image as a legacy-only class.
2016-06-09eina: Remove value type promisesLauro Moura
All values in promises are now considered as by-pointer.
2016-06-09eina: Fixes on promises behavior when cancellingLauro Moura
- Free the cancel callbacks on promise delete - Cancelling an ended promise should be a nop - More tests to increase coverage
2016-06-09eolian: support @protected for accessors (get/set)Daniel Kolesa
Previously it was only possible to set it for the whole property. @feature
2016-06-09eolian: fix incorrect doxygen param generationDaniel Kolesa
The first param on methods was skipped for some reason. @fix
2016-06-08eolian: refine the ref system to suit more casesDaniel Kolesa
Now references are first class (but still restricted to one level). Unlike pointers they only mark the type instead of introducing a whole new type.
2016-06-07elementary: switch to legacy API for tests.Cedric Bail
2016-06-07eolian: support @ref on returnsDaniel Kolesa
This adds basic support for @ref on return types.
2016-06-06ecore: make sure lifecycle of Efl.Loop.Fd is correct.Cedric BAIL
2016-06-06ecore: add a tests that ensure we do implement lifecycle correctly.Cedric BAIL
2016-06-06eio: remove eio_model that should already be part of Eio.h.Cedric BAIL
2016-06-06eolian: add a new references system to help replace pointersDaniel Kolesa
It's now possible to mark struct fields and function params as "references", which causes them to become pointers in C (in bindings, they become whatever is necessary). They're not a part of the type and are much more restricted than pointers, allowing bindings to be easier. This system will be gradually utilized and expanded as required. @feature
2016-06-06tests: evas: remove unused variableStefan Schmidt
We set it but never going to use it afterwards. We already tests the efl_gfx_buffer_colorspace_get() elsewhere in this tests so we can ignore it for now until we need it and bring it back together with a user.
2016-06-06elementary_code: Fix test failures post-mergeAndy Williams
Looks like some were legitimate failures that were not being caught in the previous setup
2016-06-06eio: Fix leaks in testsLauro Moura
2016-06-06eina: Avoid promise early deletion when cancelled.Lauro Moura
Cancelling a promise will fulfill it but won't actually free the memory. This memory is under custody of the owner, who must either call value_set or error_set to finish it.
2016-06-06eolian-cxx: Rewrite to accomodate new features of the C++ bindingFelipe Magno de Almeida
2016-06-05eio: Fix Eio_Model promise accessorLarry Jr
2016-06-05ecore: Fix ecore thread promisesLauro Moura
Make sure we free the promise memory, set MAGIC numbers and avoid leaking the underlying eina promise
2016-06-05eina: Fix promise tests and avoid early deletionLauro Moura
- Progress notify refcount fixes, avoiding early deletion - Avoid leaking memory on tests
2016-06-05Eo: remove strict class checking for composite objects.Tom Hacohen
When compositing objects, we were checking that class_of(B) is in A's inheritance tree before allowing attaching B as a composite object of A. This is wrong and breaks a few cases, for example: B extends a class that is in A's inheritance tree or B implements an interface that is in A's inheritance tree. Thanks to Marcel for reporting.
2016-06-03ecore: add a test for detecting the double free problem.Cedric BAIL
2016-06-03ecore: remove Ecore_Animator Eo object.Cedric BAIL
This is only a legacy API.
2016-06-03eina: Remove more Eina_Promise* parameter in promise callbackFelipe Magno de Almeida
Remove not very useful parameter to eina_promise_then callbacks.
2016-06-03eina: Remove Eina_Promise* parameter in promise callbackFelipe Magno de Almeida
Remove not very useful parameter to eina_promise_then callbacks.
2016-06-03eina: Remove unnecessary indirection to promisesFelipe Magno de Almeida
Now when dealing with pointer types, we will not get pointer to pointer semantics in callbacks and eina_promise_owner_value_set for Eina_Promise. It will work as expected: Eina_Promise_Owner* promise = eina_promise_add(); void* p = malloc(sizeof(T)); eina_promise_owner_value_set(promise, p, &free);
2016-06-02elementary: merging in elm_code widget.Cedric BAIL
Theme is not there as it should be manually merged into the elementary default theme.
2016-06-02eolian: utilize the new void_ptr builtin across eo filesDaniel Kolesa
This lets me narrow down the remaining cases of pointers across the EFL. The void pointers will later need to be reevaluated on per-case basis and replaced appropriately where possible/feasible.
2016-06-02Evas: Rename Evas.Rectangle as Efl.Canvas.RectangleJean-Philippe Andre
2016-06-01Revert "Eo: Remove eo_del() and make eo_unref() the replacement."Tom Hacohen
This reverts commit 546ff7bbba788ec834c5608361c0834853f2d5d7. It seems that eo_del() is useful and removing it was creating bugs. The issue is that the way we defined parents in eo, both the parent and the programmer share a reference to the object. When we eo_unref() that reference as the programmer, eo has no way to know it's this specific reference we are freeing, and not a general one, so in some circumstances, for example: eo_ref(child); eo_unref(child); // trying to delete here eo_unref(container); // container is deleted here eo_unref(child); // child already has 0 refs before this point. We would have an issue with references and objects being freed too soon and in general, issue with the references. Having eo_del() solves that, because this one explicitly unparents if there is a parent, meaning the reference ownership is explicitly taken by the programmer. eo_del() is essentially a convenience function around "check if has parent, and if so unparent, otherwise, unref". Which should be used when you want to delete an object although it has a parent, and is equivalent to eo_unref() when it doesn't have one.
2016-05-31eolian: utilize the new builtin string type across eo filesDaniel Kolesa
2016-05-31efl test suite - test args event and args valuesCarsten Haitzler (Rasterman)
2016-05-30eio: Fix eio_test_job_xattr testFelipe Magno de Almeida
Test wasn't enabled when modifications to function prototypes to eio_job_file_xattr_list and eio_job_file_xattr properties were made, so it got pushed inadvertidly without the necessary changes to user code.
2016-05-26eolian-cxx: Added tests for wrapper conversion in C++ APIFelipe Magno de Almeida
2016-05-26ecore: eldbus: Fix prototype for promise then_cb new prototypeFelipe Magno de Almeida
Added Eina_Promise parameter and removed indirection for Eina_Error.
2016-05-26eina: Make cancelled promises use EINA_ERROR_PROMISE_CANCELLED error codeFelipe Magno de Almeida
2016-05-26eina: Fix new prototype for then cb in testFelipe Magno de Almeida
Added Eina_Promise* parameter to function prototypes
2016-05-26Efl: Remove part name in Efl.Container (use Efl.Part)Jean-Philippe Andre
This touches Edje and also Elementary where part names are used. This commit blew up in size since now all content part APIs (get, set, unset) require to use Efl.Part instead. This is a big refactoring commit, but no logic should have been changed. Fingers crossed.
2016-05-26eina test suite - ooops reenable testsCarsten Haitzler (Rasterman)
accidentally snukc in commented disables in test suite as i was hunting why eina test suite crashes while dealing with feedback on my compare fixes etc.
2016-05-26efl - new cmp "fix" code - remove one duplicated cmpCarsten Haitzler (Rasterman)
2016-05-25eio: Adds Eo-based Eio APILauro Moura
The legacy Eio_File factory functions are replaced by an Eo object called Eo_Job that return promises wrapping the async file operations. With this commit, the legacy Eio callbacks are replaced by the following Eo/Promises counterparts : * Done_Cb -> Promise then success callback * Error_Cb -> Promise then error callback * Main_Cb -> Promise progress callback * Filter_Cb -> Job object event (more below) Events are used to deliver and get the filter data. To differentiate between the named and direct versions, they come in "filter,direct" and "filter,name" versions. Monitors were wrapped inside a new class Eo_Sentry. The user creates a sentry object and adds monitoring targets to it, listening to events on it. The sentry event info is composed of two strings. The source string is the path being monitored, i.e. the one passed to eio_sentry_add, and the trigger string is the path that actually triggered the event, e.g. a new file created in a monitored directory.
2016-05-25eina: Add promise parameter to then calllbacksFelipe Magno de Almeida
Added promise parameter to then callbacks so callbacks can steal ownership of the value from the promise.
2016-05-25eio: Call correct function to cleanup Eio_File.Lauro Moura
The Eio functions operating on Eina_Files were just freeing the Eio_File pointer on completion instead of calling eio_file_free to unregister the thread.