profile/ivi/eina.git
13 years agoi forgot about amalgamation. fix declaration too
caro [Tue, 17 Aug 2010 07:39:53 +0000 (07:39 +0000)]
i forgot about amalgamation. fix declaration too

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

13 years agosome doc fixes
caro [Tue, 17 Aug 2010 06:58:26 +0000 (06:58 +0000)]
some doc fixes

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

13 years agoformatting
caro [Tue, 17 Aug 2010 06:05:21 +0000 (06:05 +0000)]
formatting

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

13 years agoalloca() declaration
caro [Tue, 17 Aug 2010 05:44:11 +0000 (05:44 +0000)]
alloca() declaration

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

13 years agoformatting
caro [Tue, 17 Aug 2010 05:28:34 +0000 (05:28 +0000)]
formatting

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

13 years agoformatting
caro [Tue, 17 Aug 2010 05:22:10 +0000 (05:22 +0000)]
formatting

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

13 years agoformatting
caro [Tue, 17 Aug 2010 05:21:13 +0000 (05:21 +0000)]
formatting

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

13 years agoremove rwlock code
caro [Tue, 17 Aug 2010 05:15:28 +0000 (05:15 +0000)]
remove rwlock code

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

13 years agoeina-0 is no more, check for the right package name
lucas [Tue, 17 Aug 2010 03:59:29 +0000 (03:59 +0000)]
eina-0 is no more, check for the right package name

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

13 years agotypo
englebass [Mon, 16 Aug 2010 17:56:18 +0000 (17:56 +0000)]
typo

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

13 years ago * eina: remove configure option for rwlock as it is not used anymore.
cedric [Mon, 16 Aug 2010 15:36:17 +0000 (15:36 +0000)]
* eina: remove configure option for rwlock as it is not used anymore.

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

13 years ago * eina: attempt to improve a little bit more the header.
cedric [Mon, 16 Aug 2010 15:02:37 +0000 (15:02 +0000)]
* eina: attempt to improve a little bit more the header.
Mainly trailing space and macro indentation.

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

13 years ago * eina: fix amalgamation.
cedric [Mon, 16 Aug 2010 13:52:34 +0000 (13:52 +0000)]
* eina: fix amalgamation.

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

13 years ago * eina: remove thread safe data type for now. They will be back !
cedric [Mon, 16 Aug 2010 09:32:09 +0000 (09:32 +0000)]
    * eina: remove thread safe data type for now. They will be back !

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

13 years ago * eina: preparing clean removal of eina threadsafe data type.
cedric [Mon, 16 Aug 2010 09:00:42 +0000 (09:00 +0000)]
* eina: preparing clean removal of eina threadsafe data type.

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

13 years agoactually fix - eina.pc should now be used. consistency with the rest
raster [Mon, 16 Aug 2010 08:03:21 +0000 (08:03 +0000)]
actually fix - eina.pc should now be used. consistency with the rest
of efl.

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

13 years agomodule arch fix.
raster [Mon, 16 Aug 2010 06:46:03 +0000 (06:46 +0000)]
module arch fix.

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

13 years agoformatting. ok - maybe we can have a debate on it, but its better than
raster [Mon, 16 Aug 2010 06:14:19 +0000 (06:14 +0000)]
formatting. ok - maybe we can have a debate on it, but its better than
it was before. debate up for grabs for now. wont touch other lib
headers until resolved for eina. it's the worst anyway.

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

13 years agowell got to start somewhere. eina 1.0.0 alpha readied. need to go over
raster [Mon, 16 Aug 2010 05:40:50 +0000 (05:40 +0000)]
well got to start somewhere. eina 1.0.0 alpha readied. need to go over
code formatting still (headers specifically). bring doc building
in-line with other efl libs. README is useful now. Changelog waiting
to be filled in for 1.0.0

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

13 years agoremove cruft.
raster [Mon, 16 Aug 2010 03:34:47 +0000 (03:34 +0000)]
remove cruft.

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

13 years agofix copying - it didnt actually even claim copyright. fix.
raster [Mon, 16 Aug 2010 02:40:24 +0000 (02:40 +0000)]
fix copying - it didnt actually even claim copyright. fix.

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

13 years agoEina: Fixed usage of EINA_CONST, the lack of EINA_PURE and EINA_WARN_UNUSED_RESULT...
tasn [Sun, 15 Aug 2010 09:01:16 +0000 (09:01 +0000)]
Eina: Fixed usage of EINA_CONST, the lack of EINA_PURE and EINA_WARN_UNUSED_RESULT and formatting in the following headers:
1. eina_unicode.h
2. eina_strbuf.h eina_ustrbuf.h
3. eina_stringshare.h eina_ustringshare.h eina_binshare.h

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

13 years agofix threadsafe api
discomfitor [Sat, 14 Aug 2010 16:10:19 +0000 (16:10 +0000)]
fix threadsafe api

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

13 years ago * eina: don't direct people in the wrong direction.
cedric [Sat, 14 Aug 2010 15:50:07 +0000 (15:50 +0000)]
* eina: don't direct people in the wrong direction.

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

13 years agoadd threadsafety for hashes
discomfitor [Sat, 14 Aug 2010 03:05:35 +0000 (03:05 +0000)]
add threadsafety for hashes

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

13 years agoadd #ifdefs for some threadsafety stuff
discomfitor [Sat, 14 Aug 2010 03:03:32 +0000 (03:03 +0000)]
add #ifdefs for some threadsafety stuff
cedric SPANK SPANK SPANK!!!

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

13 years agoRemark that data being deleted from the hash will be mercilessly killed if a blackops...
sachiel [Fri, 13 Aug 2010 14:34:36 +0000 (14:34 +0000)]
Remark that data being deleted from the hash will be mercilessly killed if a blackops free function was given to the hash on creation.

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

13 years agomore variable renames, null check alloc, malloc+memset0 -> calloc, rwlocks in structs
discomfitor [Fri, 13 Aug 2010 06:58:43 +0000 (06:58 +0000)]
more variable renames, null check alloc, malloc+memset0 -> calloc, rwlocks in structs

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

13 years agoBOW DOWN BEFORE ME, FOR I HAVE MADE THESE HEADERS READABLE ONCE MORE!
discomfitor [Fri, 13 Aug 2010 06:36:33 +0000 (06:36 +0000)]
BOW DOWN BEFORE ME, FOR I HAVE MADE THESE HEADERS READABLE ONCE MORE!

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

13 years agorename variables and typedefs to sane values
discomfitor [Fri, 13 Aug 2010 05:22:33 +0000 (05:22 +0000)]
rename variables and typedefs to sane values

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

13 years agogo go gadget recrustify!
discomfitor [Fri, 13 Aug 2010 01:46:14 +0000 (01:46 +0000)]
go go gadget recrustify!

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

13 years ago * eina: remove debug output.
cedric [Thu, 12 Aug 2010 15:11:35 +0000 (15:11 +0000)]
* eina: remove debug output.

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

13 years ago * eina: report when and where memleak come from.
cedric [Thu, 12 Aug 2010 14:22:22 +0000 (14:22 +0000)]
* eina: report when and where memleak come from.

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

13 years agoEina: "FIX" EINA_UNICODE_EMPTY_STRING.
tasn [Thu, 12 Aug 2010 14:16:32 +0000 (14:16 +0000)]
Eina: "FIX" EINA_UNICODE_EMPTY_STRING.

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

13 years ago * eina: fix eina array threadsafe version.
cedric [Wed, 11 Aug 2010 14:32:30 +0000 (14:32 +0000)]
* eina: fix eina array threadsafe version.

Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.

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

13 years agoright...this is malloc...
discomfitor [Tue, 10 Aug 2010 12:25:34 +0000 (12:25 +0000)]
right...this is malloc...

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

13 years agorefcount locks to avoid deadlocks; array threadsafety should be good to go now
discomfitor [Tue, 10 Aug 2010 12:14:59 +0000 (12:14 +0000)]
refcount locks to avoid deadlocks; array threadsafety should be good to go now

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

13 years agoand these
discomfitor [Tue, 10 Aug 2010 12:05:51 +0000 (12:05 +0000)]
and these

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

13 years agoand this too
discomfitor [Tue, 10 Aug 2010 12:00:36 +0000 (12:00 +0000)]
and this too

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

13 years agoarray threadsafing wip, get rid of dumb undefineds from earlier
discomfitor [Tue, 10 Aug 2010 11:57:20 +0000 (11:57 +0000)]
array threadsafing wip, get rid of dumb undefineds from earlier

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

13 years agochange EINA_ARRAY_THREADSAFE_ITER_RETURN to EINA_ARRAY_THREADSAFE_ITER_ESCAPE to...
discomfitor [Tue, 10 Aug 2010 07:48:00 +0000 (07:48 +0000)]
change EINA_ARRAY_THREADSAFE_ITER_RETURN to EINA_ARRAY_THREADSAFE_ITER_ESCAPE to match forthcoming threadsafe list api

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

13 years agoerrr use the right define for this
discomfitor [Tue, 10 Aug 2010 03:37:21 +0000 (03:37 +0000)]
errr use the right define for this

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

13 years agoimplement threadsafety for arrays, alter all eina internal array usage to (hopefully...
discomfitor [Tue, 10 Aug 2010 03:26:15 +0000 (03:26 +0000)]
implement threadsafety for arrays, alter all eina internal array usage to (hopefully) be threadsafe
call eina_threads_init() to enable this if you have pthread rwlock support (posix 2001)
note some function prototypes have lost const on array params to allow locking
WARNING: you should NOT call eina_threads_shutdown unless you are positive that you will not use any arrays which were created while threadsafe mode were enabled, and vice versa.  Failing to adhere to this warning WILL result in either deadlocks or memory leaks.

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

13 years agoformatting
discomfitor [Sun, 8 Aug 2010 20:49:26 +0000 (20:49 +0000)]
formatting

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

13 years agofix automake quoting
discomfitor [Sun, 8 Aug 2010 20:48:46 +0000 (20:48 +0000)]
fix automake quoting

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

13 years agoadd rwlock define to eina_config.h
discomfitor [Sun, 8 Aug 2010 19:35:43 +0000 (19:35 +0000)]
add rwlock define to eina_config.h

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

13 years agosplit out spinlock detection to separate macro for readability, add rwlock detection...
discomfitor [Sun, 8 Aug 2010 19:20:07 +0000 (19:20 +0000)]
split out spinlock detection to separate macro for readability, add rwlock detection macro
***no functional changes***

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

13 years agoeina: fix strdup calloc, it's number of elements and then size, and not the other...
tasn [Sun, 8 Aug 2010 12:03:18 +0000 (12:03 +0000)]
eina: fix strdup calloc, it's number of elements and then size, and not the other way around.

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

13 years ago * eina: add some doc for one big mempool.
cedric [Thu, 5 Aug 2010 12:52:30 +0000 (12:52 +0000)]
* eina: add some doc for one big mempool.

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

13 years ago * eina: fix segv on NULL mempool.
cedric [Thu, 5 Aug 2010 12:36:36 +0000 (12:36 +0000)]
* eina: fix segv on NULL mempool.

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

13 years ago * eina: complete configure.ac with latest mempool.
cedric [Thu, 5 Aug 2010 09:40:50 +0000 (09:40 +0000)]
* eina: complete configure.ac with latest mempool.

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

13 years agoFORMATTING
lucas [Wed, 4 Aug 2010 16:57:32 +0000 (16:57 +0000)]
FORMATTING

* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0

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

13 years agoBetter documenting EINA_MAGIC_SET()'s use.
glima [Mon, 2 Aug 2010 16:57:38 +0000 (16:57 +0000)]
Better documenting EINA_MAGIC_SET()'s use.

Patch by Jonas Gastal.

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

13 years agoFix eina_unicode_strncpy
nash [Mon, 2 Aug 2010 09:44:11 +0000 (09:44 +0000)]
Fix eina_unicode_strncpy

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

13 years agoBeef up the strncpy test
nash [Mon, 2 Aug 2010 09:44:06 +0000 (09:44 +0000)]
Beef up the strncpy test

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

13 years agoTerminate the string after strcpy
nash [Mon, 2 Aug 2010 09:44:01 +0000 (09:44 +0000)]
Terminate the string after strcpy

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

13 years agoUpdate eina_unicode_strnlen
nash [Mon, 2 Aug 2010 09:43:57 +0000 (09:43 +0000)]
Update eina_unicode_strnlen

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

13 years agoAdd ustr tests.
nash [Mon, 2 Aug 2010 09:43:51 +0000 (09:43 +0000)]
Add ustr tests.

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

13 years agoFix end points
nash [Sat, 31 Jul 2010 05:24:45 +0000 (05:24 +0000)]
Fix end points

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

13 years agoeina: Actually implement strnlen for eina_unicode.
nash [Sat, 31 Jul 2010 03:54:09 +0000 (03:54 +0000)]
eina: Actually implement strnlen for eina_unicode.

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

13 years agoincomplete doxy!
discomfitor [Fri, 30 Jul 2010 21:18:40 +0000 (21:18 +0000)]
incomplete doxy!
cedric SPANK SPANK SPANK!!!

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

13 years ago * eina: add a way to move a key to another without triggering the Free_Cb.
cedric [Fri, 30 Jul 2010 09:06:58 +0000 (09:06 +0000)]
* eina: add a way to move a key to another without triggering the Free_Cb.

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

13 years ago * eina: try to fix memory align on sparc.
cedric [Fri, 30 Jul 2010 08:26:34 +0000 (08:26 +0000)]
* eina: try to fix memory align on sparc.

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

13 years agoUnicde strnlen, and a slight fix to the header so at least part can be read by
nash [Fri, 30 Jul 2010 03:39:12 +0000 (03:39 +0000)]
Unicde strnlen, and a slight fix to the header so at least part can be read by
humans.

Also strlen/strnlen are pure.

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

13 years agoDO export this thingies
sachiel [Thu, 29 Jul 2010 14:08:02 +0000 (14:08 +0000)]
DO export this thingies

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

13 years ago * eina: remove some warning.
cedric [Thu, 29 Jul 2010 13:59:31 +0000 (13:59 +0000)]
* eina: remove some warning.

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

13 years ago * eina: fix wrong test in eina_big.
cedric [Wed, 28 Jul 2010 18:10:53 +0000 (18:10 +0000)]
* eina: fix wrong test in eina_big.

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

13 years agoEina: Fixed a bug in eina_*share_dump functions and fixed a documentation error.
tasn [Wed, 28 Jul 2010 17:53:10 +0000 (17:53 +0000)]
Eina: Fixed a bug in eina_*share_dump functions and fixed a documentation error.

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

13 years agolots of doxy fixes and stop casting to char*
discomfitor [Wed, 28 Jul 2010 03:34:25 +0000 (03:34 +0000)]
lots of doxy fixes and stop casting to char*

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

13 years agostart binshare
discomfitor [Wed, 28 Jul 2010 03:33:49 +0000 (03:33 +0000)]
start binshare

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

13 years agofix formatting also
raster [Wed, 28 Jul 2010 03:03:25 +0000 (03:03 +0000)]
fix formatting also

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

13 years agoerrrr... hmmm why did this change?
raster [Wed, 28 Jul 2010 02:48:11 +0000 (02:48 +0000)]
errrr... hmmm why did this change?

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

13 years agouncrustify eina.
raster [Wed, 28 Jul 2010 02:37:05 +0000 (02:37 +0000)]
uncrustify eina.

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

13 years agowhen all files combine and the enable flag is set, form VOLTRON, DEFENDER OF THE...
discomfitor [Tue, 27 Jul 2010 20:17:25 +0000 (20:17 +0000)]
when all files combine and the enable flag is set, form VOLTRON, DEFENDER OF THE UNIVERSE!

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

13 years agoEina: Fix the segfault in eina_stringshare_shutdown with-enable-amalgamation.
tasn [Tue, 27 Jul 2010 16:53:49 +0000 (16:53 +0000)]
Eina: Fix the segfault in eina_stringshare_shutdown with-enable-amalgamation.

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

13 years agoEina: Fix compilation with --enable-amalgamation.
tasn [Tue, 27 Jul 2010 15:15:45 +0000 (15:15 +0000)]
Eina: Fix compilation with --enable-amalgamation.
Sorry dh :P

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

13 years agoEina: Added ustringshare and binshare tests.
tasn [Tue, 27 Jul 2010 11:43:37 +0000 (11:43 +0000)]
Eina: Added ustringshare and binshare tests.
Fixed a small bug in binshare (in the length function).
Moved some debug messages around.

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

13 years agoEina: implement the macro eina_binshare_add.
tasn [Tue, 27 Jul 2010 09:41:34 +0000 (09:41 +0000)]
Eina: implement the macro eina_binshare_add.

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

13 years agoEina: Added Eina_UStrbuf.
tasn [Tue, 27 Jul 2010 09:05:41 +0000 (09:05 +0000)]
Eina: Added Eina_UStrbuf.
Same as Eina_Strbuf but for Eina_Unicode strings.

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

13 years agoEina: Add Eina_UStringshare and Eina_Binshare.
tasn [Tue, 27 Jul 2010 08:55:23 +0000 (08:55 +0000)]
Eina: Add Eina_UStringshare and Eina_Binshare.
Also modified Eina_Stringshare to share most of the code with the two above.
Added Magics for Eina_UStrbuf as well as for UStringshare/Binshare.

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

13 years agoEina: Added Eina_Unicode.
tasn [Tue, 27 Jul 2010 08:22:20 +0000 (08:22 +0000)]
Eina: Added Eina_Unicode.

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

13 years agoUse INF only when it's defined. Fix a warning during eina compilation.
captainigloo [Mon, 26 Jul 2010 16:17:11 +0000 (16:17 +0000)]
Use INF only when it's defined. Fix a warning during eina compilation.

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

13 years ago * eina: actually add the directory too.
cedric [Mon, 26 Jul 2010 15:58:18 +0000 (15:58 +0000)]
* eina: actually add the directory too.

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

13 years ago * eina: add a mempool that just do one big malloc.
cedric [Mon, 26 Jul 2010 15:52:43 +0000 (15:52 +0000)]
* eina: add a mempool that just do one big malloc.

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

13 years ago * eina: SPANK SPANK SPANK !
cedric [Mon, 26 Jul 2010 09:31:40 +0000 (09:31 +0000)]
    * eina: SPANK SPANK SPANK !

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

13 years agothis was supposed to go with the last commit...
discomfitor [Mon, 26 Jul 2010 05:09:20 +0000 (05:09 +0000)]
this was supposed to go with the last commit...

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

13 years ago+eina_stringshare_vprintf for using a va_list
discomfitor [Mon, 26 Jul 2010 05:09:02 +0000 (05:09 +0000)]
+eina_stringshare_vprintf for using a va_list

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

13 years agoUse offsetof rather the manual pointer compares. C89 can be taken as given I
nash [Mon, 26 Jul 2010 04:21:47 +0000 (04:21 +0000)]
Use offsetof rather the manual pointer compares.  C89 can be taken as given I
think.  Also update authors to add Mwa, and fix copyright statement to be
useful.  (Always list years, not ranges of years... longer, but covered by
international conventions).

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

13 years agoadd doxy
discomfitor [Sun, 25 Jul 2010 19:32:03 +0000 (19:32 +0000)]
add doxy

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

13 years ago+eina_stringshare_printf
discomfitor [Sun, 25 Jul 2010 19:18:26 +0000 (19:18 +0000)]
+eina_stringshare_printf
+eina_stringshare_nprintf
the long awaited printf functions for stringshare!

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

13 years ago+eina_error_msg_modify to change the error string of a registered error; preserves...
discomfitor [Sun, 25 Jul 2010 06:25:06 +0000 (06:25 +0000)]
+eina_error_msg_modify to change the error string of a registered error; preserves allocation state of message creation (errors created with static_register() will remain statically allocated)

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

13 years ago+eina_str_toupper for completion
discomfitor [Sun, 25 Jul 2010 02:03:10 +0000 (02:03 +0000)]
+eina_str_toupper for completion

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

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