Carsten Haitzler
6bfc6527c2
module arch fix.
...
SVN revision: 51157
13 years ago
Carsten Haitzler
f4b68549cb
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.
SVN revision: 51156
13 years ago
Carsten Haitzler
c747bfaadb
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
SVN revision: 51154
13 years ago
Carsten Haitzler
a7dd054fe4
remove cruft.
...
SVN revision: 51151
13 years ago
Carsten Haitzler
f0c2285096
fix copying - it didnt actually even claim copyright. fix.
...
SVN revision: 51147
13 years ago
Tom Hacohen
063d8ffd64
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
SVN revision: 51128
13 years ago
Mike Blumenkrantz
ad00478247
fix threadsafe api
...
SVN revision: 51118
13 years ago
Cedric BAIL
3b269d6f04
* eina: don't direct people in the wrong direction.
...
SVN revision: 51117
13 years ago
Mike Blumenkrantz
689a24559c
add threadsafety for hashes
...
SVN revision: 51106
13 years ago
Mike Blumenkrantz
f973f8c72a
add #ifdefs for some threadsafety stuff
...
cedric SPANK SPANK SPANK!!!
SVN revision: 51105
13 years ago
Iván Briano
02031b60bf
Remark that data being deleted from the hash will be mercilessly killed if a blackops free function was given to the hash on creation.
...
SVN revision: 51079
13 years ago
Mike Blumenkrantz
c8f669a27f
more variable renames, null check alloc, malloc+memset0 -> calloc, rwlocks in structs
...
SVN revision: 51066
13 years ago
Mike Blumenkrantz
44eeac0e1e
BOW DOWN BEFORE ME, FOR I HAVE MADE THESE HEADERS READABLE ONCE MORE!
...
SVN revision: 51065
13 years ago
Mike Blumenkrantz
3618cf1227
rename variables and typedefs to sane values
...
SVN revision: 51064
13 years ago
Mike Blumenkrantz
bf66f6f712
go go gadget recrustify!
...
SVN revision: 51063
13 years ago
Cedric BAIL
731e946df7
* eina: remove debug output.
...
SVN revision: 51048
13 years ago
Cedric BAIL
86a21376ad
* eina: report when and where memleak come from.
...
SVN revision: 51040
13 years ago
Tom Hacohen
d2988fe707
Eina: "FIX" EINA_UNICODE_EMPTY_STRING.
...
SVN revision: 51038
13 years ago
Cedric BAIL
a6645cb746
* 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.
SVN revision: 51000
13 years ago
Mike Blumenkrantz
7833796e00
right...this is malloc...
...
SVN revision: 50963
13 years ago
Mike Blumenkrantz
a7398f4e08
refcount locks to avoid deadlocks; array threadsafety should be good to go now
...
SVN revision: 50962
13 years ago
Mike Blumenkrantz
c09c5ed690
and these
...
SVN revision: 50961
13 years ago
Mike Blumenkrantz
a589a1bcbe
and this too
...
SVN revision: 50960
13 years ago
Mike Blumenkrantz
cbf7f7b58a
array threadsafing wip, get rid of dumb undefineds from earlier
...
SVN revision: 50959
13 years ago
Mike Blumenkrantz
5b4ec5bd35
change EINA_ARRAY_THREADSAFE_ITER_RETURN to EINA_ARRAY_THREADSAFE_ITER_ESCAPE to match forthcoming threadsafe list api
...
SVN revision: 50956
13 years ago
Mike Blumenkrantz
6bc0a6cb14
errr use the right define for this
...
SVN revision: 50952
13 years ago
Mike Blumenkrantz
56a0bd9396
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.
SVN revision: 50951
13 years ago
Mike Blumenkrantz
224f7d3b55
formatting
...
SVN revision: 50913
13 years ago
Mike Blumenkrantz
27041eb06e
fix automake quoting
...
SVN revision: 50912
13 years ago
Mike Blumenkrantz
84faaf51fd
add rwlock define to eina_config.h
...
SVN revision: 50911
13 years ago
Mike Blumenkrantz
76a70bdd48
split out spinlock detection to separate macro for readability, add rwlock detection macro
...
***no functional changes***
SVN revision: 50910
13 years ago
Tom Hacohen
ed0f5eb857
eina: fix strdup calloc, it's number of elements and then size, and not the other way around.
...
SVN revision: 50898
13 years ago
Cedric BAIL
476f09d29b
* eina: add some doc for one big mempool.
...
SVN revision: 50834
13 years ago
Cedric BAIL
e1d8b17d54
* eina: fix segv on NULL mempool.
...
SVN revision: 50833
13 years ago
Cedric BAIL
05143be132
* eina: complete configure.ac with latest mempool.
...
SVN revision: 50831
13 years ago
Lucas De Marchi
0a4617ae38
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
SVN revision: 50816
13 years ago
Gustavo Lima Chaves
faa7644e22
Better documenting EINA_MAGIC_SET()'s use.
...
Patch by Jonas Gastal.
SVN revision: 50744
13 years ago
Brett Nash
9da847b538
Fix eina_unicode_strncpy
...
SVN revision: 50741
13 years ago
Brett Nash
d3655ee501
Beef up the strncpy test
...
SVN revision: 50740
13 years ago
Brett Nash
7f83020567
Terminate the string after strcpy
...
SVN revision: 50739
13 years ago
Brett Nash
9e468e94e7
Update eina_unicode_strnlen
...
SVN revision: 50738
13 years ago
Brett Nash
4efb9d70af
Add ustr tests.
...
SVN revision: 50737
13 years ago
Brett Nash
1e8074954f
Fix end points
...
SVN revision: 50708
13 years ago
Brett Nash
db89ba43d7
eina: Actually implement strnlen for eina_unicode.
...
SVN revision: 50700
13 years ago
Mike Blumenkrantz
d409884148
incomplete doxy!
...
cedric SPANK SPANK SPANK!!!
SVN revision: 50694
13 years ago
Cedric BAIL
c9d5d8a62e
* eina: add a way to move a key to another without triggering the Free_Cb.
...
SVN revision: 50683
13 years ago
Cedric BAIL
85be5e4201
* eina: try to fix memory align on sparc.
...
SVN revision: 50680
13 years ago
Brett Nash
4414556323
Unicde strnlen, and a slight fix to the header so at least part can be read by
...
humans.
Also strlen/strnlen are pure.
SVN revision: 50676
13 years ago
Iván Briano
55baf0a4f1
DO export this thingies
...
SVN revision: 50645
13 years ago
Cedric BAIL
836721fc6e
* eina: remove some warning.
...
SVN revision: 50644
13 years ago