path: root/src/lib/ecore (follow)
AgeCommit message (Collapse)Author
2017-09-26ecore: we can actually inherit from Efl.Object, just not in the first position.Cedric BAIL
2017-09-26ecore: we need a different event for tracking the lifecycle of the main loop.Cedric BAIL
If the main loop is destroyed a lot of companion information might already have been so relying on EFL_EVENT_DEL might be way to late in the shutdown process. terminate will be triggered as soon as the process of shutting down is started, so all the data are still valid and have not been destroyed yet.
2017-09-26ecore: Reset do_quit when ecore shuts downJean-Philippe Andre
After ecore_shutdown the main loop is dead, so the flag do_quit can be safely reset to 0. This will fix issues with cycles of elm_init/shutdown. This fixes: CK_FORK=no tests/elementary/elm_suite elm_win This patch relies on a few of the previous patches which ensure that ecore is well shut down. @fix
2017-09-25ecore: start adding life cycle support to Efl.Loop.Cedric BAIL
pause event is triggered when no more windows are visible to any user. resume event is triggered when a window make the application visible for the first time to the user after a pause or when starting the application.
2017-09-23ecore exe - add an "isolate io"f lag for sending io to /dev/nullCarsten Haitzler (Rasterman)
this is useful for security to disallow child processes access to stdio/err of the parent process. @feature
2017-09-22ecore: force initialization of Efl.Io.Closer.Fd.Cedric Bail
This will prevent closing magically fd 0 when the object is not initialized yet.
2017-09-22eo: make more freefuncs implicitDaniel Kolesa
2017-09-22EFL For WIN32: Replace HAVE_EVIL define with _WIN32Vincent 'vtorri' Torri
2017-09-18ecore: make efl_loop_future_scheduler_get shouldn't be exposed in the object ↵Cedric BAIL
function. Function declared in a .eo are something that we want to allow people to inherit from or use in a binding. I can't think of a situation where that would be the case for this function and it solves at the same time problem of needing a shared interface for both loop and loop_user.
2017-09-15ecore: convert existing eo files to new ownershipDaniel Kolesa
2017-09-15ecore exe - fix fix malloc fail handlingCarsten Haitzler (Rasterman)
for both ecore_exe_win32.c and ecore_exe_posix.c when the rare case (basically almost never) that malloc fails for the exe read/err buffers also set the data size to 0 so it doesn't lie with a NULL ptr for data. @fix
2017-09-14ecore: update buffer size before allocation, not after.Cedric BAIL
2017-09-14efl: silent warnings shown on solaris due to missing header files.Cedric BAIL
2017-09-13ecore: allow efl_loop_future_scheduler_get on all Efl.Loop.User.Cedric Bail
2017-09-07ecore: Add efl_model_copmosite_selection modelFelipe Magno de Almeida
2017-09-04ecore: fix return valueJean Guyomarc'h
2017-09-04efl_io_copier: Use the new Eina_Future API.Guilherme Iscaro
2017-09-04Efl_Loop: add job, timeout and idle based on Eina_Future.Gustavo Sverzut Barbieri
Since some clash with old version, then add Eina_FutureXXX to their name, later we'll sed.
2017-09-04Eina: Add Eina_Promise/Eina_Future.Guilherme Iscaro
This commit adds a new promise/future API which aims to replace efl_future.
2017-09-02ecore_exe - fix failed finalize fork to reutrn NULL not ecore_exe_freeCarsten Haitzler (Rasterman)
dont delete the obj during finalize... just retyurn NULL to fail. fork() failed for me so i found this... ask not why fork failed... but it did... and thus found this error handling case. @fix
2017-08-23ecore: Fix shadow warning (with nodejs enabled)Jean-Philippe Andre
2017-08-11ecore: always set delete_me before removing fd from pollMike Blumenkrantz
ensure bad fds don't immediately get re-added to polling @fix
2017-08-10ecore, ecore_con: fix const on Eina.SliceDaniel Kolesa
Fixes TODOs from dd5cdda64b5fd3966718af62d417117942e2f323 after fixing T5024.
2017-08-09ecore glib support - if we are not the main ctx owner loop to acquireCarsten Haitzler (Rasterman)
the code didn't try acquire every loop if we were not, so it wouldnt wake up if someone stole context (and then gave it up). found by roy! @fix
2017-08-02Efl_Copier: Add efl_wref_del() for pd->job.Guilherme Iscaro
In order to perform IO operations the copier will create futures using efl_future_use(&pd->job, ...), which will set pd->job to NULL once the future is destroyed. However this may lead to problems, because in some cases the copier may be deleted at the _efl_io_copier_job() function, which is the future's callback. Since the copier may be deleted before the future, the area pointed by pd->job will have disappeared by the time the future tries to set pd->job to NULL. To avoid this problem the copier must explicily call efl_wref_del(). Signed-off-by: Cedric BAIL <>
2017-07-26ecore_events: inarray should be flushed before returnWooHyun Jung
2017-07-24ecore exe - pisix - handle malloc failsCarsten Haitzler (Rasterman)
handle malloc fails better @fix
2017-07-24ecore win32 exe handling - check realloc and malloc returnsCarsten Haitzler (Rasterman)
handle out of memory errors better @fix
2017-07-24ecore_exe - handle realloc failures by complaining and rolling backCarsten Haitzler (Rasterman)
2017-07-23add comment about poll high/medium/low implementation of eventsCarsten Haitzler (Rasterman)
not brilliant as it stands. :(
2017-07-23ecore main - fix division to remain a double/float as expectedCarsten Haitzler (Rasterman)
1/60 != 1.0/60.0 ... the first is an integer which is 0... the second is 0.016666666 .... a float/double. fix CID 1377532
2017-07-12ecore_anim: set the tick thread's fds CLOEXECDerek Foreman
If we don't set them CLOEXEC then they end up in the fd space of every client Enlightenment launches, allowing any client to write to them and mess with animator timings or freeze the compositor.
2017-07-12ecore: Fix coverity resource leakChris Michael
Coverity CID1377544 reports that poller is leaked here if we error out and return null. As poller is created with calloc, we should free it before returning. @fix Signed-off-by: Chris Michael <>
2017-07-11ecore: properly cleanup callbacks of future/promise.Cedric BAIL
2017-06-08Ecore: fix Efl.Model.ItemLarry Jr
sent property_changed signal in property_set
2017-06-07docs: Fix typos and some wrong expressions in Ecore, Ecore_Audio, ↵Myoungwoon Roy, Kim
Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Summary: I had fixed some typos and wrong expressions, such as capital letters, $simbols in .eo and singulars in Ecore, Ecore_Audio, Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Test Plan: Doxygen Revision Reviewers: Jaehyun_Cho, stefan, jpeg, cedric, raster Reviewed By: Jaehyun_Cho Differential Revision:
2017-06-02ecore: simplify usage of poller by giving 3 class of event on the main loop ↵Cedric BAIL
object. The internal logic should be improved further in the future to synchronize itself with loop wake up whenever possible (Especially true for the high frequency poller).
2017-06-02ecore: poller will be legacy only.Cedric BAIL
2017-05-29ecore: Try to fix buildJean-Philippe Andre
ecore_types.eot does not exist anymore.
2017-05-29ecore: Remove ecore_types.eotJean-Philippe Andre
This moves one enum from EO to legacy only (Ecore_Pos_Map). Ideally the type should be in Ecore_Legacy and no Common, that can be done later. Ref T5522
2017-05-24elm: Remove elm_box_layout_set from EOJean-Philippe Andre
This removes a type from ecore_types.eot elm_box is legacy. Efl.Ui.Box is the new EO-enabled box. Ref T5522
2017-05-19ecore: resolve compiler warningMike Blumenkrantz
/home/jpeg/e/core/efl/src/lib/ecore/ecore_main.c:1381: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] THANKS @JPEG FOR REPORTING
2017-05-12ecore: allow creation of fd handlers with no flagsMike Blumenkrantz
it's possible to set flags to 0 with another function, so allowing creation with 0 makes the api more consistent without breaking the documented behavior
2017-04-26ecore: efl_promise: remove superfluous NULL checkStefan Schmidt
f is already checked against NULL in the eina array macro. No need to check again. CID: 1362730
2017-04-22ecore - fix epoll ifdefs and case handlingCarsten Haitzler (Rasterman)
2017-04-21efl_io_closer - fix warning about error printCarsten Haitzler (Rasterman)
lazy removal of fcntl without fixing up error print... fixed.
2017-04-21ecore_pipe - fix warning of sign vs unsigned comparisonCarsten Haitzler (Rasterman)
2017-04-19ecore_pipe: Fixed dead lock with epollIvan Furs
See a76ebea2d840ecc575efb025574c15503225b83f and the following commits on this file. The following test scenario let to easily reproducible application hangs: elementary_test -to "Icon Desktops" # then scroll vigorously with the mouse wheel up/down This patch was applied as a new revision on the below diff: Differential Revision:
2017-04-18ecore: use new API eina_file_close_on_exec.Cedric BAIL
2017-04-18ecore pipe - fix checking return of read for pipes in new codeCarsten Haitzler (Rasterman)