profile/ivi/eina.git
14 years agoAfter discussing with raster, this is what he requested for the spec
mej [Sun, 18 Apr 2010 07:03:09 +0000 (07:03 +0000)]
After discussing with raster, this is what he requested for the spec
files:  using the SVN revision instead of the datestamp.  Other
methods can still be used, however, by adding (e.g.):

--define "_rel 0.`date +%Y%m%d`"

to the rpmbuild command line.

Other spec files will need similar changes.  This is just the first
few.

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

14 years ago * eina: fix rounding issue with different size of fixed point.
cedric [Fri, 16 Apr 2010 14:32:18 +0000 (14:32 +0000)]
* eina: fix rounding issue with different size of fixed point.

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

14 years agoand add mempool source files...
caro [Thu, 15 Apr 2010 07:06:50 +0000 (07:06 +0000)]
and add mempool source files...

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

14 years agoPatch Eina if Visual Studio 2005 is used. I fear that
caro [Thu, 15 Apr 2010 07:01:29 +0000 (07:01 +0000)]
Patch Eina if Visual Studio 2005 is used. I fear that
it will be a pain to support...

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

14 years agoforgot a semicolon
caro [Thu, 15 Apr 2010 06:53:23 +0000 (06:53 +0000)]
forgot a semicolon

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

14 years agoremove useless semicolon
caro [Thu, 15 Apr 2010 06:28:22 +0000 (06:28 +0000)]
remove useless semicolon

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

14 years agoinclude Evil.h with vc++ for vasprintf
caro [Thu, 15 Apr 2010 06:16:59 +0000 (06:16 +0000)]
include Evil.h with vc++ for vasprintf

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

14 years agoinclude private headers after standard headers
caro [Thu, 15 Apr 2010 06:13:08 +0000 (06:13 +0000)]
include private headers after standard headers

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

14 years ago * link against iconv.lib
caro [Thu, 15 Apr 2010 06:03:37 +0000 (06:03 +0000)]
 * link against iconv.lib
 * staically link the modules with VS8

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

14 years agoUsing value returned from vasprintf, and removed warnings
tiago [Mon, 12 Apr 2010 18:30:07 +0000 (18:30 +0000)]
Using value returned from vasprintf, and removed warnings

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

14 years agoexplicit cast
caro [Sat, 10 Apr 2010 23:23:26 +0000 (23:23 +0000)]
explicit cast

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

14 years agoAdding strbuf printfs
tiago [Fri, 9 Apr 2010 15:56:20 +0000 (15:56 +0000)]
Adding strbuf printfs

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

14 years agodefine strcasecmp() as stricmp() for vc++, remove
caro [Sat, 3 Apr 2010 21:29:01 +0000 (21:29 +0000)]
define strcasecmp() as stricmp() for vc++, remove
useless include of Evil.h (was included for strcasecmp
when vc++ is used)

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

14 years agoremove cegcc compiler support
caro [Sat, 3 Apr 2010 21:23:28 +0000 (21:23 +0000)]
remove cegcc compiler support

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

14 years agoadd colored log on Windows with the DOS console and MSYS
caro [Fri, 26 Mar 2010 08:08:52 +0000 (08:08 +0000)]
add colored log on Windows with the DOS console and MSYS
without rxvt emulation. It does not work with MSYS with
rxvt emulation. I don't know the status of the cygwin
terminal.

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

14 years agodeclare buddy init/shutdown functions it this
caro [Fri, 26 Mar 2010 07:47:11 +0000 (07:47 +0000)]
declare buddy init/shutdown functions it this
mempool is statically linked

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

14 years agofix most compilation errors with vc++ (there are still a
caro [Tue, 23 Mar 2010 06:41:17 +0000 (06:41 +0000)]
fix most compilation errors with vc++ (there are still a
problem with eina_log and output of the log messages:
STDERR_FILENO, STDOUT_FILENO and isatty())

fix some warnings and header files inclusion

update vcproj files

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

14 years ago * declare variables at the beginning of the block
caro [Tue, 23 Mar 2010 05:45:35 +0000 (05:45 +0000)]
 * declare variables at the beginning of the block
 * minor formatting

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

14 years agostringshare: optimization suggested by rasterman, docs.
barbieri [Sun, 14 Mar 2010 01:06:52 +0000 (01:06 +0000)]
stringshare: optimization suggested by rasterman, docs.

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

14 years agofix docs.
barbieri [Fri, 12 Mar 2010 19:23:06 +0000 (19:23 +0000)]
fix docs.

By: Eduardo Felipe <eduardofelipe87@gmail.com>

NOTE: I changed code -> verbatim where it should be.

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

14 years agoupdate vcproj files (add new str and strbuf files)
caro [Thu, 11 Mar 2010 18:10:20 +0000 (18:10 +0000)]
update vcproj files (add new str and strbuf files)

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

14 years agoupdate string buffer documentation
caro [Tue, 9 Mar 2010 16:36:14 +0000 (16:36 +0000)]
update string buffer documentation

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

14 years agomore supported OS
caro [Sun, 7 Mar 2010 16:01:00 +0000 (16:01 +0000)]
more supported OS

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

14 years agoupdate TOC
caro [Sun, 7 Mar 2010 14:38:14 +0000 (14:38 +0000)]
update TOC

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

14 years agotypo
caro [Sun, 7 Mar 2010 12:13:30 +0000 (12:13 +0000)]
typo

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

14 years agowhen pthread is found, don't abort if spin lock is not found but not reqested
caro [Sun, 7 Mar 2010 12:04:46 +0000 (12:04 +0000)]
when pthread is found, don't abort if spin lock is not found but not reqested

Patch by Albin Tonnerre

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

14 years ago * fix more str doc
caro [Sun, 7 Mar 2010 07:11:13 +0000 (07:11 +0000)]
 * fix more str doc
 * move static stringshare functions to the 'private'
   part of the file (hence doc fixes)

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

14 years agofix doc for eina_str
caro [Sun, 7 Mar 2010 06:59:28 +0000 (06:59 +0000)]
fix doc for eina_str

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

14 years agothe 4th parameter should not be NULL, not the 3rd
caro [Wed, 3 Mar 2010 17:25:07 +0000 (17:25 +0000)]
the 4th parameter should not be NULL, not the 3rd
patch by Lionel Orry

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

14 years ago * eina: Add eina_list_data_set.
cedric [Mon, 1 Mar 2010 17:46:15 +0000 (17:46 +0000)]
* eina: Add eina_list_data_set.

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

14 years agoAllow user to redefine the default logging level used by
barbieri [Mon, 1 Mar 2010 15:08:40 +0000 (15:08 +0000)]
Allow user to redefine the default logging level used by
EINA_LOG_ERR(), EINA_LOG_DBG() and other macros.

This will help us to avoid the cumbersome work of having to define the
local macros. I still find the 3-letter macros handy, but we are not
forced to use them now.

I did a small modification to keep the EINA_LOG_DOMAIN_GLOBAL and use
a different symbol for the define, it is EINA_LOG_DOMAIN_DEFAULT. The
documentation was updated to highlight the 2 usage scenario and care
that must be used.

By: Peter Johnson <tam@hiddenrock.com>

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

14 years ago * eina: Don't variable name that could shadow math symbols.
cedric [Mon, 1 Mar 2010 13:50:35 +0000 (13:50 +0000)]
* eina: Don't variable name that could shadow math symbols.

Patch requested by Albin "Lutin" Tonnerre.

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

14 years agoremove stupid letter I introduced by mistake.
barbieri [Sun, 28 Feb 2010 21:56:33 +0000 (21:56 +0000)]
remove stupid letter I introduced by mistake.

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

14 years agodoc improvements.
barbieri [Sun, 28 Feb 2010 21:29:30 +0000 (21:29 +0000)]
doc improvements.

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

14 years agoabort when pthread is requested but not found
caro [Sun, 28 Feb 2010 17:27:23 +0000 (17:27 +0000)]
abort when pthread is requested but not found
patch by Albin Tonnerre

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

14 years agoBetter resize rotine, linear instead of double.
barbieri [Sat, 27 Feb 2010 16:41:24 +0000 (16:41 +0000)]
Better resize rotine, linear instead of double.

Increment in steps linearly instead of doubling them, otherwise it
will get to maximum limit of 4096 too soon.

Also replace the loop with simple math.

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

14 years agomacro -> inline
barbieri [Sat, 27 Feb 2010 15:38:58 +0000 (15:38 +0000)]
macro -> inline

clear, type checking and same runtime cost.

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

14 years agoFix other EINA_PURE/EINA_CONST.
barbieri [Sat, 27 Feb 2010 15:17:15 +0000 (15:17 +0000)]
Fix other EINA_PURE/EINA_CONST.

Some of them were working because they were inline, so the compiler
would know an just ignore the flag.

For lists and rbtree there is no problem as after each operation we
must change the pointer to the new head, thus the compiler will
consider it changed.

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

14 years agoouch, SPANK SPANK SPANK... me :-( wrong function attributes.
barbieri [Sat, 27 Feb 2010 14:51:52 +0000 (14:51 +0000)]
ouch, SPANK SPANK SPANK... me :-( wrong function attributes.

I forgot that EINA_CONST refer to the pointer itself, not to its
contents, as such the pointer did not changed, so gcc was optimizing
subsequent fetches of the value.

There should be another optimization to check for this... but then I
guess it's just c++

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

14 years agomissing useful warnings for eina_str
barbieri [Sat, 27 Feb 2010 03:49:13 +0000 (03:49 +0000)]
missing useful warnings for eina_str

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

14 years agoeina_str speedups.
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: http://svn.enlightenment.org/svn/e/trunk/eina@46547 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofind and replace too much!
barbieri [Fri, 26 Feb 2010 23:41:43 +0000 (23:41 +0000)]
find and replace too much!

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

14 years agooptimization attributes for functions.
barbieri [Fri, 26 Feb 2010 21:42:03 +0000 (21:42 +0000)]
optimization attributes for functions.

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

14 years agoadd missing macro for prepend.
barbieri [Fri, 26 Feb 2010 21:34:28 +0000 (21:34 +0000)]
add missing macro for prepend.

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

14 years agoeina_strbuf_insert variants and fix leak with eina_strbuf_append_escaped()
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: http://svn.enlightenment.org/svn/e/trunk/eina@46521 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomore docs for strbuf
barbieri [Fri, 26 Feb 2010 20:25:09 +0000 (20:25 +0000)]
more docs for strbuf

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

14 years agodocumentation improvements for eina_strbuf.
barbieri [Fri, 26 Feb 2010 20:23:12 +0000 (20:23 +0000)]
documentation improvements for eina_strbuf.

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

14 years agoadd eina_strbuf_append_length()
barbieri [Fri, 26 Feb 2010 20:09:36 +0000 (20:09 +0000)]
add eina_strbuf_append_length()

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

14 years agoTRUE/FALSE are gone, use EINA_TRUE/EINA_FALSE instead.
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: http://svn.enlightenment.org/svn/e/trunk/eina@46500 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agominor documentation fixes.
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: http://svn.enlightenment.org/svn/e/trunk/eina@46499 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix warnings.
barbieri [Fri, 26 Feb 2010 00:38:35 +0000 (00:38 +0000)]
fix warnings.

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

14 years agoremove static/builtin modules warning, we ship with them on by default.
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: http://svn.enlightenment.org/svn/e/trunk/eina@46497 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove eina_error deprecated functions.
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: http://svn.enlightenment.org/svn/e/trunk/eina@46496 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix some doxy typos.
devilhorns [Wed, 24 Feb 2010 23:58:27 +0000 (23:58 +0000)]
Fix some doxy typos.

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

14 years agouse C (and not C++) pthread library on Windows
caro [Wed, 24 Feb 2010 15:43:32 +0000 (15:43 +0000)]
use C (and not C++) pthread library on Windows

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

14 years agoadd mempool description in the doc
caro [Fri, 19 Feb 2010 13:42:34 +0000 (13:42 +0000)]
add mempool description in the doc

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

14 years agoInclude safety checks before function include
englebass [Sun, 14 Feb 2010 19:01:51 +0000 (19:01 +0000)]
Include safety checks before function include

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

14 years agosafety checks
englebass [Sat, 13 Feb 2010 19:26:34 +0000 (19:26 +0000)]
safety checks

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

14 years agoAdd const where we don't modify pointer
englebass [Sat, 13 Feb 2010 19:06:16 +0000 (19:06 +0000)]
Add const where we don't modify pointer

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

14 years agoAdd eina unlikely to alloc errors
englebass [Sat, 13 Feb 2010 18:55:47 +0000 (18:55 +0000)]
Add eina unlikely to alloc errors

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

14 years ago * -fno-strict-aliasing is checked at linked time (to make sure
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: http://svn.enlightenment.org/svn/e/trunk/eina@46136 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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