cedric [Wed, 18 May 2011 12:56:49 +0000 (12:56 +0000)]
eina: fix typo.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59503
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 18 May 2011 11:45:32 +0000 (11:45 +0000)]
Eina binbuf: Fix compilation and correct the mistakes.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59500
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 18 May 2011 10:52:50 +0000 (10:52 +0000)]
Eina binbuf: Struct name should be binbuf, not strbuf.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 May 2011 10:05:59 +0000 (10:05 +0000)]
eina: part of the init is specific, so preserve it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59493
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 May 2011 07:56:11 +0000 (07:56 +0000)]
eina: fix eina_share_common_init.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59485
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gouache [Wed, 18 May 2011 02:49:59 +0000 (02:49 +0000)]
Eina: add 'eina_init()' at the testcase of simple_xml_parser.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59479
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gouache [Wed, 18 May 2011 02:29:59 +0000 (02:29 +0000)]
Eina: add testcase for 'eina_simple_xml_parser'
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59478
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 May 2011 16:17:28 +0000 (16:17 +0000)]
eina: fix eina_file to be really usable.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59470
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 17 May 2011 15:49:08 +0000 (15:49 +0000)]
Eina: Added .gitignore.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59469
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 17 May 2011 15:45:39 +0000 (15:45 +0000)]
Eina binbuf: Added eina_binbuff an auto resizing binary buffer.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59468
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 May 2011 10:15:19 +0000 (10:15 +0000)]
eina: build without threads support.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59467
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 May 2011 05:38:29 +0000 (05:38 +0000)]
Eina_ : eina_file_win32.c : fix returned value of eina_file_shutdown()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59463
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 16 May 2011 17:39:20 +0000 (17:39 +0000)]
fix eina_prefix.c on Windows (at least a part of it, as elm is not working with it)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59454
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 16 May 2011 17:37:51 +0000 (17:37 +0000)]
fix eina_inline_lock_void.x
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59453
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 15 May 2011 10:55:07 +0000 (10:55 +0000)]
Eina: eina_lock: fix eina_lock on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59395
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 14 May 2011 21:23:03 +0000 (21:23 +0000)]
i'm not cedric
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59392
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 14 May 2011 21:19:36 +0000 (21:19 +0000)]
Eina : eina_lock : make it compile on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59391
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Sat, 14 May 2011 14:39:25 +0000 (14:39 +0000)]
eina: improve hash documentation on free_cb
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59383
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 13 May 2011 10:44:29 +0000 (10:44 +0000)]
eina: always put map in memory when requested and use HUGETLB when available.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59366
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 14:41:39 +0000 (14:41 +0000)]
eina: check condition is still alive when debugging threads.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59299
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 13:12:36 +0000 (13:12 +0000)]
eina: have same behaviour on windows and linux.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59297
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 13:06:03 +0000 (13:06 +0000)]
eina: oops, need to protect inside #ifdef.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59295
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 12:54:47 +0000 (12:54 +0000)]
eina: improve lock debugging.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59293
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 10:42:42 +0000 (10:42 +0000)]
eina: more check.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59289
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 10:32:56 +0000 (10:32 +0000)]
eina: add Eina_Condition.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59287
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 May 2011 10:29:55 +0000 (10:29 +0000)]
eina: check pending lock at the right time.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59286
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 6 May 2011 09:16:40 +0000 (09:16 +0000)]
eina: remove flood of debugging information.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59234
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 6 May 2011 09:07:26 +0000 (09:07 +0000)]
eina: remove useless lock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59233
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 4 May 2011 13:53:22 +0000 (13:53 +0000)]
eina: improve on/off and debugging lock.
Now if a lock is still taken when shutdown occur, you will know
where it come from !
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59191
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 18:19:41 +0000 (18:19 +0000)]
Eina lock: unused warning suppression is done with (void).
Not only that it's uglier doing mutex=0, but also new gcc started
complainig about it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59137
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:52:34 +0000 (13:52 +0000)]
eina: forgotten commit.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59125
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:51:20 +0000 (13:51 +0000)]
eina: use the right naming.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59124
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:40:28 +0000 (13:40 +0000)]
eina: add back threads on/off support.
NOTE: only use it if you know what you are doing !
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59123
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 2 May 2011 13:09:38 +0000 (13:09 +0000)]
eina: forgotten initialization.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59121
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@59118
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@59117
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 08:34:22 +0000 (08:34 +0000)]
also return deadlock from normal lock (not try only)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59103
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@59101
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 2 May 2011 07:04:24 +0000 (07:04 +0000)]
time.h should be sufficient
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59096
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@59095
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@59085
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Fri, 29 Apr 2011 19:08:03 +0000 (19:08 +0000)]
eina: fix #elif usage
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59044
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Fri, 29 Apr 2011 19:07:46 +0000 (19:07 +0000)]
eina: remove redundant declaration
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59043
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@59042
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 29 Apr 2011 16:09:07 +0000 (16:09 +0000)]
eina: Add refcounting macro helper.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@59038
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 27 Apr 2011 19:44:57 +0000 (19:44 +0000)]
Eina: eina_object : more use of eina_lock
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58980
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 27 Apr 2011 17:00:36 +0000 (17:00 +0000)]
Eina: Fix static build of the buddy mempool
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58974
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 27 Apr 2011 16:58:23 +0000 (16:58 +0000)]
formatting: alphabetical order
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58973
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58971
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 27 Apr 2011 15:50:12 +0000 (15:50 +0000)]
remove shadow var
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58966
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58920
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 25 Apr 2011 08:48:20 +0000 (08:48 +0000)]
eina: fix eina_lock on windows.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58893
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 25 Apr 2011 02:30:42 +0000 (02:30 +0000)]
lets compile again shall we?
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58883
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 24 Apr 2011 20:22:50 +0000 (20:22 +0000)]
eina: move eina_object to use eina_lock too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58876
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 24 Apr 2011 20:22:17 +0000 (20:22 +0000)]
eina: put global into namespace and add lock abort
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58875
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 24 Apr 2011 16:49:48 +0000 (16:49 +0000)]
eina: fix api to actually work as expected.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58871
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 24 Apr 2011 15:54:09 +0000 (15:54 +0000)]
eina: starting to use eina_lock.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58869
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58865
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 24 Apr 2011 09:32:16 +0000 (09:32 +0000)]
make docs right
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58862
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 24 Apr 2011 09:14:12 +0000 (09:14 +0000)]
fix date
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58861
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 24 Apr 2011 09:11:11 +0000 (09:11 +0000)]
Eina: Fix uninstallation of the mempools modules
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58859
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 24 Apr 2011 08:37:52 +0000 (08:37 +0000)]
whitespaces--
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58858
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58857
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 24 Apr 2011 08:12:00 +0000 (08:12 +0000)]
remove useless headers
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58854
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58852
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 24 Apr 2011 07:49:43 +0000 (07:49 +0000)]
whitespace cleanup and a bit of formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58851
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 24 Apr 2011 07:35:52 +0000 (07:35 +0000)]
chlog++
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58849
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 24 Apr 2011 07:35:30 +0000 (07:35 +0000)]
put a general prefix finder in eina.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58848
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58835
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58820
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 21 Apr 2011 11:54:16 +0000 (11:54 +0000)]
populate optional.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58792
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58680
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58679
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 14 Apr 2011 20:30:17 +0000 (20:30 +0000)]
efl: don't track cache file.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58672
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58670
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 14 Apr 2011 14:51:36 +0000 (14:51 +0000)]
autogen: unobrk things.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58668
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 14 Apr 2011 09:40:47 +0000 (09:40 +0000)]
eina: improve autoconf cache usage.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58655
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 14 Apr 2011 07:42:04 +0000 (07:42 +0000)]
unrevert. this is not a mistake.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58654
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58650
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58649
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58648
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 14 Apr 2011 01:04:54 +0000 (01:04 +0000)]
fix input check
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58647
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58645
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 13 Apr 2011 17:51:00 +0000 (17:51 +0000)]
fix win32 build
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58642
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 13 Apr 2011 17:03:24 +0000 (17:03 +0000)]
move doxy tag
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58641
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58638
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58637
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Wed, 13 Apr 2011 07:46:28 +0000 (07:46 +0000)]
Eina eina_list.c: Fixed formatting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58614
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 13 Apr 2011 03:08:58 +0000 (03:08 +0000)]
class is a reserved word. SPANK SPANK SPANK cedric!!!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58613
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 12 Apr 2011 23:48:40 +0000 (23:48 +0000)]
dont need empty dir.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58611
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58610
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 12 Apr 2011 09:00:45 +0000 (09:00 +0000)]
eina: fix 64bits warning.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58583
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58582
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 11 Apr 2011 21:16:20 +0000 (21:16 +0000)]
eina: fix amalgamation build.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58569
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58562
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58561
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 11 Apr 2011 17:28:16 +0000 (17:28 +0000)]
eina: prevent NULL offsetting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58560
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58554
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/eina@58540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 7 Apr 2011 13:17:25 +0000 (13:17 +0000)]
doxy -> .h
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@58450
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33