Commit graph

329 commits

Author SHA1 Message Date
df85f2a5d9 pull up the config system in pre-init phase 2008-12-15 13:33:06 +01:00
3693a5fa3d draft outline for main() 2008-12-15 13:33:05 +01:00
6ca2c23bda fix a warning and some typos 2008-12-15 13:33:05 +01:00
98b3fcbad8 missing implementation 2008-12-15 13:33:05 +01:00
b14d711146 refactor Appconfig, split off lifecycle interface 2008-12-15 13:33:05 +01:00
3f6f1218fc some typos 2008-12-15 13:33:04 +01:00
c567c57a58 reorganise NoBug global definitions and startup 2008-12-15 13:33:04 +01:00
2b5affa8b3 Appconfig doesn't provide Config functionality any longer.
This role of the Appconfig class is superseeded by the Config subsystem...
2008-12-15 13:33:04 +01:00
628be502e5 reordered some files to use the new include and lumiera directories 2008-12-15 13:33:04 +01:00
Christian Thaeter
221a2a76c3 let the plugin test test the new config interface 2008-12-15 13:33:04 +01:00
Christian Thaeter
d91c4ee326 build a 'liblumieracore' instead many small libs
This makes some cross dependency things easier, later on the parts which
get included there might be configured and selected with conditionals.
2008-12-15 13:33:04 +01:00
Christian Thaeter
85bde6ddb1 Extend the tests for plugins to show how to handle interface opening
from plugins themself.
2008-12-15 13:33:03 +01:00
Christian Thaeter
37f56a670e Now converting the tests ..and some missing things
* fixed include paths
 * lots of build system fixes
 * initialization, shutdown, state and nobug flags are factored out into
   a liblumierainit.a to simplify test builds
2008-12-15 13:33:03 +01:00
Christian Thaeter
369c644ab4 Basic resourcecollector implementation
Lets one register callback functions which to incrementally cleanup unused
resources.
2008-12-15 01:17:23 +01:00
Christian Thaeter
67386a20eb few tests for mmaping 2008-12-15 01:17:23 +01:00
Christian Thaeter
17c07bad42 FIX: filehandles test, remove chunksize parameter, this is set explicit now 2008-12-15 01:17:23 +01:00
Christian Thaeter
ec5800c61e fix filedescriptor tests to use a list for tracking references
see previous commit
2008-12-15 01:17:22 +01:00
Christian Thaeter
16fabb29bd initialize the config system for the file tests 2008-12-15 01:17:21 +01:00
Christian Thaeter
e938b36071 WIP: mmap management first go
Quite some code which was hold back in favor of the config and plugin stuff
implements:

 * mmapcache: mru cache for unused memory mappings
 * mmap: single mmaped areas
 * mmapings: manages mmaps established for one filedescriptor
2008-12-15 01:17:21 +01:00
18b750d86b SCons: set LUMIERA_PLUGIN_PATH, add option PKGLIBDIR 2008-11-07 01:54:39 +01:00
80e1e382f4 merge new plugin/interface system, testsuite changes, documentation 2008-11-07 01:26:31 +01:00
Christian Thaeter
aae3c8ed81 LUMIERA_PLUGIN is dead, long life LUMIERA_PLUGIN
removes the difference in compiled in and plugin interfaces.
 * All interfaces are now defined with LUMIERA_EXPORT(...)
 * The definition of LUMIERA_PLUGIN at compile time takes action to compile
   as plugin which gets automatically managed.
 * compiled in (core) interfaces need still be registered, this is
   simplified with the LUMIERA_INTERFACE_REGISTEREXPORTED and
   LUMIERA_INTERFACE_UNREGISTEREXPORTED macros which become no-ops for
   plugins.
2008-11-06 05:23:47 +01:00
f19cdc1ad6 automake fixes 2008-11-06 04:25:33 +01:00
Christian Thaeter
c04f1e77d6 set LUMIERA_PLUGIN_PATH to $pkglibdir as default 2008-11-06 04:13:13 +01:00
Christian Thaeter
038f127946 testsuite updates
* Makefile.am removed -lm, added $(LUMIERA_PLUGIN_LIBS)
 * simple test for the plugin loader
 * remove the old 20plugin.tests, new 31plugin.tests
2008-11-05 11:33:50 +01:00
9f8b0070a6 build option for SCons (verbose) 2008-11-03 21:24:15 +01:00
53e17e2751 merge new Plugin implementation
Merge commit 'pipapo/master'
2008-11-03 20:58:09 +01:00
Christian Thaeter
a21a6b5d3d Add dependencies to test-interfaces
looks like one needs to add all dependencies manually when using
_DEPENDENCIES at least works by that, maybe investigate this later
2008-11-03 08:00:32 +01:00
Christian Thaeter
10e22c74f7 fix test-interfaces for new plugin parameter 2008-10-31 06:44:27 +01:00
Christian Thaeter
d510ade5c3 fix wordlist tests to use explicit delimiters 2008-10-31 06:43:54 +01:00
57ccc289b0 comment, add to testsuite 2008-10-30 04:34:05 +01:00
b475fd0979 AllocationCluster passes test 2008-10-30 04:03:14 +01:00
a8ff2ec137 cover the case of noncopyable objects wrapped into ScopedHolders and placed into a dynamically growing vector 2008-10-28 05:01:20 +01:00
a912159d70 re-enabled building of the testpluginc.so 2008-10-28 01:57:28 +01:00
Christian Thaeter
0dc8a68afb Reinstantiated the first test plugin 2008-10-27 05:10:25 +01:00
Christian Thaeter
ab3d3823f6 autotools fixes for the plugin system
don't link the tests with -ldl

Renamed GTK_LUMIERA_* to LUMIERA_GUI_* and include all gui relevant config
results here.

Set it explicit, don't add the results to CFLAGS or LIBS, the default
behaviour linked all LIBS in, even in plugins, that was not intended.
2008-10-27 05:10:01 +01:00
Christian Thaeter
33c8e79ccb ran luidgen on test-interfaces.c 2008-10-27 05:09:19 +01:00
Christian Thaeter
1886f41bf5 WIP: testsuite for interfaces 2008-10-27 05:08:53 +01:00
Christian Thaeter
41ec9edd6f fix tests to adhere with the new interface descriptor 2008-10-27 05:08:53 +01:00
340b90bee1 add the new tests to proc lib test suite 2008-10-26 22:43:54 +01:00
6a1c33e5a1 create a lib header based on this solution 2008-10-26 22:35:01 +01:00
89fca1921d WIP added simple usage test ... and made it compile,
but still a fundamental problem to resolve with the use of std::vector in this scenario
2008-10-24 06:06:24 +02:00
75cf4a97b3 ScopedHolder test passed 2008-10-23 18:33:56 +02:00
2b2654cb38 WIP test covering the ScopedHolder helpers 2008-10-23 07:15:48 +02:00
850f49904e SCons: options for controling testsuite execution 2008-10-23 04:53:50 +02:00
6e12b74d9e rename the proc-layer tests to comply with the numbering scheme 2008-10-23 04:02:12 +02:00
1e3a03b4c5 WIP dealing with object collections taking ownership 2008-10-21 09:04:59 +02:00
Christian Thaeter
a95a40613c Fix: oops some more liblumi to liblumiera renames 2008-10-21 06:48:59 +02:00
eaa89067bb WIP test covering the AllocationCluster draft 2008-10-20 06:27:14 +02:00
Christian Thaeter
f75af1dec3 liblumiprocmobjectcontroller.a is not needed anymore in tests 2008-10-18 18:03:35 +02:00