efl/legacy/eina/src/tests
Gustavo Sverzut Barbieri e4af7c100c EINA API BREAK: no more individual modules init/shutdown.
Being able to indivually initialize individual modules was initially
"good", but at end it's putting complexities on users that would try
to "optimize" by doing just what they used, but in the end most people
would get them wrong, users would have to do lots of code and etc. At
the end it does not worth.

Most module init just register handful errors and log domains, so are
cheap. The exception is mempool users, that would dlopen() stuff, but
people that are concerned (embedded) can just compile those statically
in eina.

Since at the end any real application would use most of modules, we
actually end saving lots of function calls that would do nothing other
than increment a global counter.

I also did the init/shutdown use an array, making it easier to
maintain. The inital dependencies were analysed by a script I wrote, I
hope it's all right.

Please fix any breakages you find!



SVN revision: 42300
2009-09-06 22:21:56 +00:00
..
.cvsignore Add benchmark support. 2008-08-06 15:54:56 +00:00
Makefile.am eina_matrixsparse: welcome sparse matrix implementation and tests. 2009-09-04 13:43:44 +00:00
eina_bench.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_bench.h * eina: Add a benchmark for eina_rectangle_pool. 2009-06-22 13:24:13 +00:00
eina_bench_array.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_bench_convert.c add a config.h 2008-09-30 06:16:41 +00:00
eina_bench_hash.c * eina: Evas_Data are gone so unactivate benchmark. 2009-06-22 13:20:29 +00:00
eina_bench_mempool.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_bench_rectangle_pool.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_bench_sort.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_bench_stringshare.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_bench_stringshare_e17.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_suite.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_suite.h eina_matrixsparse: welcome sparse matrix implementation and tests. 2009-09-04 13:43:44 +00:00
eina_test_accessor.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_array.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_benchmark.c * fix warning in tests 2008-09-29 19:20:16 +00:00
eina_test_convert.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_counter.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_error.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_file.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_hash.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_inlist.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_iterator.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_lalloc.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_list.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_log.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_magic.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_main.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_matrixsparse.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_mempool.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_module.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_module_dummy.c Force dummy_symbol to be visible. 2008-12-06 06:12:30 +00:00
eina_test_rbtree.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_rectangle.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
eina_test_stringshare.c EINA API BREAK: no more individual modules init/shutdown. 2009-09-06 22:21:56 +00:00
strlog Add real life test from E17 use. 2008-09-16 14:06:14 +00:00