Cedric BAIL
5d21b6699b
eina: fix build on NetBSD.
...
NOTE: we need a fallback for shm_open that will work on BSD system.
SVN revision: 61324
2011-07-13 08:51:19 +00:00
Rafael Antognolli
0213972e5b
eina: add autotools rules to building and installing examples.
...
SVN revision: 60150
2011-06-09 18:53:38 +00:00
Rafael Antognolli
198f7ee958
eina: fix doc building when srcdir != builddir.
...
SVN revision: 60004
2011-06-06 20:20:38 +00:00
Vincent Torri
3d4c2fb340
Eina: fix static linking with eina
...
Fix static linking with eina (iconv could potentially not be
passed to the linker)
SVN revision: 59914
2011-06-03 07:46:15 +00:00
Cedric BAIL
25550183e0
eina: improve on/off and debugging lock.
...
Now if a lock is still taken when shutdown occur, you will know
where it come from !
SVN revision: 59191
2011-05-04 13:53:22 +00:00
Cedric BAIL
691da73b84
eina: add back threads on/off support.
...
NOTE: only use it if you know what you are doing !
SVN revision: 59123
2011-05-02 13:40:28 +00:00
Vincent Torri
95fc9bf64f
formatting: alphabetical order
...
SVN revision: 58973
2011-04-27 16:58:23 +00:00
Cedric BAIL
f7d9487aff
eina: starting to use eina_lock.
...
SVN revision: 58869
2011-04-24 15:54:09 +00:00
Vincent Torri
6e8d19b150
Eina: Add Eina_Lock API
...
Eina_Lock API is a small set of functions to manage in a
cross platform way mutual exclusion objects
SVN revision: 58835
2011-04-22 21:26:36 +00:00
Mike Blumenkrantz
d422c0a88e
add bench for google's cityhash function (64bit, http://code.google.com/p/cityhash/ )
...
convenient graph of output can be found at http://www.enlightenment.org/~discomfitor/hash_bench.png
SVN revision: 58610
2011-04-12 23:12:52 +00:00
Vincent Torri
fbf7b6608c
rename libtool version names to fit libtool doc
...
SVN revision: 58116
2011-03-27 18:03:24 +00:00
Carsten Haitzler
543016a352
revert version change 999 -> 99. also e17 didnt even need it as it
...
produced no versioned .so files.
SVN revision: 57844
2011-03-18 07:35:19 +00:00
Sebastian Dransfeld
8dee8ac0ac
Set v_mic to 99 (less than 256) to please OS X
...
SVN revision: 57824
2011-03-17 13:12:50 +00:00
Cedric BAIL
b5e8b3d28f
eina: better fix for large file.
...
SVN revision: 57627
2011-03-09 14:59:48 +00:00
Vincent Torri
1c492ce551
Better headers check.
...
Btw, should we include inttypes.h where we include stdint.h ?
SVN revision: 57114
2011-02-17 08:34:42 +00:00
Carsten Haitzler
96caa0a63b
svn goes to x.x.999.svnrev now. :)
...
SVN revision: 56355
2011-01-29 03:34:44 +00:00
Carsten Haitzler
4f5ec3a5bd
1.0 version magic. now leave these projects the hell alone in svn
...
until we have branches.
SVN revision: 56352
2011-01-29 03:05:22 +00:00
Vincent Torri
d3420a210d
put again eina tests in the source tree
...
SVN revision: 56193
2011-01-16 17:55:41 +00:00
Carsten Haitzler
6502ea96ea
hve to revert these commits. they hve created a whole chunk of 64bit
...
crashes on linux. this is REALLY bad. so remove these changes now.
SVN revision: 55981
2011-01-07 15:56:54 +00:00
Vincent Torri
0745ad7878
use configure-time headers checks instead of compiler ones
...
SVN revision: 55967
2011-01-07 06:28:17 +00:00
Vincent Torri
5a36e40473
move AC_GNU_SOURCE before libtool init
...
SVN revision: 55938
2011-01-06 18:19:42 +00:00
Vincent Torri
2b2aef3744
add guards in config.h to avoid multiple inclusions
...
SVN revision: 55937
2011-01-06 18:13:54 +00:00
Carsten Haitzler
26158c9510
remove eina tests
...
SVN revision: 55637
2010-12-19 03:05:58 +00:00
Cedric BAIL
602241b004
* eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
...
SVN revision: 55238
2010-12-04 00:50:58 +00:00
Cedric BAIL
c7f47e4660
* eina: define PATH_MAX when needed.
...
SVN revision: 55232
2010-12-03 23:04:26 +00:00
Vincent Torri
73aad0242d
whitespace --
...
SVN revision: 54856
2010-11-23 07:38:46 +00:00
Cedric BAIL
70e488feff
* efl: beta2 !
...
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Vincent Torri
899983412b
* port eina_file_*_ls() on Windows and put the code in another file
...
* on Windows eina_file_stat_ls() is the same that eina_file_direct_ls()
SVN revision: 54250
2010-11-06 21:00:58 +00:00
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
Sebastian Dransfeld
eb29a86306
copy ecore_txt_convert to eina_str_convert
...
SVN revision: 45790
2010-02-02 04:49:38 +00:00
Vincent Torri
36ef85219e
if someone pass --enable-default-mempool, pass_through will be used
...
in code, but not installed. So it that option is passed, chained_mempool
is disabled, and pass_through is enabled and linked statically
SVN revision: 45755
2010-01-31 14:52:16 +00:00
Sebastian Dransfeld
436249c412
Move ecore_str and ecore_strbuf to eina
...
SVN revision: 45650
2010-01-27 20:47:47 +00:00
Carsten Haitzler
735ad48c39
eina - does modules like the rest of efl, so it's able to be installed with
...
multiple versions at the same time. eventually will neeed to also include
major number in release name too.
SVN revision: 45594
2010-01-26 15:54:28 +00:00
Vincent Torri
4405fdfed1
* make chained mempool static by default
...
* disable other by default
if you experience an problem, please report in that thread
SVN revision: 45593
2010-01-26 15:30:40 +00:00
Sebastian Dransfeld
0ba3822213
Add patch from bug #479
...
Eina installs its modules in /usr/lib/eina/mp/<module>.so, which makes it impossible to install two different versions of eina at the same time. Please consider using something to make this path specific to a particular release of eina, just as you do for the include files.
SVN revision: 45562
2010-01-25 19:07:52 +00:00
Vincent Torri
5dbf60bd8f
use m4 macro ti check compiler flag
...
patch by Lutin (who also wrote the m4 macro, i forgot that
in the previous commit)
SVN revision: 45518
2010-01-24 11:13:23 +00:00
Vincent Torri
b9cbdd4a7d
make the ecore tests stand alone (no ecore installation needed)
...
so no cyclic dependency
SVN revision: 45512
2010-01-24 10:54:07 +00:00
Vincent Torri
52fa8ddd47
get the shared library extension name from the autotools, as
...
it is more portable
SVN revision: 45229
2010-01-16 16:46:39 +00:00
Jorge Luis Zapata Muga
6183c3716e
+ Add the efl-research buddy allocator here
...
SVN revision: 44976
2010-01-08 12:10:14 +00:00
Vincent Torri
0fda2ab7c8
use new spinlock detection
...
SVN revision: 44718
2009-12-25 11:30:41 +00:00
Carsten Haitzler
c15a501be8
baack to normal pre- release name now
...
SVN revision: 44146
2009-12-02 22:50:36 +00:00
Carsten Haitzler
fce5dfd209
quick make svnrev that has right release names
...
SVN revision: 44140
2009-12-02 22:19:53 +00:00
Vincent Torri
c49470eb80
fix compilation from scratch
...
Don't put anything before AC_INIT (except AC_PREREQ) if used in configure.ac
SVN revision: 44122
2009-12-02 18:46:01 +00:00
Carsten Haitzler
e62d6e6dd2
and back to a pre-svn sonme after snap
...
SVN revision: 44118
2009-12-02 08:07:38 +00:00
Carsten Haitzler
566f8b2656
aaah bah - move to 05 not 04
...
SVN revision: 44116
2009-12-02 07:40:59 +00:00
Carsten Haitzler
799b9b0fac
asparagus - finally
...
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Vincent Torri
5fb84741eb
i forgot to align the result
...
SVN revision: 43688
2009-11-14 08:43:18 +00:00
Vincent Torri
df8d276b83
better configure output
...
If nobody is against it, i'll change the configure output
of the EFL so that it is the same
SVN revision: 43687
2009-11-14 08:40:11 +00:00
Vincent Torri
a4d3d53e0d
disable amalgamation by default
...
SVN revision: 43434
2009-11-03 16:52:45 +00:00
Christopher Michael
e867666096
Add missing lib check for fnmatch.
...
SVN revision: 43328
2009-10-28 13:04:09 +00:00
Christopher Michael
f6da7fc383
Patch configure.ac to check for fnmatch header.
...
Thanks Vincent :)
SVN revision: 43327
2009-10-28 13:00:59 +00:00