englebass [Mon, 27 Oct 2008 15:08:46 +0000 (15:08 +0000)]
Better fallback on clock as suggested by Naruto TAKAHASHI
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37248
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 27 Oct 2008 14:19:55 +0000 (14:19 +0000)]
Fix CLOCK as suggested by Ravenlock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37247
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 27 Oct 2008 14:05:09 +0000 (14:05 +0000)]
Correctly put condition around the code.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37244
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 27 Oct 2008 13:23:52 +0000 (13:23 +0000)]
* Optimize case for string length == 0 and 1.
* Add more debug information when using --enable-stringshare-usage.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37239
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 27 Oct 2008 09:49:13 +0000 (09:49 +0000)]
Mark unused parameter with __UNUSED__
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37214
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 27 Oct 2008 00:36:22 +0000 (00:36 +0000)]
add a stringshare dumper so we can examine what's in there and improve usage.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37186
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mej [Sat, 25 Oct 2008 18:46:18 +0000 (18:46 +0000)]
Sat Oct 25 11:41:49 2008 Michael Jennings (mej)
Add spec file for eina.
----------------------------------------------------------------------
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37104
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
ravenlock [Sat, 25 Oct 2008 18:17:22 +0000 (18:17 +0000)]
Build on FreeBSD. Patch from Naruto, plus a tweak to remove the unneeded libdl.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37103
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 24 Oct 2008 10:57:00 +0000 (10:57 +0000)]
handle some bizarre build issues...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37048
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Fri, 24 Oct 2008 06:24:08 +0000 (06:24 +0000)]
modules most export init and shutdown as EAPI
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37042
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Fri, 24 Oct 2008 00:37:09 +0000 (00:37 +0000)]
small doxy fix
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37037
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 23 Oct 2008 12:50:33 +0000 (12:50 +0000)]
Really return Eina_Bool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37022
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 22 Oct 2008 08:56:19 +0000 (08:56 +0000)]
Add more error information during eina module load.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36955
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 21 Oct 2008 15:21:37 +0000 (15:21 +0000)]
eina_bool is now an unsigned char.
This makes clear what size and if we have a signal or not in our type,
so no compilers have the right to choose different for us (like they
do with enum).
Also fixes compile of C++ programs with eina_rectangle.h, that
contains some inline code, the expression evaluates a boolean
expression and compiler does not know how to convert that to old
Eina_Bool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36939
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 21 Oct 2008 12:49:29 +0000 (12:49 +0000)]
Rename EINA_LIST_ITER_NEXT to EINA_LIST_FOREACH.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36930
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 21 Oct 2008 12:19:57 +0000 (12:19 +0000)]
Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36928
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
kaethorn [Tue, 21 Oct 2008 12:07:40 +0000 (12:07 +0000)]
Add Debian files.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36927
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 21 Oct 2008 11:28:38 +0000 (11:28 +0000)]
Add merge function to list data type.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36922
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 20 Oct 2008 15:01:01 +0000 (15:01 +0000)]
Actually include eina_convert in the main header.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36860
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 20 Oct 2008 14:45:01 +0000 (14:45 +0000)]
Fix hash iterator to iterate with only one element.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36858
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 20 Oct 2008 13:23:18 +0000 (13:23 +0000)]
Put the mempool backend structure with other structure.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36855
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 20 Oct 2008 13:21:52 +0000 (13:21 +0000)]
Zero is a correct value.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36854
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 20 Oct 2008 12:08:16 +0000 (12:08 +0000)]
actually compile!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36849
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 20 Oct 2008 11:40:01 +0000 (11:40 +0000)]
Apps can now provide their own mempool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36847
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 20 Oct 2008 04:30:21 +0000 (04:30 +0000)]
and remvoe cats
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36834
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 20 Oct 2008 04:25:13 +0000 (04:25 +0000)]
make eina able to do automake 1.9 and before... :)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36833
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 16 Oct 2008 21:31:51 +0000 (21:31 +0000)]
Fix compilation and warnings on Windows:
* include Evil.h for getenv on mingw32ce
* include config.h in benchmark.c so that EAPI is correctly defined
* minor fixes in configure.ac
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36729
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Oct 2008 16:47:54 +0000 (16:47 +0000)]
Seems better that way.
Thanks for your help ni1s.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36691
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Oct 2008 16:40:57 +0000 (16:40 +0000)]
Oops forgot this one.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36690
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Oct 2008 16:23:14 +0000 (16:23 +0000)]
Should fix build outside of the source tree.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36689
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 14 Oct 2008 15:32:57 +0000 (15:32 +0000)]
Add option to report stringshare usage (E17 use around 10000 differents strings).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36658
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 14 Oct 2008 15:31:45 +0000 (15:31 +0000)]
Fix stringshare bug with same length.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36657
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 10 Oct 2008 09:38:39 +0000 (09:38 +0000)]
Move eina outside of PROTO.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@36564
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 9 Oct 2008 20:24:40 +0000 (20:24 +0000)]
and update comments
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36554
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 9 Oct 2008 20:20:38 +0000 (20:20 +0000)]
bug--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36553
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 9 Oct 2008 20:16:41 +0000 (20:16 +0000)]
fix doxygen m4 macro (make it more efl-ish and fix a bug)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36552
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 7 Oct 2008 11:07:03 +0000 (11:07 +0000)]
Remove dead code.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36493
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 6 Oct 2008 14:49:36 +0000 (14:49 +0000)]
Don't display useless file.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36481
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 6 Oct 2008 14:48:13 +0000 (14:48 +0000)]
Actually bench djb2 inline and not superfast hash function.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36480
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 6 Oct 2008 14:47:09 +0000 (14:47 +0000)]
Give more choice to eina_list mempool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36479
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 6 Oct 2008 12:16:27 +0000 (12:16 +0000)]
Update hash benchmark to reflect E use (hash population under 2000, more find than add).
Current status :
- same performance for evas, eina and glib with les than 500 items.
- glib is then faster, eina/evas are second until 800.
- glib remain the fastest, eina is second, and evas is starting to drop in performance.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36476
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 5 Oct 2008 16:10:17 +0000 (16:10 +0000)]
rename result files so that we can check out on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36448
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 3 Oct 2008 15:28:13 +0000 (15:28 +0000)]
* add detection of SIMD and thread support
* minor formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36418
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 2 Oct 2008 16:23:27 +0000 (16:23 +0000)]
Remove dead declaration.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36399
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 1 Oct 2008 16:30:30 +0000 (16:30 +0000)]
Reduce code size, and improve sort speed.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36382
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
pfritz [Tue, 30 Sep 2008 18:07:29 +0000 (18:07 +0000)]
configure.in -> configure.ac
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36364
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 30 Sep 2008 16:48:28 +0000 (16:48 +0000)]
Using mempool improve cache locality and speed list manipulation like sort.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36363
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 30 Sep 2008 16:25:11 +0000 (16:25 +0000)]
Make eina_error depend on no other sub module that need initialization.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36361
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 30 Sep 2008 15:07:35 +0000 (15:07 +0000)]
Benchmark glib mempool too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36360
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 30 Sep 2008 14:16:18 +0000 (14:16 +0000)]
Faster sort initialisation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36359
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 30 Sep 2008 12:55:33 +0000 (12:55 +0000)]
Fix chained mempool allocator.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36355
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 30 Sep 2008 12:55:06 +0000 (12:55 +0000)]
Don't remove previous result of benchmark.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36354
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 30 Sep 2008 06:16:41 +0000 (06:16 +0000)]
add a config.h
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36342
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 29 Sep 2008 19:30:15 +0000 (19:30 +0000)]
when a .la file is passed to _LIBADD or _LDADD, automake
knows that the corresponding program or lib depends on
that .la file
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36322
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 29 Sep 2008 19:20:16 +0000 (19:20 +0000)]
* fix warning in tests
* add config.h when needed
* remove result/ dir before launching benchmark
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36321
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 17:08:25 +0000 (17:08 +0000)]
As real data came from e17. Little rename.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36320
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 17:07:50 +0000 (17:07 +0000)]
Fix prev pointer during stringshare_del.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36319
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 14:35:28 +0000 (14:35 +0000)]
Patch from Vincent Torri that cleanup tests, coverage and benchmark.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36315
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 13:28:42 +0000 (13:28 +0000)]
Change module API to use Eina_Array as we want to use mempool and module for Eina_List.
Fix at the same time a closing bug in eina_module.c.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36312
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 09:46:27 +0000 (09:46 +0000)]
Update configure as we now need automake 1.10.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36310
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 09:45:26 +0000 (09:45 +0000)]
Add benchmark for mempool (chained_mempool is disabled, because it's currently buggy).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36309
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 09:43:37 +0000 (09:43 +0000)]
Fix initialization.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36308
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 29 Sep 2008 09:42:04 +0000 (09:42 +0000)]
Fix initialization and cleanup.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36307
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 28 Sep 2008 13:10:08 +0000 (13:10 +0000)]
minor formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36293
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 28 Sep 2008 12:43:21 +0000 (12:43 +0000)]
* fix clean and dist rules
* create eina-$(maj_version).pc.in file automatically
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36292
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 28 Sep 2008 11:13:31 +0000 (11:13 +0000)]
let the user specify his own CFLAGS
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36288
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 26 Sep 2008 15:27:46 +0000 (15:27 +0000)]
Add a new type of memory pool and factorize test code.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36267
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 26 Sep 2008 15:26:36 +0000 (15:26 +0000)]
Inlined functions require NULL, so including stdlib.h is required.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36266
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 26 Sep 2008 13:45:30 +0000 (13:45 +0000)]
Faster sort from Alexandre Becoulet integrated by quarium inside eina.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36265
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 26 Sep 2008 11:41:55 +0000 (11:41 +0000)]
Store build information inside eina_config.h, and fix magic use.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36263
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 25 Sep 2008 14:46:48 +0000 (14:46 +0000)]
Last part of quarium patch.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36257
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 25 Sep 2008 14:46:16 +0000 (14:46 +0000)]
Patch from quarium.
Add magic to array and list.
Need to patch autotools to generate something like eina_config.h.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36256
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 25 Sep 2008 12:41:49 +0000 (12:41 +0000)]
Add a sort benchmark.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36250
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 25 Sep 2008 09:02:41 +0000 (09:02 +0000)]
Patch from Arnaud de Turckheim "quarium" <quarium@gmail.com>.
Use magic inside stringshare without slowdown of benchmark.
Fix magic when not in DEBUG mode.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36246
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Sep 2008 17:21:53 +0000 (17:21 +0000)]
Fix error stuff.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36225
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Sep 2008 17:20:24 +0000 (17:20 +0000)]
As evas use of hash is below 3000 items per hash, update the tests accordingly.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36224
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Sep 2008 17:17:22 +0000 (17:17 +0000)]
Fix test due to mempool internal change.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36223
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Sep 2008 17:14:29 +0000 (17:14 +0000)]
Add hash and rbtree delete callback, cleanup the code and improve performance (hash as a new internal structure).
We still need a hash function for removing a node from the hash and destroying it at the same time.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36222
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
turran [Wed, 24 Sep 2008 13:59:00 +0000 (13:59 +0000)]
+ Make the benchmark compile again
+ Remove unused code
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36213
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Sep 2008 12:58:31 +0000 (12:58 +0000)]
Group all rbtree functions.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36209
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Sep 2008 12:57:26 +0000 (12:57 +0000)]
Use rbtree helper.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36208
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
turran [Wed, 24 Sep 2008 12:55:31 +0000 (12:55 +0000)]
New module API. Port this API to the mempool subsystem and the tests.
Now the modules can define a default function that will be called when the module is loaded and unloaded.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36207
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 23 Sep 2008 16:07:48 +0000 (16:07 +0000)]
Add rbtree destructor without tree reorder and use it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36188
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 23 Sep 2008 15:57:57 +0000 (15:57 +0000)]
add main doc for eina_convert
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36187
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 23 Sep 2008 05:24:26 +0000 (05:24 +0000)]
formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36179
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 23 Sep 2008 05:17:49 +0000 (05:17 +0000)]
* fix list doc
* minor other doc fixes
* link the mempool modules statically to libeina when requested
* don't compile static lib of mempool when they are built as shared lib
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36178
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Sep 2008 14:45:57 +0000 (14:45 +0000)]
Make magical mask easily testable.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36171
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Sep 2008 14:27:50 +0000 (14:27 +0000)]
Add benchmark for evas (also add ecore bench, but it's deactivated by default,
as i can't run it on my computer).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36170
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Sep 2008 13:11:08 +0000 (13:11 +0000)]
Eina stringshare now beat evas and ecore with this last change.
Benchmarking with enlightenment real data (25000 string add, 20 000 del) :
- eina: 4151399
- evas: 4286973
- ecore: 7753004
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36166
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Sep 2008 13:06:29 +0000 (13:06 +0000)]
Reduce number of malloc/free by automatically created one stringshare
per tree node.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36165
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Sep 2008 13:02:08 +0000 (13:02 +0000)]
Add helper for inlined red black tree manipulation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36164
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Sep 2008 13:00:52 +0000 (13:00 +0000)]
Fix new inlist API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36163
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Sep 2008 10:08:44 +0000 (10:08 +0000)]
Use define.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36159
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Sep 2008 09:46:54 +0000 (09:46 +0000)]
add doc to the counter module. remove the link to the
tutorial (the module is too short for a tutorial to be
useful)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36126
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Sep 2008 08:42:35 +0000 (08:42 +0000)]
finish doc of the file module. Add a warning if eina_file_split() is used
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36122
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 19 Sep 2008 14:10:05 +0000 (14:10 +0000)]
configuration of static build of memory pools
i'll do an m4 macro later
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36100
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 19 Sep 2008 12:40:18 +0000 (12:40 +0000)]
Remove warning due to Inlist API change.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36098
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 19 Sep 2008 12:32:24 +0000 (12:32 +0000)]
Change eina_benchmark_register API as it can fail in many occasion.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36097
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 19 Sep 2008 12:19:06 +0000 (12:19 +0000)]
We have now a defined behaviour when we have more than one entry with the same
key in the hash table.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36096
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 19 Sep 2008 05:22:43 +0000 (05:22 +0000)]
* add benchmark and file documentation
* reorganize a bit more. it's not finished
* fix spellingg and formatting
* gnuplot file names generated by our bechmarks tests have an
absolute time description and not H:M:S description, as this
breaks the check out of the repo on Windows.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36090
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33