lucas [Wed, 8 Sep 2010 03:21:16 +0000 (03:21 +0000)]
Fix common misspellings
The following misspellings were fixed:
asociated->associated
convertion->conversion
exemple->example
existant->existent
immediatly->immediately
isnt->isn't
loosing->losing
memeber->member
occured->occurred
occurence->occurrence
occurences->occurrences
ocurred->occurred
recomended->recommended
sucess->success
teh->the
tiem->time
usefull->useful
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51962
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Mon, 6 Sep 2010 22:48:58 +0000 (22:48 +0000)]
Fix typo in doxygen
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51932
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 3 Sep 2010 09:21:07 +0000 (09:21 +0000)]
ok... don't know what's up here... but how about debs actually build
from our debian/ dir? i dont know what debian and ubuntu will one day
use for their pkging info.. but at least have the stuff we have in svn
work eh? :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51858
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 2 Sep 2010 03:28:04 +0000 (03:28 +0000)]
cleanups for eina_module_list_get type change
vtorri SPANK SPANK SPANK!!!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51828
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Sep 2010 22:31:43 +0000 (22:31 +0000)]
use Eina_Bool instead of unsigned int
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51825
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Sep 2010 06:48:52 +0000 (06:48 +0000)]
typo
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51799
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 1 Sep 2010 06:45:33 +0000 (06:45 +0000)]
format a bit the doc and add corner cases
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51798
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 31 Aug 2010 22:39:02 +0000 (22:39 +0000)]
yarrrrrrr I've got yer rum right here, you landlubber! HAR HAR HAR!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51790
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 31 Aug 2010 21:19:54 +0000 (21:19 +0000)]
move function into local, reformat
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51787
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 29 Aug 2010 18:19:36 +0000 (18:19 +0000)]
whitespaces--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51730
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 27 Aug 2010 21:41:03 +0000 (21:41 +0000)]
finish removing threadsafe stuff
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51687
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 27 Aug 2010 18:18:41 +0000 (18:18 +0000)]
fix -I for eina_private.h
THIS IS BROKEN IN ALPHA RELEASE. WHOEVER BROKE IT: SPANK SPANK SPANK!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51683
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 26 Aug 2010 01:34:13 +0000 (01:34 +0000)]
Revert and re-apply badnull patch
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51650
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 25 Aug 2010 02:04:37 +0000 (02:04 +0000)]
force to unisgned char
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51624
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:39:26 +0000 (22:39 +0000)]
and cppcheck yes -> init to NULL so check and free works.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51550
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:38:06 +0000 (22:38 +0000)]
cppcheck -> shhh. yes. we know. leak.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51549
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:35:24 +0000 (22:35 +0000)]
mempool -> init the mempool with calloc. we cannot know for sure the
mempool backend inits all members, so make sure they are set to 0. not
a cost worth quibbling over. how many mempools do you really create
during the life of an app?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51548
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:32:30 +0000 (22:32 +0000)]
again -> shut cppcheck up.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51547
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:30:55 +0000 (22:30 +0000)]
leak-- in win32 code.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51546
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 22:29:25 +0000 (22:29 +0000)]
cppcheck doesn't like it if u dont first init all data before using
contents of that struct (minus the thing u are about to set)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51545
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 22 Aug 2010 17:58:01 +0000 (17:58 +0000)]
get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51535
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 06:00:13 +0000 (06:00 +0000)]
on advice of vtorri <- revert until proven that limits.h works on
these other os's.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51512
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 05:47:44 +0000 (05:47 +0000)]
oops - formatting at start too - not just end
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51510
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 02:32:47 +0000 (02:32 +0000)]
fmting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51507
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 01:15:47 +0000 (01:15 +0000)]
From: Joerg Sonnenberger <joerg@britannica.bec.de>
pthread_t is opaque, so make less assumptions...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51506
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Aug 2010 01:15:18 +0000 (01:15 +0000)]
From: Joerg Sonnenberger <joerg@britannica.bec.de>
Use portable header to work on all POSIX compliant systems.
Doesn't break non-POSIX systems as limits.h is a C90 header.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51505
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 21 Aug 2010 18:41:11 +0000 (18:41 +0000)]
update vcproj files
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51498
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 21 Aug 2010 17:25:46 +0000 (17:25 +0000)]
add vasprintf declaration on Windows
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Sat, 21 Aug 2010 13:52:25 +0000 (13:52 +0000)]
Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51487
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 19 Aug 2010 12:02:28 +0000 (12:02 +0000)]
* eina: fix structure content to be more futur proof and reduce
risk of ABI breakage.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51390
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 19 Aug 2010 08:30:01 +0000 (08:30 +0000)]
Eina: Moved the private headers to src/lib where they belong.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51388
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 Aug 2010 11:48:50 +0000 (11:48 +0000)]
* eina: fix some warning by Albin Tonnerre.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51246
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 07:39:53 +0000 (07:39 +0000)]
i forgot about amalgamation. fix declaration too
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51243
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 06:58:26 +0000 (06:58 +0000)]
some doc fixes
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51242
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 06:05:21 +0000 (06:05 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51241
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 05:44:11 +0000 (05:44 +0000)]
alloca() declaration
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51240
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 05:28:34 +0000 (05:28 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51239
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 05:22:10 +0000 (05:22 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51238
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 05:21:13 +0000 (05:21 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51237
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 17 Aug 2010 05:15:28 +0000 (05:15 +0000)]
remove rwlock code
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51236
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51235
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 16 Aug 2010 17:56:18 +0000 (17:56 +0000)]
typo
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51223
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51220
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51217
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 16 Aug 2010 13:52:34 +0000 (13:52 +0000)]
* eina: fix amalgamation.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51210
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51179
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 16 Aug 2010 09:00:42 +0000 (09:00 +0000)]
* eina: preparing clean removal of eina threadsafe data type.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51173
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51160
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 06:46:03 +0000 (06:46 +0000)]
module arch fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51157
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51156
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51154
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 03:34:47 +0000 (03:34 +0000)]
remove cruft.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51151
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 02:40:24 +0000 (02:40 +0000)]
fix copying - it didnt actually even claim copyright. fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51147
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51128
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 14 Aug 2010 16:10:19 +0000 (16:10 +0000)]
fix threadsafe api
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51118
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sat, 14 Aug 2010 15:50:07 +0000 (15:50 +0000)]
* eina: don't direct people in the wrong direction.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51117
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 14 Aug 2010 03:05:35 +0000 (03:05 +0000)]
add threadsafety for hashes
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51106
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51105
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51079
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51066
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51065
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 13 Aug 2010 05:22:33 +0000 (05:22 +0000)]
rename variables and typedefs to sane values
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51064
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 13 Aug 2010 01:46:14 +0000 (01:46 +0000)]
go go gadget recrustify!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51063
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 12 Aug 2010 15:11:35 +0000 (15:11 +0000)]
* eina: remove debug output.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51048
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 12 Aug 2010 14:22:22 +0000 (14:22 +0000)]
* eina: report when and where memleak come from.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51040
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 12 Aug 2010 14:16:32 +0000 (14:16 +0000)]
Eina: "FIX" EINA_UNICODE_EMPTY_STRING.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51038
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 12:25:34 +0000 (12:25 +0000)]
right...this is malloc...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50963
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50962
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 12:05:51 +0000 (12:05 +0000)]
and these
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50961
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 12:00:36 +0000 (12:00 +0000)]
and this too
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50960
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50959
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50956
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 10 Aug 2010 03:37:21 +0000 (03:37 +0000)]
errr use the right define for this
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50952
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50951
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 8 Aug 2010 20:49:26 +0000 (20:49 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50913
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 8 Aug 2010 20:48:46 +0000 (20:48 +0000)]
fix automake quoting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50912
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sun, 8 Aug 2010 19:35:43 +0000 (19:35 +0000)]
add rwlock define to eina_config.h
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50911
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50910
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50898
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 5 Aug 2010 12:52:30 +0000 (12:52 +0000)]
* eina: add some doc for one big mempool.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50834
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 5 Aug 2010 12:36:36 +0000 (12:36 +0000)]
* eina: fix segv on NULL mempool.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50833
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 5 Aug 2010 09:40:50 +0000 (09:40 +0000)]
* eina: complete configure.ac with latest mempool.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50831
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50816
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50744
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:44:11 +0000 (09:44 +0000)]
Fix eina_unicode_strncpy
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50741
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:44:06 +0000 (09:44 +0000)]
Beef up the strncpy test
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50740
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:44:01 +0000 (09:44 +0000)]
Terminate the string after strcpy
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50739
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:43:57 +0000 (09:43 +0000)]
Update eina_unicode_strnlen
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50738
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 2 Aug 2010 09:43:51 +0000 (09:43 +0000)]
Add ustr tests.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50737
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sat, 31 Jul 2010 05:24:45 +0000 (05:24 +0000)]
Fix end points
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50708
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sat, 31 Jul 2010 03:54:09 +0000 (03:54 +0000)]
eina: Actually implement strnlen for eina_unicode.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50700
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 21:18:40 +0000 (21:18 +0000)]
incomplete doxy!
cedric SPANK SPANK SPANK!!!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50694
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50683
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 30 Jul 2010 08:26:34 +0000 (08:26 +0000)]
* eina: try to fix memory align on sparc.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50680
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50676
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 29 Jul 2010 14:08:02 +0000 (14:08 +0000)]
DO export this thingies
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50645
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 29 Jul 2010 13:59:31 +0000 (13:59 +0000)]
* eina: remove some warning.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50644
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 28 Jul 2010 18:10:53 +0000 (18:10 +0000)]
* eina: fix wrong test in eina_big.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50602
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50600
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33