Commit Graph

184 Commits

Author SHA1 Message Date
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
Vincent Torri 5bb258d05a * more quoting
* add silent rules (shave feature)
   see the description of AM_SILENT_RULES in: 
   http://www.gnu.org/software/automake/manual/automake.html#Public-Macros



SVN revision: 42905
2009-10-06 16:54:08 +00:00
Vincent Torri 70ba1f22fd and AC_SUBST the requirement...
SVN revision: 42703
2009-09-25 15:43:41 +00:00
Vincent Torri 47e25ab257 * really export symbols on Windows (EFL_EINA_BUILD not
correctly defined)
 * add evil in the Requires.private field of eina-0.pc.in

SVN revision: 42702
2009-09-25 15:39:53 +00:00
Cedric BAIL 8e6a393cf9 * eina_log: Fallback to mutex when spinlock doesn't exist.
SVN revision: 42489
2009-09-14 16:06:18 +00:00
Vincent Torri 2d3021f128 * add amalgation support in configure output
* remove a warning when eina_amalgamation.c is deleted but does not exist
 * delete eina_amalgamation.c when doing 'make clean'


SVN revision: 42363
2009-09-09 07:42:08 +00:00
Gustavo Sverzut Barbieri 88730b324d let's have more testing: amalgamation on by default, report problems!
SVN revision: 42356
2009-09-09 00:38:26 +00:00
Gustavo Sverzut Barbieri 9b3e482ad2 --enable-amalgamation
This will concatenate all source files in the hope compiler will do a
better job. On my test with static/built in mempools it saves me 4k, I
guess some intra module calls can be saved.



SVN revision: 42315
2009-09-07 05:54:42 +00:00
Gustavo Sverzut Barbieri b5397eea63 eina_log optimization: allow to compile out some debug messages.
Users may opt to set EINA_LOG_LEVEL_MAXIMUM to some integer and macro
will then evaluate to check for that value before actually call
eina_log_print() macro. By using optimizations compilers will
effectivelly compile out the code if it is never reached, thus saving
the check and function call in possible critical paths.



SVN revision: 42269
2009-09-04 21:28:50 +00:00
Vincent Torri 1d7608daaa fix coverage support configuration
SVN revision: 42250
2009-09-04 16:55:51 +00:00
Gustavo Sverzut Barbieri 643958705b eina_matrixsparse: welcome sparse matrix implementation and tests.
Sparse Matrix was implemented and tested by Rafael Antognolli and
myself in order to implement optimized large sparse matrix walk in
some products, one of them WebKit-EFL optimizations.

We have done extensive tests, with good code coverage. Similar to
lists/inlists, we keep pointer to last known element and similar to
iterators we keep reference to last accessed row and cell inside
rows. This allows fast sequential access (for i... for j... m[i,j]),
that is our most common usage case.

Rows are kept in a list, with cells inside that row as another
list. It's not similar to most book implementations where cells keep
reference to their sibling cells in other rows as well, we opted to
not do that to save some pointers and make algorithms simpler, still
do great for our use case.

This code was developed on behalf of our client, that wants to remain
unnamed so far. Thanks client ;-)



SVN revision: 42243
2009-09-04 13:43:44 +00:00
Vincent Torri 36be15fc55 don't suppose that gcc is the only compiler that can be used.
Check if -Wall and -fno-strict-aliasing are supported by the compiler


SVN revision: 41863
2009-08-18 20:04:19 +00:00
Carsten Haitzler 1ea1c629cb back to pre ver's
SVN revision: 41535
2009-07-29 08:19:34 +00:00
Carsten Haitzler 6db38393cd SNAPSHOT: svn-03
SVN revision: 41532
2009-07-29 08:03:25 +00:00
Lars Munch 0b02e8f8a3 On windows use evil's dladdr implementation so you dont have to set
EINA_MODULES_MEMPOOL_DIR and EVAS_MODULES_DIR in the windows environment.



SVN revision: 41230
2009-07-02 07:45:01 +00:00
Vincent Torri 07d7e5ce66 * remove the mention of the static link check in configure ouput
* add a (ecologic) warning at the end of configure if a module is
   statically linked to eina


SVN revision: 41226
2009-06-30 16:18:41 +00:00
Vincent Torri 7a3b2110bf * more doc
* check the returned value of eina_error_init() in eina_module_init()


SVN revision: 41218
2009-06-28 06:29:11 +00:00
Vincent Torri c5ed7f0de4 * fix typo
* move option of e17 benchmark to its correct place


SVN revision: 41204
2009-06-26 07:52:56 +00:00
Vincent Torri b38a118162 * use a m4 macro for checking benchmark libraries and
check the libraries only if benchmarking is enabled
 * add extra dist files to be able to configure eina
   with autogen.sh and also add .spec files


SVN revision: 41203
2009-06-26 07:20:15 +00:00
Vincent Torri 4d5e99df01 add minimum supported version for Windows CE and XP
SVN revision: 41198
2009-06-25 19:55:06 +00:00
Cedric BAIL 746302ad53 * eina: Make eina benchmark more configurable.
SVN revision: 41183
2009-06-24 12:48:33 +00:00
Vincent Torri 8909bb6b69 * All memory pools can be enabled / disabled
* Allow to pass 'static' to configure memory pools
 * Add fixed_bitmap in the possible statically linked memory pools

For example:

./configure --enable-chained-pool=static --disable-fixed-bitmap


SVN revision: 41119
2009-06-20 06:42:32 +00:00
Carsten Haitzler 9394f73104 back to svn soname
SVN revision: 41042
2009-06-15 06:29:43 +00:00
Carsten Haitzler e81db0f5a3 make distcheck and... SNAP!
SVN revision: 41039
2009-06-15 05:32:49 +00:00
Gustavo Sverzut Barbieri 3d720628ce Add DragonFly BSD and simplifies other conditions.
By: Joerg Sonnenberger.


SVN revision: 41020
2009-06-12 17:48:10 +00:00
Vincent Torri 5bd14d2a05 * modify the way eina_config.h is built (see eina_config.h.in
and configure.ac)
 * include eina_config.h explicitely in files where the macros
   of eina_config.h are used
 * define eina_magic_string_init()  and eina_magic_string_shutdown()
   even when the mugle option is set (magic disabled)
 * formatting and fix in configure.ac


SVN revision: 40962
2009-06-08 08:27:33 +00:00
Vincent Torri 8b6f8ea2d8 underquoted parameters of AC_INIT
SVN revision: 40651
2009-05-15 08:12:38 +00:00
Vincent Torri 221882c996 don't use the release stuff for Windows CE
SVN revision: 40624
2009-05-13 18:42:40 +00:00
Carsten Haitzler 8e52d827ec move to uses no []'s as it works for me, but for belem... inconsistent []'s
doesnt work.



SVN revision: 40300
2009-04-23 00:32:53 +00:00
Carsten Haitzler 9d18df3109 and incriment to next rev.
SVN revision: 40285
2009-04-22 14:08:21 +00:00
Carsten Haitzler 99ccf484f8 snapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
uploaded.



SVN revision: 40284
2009-04-22 14:07:05 +00:00
Carsten Haitzler e39dc41493 1. embryo shoudl have soname
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.



SVN revision: 40267
2009-04-21 14:17:42 +00:00
Carsten Haitzler ce5a59b7e5 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Vincent Torri 842c9843ec Fix compilation on OpenBSD (bug #250). Patch by eumel.
SVN revision: 39627
2009-03-22 13:40:28 +00:00
Carsten Haitzler 739db97356 1. cygwin fixes from booleanlabel@gmail.com
2. these are just generic fixes - so also fix 1 doc example too.



SVN revision: 39464
2009-03-13 10:53:07 +00:00
Carsten Haitzler 691aa040b9 strict-aliasing is gcc 3+ - apply to CFLAGS for libeina.
SVN revision: 39462
2009-03-13 10:24:45 +00:00
Vincent Torri 4fc823bdc9 * fix logic in efl_doxygen.m4
* allow aclocal to check for modifications of the m4 macros in m4/


SVN revision: 38892
2009-02-01 20:21:56 +00:00
Vincent Torri cc7b4554cb The problem of the detection of __attribute__ on mac os x comes
from the fact that we put a definition of a function in the
body of main(). Moving it outside fixes it. In addition, the
extra flag i added in configure.ac is useless.


SVN revision: 38565
2009-01-13 06:19:47 +00:00
Vincent Torri f84454ed08 mac os x port of gcc has problems with __attribute__ and thinks that
there are nested functions. -fnested-functions must be passed to the
compiler to allow the compilation on that platform.



SVN revision: 38544
2009-01-11 09:25:47 +00:00
handyande c2bab4e388 Make eina compile on OSX
SVN revision: 38382
2008-12-31 11:51:37 +00:00
Gustavo Sverzut Barbieri b6e27a739f oops, it's EINA_SAFETY_CHECKS, not just SAFETY_CHECKS.
SVN revision: 38328
2008-12-26 19:14:57 +00:00
Gustavo Sverzut Barbieri ab95d9183d eina safety checks.
safety checks will report null pointers and other error conditions on
public api's and can be disabled by compile time check.

note that in order to have these checks working we need to make
EINA_ARG_NONNULL() void, otherwise GCC can remove these checks since
they're known to be false.

This commit also make two minor changes:

  * list and hash accessors and iterators are created even for empty
    entities. This is correct in my point of view since NULL should
    indicate error. Having these in were an optimziation, but not
    worth it, these are not the most common case and hitting this path
    is not of much cost.

 * unmarked some parameters as nonnull, mainly on list and inlist.



SVN revision: 38327
2008-12-26 18:31:14 +00:00
Chidambar Zinnoury ef7cd1e966 Typo: --enable enables an option.
SVN revision: 37913
2008-12-03 17:27:51 +00:00
Vincent Torri 1b00e273ed eina needs dl functions (Windows)
SVN revision: 37583
2008-11-11 07:22:47 +00:00
Cedric BAIL 437c220266 Add dladdr and env code for eina_module from Vincent Torri.
SVN revision: 37374
2008-11-01 15:39:53 +00:00
Vincent Torri 602c8edb12 formatting
SVN revision: 37358
2008-10-31 16:59:45 +00:00
Michael Jennings a9ad1b5aeb Sat Oct 25 11:41:49 2008 Michael Jennings (mej)
Add spec file for eina.
----------------------------------------------------------------------


SVN revision: 37104
2008-10-25 18:46:18 +00:00
Eric Schuele 190a7b56c7 Build on FreeBSD. Patch from Naruto, plus a tweak to remove the unneeded libdl.
SVN revision: 37103
2008-10-25 18:17:22 +00:00
Carsten Haitzler f3acb81ceb and remvoe cats
SVN revision: 36834
2008-10-20 04:30:21 +00:00
Carsten Haitzler 6f25f98c72 make eina able to do automake 1.9 and before... :)
SVN revision: 36833
2008-10-20 04:25:13 +00:00
Vincent Torri 84dcc24d09 Fix compilation and warnings on Windows:
* include Evil.h for getenv on mingw32ce
 * include config.h in benchmark.c so that EAPI is correctly defined
 * minor fixes in configure.ac


SVN revision: 36729
2008-10-16 21:31:51 +00:00
Cedric BAIL beb2b251b5 Seems better that way.
Thanks for your help ni1s.


SVN revision: 36691
2008-10-15 16:47:54 +00:00
Cedric BAIL 380120ce2a Should fix build outside of the source tree.
SVN revision: 36689
2008-10-15 16:23:14 +00:00
Cedric BAIL d905ee9bda Add option to report stringshare usage (E17 use around 10000 differents strings).
SVN revision: 36658
2008-10-14 15:32:57 +00:00
Vincent Torri 5063c86f4f fix doxygen m4 macro (make it more efl-ish and fix a bug)
SVN revision: 36552
2008-10-09 20:16:41 +00:00
Cedric BAIL 195b2da188 Give more choice to eina_list mempool.
SVN revision: 36479
2008-10-06 14:47:09 +00:00
Vincent Torri 89d5e6f073 * add detection of SIMD and thread support
* minor formatting


SVN revision: 36418
2008-10-03 15:28:13 +00:00
Peter Wehrfritz beaa909d45 configure.in -> configure.ac
SVN revision: 36364
2008-09-30 18:07:29 +00:00