profile/ivi/eina.git
13 years agoeina_hash_modify_or_add -> eina_hash_set
discomfitor [Fri, 23 Jul 2010 13:04:21 +0000 (13:04 +0000)]
eina_hash_modify_or_add -> eina_hash_set

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

14 years agorevert previous. why would I do that in the first place?
discomfitor [Wed, 21 Jul 2010 05:02:17 +0000 (05:02 +0000)]
revert previous. why would I do that in the first place?

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

14 years agoremove tolower() from eina_str_tolower
discomfitor [Wed, 21 Jul 2010 03:59:37 +0000 (03:59 +0000)]
remove tolower() from eina_str_tolower

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

14 years ago+eina_hash_modify_or_add to always add a value to the hash at the specified key
discomfitor [Wed, 21 Jul 2010 03:15:39 +0000 (03:15 +0000)]
+eina_hash_modify_or_add to always add a value to the hash at the specified key

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

14 years ago * eina: fix tolower call.
cedric [Mon, 19 Jul 2010 11:25:10 +0000 (11:25 +0000)]
* eina: fix tolower call.

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

14 years ago+eina_str_tolower for lowercasing an entire string in one line
discomfitor [Mon, 19 Jul 2010 01:56:42 +0000 (01:56 +0000)]
+eina_str_tolower for lowercasing an entire string in one line

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

14 years agodox fixes
discomfitor [Sun, 18 Jul 2010 18:59:01 +0000 (18:59 +0000)]
dox fixes

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

14 years ago+eina_stringshare_replace_length to replace a stringshared string with a given length...
discomfitor [Sun, 18 Jul 2010 07:39:21 +0000 (07:39 +0000)]
+eina_stringshare_replace_length to replace a stringshared string with a given length of another string

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

14 years agoand macro whoops
discomfitor [Sun, 18 Jul 2010 06:48:08 +0000 (06:48 +0000)]
and macro whoops

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

14 years agoattribute whoops
discomfitor [Sun, 18 Jul 2010 06:45:22 +0000 (06:45 +0000)]
attribute whoops

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

14 years agosmall patch from andmils in #e; fixes compile on freebsd
discomfitor [Sun, 18 Jul 2010 06:38:23 +0000 (06:38 +0000)]
small patch from andmils in #e; fixes compile on freebsd

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

14 years ago+eina_strbuf_string_free to free string in strbuf without freeing strbuf
discomfitor [Sun, 18 Jul 2010 06:21:50 +0000 (06:21 +0000)]
+eina_strbuf_string_free to free string in strbuf without freeing strbuf

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

14 years ago+eina_hash_free_buckets to free buckets without freeing a hash
discomfitor [Sun, 18 Jul 2010 04:24:24 +0000 (04:24 +0000)]
+eina_hash_free_buckets to free buckets without freeing a hash

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

14 years agowell this was just plain wrong
discomfitor [Sun, 18 Jul 2010 03:55:53 +0000 (03:55 +0000)]
well this was just plain wrong

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

14 years agoon the fifth day the rasterman said "let there be docs for hash tables!"
discomfitor [Sun, 18 Jul 2010 03:29:10 +0000 (03:29 +0000)]
on the fifth day the rasterman said "let there be docs for hash tables!"
but there were no docs for hash tables because k-s and cedric were busy writing new functions for hash tables. so rasterman again said "let there be docs for hash tables! really guys, I mean it this time!"
and this time there were docs, but these docs were incomplete and in some places vague and misleading.
these docs frustrated little discomfitor, who had just healed up after learning to ride his edje bicycle and was just starting to read. so he read all that he could, and then he started to write. he wrote his little heart out until finally there were more docs for hash tables like the rasterman had wanted.
then he went and got ice cream.

The End.

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

14 years agoRemove unneeded code with notnull.cocci script
lucas [Wed, 14 Jul 2010 02:20:30 +0000 (02:20 +0000)]
Remove unneeded code with notnull.cocci script

This continues previous commit with more complex places, where it required
more than just removing some "ifs".

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

14 years agoinclude sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
caro [Tue, 13 Jul 2010 19:17:35 +0000 (19:17 +0000)]
include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
i really dislike having PATH_MAX in a header file...

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

14 years agoleak--, thanks cedric
caro [Tue, 13 Jul 2010 16:43:15 +0000 (16:43 +0000)]
leak--, thanks cedric

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

14 years agouseless headers now
caro [Tue, 13 Jul 2010 13:57:21 +0000 (13:57 +0000)]
useless headers now

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

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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: 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