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
Vincent Torri
9b5ea1110b
eina_str:
...
* return Eina_Bool instead of int when necessary
* improve documentation
* formatting
SVN revision: 45753
2010-01-31 12:27:41 +00:00
Sebastian Dransfeld
315c920f68
EAPI
...
SVN revision: 45739
2010-01-30 22:02:08 +00:00
Vincent Torri
bc31ff5423
fix mingw flags
...
SVN revision: 45668
2010-01-28 17:13:07 +00:00
Vincent Torri
4da59fea04
fix header inclusion
...
SVN revision: 45655
2010-01-28 10:03:31 +00:00
Sebastian Dransfeld
c6ca24216c
Add EINA_MAGIC to strbuf
...
SVN revision: 45651
2010-01-27 20:48:27 +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
Vincent Torri
987757058f
add mempool namespace in configure help
...
SVN revision: 45582
2010-01-26 11:22:48 +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
c3c03b9c5b
* more portable shell tests
...
* better m4 code
SVN revision: 45540
2010-01-24 23:04:24 +00:00
Christopher Michael
2517fbeb35
Fix remaining "shadowed declaration" warnings.
...
SVN revision: 45528
2010-01-24 19:59:35 +00:00
Christopher Michael
029111a9b8
Use different variable names. This was giving "shadowed declarations"
...
warnings during compile.
SVN revision: 45527
2010-01-24 19:51:22 +00:00
Boris Faure
c6f9892e63
Fix some more warnings caused by -Wshadow
...
SVN revision: 45522
2010-01-24 13:53:32 +00:00
Vincent Torri
9bf52134e7
add missing m4 files in tarballs
...
SVN revision: 45519
2010-01-24 11:25:19 +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
Cedric BAIL
a9a3813966
* eina: Allow compilation with -Wshadow.
...
Patch from Albin Tonerre.
SVN revision: 45497
2010-01-23 19:53:27 +00:00
Cedric BAIL
5049832c3a
* eina: Add more tests.
...
SVN revision: 45326
2010-01-19 13:51:53 +00:00
Mikhail Gusarov
4f7ae8764a
eina: fix eina_module_list_get prototype: 'path' argument can be NULL
...
SVN revision: 45246
2010-01-17 06:01:20 +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
Vincent Torri
e2a2448461
basename() can modify its argument, so get a copy first
...
SVN revision: 45228
2010-01-16 16:41:24 +00:00
Vincent Torri
a165049986
use $libdir and not $exec_prefix/lib, as the user can set
...
$libdir with configure
SVN revision: 45227
2010-01-16 16:35:52 +00:00
Sebastian Dransfeld
a1270e5796
Remove unused defines
...
SORT_MIN and SORT_MAX are not used in eina, and will result in errors if
used. eina_list_sort(list, EINA_SORT_MAX, ...) will not give the
expexted result.
SVN revision: 45222
2010-01-16 13:54:38 +00:00
Cedric BAIL
9490a51ff6
* eina: Fix tests suite.
...
SVN revision: 45189
2010-01-15 16:18:29 +00:00
Vincent Torri
990576cd0e
news is a valid stringshare
...
SVN revision: 45095
2010-01-13 21:20:32 +00:00
Cedric BAIL
9422a4c710
* eina: Remove warning.
...
SVN revision: 45066
2010-01-12 17:33:18 +00:00
Jorge Luis Zapata Muga
f3fb3dea17
+ [Eina] API change. eina_module_list_flush() -> eina_module_list_free()
...
as we are on the modules context not the array.
All the referenced projects are changed too. Remember that the list_free()
already calls the unload() on each module so no need to call list_unload()
SVN revision: 44978
2010-01-08 12:22:23 +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
Gustavo Sverzut Barbieri
db52717d88
Fix compile on GNU/Hurd, by Lutin.
...
SVN revision: 44898
2010-01-04 21:50:31 +00:00
Cedric BAIL
fe0b8b4b36
* eina_benchmark: Little cleanup.
...
SVN revision: 44831
2009-12-31 10:26:41 +00:00
Vincent Torri
8e85a71f03
Simplify the use of eina_benchmark:
...
* Free the inlined list returned by one (or several) calls of
eina_benchmark_run() automatically in eina_benchmark_free()
instead of letting the user doing it.
* Update tutorial and benchmark binary accordingly
SVN revision: 44830
2009-12-31 09:17:28 +00:00
Vincent Torri
09d1853ea0
* finish benchmark tutorial
...
* move internal _init and _shutdown functions in the Global
part of the code, as it is where they belong
* fix minor documentation stuff
SVN revision: 44730
2009-12-27 08:45:30 +00:00
Vincent Torri
8c14ca031e
minor fixes
...
SVN revision: 44720
2009-12-25 16:22:13 +00:00
Vincent Torri
c9975bc818
add benchmark tutoriel
...
SVN revision: 44719
2009-12-25 11:59:40 +00:00
Vincent Torri
0fda2ab7c8
use new spinlock detection
...
SVN revision: 44718
2009-12-25 11:30:41 +00:00
Vincent Torri
ebed5f4dab
* better m4 coding
...
* improve pthread detection and add spinlock detection
SVN revision: 44717
2009-12-25 11:29:08 +00:00
Vincent Torri
a39d637027
support of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel)
...
SVN revision: 44597
2009-12-20 10:02:41 +00:00
Vincent Torri
29b4cccab6
include Evil.h so that getenv is declared on Windows CE
...
SVN revision: 44563
2009-12-19 10:30:49 +00:00
Cedric BAIL
63d651b7ad
* eina: Improve precision of f32p32 sinus/cosinus.
...
SVN revision: 44322
2009-12-09 13:03:23 +00:00
Vincent Torri
04a156cda0
useless variable if pthread is not used
...
SVN revision: 44319
2009-12-09 08:34:09 +00:00
Vincent Torri
efc50c5541
including Evil.h here cause big troubles with vc++ and EAPI. So
...
typedef here the needed types
SVN revision: 44318
2009-12-09 08:25:58 +00:00
Vincent Torri
63610435c3
add always config.h in source file so that EAPI is correctly defined,
...
especially on Windows (otherwise, ICE in gcc... and vc++ is not
happy at all)
SVN revision: 44317
2009-12-09 08:23:34 +00:00
Vincent Torri
abe9190501
fix parenthesis order. Thanks, vc++ !! :p
...
SVN revision: 44316
2009-12-09 08:20:37 +00:00
Vincent Torri
4866755a1c
add eina_fp.c in visual studio project files
...
SVN revision: 44315
2009-12-09 08:17:38 +00:00
Carsten Haitzler
1f5c54b2f4
shut up llabs!
...
SVN revision: 44312
2009-12-09 07:25:41 +00:00
Cedric BAIL
274ab1e01e
* eina: Add sin and cos fixed point fonction.
...
SVN revision: 44287
2009-12-08 18:30:41 +00:00
Cedric BAIL
b6183fe571
* eina: Fix negativ case and handle div with more accuracy.
...
SVN revision: 44281
2009-12-08 16:02:10 +00:00
Cedric BAIL
78d547c505
* eina: Fix precision of eina_f32p32_div.
...
SVN revision: 44252
2009-12-07 17:48:40 +00:00
Vincent Torri
cee693572e
* Fix compilation with vc++
...
* Fix Visual Studio project files
SVN revision: 44250
2009-12-07 17:15:28 +00:00
Cedric BAIL
759426ceda
* eina: Fix atofp when exponent is negativ.
...
SVN revision: 44244
2009-12-07 13:08:16 +00:00
Cedric BAIL
5a5d81812c
* eina_fp: Fix rounding with Eina_F32p32 multiplaction, add
...
operation to multiply a FP with an int.
SVN revision: 44238
2009-12-07 09:27:53 +00:00
Vincent Torri
c8ecbbfeef
fix ticket #466
...
SVN revision: 44185
2009-12-04 11:37:42 +00:00
Cedric BAIL
1f1fac5a61
* eina: Add more test.
...
Code covered by all tests :
Found Hit Coverage
Lines: 4503 3671 81.5 %
Functions: 392 347 88.5 %
SVN revision: 44183
2009-12-04 10:09:08 +00:00
Cedric BAIL
8cc84b4f8b
* eina: Add more tests specific to rectangle.
...
SVN revision: 44182
2009-12-04 09:39:23 +00:00
Cedric BAIL
1d0efd8c18
* eina: Add more test. eina_tiler and eina_rectangle need some more.
...
SVN revision: 44176
2009-12-03 18:17:37 +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
Gustavo Sverzut Barbieri
4e817e8ecd
eina_module: more constness.
...
Thanks to Fabiano Fidencio for spotting those.
SVN revision: 43921
2009-11-23 13:24:48 +00:00
Gustavo Sverzut Barbieri
d2fd0b36e0
eina_module_find: constness and gcc attribute.
...
Mark both array and module as const as we'll not modify them anyhow
inside this function.
Also mark this function as pure, so gcc will know how to optimize
multiple calls of it. Not that important for this function, but
doesn't hurt either.
SVN revision: 43918
2009-11-23 13:20:34 +00:00
Cedric BAIL
ffb0bf8830
* eina_module: Add eina_module_find. Thanks to Fabiano Fidêncio <fidencio@profusion.mobi>.
...
SVN revision: 43847
2009-11-20 20:46:24 +00:00
Vincent Torri
797833357f
stupid AC_CHECK_PROG
...
SVN revision: 43800
2009-11-19 09:02:25 +00:00
Vincent Torri
d3135f8f27
minor fix
...
SVN revision: 43797
2009-11-19 08:29:22 +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
Cedric BAIL
899b488741
* eina: Now it's possible set a level when eina should abort on log.
...
SVN revision: 43669
2009-11-13 17:52:43 +00:00
Gustavo Sverzut Barbieri
7df346f50e
fix stringshare of small strings.
...
_eina_stringshare_small_bucket_find() was receiving the plength with
size -1 since the first character is the same, but inside it was not
doing the same, thus it was always failing the first test based on
size.
SVN revision: 43634
2009-11-12 19:41:02 +00:00
Raoul HECKY
279e0dde28
Initialize value for correct counting of # cpu on macosx
...
SVN revision: 43571
2009-11-09 10:39:49 +00:00
Raoul HECKY
7eb75cbd63
Add __MACH__ and __APPLE__ guards to compile on macosx
...
SVN revision: 43568
2009-11-09 09:07:10 +00:00
Sebastian Dransfeld
a60aeb07a3
function defined as void, don't return a value
...
SVN revision: 43535
2009-11-08 19:52:31 +00:00
Vincent Torri
12f9e2f515
fix compilation on OpenBSD
...
SVN revision: 43516
2009-11-07 19:44:39 +00:00
Vincent Torri
2ccaf85b59
fix compilation of eina_amalgamation.c on Windows
...
SVN revision: 43513
2009-11-07 16:09:58 +00:00
Vincent Torri
7c24994f18
fix dist/distcheck rule
...
SVN revision: 43474
2009-11-06 01:02:35 +00:00
Vincent Torri
c3c217c20f
add pthread support on Windows
...
SVN revision: 43435
2009-11-03 16:53:21 +00:00
Vincent Torri
a4d3d53e0d
disable amalgamation by default
...
SVN revision: 43434
2009-11-03 16:52:45 +00:00
Jonathan Atton
cbe78d32f2
Eina log : check main thread in eina_log_threads_shutdown
...
SVN revision: 43415
2009-11-02 10:08:57 +00:00
Vincent Torri
199400bc7d
remove useless $(builddir)/ (also confirmed by a autoconf dev),
...
as anyway, '$(builddir)' is always '.' make distcheck passes.
Thanks to cantona who reported it.
SVN revision: 43401
2009-11-01 21:00:22 +00:00
Jonathan Atton
9191a1dfa3
Eina: renawe _threads_activated for amalgation
...
SVN revision: 43400
2009-11-01 20:13:12 +00:00
Jonathan Atton
4bfc091f41
Eina : add a prefix to STRINGSHARE_LOCK and LOG_LOCK
...
SVN revision: 43399
2009-11-01 20:09:26 +00:00
Jonathan Atton
6ea6dc0856
Eina : now eina stringshare is thread safe if eina_threads_init() is called. Eina log which was thread safe is now thread safe only if the previous functions is called
...
SVN revision: 43398
2009-11-01 19:50:18 +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
Christopher Michael
af793b05d5
Patch to allow a quieter eina when using eina_log in your own libs/apps.
...
Approved by k-s.
Added some doxy to describe the new env variable.
(Eina authors may want to reword this...up to you)
SVN revision: 43326
2009-10-28 12:48:04 +00:00
Jonathan Atton
cc1863fc96
Eina: add eina_list_split_list()
...
SVN revision: 43307
2009-10-27 10:26:20 +00:00
Carsten Haitzler
b2228247e1
warning--
...
SVN revision: 43259
2009-10-25 08:57:41 +00:00
Carsten Haitzler
f78bded776
warning--
...
SVN revision: 43258
2009-10-25 08:52:47 +00:00
Carsten Haitzler
ca7859168b
shh warning
...
SVN revision: 43257
2009-10-25 08:45:36 +00:00
Iván Briano
044f05ca69
Fix docs for hash_free
...
SVN revision: 43237
2009-10-24 04:30:52 +00:00
Cedric BAIL
96437266c8
* eina: Fix EINA_LIST_REVERSE_FOREACH_SAFE typo from Gustavo Chaves.
...
SVN revision: 43186
2009-10-21 19:02:52 +00:00
Vincent Torri
568f723401
Add some more headers at the top of eina_amalgamation.c.
...
Fix compilation on Windows CE
SVN revision: 43054
2009-10-13 17:14:50 +00:00
Cedric BAIL
a9413206ef
* eina_hash: First parameter could be NULL.
...
SVN revision: 43053
2009-10-13 17:11:58 +00:00
Cedric BAIL
17c820aef7
* eina: This initialisation is not needed, but will reduce llvm warning noise.
...
SVN revision: 42935
2009-10-07 12:06:52 +00:00