Mike Blumenkrantz
7a5677ad43
finish removing threadsafe stuff
...
SVN revision: 51687
2010-08-27 21:41:03 +00:00
Mike Blumenkrantz
671f193066
fix -I for eina_private.h
...
THIS IS BROKEN IN ALPHA RELEASE. WHOEVER BROKE IT: SPANK SPANK SPANK!
SVN revision: 51683
2010-08-27 18:18:41 +00:00
Lucas De Marchi
d8002ff386
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.
SVN revision: 51650
2010-08-26 01:34:13 +00:00
Carsten Haitzler
c69a28315c
force to unisgned char
...
SVN revision: 51624
2010-08-25 02:04:37 +00:00
Carsten Haitzler
1412fb1c94
and cppcheck yes -> init to NULL so check and free works.
...
SVN revision: 51550
2010-08-22 22:39:26 +00:00
Carsten Haitzler
8093b21ddb
cppcheck -> shhh. yes. we know. leak.
...
SVN revision: 51549
2010-08-22 22:38:06 +00:00
Carsten Haitzler
ed78d8a36b
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?
SVN revision: 51548
2010-08-22 22:35:24 +00:00
Carsten Haitzler
9b006054b7
again -> shut cppcheck up.
...
SVN revision: 51547
2010-08-22 22:32:30 +00:00
Carsten Haitzler
b1dee3fc6d
leak-- in win32 code.
...
SVN revision: 51546
2010-08-22 22:30:55 +00:00
Carsten Haitzler
64d565228a
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)
SVN revision: 51545
2010-08-22 22:29:25 +00:00
Vincent Torri
402c60b18b
get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.
...
SVN revision: 51535
2010-08-22 17:58:01 +00:00
Carsten Haitzler
e9acd2dfc8
on advice of vtorri <- revert until proven that limits.h works on
...
these other os's.
SVN revision: 51512
2010-08-22 06:00:13 +00:00
Carsten Haitzler
eb1a43bfbf
oops - formatting at start too - not just end
...
SVN revision: 51510
2010-08-22 05:47:44 +00:00
Carsten Haitzler
1974702021
fmting
...
SVN revision: 51507
2010-08-22 02:32:47 +00:00
Joerg Sonnenberger
4497367d7f
From: Joerg Sonnenberger <joerg@britannica.bec.de>
...
pthread_t is opaque, so make less assumptions...
SVN revision: 51506
2010-08-22 01:15:47 +00:00
Joerg Sonnenberger
527f011af9
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.
SVN revision: 51505
2010-08-22 01:15:18 +00:00
Vincent Torri
2e92fe0223
update vcproj files
...
SVN revision: 51498
2010-08-21 18:41:11 +00:00
Vincent Torri
0686aa04af
add vasprintf declaration on Windows
...
SVN revision: 51497
2010-08-21 17:25:46 +00:00
Lucas De Marchi
5a8a8c9014
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
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Cedric BAIL
e6f9cee051
* eina: fix structure content to be more futur proof and reduce
...
risk of ABI breakage.
SVN revision: 51390
2010-08-19 12:02:28 +00:00
Tom Hacohen
6a0b488468
Eina: Moved the private headers to src/lib where they belong.
...
SVN revision: 51388
2010-08-19 08:30:01 +00:00
Cedric BAIL
ccebf54881
* eina: fix some warning by Albin Tonnerre.
...
SVN revision: 51246
2010-08-17 11:48:50 +00:00
Vincent Torri
ca4497509e
i forgot about amalgamation. fix declaration too
...
SVN revision: 51243
2010-08-17 07:39:53 +00:00
Vincent Torri
333b64f15e
some doc fixes
...
SVN revision: 51242
2010-08-17 06:58:26 +00:00
Vincent Torri
d4cd8f28ae
formatting
...
SVN revision: 51241
2010-08-17 06:05:21 +00:00
Vincent Torri
32932b4135
alloca() declaration
...
SVN revision: 51240
2010-08-17 05:44:11 +00:00
Vincent Torri
4e09c14e08
formatting
...
SVN revision: 51239
2010-08-17 05:28:34 +00:00
Vincent Torri
2e13d0c790
formatting
...
SVN revision: 51238
2010-08-17 05:22:10 +00:00
Vincent Torri
13a1bdf6e0
formatting
...
SVN revision: 51237
2010-08-17 05:21:13 +00:00
Vincent Torri
db666d9feb
remove rwlock code
...
SVN revision: 51236
2010-08-17 05:15:28 +00:00
Lucas De Marchi
80b44315f7
eina-0 is no more, check for the right package name
...
SVN revision: 51235
2010-08-17 03:59:29 +00:00
Sebastian Dransfeld
8e1762694a
typo
...
SVN revision: 51223
2010-08-16 17:56:18 +00:00
Cedric BAIL
e3a887235d
* eina: remove configure option for rwlock as it is not used anymore.
...
SVN revision: 51220
2010-08-16 15:36:17 +00:00
Cedric BAIL
c45c36bd80
* eina: attempt to improve a little bit more the header.
...
Mainly trailing space and macro indentation.
SVN revision: 51217
2010-08-16 15:02:37 +00:00
Cedric BAIL
6293bd87fa
* eina: fix amalgamation.
...
SVN revision: 51210
2010-08-16 13:52:34 +00:00
Cedric BAIL
f75eab161d
* eina: remove thread safe data type for now. They will be back !
...
SVN revision: 51179
2010-08-16 09:32:09 +00:00
Cedric BAIL
aa3728b3f5
* eina: preparing clean removal of eina threadsafe data type.
...
SVN revision: 51173
2010-08-16 09:00:42 +00:00
Carsten Haitzler
aee8014df6
actually fix - eina.pc should now be used. consistency with the rest
...
of efl.
SVN revision: 51160
2010-08-16 08:03:21 +00:00
Carsten Haitzler
6bfc6527c2
module arch fix.
...
SVN revision: 51157
2010-08-16 06:46:03 +00:00
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
2010-08-16 06:14:19 +00:00
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
2010-08-16 05:40:50 +00:00
Carsten Haitzler
a7dd054fe4
remove cruft.
...
SVN revision: 51151
2010-08-16 03:34:47 +00:00
Carsten Haitzler
f0c2285096
fix copying - it didnt actually even claim copyright. fix.
...
SVN revision: 51147
2010-08-16 02:40:24 +00:00
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
2010-08-15 09:01:16 +00:00
Mike Blumenkrantz
ad00478247
fix threadsafe api
...
SVN revision: 51118
2010-08-14 16:10:19 +00:00
Cedric BAIL
3b269d6f04
* eina: don't direct people in the wrong direction.
...
SVN revision: 51117
2010-08-14 15:50:07 +00:00
Mike Blumenkrantz
689a24559c
add threadsafety for hashes
...
SVN revision: 51106
2010-08-14 03:05:35 +00:00
Mike Blumenkrantz
f973f8c72a
add #ifdefs for some threadsafety stuff
...
cedric SPANK SPANK SPANK!!!
SVN revision: 51105
2010-08-14 03:03:32 +00:00
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
2010-08-13 14:34:36 +00:00
Mike Blumenkrantz
c8f669a27f
more variable renames, null check alloc, malloc+memset0 -> calloc, rwlocks in structs
...
SVN revision: 51066
2010-08-13 06:58:43 +00:00