efl/legacy/ecore/src
Lucas De Marchi c3dd8fa055 Fix ecore_events for recursive main loops
This fixes the following scenario:
1) An event handler starts another main loop
2) The new main loop processes all the remaining event_handlers of this
event and the remaining events
3) New events are added to the events list
4) A new iteration occurs

Prior behavior was that on (4) the events already processed were
triggered again. The code added to ecore_suite shows a test case,
similar to the one that is fixed now for modal dialogs on WebKit-EFL. I
preferred to let the INF() messages in order to be easy to copy, paste
and debug outside of the suite if anyone wants to. When the number of
tests grows more, we might want to separate them in different files.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 49390
2010-06-02 06:20:18 +00:00
..
bin Remove Ecore_Data 2010-01-26 20:42:49 +00:00
lib Fix ecore_events for recursive main loops 2010-06-02 06:20:18 +00:00
tests Fix ecore_events for recursive main loops 2010-06-02 06:20:18 +00:00
.cvsignore Fixed a couple of debs in e17/libs, added and updated a couple of .cvsignores. 2003-11-13 12:30:50 +00:00
Makefile.am add unit tests framework with some examples. 2010-02-25 08:05:56 +00:00