barbieri [Sat, 27 Feb 2010 03:42:27 +0000 (03:42 +0000)]
eina_str speedups.
* eina_str_split() now does the minimum number of passes and
allocations. The first pass figures out the string size (strlen())
and number of delimiters, so we can allocate the exact number of
elements in array. The second repeats the loop copying elements to
string and also setting them to the result array.
* eina_str_split_full() is a variation of eina_str_split() that
returns also the number of elements in array, in the case you need
to pre-allocate another array to copy.
* eina_strlen_bounded() is introduced to limit strlen() results, this
is used in has_prefix and has_suffix, but possibly other use cases
where string must be of a maximum size as we don't do useless
iterations;
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46547
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 23:41:43 +0000 (23:41 +0000)]
find and replace too much!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46535
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 21:42:03 +0000 (21:42 +0000)]
optimization attributes for functions.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46523
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 21:34:28 +0000 (21:34 +0000)]
add missing macro for prepend.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46522
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 21:33:17 +0000 (21:33 +0000)]
eina_strbuf_insert variants and fix leak with eina_strbuf_append_escaped()
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46521
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 20:25:09 +0000 (20:25 +0000)]
more docs for strbuf
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46518
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 20:23:12 +0000 (20:23 +0000)]
documentation improvements for eina_strbuf.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46517
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 20:09:36 +0000 (20:09 +0000)]
add eina_strbuf_append_length()
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46516
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 00:59:11 +0000 (00:59 +0000)]
TRUE/FALSE are gone, use EINA_TRUE/EINA_FALSE instead.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46500
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 00:57:20 +0000 (00:57 +0000)]
minor documentation fixes.
still needs someone to read and review that.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46499
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 00:38:35 +0000 (00:38 +0000)]
fix warnings.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46498
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 00:30:01 +0000 (00:30 +0000)]
remove static/builtin modules warning, we ship with them on by default.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 26 Feb 2010 00:28:58 +0000 (00:28 +0000)]
Remove eina_error deprecated functions.
There were deprecated looooooooong ago, use eina_log if there are some
alien users out there.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46496
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 24 Feb 2010 23:58:27 +0000 (23:58 +0000)]
Fix some doxy typos.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46450
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 24 Feb 2010 15:43:32 +0000 (15:43 +0000)]
use C (and not C++) pthread library on Windows
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46431
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 19 Feb 2010 13:42:34 +0000 (13:42 +0000)]
add mempool description in the doc
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46307
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 14 Feb 2010 19:01:51 +0000 (19:01 +0000)]
Include safety checks before function include
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46169
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 13 Feb 2010 19:26:34 +0000 (19:26 +0000)]
safety checks
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46155
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 13 Feb 2010 19:06:16 +0000 (19:06 +0000)]
Add const where we don't modify pointer
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46153
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 13 Feb 2010 18:55:47 +0000 (18:55 +0000)]
Add eina unlikely to alloc errors
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46152
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 13 Feb 2010 12:32:22 +0000 (12:32 +0000)]
* -fno-strict-aliasing is checked at linked time (to make sure
that it is disabled for suncc)
* add old evas data types in tests. Tell me if you encounter problems
with them
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46136
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Fri, 12 Feb 2010 14:58:00 +0000 (14:58 +0000)]
Use length of source string to copy.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46114
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 12 Feb 2010 07:32:11 +0000 (07:32 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46109
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 12 Feb 2010 07:27:27 +0000 (07:27 +0000)]
constants should be unsigned
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46108
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Fri, 12 Feb 2010 06:33:31 +0000 (06:33 +0000)]
We always need to null terminate
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46107
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 22:00:02 +0000 (22:00 +0000)]
Since we know we have enough space, use memcpy
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46103
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 21:56:31 +0000 (21:56 +0000)]
And only log when debug
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46102
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 21:53:00 +0000 (21:53 +0000)]
Good coverage for strbuf
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46101
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 21:30:57 +0000 (21:30 +0000)]
Don't timeout
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46099
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 21:21:22 +0000 (21:21 +0000)]
Only test built mempools
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46096
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 21:21:12 +0000 (21:21 +0000)]
More tests for strbuf
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46095
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 21:20:52 +0000 (21:20 +0000)]
Use eina_log
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46094
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 11 Feb 2010 20:08:52 +0000 (20:08 +0000)]
Tests for strbuf
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46089
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 11 Feb 2010 18:54:04 +0000 (18:54 +0000)]
missing "
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46087
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46086
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 11 Feb 2010 18:47:11 +0000 (18:47 +0000)]
no arithmetic pointer on void *
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46085
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 11 Feb 2010 17:38:24 +0000 (17:38 +0000)]
Fix typo in doc.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46083
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 11 Feb 2010 15:29:20 +0000 (15:29 +0000)]
warnings--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46079
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 11 Feb 2010 15:22:41 +0000 (15:22 +0000)]
warning--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46078
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Feb 2010 21:12:03 +0000 (21:12 +0000)]
remove trailing whitespace
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46029
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Feb 2010 21:06:27 +0000 (21:06 +0000)]
string_remove -> string_steal
Better naming
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46028
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Feb 2010 21:06:16 +0000 (21:06 +0000)]
Check whether alloc works, return false on error
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46027
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Feb 2010 21:06:06 +0000 (21:06 +0000)]
unset eina magic on free
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46026
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Feb 2010 21:05:56 +0000 (21:05 +0000)]
Typo
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46025
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Feb 2010 21:05:47 +0000 (21:05 +0000)]
Add simple test for strbuf
Need more
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46024
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 9 Feb 2010 12:59:31 +0000 (12:59 +0000)]
* eina: Remove warning in eina_stringshare.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46009
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 9 Feb 2010 03:00:47 +0000 (03:00 +0000)]
delete trailing whitespace.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46002
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 9 Feb 2010 02:51:23 +0000 (02:51 +0000)]
delete trailing whitespace.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46001
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45999
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45998
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45997
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45996
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45995
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Mon, 8 Feb 2010 21:20:28 +0000 (21:20 +0000)]
More parentheses so the macro works inside if()
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45992
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45988
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45986
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45981
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mej [Mon, 8 Feb 2010 07:07:20 +0000 (07:07 +0000)]
Fix build on RHEL5.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45973
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45970
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45969
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 7 Feb 2010 19:30:01 +0000 (19:30 +0000)]
And add () for increased safety
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45968
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 7 Feb 2010 19:24:28 +0000 (19:24 +0000)]
And correct return type
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45967
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45966
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
dieb [Sun, 7 Feb 2010 17:33:26 +0000 (17:33 +0000)]
Eina: fix compilation on strbuf.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45965
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45964
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 7 Feb 2010 12:21:28 +0000 (12:21 +0000)]
Don't shrink when we append
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45963
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 7 Feb 2010 12:21:07 +0000 (12:21 +0000)]
Work with escaped string
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45962
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45952
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 21:43:02 +0000 (21:43 +0000)]
Add eina_strbuf_append_escaped for edje
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45950
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 21:42:51 +0000 (21:42 +0000)]
Add eina_str_escape
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45949
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 20:42:14 +0000 (20:42 +0000)]
Add shrink buffer code
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45946
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45945
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 20:41:43 +0000 (20:41 +0000)]
Add functions to match evas strbuf
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45943
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 20:41:32 +0000 (20:41 +0000)]
EINA_ARG_NONNULL
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45942
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 20:41:17 +0000 (20:41 +0000)]
Include own header to be sure prototypes match
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45941
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 3 Feb 2010 20:46:32 +0000 (20:46 +0000)]
update efl_fnmatch m4 macro
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45851
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 3 Feb 2010 20:13:56 +0000 (20:13 +0000)]
use efl_fnmatch macro
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45847
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45832
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45794
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 2 Feb 2010 06:18:59 +0000 (06:18 +0000)]
* fix configure.ac
* remove debug
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45793
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 2 Feb 2010 04:49:38 +0000 (04:49 +0000)]
copy ecore_txt_convert to eina_str_convert
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45790
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45755
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45753
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 30 Jan 2010 22:02:08 +0000 (22:02 +0000)]
EAPI
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45739
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 28 Jan 2010 17:13:07 +0000 (17:13 +0000)]
fix mingw flags
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45668
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 28 Jan 2010 10:03:31 +0000 (10:03 +0000)]
fix header inclusion
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45655
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 27 Jan 2010 20:48:27 +0000 (20:48 +0000)]
Add EINA_MAGIC to strbuf
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45651
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 27 Jan 2010 20:47:47 +0000 (20:47 +0000)]
Move ecore_str and ecore_strbuf to eina
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45650
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45594
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45593
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 26 Jan 2010 11:22:48 +0000 (11:22 +0000)]
add mempool namespace in configure help
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45582
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45562
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 24 Jan 2010 23:04:24 +0000 (23:04 +0000)]
* more portable shell tests
* better m4 code
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Sun, 24 Jan 2010 19:59:35 +0000 (19:59 +0000)]
Fix remaining "shadowed declaration" warnings.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45528
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45527
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Sun, 24 Jan 2010 13:53:32 +0000 (13:53 +0000)]
Fix some more warnings caused by -Wshadow
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45522
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 24 Jan 2010 11:25:19 +0000 (11:25 +0000)]
add missing m4 files in tarballs
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45519
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45518
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45512
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sat, 23 Jan 2010 19:53:27 +0000 (19:53 +0000)]
* eina: Allow compilation with -Wshadow.
Patch from Albin Tonerre.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@45497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33