Commit Graph

32 Commits

Author SHA1 Message Date
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 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
Vincent Torri 4adf078b2e ecore: fix #elif usage
SVN revision: 59045
2011-04-29 19:10:51 +00:00
Vincent Torri b66f4ec297 Ecore: ecore_time : Add a fast high-resolution monotonic clock
SVN revision: 59021
2011-04-28 19:38:41 +00:00
Vincent Torri f78379b4d0 [ecore] remove messages about ecore_time on Windows
SVN revision: 53820
2010-10-23 19:25:09 +00:00
Vincent Torri a17c58d0b0 improve doc layout
SVN revision: 53509
2010-10-17 07:03:28 +00:00
Lucas De Marchi 61a510d387 Fix clock_gettime detection in autotools
AC_CHECK_FUNCS checks for the existence of functions in the C standard
library, so we don't need it. Instead, we need to define
HAVE_CLOCK_GETTIME if the function was found inside the librt.

Moreover, in source file check if HAVE_CLOCK_GETTIME is defined rather
than of checking if it's 0.



SVN revision: 52863
2010-09-28 19:36:50 +00:00
Christopher Michael 1fe0153f77 Fix ecore to at least compile on systems that don't have clock_getting.
NB: Not sure if this is a correct fix or not, but at least svn is not
busted anymore.



SVN revision: 52831
2010-09-28 00:21:48 +00:00
Lucas De Marchi 162070b8f5 Respect namespace
_ecore_loop_time -> _ecore_time_loop_time



SVN revision: 52825
2010-09-27 22:35:55 +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
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 a63715c0c4 patch from julian - fix typos in docs.
SVN revision: 39460
2009-03-13 09:38:46 +00:00
Vincent Torri df41327f29 use evil_time_get() instead of gettimeofday() when using Evil.
It's more precise and involves fewer computations


SVN revision: 39149
2009-02-22 19:21:36 +00:00
Vincent Torri e17e1e8bb9 use Evil's gettimeofday() function instead of the fake one
in mingw. Fix animations on Windows XP and CE.


SVN revision: 39013
2009-02-13 23:09:15 +00:00
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Vincent Torri b1f46fb7e8 remove trailing spaces
SVN revision: 37851
2008-11-29 11:23:17 +00:00
Carsten Haitzler f025b8cd62 move setup of loop time to init.
SVN revision: 37424
2008-11-02 22:32:18 +00:00
Carsten Haitzler b2edd2d7d6 new ecore_loop_time_get() call. also priority setting for spawning sub-procs
SVN revision: 37389
2008-11-02 01:29:08 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
Mike Frysinger 184812f289 replace a lot of win32 ifdef hacks with autoconf checks
SVN revision: 33616
2008-01-26 05:40:53 +00:00
doursse ee8e817b1c simplify the code of ecore_time_get() on Windows
SVN revision: 32170
2007-10-27 10:24:52 +00:00
doursse a8ebdc324c * port ecore_plugin to windows
* add comments after some #endif
 * speed up the compilation on windows
 * remove some trailing spaces in ecore_path.c


SVN revision: 31890
2007-09-30 15:24:51 +00:00
Carsten Haitzler e043668721 add comment.
SVN revision: 31752
2007-09-17 23:13:59 +00:00
doursse b50328b469 fix ecore_evas_engine_type_supported_get and ecore_time_get on windows
SVN revision: 31552
2007-08-27 10:20:12 +00:00
Carsten Haitzler 585139c7d7 fix build.
SVN revision: 31518
2007-08-26 12:57:11 +00:00
doursse 50432552c8 add windows support to ecore. ecore_evas is ported too (directdraw and direct3d. No opengl yet). It needs to be tested a lot, though. Remove some trailing spaces here and there. Replace WIN32 with _WIN32
SVN revision: 31513
2007-08-26 11:17:21 +00:00
Carsten Haitzler 12aa35dd99 fix up some warnings
SVN revision: 19563
2006-01-06 17:58:12 +00:00
Carsten Haitzler 5ba10bb385 symbol hiding fixes
SVN revision: 19556
2006-01-06 13:56:47 +00:00
tsauerbeck f83c81433d mingw portability
SVN revision: 11926
2004-10-20 17:51:29 +00:00
ncn fa6db0a70e Ecore_Con module documentation, timer functions cleaned up, Time functions linked into Ecore.h docs.
SVN revision: 11704
2004-09-23 04:58:16 +00:00
Carsten Haitzler 75047789ad slight change in doc comments... get rid of htmlisms...
SVN revision: 9037
2004-02-20 07:06:29 +00:00
Carsten Haitzler a5c2425084 damn you salizar! damn you!
errr. i mean. ecore moves to HEAD!


SVN revision: 7475
2003-09-23 08:09:32 +00:00