summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_main.c (unfollow)
AgeCommit message (Collapse)Author
2012-03-29main loop checks for all of ecore -> back. (removed by cedric last year)Carsten Haitzler
SVN revision: 69727
2012-03-21Ecore FD handler docs.Jonas M. Gastal
SVN revision: 69540
2012-02-24ecore: add Exotic support.Cedric BAIL
SVN revision: 68402
2012-02-02ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks ↵Daniel Juyung Seo
raster :O SVN revision: 67685
2011-12-11ecore: Fix modularityMike McCormack
This also fixes the glib build. Signed-off-by: Mike McCormack <mikem@ring3k.org> SVN revision: 66091
2011-12-03mempools++Mike Blumenkrantz
SVN revision: 65833
2011-11-29ecore: Allow quitting the main loop before entering itMike McCormack
elementary_config does this, and the glib based main loop didn't support it. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 65683
2011-11-21Ecore: fix some warnings on WindowsVincent Torri
SVN revision: 65497
2011-11-06fix but resulting from threadsafety addition by mike.Carsten Haitzler
SVN revision: 64798
2011-10-27Better docs for ecore_main_loop_iterate()Iván Briano
SVN revision: 64433
2011-10-21ran ecrustify on ecore. some manual fixing too.Carsten Haitzler
SVN revision: 64238
2011-09-16Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001Youness Alaoui
SVN revision: 63430
2011-09-14fix and clarify more fd handler docsMike Blumenkrantz
SVN revision: 63389
2011-09-14fix docs for ecore_main_fd_handler_delMike Blumenkrantz
SVN revision: 63388
2011-09-05ecore (glib): Fix build breakMike McCormack
SVN revision: 63082 Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 63184
2011-09-02mainloop cleanups on top of previous ones and fixes for previous refactorsCarsten Haitzler
SVN revision: 63082
2011-08-22we dont need 1 if level in ecore mainloop. it really isn't needed.Carsten Haitzler
been harmless though. SVN revision: 62682
2011-08-17ecore/glib: Make ecore_main_loop_iterate non-blockingMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 62523
2011-08-12ecore: Create a lockless ecore_main_fd_handler_delMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 62374
2011-08-11ecore: Avoid returning when holding locksMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 62347
2011-08-11ecore: Create callback wrappersMike McCormack
This gets rid of a lot of temporary variables and cleans the code up again... Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 62342
2011-08-10[ecore] Put order in header file, splitting function groups in contiguous ↵Gustavo Lima Chaves
chunks. Sorry for having to pratically rewrite the header, but the other way to get docs right would be to put lots of @addtogroup around several chunks of the file, which is ugly too and doesn't organize anything. I have tested ecore with that and it seems to be okay. SVN revision: 62307
2011-07-28ecore: Add main loop thread safetyMike McCormack
Thread safety is disabled by default. Enable it with --enable-thread-safety Should cover timers, events, animators, idlers and fd handlers. Tested with Enlightenment and elementary_test. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61851
2011-07-27ecore: Reduce rendering latency in g_main_loopMike McCormack
After a lot of hair pulling, and other debugging, it appears that to make animation smooth on an embedded device, the following things should happen in (quick) sequence: 1. update the loop time 2. call timers (which animates and updates the scene graph) 3. call idle enterers (which renders to the display) 4. call fd buf handlers (which flushes xlib stuff) Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61784
2011-07-27ecore: Check timers when not idling alsoMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61782
2011-07-12ecore: Enable timers in glib dispatchMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61286
2011-07-12ecore: Make g_main_loop call idle enterers lastMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61285
2011-07-12ecore: Run timers at end of glib loopMike McCormack
This reduces the time between calculating the scene and rendering it, making scrolling smoother. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61284
2011-07-12ecore: Fix warnings when epoll is disabledMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61283
2011-07-12ecore: Only check timers if we need toMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61282
2011-07-12ecore: Remove redundant variableMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61281
2011-07-12ecore: Set source priority to highMike McCormack
Will only make a difference if there are other gsources. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61269
2011-07-12ecore: Wake main loop immediately on zero sleepMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61268
2011-07-11ecore: Fix logic bug in g_main_loopMike McCormack
Want to use timerfd if either seconds or nanoseconds is non-zero. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61224
2011-07-08ecore: Don't come out of idle because due to idlersMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61152
2011-07-08ecore: Check signals in glib prepare onlyMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61151
2011-07-08ecore: Check for pending before entering g_main_loopMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61150
2011-07-08ecore: Only check timers on zero time leftMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61149
2011-07-08ecore: Remove redundant if statementMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61143
2011-07-07ecore: Remove unnecessary debugging outputMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61112
2011-07-07ecore: Make sure signals break from the main loopMike McCormack
SVN revision: 61111
2011-07-06ecore: Remove most #ifdef HAVE_EPOLL blocksMike McCormack
Replace with if statements and stub epoll calls, and let the compiler optimize out the stub code. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61081
2011-07-06ecore: Remove most HAVE_TIMERFD_CREATE ifdefsMike McCormack
Introduce stub timerfd_create and timerfd_settime functions so ifdefs can be removed. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61080
2011-07-06ecore: Use timerfd with g_main_loopMike McCormack
glib only allows millisecond resolution in g_main_loop. To avoid this limitation, use timerfd to wake up the main loop. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61079
2011-07-05ecore: Only dispatch if we have something to doMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61042
2011-07-05ecore: Add basic thread checksMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61041
2011-07-05diable fix_hz - little need for that these days. i almost forgot thatCarsten Haitzler
this existed! SVN revision: 61030
2011-07-05ecore: Sleep at least until the next timeoutMike McCormack
The g_main_loop was spinning waiting for timers that were almost ready. The spinning was due to waking up from the g_main_loop too early, and then having nothing to do. To solve this, round the timeout up to the nearest millisecond, so that when the main loop wakes, the timer will definitely be ready. Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61028
2011-07-05ecore: Remove excessively verbose loggingMike McCormack
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61027
2011-07-04ecore/fd_handler - Add detailed description to this group.Rafael Antognolli
SVN revision: 61016