summaryrefslogtreecommitdiff
path: root/src/lib/eio (follow)
AgeCommit message (Collapse)Author
2017-03-09eio: avoid crash during shutdown due to Ecore_Event queue.Cedric BAIL
2017-01-18cxx: Modify how to generate C++ headers and allow cyclic dependenciesFelipe Magno de Almeida
Allow cyclic dependencies in generated C++ headers by changing order of includes and creating forward declarations.
2016-12-27eio, edje: use new property impl syntaxDaniel Kolesa
2016-12-27eio: Correct deletion backendIvan Furs
Summary: This patch fixes the bug Fileselector. When backend is deleted need to remove event handler from the list. This commit adds ecore_main_win32_handler_del for correct clean handlers for cases when monitor backend was created by eio_monitor_backend_add(Windows method) or eio_monitor_fallback_add. To remove them needed to use eio_monitor_backend_del(Windows method) or eio_monitor_fallback_del. To identify the method which should free backend was added flag monitor->fallback instead of using static _eio_monitor_win32_native. This solves conflicts if 2 monitors was created and the second monitor changed the _eio_monitor_win32_native variable value. When 1 monitor removed it will be deleted correctly . @fix Reviewers: NikaWhite Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4518
2016-12-20doxygen: remove reference warnings.Jee-Yong Um
Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4503 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-12-16Eio_monitor: support native monitor for Win32 (T4978)Ivan Furs
Test Plan: eio_monitor_backend_add() and eio_monitor_fallback_add use different structures **eio_monitor_backend_add() ** struct _Eio_Monitor_Backend { Eio_Monitor *parent; Eio_Monitor_Win32_Watcher *watcher_file; Eio_Monitor_Win32_Watcher *watcher_dir; Eio_Monitor_Win32_Watcher *watcher_parent; }; **eio_monitor_fallback_add()** struct _Eio_Monitor_Backend { Eio_Monitor *parent; Eina_Stat self; Eina_Hash *children; Ecore_Timer *timer; Ecore_Idler *idler; Ecore_Thread *work; int version; Eina_Bool delete_me : 1; Eina_Bool initialised : 1; Eina_Bool destroyed : 1; }; therefore, an error occurs **void eio_monitor_backend_del**(Eio_Monitor *monitor) { if (!_eio_monitor_win32_native) <------_eio_monitor_win32_native is EINA_TRUE { eio_monitor_fallback_del(monitor); <------ignored------ return; <------ignored------ } _eio_monitor_win32_watcher_free(monitor->backend->watcher_parent); _eio_monitor_win32_watcher_free(monitor->backend->watcher_dir); _eio_monitor_win32_watcher_free(monitor->backend->watcher_file); free(monitor->backend); monitor->backend = NULL; } Reviewers: raster, vtorri, an.kroitor, jpeg, reutskiy.v.v, FurryMyad, cedric Reviewed By: cedric Subscribers: vtorri, artem.popov, cedric, jpeg Tags: #windows, #efl Differential Revision: https://phab.enlightenment.org/D4492 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-12-16eio: check error case for eina_value_get.Cedric BAIL
CID 1356609
2016-12-03eio - have a smaller mempool as i can see 270k of stuff hanging aboutCarsten Haitzler (Rasterman)
eio seems to consume memory even when not in active use. this saves most of 270k even when no longer needed. the mempool just keeps stuff around pretty much forever. also the memory size limit doesn't work at asll if yous set it to something other than -1. it just locks eio up. @optimize
2016-11-28efl.io.manager: fix eo types and indentJee-Yong Um
Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4413 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-11docs: eio: finish up missing eo file docs in eioStefan Schmidt
2016-11-07docs: efl_io: add missing docs for efl_io_managerStefan Schmidt
2016-11-04ecore_audio, eio eo: remove pointersDaniel Kolesa
2016-11-03docs: document all missing type defines in our eo filesStefan Schmidt
With this commit we reach 100% alias doc coverage for our eo files.
2016-10-28eio model: remove useless efreet_mime_type_get callVitor Sousa
2016-10-27docs: eio: document missing structsStefan Schmidt
2016-10-25eio: fetch mime type asynchronously.Cedric Bail
2016-10-06Efl.Loop.User: Use prefix to rename efl_loop_user_loop_getJean-Philippe Andre
efl_loop_user_loop_get is idiotic. efl_loop_get should be good enough.
2016-10-06eio_model: Provide main loop even without parentJean-Philippe Andre
An eio model (and I believe most other models as well, in fact) require a Efl.Loop.User as parent in order for efl future/promises to work. This adds a fallback code directly inside eio model. The alternative was to parent and efl_del all models in fileselector. See T4686
2016-10-04eio - put in fix by disabling some fallback codeAl Poole
as per https://phab.enlightenment.org/T4619 fixes 4619 @fix
2016-09-29efl: Update Efl.Model to use new Efl_Promise and Efl_FutureFelipe Magno de Almeida
Replaced all Eina_Promise_Owner and Eina_Promise with Efl_Promise and Efl_Future.
2016-09-23eio model: use empty mime type when efreet is unable to determine itVitor Sousa
FIX T4502 @fix
2016-09-12eio: properly track destruction of all Eet eio request.Cedric BAIL
@fix T4550
2016-09-08efl: add documentation and last cleanup of the API.Cedric BAIL
2016-09-08eio: implement efl_io_manager_xattr_lsCedric BAIL
2016-09-08eio: add an internal function for getting xattr in bulk.Cedric BAIL
2016-09-08eio: make xattr list packed for better performance.Cedric BAIL
2016-09-08eio: fix allocation in eio_dir to reuse common safer infra.Cedric BAIL
2016-09-08eio: rework efl_io_manager to use efl_future.Cedric Bail
2016-09-08eio: add internal function able to build array instead of triggering a ↵Cedric Bail
callback per files.
2016-09-08eio: track length of resulting operation to be reported by futures.Cedric Bail
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.