profile/ivi/eina.git
14 years agoUse length of source string to copy.
sachiel [Fri, 12 Feb 2010 14:58:00 +0000 (14:58 +0000)]
Use length of source string to copy.

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

14 years agoformatting
caro [Fri, 12 Feb 2010 07:32:11 +0000 (07:32 +0000)]
formatting

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

14 years agoconstants should be unsigned
caro [Fri, 12 Feb 2010 07:27:27 +0000 (07:27 +0000)]
constants should be unsigned

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

14 years agoWe always need to null terminate
englebass [Fri, 12 Feb 2010 06:33:31 +0000 (06:33 +0000)]
We always need to null terminate

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

14 years agoSince we know we have enough space, use memcpy
englebass [Thu, 11 Feb 2010 22:00:02 +0000 (22:00 +0000)]
Since we know we have enough space, use memcpy

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

14 years agoAnd only log when debug
englebass [Thu, 11 Feb 2010 21:56:31 +0000 (21:56 +0000)]
And only log when debug

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

14 years agoGood coverage for strbuf
englebass [Thu, 11 Feb 2010 21:53:00 +0000 (21:53 +0000)]
Good coverage for strbuf

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

14 years agoDon't timeout
englebass [Thu, 11 Feb 2010 21:30:57 +0000 (21:30 +0000)]
Don't timeout

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

14 years agoOnly test built mempools
englebass [Thu, 11 Feb 2010 21:21:22 +0000 (21:21 +0000)]
Only test built mempools

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

14 years agoMore tests for strbuf
englebass [Thu, 11 Feb 2010 21:21:12 +0000 (21:21 +0000)]
More tests for strbuf

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

14 years agoUse eina_log
englebass [Thu, 11 Feb 2010 21:20:52 +0000 (21:20 +0000)]
Use eina_log

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

14 years agoTests for strbuf
englebass [Thu, 11 Feb 2010 20:08:52 +0000 (20:08 +0000)]
Tests for strbuf

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

14 years agomissing "
caro [Thu, 11 Feb 2010 18:54:04 +0000 (18:54 +0000)]
missing "

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

14 years agolet's not return NULL but a more useful result.
barbieri [Thu, 11 Feb 2010 18:49:12 +0000 (18:49 +0000)]
let's not return NULL but a more useful result.

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

14 years agono arithmetic pointer on void *
caro [Thu, 11 Feb 2010 18:47:11 +0000 (18:47 +0000)]
no arithmetic pointer on void *

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

14 years agoFix typo in doc.
devilhorns [Thu, 11 Feb 2010 17:38:24 +0000 (17:38 +0000)]
Fix typo in doc.

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

14 years agowarnings--
caro [Thu, 11 Feb 2010 15:29:20 +0000 (15:29 +0000)]
warnings--

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

14 years agowarning--
caro [Thu, 11 Feb 2010 15:22:41 +0000 (15:22 +0000)]
warning--

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

14 years agoremove trailing whitespace
englebass [Tue, 9 Feb 2010 21:12:03 +0000 (21:12 +0000)]
remove trailing whitespace

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

14 years agostring_remove -> string_steal
englebass [Tue, 9 Feb 2010 21:06:27 +0000 (21:06 +0000)]
string_remove -> string_steal

Better naming

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

14 years agoCheck whether alloc works, return false on error
englebass [Tue, 9 Feb 2010 21:06:16 +0000 (21:06 +0000)]
Check whether alloc works, return false on error

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

14 years agounset eina magic on free
englebass [Tue, 9 Feb 2010 21:06:06 +0000 (21:06 +0000)]
unset eina magic on free

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

14 years agoTypo
englebass [Tue, 9 Feb 2010 21:05:56 +0000 (21:05 +0000)]
Typo

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

14 years agoAdd simple test for strbuf
englebass [Tue, 9 Feb 2010 21:05:47 +0000 (21:05 +0000)]
Add simple test for strbuf

Need more

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

14 years ago * eina: Remove warning in eina_stringshare.
cedric [Tue, 9 Feb 2010 12:59:31 +0000 (12:59 +0000)]
* eina: Remove warning in eina_stringshare.

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

14 years agodelete trailing whitespace.
barbieri [Tue, 9 Feb 2010 03:00:47 +0000 (03:00 +0000)]
delete trailing whitespace.

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

14 years agodelete trailing whitespace.
barbieri [Tue, 9 Feb 2010 02:51:23 +0000 (02:51 +0000)]
delete trailing whitespace.

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

14 years agoapply global log level if global domain exists.
barbieri [Tue, 9 Feb 2010 02:14:40 +0000 (02:14 +0000)]
apply global log level if global domain exists.

This allows setting global log level after eina_init() and have it to
behave properly.

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

14 years agominor matching speedups.
barbieri [Tue, 9 Feb 2010 02:13:55 +0000 (02:13 +0000)]
minor matching speedups.

keep log level name size (namelen) and use it before strcmp().

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

14 years agojust try fnmatch (glob) if no specific level was set.
barbieri [Tue, 9 Feb 2010 01:47:52 +0000 (01:47 +0000)]
just try fnmatch (glob) if no specific level was set.

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

14 years agoeina log level utilities.
barbieri [Tue, 9 Feb 2010 01:43:58 +0000 (01:43 +0000)]
eina log level utilities.

couple of functions that are useful outside and should be fast.

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

14 years agoeina log parameters getters and setters.
barbieri [Tue, 9 Feb 2010 00:52:00 +0000 (00:52 +0000)]
eina log parameters getters and setters.

allow external users to check or set flags that are initialized based
on environment variables such as EINA_LOG_COLOR_DISABLE.

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

14 years agoMore parentheses so the macro works inside if()
sachiel [Mon, 8 Feb 2010 21:20:28 +0000 (21:20 +0000)]
More parentheses so the macro works inside if()

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

14 years agodisable color based on $TERM and isatty().
barbieri [Mon, 8 Feb 2010 17:53:22 +0000 (17:53 +0000)]
disable color based on $TERM and isatty().

Smarter eina log that disables color automatically based on $TERM and
isatty of output file descriptor.

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

14 years ago * include stdlib.h so that NULL is always defined
caro [Mon, 8 Feb 2010 15:25:46 +0000 (15:25 +0000)]
 * include stdlib.h so that NULL is always defined
 * restore LIBS when iconv library is not found

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

14 years agoon some platform, iconv.h defines iconv() with a macro,
caro [Mon, 8 Feb 2010 13:14:30 +0000 (13:14 +0000)]
on some platform, iconv.h defines iconv() with a macro,
hence the check with AC_SEARCH_LIBS s not sufficient. So
we link a complete program.

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

14 years agoFix build on RHEL5.
mej [Mon, 8 Feb 2010 07:07:20 +0000 (07:07 +0000)]
Fix build on RHEL5.

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

14 years ago * fix compilation when iconv.h is detected but libiconv is not
caro [Sun, 7 Feb 2010 20:46:39 +0000 (20:46 +0000)]
 * fix compilation when iconv.h is detected but libiconv is not
 * fix warning and clang report

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

14 years agoAnd since resize adds + 1 to size, grow must do to
englebass [Sun, 7 Feb 2010 19:31:26 +0000 (19:31 +0000)]
And since resize adds + 1 to size, grow must do to

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

14 years agoAnd add () for increased safety
englebass [Sun, 7 Feb 2010 19:30:01 +0000 (19:30 +0000)]
And add () for increased safety

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

14 years agoAnd correct return type
englebass [Sun, 7 Feb 2010 19:24:28 +0000 (19:24 +0000)]
And correct return type

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

14 years agoFix return values
englebass [Sun, 7 Feb 2010 19:22:04 +0000 (19:22 +0000)]
Fix return values

If we don't need to grow, return EINA_TRUE.
Use EINA_TRUE and EINA_FALSE where possible.

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

14 years agoEina: fix compilation on strbuf.
dieb [Sun, 7 Feb 2010 17:33:26 +0000 (17:33 +0000)]
Eina: fix compilation on strbuf.

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

14 years agoDon't change size, since we don't realloc
englebass [Sun, 7 Feb 2010 12:23:27 +0000 (12:23 +0000)]
Don't change size, since we don't realloc

Thanks Peter

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

14 years agoDon't shrink when we append
englebass [Sun, 7 Feb 2010 12:21:28 +0000 (12:21 +0000)]
Don't shrink when we append

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

14 years agoWork with escaped string
englebass [Sun, 7 Feb 2010 12:21:07 +0000 (12:21 +0000)]
Work with escaped string

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

14 years agoAdd eina_strbuf_reset
englebass [Sat, 6 Feb 2010 21:43:22 +0000 (21:43 +0000)]
Add eina_strbuf_reset

Function to reset the internal string, so we can reuse the allocated
mem.

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

14 years agoAdd eina_strbuf_append_escaped for edje
englebass [Sat, 6 Feb 2010 21:43:02 +0000 (21:43 +0000)]
Add eina_strbuf_append_escaped for edje

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

14 years agoAdd eina_str_escape
englebass [Sat, 6 Feb 2010 21:42:51 +0000 (21:42 +0000)]
Add eina_str_escape

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

14 years agoAdd shrink buffer code
englebass [Sat, 6 Feb 2010 20:42:14 +0000 (20:42 +0000)]
Add shrink buffer code

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

14 years agoSimpler to use _eina_strbuf_resize
englebass [Sat, 6 Feb 2010 20:42:03 +0000 (20:42 +0000)]
Simpler to use _eina_strbuf_resize

Add space for '\0' in _eina_strbuf_resize, so that we alwyas just pass
inn the wanted string space as requirement.

Correct len in eina_strbuf_append_n, we needed +1 for '\0' for resize
and strlcpy, but not for ->len

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

14 years agoAdd functions to match evas strbuf
englebass [Sat, 6 Feb 2010 20:41:43 +0000 (20:41 +0000)]
Add functions to match evas strbuf

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

14 years agoEINA_ARG_NONNULL
englebass [Sat, 6 Feb 2010 20:41:32 +0000 (20:41 +0000)]
EINA_ARG_NONNULL

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

14 years agoInclude own header to be sure prototypes match
englebass [Sat, 6 Feb 2010 20:41:17 +0000 (20:41 +0000)]
Include own header to be sure prototypes match

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

14 years agoupdate efl_fnmatch m4 macro
caro [Wed, 3 Feb 2010 20:46:32 +0000 (20:46 +0000)]
update efl_fnmatch  m4 macro

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

14 years agouse efl_fnmatch macro
caro [Wed, 3 Feb 2010 20:13:56 +0000 (20:13 +0000)]
use efl_fnmatch macro

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

14 years agoints!!! have found a case where.. yes. we have massive strings.. and shit
raster [Wed, 3 Feb 2010 15:23:32 +0000 (15:23 +0000)]
ints!!! have found a case where.. yes. we have massive strings.. and shit
fucks-up badly! ints it is... 2gb of string - per string. that should be
enouhg for anybody! (also references went up to int too)

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

14 years ago * remove useless iconv_cflags
caro [Tue, 2 Feb 2010 06:48:52 +0000 (06:48 +0000)]
 * remove useless iconv_cflags
 * put iconv_libs to the correct libtool var

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

14 years ago * fix configure.ac
caro [Tue, 2 Feb 2010 06:18:59 +0000 (06:18 +0000)]
 * fix configure.ac
 * remove debug

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

14 years agocopy ecore_txt_convert to eina_str_convert
englebass [Tue, 2 Feb 2010 04:49:38 +0000 (04:49 +0000)]
copy ecore_txt_convert to eina_str_convert

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

14 years agoif someone pass --enable-default-mempool, pass_through will be used
caro [Sun, 31 Jan 2010 14:52:16 +0000 (14:52 +0000)]
if someone pass --enable-default-mempool, pass_through will be used
in code, but not installed. So it that option is passed, chained_mempool
is disabled,  and pass_through is enabled and linked statically

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

14 years agoeina_str:
caro [Sun, 31 Jan 2010 12:27:41 +0000 (12:27 +0000)]
eina_str:

 * return Eina_Bool instead of int when necessary
 * improve documentation
 * formatting

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

14 years agoEAPI
englebass [Sat, 30 Jan 2010 22:02:08 +0000 (22:02 +0000)]
EAPI

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

14 years agofix mingw flags
caro [Thu, 28 Jan 2010 17:13:07 +0000 (17:13 +0000)]
fix mingw flags

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

14 years agofix header inclusion
caro [Thu, 28 Jan 2010 10:03:31 +0000 (10:03 +0000)]
fix header inclusion

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

14 years agoAdd EINA_MAGIC to strbuf
englebass [Wed, 27 Jan 2010 20:48:27 +0000 (20:48 +0000)]
Add EINA_MAGIC to strbuf

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

14 years agoMove ecore_str and ecore_strbuf to eina
englebass [Wed, 27 Jan 2010 20:47:47 +0000 (20:47 +0000)]
Move ecore_str and ecore_strbuf to eina

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

14 years agoeina - does modules like the rest of efl, so it's able to be installed with
raster [Tue, 26 Jan 2010 15:54:28 +0000 (15:54 +0000)]
eina - does modules like the rest of efl, so it's able to be installed with
multiple versions at the same time. eventually will neeed to also include
major number in release name too.

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

14 years ago * make chained mempool static by default
caro [Tue, 26 Jan 2010 15:30:40 +0000 (15:30 +0000)]
 * make chained mempool static by default
 * disable other by default

if you experience an problem, please report in that thread

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

14 years agoadd mempool namespace in configure help
caro [Tue, 26 Jan 2010 11:22:48 +0000 (11:22 +0000)]
add mempool namespace in configure help

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

14 years agoAdd patch from bug #479
englebass [Mon, 25 Jan 2010 19:07:52 +0000 (19:07 +0000)]
Add patch from bug #479

Eina installs its modules in /usr/lib/eina/mp/<module>.so, which makes it impossible to install two different versions of eina at the same time. Please consider using something to make this path specific to a particular release of eina, just as you do for the include files.

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

14 years ago * more portable shell tests
caro [Sun, 24 Jan 2010 23:04:24 +0000 (23:04 +0000)]
 * more portable shell tests
 * better m4 code

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

14 years agoFix remaining "shadowed declaration" warnings.
devilhorns [Sun, 24 Jan 2010 19:59:35 +0000 (19:59 +0000)]
Fix remaining "shadowed declaration" warnings.

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

14 years agoUse different variable names. This was giving "shadowed declarations"
devilhorns [Sun, 24 Jan 2010 19:51:22 +0000 (19:51 +0000)]
Use different variable names. This was giving "shadowed declarations"
warnings during compile.

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

14 years agoFix some more warnings caused by -Wshadow
billiob [Sun, 24 Jan 2010 13:53:32 +0000 (13:53 +0000)]
Fix some more warnings caused by -Wshadow

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

14 years agoadd missing m4 files in tarballs
caro [Sun, 24 Jan 2010 11:25:19 +0000 (11:25 +0000)]
add missing m4 files in tarballs

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

14 years agouse m4 macro ti check compiler flag
caro [Sun, 24 Jan 2010 11:13:23 +0000 (11:13 +0000)]
use m4 macro ti check compiler flag

patch by Lutin (who also wrote the m4 macro, i forgot that
in the previous commit)

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

14 years agomake the ecore tests stand alone (no ecore installation needed)
caro [Sun, 24 Jan 2010 10:54:07 +0000 (10:54 +0000)]
make the ecore tests stand alone (no ecore installation needed)
so no cyclic dependency

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

14 years ago * eina: Allow compilation with -Wshadow.
cedric [Sat, 23 Jan 2010 19:53:27 +0000 (19:53 +0000)]
* eina: Allow compilation with -Wshadow.

Patch from Albin Tonerre.

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

14 years ago * eina: Add more tests.
cedric [Tue, 19 Jan 2010 13:51:53 +0000 (13:51 +0000)]
* eina: Add more tests.

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

14 years agoeina: fix eina_module_list_get prototype: 'path' argument can be NULL
dottedmag [Sun, 17 Jan 2010 06:01:20 +0000 (06:01 +0000)]
eina: fix eina_module_list_get prototype: 'path' argument can be NULL

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

14 years agoget the shared library extension name from the autotools, as
caro [Sat, 16 Jan 2010 16:46:39 +0000 (16:46 +0000)]
get the shared library extension name from the autotools, as
it is more portable

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

14 years agobasename() can modify its argument, so get a copy first
caro [Sat, 16 Jan 2010 16:41:24 +0000 (16:41 +0000)]
basename() can modify its argument, so get a copy first

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

14 years agouse $libdir and not $exec_prefix/lib, as the user can set
caro [Sat, 16 Jan 2010 16:35:52 +0000 (16:35 +0000)]
use $libdir and not $exec_prefix/lib, as the user can set
$libdir with configure

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

14 years agoRemove unused defines
englebass [Sat, 16 Jan 2010 13:54:38 +0000 (13:54 +0000)]
Remove unused defines

SORT_MIN and SORT_MAX are not used in eina, and will result in errors if
used. eina_list_sort(list, EINA_SORT_MAX, ...) will not give the
expexted result.

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

14 years ago * eina: Fix tests suite.
cedric [Fri, 15 Jan 2010 16:18:29 +0000 (16:18 +0000)]
* eina: Fix tests suite.

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

14 years agonews is a valid stringshare
caro [Wed, 13 Jan 2010 21:20:32 +0000 (21:20 +0000)]
news is a valid stringshare

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

14 years ago * eina: Remove warning.
cedric [Tue, 12 Jan 2010 17:33:18 +0000 (17:33 +0000)]
* eina: Remove warning.

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

14 years ago+ [Eina] API change. eina_module_list_flush() -> eina_module_list_free()
turran [Fri, 8 Jan 2010 12:22:23 +0000 (12:22 +0000)]
+ [Eina] API change. eina_module_list_flush() -> eina_module_list_free()
  as we are on the modules context not the array.
  All the referenced projects are changed too. Remember that the list_free()
  already calls the unload() on each module so no need to call list_unload()

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

14 years ago+ Add the efl-research buddy allocator here
turran [Fri, 8 Jan 2010 12:10:14 +0000 (12:10 +0000)]
+ Add the efl-research buddy allocator here

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

14 years agoFix compile on GNU/Hurd, by Lutin.
barbieri [Mon, 4 Jan 2010 21:50:31 +0000 (21:50 +0000)]
Fix compile on GNU/Hurd, by Lutin.

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

14 years ago * eina_benchmark: Little cleanup.
cedric [Thu, 31 Dec 2009 10:26:41 +0000 (10:26 +0000)]
* eina_benchmark: Little cleanup.

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

14 years agoSimplify the use of eina_benchmark:
caro [Thu, 31 Dec 2009 09:17:28 +0000 (09:17 +0000)]
Simplify the use of eina_benchmark:

 * Free the inlined list returned by one (or several) calls of
   eina_benchmark_run() automatically in eina_benchmark_free()
   instead of letting the user doing it.

 * Update tutorial and benchmark binary accordingly

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

14 years ago * finish benchmark tutorial
caro [Sun, 27 Dec 2009 08:45:30 +0000 (08:45 +0000)]
 * finish benchmark tutorial
 * move internal _init and _shutdown functions in the Global
   part of the code, as it is where they belong
 * fix minor documentation stuff

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

14 years agominor fixes
caro [Fri, 25 Dec 2009 16:22:13 +0000 (16:22 +0000)]
minor fixes

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

14 years agoadd benchmark tutoriel
caro [Fri, 25 Dec 2009 11:59:40 +0000 (11:59 +0000)]
add benchmark tutoriel

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

14 years agouse new spinlock detection
caro [Fri, 25 Dec 2009 11:30:41 +0000 (11:30 +0000)]
use new spinlock detection

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

14 years ago * better m4 coding
caro [Fri, 25 Dec 2009 11:29:08 +0000 (11:29 +0000)]
 * better m4 coding
 * improve pthread detection and add spinlock detection

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

14 years agosupport of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel)
caro [Sun, 20 Dec 2009 10:02:41 +0000 (10:02 +0000)]
support of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel)

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

14 years agoinclude Evil.h so that getenv is declared on Windows CE
caro [Sat, 19 Dec 2009 10:30:49 +0000 (10:30 +0000)]
include Evil.h so that getenv is declared on Windows CE

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