summaryrefslogtreecommitdiff
path: root/src/lib/eio (follow)
AgeCommit message (Collapse)Author
2016-09-07eio: fix kevent monitor to not SIGBUS.Al Poole
2016-09-05Rename efl_self to efl_addedTom Hacohen
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
2016-08-30efl callbacks: update some events calls to no longer trigger legacy callbacksdevs/vitorsousa/update_event_callsVitor Sousa
2016-08-26Efl Object: remove legacy callback calls from event_callback_callVitor Sousa
Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
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-08-05Eio: Update my email address.Stephen Houston
2016-08-01autotools: since it has been broken for some times and nobody noticed, let's ↵Cedric BAIL
remove per directory support.
2016-07-15eio: handle failure due to lack of access right.Cedric Bail
2016-07-15eio: make it possible to force fallback monitor for testing purpose.Cedric Bail
2016-07-15eio: avoid access after death of eio handler due to inotify triggering ↵Cedric Bail
IN_IGNORED event.
2016-07-15eio: cleanup thread pointer on thread finish.Cedric Bail
2016-07-08eio model - fix leak found by coverityCarsten Haitzler (Rasterman)
fix CID 1355012
2016-06-22eio: register one Efl_Io_Manager by default on the main loop at init time.Cedric BAIL
2016-06-22eio: rename eio_job to efl_io_manager.Cedric BAIL
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.
2016-06-16efl: Move promise parameter to return in data modelFelipe Magno de Almeida
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
2016-06-14eio: Fixed Eio_Model monitor life cycleLarry Jr
2016-06-11eio: Removed wrong attribution to promise vtable from EioFelipe Magno de Almeida
2016-06-10eio: fixed Eina_Value_Type in model property mtimeLarry Jr
2016-06-09eina: Remove value type promisesLauro Moura
All values in promises are now considered as by-pointer.
2016-06-07eio: Fix build for windowsJean-Philippe Andre
dllimport vs dllexport problem due to invalid include order. Thanks @vtorri for the report See 1ba06bb6429d6199714
2016-06-06eio: fix pointer comparison.Benjamin Jacobs
Fix a warning on dragonfly. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-06-06eio: remove eio_model that should already be part of Eio.h.Cedric BAIL
2016-06-06eio: fix free eina_promises in error_callbacksLarry Jr
2016-06-05eio: treat Eina_Accessor NULL as success instead of failure in modelLarry Jr
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
2016-06-05eio: Add mime_type property in Eio_ModelLarry Jr
2016-06-05eio: Eio_Model parent_get return parent modelLarry Jr
2016-06-05eio: Fix Eio_Model promise accessorLarry Jr
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-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-05-31eolian: utilize the new builtin string type across eo filesDaniel Kolesa
2016-05-28eio: fix build break.Hermet Park
there were missing eo headers. fix and make it work again.
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-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.
2016-05-12Efl: Remove "legacy_prefix: null;" as it's now the default.Tom Hacohen
2016-05-10Efl model: Remove the no longer needed .Base hack.Tom Hacohen
2016-04-29Efl, Eio, Eldbus, Elementary: new model API use eina_promiseLarry Jr
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
2016-04-20docs: eio: add class description for eio model classStefan Schmidt
2016-04-14eio: make it possible to build the library alone.Cedric BAIL
2016-03-15Change the EFL according to the renaming of the eo_add() current object.Tom Hacohen
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-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.
2016-02-16Eio model: Fix Eolian warnings.Tom Hacohen
This includes either migrating types to eolian, fixing namespace or importing extra types.
2015-10-09eio_monitor: fix memory leak in eio monitor moduleVivek Ellur
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>
2015-10-09eio_monitor: fix memory leak issueVivek Ellur
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>
2015-10-04eio: make poll backend pass eio_test_monitor.c test suite.Cedric BAIL
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>
2015-10-01eio: improve documentation.Cedric BAIL
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.
2015-09-28eio: fix typo in documentationAmitesh Singh
2015-09-22eio: add kevent backend.Cedric BAIL
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>