framework/uifw/eina.git
14 years agouse Win32 native mutex on Windows. To use it, pass the following option
caro [Tue, 13 Jul 2010 13:51:00 +0000 (13:51 +0000)]
use Win32 native mutex on Windows. To use it, pass the following option
to configure:

--enable-win32-threads

By default, pthreads are used

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

14 years agomake it compile on Windows
caro [Tue, 13 Jul 2010 13:08:14 +0000 (13:08 +0000)]
make it compile on Windows

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

14 years agonewline --
caro [Tue, 13 Jul 2010 12:49:37 +0000 (12:49 +0000)]
newline --

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

14 years agofix compilation on Windows
caro [Sun, 11 Jul 2010 11:52:43 +0000 (11:52 +0000)]
fix compilation on Windows

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

14 years agoAdd missing macros
lucas [Fri, 9 Jul 2010 03:27:04 +0000 (03:27 +0000)]
Add missing macros

Add missing EINA_SAFETY_ON_NULL_GOTO and define all the *GOTOs macros when
safety checks are disabled.

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

14 years agoUpdate doc of eina_str_split functions
lucas [Thu, 8 Jul 2010 15:08:31 +0000 (15:08 +0000)]
Update doc of eina_str_split functions
Mention that they can return NULL in case malloc() fails.

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

14 years agoMove ifdefs
lucas [Tue, 6 Jul 2010 17:20:30 +0000 (17:20 +0000)]
Move ifdefs

Much better and readable, with less code and the same result. Moreover this
makes some parsers not to kill themselves.

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

14 years agoDo not purify what's impure
lucas [Tue, 6 Jul 2010 15:50:15 +0000 (15:50 +0000)]
Do not purify what's impure

Two tests were failing, but no more.

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

14 years agoadd some gcc modifiers: non-null args, warn unused results and malloc.
barbieri [Tue, 6 Jul 2010 15:48:24 +0000 (15:48 +0000)]
add some gcc modifiers: non-null args, warn unused results and malloc.

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

14 years agoadd eina_file_direct_ls()
barbieri [Tue, 6 Jul 2010 15:45:12 +0000 (15:45 +0000)]
add eina_file_direct_ls()

Similar to eina_file_ls(), but useful when one wants to apply some
filters to the names before using them as it provides sizes of the
whole path and basename, index of the basename inside the path, dirent
structure for reference (skip directories, etc) and last but not
least, it is faster as it does not stringshare or even builds the full
path at each iteration, instead it keeps the invariant prefix
untouched and just copy the filename.

All in all this is a faster version of eina_file_ls(), use it as
possible as it will avoid overheads.

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

14 years ago * eina: rename ecore_file_ls_iterator to eina_file_ls.
cedric [Fri, 2 Jul 2010 17:23:05 +0000 (17:23 +0000)]
* eina: rename ecore_file_ls_iterator to eina_file_ls.

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

14 years agoStringshare doesn't have a 64k limit. Don't say it does.
nash [Fri, 2 Jul 2010 08:56:09 +0000 (08:56 +0000)]
Stringshare doesn't have a 64k limit.  Don't say it does.

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

14 years agoDocumentation fix for eina iterators.
glima [Wed, 30 Jun 2010 18:41:16 +0000 (18:41 +0000)]
Documentation fix for eina iterators.

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

14 years agoexport symbols on Windows
caro [Mon, 28 Jun 2010 05:15:44 +0000 (05:15 +0000)]
export symbols on Windows

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

14 years agoexport symbols on Windows
caro [Mon, 28 Jun 2010 05:11:28 +0000 (05:11 +0000)]
export symbols on Windows

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

14 years agoon Windows, path delemiter is backslash and not slash
caro [Mon, 28 Jun 2010 05:06:28 +0000 (05:06 +0000)]
on Windows, path delemiter is backslash and not slash

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

14 years agoand final post snap - next releasename
raster [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename

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

14 years agosnap+release
raster [Sun, 27 Jun 2010 13:45:27 +0000 (13:45 +0000)]
snap+release

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

14 years agoSnapshot eina
raster [Sun, 27 Jun 2010 13:32:37 +0000 (13:32 +0000)]
Snapshot eina

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

14 years agoprintf modifiers are different on Windows
caro [Sat, 26 Jun 2010 14:26:54 +0000 (14:26 +0000)]
printf modifiers are different on Windows

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

14 years ago * eina: improve quadtree to support more stuff needed by evas.
cedric [Mon, 21 Jun 2010 13:17:09 +0000 (13:17 +0000)]
* eina: improve quadtree to support more stuff needed by evas.

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

14 years agofix eina_convert examples
caro [Sun, 20 Jun 2010 18:39:35 +0000 (18:39 +0000)]
fix eina_convert examples

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

14 years ago * configure.ac: take inept translation a little bit into account.
cedric [Fri, 18 Jun 2010 14:45:42 +0000 (14:45 +0000)]
    * configure.ac: take inept translation a little bit into account.

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

14 years agofix doc
caro [Fri, 18 Jun 2010 07:08:22 +0000 (07:08 +0000)]
fix doc

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

14 years agotypo
caro [Thu, 17 Jun 2010 21:27:41 +0000 (21:27 +0000)]
typo

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

14 years agoSVN_REPO_PATH envvar during autoconf to use svnversion in there.
barbieri [Wed, 9 Jun 2010 18:22:47 +0000 (18:22 +0000)]
SVN_REPO_PATH envvar during autoconf to use svnversion in there.

Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".

This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.

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

14 years agorestore after snap/release
raster [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release

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

14 years agoSnapshot eina
raster [Sun, 6 Jun 2010 17:26:34 +0000 (17:26 +0000)]
Snapshot eina

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

14 years agopost-snap anr release.. reset svn back.. this time for real.
raster [Sun, 6 Jun 2010 17:17:52 +0000 (17:17 +0000)]
post-snap anr release.. reset svn back.. this time for real.

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

14 years agoSnapshot eina
raster [Sun, 6 Jun 2010 16:42:27 +0000 (16:42 +0000)]
Snapshot eina

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

14 years agopost release - move relname to pre-svn again.
raster [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.

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

14 years agoSnapshot eina
raster [Sun, 6 Jun 2010 16:07:53 +0000 (16:07 +0000)]
Snapshot eina

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

14 years agoVMIC not defined anymore at configure time
caro [Sun, 6 Jun 2010 06:26:12 +0000 (06:26 +0000)]
VMIC not defined anymore at configure time

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

14 years agochange svnversion shell goop to nuke sed and just use tr to delete
raster [Fri, 4 Jun 2010 01:04:24 +0000 (01:04 +0000)]
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.

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

14 years agoLet git-svn users get the right revision number to be used as version.
sachiel [Thu, 3 Jun 2010 07:40:54 +0000 (07:40 +0000)]
Let git-svn users get the right revision number to be used as version.

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

14 years ago * eina: remove duplicate declaration of MODULE_ARCH.
cedric [Tue, 1 Jun 2010 14:23:23 +0000 (14:23 +0000)]
* eina: remove duplicate declaration of MODULE_ARCH.

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

14 years agonopw svn revision works again.
raster [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.

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

14 years agofix - if no svn tree, then it will pretend to be a release.
raster [Mon, 31 May 2010 01:59:22 +0000 (01:59 +0000)]
fix - if no svn tree, then it will pretend to be a release.

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

14 years agofix release modules
raster [Sat, 29 May 2010 07:31:52 +0000 (07:31 +0000)]
fix release modules

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

14 years agoremove semi-colon
raster [Sat, 29 May 2010 06:28:38 +0000 (06:28 +0000)]
remove semi-colon

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

14 years agoeina gets version thing ala eet.
raster [Sat, 29 May 2010 03:05:04 +0000 (03:05 +0000)]
eina gets version thing ala eet.

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

14 years agodeclare variables at the beginning of the block
caro [Fri, 28 May 2010 19:04:44 +0000 (19:04 +0000)]
declare variables at the beginning of the block

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

14 years agodo not declare inlined functions in the source file,
caro [Fri, 28 May 2010 19:03:26 +0000 (19:03 +0000)]
do not declare inlined functions in the source file,
fix a bit the doc of inlined functions

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

14 years agovasprintf is not declared in mingw too
caro [Fri, 28 May 2010 18:59:43 +0000 (18:59 +0000)]
vasprintf is not declared in mingw too

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

14 years agodo not declare _eina_small_share twice
caro [Fri, 28 May 2010 18:58:49 +0000 (18:58 +0000)]
do not declare _eina_small_share twice

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

14 years agofix pthread support with mingw
caro [Fri, 28 May 2010 18:57:19 +0000 (18:57 +0000)]
fix pthread support with mingw

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

14 years agoMinor doc update: It's nice when examples compile without warnings ;-)
nash [Fri, 21 May 2010 09:48:46 +0000 (09:48 +0000)]
Minor doc update: It's nice when examples compile without warnings ;-)

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

14 years agocomment out nonexistent functions
discomfitor [Sun, 16 May 2010 20:17:07 +0000 (20:17 +0000)]
comment out nonexistent functions

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

14 years ago * eina: don't shadow global variable.
cedric [Tue, 4 May 2010 16:26:29 +0000 (16:26 +0000)]
* eina: don't shadow global variable.

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

14 years ago * eina: use previous cached result in quadtree.
cedric [Tue, 4 May 2010 14:42:13 +0000 (14:42 +0000)]
* eina: use previous cached result in quadtree.

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

14 years ago * eina: make quadtree faster.
cedric [Mon, 3 May 2010 13:17:52 +0000 (13:17 +0000)]
* eina: make quadtree faster.

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

14 years ago * link pthread and spinlock code instead of just compiling
caro [Sun, 2 May 2010 05:19:00 +0000 (05:19 +0000)]
 * link pthread and spinlock code instead of just compiling
 * POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available

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

14 years agoSome libc have a pthread that declares spinlock functions,
caro [Sat, 1 May 2010 20:37:56 +0000 (20:37 +0000)]
Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.

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

14 years agoindentation and comments
caro [Sat, 1 May 2010 20:35:16 +0000 (20:35 +0000)]
indentation and comments

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

14 years ago * eina: improve QuadTree API.
cedric [Fri, 30 Apr 2010 17:04:28 +0000 (17:04 +0000)]
* eina: improve QuadTree API.

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

14 years agoDefine new error handling macros
lucas [Fri, 30 Apr 2010 14:54:05 +0000 (14:54 +0000)]
Define new error handling macros

EINA_SAFETY_ON_TRUE_GOTO and EINA_SAFETY_ON_FALSE_GOTO are now defined
to ease error handling. Functions might need to take actions before
returning upon safety checks fail.

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

14 years ago * eina: oops forgotten file.
cedric [Thu, 29 Apr 2010 17:30:18 +0000 (17:30 +0000)]
* eina: oops forgotten file.

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

14 years ago * eina: Add first version of a Quad Tree data type.
cedric [Thu, 29 Apr 2010 17:21:14 +0000 (17:21 +0000)]
* eina: Add first version of a Quad Tree data type.

NOTE: consider the API experimental and subject to change.

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

14 years ago * eina: add tests for eina fixed point sin/cos functions.
cedric [Thu, 29 Apr 2010 17:08:24 +0000 (17:08 +0000)]
* eina: add tests for eina fixed point sin/cos functions.

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

14 years agoapparently fbsd is unaware of expr substr...
raster [Sat, 24 Apr 2010 14:31:23 +0000 (14:31 +0000)]
apparently fbsd is unaware of expr substr...

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

14 years agoamd64 - apparently fbsd is still living back in that past where 64bit was amd
raster [Sat, 24 Apr 2010 14:05:05 +0000 (14:05 +0000)]
amd64 - apparently fbsd is still living back in that past where 64bit was amd
only... :)

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

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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33