summaryrefslogtreecommitdiff
path: root/src/lib/eio
Commit message (Collapse)AuthorAgeFilesLines
* Eo: Finish the renaming of Eo to the EFL.Tom Hacohen2016-08-154-26/+26
| | | | | | | 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.
* Change the EFL to follow the new Eo rename.Tom Hacohen2016-08-117-35/+35
|
* Eio: Update my email address.Stephen Houston2016-08-052-2/+2
|
* autotools: since it has been broken for some times and nobody noticed, let's ↵Cedric BAIL2016-08-011-64/+0
| | | | remove per directory support.
* eio: handle failure due to lack of access right.Cedric Bail2016-07-152-2/+12
|
* eio: make it possible to force fallback monitor for testing purpose.Cedric Bail2016-07-151-2/+5
|
* eio: avoid access after death of eio handler due to inotify triggering ↵Cedric Bail2016-07-151-0/+5
| | | | IN_IGNORED event.
* eio: cleanup thread pointer on thread finish.Cedric Bail2016-07-152-0/+2
|
* eio model - fix leak found by coverityCarsten Haitzler (Rasterman)2016-07-081-1/+2
| | | | fix CID 1355012
* eio: register one Efl_Io_Manager by default on the main loop at init time.Cedric BAIL2016-06-221-2/+9
|
* eio: rename eio_job to efl_io_manager.Cedric BAIL2016-06-224-53/+54
| | | | | There is still a lot of work to do in this API to make it efficient and stable. Will try to get at it before 1.18 release.
* efl: Move promise parameter to return in data modelFelipe Magno de Almeida2016-06-161-13/+22
| | | | | | | | | | | | | | | | | Summary: Instead of: efl_model_property_get("name", &promise); now: promise = efl_model_property_get("name"); Reviewers: stefan_schmidt, cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4038
* eio: Fixed Eio_Model monitor life cycleLarry Jr2016-06-142-26/+78
|
* eio: Removed wrong attribution to promise vtable from EioFelipe Magno de Almeida2016-06-111-9/+3
|
* eio: fixed Eina_Value_Type in model property mtimeLarry Jr2016-06-101-1/+1
|
* eina: Remove value type promisesLauro Moura2016-06-092-21/+23
| | | | All values in promises are now considered as by-pointer.
* eio: Fix build for windowsJean-Philippe Andre2016-06-071-3/+1
| | | | | | | dllimport vs dllexport problem due to invalid include order. Thanks @vtorri for the report See 1ba06bb6429d6199714
* eio: fix pointer comparison.Benjamin Jacobs2016-06-061-1/+1
| | | | | | Fix a warning on dragonfly. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eio: remove eio_model that should already be part of Eio.h.Cedric BAIL2016-06-064-78/+4
|
* eio: fix free eina_promises in error_callbacksLarry Jr2016-06-061-0/+5
|
* eio: treat Eina_Accessor NULL as success instead of failure in modelLarry Jr2016-06-051-8/+2
| | | | | | We treated as errors when Eina_Accessor was NULL, which meant that we could never get an empty range os children. Treat it as success and pass an empty Eina_Accessor
* eio: Add mime_type property in Eio_ModelLarry Jr2016-06-053-8/+28
|
* eio: Eio_Model parent_get return parent modelLarry Jr2016-06-052-1/+30
|
* eio: Fix Eio_Model promise accessorLarry Jr2016-06-051-11/+9
|
* eina: Remove unnecessary indirection to promisesFelipe Magno de Almeida2016-06-031-24/+12
| | | | | | | | | | | | | 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);
* eolian: utilize the new void_ptr builtin across eo filesDaniel Kolesa2016-06-022-2/+2
| | | | | | 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.
* eolian: utilize the new builtin string type across eo filesDaniel Kolesa2016-05-313-22/+22
|
* eio: fix build break.Hermet Park2016-05-281-1/+5
| | | | | there were missing eo headers. fix and make it work again.
* eio: Adds Eo-based Eio APILauro Moura2016-05-259-1251/+2270
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* eio: Call correct function to cleanup Eio_File.Lauro Moura2016-05-251-3/+3
| | | | | | 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.
* Efl: Remove "legacy_prefix: null;" as it's now the default.Tom Hacohen2016-05-121-1/+0
|
* Efl model: Remove the no longer needed .Base hack.Tom Hacohen2016-05-102-23/+23
|
* Efl, Eio, Eldbus, Elementary: new model API use eina_promiseLarry Jr2016-04-293-279/+219
| | | | | | | | | Efl - efl_model_base changed to use eina_promise Eio - eio_model use efl_model_base with promise Eldbus - elddbus models use promise now Elementary - elm_view_list and elm_view_form use new models with promise updated all related examples and tests
* docs: eio: add class description for eio model classStefan Schmidt2016-04-201-0/+2
|
* eio: make it possible to build the library alone.Cedric BAIL2016-04-141-0/+61
|
* Change the EFL according to the renaming of the eo_add() current object.Tom Hacohen2016-03-151-2/+2
|
* Revert "Automatic migration to the new eo_add syntax."Tom Hacohen2016-03-111-4/+3
| | | | This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
* Automatic migration to the new eo_add syntax.Tom Hacohen2016-03-091-3/+4
|
* Automatic migration to Eo4.Tom Hacohen2016-03-031-12/+12
| | | | | | 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.
* Eio model: Fix Eolian warnings.Tom Hacohen2016-02-161-0/+2
| | | | | This includes either migrating types to eolian, fixing namespace or importing extra types.
* eio_monitor: fix memory leak in eio monitor moduleVivek Ellur2015-10-091-1/+4
| | | | | | | | | | | | | | | Summary: Free the allocated memory in eio monitor win32 module. Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3160 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eio_monitor: fix memory leak issueVivek Ellur2015-10-091-0/+2
| | | | | | | | | | | | | | | | | Summary: @fix Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3161 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eio: make poll backend pass eio_test_monitor.c test suite.Cedric BAIL2015-10-041-5/+5
| | | | | | | | | | | | | | | | | | Summary: The current poll backend code uses only filename when reporting changes, while eio tests (and presumably other backends) use absolute path. This makes poll backends behavior more consistent with other backends. Test Plan: Ran eio test suite with poll backend. Reviewers: cedric Reviewed By: cedric Subscribers: cedric Projects: #efl Differential Revision: https://phab.enlightenment.org/D3083 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eio: improve documentation.Cedric BAIL2015-10-011-57/+122
| | | | | | This set of documentation update basically make it clearer that Eio use Eina and do cross linking of function used by Eio to Eina. It also copy some of the warning coming from Eina documentation into Eio.
* eio: fix typo in documentationAmitesh Singh2015-09-281-4/+4
|
* eio: add kevent backend.Cedric BAIL2015-09-222-1/+209
| | | | | | | | | | | | | | | | | | Summary: Implement basic kqueue/kevent backend for eio. When it comes to tracking directory changes, this backend falls back to the polling one. Test Plan: Ran Enlightenment for several days and some other EFL apps without any issue. Reviewers: cedric Reviewed By: cedric Subscribers: cedric Projects: #e_on_freebsd, #efl Differential Revision: https://phab.enlightenment.org/D2983 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eio: unify deletion of eina_file_ls's iterator.Guillaume Friloux2015-09-031-3/+1
| | | | | | | | | | | | | | Due to a bug with eio_file_stat_ls(), a previous patch (73a23401ef007cd80297df6546484f3e8a065d2c) was written. This patch change the way we delete returned eina iterator from eina_file_ls in _eio_file_eina_ls_heavy() from a separate thread, into eio_async_end() from the main thread. To clarify the code, and avoid a useless call to eina_iterator_free(), this patch also moves the deletion of the same eina iterator from _eio_file_heavy() into eio_async_end() as well.
* eio: limit race condition during shutdown.Cedric BAIL2015-08-191-3/+6
|
* efl: fix doc references across the tree to validate rightDaniel Kolesa2015-07-081-1/+1
|
* ector,ecore,eio,emotion: convert some docsDaniel Kolesa2015-06-101-20/+20
|