Commit Graph

97 Commits

Author SHA1 Message Date
Daniel Zaoui 9eb2d0e685 Remove EAPI that were not supposed to be.
vtorri is hot today!!!

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78303
2012-10-21 08:17:08 +00:00
Daniel Zaoui cacd9955ab Fix: compilation problem due to _ecore_parent declaration and
HAVE_MALLINFO conflict.

Thanks to vtorri for having found that.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78301
2012-10-21 08:04:20 +00:00
Yakov Goldberg dbda81582a Porting to Eo: Job, Animator, Idler, Idle_Enterer, Idle_Exiter, Timer, Ecore_Poll
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 77722
2012-10-10 08:19:58 +00:00
Carsten Haitzler fe00bc661a extend ecore fork infra to handle pipe re-create afetr fork for
ecore-evas.



SVN revision: 75194
2012-08-13 08:52:45 +00:00
Cedric BAIL 6aefa60a0a ecore: add ecore_fork_reset()
SVN revision: 75045
2012-08-09 12:17:47 +00:00
Cedric BAIL e905f3ccd2 ecore: correctly shutdown Ecore_Thread.
SVN revision: 75039
2012-08-09 10:52:48 +00:00
Stefan Schmidt 43bf432157 ecore: unused-params--
SVN revision: 72985
2012-06-28 08:51:42 +00:00
Cedric BAIL 6d2b2f366f ecore: force pthread_join even when main loop isn't running.
pthread_create can fail if to much pthread are pending. As pthread_join
is only called when the main loop can flush the async call list, there was
a possibility for edje_cc to run out of thread due to that. We know
force the flush of the async call list and so call pthread_join when
pthread_create fail.


SVN revision: 71555
2012-05-30 12:14:34 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Cedric BAIL ed1bdf1b7b ecore: don't run out of fd when crazy apps cycle through ecore_init/ecore_shutdown.
SVN revision: 70860
2012-05-08 03:50:22 +00:00
Jonas M. Gastal 9080cd0a3a Cleanup Doxygen Warnings - ecore 1
Files modified:
ecore/doc/Doxyfile.in
ecore/src/lib/ecore/Ecore.h
ecore/src/lib/ecore/ecore.c
ecore/src/lib/ecore/ecore_getopt.c
ecore/src/lib/ecore/ecore_main.c
ecore/src/lib/ecore_con/Ecore_Con.h

SVN revision: 70421
2012-04-23 20:09:44 +00:00
Cedric BAIL c1f2c6f682 ecore: add Exotic support.
SVN revision: 68402
2012-02-24 11:20:25 +00:00
Carsten Haitzler bd24931df1 disable bugfix for now. leave commented as note.
SVN revision: 66477
2011-12-23 11:40:05 +00:00
Carsten Haitzler 94e5832ce8 see comments for info. a short workaround for now.
SVN revision: 66258
2011-12-15 14:10:42 +00:00
Cedric BAIL 38567fbf32 ecore: include stdlib.h when required.
SVN revision: 65964
2011-12-06 16:09:05 +00:00
Mike Blumenkrantz 54a2db0044 mempools++
SVN revision: 65833
2011-12-03 03:39:07 +00:00
Carsten Haitzler 58cbf16625 ran ecrustify on ecore. some manual fixing too.
SVN revision: 64238
2011-10-21 05:40:39 +00:00
Cedric BAIL 9a6c96ee56 ecore: prevent one last spurious wakeup.
SVN revision: 63619
2011-09-27 06:16:11 +00:00
Cedric BAIL 16fc152856 ecore: lock all broadcast.
SVN revision: 63567
2011-09-23 13:26:54 +00:00
Cedric BAIL f749139212 ecore: prevent spurious wakeup and lock the right mutex.
SVN revision: 63565
2011-09-23 10:47:33 +00:00
Cedric BAIL d64c1b9566 ecore: reduce race condition.
SVN revision: 63436
2011-09-16 09:31:47 +00:00
Cedric BAIL 8e9fbe5662 ecore: prevent race condition when using sync call after begin/end.
SVN revision: 63407
2011-09-15 11:15:46 +00:00
Cedric BAIL 8c078b294c ecore: make ecore_thread_main_loop_begin/end() recursive.
SVN revision: 62687
2011-08-22 09:47:17 +00:00
Sebastian Dransfeld d48cb21e21 ecore: Use PATH_MAX
SVN revision: 62555
2011-08-18 07:35:23 +00:00
Sebastian Dransfeld 82bb3a62af ecore: Fix shadow warning
SVN revision: 62554
2011-08-18 07:35:12 +00:00
Cedric BAIL 7b047a49d7 ecore: add clean thread safety mecanism.
SVN revision: 62531
2011-08-17 09:43:49 +00:00
Cedric BAIL 1ca5e18738 ecore: add ecore_main_loop_thread_safe_call_sync and rename ecore_main_loop_thread_safe_call.
SVN revision: 62513
2011-08-16 14:35:00 +00:00
Mike McCormack a541e19c16 ecore: Use eina locks for _ecore_lock()
Always count lock calls too.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62372
2011-08-12 05:21:49 +00:00
Mike McCormack 0fad5661b0 ecore: Lock in ecore_shutdown
Avoid unbalanced locks when calling event-free callbacks.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 62348
2011-08-11 12:01:19 +00:00
Gustavo Lima Chaves 0603a5cf50 [ecore] Put order in header file, splitting function groups in contiguous 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-08-10 19:14:48 +00:00
Cedric BAIL d0e8b833a9 ecore: merge call to main loop together to reduce number of main loop wakeup.
SVN revision: 61947
2011-08-01 12:16:39 +00:00
Cedric BAIL 236b7fca74 ecore: now you don't need to care if you are in the main loop or not when you call ecore_main_loop_thread_safe_call.
SVN revision: 61897
2011-07-29 14:59:43 +00:00
Cedric BAIL b4338b1c7f ecore: add ecore_main_loop_thread_safe_call.
NOTE: that's for you mike.


SVN revision: 61857
2011-07-28 13:33:14 +00:00
Mike McCormack f7ec79e13e ecore: Add function to check we're the main loop thread
Rearrange the the order of startup to avoid triggering
the thread checks in ecore_event_type_new().

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 61040
2011-07-05 11:13:20 +00:00
Vincent Torri e91c5a0787 Ecore: remove wrong cast
SVN revision: 60467
2011-06-17 21:45:21 +00:00
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +00:00
Carsten Haitzler 6502ea96ea hve to revert these commits. they hve created a whole chunk of 64bit
crashes on linux. this is REALLY bad. so remove these changes now.



SVN revision: 55981
2011-01-07 15:56:54 +00:00
Vincent Torri 7a078d0c76 use configure-time headers checks instead of compiler ones
SVN revision: 55975
2011-01-07 08:51:17 +00:00
Mike Blumenkrantz d8ab13a85f I got overexcited
SVN revision: 54242
2010-11-06 17:54:01 +00:00
Mike Blumenkrantz b6acfbffc9 add ecore_con strings
SVN revision: 54241
2010-11-06 17:06:56 +00:00
Vincent Torri a17c58d0b0 improve doc layout
SVN revision: 53509
2010-10-17 07:03:28 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Vincent Torri 16263f52cc tab--
SVN revision: 52918
2010-09-30 06:09:20 +00:00
Lucas De Marchi d17de81175 Make ecore_time_get and friends use monotonic clock
Instead of relying on unix time, use a monotonic clock provided by
clock_gettime(). If a monotonic clock is not available, it will fallback
to CLOCK_REALTIME or unix time if neither is available.

The impact is that now it only makes sense to call ecore_time_get() or
ecore_time_loop_get() if the value retrieved is intended to be used as
relative to previous/posterior measurements. If an absolute value is
needed, the right function to call now is ecore_time_unix_get() which
will give the number of seconds since Jan 1st, 1970, 12:00AM.



SVN revision: 52824
2010-09-27 22:35:35 +00:00
Mike McCormack 3bdbb34d64 From: Mike McCormack <mj.mccormack@samsung.com>
This patch implements the ecore main loop in terms of the GTK main loop, so
ecore is a layer on top of glib.

Compared the the current glib integration in ecore, this has the added
advantage of allowing use of EFL libraries in GTK.



SVN revision: 51113
2010-08-14 11:19:03 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 93d98ebedf epoll <- blame mike if it breaks. :)
SVN revision: 50585
2010-07-28 06:08:35 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Carsten Haitzler e232fcd42b make other defines in ecore the same.
SVN revision: 49300
2010-05-29 13:59:42 +00:00
Carsten Haitzler b28f662869 bah. VMIN conflicts with system header defines ... termin.h
SVN revision: 49299
2010-05-29 13:56:21 +00:00