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
Gustavo Lima Chaves
608716961b
[ecore] New main loop diagram.
...
SVN revision: 62357
2011-08-11 19:29:26 +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
Carsten Haitzler
8e89c5ae88
doc - we dont really need the logo there.
...
SVN revision: 62201
2011-08-08 11:31:07 +00:00
Carsten Haitzler
e8e1d50944
remove some docs on compiling goop we don't need really.
...
SVN revision: 62200
2011-08-08 11:29:05 +00:00
Jonas M. Gastal
a137a9c056
Ecore: removing author list from main page.
...
SVN revision: 62070
2011-08-03 21:00:09 +00:00
Jonas M. Gastal
eda5044ed4
Ecore: Adding diagram to ecore_animator.
...
SVN revision: 62058
2011-08-03 14:40:06 +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
Iván Briano
501232ecfc
Diagrams for Ecore_Thread
...
SVN revision: 61507
2011-07-19 16:58:15 +00:00
Lucas De Marchi
943fb6b06c
ecore: fix common misppellings
...
Mispellings detected by codespell.
SVN revision: 61407
2011-07-15 14:36:13 +00:00
Iván Briano
970c4e6757
Some example for Ecore_Thread
...
It has some issues that need debugging, I'm not sure if Ecore_Thread doesn't
like having stuff done before the main loop is running and valgrind was also
complaining about some invalid reads in ecore_thread.c, but at least the
example is there for people to look at and report problems, things not clear
or just about anything that may come up from it.
SVN revision: 61293
2011-07-12 13:38:25 +00:00
Jonas M. Gastal
54fb59c642
Ecore: Ecore_Animator example.
...
SVN revision: 61131
2011-07-07 18:57:10 +00:00
Jonas M. Gastal
cb9c1403fc
Ecore: Improved ecore_animator documentation.
...
SVN revision: 61130
2011-07-07 18:56:57 +00:00
Daniel Juyung Seo
72bcec17b9
edje/ecore/eina: Updated documentaton for version number.
...
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.
SVN revision: 61104
2011-07-07 04:58:34 +00:00
Iván Briano
693af50513
Expand Ecore_Thread docs.
...
Thanks cedric for technical advice.
Thanks discomfitor for helping when English vanished.
Thanks myself for keeping both of them busy so they don't break SVN *too* much.
SVN revision: 61095
2011-07-06 18:08:21 +00:00
Rafael Antognolli
2cb63dce2a
ecore - add and fix links to examples on each module description.
...
SVN revision: 61014
2011-07-04 18:31:02 +00:00
Carsten Haitzler
9bbe57e6e6
add ecore_throttle
...
SVN revision: 60756
2011-06-28 12:34:52 +00:00
Rafael Antognolli
3010ac711e
ecore/events - constify data parameter of event_handler_data_set.
...
Make this function and ecore_event_handler_add be consistent about it.
SVN revision: 60741
2011-06-27 19:58:53 +00:00
Rafael Antognolli
1a82ea0ad6
ecore/doc - Move some examples to examples.dox
...
Also remove references to examples that don't exist anymore.
More examples are going to be explained, and removing them from Ecore.h
will improve the readability of that file. This is the same that was
done to Elementary.
I'm going to move all the examples reference to this file, and should
have them being pointed by functions that use them too.
SVN revision: 60598
2011-06-22 15:01:55 +00:00
Rafael Antognolli
f5e4319b23
ecore/main_loop - Improve documentation of some functions.
...
SVN revision: 60597
2011-06-22 15:00:44 +00:00
Rafael Antognolli
2344ff2a81
ecore/time - Add an example to use the ecore_time_* functions.
...
It exemplifies the difference between ecore_time_get(), ecore_time_unix_get()
and ecore_loop_time_get(). A description of this example is also provided.
SVN revision: 60557
2011-06-21 17:15:54 +00:00
Cedric BAIL
707f908ba1
ecore: add ecore_pipe_wait.
...
SVN revision: 60135
2011-06-09 14:54:24 +00:00
Cedric BAIL
5817ae601f
ecore: fix typo.
...
SVN revision: 59835
2011-05-31 08:05:16 +00:00
Cedric BAIL
dbd6c4cd1e
ecore: add ecore_pipe_freeze/thraw.
...
SVN revision: 59823
2011-05-30 16:52:19 +00:00
Daniel Juyung Seo
30e6030197
Ecore: Moved ecore.dox.in to Ecore.h header.
...
SVN revision: 59651
2011-05-24 11:31:32 +00:00
Cedric BAIL
6228ce0d60
ecore: add ecore_timer_dump.
...
Note: Will add tomorrow code needed inside e17 to dump all created timer.
SVN revision: 59473
2011-05-17 17:32:32 +00:00
Carsten Haitzler
7fbe314439
Add a custom Ecore Aniamtor source and tick ability to be able
...
to plug in external animator tick sources like vblank interrupts
and so on.
SVN revision: 59345
2011-05-12 09:11:36 +00:00
Carsten Haitzler
8e579c1594
as suggested - nme it timeline
...
SVN revision: 58867
2011-04-24 14:25:43 +00:00
Carsten Haitzler
29992f0a49
add animator runtime stuff to run animator for fixed timelength and an
...
interpolation mapping func.
SVN revision: 58741
2011-04-20 06:51:39 +00:00
Mike Blumenkrantz
4fa3007806
+ecore_exe_data_set
...
SVN revision: 58737
2011-04-19 21:38:24 +00:00
Cedric BAIL
ab3150b53e
ecore: add ecore_thread_reschedule.
...
SVN revision: 57797
2011-03-16 13:16:14 +00:00
Vincent Torri
5c9f3ae378
Ecore:
...
Windows : change API (I allow myself that right for the win32 port :) )
SVN revision: 57724
2011-03-13 10:46:25 +00:00
Carsten Haitzler
6d83a46b76
exe none enum++
...
SVN revision: 56315
2011-01-27 03:30:42 +00:00
Mike Blumenkrantz
9bfc56caf3
unsigned int : 1 -> Eina_Bool : 1
...
SVN revision: 56310
2011-01-26 18:38:13 +00:00
Mike Blumenkrantz
8ac00624a3
add @file for doxy
...
SVN revision: 56309
2011-01-26 18:23:45 +00:00
Vincent Torri
f2c3d976f8
use typedef type for ecore_main_loop_select_func_get() API
...
SVN revision: 56261
2011-01-22 10:11:14 +00:00
Cedric BAIL
e61f8560ea
* ecore: break Ecore_Thread API once and for all to make it consistent.
...
SVN revision: 54502
2010-11-12 13:28:19 +00:00
Mike Blumenkrantz
8a66dd5b56
++ecore_event_handler_data_{set,get}
...
SVN revision: 54162
2010-11-04 20:51:17 +00:00
Vincent Torri
a17c58d0b0
improve doc layout
...
SVN revision: 53509
2010-10-17 07:03:28 +00:00
Cedric BAIL
25e84c7f3d
* ecore: fix possible race. It also make ecore_thread_run
...
match ecore_thread_feedback_run better.
NOTE: I know it breaks API/ABI compatibility for that call,
but that's the only sane solution I could found.
SVN revision: 53370
2010-10-13 17:45:07 +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
Cedric BAIL
8036a32918
* ecore: rename ecore_long_run to ecore_thread_feedback_run.
...
SVN revision: 52573
2010-09-22 09:47:55 +00:00
Mike Blumenkrantz
786e2bd7e4
ecore_main_fd_handler_active_get -> Eina_Bool
...
SVN revision: 52528
2010-09-21 02:06:41 +00:00
Lucas De Marchi
be1b6d32ef
Fix common misspellings
...
Following misspellings were fixed:
alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with
SVN revision: 51986
2010-09-08 11:23:42 +00:00
Mike Blumenkrantz
236d58f0de
ecore_thread_pool -> ecore_thread_local
...
SVN revision: 51272
2010-08-18 08:56:44 +00:00
Carsten Haitzler
e286f48745
and now ecore is 1.0.0 ready too.
...
SVN revision: 51165
2010-08-16 08:17:24 +00:00
Mike Blumenkrantz
a475971aaa
convert all function pointers to typedefs, add doxy stubs for typedefs.
...
note: I've chosen to consolidate typedefs where possible to simplify things
my time is limited this week, so feel free to expand on the doxy stubs I've added if you know what they do
SVN revision: 50803
2010-08-04 02:55:20 +00:00
Mike Blumenkrantz
122ec75b01
return void* for data functions; depend on user not to be stupid (hahahahahah)
...
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?
SVN revision: 50692
2010-07-30 20:33:32 +00:00
Mike Blumenkrantz
d25cc594f9
remove ecore_thread_pool_data_wait, make thread data struct private again, return void* on _set(), fix global_wait to not mutex longer than wait time when no data added
...
SVN revision: 50687
2010-07-30 15:56:18 +00:00
Mike Blumenkrantz
7c45637e38
add data freeing support to ecore thread data api
...
TO FUTURE MIKE: you were too tired to update the doxy last night and instead of writing the doxy updates you fell asleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
SVN revision: 50682
2010-07-30 08:52:18 +00:00
Mike Blumenkrantz
d214a77221
rename function typedefs
...
SVN revision: 50506
2010-07-26 07:19:27 +00:00
Mike Blumenkrantz
d5b507adcc
add typedefs for ecore thread function types because I'm tired of typing them out
...
SVN revision: 50499
2010-07-26 04:20:18 +00:00
Mike Blumenkrantz
f10870c933
whoops
...
SVN revision: 50455
2010-07-23 16:40:40 +00:00
Mike Blumenkrantz
e488119c47
+ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or pool data contexts and simulate g_async_queue in a less mutexy fashion
...
SVN revision: 50454
2010-07-23 16:24:35 +00:00
Mike Blumenkrantz
4436081e5b
add threadsafe global data to threads, allowing for communication between threads and other threads and threads and main loop
...
SVN revision: 50453
2010-07-23 15:33:22 +00:00
Mike Blumenkrantz
9efdf6c9d4
remove unnecessary mutexes, expand pthread self member to short_run threads, make thread pool data work on short_run threads, ecore_thread_pool_data_modify_or_add -> ecore_thread_pool_data_set
...
SVN revision: 50449
2010-07-23 13:08:38 +00:00
Mike Blumenkrantz
c85f521ffa
+ecore_thread_pool_data_modify_or_add
...
SVN revision: 50443
2010-07-23 04:17:41 +00:00
Mike Blumenkrantz
92cd8f2705
api change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid copying key value if desired
...
SVN revision: 50442
2010-07-23 03:39:52 +00:00
Mike Blumenkrantz
ebd21717c6
+ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls are used from heavy_run to manage data within a thread pool. more to come
...
SVN revision: 50438
2010-07-22 20:28:34 +00:00
Mike Blumenkrantz
977be45e37
fix some function variables and a cedric-requested rename
...
SVN revision: 50409
2010-07-21 07:09:51 +00:00
Mike Blumenkrantz
82d7183f47
+ecore_thread_total_get to return total number of pending jobs
...
SVN revision: 50405
2010-07-21 04:03:40 +00:00
Mike Blumenkrantz
35ca9e3e12
+ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also fix formatting
...
SVN revision: 50399
2010-07-21 02:12:10 +00:00
Mike Blumenkrantz
ec1d528178
+ecore_thread_max_{set,get} to return/set the max number of threads ecore will attempt to run simultaneously
...
SVN revision: 50397
2010-07-21 01:04:28 +00:00
Mike Blumenkrantz
75d478dfac
+ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get to retrieve number of threads present with given status
...
SVN revision: 50375
2010-07-20 09:40:18 +00:00
Cedric BAIL
f424ca1e1e
* ecore: for the 50 000 commits, why not adding some docs ?
...
SVN revision: 50000
2010-07-02 16:01:21 +00:00
Cedric BAIL
062f4c3920
* ecore: fix long run thread, now that I have a nice user.
...
SVN revision: 49994
2010-07-02 11:15:20 +00:00
Cedric BAIL
d1fcb71f84
* ecore: add ecore_long_run facility with notify to main loop.
...
SVN revision: 49948
2010-06-30 13:25:28 +00:00
Cedric BAIL
fbe9064310
* ecore: Ecore callback really should return Eina_Bool.
...
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Cedric BAIL
238b9836ca
* ecore: return Eina_Bool instead of int when it make sense.
...
Patch from Nicolas Aguirre.
SVN revision: 49611
2010-06-10 11:57:12 +00:00
Carsten Haitzler
78fd14d116
more extern c outside typedefs etc.
...
SVN revision: 49273
2010-05-29 06:37:02 +00:00
Carsten Haitzler
17263ea263
add ecore versioning
...
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Mike Blumenkrantz
d55e116a4e
added functions for changing/getting a poller's poll interval: ecore_poller_poller_interval_(set|get) along with dox for them
...
surprisingly enough they seem to work!
SVN revision: 49002
2010-05-19 09:16:37 +00:00
Cedric BAIL
9522f7ab27
* ecore: make it possible to easily freeze/thaw animator.
...
NOTE: logic could be optimised as in some case we could just stop
the timer also.
SVN revision: 48580
2010-05-03 16:21:39 +00:00
Vincent Torri
898768c963
various fixes for vc++. I'll add the Visual Studio projects later
...
SVN revision: 47758
2010-04-05 08:26:48 +00:00
Carsten Haitzler
e8d5b972b4
--enable-glib-integration-always <- option. can be disabled by
...
ecore_main_loop_glib_always_integrate_disable() before ecore_init()
SVN revision: 47360
2010-03-22 03:30:40 +00:00
Vincent Torri
5254d1a02e
Windows: Add priority support when a child process is created
...
and add documentation for that.
SVN revision: 46330
2010-02-20 09:20:04 +00:00
Christopher Michael
5306e3c050
No need to include sys/types twice.
...
SVN revision: 45954
2010-02-06 22:14:32 +00:00
Sebastian Dransfeld
75f4ccbbe5
More ecore_data to separate lib
...
SVN revision: 45782
2010-02-01 20:20:06 +00:00
Cedric BAIL
44193541f7
* ecore: Move ecore_job inside ecore.
...
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.
SVN revision: 45570
2010-01-25 21:59:21 +00:00
Vincent Torri
c3dc62306f
* fix Windows port of ecore_exe wrt to latest changes
...
* formatting
SVN revision: 44917
2010-01-06 06:56:23 +00:00
Gustavo Sverzut Barbieri
65a53edd34
Ecore_Exe improvements.
...
* add const to getters.
* add ecore_exe_callback_pre_free_set(), enabling bindings to free
their resources once the handle is destroyed.
* fix some possible segv from not checking magic
* check conditions before ecore_exe_send() does its work
SVN revision: 44916
2010-01-06 05:16:59 +00:00
Vincent Torri
a4b0afb1e4
* move structures from ecore_private.h to the corresponding source files
...
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
no test is done in those 2 functions
* remove standard headers from ecore_private.h
SVN revision: 44862
2010-01-03 21:55:50 +00:00
Sebastian Dransfeld
0a9456ccf7
Remove duplication from ecore headers
...
Clean up Ecore.h and ecore_private.h
SVN revision: 44664
2009-12-22 21:15:12 +00:00
Carsten Haitzler
799b9b0fac
asparagus - finally
...
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Rafael Antognolli
22e44c2b3b
ecore_exe_send: Someone probably missed the const.
...
SVN revision: 44091
2009-12-01 13:33:05 +00:00
Vincent Torri
f4e1c3a9b9
* add a _del function for win32 HANDLEs
...
* delete HANDLES when asked
* minor fixes in the win32 code
SVN revision: 43939
2009-11-23 23:09:48 +00:00
Vincent Torri
520c12f976
* ecore_exe_win32: manage ADD and DEL events. It works more or
...
less, but that Windows stuff is a bit like voodoo magic
* Ecore.h : we can use the Ecore_Exe events on Windows, now (at
least ADD and DEL, but the others will follow)
SVN revision: 43549
2009-11-08 22:19:30 +00:00
Vincent Torri
c13cc572f4
fix compilation on BSD systems
...
SVN revision: 43515
2009-11-07 19:10:08 +00:00
Cedric BAIL
6310f0ef55
* ecore_thread: Add possibility to cancel Ecore_Thread.
...
WARNING: THIS BREAK API AND ABI !!!
SVN revision: 43501
2009-11-06 22:15:04 +00:00
Vincent Torri
b513258cb1
fd_set is also in sys/select.h on OpenBSD
...
SVN revision: 43269
2009-10-25 14:48:12 +00:00
Carsten Haitzler
06b3646593
fix build!
...
SVN revision: 43260
2009-10-25 10:11:59 +00:00
Vincent Torri
f5fec31eb9
wait on HANDLES in the select loop on Windows.
...
SVN revision: 43253
2009-10-25 07:07:48 +00:00
Vincent Torri
b7bd2998c4
ecore_exe for Windows.
...
Not complete yet but it executes a command and kills it
TODO: pipes
SVN revision: 43112
2009-10-16 09:17:26 +00:00
Gustavo Sverzut Barbieri
728841b576
welcome glib main loop integration support.
...
that's it, it's here... tested and works fine, please try with your
favorite gmainloop dependent library and report problems. Suggestions:
* GConf to access Gnome and its applications settings.
* GtkSettings to access other properties of Gnome and its applications.
* GUPnP (okay, we have EUPnP, but they have more features so far)
* Rygel, based on GUPnP.
* Libsoup, SOAP and HTTP access, useful for web access and required
by other libraries.
* Mojito, by Moblin, access to various web2.0 services like flickr,
picasa, twitter...
And last but not least, this enables Flash plugin on WebKit-EFL and
may enable us to get Google Gadgets sooner (before someone writes a
proper EFL backend).
Support is auto-detected at compile time but can be disabled with
--disable-glib. Runtime support is not enabled by default (so
compiling with it will just link yet another library), one needs to
call ecore_main_loop_glib_integrate() to do so.
Thanks to INdT folks that provided the initial implementation. I
rewrote it to make it correct, but the idea was good.
SVN revision: 42825
2009-10-01 03:56:38 +00:00
Cedric BAIL
7db27df3c8
* ecore_thread: Fix the remaining comment from Vincent.
...
SVN revision: 41581
2009-08-04 09:13:49 +00:00
Cedric BAIL
2bb8e5ad8e
* ecore_thread_run: Add a facility to run heavy code in another thread
...
that still integrate cleanly with the EFL.
ecore_thread_run need two callbacks :
* func_heavy is called from another thread and should not use the
EFL except Eina, but carefully.
* func_end is called when func_heavy is done, but from inside ecore
main loop, so you can at this point call every EFL functions without
fear.
Note :
The system automatically detect how many CPU you have and will spread
the load on all of them.
You must not assume that the result will come in the same order you
requested it. Depend on each CPU load and how heavy the function on it
are.
SVN revision: 41555
2009-07-31 17:06:11 +00:00
Vincent Torri
413a216c55
oups, missing sys/
...
SVN revision: 41525
2009-07-28 09:58:12 +00:00
Vincent Torri
fe763e0fe0
fix compilation of programs using ecore on FreeBSD
...
SVN revision: 41524
2009-07-28 09:57:24 +00:00
Gustavo Sverzut Barbieri
fbcbf0a2ec
Add file required by NetBSD.
...
SVN revision: 41017
2009-06-12 15:23:32 +00:00