profile/ivi/eina.git
16 years agoUpdate configure as we now need automake 1.10.
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

16 years agoAdd benchmark for mempool (chained_mempool is disabled, because it's currently buggy).
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

16 years agoFix initialization.
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

16 years agoFix initialization and cleanup.
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

16 years agominor formatting
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

16 years ago * fix clean and dist rules
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

16 years agolet the user specify his own CFLAGS
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

16 years agoAdd a new type of memory pool and factorize test code.
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

16 years agoInlined functions require NULL, so including stdlib.h is required.
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

16 years agoFaster sort from Alexandre Becoulet integrated by quarium inside eina.
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

16 years agoStore build information inside eina_config.h, and fix magic use.
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

16 years agoLast part of quarium patch.
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

16 years agoPatch from quarium.
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

16 years agoAdd a sort benchmark.
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

16 years agoPatch from Arnaud de Turckheim "quarium" <quarium@gmail.com>.
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

16 years agoFix error stuff.
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

16 years agoAs evas use of hash is below 3000 items per hash, update the tests accordingly.
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

16 years agoFix test due to mempool internal change.
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

16 years agoAdd hash and rbtree delete callback, cleanup the code and improve performance (hash...
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

16 years ago+ Make the benchmark compile again
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

16 years agoGroup all rbtree functions.
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

16 years agoUse rbtree helper.
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

16 years agoNew module API. Port this API to the mempool subsystem and the tests.
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

16 years agoAdd rbtree destructor without tree reorder and use it.
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

16 years agoadd main doc for eina_convert
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

16 years agoformatting
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

16 years ago * fix list doc
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

16 years agoMake magical mask easily testable.
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

16 years agoAdd benchmark for evas (also add ecore bench, but it's deactivated by default,
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

16 years agoEina stringshare now beat evas and ecore with this last change.
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

16 years agoReduce number of malloc/free by automatically created one stringshare
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

16 years agoAdd helper for inlined red black tree manipulation.
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

16 years agoFix new inlist API.
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

16 years agoUse define.
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

16 years agoadd doc to the counter module. remove the link to the
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

16 years agofinish doc of the file module. Add a warning if eina_file_split() is used
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

16 years agoconfiguration of static build of memory pools
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

16 years agoRemove warning due to Inlist API change.
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

16 years agoChange eina_benchmark_register API as it can fail in many occasion.
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

16 years agoWe have now a defined behaviour when we have more than one entry with the same
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

16 years ago * add benchmark and file documentation
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

16 years agoAdd some type checking to Inlined List.
cedric [Thu, 18 Sep 2008 14:22:48 +0000 (14:22 +0000)]
Add some type checking to Inlined List.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36084 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove moved declaration.
cedric [Thu, 18 Sep 2008 14:21:38 +0000 (14:21 +0000)]
Remove moved declaration.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36082 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoInclude meaningfull header.
cedric [Thu, 18 Sep 2008 14:20:45 +0000 (14:20 +0000)]
Include meaningfull header.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36081 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoMake module path global to all bench.
cedric [Thu, 18 Sep 2008 14:19:50 +0000 (14:19 +0000)]
Make module path global to all bench.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36080 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoSet module path for all tests.
cedric [Thu, 18 Sep 2008 14:17:48 +0000 (14:17 +0000)]
Set module path for all tests.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36079 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAvoid some dereferencing and provide inline for mempool alloc/free/realloc.
cedric [Thu, 18 Sep 2008 14:16:47 +0000 (14:16 +0000)]
Avoid some dereferencing and provide inline for mempool alloc/free/realloc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36078 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoInclude the usefull header.
cedric [Thu, 18 Sep 2008 14:14:30 +0000 (14:14 +0000)]
Include the usefull header.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36077 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAnother forgotten initialization.
cedric [Thu, 18 Sep 2008 14:12:33 +0000 (14:12 +0000)]
Another forgotten initialization.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36076 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove useless counter init/shutdown.
cedric [Thu, 18 Sep 2008 12:24:07 +0000 (12:24 +0000)]
Remove useless counter init/shutdown.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36075 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd init/shutdown to benchmark and fix its users.
cedric [Thu, 18 Sep 2008 10:04:46 +0000 (10:04 +0000)]
Add init/shutdown to benchmark and fix its users.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36073 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoReduce code size.
cedric [Thu, 18 Sep 2008 10:04:01 +0000 (10:04 +0000)]
Reduce code size.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36072 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUse global EINA_ERROR_OUT_OF_MEMORY.
cedric [Thu, 18 Sep 2008 10:03:34 +0000 (10:03 +0000)]
Use global EINA_ERROR_OUT_OF_MEMORY.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36071 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoForgotten initialization.
cedric [Thu, 18 Sep 2008 10:02:40 +0000 (10:02 +0000)]
Forgotten initialization.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36070 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd forgotten declaration.
cedric [Thu, 18 Sep 2008 10:01:45 +0000 (10:01 +0000)]
Add forgotten declaration.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36069 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * add doc for counter and convert modules
caro [Wed, 17 Sep 2008 18:55:54 +0000 (18:55 +0000)]
 * add doc for counter and convert modules
 * minor spelling, formatting and doxygen fixes

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36057 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd another mempool test.
cedric [Wed, 17 Sep 2008 16:33:16 +0000 (16:33 +0000)]
Add another mempool test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36054 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd mempool check.
cedric [Wed, 17 Sep 2008 15:23:09 +0000 (15:23 +0000)]
Add mempool check.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36053 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix module stuff to be able to run test in the build directory.
cedric [Wed, 17 Sep 2008 15:21:16 +0000 (15:21 +0000)]
Fix module stuff to be able to run test in the build directory.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36052 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd statistics, gc support to mempool and a workaround path lookup for module.
cedric [Wed, 17 Sep 2008 15:20:35 +0000 (15:20 +0000)]
Add statistics, gc support to mempool and a workaround path lookup for module.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36051 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoWe need to return something != NULL.
cedric [Wed, 17 Sep 2008 15:19:07 +0000 (15:19 +0000)]
We need to return something != NULL.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36050 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix typo and initialization.
cedric [Wed, 17 Sep 2008 15:18:35 +0000 (15:18 +0000)]
Fix typo and initialization.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36049 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove dead directory.
cedric [Wed, 17 Sep 2008 15:18:04 +0000 (15:18 +0000)]
Remove dead directory.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36048 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd protection for dump function also.
cedric [Wed, 17 Sep 2008 08:59:47 +0000 (08:59 +0000)]
Add protection for dump function also.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36042 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix bug reported by Vincent Torri and add a test to trigger it.
cedric [Wed, 17 Sep 2008 08:33:35 +0000 (08:33 +0000)]
Fix bug reported by Vincent Torri and add a test to trigger it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36041 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd real life test from E17 use.
cedric [Tue, 16 Sep 2008 14:06:14 +0000 (14:06 +0000)]
Add real life test from E17 use.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36017 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd Ecore and Evas benchmark.
cedric [Tue, 16 Sep 2008 13:50:34 +0000 (13:50 +0000)]
Add Ecore and Evas benchmark.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36015 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * update the doc of stringshre
caro [Mon, 15 Sep 2008 19:58:36 +0000 (19:58 +0000)]
 * update the doc of stringshre
 * fix minor warnings from doxygen

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36004 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * add documentation. The tutorial needs to be written, though
caro [Mon, 15 Sep 2008 19:17:15 +0000 (19:17 +0000)]
 * add documentation. The tutorial needs to be written, though
 * rename eina_arra_count() to eina_array_count_get() and
   eina_arra_get() to eina_array_data_get()

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36003 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoDon't compute string length when not really needed.
cedric [Mon, 15 Sep 2008 13:38:42 +0000 (13:38 +0000)]
Don't compute string length when not really needed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36001 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoNew stringshare implementation.
cedric [Mon, 15 Sep 2008 12:54:54 +0000 (12:54 +0000)]
New stringshare implementation.

We use 256 buckets with a rbtree per bucket. The key of rbtree is the hash
on 12bits and each node of the rbtree have a list of string.

Thanks to Gustavo and Vincent for their help.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@36000 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd more test for stringshare.
cedric [Mon, 15 Sep 2008 12:44:06 +0000 (12:44 +0000)]
Add more test for stringshare.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35999 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoDon't limite the range of the hash function. It's the dutty of the caller.
cedric [Mon, 15 Sep 2008 12:35:27 +0000 (12:35 +0000)]
Don't limite the range of the hash function. It's the dutty of the caller.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35998 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoInclude benchmark against Evas and Ecore stringshare.
cedric [Mon, 15 Sep 2008 09:59:41 +0000 (09:59 +0000)]
Include benchmark against Evas and Ecore stringshare.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35995 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoadd evas and ecore detection for benchmarking
caro [Fri, 12 Sep 2008 21:08:16 +0000 (21:08 +0000)]
add evas and ecore detection for benchmarking

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35969 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoMake inline only usefull function.
cedric [Mon, 8 Sep 2008 12:19:15 +0000 (12:19 +0000)]
Make inline only usefull function.

Return information about potential error during eina_array_remove.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35888 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * add array doc
caro [Sun, 7 Sep 2008 19:12:49 +0000 (19:12 +0000)]
 * add array doc
 * eina_array_push() returns now a bool
 * fix compilation

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35871 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * add accessor doc
caro [Sun, 7 Sep 2008 07:19:19 +0000 (07:19 +0000)]
 * add accessor doc
 * fix and add some links

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35865 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * add doc for iterators
caro [Sun, 7 Sep 2008 05:44:00 +0000 (05:44 +0000)]
 * add doc for iterators
 * add table of content on the main page

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35864 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix examples in tutorial
caro [Sat, 6 Sep 2008 09:14:54 +0000 (09:14 +0000)]
fix examples in tutorial

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35851 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * fix section title
caro [Sat, 6 Sep 2008 08:54:22 +0000 (08:54 +0000)]
 * fix section title
 * forget a remark

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35850 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * finish tutorial of eina_error
caro [Sat, 6 Sep 2008 08:48:36 +0000 (08:48 +0000)]
 * finish tutorial of eina_error
 * spelling

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35849 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoHide build directory.
cedric [Fri, 5 Sep 2008 14:37:00 +0000 (14:37 +0000)]
Hide build directory.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35840 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * add documentation and a tutorial for the error module
caro [Fri, 5 Sep 2008 07:58:38 +0000 (07:58 +0000)]
 * add documentation and a tutorial for the error module
 * change api (eina_error_register to eina_error_msg_register)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoShare eina_benchmark to other libs also.
cedric [Thu, 4 Sep 2008 15:06:26 +0000 (15:06 +0000)]
Share eina_benchmark to other libs also.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35832 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove debug variable.
cedric [Thu, 4 Sep 2008 14:58:22 +0000 (14:58 +0000)]
Remove debug variable.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35831 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoOops, forgot this update.
cedric [Wed, 3 Sep 2008 14:48:56 +0000 (14:48 +0000)]
Oops, forgot this update.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35815 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd a routine to extract path information.
cedric [Wed, 3 Sep 2008 14:40:12 +0000 (14:40 +0000)]
Add a routine to extract path information.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35814 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove warning.
cedric [Wed, 3 Sep 2008 14:38:49 +0000 (14:38 +0000)]
Remove warning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35813 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoCoverage work with last git libtool version and a small patch.
cedric [Wed, 3 Sep 2008 12:07:53 +0000 (12:07 +0000)]
Coverage work with last git libtool version and a small patch.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35807 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix initialisation logic.
cedric [Wed, 3 Sep 2008 12:06:50 +0000 (12:06 +0000)]
Fix initialisation logic.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35806 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUpdate copyright credit correctly.
cedric [Mon, 1 Sep 2008 12:51:50 +0000 (12:51 +0000)]
Update copyright credit correctly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35775 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUpdate copyright credit correctly.
cedric [Mon, 1 Sep 2008 12:42:16 +0000 (12:42 +0000)]
Update copyright credit correctly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35774 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix copy/paste error
caro [Mon, 1 Sep 2008 12:03:52 +0000 (12:03 +0000)]
fix copy/paste error

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35773 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * fix compilation on Windows
caro [Sun, 31 Aug 2008 14:05:17 +0000 (14:05 +0000)]
 * fix compilation on Windows
 * improve a bit autotools

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35761 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoMain should return something.
cedric [Fri, 29 Aug 2008 17:21:06 +0000 (17:21 +0000)]
Main should return something.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUpdate benchmark result for convertion function.
cedric [Fri, 29 Aug 2008 16:24:25 +0000 (16:24 +0000)]
Update benchmark result for convertion function.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd all benchmark and prefer line instead of logscale.
cedric [Fri, 29 Aug 2008 16:21:37 +0000 (16:21 +0000)]
Add all benchmark and prefer line instead of logscale.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35741 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoUse memcmp as we know the size of both string.
cedric [Fri, 29 Aug 2008 16:09:39 +0000 (16:09 +0000)]
Use memcmp as we know the size of both string.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35740 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoDon't benchmark snprintf.
cedric [Fri, 29 Aug 2008 16:07:55 +0000 (16:07 +0000)]
Don't benchmark snprintf.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eina@35739 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33