framework/uifw/eina.git
13 years agoeina: forgotten initialization.
cedric [Mon, 2 May 2011 13:09:38 +0000 (13:09 +0000)]
eina: forgotten initialization.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59121 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: improve thread debugging and portability.
cedric [Mon, 2 May 2011 11:25:35 +0000 (11:25 +0000)]
eina: improve thread debugging and portability.

All thread debugging facility, including lock debug, on by turning --enable-debug-threads
at configure time of eina.

When threads check are disable, make sure that all lock/release are called
from the main loop only. And in all case, eina_lock_new/eina_lock_delete should be
called from the main loop.

Remove static initialization as it is not portable under Windows.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59118 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: make sure eina_threads_init/eina_threads_shutdown are correctly called.
cedric [Mon, 2 May 2011 11:20:00 +0000 (11:20 +0000)]
eina: make sure eina_threads_init/eina_threads_shutdown are correctly called.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59117 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoalso return deadlock from normal lock (not try only)
raster [Mon, 2 May 2011 08:34:22 +0000 (08:34 +0000)]
also return deadlock from normal lock (not try only)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59103 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformalise eina lock results to be equivalent to true/false with added
raster [Mon, 2 May 2011 08:24:06 +0000 (08:24 +0000)]
formalise eina lock results to be equivalent to true/false with added
deadlock for try.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59101 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotime.h should be sufficient
caro [Mon, 2 May 2011 07:04:24 +0000 (07:04 +0000)]
time.h should be sufficient

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59096 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: eina_file.h: fix compilation on Mac Os X
caro [Mon, 2 May 2011 05:52:31 +0000 (05:52 +0000)]
Eina: eina_file.h: fix compilation on Mac Os X

define time_t on Mac OS X. Patch by Dave Ray.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59095 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooh dear. this new eina_lock thing is a bit of a mess isn't it now?
raster [Sun, 1 May 2011 13:24:08 +0000 (13:24 +0000)]
oh dear. this new eina_lock thing is a bit of a mess isn't it now?
some fundamental errors there. don't go replacing pthread locks with
wrappers unless you know full well what u are doing. havnig threads
only work while "threads are initted" and then init/shtudown the thread
thing every time u spawn a thread.. is pretty silly. what if a thread
ends in the background WHILE u have a lock.. u try unlock.. u know
what ? your unlock DOES nothing. so you retain a lock. next time u
want to lock once a thread is around.. u have a deadlock issue.

even better - the checking if threads are initted and up is not
locked, so it can come up while it is being checked. more race
conditions. u need to clokc the init/shutdown AND lock the checking of
the value... and even then u STILl have problem #1 above. so that code
is now gone.

also trylock trturn inverse logic to the original pthread func and the
macros in evas that used it were not changed accordingly! aaagh!

i've also added backtrace debug ability to eina threads if compiled in
- u can get a bt of who last locked something. i had to do this just to
begin to grasp what on earth was going on. it's off by default.
also... the locks are error check locks to trylock can detect
deadlocks. speacil "2" return for now. better than a poke in the eye
with a sharp stick until we decide what to do. for now i hopew i have
killed this thread lock bug.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59085 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: fix #elif usage
billiob [Fri, 29 Apr 2011 19:08:03 +0000 (19:08 +0000)]
eina: fix #elif usage

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59044 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: remove redundant declaration
billiob [Fri, 29 Apr 2011 19:07:46 +0000 (19:07 +0000)]
eina: remove redundant declaration

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59043 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina refcount: Wrap EINA_REFCOUNT_UNREF with do {} while(0).
tasn [Fri, 29 Apr 2011 18:54:29 +0000 (18:54 +0000)]
Eina refcount: Wrap EINA_REFCOUNT_UNREF with do {} while(0).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59042 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: Add refcounting macro helper.
cedric [Fri, 29 Apr 2011 16:09:07 +0000 (16:09 +0000)]
eina: Add refcounting macro helper.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59038 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: eina_object : more use of eina_lock
caro [Wed, 27 Apr 2011 19:44:57 +0000 (19:44 +0000)]
Eina: eina_object : more use of eina_lock

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: Fix static build of the buddy mempool
caro [Wed, 27 Apr 2011 17:00:36 +0000 (17:00 +0000)]
Eina: Fix static build of the buddy mempool

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58974 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting: alphabetical order
caro [Wed, 27 Apr 2011 16:58:23 +0000 (16:58 +0000)]
formatting: alphabetical order

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58973 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodo not enter the modules dir if they are not built
caro [Wed, 27 Apr 2011 16:15:41 +0000 (16:15 +0000)]
do not enter the modules dir if they are not built

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58971 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove shadow var
caro [Wed, 27 Apr 2011 15:50:12 +0000 (15:50 +0000)]
remove shadow var

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58966 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: eina_lock : fix compilation on Windows. eina_object.c must be fixed too.
caro [Tue, 26 Apr 2011 06:55:17 +0000 (06:55 +0000)]
Eina: eina_lock : fix compilation on Windows. eina_object.c must be fixed too.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58920 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: fix eina_lock on windows.
cedric [Mon, 25 Apr 2011 08:48:20 +0000 (08:48 +0000)]
eina: fix eina_lock on windows.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58893 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agolets compile again shall we?
raster [Mon, 25 Apr 2011 02:30:42 +0000 (02:30 +0000)]
lets compile again shall we?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58883 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: move eina_object to use eina_lock too.
cedric [Sun, 24 Apr 2011 20:22:50 +0000 (20:22 +0000)]
eina: move eina_object to use eina_lock too.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58876 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: put global into namespace and add lock abort
cedric [Sun, 24 Apr 2011 20:22:17 +0000 (20:22 +0000)]
eina: put global into namespace and add lock abort

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58875 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: fix api to actually work as expected.
cedric [Sun, 24 Apr 2011 16:49:48 +0000 (16:49 +0000)]
eina: fix api to actually work as expected.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58871 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: starting to use eina_lock.
cedric [Sun, 24 Apr 2011 15:54:09 +0000 (15:54 +0000)]
eina: starting to use eina_lock.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58869 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix bug when dladdr doesnt return full path. odd that it doesnt.
raster [Sun, 24 Apr 2011 09:53:00 +0000 (09:53 +0000)]
fix bug when dladdr doesnt return full path. odd that it doesnt.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58865 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake docs right
raster [Sun, 24 Apr 2011 09:32:16 +0000 (09:32 +0000)]
make docs right

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58862 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix date
caro [Sun, 24 Apr 2011 09:14:12 +0000 (09:14 +0000)]
fix date

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58861 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: Fix uninstallation of the mempools modules
caro [Sun, 24 Apr 2011 09:11:11 +0000 (09:11 +0000)]
Eina: Fix uninstallation of the mempools modules

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58859 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowhitespaces--
caro [Sun, 24 Apr 2011 08:37:52 +0000 (08:37 +0000)]
whitespaces--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58858 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake sure eina_prefix is marked since 1.1.0
raster [Sun, 24 Apr 2011 08:30:12 +0000 (08:30 +0000)]
make sure eina_prefix is marked since 1.1.0

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58857 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove useless headers
caro [Sun, 24 Apr 2011 08:12:00 +0000 (08:12 +0000)]
remove useless headers

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58854 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoon Windows, the path separator in PATH env var is a semicolon, not a colon
caro [Sun, 24 Apr 2011 07:57:16 +0000 (07:57 +0000)]
on Windows, the path separator in PATH env var is a semicolon, not a colon

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58852 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowhitespace cleanup and a bit of formatting
caro [Sun, 24 Apr 2011 07:49:43 +0000 (07:49 +0000)]
whitespace cleanup and a bit of formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58851 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agochlog++
raster [Sun, 24 Apr 2011 07:35:52 +0000 (07:35 +0000)]
chlog++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58849 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoput a general prefix finder in eina.
raster [Sun, 24 Apr 2011 07:35:30 +0000 (07:35 +0000)]
put a general prefix finder in eina.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58848 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: Add Eina_Lock API
caro [Fri, 22 Apr 2011 21:26:36 +0000 (21:26 +0000)]
Eina: Add Eina_Lock API

Eina_Lock API is a small set of functions to manage in a
cross platform way mutual exclusion objects

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58835 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: eina_object: Fix integer size on Windows 64 bits
caro [Fri, 22 Apr 2011 05:36:44 +0000 (05:36 +0000)]
Eina: eina_object: Fix integer size on Windows 64 bits

 * use unsigned __int64 on Windows 64 bits
 * use unsigned modifier 'u' to print objects id

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58820 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agopopulate optional.
raster [Thu, 21 Apr 2011 11:54:16 +0000 (11:54 +0000)]
populate optional.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58792 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: eina_file: port API to Windows
caro [Fri, 15 Apr 2011 07:03:17 +0000 (07:03 +0000)]
Eina: eina_file: port API to Windows

Currently, that code can potentially fail on Windows 64 bits
as long is of size 32 bits and not 64 bits. All the file length
and offset must be changed to something that fit the arch, like size_t,
or use always uint64_t

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58680 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix error_find to actually return the Eina_Error instead of just i
discomfitor [Fri, 15 Apr 2011 00:41:01 +0000 (00:41 +0000)]
fix error_find to actually return the Eina_Error instead of just i

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58679 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoefl: don't track cache file.
cedric [Thu, 14 Apr 2011 20:30:17 +0000 (20:30 +0000)]
efl: don't track cache file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58672 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix input check for list_move, add ESNV for error
discomfitor [Thu, 14 Apr 2011 18:21:40 +0000 (18:21 +0000)]
fix input check for list_move, add ESNV for error

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58670 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoautogen: unobrk things.
cedric [Thu, 14 Apr 2011 14:51:36 +0000 (14:51 +0000)]
autogen: unobrk things.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58668 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: improve autoconf cache usage.
cedric [Thu, 14 Apr 2011 09:40:47 +0000 (09:40 +0000)]
eina: improve autoconf cache usage.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58655 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agounrevert. this is not a mistake.
discomfitor [Thu, 14 Apr 2011 07:42:04 +0000 (07:42 +0000)]
unrevert. this is not a mistake.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58654 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agorevert. The check is already done by EINA_MAGIC_CHECK, called by EINA_MAGIC_CHECK_LIST
caro [Thu, 14 Apr 2011 06:56:10 +0000 (06:56 +0000)]
revert. The check is already done by EINA_MAGIC_CHECK, called by EINA_MAGIC_CHECK_LIST

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58650 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: eina_file.c: use fcntl instead of O_CLOEXEC
caro [Thu, 14 Apr 2011 05:52:24 +0000 (05:52 +0000)]
Eina: eina_file.c: use fcntl instead of O_CLOEXEC

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58649 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: eina_file.c replace ACCESSPERMS, which is not protable, by its value
caro [Thu, 14 Apr 2011 05:39:09 +0000 (05:39 +0000)]
Eina: eina_file.c replace ACCESSPERMS, which is not protable, by its value

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58648 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix input check
discomfitor [Thu, 14 Apr 2011 01:04:54 +0000 (01:04 +0000)]
fix input check

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58647 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoerrrr.. how about we DONT make every eina using app spew out:
raster [Wed, 13 Apr 2011 21:50:23 +0000 (21:50 +0000)]
errrr.. how about we DONT make every eina using app spew out:

ERR<23281>:eina eina_main.c:173 _eina_shutdown_from_desc() Problems
shutting down eina module 'file', ignored.

now there's a bright idea eh?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58645 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix win32 build
caro [Wed, 13 Apr 2011 17:51:00 +0000 (17:51 +0000)]
fix win32 build

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58642 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomove doxy tag
caro [Wed, 13 Apr 2011 17:03:24 +0000 (17:03 +0000)]
move doxy tag

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58641 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoput __UNUSED__ where we usually put it : after the parameter name
caro [Wed, 13 Apr 2011 16:29:29 +0000 (16:29 +0000)]
put __UNUSED__ where we usually put it : after the parameter name

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58638 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: add Eina_File API.
cedric [Wed, 13 Apr 2011 16:15:30 +0000 (16:15 +0000)]
eina: add Eina_File API.

NOTE: the purpose of this API is to replace mmap user in the
EFL, share cache and more code across them. The potential user
are eet, evas, efreet, eio and enlil. More patch are needed for
them to use this infra. Help welcome :-)

NOTE2: this API also need more test and is waiting for some
more pthread infra before being thread safe. But at the end
it will be thread safe if eina thread safety is requested.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58637 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina eina_list.c: Fixed formatting.
seoz [Wed, 13 Apr 2011 07:46:28 +0000 (07:46 +0000)]
Eina eina_list.c: Fixed formatting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58614 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoclass is a reserved word. SPANK SPANK SPANK cedric!!!
discomfitor [Wed, 13 Apr 2011 03:08:58 +0000 (03:08 +0000)]
class is a reserved word. SPANK SPANK SPANK cedric!!!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58613 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodont need empty dir.
raster [Tue, 12 Apr 2011 23:48:40 +0000 (23:48 +0000)]
dont need empty dir.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58611 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd bench for google's cityhash function (64bit, http://code.google.com/p/cityhash/)
discomfitor [Tue, 12 Apr 2011 23:12:52 +0000 (23:12 +0000)]
add bench for google's cityhash function (64bit, code.google.com/p/cityhash/)
convenient graph of output can be found at http://www.enlightenment.org/~discomfitor/hash_bench.png

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58610 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: fix 64bits warning.
cedric [Tue, 12 Apr 2011 09:00:45 +0000 (09:00 +0000)]
eina: fix 64bits warning.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58583 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: alloc ABI2 to reduce risk for futur ABI change.
cedric [Tue, 12 Apr 2011 08:52:59 +0000 (08:52 +0000)]
eina: alloc ABI2 to reduce risk for futur ABI change.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58582 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: fix amalgamation build.
cedric [Mon, 11 Apr 2011 21:16:20 +0000 (21:16 +0000)]
eina: fix amalgamation build.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58569 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: add Eina_Object API.
cedric [Mon, 11 Apr 2011 18:00:34 +0000 (18:00 +0000)]
eina: add Eina_Object API.

This API is what could be used by all EFL library for their exposed
type (Evas_Object, Ecore_Timer, Ecore_Animator, Eio_File, ...). The
purpose of Eina_Object is to provide an "obscure" pointer that is
infact an ID with a generation count that will never be dereferenced
directly.
   This provide the benefit of always accessing a living object
with 1/256 chance to being the expected generation of it, that will
always be of the right type.
   It also provide asynchronous repacking ability (still highly
inefficient, but not really hard to improve), simple inheritance
with constructor/destructor and link between object.

All this implementation is highly open for comment, idea, review,
fix and change. I didn't got the time to write a sample test right
now. Maybe will come tomorrow. Same for docs.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58562 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: restore ABI compatibility.
cedric [Mon, 11 Apr 2011 17:45:01 +0000 (17:45 +0000)]
eina: restore ABI compatibility.

NOTE: if you did update the EFL during the last 3 hours, you will need to
      recompile them all at once.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58561 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: prevent NULL offsetting.
cedric [Mon, 11 Apr 2011 17:28:16 +0000 (17:28 +0000)]
eina: prevent NULL offsetting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58560 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: add eina_mempool_repack.
cedric [Mon, 11 Apr 2011 14:07:42 +0000 (14:07 +0000)]
eina: add eina_mempool_repack.

WARNING: HIGHLY UNTESTED PIECE OF CODE ! USE IT AT YOUR OWN RISK !

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58554 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: add eina_inlist_sort (merge sort based on eina_list code).
cedric [Mon, 11 Apr 2011 09:55:27 +0000 (09:55 +0000)]
eina: add eina_inlist_sort (merge sort based on eina_list code).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58540 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy -> .h
raster [Thu, 7 Apr 2011 13:17:25 +0000 (13:17 +0000)]
doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58450 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy->h
raster [Thu, 7 Apr 2011 13:15:31 +0000 (13:15 +0000)]
doxy->h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58448 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy -> .h
raster [Thu, 7 Apr 2011 13:13:11 +0000 (13:13 +0000)]
doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58445 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy -> .h
raster [Thu, 7 Apr 2011 13:11:27 +0000 (13:11 +0000)]
doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58444 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> .h
raster [Thu, 7 Apr 2011 13:08:48 +0000 (13:08 +0000)]
more doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58443 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy -> .h
raster [Thu, 7 Apr 2011 13:05:05 +0000 (13:05 +0000)]
doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58442 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy -> .h
raster [Thu, 7 Apr 2011 13:01:48 +0000 (13:01 +0000)]
doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58440 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy -> .h
raster [Thu, 7 Apr 2011 13:00:10 +0000 (13:00 +0000)]
doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58439 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy
raster [Thu, 7 Apr 2011 12:58:21 +0000 (12:58 +0000)]
doxy

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58438 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore dox -> .h
raster [Thu, 7 Apr 2011 12:57:44 +0000 (12:57 +0000)]
more dox -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58437 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> .h
raster [Thu, 7 Apr 2011 12:45:51 +0000 (12:45 +0000)]
more doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58436 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy -> .h
raster [Thu, 7 Apr 2011 12:44:02 +0000 (12:44 +0000)]
doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> .h
raster [Thu, 7 Apr 2011 12:38:55 +0000 (12:38 +0000)]
more doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58434 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy to .h
raster [Thu, 7 Apr 2011 12:31:57 +0000 (12:31 +0000)]
more doxy to .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58432 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> .h
raster [Thu, 7 Apr 2011 12:26:24 +0000 (12:26 +0000)]
more doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58430 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> .h
raster [Thu, 7 Apr 2011 12:23:22 +0000 (12:23 +0000)]
more doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58429 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore dox -> .h
raster [Thu, 7 Apr 2011 12:21:50 +0000 (12:21 +0000)]
more dox -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58427 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> .h
raster [Thu, 7 Apr 2011 12:17:32 +0000 (12:17 +0000)]
more doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58426 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore dox -> .h
raster [Thu, 7 Apr 2011 12:04:24 +0000 (12:04 +0000)]
more dox -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58425 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomove more doc to .h
raster [Thu, 7 Apr 2011 11:55:27 +0000 (11:55 +0000)]
move more doc to .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58424 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> .h
raster [Thu, 7 Apr 2011 11:40:55 +0000 (11:40 +0000)]
more doxy -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58421 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doxy -> h
raster [Thu, 7 Apr 2011 11:39:20 +0000 (11:39 +0000)]
more doxy -> h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58420 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doc to h files
raster [Thu, 7 Apr 2011 11:30:22 +0000 (11:30 +0000)]
more doc to h files

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58419 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore doc -> header.
raster [Thu, 7 Apr 2011 11:22:34 +0000 (11:22 +0000)]
more doc -> header.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58416 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore docs to .h files.
raster [Thu, 7 Apr 2011 11:16:30 +0000 (11:16 +0000)]
more docs to .h files.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58415 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore docs to headers.
raster [Thu, 7 Apr 2011 11:12:45 +0000 (11:12 +0000)]
more docs to headers.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58414 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomove some more doc to .h
raster [Thu, 7 Apr 2011 11:01:26 +0000 (11:01 +0000)]
move some more doc to .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58413 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosome doc -> .h
raster [Thu, 7 Apr 2011 10:38:25 +0000 (10:38 +0000)]
some doc -> .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58412 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomove docs to .h
raster [Thu, 7 Apr 2011 10:26:38 +0000 (10:26 +0000)]
move docs to .h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58411 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoslight doc clean
raster [Thu, 7 Apr 2011 04:42:01 +0000 (04:42 +0000)]
slight doc clean

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58404 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: fix amalgamation build.
cedric [Wed, 6 Apr 2011 15:18:08 +0000 (15:18 +0000)]
eina: fix amalgamation build.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58392 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: add Eina_Simple_Xml parser by Gustavo.
cedric [Wed, 6 Apr 2011 10:14:03 +0000 (10:14 +0000)]
eina: add Eina_Simple_Xml parser by Gustavo.

TODO: fix docs (but today, eina doc need some love again)
      use iconv and handle encoding (can get entity-to-utf8 from evas)
      description of what to do at :
http://marc.info/?l=enlightenment-devel&m=129975452006699&w=3

NOTE: this mean this API is not stable yet and will be broken soon.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58387 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina-hash: improve documentation + indent + wibble
billiob [Mon, 28 Mar 2011 21:37:35 +0000 (21:37 +0000)]
eina-hash: improve documentation + indent + wibble

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58157 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina unicode: Removed an old comment.
tasn [Mon, 28 Mar 2011 13:33:03 +0000 (13:33 +0000)]
Eina unicode: Removed an old comment.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@58154 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33