Vincent Torri
c9975bc818
add benchmark tutoriel
...
SVN revision: 44719
2009-12-25 11:59:40 +00:00
Vincent Torri
0fda2ab7c8
use new spinlock detection
...
SVN revision: 44718
2009-12-25 11:30:41 +00:00
Vincent Torri
a39d637027
support of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel)
...
SVN revision: 44597
2009-12-20 10:02:41 +00:00
Vincent Torri
29b4cccab6
include Evil.h so that getenv is declared on Windows CE
...
SVN revision: 44563
2009-12-19 10:30:49 +00:00
Cedric BAIL
63d651b7ad
* eina: Improve precision of f32p32 sinus/cosinus.
...
SVN revision: 44322
2009-12-09 13:03:23 +00:00
Vincent Torri
04a156cda0
useless variable if pthread is not used
...
SVN revision: 44319
2009-12-09 08:34:09 +00:00
Vincent Torri
63610435c3
add always config.h in source file so that EAPI is correctly defined,
...
especially on Windows (otherwise, ICE in gcc... and vc++ is not
happy at all)
SVN revision: 44317
2009-12-09 08:23:34 +00:00
Cedric BAIL
274ab1e01e
* eina: Add sin and cos fixed point fonction.
...
SVN revision: 44287
2009-12-08 18:30:41 +00:00
Vincent Torri
cee693572e
* Fix compilation with vc++
...
* Fix Visual Studio project files
SVN revision: 44250
2009-12-07 17:15:28 +00:00
Cedric BAIL
759426ceda
* eina: Fix atofp when exponent is negativ.
...
SVN revision: 44244
2009-12-07 13:08:16 +00:00
Gustavo Sverzut Barbieri
4e817e8ecd
eina_module: more constness.
...
Thanks to Fabiano Fidencio for spotting those.
SVN revision: 43921
2009-11-23 13:24:48 +00:00
Gustavo Sverzut Barbieri
d2fd0b36e0
eina_module_find: constness and gcc attribute.
...
Mark both array and module as const as we'll not modify them anyhow
inside this function.
Also mark this function as pure, so gcc will know how to optimize
multiple calls of it. Not that important for this function, but
doesn't hurt either.
SVN revision: 43918
2009-11-23 13:20:34 +00:00
Cedric BAIL
ffb0bf8830
* eina_module: Add eina_module_find. Thanks to Fabiano Fidêncio <fidencio@profusion.mobi>.
...
SVN revision: 43847
2009-11-20 20:46:24 +00:00
Cedric BAIL
899b488741
* eina: Now it's possible set a level when eina should abort on log.
...
SVN revision: 43669
2009-11-13 17:52:43 +00:00
Gustavo Sverzut Barbieri
7df346f50e
fix stringshare of small strings.
...
_eina_stringshare_small_bucket_find() was receiving the plength with
size -1 since the first character is the same, but inside it was not
doing the same, thus it was always failing the first test based on
size.
SVN revision: 43634
2009-11-12 19:41:02 +00:00
Raoul HECKY
279e0dde28
Initialize value for correct counting of # cpu on macosx
...
SVN revision: 43571
2009-11-09 10:39:49 +00:00
Raoul HECKY
7eb75cbd63
Add __MACH__ and __APPLE__ guards to compile on macosx
...
SVN revision: 43568
2009-11-09 09:07:10 +00:00
Sebastian Dransfeld
a60aeb07a3
function defined as void, don't return a value
...
SVN revision: 43535
2009-11-08 19:52:31 +00:00
Vincent Torri
12f9e2f515
fix compilation on OpenBSD
...
SVN revision: 43516
2009-11-07 19:44:39 +00:00
Vincent Torri
2ccaf85b59
fix compilation of eina_amalgamation.c on Windows
...
SVN revision: 43513
2009-11-07 16:09:58 +00:00
Vincent Torri
7c24994f18
fix dist/distcheck rule
...
SVN revision: 43474
2009-11-06 01:02:35 +00:00
Vincent Torri
a4d3d53e0d
disable amalgamation by default
...
SVN revision: 43434
2009-11-03 16:52:45 +00:00
Jonathan Atton
cbe78d32f2
Eina log : check main thread in eina_log_threads_shutdown
...
SVN revision: 43415
2009-11-02 10:08:57 +00:00
Vincent Torri
199400bc7d
remove useless $(builddir)/ (also confirmed by a autoconf dev),
...
as anyway, '$(builddir)' is always '.' make distcheck passes.
Thanks to cantona who reported it.
SVN revision: 43401
2009-11-01 21:00:22 +00:00
Jonathan Atton
9191a1dfa3
Eina: renawe _threads_activated for amalgation
...
SVN revision: 43400
2009-11-01 20:13:12 +00:00
Jonathan Atton
4bfc091f41
Eina : add a prefix to STRINGSHARE_LOCK and LOG_LOCK
...
SVN revision: 43399
2009-11-01 20:09:26 +00:00
Jonathan Atton
6ea6dc0856
Eina : now eina stringshare is thread safe if eina_threads_init() is called. Eina log which was thread safe is now thread safe only if the previous functions is called
...
SVN revision: 43398
2009-11-01 19:50:18 +00:00
Christopher Michael
af793b05d5
Patch to allow a quieter eina when using eina_log in your own libs/apps.
...
Approved by k-s.
Added some doxy to describe the new env variable.
(Eina authors may want to reword this...up to you)
SVN revision: 43326
2009-10-28 12:48:04 +00:00
Jonathan Atton
cc1863fc96
Eina: add eina_list_split_list()
...
SVN revision: 43307
2009-10-27 10:26:20 +00:00
Carsten Haitzler
b2228247e1
warning--
...
SVN revision: 43259
2009-10-25 08:57:41 +00:00
Carsten Haitzler
f78bded776
warning--
...
SVN revision: 43258
2009-10-25 08:52:47 +00:00
Carsten Haitzler
ca7859168b
shh warning
...
SVN revision: 43257
2009-10-25 08:45:36 +00:00
Iván Briano
044f05ca69
Fix docs for hash_free
...
SVN revision: 43237
2009-10-24 04:30:52 +00:00
Vincent Torri
568f723401
Add some more headers at the top of eina_amalgamation.c.
...
Fix compilation on Windows CE
SVN revision: 43054
2009-10-13 17:14:50 +00:00
Vincent Torri
aa56214d0b
Fix compilation on Windows wrt changes in fixed point code
...
SVN revision: 42822
2009-09-30 17:29:30 +00:00
Cedric BAIL
7a51d7bf39
* eina: Cleanup Eina fixed point implementation.
...
SVN revision: 42798
2009-09-29 12:04:50 +00:00
Vincent Torri
47e25ab257
* really export symbols on Windows (EFL_EINA_BUILD not
...
correctly defined)
* add evil in the Requires.private field of eina-0.pc.in
SVN revision: 42702
2009-09-25 15:39:53 +00:00
Cedric BAIL
568acf4705
* eina_atofp: Always return EINA_TRUE on valid input string.
...
SVN revision: 42700
2009-09-25 12:02:14 +00:00
Vincent Torri
1079703690
return false if fp is NULL, update doc accordingly
...
SVN revision: 42699
2009-09-25 11:51:52 +00:00
Vincent Torri
b2bda6edb2
* convert string to fp only if fp is not NULL
...
* add doc of eina_convert_atofp()
* minor doc cleanup
SVN revision: 42697
2009-09-25 11:23:37 +00:00
Cedric BAIL
6a284f8178
* eina: Add eina_atofp.
...
SVN revision: 42694
2009-09-25 10:03:19 +00:00
Vincent Torri
7c47dc2c65
* add documentation for eina_convert_fptoa()
...
* fix typo in doc
SVN revision: 42691
2009-09-25 08:44:04 +00:00
Cedric BAIL
4ddba5724d
* eina: Add eina_fptoa.
...
This is a small piece of code, but a big one for an edje fixed point implementation.
SVN revision: 42646
2009-09-23 16:47:08 +00:00
Vincent Torri
e2b34b41ee
* fix compilation on Windows when using amalgamation
...
* put alloca declaration at the beginning
SVN revision: 42517
2009-09-16 17:22:01 +00:00
Gustavo Sverzut Barbieri
5b68d0be34
minor fixes.
...
SVN revision: 42504
2009-09-15 22:32:24 +00:00
Vincent Torri
9b9c496175
move the declaration of variables at the beginning of the block
...
SVN revision: 42499
2009-09-15 21:20:08 +00:00
Cedric BAIL
8e6a393cf9
* eina_log: Fallback to mutex when spinlock doesn't exist.
...
SVN revision: 42489
2009-09-14 16:06:18 +00:00
Cedric BAIL
d117093a55
* eina: Add explanation around compiler false positiv warning.
...
SVN revision: 42488
2009-09-14 15:28:55 +00:00
Rafael Antognolli
52de9e33cd
Added the Eina_Tile_Grid_Slicer iterator.
...
This new iterator receives a rectangle as argument and tile_w X tile_h sized
tile, and slices the rectangle iterating over it on each iteration.
SVN revision: 42427
2009-09-11 23:51:47 +00:00
Gustavo Sverzut Barbieri
7d1745e3c1
constness++
...
SVN revision: 42426
2009-09-11 23:10:57 +00:00