cedric [Thu, 28 Aug 2008 14:27:43 +0000 (14:27 +0000)]
Use rbtree instead of inlist. It's way faster.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35715
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 13:54:51 +0000 (13:54 +0000)]
Fix rbtree removal. Was a bug due to rotation and parent lost.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35714
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 13:54:07 +0000 (13:54 +0000)]
Add a test that trigger the parent bug.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35713
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 28 Aug 2008 12:41:58 +0000 (12:41 +0000)]
* EAPI is now correctly defined on Windows
* move an exported variable
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35712
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 11:55:08 +0000 (11:55 +0000)]
Display tree before and after removal.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35711
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 11:49:34 +0000 (11:49 +0000)]
Display the tree.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35710
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 11:40:01 +0000 (11:40 +0000)]
Add two minimal example that trigger error in the rbtree during removal.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35709
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 11:12:23 +0000 (11:12 +0000)]
Add needed minimal header.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35708
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 10:05:22 +0000 (10:05 +0000)]
Add more type description and include all the headers.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35707
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 28 Aug 2008 09:34:55 +0000 (09:34 +0000)]
Bench convertion of string<->double.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35706
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 28 Aug 2008 07:46:42 +0000 (07:46 +0000)]
* move standard header files from eina_private.h to source files
* minor formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35705
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 28 Aug 2008 06:49:04 +0000 (06:49 +0000)]
use 'dll' extension on Windows.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35704
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 28 Aug 2008 06:34:20 +0000 (06:34 +0000)]
forget to open groups in doc...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35703
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 28 Aug 2008 06:31:18 +0000 (06:31 +0000)]
fix a bit list documentation. Not finished yet.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35702
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 27 Aug 2008 17:14:34 +0000 (17:14 +0000)]
Add benchmark against glib so we see where we stand.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35699
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 27 Aug 2008 17:13:58 +0000 (17:13 +0000)]
Oops, forgot to initialize.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35698
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 27 Aug 2008 14:41:51 +0000 (14:41 +0000)]
add glib check. If glib is found, we will compare
our data types with glib ones in benchmarks
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35696
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 27 Aug 2008 14:15:14 +0000 (14:15 +0000)]
Don't display useless file.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35695
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 27 Aug 2008 14:14:42 +0000 (14:14 +0000)]
Full test of eina_convert.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35694
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 27 Aug 2008 13:34:04 +0000 (13:34 +0000)]
Update documentation:
* run 'make doc' to generate the documentation. Hence
gendoc disappear. Doxyfile is moved to doc/
* update main page and doc of hash table, but it has to
be filled.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35692
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 27 Aug 2008 10:07:12 +0000 (10:07 +0000)]
Add Red Black tree API. Right now only insertion, lookup and iterator work.
The current implementation choose to move the node allocation outside of eina
control like eina_inlist. They currently have the same memory footprint as
eina_inlist and the implementation of insertion and lookup are iterative
making it quite fast. This should make them a good competitor of eina_inlist
for eina_hash and eina_stringshare.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35689
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 26 Aug 2008 10:23:45 +0000 (10:23 +0000)]
Add eina_array_pop and rename eina_array_append by eina_array_push.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35679
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 26 Aug 2008 08:59:25 +0000 (08:59 +0000)]
Some cleanup. Add EAPI in the .c file and move the locale function up in the file.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35678
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
turran [Sat, 23 Aug 2008 19:50:21 +0000 (19:50 +0000)]
Place pre-conditions where they belong
Remove unused rectangle functions
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35634
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 21 Aug 2008 15:51:29 +0000 (15:51 +0000)]
Remove useless variable.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35606
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 21 Aug 2008 14:20:41 +0000 (14:20 +0000)]
As we are heavy user of int to string and double to string in the EFL, provide a fast and portable one.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35604
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 21 Aug 2008 14:16:45 +0000 (14:16 +0000)]
Fix --enable-benchmark use.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35603
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 21 Aug 2008 14:16:23 +0000 (14:16 +0000)]
Coverage doesn't work on module at the moment.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35602
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 21 Aug 2008 14:14:25 +0000 (14:14 +0000)]
Put benchmark result in their own directory.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35601
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 18 Aug 2008 16:42:08 +0000 (16:42 +0000)]
Set svn:mime-type to image/png on *.png
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35554
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 18 Aug 2008 08:18:16 +0000 (08:18 +0000)]
Add a proposal for a module/plugins API that should match every requirement I
received. It's a little huge right now, but work quite nicely.
It support "static" module, version, recursive lookup and should be able to
replace the module/plugins support in evas and ecore.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35534
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 17 Aug 2008 23:41:11 +0000 (23:41 +0000)]
fix more bin files...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35524
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 17 Aug 2008 14:29:25 +0000 (14:29 +0000)]
fix binaries
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35507
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 17 Aug 2008 07:52:46 +0000 (07:52 +0000)]
move more...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35499
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 17 Aug 2008 07:44:18 +0000 (07:44 +0000)]
move around - flatter.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/proto/eina@35497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 13 Aug 2008 09:33:08 +0000 (09:33 +0000)]
Line give nicer graphics.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35460
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 13 Aug 2008 09:26:13 +0000 (09:26 +0000)]
Use the right type.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35459
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 13 Aug 2008 09:25:22 +0000 (09:25 +0000)]
Use the right type name.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35458
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 13 Aug 2008 09:24:49 +0000 (09:24 +0000)]
Constness++
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35457
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 13 Aug 2008 09:22:50 +0000 (09:22 +0000)]
Remove warning and only include needed stuff.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35456
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 13 Aug 2008 09:21:33 +0000 (09:21 +0000)]
Merge common code.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35455
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 13 Aug 2008 09:19:34 +0000 (09:19 +0000)]
Add iterator/accessor to eina list.
Change list size type to unsigned int.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35454
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 12 Aug 2008 16:14:19 +0000 (16:14 +0000)]
Add benchmark for inlist iterator.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35448
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 12 Aug 2008 16:02:09 +0000 (16:02 +0000)]
Expose Iterator/Accessor API for Inlist.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35447
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 12 Aug 2008 16:01:10 +0000 (16:01 +0000)]
Cleanup.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35446
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 12 Aug 2008 15:58:41 +0000 (15:58 +0000)]
Add Inlist Iterator.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35445
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 12 Aug 2008 08:41:39 +0000 (08:41 +0000)]
Change function name to match its new behaviour. jumpt_at -> get_at.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35444
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 12 Aug 2008 08:40:36 +0000 (08:40 +0000)]
Use the new iterator API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35443
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 11 Aug 2008 17:22:36 +0000 (17:22 +0000)]
Easier API and follow gustavo's remark.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35440
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 11 Aug 2008 16:32:19 +0000 (16:32 +0000)]
Remove trailing space.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35439
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 11 Aug 2008 16:30:16 +0000 (16:30 +0000)]
Add first try for an accessor and iterator API, comment welcome (lack inlist and list currently).
Rewrite EINA_ARRAY_ITER_NEXT, still fast, need one more parameter, but no more EINA_ARRAY_ITER_END.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 11 Aug 2008 16:21:51 +0000 (16:21 +0000)]
Cleanup.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35437
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 11 Aug 2008 16:21:19 +0000 (16:21 +0000)]
Add some meaningfull const.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35436
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
doursse [Sat, 9 Aug 2008 05:48:22 +0000 (05:48 +0000)]
update Doxyfile
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35417
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
doursse [Sat, 9 Aug 2008 05:47:15 +0000 (05:47 +0000)]
fix doxy doc
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35416
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 17:17:52 +0000 (17:17 +0000)]
Add ememoa variable size memory allocator.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35415
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 16:22:01 +0000 (16:22 +0000)]
Add the data and gnuplot used to generate them.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35414
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 16:20:44 +0000 (16:20 +0000)]
Add some picture comparing djb2 and Paul Hsieh one.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35413
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 16:07:32 +0000 (16:07 +0000)]
After benchmarking, the superfast hash function does impact performance
as it better spread data in the hash table.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35412
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 15:56:17 +0000 (15:56 +0000)]
Just some alignment.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35411
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 15:55:09 +0000 (15:55 +0000)]
Add a benchmark for stringshare.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35410
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 15:54:26 +0000 (15:54 +0000)]
Cover all case of the hash function.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35409
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 14:26:59 +0000 (14:26 +0000)]
Add a pass through mempool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35408
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 14:25:37 +0000 (14:25 +0000)]
After benchmarking, providing inline does impact performance of list and array user.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35407
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 14:20:11 +0000 (14:20 +0000)]
After benchmarking, providing inline does impact performance of list and array user.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35406
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 8 Aug 2008 12:29:13 +0000 (12:29 +0000)]
Remove warning fix test covering.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35405
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
turran [Fri, 8 Aug 2008 10:39:47 +0000 (10:39 +0000)]
Allow user provided functions for printing messages
Make the stdout print mgs function exportable
Add a FILE * print msg function (useful for logging)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35404
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 17:25:52 +0000 (17:25 +0000)]
Activate the bench.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35386
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 17:17:18 +0000 (17:17 +0000)]
Add a benchmark that attempt to emulate evas_render loop behaviour.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35385
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 17:12:06 +0000 (17:12 +0000)]
Fix improved version of eina_array_remove.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35384
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 13:14:08 +0000 (13:14 +0000)]
Fix a typo in bench.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35381
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 13:12:57 +0000 (13:12 +0000)]
Initialise all sub system.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35380
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 13:11:13 +0000 (13:11 +0000)]
Use the common out of memory error.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35379
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 13:09:09 +0000 (13:09 +0000)]
Add eina_list test suite. Cleanup list implementation and share out of memory error.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35378
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 7 Aug 2008 09:13:24 +0000 (09:13 +0000)]
Benchmark inline version of djb2 hash function.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35376
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 18:16:28 +0000 (18:16 +0000)]
Really keep track of all authors.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35361
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 18:15:24 +0000 (18:15 +0000)]
License changes (BSD -> LGPL)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35360
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
turran [Wed, 6 Aug 2008 18:12:57 +0000 (18:12 +0000)]
License changes (BSD -> LGPL)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35358
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 16:00:12 +0000 (16:00 +0000)]
Activate all tests.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35357
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:59:13 +0000 (15:59 +0000)]
To benchmark eina hash implementation, just call: make benchmark.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35356
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:54:56 +0000 (15:54 +0000)]
Add benchmark support.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35355
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:53:03 +0000 (15:53 +0000)]
Build new API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35354
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:51:19 +0000 (15:51 +0000)]
Fully cover eina_error API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35353
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:49:50 +0000 (15:49 +0000)]
Fix eina_stringshare_shutdown to return value like all eine shutdown funtion.
Cleanup hash function call.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35352
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:46:57 +0000 (15:46 +0000)]
Major cleanup. Eina_Hash now support other key than string. All code except
allocation failure and foreach is covered by the test.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35351
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:42:33 +0000 (15:42 +0000)]
Cleanup inline.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35350
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:41:47 +0000 (15:41 +0000)]
Cleanup headers.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35349
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:39:17 +0000 (15:39 +0000)]
Test counter API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35348
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:38:54 +0000 (15:38 +0000)]
Test init/shutdown API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35347
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:38:19 +0000 (15:38 +0000)]
Remove useless output.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35346
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:37:29 +0000 (15:37 +0000)]
Add global init/shutdown API to Eina. Include eina_counter header.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35345
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 6 Aug 2008 15:35:56 +0000 (15:35 +0000)]
Add a counter API, usefull for benchmarking.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35344
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 4 Aug 2008 17:00:30 +0000 (17:00 +0000)]
Hide the type.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35321
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 4 Aug 2008 16:50:03 +0000 (16:50 +0000)]
Cover lazy allocator at 100%. Add error checking capability.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35320
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 1 Aug 2008 15:44:53 +0000 (15:44 +0000)]
Add eina inlist tests suite, remove dead code and cleanup iterator.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35302
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 1 Aug 2008 14:27:01 +0000 (14:27 +0000)]
Add test for error and magic.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35301
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 1 Aug 2008 14:26:13 +0000 (14:26 +0000)]
Fix error get/set.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35300
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 1 Aug 2008 14:25:20 +0000 (14:25 +0000)]
Fix macro.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35299
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 1 Aug 2008 14:24:41 +0000 (14:24 +0000)]
Remove DEBUG macro from header.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35298
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 1 Aug 2008 14:23:54 +0000 (14:23 +0000)]
As we use eina_error, we should init/shutdown it properly.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/proto/eina@35297
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33