Commit Graph

937 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 59a7bda1d9 stop leaking every ecore system signal event.
People, when you go and change ecore_event_add() to
_ecore_event_add(), please NOTICE THAT THE FREE FUNCTION IS NOT
AUTOMATICALLY SPECIFIED!

So specify these functions to _ecore_event_add() to stop leaking every
signal we receive from system.



SVN revision: 70177
2012-04-13 15:44:02 +00:00
Gustavo Sverzut Barbieri e107124555 remove EAPI from _ecore_event_signal_user_new().
It should never	be exported outside of libecore.so


SVN revision: 70176
2012-04-13 15:36:42 +00:00
Jérôme Pinot 7d464af0a1 From: Jérôme Pinot <ngc891@gmail.com>
Subject: [E-devel] [patch] ecore doxygen doc (2)
Date: Thu, 12 Apr 2012 12:46:04 +0900

Hi,

This is a big patch. It fixes:
- undef #EINA_{TRUE,FALSE} links
- @c for NULL and EINA_{TRUE,FALSE}
- some formatting/spello
- several missing return types


SVN revision: 70117
2012-04-12 03:51:36 +00:00
Daniel Juyung Seo 11a314ca85 ecore ecore_main.c: Added ecore_main_loop_iterate_may_block()
documentation.
I didn't add the API declaration into the header yet because the API
name/parameter might be changed before release.

SVN revision: 69990
2012-04-10 09:12:12 +00:00
Daniel Juyung Seo d771710575 ecore ecore_job.c: Fixed formatting.
SVN revision: 69989
2012-04-10 09:12:08 +00:00
Daniel Juyung Seo 0591672d00 ecore ecore_poll.c: Fixed formatting.
SVN revision: 69940
2012-04-06 04:14:25 +00:00
Vincent Torri 8b6d230f5b Ecore: doc fixes
Patch by Jérôme Pinot


SVN revision: 69928
2012-04-05 07:00:42 +00:00
Jonas M. Gastal 98138cb4d3 New simpler ecore event example.
SVN revision: 69921
2012-04-04 17:31:24 +00:00
Daniel Juyung Seo 3d3f973105 ecore: Fixed documentation.
SVN revision: 69875
2012-04-02 23:47:00 +00:00
Jonas M. Gastal 84f6ee1abf Improved ecore event docs.
SVN revision: 69873
2012-04-02 20:51:51 +00:00
Jonas M. Gastal 81608b2cc7 Fixing typo in docs.
SVN revision: 69872
2012-04-02 20:51:47 +00:00
Carsten Haitzler 74f07c6893 try fix to refactor of ecore where thread_count went negative as it
was --'d when a no_queue thread finished too.



SVN revision: 69741
2012-03-29 11:05:59 +00:00
이병우 707da8b620 From: 이병우 <bw80.lee@samsung.com>
I found a bug in ecore main loop while debuging cpu 100% issue on RSS
application.
 
 1. [RSS] RSS application register two io watch callbacks(for G_IO_IN,
    G_IO_OUT seperately)  for a GIOChannel with g_io_add_watch().
 2. [ecore] In _ecore_glib_context_query() function, g_main_context_query()
    returns a fd list, and it has 2 fd items for the GIOChannel (channel
    id = 20).

    itr[0] (16, 1, 0)
    itr[1] (15, 1, 0)
    itr[2] (20, 1, 0) (G_IO_IN, 0)
    itr[3] (20, 4, 0) (G_IO_OUT, 0)
    itr[4] (18, 1, 0)

3. [ecore] In _ecore_glib_context_poll_from() function, create read, write,
   exception fd list according to the events flags of each fd item.

   [6 15 16 18 20], [20], []

4. [ecore] in _ecore_glib_select__locked() function, get active fd number from
   select() call

   select(21, [6 15 16 18 20], [20], [], NULL) = 1 (out [20])
 
5. [ecore] In _ecore_glib_context_poll_to() function, there is a bug on
   setting revents flag.

   (because of incorrect condition check - currently, the logic of the
   function cannot handle this case)

   itr[0] (16, 1, 0)
   itr[1] (15, 1, 0)
   itr[2] (20, 1, 4) (set incorrectly)
   itr[3] (20, 4, 0)  => this should be set as (20, 4, 4)!!!!
   itr[4] (18, 1, 0)

6. [ecore] In _ecore_glib_select__locked(), g_main_context_check() function
   returns false because of the above bug, so g_main_context_dispatch()
   function will not be called.

>> After this, the 2~6 flow is executed repeatedly on ecore main loop
   (because 20 out is still active fd) and this makes cpu 100% problem.



SVN revision: 69739
2012-03-29 10:36:23 +00:00
Carsten Haitzler f0792f360f remvoe unused func too
SVN revision: 69733
2012-03-29 09:25:48 +00:00
Carsten Haitzler 72fc153e34 and kill warnings (-Wshadow) in ecore_getopt. pointed out that
ecore_getopt_help() cant be called from a thread either in the process.



SVN revision: 69728
2012-03-29 08:56:10 +00:00
Carsten Haitzler edc6198ece main loop checks for all of ecore -> back. (removed by cedric last year)
SVN revision: 69727
2012-03-29 08:52:25 +00:00
Carsten Haitzler 12c38ee1c9 pur RAPI's on the .c file funcs.. TOO! so we can see which are api
calls and whats internal!



SVN revision: 69726
2012-03-29 08:43:11 +00:00
Daniel Juyung Seo 31ee93cf63 ecore Ecore.h: Fixed documentation typo.
SVN revision: 69713
2012-03-29 05:09:58 +00:00
Carsten Haitzler 964881333c let's use ()'s to group our logic better?
SVN revision: 69712
2012-03-29 03:15:36 +00:00
Jihoon Kim 17135e16fb Ecore.h: fix typos
SVN revision: 69578
2012-03-23 05:44:46 +00:00
Jonas M. Gastal 49ed7d364a Ecore FD handler docs.
SVN revision: 69540
2012-03-21 14:14:50 +00:00
Carsten Haitzler 63ed6ac02f gear up svn for release. one of many steps/things to do.
SVN revision: 69481
2012-03-17 04:17:29 +00:00
Jonas M. Gastal 7248d7a970 Ecore poller docs.
SVN revision: 69424
2012-03-15 19:31:09 +00:00
Cedric BAIL ce754d6a12 ecore: fix Ecore_Thread memory leak.
SVN revision: 69343
2012-03-14 17:51:38 +00:00
Jonas M. Gastal c001712874 Ecore event functions docs improvements.
Moved docs to header file.
Fixed some typos.
Added @brief.
Add failure information to @return.
Other random improvements.

SVN revision: 69337
2012-03-14 13:22:20 +00:00
Jonas M. Gastal 6aa497cb88 Better ecore event docs.
SVN revision: 69299
2012-03-13 18:29:31 +00:00
Cedric BAIL 77b6473314 ecore: fix Ecore_Thread double free and update ChangeLog/NEWS.
SVN revision: 69172
2012-03-10 12:47:54 +00:00
Jonas M. Gastal faa433a789 Improvements to ecore timer docs.
SVN revision: 69115
2012-03-09 19:21:52 +00:00
Jonas M. Gastal 7c7a6bade4 Splitting time and timer into separte groups.
SVN revision: 69114
2012-03-09 19:21:47 +00:00
Jonas M. Gastal d829bf73ce Ecore idlers doc bump.
SVN revision: 69112
2012-03-09 17:31:47 +00:00
Carsten Haitzler 531ea0831d hey cedric - i left this commented out, but this 2nd queue is wrong as
the first handles cleaning up the direct worker.



SVN revision: 69098
2012-03-09 12:49:30 +00:00
Sebastian Dransfeld 4c244a82fc formatting
SVN revision: 69068
2012-03-08 19:52:26 +00:00
Cedric BAIL db2a6674cf ecore: add needed exotic include.
SVN revision: 68989
2012-03-07 16:14:47 +00:00
Cedric BAIL d55504f4e5 ecore: remove an impossible to track assert.
NOTE: I am now all for removing this lock. They trigger crash,
are not implementing the feature they are advertising, are not
maintained and impossible to fix.


SVN revision: 68987
2012-03-07 16:11:55 +00:00
Jonas M. Gastal e3436e04cd Style fix for ecore exe docs.
SVN revision: 68725
2012-03-05 14:59:55 +00:00
Jonas M. Gastal 2af6eb6723 Better ecore main loop docs.
SVN revision: 68724
2012-03-05 14:47:44 +00:00
Jonas M. Gastal f34ae9e0da Better ecore_evas intro docs.
SVN revision: 68572
2012-03-01 13:02:17 +00:00
Cedric BAIL 34c0022210 ecore: people are still hurt by that assert.
NOTE: I think that this code should be removed as it is useless, will never
work as expected and nobody care anymore about it.


SVN revision: 68477
2012-02-27 14:40:02 +00:00
Mike Blumenkrantz 96211b171a #if 0 out an unused function
SVN revision: 68437
2012-02-25 08:30:51 +00:00
Cedric BAIL 22ed9fcfab ecore: fix ecore build without thread support and mmap.
SVN revision: 68418
2012-02-24 15:14:10 +00:00
Cedric BAIL 4fcca0a938 ecore: fix typos.
SVN revision: 68406
2012-02-24 11:48:53 +00:00
Cedric BAIL c1f2c6f682 ecore: add Exotic support.
SVN revision: 68402
2012-02-24 11:20:25 +00:00
Christopher Michael 6b51a11d0d Ecore: Fix grammar in doxy.
SVN revision: 68353
2012-02-23 16:49:34 +00:00
Cedric BAIL 6ca64e9c3c ecore: cleanup thread destruction.
SVN revision: 68288
2012-02-22 21:38:39 +00:00
Christopher Michael 84ba307c71 Ecore: Fix typo in header (for docs).
SVN revision: 68286
2012-02-22 19:49:15 +00:00
Cedric BAIL 6152601e1f ecore: rewrite of Ecore_Thread internal to use Eina_Lock and ecore_main_loop_thread_safe_call_async.
NOTES: It is now safer and faster. I doubt I will have more time before the release to finish
ecore_thread_message_run, nor to make the shutdown nicer.


SVN revision: 68164
2012-02-20 15:57:18 +00:00
Vincent Torri 85a36a8f7f Ecore: ecore_pipe: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions
SVN revision: 68104
2012-02-18 12:55:26 +00:00
Daniel Juyung Seo de5074849f ecore ecore_main.c: Fixed formatting. It has nice documentation. Thanks raster :O
SVN revision: 67685
2012-02-02 05:21:24 +00:00
Cedric BAIL 457de1db0b ecore: M_PI / 2.0 == M_PI_2
SVN revision: 67496
2012-01-24 14:50:39 +00:00
Gustavo Sverzut Barbieri 58feaf04b4 ecore/docs: improve main page a bit.
SVN revision: 67448
2012-01-22 15:05:20 +00:00