Cedric BAIL
c40d642b02
* eina: fix possible race condition between opendir/readdir_r/pathconf.
...
See http://womble.decadent.org.uk/readdir_r-advisory.html .
SVN revision: 54117
2010-11-03 10:19:55 +00:00
Cedric BAIL
19bce347b0
* eina: use fstatat when available.
...
Maybe we could add an eina_file_lstat_ls.
SVN revision: 54108
2010-11-02 17:47:19 +00:00
Gustavo Sverzut Barbieri
be4836a118
valgrind support is now automatic, make usage clear at summary
...
SVN revision: 53823
2010-10-23 21:03:11 +00:00
Rafael Fonseca
6485492cbe
Make valgrind know about eina mempools.
...
Because mempools generally allocate a big memory area and distribute chunks of
that area to the users, valgrind can not know about logical invalid access. By
using some valgrind macros we can tell valgrind about mempools and which area
can be accessed or not.
To start with I have just done valgrind integration on chained mempool but soon
it will be done for one_big too.
The code below is an example on which valgrind wouldn't complain without this
patch:
@code
#include <Eina.h>
int
main(int argc, char *argv[])
{
int i, *pool[4];
Eina_Mempool *mp;
eina_init();
mp = eina_mempool_add("chained_mempool", "test", NULL, sizeof(int), 4);
for (i = 0; i < 4; i++) {
pool[i] = eina_mempool_malloc(mp, sizeof(int));
*pool[i] = i;
}
printf("Valid mp pointer: pool[0] = %d\n", *pool[0]);
eina_mempool_free(mp, pool[0]);
printf("Freed mp pointer: pool[0] = %d\n", *pool[0]);
for (i = 1; i < 4; i++)
eina_mempool_free(mp, pool[i]);
eina_mempool_del(mp);
eina_shutdown();
return 0;
}
@endcode
SVN revision: 53405
2010-10-14 15:18:15 +00:00
Cedric BAIL
f9b8578ea6
* eina: add assert to ease tracking down efl misuse with threads.
...
SVN revision: 53360
2010-10-13 15:35:56 +00:00
Eduardo de Barros Lima
a5a3fc18e5
Eina: Don't #define _GNU_SOURCE
...
Instead use AC_GNU_SOURCE macro in configure.ac
SVN revision: 53157
2010-10-07 19:29:32 +00:00
Carsten Haitzler
91466cf439
efl 1.0.0 beta.
...
SVN revision: 52992
2010-10-03 09:21:08 +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
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
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
Mike Blumenkrantz
27041eb06e
fix automake quoting
...
SVN revision: 50912
2010-08-08 20:48:46 +00:00
Mike Blumenkrantz
84faaf51fd
add rwlock define to eina_config.h
...
SVN revision: 50911
2010-08-08 19:35:43 +00:00
Mike Blumenkrantz
76a70bdd48
split out spinlock detection to separate macro for readability, add rwlock detection macro
...
***no functional changes***
SVN revision: 50910
2010-08-08 19:20:07 +00:00
Cedric BAIL
05143be132
* eina: complete configure.ac with latest mempool.
...
SVN revision: 50831
2010-08-05 09:40:50 +00:00
Mike Blumenkrantz
d87ed6ac22
when all files combine and the enable flag is set, form VOLTRON, DEFENDER OF THE UNIVERSE!
...
SVN revision: 50550
2010-07-27 20:17:25 +00:00
Tom Hacohen
270f765c91
Eina: Added Eina_Unicode.
...
SVN revision: 50532
2010-07-27 08:22:20 +00:00
Cedric BAIL
07ad9d5139
* eina: add a mempool that just do one big malloc.
...
SVN revision: 50510
2010-07-26 15:52:43 +00:00
Vincent Torri
c7bb6d41f5
include sys/syslimits.h on mac os x for PATH_MAX and NAME_MAX
...
i really dislike having PATH_MAX in a header file...
SVN revision: 50231
2010-07-13 19:17:35 +00:00
Vincent Torri
c97a897584
use Win32 native mutex on Windows. To use it, pass the following option
...
to configure:
--enable-win32-threads
By default, pthreads are used
SVN revision: 50220
2010-07-13 13:51:00 +00:00
Carsten Haitzler
89baaff057
and final post snap - next releasename
...
SVN revision: 49903
2010-06-27 14:06:10 +00:00
Carsten Haitzler
83b36be7a3
snap+release
...
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler
e80d4cb49f
Snapshot eina
...
SVN revision: 49890
2010-06-27 13:32:37 +00:00
Cedric BAIL
a1bfc834d5
* configure.ac: take inept translation a little bit into account.
...
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Gustavo Sverzut Barbieri
ddb8c95fa9
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.
SVN revision: 49594
2010-06-09 18:22:47 +00:00
Carsten Haitzler
1520bad01b
restore after snap/release
...
SVN revision: 49540
2010-06-06 17:43:03 +00:00
Carsten Haitzler
feda128634
Snapshot eina
...
SVN revision: 49531
2010-06-06 17:26:34 +00:00
Carsten Haitzler
f0eee2d260
post-snap anr release.. reset svn back.. this time for real.
...
SVN revision: 49526
2010-06-06 17:17:52 +00:00
Carsten Haitzler
ad811694e8
Snapshot eina
...
SVN revision: 49514
2010-06-06 16:42:27 +00:00
Carsten Haitzler
25ff64e960
post release - move relname to pre-svn again.
...
SVN revision: 49506
2010-06-06 16:23:16 +00:00
Carsten Haitzler
a17806f9ca
Snapshot eina
...
SVN revision: 49495
2010-06-06 16:07:53 +00:00
Vincent Torri
23062efb81
VMIC not defined anymore at configure time
...
SVN revision: 49476
2010-06-06 06:26:12 +00:00
Carsten Haitzler
a4769c42cb
change svnversion shell goop to nuke sed and just use tr to delete
...
unwanted goop.
SVN revision: 49429
2010-06-04 01:04:24 +00:00
Iván Briano
6600f0c43f
Let git-svn users get the right revision number to be used as version.
...
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Cedric BAIL
17151d4fcf
* eina: remove duplicate declaration of MODULE_ARCH.
...
SVN revision: 49370
2010-06-01 14:23:23 +00:00
Carsten Haitzler
f1e19253e6
nopw svn revision works again.
...
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler
17dfab359b
fix - if no svn tree, then it will pretend to be a release.
...
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler
4858dabb50
fix release modules
...
SVN revision: 49278
2010-05-29 07:31:52 +00:00
Carsten Haitzler
02503dd152
eina gets version thing ala eet.
...
SVN revision: 49267
2010-05-29 03:05:04 +00:00
Vincent Torri
4bce4509dc
remove cegcc compiler support
...
SVN revision: 47740
2010-04-03 21:23:28 +00:00
Gustavo Sverzut Barbieri
fc6c3ebb65
remove static/builtin modules warning, we ship with them on by default.
...
SVN revision: 46497
2010-02-26 00:30:01 +00:00
Vincent Torri
b87e1d6fae
* -fno-strict-aliasing is checked at linked time (to make sure
...
that it is disabled for suncc)
* add old evas data types in tests. Tell me if you encounter problems
with them
SVN revision: 46136
2010-02-13 12:32:22 +00:00
Sebastian Dransfeld
e699b67248
Only test built mempools
...
SVN revision: 46096
2010-02-11 21:21:22 +00:00
Vincent Torri
4fd8d21586
* include stdlib.h so that NULL is always defined
...
* restore LIBS when iconv library is not found
SVN revision: 45986
2010-02-08 15:25:46 +00:00
Vincent Torri
8840ed4118
on some platform, iconv.h defines iconv() with a macro,
...
hence the check with AC_SEARCH_LIBS s not sufficient. So
we link a complete program.
SVN revision: 45981
2010-02-08 13:14:30 +00:00
Michael Jennings
d52b70b3b7
Fix build on RHEL5.
...
SVN revision: 45973
2010-02-08 07:07:20 +00:00
Vincent Torri
6ac6ee026c
* fix compilation when iconv.h is detected but libiconv is not
...
* fix warning and clang report
SVN revision: 45970
2010-02-07 20:46:39 +00:00
Vincent Torri
88d43e8435
use efl_fnmatch macro
...
SVN revision: 45847
2010-02-03 20:13:56 +00:00
Vincent Torri
e373b2c376
* remove useless iconv_cflags
...
* put iconv_libs to the correct libtool var
SVN revision: 45794
2010-02-02 06:48:52 +00:00
Vincent Torri
b413db68cd
* fix configure.ac
...
* remove debug
SVN revision: 45793
2010-02-02 06:18:59 +00:00