summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2016-03-09ecore-drm: don't set DBG on log level if DBG not already setMike Blumenkrantz
...
2016-03-09ecore-drm: Disable default DBG log levelChris Michael
Simple patch to disable setting ecore-drm log level to DBG by default @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-03-09cxx: Migrate C++ binding to the new eo_add syntaxVitor Sousa
2016-03-09Fix examples according to the recent eo event changes.Tom Hacohen
2016-03-09Examples: Update according to recent eo_add changes.Tom Hacohen
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-09Ector and eo suite: Semi automatically migrate to the new eo_add.Tom Hacohen
There were some issues with the migration that required manual intervention.
2016-03-09Vg node: modify so the eo_add migration script won't break.Tom Hacohen
2016-03-09Eo: Change to the Eo4 eo_add syntax.Tom Hacohen
The current one was a hack in the meanwhile and was not protable.
2016-03-09tests evas: enable xpm image loader in testsStefan Schmidt
Added in 2014 and not enabled since then. This seems to be fixed now so we can finally enable it.
2016-03-09tests evas: remove commented out function which have not been used since 2014Stefan Schmidt
It was already unused when it was disabled almost two years ago. dbe02d593e2fed9ab774cebbeaf669c2de710600 Its about time to remove it.
2016-03-09ecore-drm: Don't re-include config.hChris Michael
As ecore_drm_private.h already includes config.h header, we don't need to include it here in these files also @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-03-09ecore-drm: Update copyright noticeChris Michael
As portions of this code have been derived from existing code in Weston, we should also be including their copyright/licence text to give credit. NB: Fixes T3286 @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-03-08Revert "ecore: Create Promises"Tom Hacohen
Reverting this at Felipe's request following my email. There are many things I strongly object to in this commit. I've touched the surface of those on the ML (which doesn't work at the moment), though we need to better discuss it. The gist: 1. dlsym is a really bad hack that is not even needed. 2. I don't see why eo should even be aware of promises. It's not aware of list, hash and etc. 3. The eolian changes were done wrong. This should have been discussed and consulted before done, even if only because of the amount of hacks it includes and the cross-domain (ecore, eo and eolian) nature of it. This reverts commit f9ba80ab33e0b94dad7ec103e6d261a644f7835f.
2016-03-08eo_cxx: Fix unused parameter warning when no constructor is requiredVitor Sousa
Test Plan: compile elm Reviewers: stefan_schmidt Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3778
2016-03-08tests eolian: add test cases for type stub generationsStefan Schmidt
While we had the functionality to generate type stubs header we never had these tested in our unit test setup. Adding to simple cases for struct and typedef which we already use for normal header generation tests.
2016-03-08eolian_gen: mention the option for generating a stub header in the example useStefan Schmidt
Listed in the available options already but better also list it in the example usage where the other three generation types are listed as well.
2016-03-08eolian_gen: remove unused functions _nextline and _startlineStefan Schmidt
These two have no users and there is no point in keeping them around.
2016-03-08evas-3d examples: remove unused variablesStefan Schmidt
2016-03-08eo del interceptor: add the ability to intercept deletions of eo objectsCarsten Haitzler (Rasterman)
Imagine this. You have an object. You pass this object handle as a message to another thread. Let's say it's not a UI object, so something you might expect to be able to be accessed from multiple threads. In order to keep the object alive you eo_ref() it when placing the message on a queue and eo_unref() it once the message is "done" in the other thread. If the original sender unref()ed the object before the message is done, then the object will be destroyed in the reciever thread. This is bad for objects "expecting" not to be destroyed outside their owning thread. This allows thius situation to be fixed. A constructor in a class of an object can set up a delete interceptor. For example if we have a "loop ownership" class you multi-ple-inherit from/use as a mixin. This class will set up the interceptor to ensure that on destruction if pthread_self() != owning loop thread id, then add object to "delete me" queue on the owning loop and wake it up. the owning loop thread will wake up and then process this queue and delete the queued objects nicely and safely within the "owning context". This can also be used in this same manner to defer deletion within a loop "until later" in the same delete_me queue. You can even use this as a caching mechanism for objects to prevernt their actual destruction and instead place them in a cached area to be picked from at a later date. The uses are many for this and this is a basic building block for future EFL features like generic messages where a message payload could be an eo object and thus the above loop onwership issue can happen and needs fixing. This adds APIs, implementation, documentation (doxy reference) and tests. @feature
2016-03-08Revert "eina: split Makefile with files/headers in preparation for ↵Stefan Schmidt
additional per sub directory compilation" This reverts commit 7f4ea1a79c63615bb14051db16e6fe5d90c9bd10. This reverts one of three parts of the try to get sub directory compilation back into eina. It breaks our distcheck though and I talked to Cedric about it and he prefers to revert these as we might need to go another route to bring this functionality back. Details will come to the mailing list.
2016-03-08Revert "eina: reintroduce additional support for eina sub directory ↵Stefan Schmidt
compilation." This reverts commit 1affc60d00e1fa2b702d6b170514b86e1438ed9a. This reverts one of three parts of the try to get sub directory compilation back into eina. It breaks our distcheck though and I talked to Cedric about it and he prefers to revert these as we might need to go another route to bring this functionality back. Details will come to the mailing list.
2016-03-08Revert "eina: rely on GNU make to find file at their correct location."Stefan Schmidt
This reverts commit e26fcbb1dc588c5130e477bf832c59386b1c1951. This reverts one of three parts of the try to get sub directory compilation back into eina. It breaks our distcheck though and I talked to Cedric about it and he prefers to revert these as we might need to go another route to bring this functionality back. Details will come to the mailing list.
2016-03-07eolian: validate eo/legacy prefix to be [a-z_][a-z0-9_]*Daniel Kolesa
2016-03-07tests: get rid of Eo_Event2 in cxx testsStefan Schmidt
Hopefully the last occurance of Eo_Event2 in our code base. Fixes a build break.
2016-03-07cxx bindings: get rid of Eo_Event2Stefan Schmidt
This follows the change in EO and fixes some build breaks.
2016-03-07Eo event cb: Update documentation.Tom Hacohen
2016-03-07Eo: Update documentation according to the event cb changes.Tom Hacohen
2016-03-07Eo: get rid of Eo_Event2.Tom Hacohen
The hack is still there, but much cleaner now.
2016-03-06ecore: Create PromisesFelipe Magno de Almeida
Add a promise object that allows Eolian interface to include promises as a way to have asynchronous value return and composibility. The usage is like this in a .eo file: class Foo { methods { bar { params { promise: Promise<int>; } } } } Which will create the following API interface: void foo_bar(Ecore_Promise** promise); and the equivalent declaration for implementation. However, the API function will instantiate the Promise for the user and the implementer of the class.
2016-03-06eina: Add Eina_Iterator implementation for C-arrayFelipe Magno de Almeida
This iterator is convenient when you already have a C-Array and you need to pass this array to a function receiving an Eina_Iterator. int array[] = {1, 2, 3, 4}; int* array2[] = {&array[0], &array[1], &array[2], &array[3], NULL}; Eina_Iterator* iterator = eina_carray_iterator_new((void**)array);
2016-03-06eina: fix typos in doxygenJean Guyomarc'h
2016-03-04ecore: better resources use in the glib integrationJean Guyomarc'h
Summary: When glib support is enabled (HAVE_GLIB), _ecore_glib_init() was always reserving resources. However, its counterpart may not be called when: - glib is not always integrated and - when a user didn't explicitly required the integration. Calling _ecore_glib_init() within the request code will cause the resources to be reserved only when the integration with glib is required and furthermore guarantees that resources always have a chance to be released. Reviewers: cedric, raster Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3749 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04Evas: fix camera node adding to sceneperepelits.m
Summary: While making new changes after rewieving D3710 we met this bug again, removing eo_unref is the best way to fix it because _eo_ref_replace from D3021 makes nothing special. Reviewers: cedric, raster, Hermet Subscribers: jpeg, artem.popov Differential Revision: https://phab.enlightenment.org/D3745 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04evas: fix preload thread deadlock issuejiin.moon
Summary: Wrong condition makes deadlock issue. Reviewers: jpeg, jypark Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3742 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04edje: return default description depends on RTL when description doesn't existSoohye Shin
Summary: If not found edje part description, edje just set default description in spite of RTL status. This adds to call function for getting the correct description as RTL status. Reviewers: raster, Hermet, cedric Subscribers: minkyu, sju27, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3735 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04edje_embryo: add box attributes support to set_state_val()Jee-Yong Um
Summary: Add box attributes support to set_state_val(). Reviewers: raster, cedric Reviewed By: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3734 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04tests: disable loading of the scim module as this can causes hangs of the testsStefan Schmidt
With scim installed we can run into hangs of the test suite when the ecore_imf scim module tries to connect to the scim on the system. This has happened again and again on different installations and made the test suite really fragile. We would need to make sure that scim is configured on the host before we could run this test. It might be a candidate for skipped tests where we check if the env has all we need to run the test and if not skip it. We don not have all the needed pieces in place for this so the best we can do to make the test runs less fragile is disabling scim module loading for now.
2016-03-04Eo tests: Add tests for null (invalid) array callbacks.Tom Hacohen
2016-03-04Eo: unmark Eo_Class as deprecated.Tom Hacohen
It's not deprecated, it's actually a useful alias.
2016-03-04Eo: Remove more deprecated functions.Tom Hacohen
2016-03-04Eo: remove the long deprecated eo_data_get.Tom Hacohen
It has been deprecated for a while, and now it's time to actually stop using it.
2016-03-04Eo tests: Test more cases with legacy events.Tom Hacohen
2016-03-04Eo legacy events: remove pointless string copies.Tom Hacohen
This was there because the old code modified the string. It is no longer needed now that we just stringshare it.
2016-03-04Eo tests: Increase coverage for children iterator tests.Tom Hacohen
2016-03-04Eo: Remove useless safety checks.Tom Hacohen
Those can never happen, ever.
2016-03-04Eo tests: add more eo_data_get tests.Tom Hacohen
2016-03-04Eo: fix oversight for key_dataDaniel Zaoui
2016-03-04Eo: set object as const for key_data_getDaniel Zaoui
Due to Eo4 changes, const is now important for this function.
2016-03-03eina: rely on GNU make to find file at their correct location.Cedric Bail