framework/uifw/eina.git
12 years agoEina: warning--
caro [Mon, 14 Nov 2011 22:08:02 +0000 (22:08 +0000)]
Eina: warning--

patch by Fabien Romano from OpenBSD

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

12 years agowhitespace--
caro [Mon, 14 Nov 2011 21:37:42 +0000 (21:37 +0000)]
whitespace--

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

12 years agoEina: Fix warning
caro [Mon, 14 Nov 2011 21:37:25 +0000 (21:37 +0000)]
Eina: Fix warning

Patch by Fabien Romano

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

13 years ago1 - too many in underline
raster [Sun, 13 Nov 2011 06:11:43 +0000 (06:11 +0000)]
1 - too many in underline

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

13 years agoNEWS file like ecore - per vtorri's suggestion
raster [Sun, 13 Nov 2011 06:08:35 +0000 (06:08 +0000)]
NEWS file like ecore - per vtorri's suggestion

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

13 years agoeina NEWS file has summary from changelog. damn we did a lot.
raster [Fri, 11 Nov 2011 09:07:20 +0000 (09:07 +0000)]
eina NEWS file has summary from changelog. damn we did a lot.

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

13 years agoeina: add murmur3 hash
billiob [Thu, 10 Nov 2011 10:58:19 +0000 (10:58 +0000)]
eina: add murmur3 hash

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

13 years agofix clang complaint:
raster [Wed, 9 Nov 2011 07:15:48 +0000 (07:15 +0000)]
fix clang complaint:

http://dev.enlightenment.fr/~discomfitor/eina-2011-11-08/report-izvfa3.html#EndPath

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

13 years agoanother spacing baddie -> fixed
raster [Wed, 9 Nov 2011 06:35:45 +0000 (06:35 +0000)]
another spacing baddie -> fixed

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

13 years agoremove errant space.
raster [Wed, 9 Nov 2011 06:34:03 +0000 (06:34 +0000)]
remove errant space.

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

13 years agoEina: Port eina to the Ps3 by including Escape
kakaroto [Sat, 5 Nov 2011 17:49:30 +0000 (17:49 +0000)]
Eina: Port eina to the Ps3 by including Escape

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

13 years agoeina: don't hide symbol if we can build them in.
cedric [Sat, 5 Nov 2011 14:01:18 +0000 (14:01 +0000)]
eina: don't hide symbol if we can build them in.

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

13 years agowhitespace--
caro [Mon, 31 Oct 2011 23:45:22 +0000 (23:45 +0000)]
whitespace--

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

13 years agoEina: init TLS key...
caro [Mon, 31 Oct 2011 23:45:07 +0000 (23:45 +0000)]
Eina: init TLS key...

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

13 years agoEina: Add Eina_TLS typedefs for win32 and void
kakaroto [Mon, 31 Oct 2011 20:44:55 +0000 (20:44 +0000)]
Eina: Add Eina_TLS typedefs for win32 and void

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

13 years agoeina: fallback for case where file system doesn't handle MAP_HUGETLB properly.
cedric [Wed, 19 Oct 2011 16:09:14 +0000 (16:09 +0000)]
eina: fallback for case where file system doesn't handle MAP_HUGETLB properly.

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

13 years agoeina/stringshare - get rid of white space
hermet [Wed, 19 Oct 2011 08:36:42 +0000 (08:36 +0000)]
eina/stringshare - get rid of white space

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

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Mon, 17 Oct 2011 05:06:01 +0000 (05:06 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>

"... I've created a resource context per thread using TLS.  Since there is no
TLS support in Eina, I've added 4 APIs for that as well.  Another patch has
been submitted but i'll just include it in here as well. ..."

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

13 years agoeina: add eina_strbuf_trim/rtrim/ltrim()
billiob [Sat, 15 Oct 2011 12:56:27 +0000 (12:56 +0000)]
eina: add eina_strbuf_trim/rtrim/ltrim()

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

13 years agoeina: Hook clist into the top level documentation
mike_m [Thu, 13 Oct 2011 07:30:34 +0000 (07:30 +0000)]
eina: Hook clist into the top level documentation

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@64039 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: Document Eina_Clist
mike_m [Thu, 13 Oct 2011 07:06:54 +0000 (07:06 +0000)]
eina: Document Eina_Clist

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@64038 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: Fix bug in eina_clist_element_init
mike_m [Thu, 13 Oct 2011 07:06:44 +0000 (07:06 +0000)]
eina: Fix bug in eina_clist_element_init

Thanks to Naruto TAKAHASHI for pointing out the problem.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@64037 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: Add eina_clist_element_is_linked()
mike_m [Thu, 13 Oct 2011 02:22:18 +0000 (02:22 +0000)]
eina: Add eina_clist_element_is_linked()

Allows checking whether an entry is linked or not.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@64029 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: Add Eina_Clist
mike_m [Wed, 12 Oct 2011 04:39:27 +0000 (04:39 +0000)]
eina: Add Eina_Clist

A clist is an inlist with the following features:

 - allows removal of items without knowing which list they are in.
 - Two pointers per list item & list head

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@64007 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina: big mistake in efl_attribute.m4. My bad
caro [Sun, 9 Oct 2011 19:27:08 +0000 (19:27 +0000)]
Eina: big mistake in efl_attribute.m4. My bad

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

13 years agofd leak --
raster [Fri, 7 Oct 2011 17:47:55 +0000 (17:47 +0000)]
fd leak --

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

13 years agoeina: Only declare _eina_tracking_lock with thread debugging
mike_m [Fri, 7 Oct 2011 05:56:51 +0000 (05:56 +0000)]
eina: Only declare _eina_tracking_lock with thread debugging

Hopefully fixes compilation on windows

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@63905 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRevert "[Eina] Use Eina_Lock and not pthread. Fix compilation on Windows."
mike_m [Fri, 7 Oct 2011 05:56:43 +0000 (05:56 +0000)]
Revert "[Eina] Use Eina_Lock and not pthread. Fix compilation on Windows."

This reverts commit 61d2367bd6f7c12be7e04b58cbe1011971b7a0f2. (@63877)

Reverted due to the following build failure:

eina_main.c:117:16: error: conflicting types for ‘_eina_tracking_lock’
../../src/include/eina_inline_lock_posix.x:83:29: note: previous declaration of ‘_eina_tracking_lock’ was here
make[3]: *** [libeina_la-eina_main.lo] Error 1

_eina_tracking_lock is used for implementation of Eina_Locks, so cannot be an Eina_Lock

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@63904 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[Eina] Use Eina_Lock and not pthread. Fix compilation on Windows.
caro [Thu, 6 Oct 2011 06:34:39 +0000 (06:34 +0000)]
[Eina] Use Eina_Lock and not pthread. Fix compilation on Windows.

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

13 years agoeina: fix r63811
billiob [Wed, 5 Oct 2011 21:09:10 +0000 (21:09 +0000)]
eina: fix r63811

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

13 years agoeina: remove couple of warnings
barbieri [Wed, 5 Oct 2011 20:00:29 +0000 (20:00 +0000)]
eina: remove couple of warnings

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

13 years agofir leak in an example. patch by Guillaume 'Kuri' Friloux
caro [Wed, 5 Oct 2011 14:29:40 +0000 (14:29 +0000)]
fir leak in an example. patch by Guillaume 'Kuri' Friloux

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

13 years agoeina: eina_strbuf_append_length(sb, s, 0) is possible
billiob [Tue, 4 Oct 2011 20:47:15 +0000 (20:47 +0000)]
eina: eina_strbuf_append_length(sb, s, 0) is possible

also fix typo in doc, remove a trailing space and myself to authors

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

13 years agoeina: actually sanitize all file inserted in the cache.
cedric [Tue, 4 Oct 2011 02:33:45 +0000 (02:33 +0000)]
eina: actually sanitize all file inserted in the cache.

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

13 years agoeina: prevent ABI break when turning on/off threads debugging.
cedric [Tue, 4 Oct 2011 02:33:00 +0000 (02:33 +0000)]
eina: prevent ABI break when turning on/off threads debugging.

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

13 years agoeina: add sub-second resolution correctness.
cedric [Tue, 4 Oct 2011 02:04:40 +0000 (02:04 +0000)]
eina: add sub-second resolution correctness.

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

13 years agoeina: forgotten lock in eina_file.
cedric [Tue, 4 Oct 2011 01:55:41 +0000 (01:55 +0000)]
eina: forgotten lock in eina_file.

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

13 years agoeina: fix make dist
yoz [Thu, 29 Sep 2011 15:13:10 +0000 (15:13 +0000)]
eina: fix make dist

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

13 years agouse another m4 macro for __atribute__
caro [Thu, 29 Sep 2011 06:07:40 +0000 (06:07 +0000)]
use another m4 macro for __atribute__

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

13 years agoeina: provide a C++-compatible version of _EINA_INLIST_CONTAINER
lucas [Fri, 23 Sep 2011 17:02:02 +0000 (17:02 +0000)]
eina: provide a C++-compatible version of _EINA_INLIST_CONTAINER

In C++ we can't assign a void pointer to another type pointer without casts. We
now rely on typeof() operator *when using C++*.

We may provide another version later for those compilers without typeof()
support.

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

13 years agoeina: correctly track lock when waiting for condition.
cedric [Fri, 23 Sep 2011 13:17:12 +0000 (13:17 +0000)]
eina: correctly track lock when waiting for condition.

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

13 years agosvn:ignore
discomfitor [Thu, 22 Sep 2011 20:38:32 +0000 (20:38 +0000)]
svn:ignore

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

13 years agosvn:ignore
discomfitor [Thu, 22 Sep 2011 20:37:11 +0000 (20:37 +0000)]
svn:ignore

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

13 years agoanother useless header file
caro [Thu, 22 Sep 2011 20:36:08 +0000 (20:36 +0000)]
another useless header file

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

13 years agouseless header file
caro [Thu, 22 Sep 2011 20:33:58 +0000 (20:33 +0000)]
useless header file

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

13 years agosupport mtrace in eina at runtime. easier now to enable via env vars.
raster [Tue, 20 Sep 2011 11:28:25 +0000 (11:28 +0000)]
support mtrace in eina at runtime. easier now to enable via env vars.

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

13 years agoEina: In eina_file_open, only set the CLOEXEC flag if system supports exec
kakaroto [Sun, 18 Sep 2011 21:57:10 +0000 (21:57 +0000)]
Eina: In eina_file_open, only set the CLOEXEC flag if system supports exec

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

13 years agoEina: mmap: Use HAVE_SIGINT_T instead of ifdefs on WIN32
kakaroto [Sun, 18 Sep 2011 21:57:02 +0000 (21:57 +0000)]
Eina: mmap: Use HAVE_SIGINT_T instead of ifdefs on WIN32

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

13 years agoEina: Always use fpathconfig and never assume NAME_MAX is defined
kakaroto [Sun, 18 Sep 2011 21:56:54 +0000 (21:56 +0000)]
Eina: Always use fpathconfig and never assume NAME_MAX is defined

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

13 years agoadd sys/types.h check
caro [Sun, 18 Sep 2011 10:13:29 +0000 (10:13 +0000)]
add sys/types.h check

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

13 years agocomments again
caro [Sat, 17 Sep 2011 07:13:02 +0000 (07:13 +0000)]
comments again

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

13 years agowhitespaces-- and comments
caro [Sat, 17 Sep 2011 06:29:23 +0000 (06:29 +0000)]
whitespaces-- and comments

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

13 years agoadd @since to doc type
caro [Sat, 17 Sep 2011 06:24:00 +0000 (06:24 +0000)]
add @since to doc type

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

13 years agofix configure output
caro [Fri, 16 Sep 2011 07:34:43 +0000 (07:34 +0000)]
fix configure output

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

13 years agoquotes and cleanup
caro [Fri, 16 Sep 2011 07:30:40 +0000 (07:30 +0000)]
quotes and cleanup

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

13 years agoEina: Disable xattr calls when xattr api is not available
kakaroto [Fri, 16 Sep 2011 07:08:37 +0000 (07:08 +0000)]
Eina: Disable xattr calls when xattr api is not available

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

13 years agoeina: add eina_xattr.{c,h}.
cedric [Thu, 15 Sep 2011 15:37:28 +0000 (15:37 +0000)]
eina: add eina_xattr.{c,h}.

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

13 years agoeina: use eina safety check in eina_file.c.
cedric [Thu, 15 Sep 2011 13:57:27 +0000 (13:57 +0000)]
eina: use eina safety check in eina_file.c.

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

13 years agoeina: add XAttr support to eina.
cedric [Thu, 15 Sep 2011 12:39:40 +0000 (12:39 +0000)]
eina: add XAttr support to eina.

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

13 years agoeina: fix eina inlist sorted insert (with and without state)
cedric [Wed, 14 Sep 2011 22:04:37 +0000 (22:04 +0000)]
eina: fix eina inlist sorted insert (with and without state)

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

13 years agoclean generated files
caro [Wed, 14 Sep 2011 19:08:50 +0000 (19:08 +0000)]
clean generated files

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

13 years agoEina: Remove 'unused var' warnings from eina_inline_lock_void include
kakaroto [Mon, 12 Sep 2011 03:44:04 +0000 (03:44 +0000)]
Eina: Remove 'unused var' warnings from eina_inline_lock_void include

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

13 years agoEina: Use @EINA_LIBS@ for static linking libs in .pc file
kakaroto [Mon, 12 Sep 2011 03:43:55 +0000 (03:43 +0000)]
Eina: Use @EINA_LIBS@ for static linking libs in .pc file

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

13 years agoeina: threads debugging back to work.
cedric [Wed, 7 Sep 2011 10:16:27 +0000 (10:16 +0000)]
eina: threads debugging back to work.

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

13 years agoeina: Fix broken main loop thread check
mike_m [Wed, 7 Sep 2011 08:06:42 +0000 (08:06 +0000)]
eina: Fix broken main loop thread check

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@63263 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina (u)strbuf: Added eina_(u)strbuf_manage_new.
tasn [Tue, 6 Sep 2011 10:58:53 +0000 (10:58 +0000)]
Eina (u)strbuf: Added eina_(u)strbuf_manage_new.

This lets us take a string and use it as the string buffer instead of
copying and allocating.

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

13 years agoeina: oops. Thanks Vincent.
cedric [Mon, 5 Sep 2011 20:26:21 +0000 (20:26 +0000)]
eina: oops. Thanks Vincent.

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

13 years agoeina: add eina_inlist_sorted_state_insert and helper.
cedric [Mon, 5 Sep 2011 20:15:12 +0000 (20:15 +0000)]
eina: add eina_inlist_sorted_state_insert and helper.

Note: this function help keep a jump table so we reduce
the need to walk over the complete list to insert one
element. It's of course doesn't make it an O(log(n)) in
access time, but it increase it's cost more slowly.
   With 10000 items, you can count around 50 pointers
dereferencing and with with 50000 items around 200 pointers
dereferencing.
   Of course the comparison stay in O(log(n)).

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

13 years agofix COPYING to say 2011.
raster [Mon, 5 Sep 2011 07:15:41 +0000 (07:15 +0000)]
fix COPYING to say 2011.

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

13 years agoeina_prefix: use log infrastructure.
barbieri [Sat, 3 Sep 2011 05:31:25 +0000 (05:31 +0000)]
eina_prefix: use log infrastructure.

use eina_log instead of weirdo printfs... multiple levels, greatness
everywhere... helped me debug emotion's warning.

It is always a pain to try to use library log and notice they are not
using their own standards :-/

   export EINA_LOG_LEVELS=eina_prefix:4

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

13 years agoEina rbtree: Fixed EINA_RBTREE_GET. Should enclose in parenthesis.
tasn [Thu, 1 Sep 2011 12:11:24 +0000 (12:11 +0000)]
Eina rbtree: Fixed EINA_RBTREE_GET. Should enclose in parenthesis.

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

13 years agoAdd missing function in lock void
caro [Wed, 31 Aug 2011 08:50:19 +0000 (08:50 +0000)]
Add missing function in lock void
Patch by Youness Alaoui

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

13 years agoseriously guys.
discomfitor [Sun, 28 Aug 2011 06:30:51 +0000 (06:30 +0000)]
seriously guys.
null checks.
why are there still functions that don't have them after we've hit 1.0?

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

13 years agofix main loop stuff on Windows
caro [Fri, 26 Aug 2011 16:13:29 +0000 (16:13 +0000)]
fix main loop stuff on Windows

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

13 years agodefine HAVE_DLOPEN also on Windows
caro [Fri, 26 Aug 2011 16:01:28 +0000 (16:01 +0000)]
define HAVE_DLOPEN also on Windows

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

13 years agou know... if u are going to add lots of pthread calls to .x headers
raster [Fri, 26 Aug 2011 04:50:55 +0000 (04:50 +0000)]
u know... if u are going to add lots of pthread calls to .x headers
that get inlined.. u should be telling apps to enable pthread too at
link time eh? :)

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

13 years agooooooh wowo! that prefix change broke stuff1 it looks ok on elm. revert!
raster [Thu, 25 Aug 2011 12:13:16 +0000 (12:13 +0000)]
oooooh wowo! that prefix change broke stuff1 it looks ok on elm. revert!

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

13 years agoFrom: Jérémy Zurcher <jeremy@asynk.ch>
raster [Thu, 25 Aug 2011 10:01:22 +0000 (10:01 +0000)]
From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get

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

13 years ago[eina] Repeated link, be gone.
glima [Wed, 24 Aug 2011 15:13:10 +0000 (15:13 +0000)]
[eina] Repeated link, be gone.

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

13 years agoadd some comments and debug to eina_preifx. in case we have to test it
raster [Mon, 22 Aug 2011 23:40:05 +0000 (23:40 +0000)]
add some comments and debug to eina_preifx. in case we have to test it
when packaged under debians new multiarch.

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

13 years agoeina: add eina_main_loop_define.
cedric [Wed, 17 Aug 2011 09:42:43 +0000 (09:42 +0000)]
eina: add eina_main_loop_define.

Do not use it.

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

13 years agoeina - just removed white spaces.
hermet [Tue, 16 Aug 2011 09:08:02 +0000 (09:08 +0000)]
eina - just removed white spaces.

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

13 years agoguys...null checks are not the end of the world.
discomfitor [Thu, 11 Aug 2011 21:26:46 +0000 (21:26 +0000)]
guys...null checks are not the end of the world.

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

13 years agofix segv from missing null check
discomfitor [Wed, 10 Aug 2011 22:42:27 +0000 (22:42 +0000)]
fix segv from missing null check

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

13 years agoif we are going to have %d's - use them in the next scanf too.
raster [Wed, 10 Aug 2011 04:39:04 +0000 (04:39 +0000)]
if we are going to have %d's - use them in the next scanf too.

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

13 years agoeina: Use %d to get build time
mike_m [Tue, 9 Aug 2011 23:48:47 +0000 (23:48 +0000)]
eina: Use %d to get build time

eina_hamster_count() was returning -1 on my machine (Ubuntu 11.04/AMD64),
causing make check to fail.

eina_test_main.c:51:F:Main:eina_hamster:0: Failure 'eina_hamster_count() <= 0' occured

Using %d instead of %i for integers fixes it.

Signed-off-by: Mike McCormack <mj.mccormack@ring3k.org>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@62268 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeina: windows cleanup.
cedric [Tue, 9 Aug 2011 09:21:07 +0000 (09:21 +0000)]
eina: windows cleanup.

Patch by Vincent Torri.

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

13 years agoeina: add generic macro to generate error when outside of the main loop.
cedric [Tue, 9 Aug 2011 08:48:57 +0000 (08:48 +0000)]
eina: add generic macro to generate error when outside of the main loop.

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

13 years agoeina: detect main loop for windows to.
cedric [Tue, 9 Aug 2011 08:47:57 +0000 (08:47 +0000)]
eina: detect main loop for windows to.

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

13 years agoeina: correct guard of thread code.
cedric [Tue, 9 Aug 2011 08:46:29 +0000 (08:46 +0000)]
eina: correct guard of thread code.

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

13 years agoeina: make dlopen optional.
cedric [Tue, 9 Aug 2011 08:39:39 +0000 (08:39 +0000)]
eina: make dlopen optional.

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

13 years agoIt may be good to link Eina examples against Eina
sachiel [Fri, 5 Aug 2011 15:59:22 +0000 (15:59 +0000)]
It may be good to link Eina examples against Eina

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

13 years agoCheck Evas too, DSO thingy
sachiel [Fri, 5 Aug 2011 15:39:18 +0000 (15:39 +0000)]
Check Evas too, DSO thingy

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

13 years agoEina: Fixing borked eina_stringshare diagram.
gastal [Fri, 5 Aug 2011 13:45:01 +0000 (13:45 +0000)]
Eina: Fixing borked eina_stringshare diagram.

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

13 years agoEina: Fixing image in pdf doc.
gastal [Thu, 4 Aug 2011 22:52:29 +0000 (22:52 +0000)]
Eina: Fixing image in pdf doc.

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

13 years agoEina: eina tiler example.
gastal [Thu, 4 Aug 2011 22:05:46 +0000 (22:05 +0000)]
Eina: eina tiler example.

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

13 years agoEina: eina_tiler docs(examples to follow).
gastal [Thu, 4 Aug 2011 22:05:25 +0000 (22:05 +0000)]
Eina: eina_tiler docs(examples to follow).

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

13 years agoEina: adding image to eina_stringshare.
gastal [Thu, 4 Aug 2011 20:44:05 +0000 (20:44 +0000)]
Eina: adding image to eina_stringshare.

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

13 years agoEina: adding image showing eina array growth.
gastal [Thu, 4 Aug 2011 20:43:51 +0000 (20:43 +0000)]
Eina: adding image showing eina array growth.

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

13 years agoEina list: eina_list_data_set is *not* pure.
tasn [Thu, 4 Aug 2011 06:44:19 +0000 (06:44 +0000)]
Eina list: eina_list_data_set is *not* pure.

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