Commit Graph

112 Commits

Author SHA1 Message Date
Carsten Haitzler 15c71af0a5 fix formatting also
SVN revision: 50577
2010-07-28 03:03:25 +00:00
Carsten Haitzler bed21c315d errrr... hmmm why did this change?
SVN revision: 50574
2010-07-28 02:48:11 +00:00
Carsten Haitzler ddc6ba2c2a uncrustify eina.
SVN revision: 50573
2010-07-28 02:37:05 +00:00
Nicolas Aguirre c024369336 Use INF only when it's defined. Fix a warning during eina compilation.
SVN revision: 50512
2010-07-26 16:17:11 +00:00
Cedric BAIL 25ffaac60f * eina: actually add the directory too.
SVN revision: 50511
2010-07-26 15:58:18 +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 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
Vincent Torri 8126debb06 fix most compilation errors with vc++ (there are still a
problem with eina_log and output of the log messages:
STDERR_FILENO, STDOUT_FILENO and isatty())

fix some warnings and header files inclusion

update vcproj files


SVN revision: 47384
2010-03-23 06:41:17 +00:00
Sebastian Dransfeld f70c4ebe1f And only log when debug
SVN revision: 46102
2010-02-11 21:56:31 +00:00
Sebastian Dransfeld b2fbe0f2b2 Use eina_log
SVN revision: 46094
2010-02-11 21:20:52 +00:00
Vincent Torri ed57ba09ed no arithmetic pointer on void *
SVN revision: 46085
2010-02-11 18:47:11 +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
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
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 9422a4c710 * eina: Remove warning.
SVN revision: 45066
2010-01-12 17:33:18 +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 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
Vincent Torri c1f402b6fc * allow compilation with vc++
* fix a small warning

SVN revision: 42513
2009-09-16 13:38:21 +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
Vincent Torri d56568b7f9 eina_log uses pthreads now (if enabled), so link libeina against pthread
SVN revision: 42248
2009-09-04 16:25:18 +00:00
Vincent Torri 13b23be252 don't do arithmetic on void *
SVN revision: 41885
2009-08-20 11:56:57 +00:00
Vincent Torri 137f6f2d91 -pthread should be passed to eina_chained_mempool_la_LDFLAGS
SVN revision: 41876
2009-08-19 12:15:10 +00:00
Cedric BAIL a477424685 * eina: Expose an helper for memory pool as Eina_Trash data type.
SVN revision: 41350
2009-07-15 13:13:52 +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
Vincent Torri ddee121285 i forgot to rename file...
SVN revision: 41126
2009-06-20 10:17:37 +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
Vincent Torri 320619b866 Remove trailing slash in the installation directory
Fix installation of the eina modules with automake 1.11


SVN revision: 41013
2009-06-12 07:35:53 +00:00
Cedric BAIL 55cfc46ee2 * eina/m4/efl_pthread.m4,
* eina/src/modules/mp/chained_pool/Makefile.am,
	* eina/src/modules/mp/chained_pool/eina_chained_mempool.c: Now chained mempool are thread safe.



SVN revision: 39058
2009-02-17 14:18:14 +00:00
Cedric BAIL 57aadc71fd Remove warning.
SVN revision: 38661
2009-01-20 15:42:34 +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 c2d7540e84 ffs does not exist on windows CE, so use Evil
SVN revision: 37367
2008-11-01 07:33:02 +00:00
Cedric BAIL 68d377afe6 Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo.



SVN revision: 36928
2008-10-21 12:19:57 +00:00
Cedric BAIL 03043eb74d Oops forgot this one.
SVN revision: 36690
2008-10-15 16:40:57 +00:00
Cedric BAIL 439401682d Reduce code size, and improve sort speed.
SVN revision: 36382
2008-10-01 16:30:30 +00:00
Cedric BAIL 3315d29c7f Fix chained mempool allocator.
SVN revision: 36355
2008-09-30 12:55:33 +00:00
Vincent Torri bf372e44f9 when a .la file is passed to _LIBADD or _LDADD, automake
knows that the corresponding program or lib depends on
that .la file


SVN revision: 36322
2008-09-29 19:30:15 +00:00
Cedric BAIL b6960f58b6 Patch from Vincent Torri that cleanup tests, coverage and benchmark.
SVN revision: 36315
2008-09-29 14:35:28 +00:00
Cedric BAIL 3564707421 Fix initialization and cleanup.
SVN revision: 36307
2008-09-29 09:42:04 +00:00
Cedric BAIL 2acd11a39e Add a new type of memory pool and factorize test code.
SVN revision: 36267
2008-09-26 15:27:46 +00:00
Jorge Luis Zapata Muga c9f08f6124 New module API. Port this API to the mempool subsystem and the tests.
Now the modules can define a default function that will be called when the module is loaded and unloaded.

SVN revision: 36207
2008-09-24 12:55:31 +00:00
Vincent Torri 4313d2b084 * fix list doc
* minor other doc fixes
 * link the mempool modules statically to libeina when requested
 * don't compile static lib of mempool when they are built as shared lib


SVN revision: 36178
2008-09-23 05:17:49 +00:00
Cedric BAIL 8bda22fced Add some type checking to Inlined List.
SVN revision: 36084
2008-09-18 14:22:48 +00:00
Cedric BAIL 02a24e53dc Include meaningfull header.
SVN revision: 36081
2008-09-18 14:20:45 +00:00
Cedric BAIL d4ae3fc7e1 Include the usefull header.
SVN revision: 36077
2008-09-18 14:14:30 +00:00
Cedric BAIL 210ff33edf Another forgotten initialization.
SVN revision: 36076
2008-09-18 14:12:33 +00:00
Cedric BAIL c17a9848a3 Forgotten initialization.
SVN revision: 36070
2008-09-18 10:02:40 +00:00
Cedric BAIL 0dbb3917b7 We need to return something != NULL.
SVN revision: 36050
2008-09-17 15:19:07 +00:00
Cedric BAIL 730049220e Fix typo and initialization.
SVN revision: 36049
2008-09-17 15:18:35 +00:00
Cedric BAIL 84a2279a0a Remove dead directory.
SVN revision: 36048
2008-09-17 15:18:04 +00:00
Vincent Torri d722648292 * fix compilation on Windows
* improve a bit autotools


SVN revision: 35761
2008-08-31 14:05:17 +00:00
Cedric BAIL da8c3be66f Add a proposal for a module/plugins API that should match every requirement I
received. It's a little huge right now, but work quite nicely.

It support "static" module, version, recursive lookup and should be able to
replace the module/plugins support in evas and ecore.


SVN revision: 35534
2008-08-18 08:18:16 +00:00
Cedric BAIL 13a3f9516e Add ememoa variable size memory allocator.
SVN revision: 35415
2008-08-08 17:17:52 +00:00
Cedric BAIL 5c20f9cda0 Add a pass through mempool.
SVN revision: 35408
2008-08-08 14:26:59 +00:00
Cedric BAIL ddaa7d4d8f License changes (BSD -> LGPL)
SVN revision: 35360
2008-08-06 18:15:24 +00:00
doursse a6b77baa4e * compile ememoa stuff only when is it available
* move AC_C___ATTRIBUTE__ to where it belongs
 * improve autotools when running 'make' just after having modified configure.in
 * formatting


SVN revision: 35293
2008-08-01 13:03:01 +00:00
Cedric BAIL e8a734772d More user of covering support.
SVN revision: 35291
2008-08-01 12:30:07 +00:00
Cedric BAIL e6550be4e6 Forgot this file.
SVN revision: 35284
2008-08-01 08:23:27 +00:00
Cedric BAIL a309e49392 Cleanup the mempool stuff.
SVN revision: 35277
2008-07-31 17:00:56 +00:00
Cedric BAIL 88877cf64c Add the chained_pool stuff from evas with some cleanup.
SVN revision: 35272
2008-07-31 15:11:05 +00:00
doursse 16b95f91c9 install headers in $prefix/include/eina-$VERSION_MAJOR to allow parralel
installations between different major versions


SVN revision: 35251
2008-07-30 13:16:09 +00:00
Cedric BAIL 3b7fb95c9d Add .cvsignore.
SVN revision: 35250
2008-07-30 13:09:03 +00:00
Cedric BAIL a92e3d6c83 Adding turran work to unify EFL data types and functions.
SVN revision: 35248
2008-07-30 12:46:55 +00:00