Commit graph

499 commits

Author SHA1 Message Date
662678f8d1 WIP refactored in preparation of splitting into several lib modules 2008-05-18 05:08:11 +02:00
Christian Thaeter
e8164062a2 integrate proc into automake
* all files in src/proc are build into libs
 * TODO: -Werror still missing
 * TODO: Tests are not yet compiled
2008-05-18 00:01:51 +02:00
Christian Thaeter
249c6d5eda Remove _GNU_SOURCE from certain files
GNU_SOURCE is globally activated in configure.ac
2008-05-17 23:33:21 +02:00
Christian Thaeter
2cbfeda4df correct return types in condition.h 2008-05-17 23:25:50 +02:00
Christian Thaeter
19fd89d13d cleanup and add more configure checks
* GNU_SOURCE by default now
 * improved use of ACX_PTHREAD, replaces $CC and others
 * all checks for mandatory things instantly exit for now
   in future this might produce an report at the end
 * ported checks from scons over here
2008-05-17 20:00:05 +02:00
88fc2f6099 WIP reworked to replace boost::variant by a custom solution
Not a big simplification, but at least the actual codepath is shorter,
while it's not so general as boost::variant (and not threadsafe!)
2008-05-17 04:34:46 +02:00
Christian Thaeter
2d11d51860 Checks for NoBug (and other) headers have to follow the
particular configurations.

If not the generated conftest would bail out NoBug
complaining that no build level is selected
2008-05-16 20:17:43 +02:00
Christian Thaeter
2a1d6c6232 Fix: safeclib-test 2008-05-13 21:43:08 +02:00
Christian Thaeter
a9cf2c719d Fix: uuid includes 2008-05-13 21:42:51 +02:00
Christian Thaeter
23e32d31fc don't build the backend things for now 2008-05-13 21:42:17 +02:00
Christian Thaeter
380c1d2c47 dropped the pre-gavl framerate sources out of lib 2008-05-13 21:31:30 +02:00
Christian Thaeter
b41115d1b2 Add cuckoo hashing to the library
This implementation of cuckoo hashing gives guaranteed O(1)
lookup complexity and amortized O(1) insert and remove complexity.
Hash tables by default grow and shrink automatically.
It is posible to preallocate entries and turn automatic shrinking off,
taking out the memory management factors for insert and remove operations.
2008-05-13 20:57:20 +02:00
Christian Thaeter
3a8b3feb96 add string creating functions to tmpbuf
* lumiera_tmpbuf_strndup() duplicates a string
 * lumiera_tmpbuf_sprintf() creates a formatted string
2008-05-13 20:57:20 +02:00
Christian Thaeter
d32c74361b Fix: typo in mrucache_age() 2008-05-13 20:57:19 +02:00
Christian Thaeter
69ba3b389c LUMIERA_MUTEX_SECTION(mutex) macro for sections of mutex protected code 2008-05-13 20:57:19 +02:00
Christian Thaeter
eab6b64f6d let mrucache age return how much elements it couldn't purge 2008-05-13 20:57:19 +02:00
Christian Thaeter
328127980a a small most-recent-used cache implementation 2008-05-13 20:57:19 +02:00
Christian Thaeter
ecd6ba66b8 safeclib testsuite 2008-05-13 20:57:19 +02:00
Christian Thaeter
7686a2ec56 Renamed the temporary 'buffer' functions to 'tmpbuf' 2008-05-13 20:57:18 +02:00
Christian Thaeter
646d6fa0d3 Test simplification, plaything
* test.h provides some macros to aid test writing
 * applied that to some tests
2008-05-13 20:57:18 +02:00
Christian Thaeter
0b8b5bf507 uuid functions 2008-05-13 20:54:05 +02:00
Christian Thaeter
27ca8a7362 let LUMIERA_DIE take an error identifier as parameter 2008-05-13 20:54:05 +02:00
Christian Thaeter
8b162cada4 llist update 2008-05-13 20:54:04 +02:00
Christian Thaeter
19ee8afa08 safeclib wraps some common c library functions and adds some tools
* lumiera_malloc which succeeds or dies
 * some safe string functions
 * Thread local round robin buffers for temporary data
2008-05-13 20:54:04 +02:00
Christian Thaeter
8d59d601a8 Add protocol of the 2nd developer meeting to the wiki
Conflicts:

	wiki/index.html
2008-05-13 20:33:44 +02:00
Christian Thaeter
4b07cd6f85 Some more notes for the compatibility wiki 2008-05-13 20:00:43 +02:00
Christian Thaeter
8b299e7493 add a compatibility/dependecy/style wiki
Conflicts:

	wiki/compatibility.html
	wiki/index.html
2008-05-13 20:00:34 +02:00
85b0029166 WIP: how to get at the actual wrapper (here Placement) from within BuilderTool.
Nasty problem ... draft solution using boost::variant. To be reconsidered later...
2008-05-11 15:44:24 +02:00
03047e6d17 WIP maybe a solution for getting the correct wrapper within Builder Tools.
works, but problem is: you need to know the exact type of the wrapper, e.g. Placement<Clip> or shared_ptr<Media>
2008-04-26 05:38:19 +02:00
d9e6adfe02 make Placement<MObject> implement the interface Buildable.
WIP: works, but isnt what I intended. Rather need a specialisation to be able to define functions
treat (Placement<TY>) based on the concrete TY....
2008-04-23 05:48:45 +02:00
aea5ed323a refactor to use the customized lumiera::P<Type> instead of shared_ptr<Type> 2008-04-23 04:16:45 +02:00
3e8996005e start using the new lifecycle hooks. remove global nobugcfg.h
Now using proc/lumiera.hpp and proc/nobugcfg.hpp (i.e. only for the proc-Layer). Using ON_BASIC_INIT to
pull up NoBug automatically and for installing the unknown-exception handler. Add calls for
ON_GLOBAL_INIT and ON_GLOBAL_SHUTDOWN hooks to main() and to the testrunner
2008-04-14 05:15:16 +02:00
85189d3f4c extend Appconfig class to provide Lifecycle callback hooks
esp. for automatic triggering the initialisation of very basic struff (like NoBug...)
2008-04-13 23:54:39 +02:00
ce72947d0c brought proc layer introductory pages up-to-date 2008-04-13 03:39:18 +02:00
e91fc65a2b supplemented some info to the wikis 2008-04-12 06:59:24 +02:00
024e3c4dbc change build to link in separate libs, also split test executable.
now building  liblumiback.a liblumiproc.a liblumi.a
build a separate test-common executable (for everything in src/common)
include a precompiled header for assets.
2008-04-12 04:55:18 +02:00
c29b6bdd9a fix include for testsuite
(note I did a partial merge and didn't take any of the new sourcefiles,
so probably this is already fixed on cehtehs branch backend)
2008-04-12 03:09:28 +02:00
f7bfe50bc9 Merge branch 'builder' 2008-04-12 02:12:41 +02:00
a03e3c5e73 Merge from backend: wikis, admin-scrits, test.sh
(dont merge any srcfiles)
2008-04-12 02:07:16 +02:00
Christian Thaeter
15bab21da8 Merged the timestuff removal, done by simeon
(cherry picked from commit bc5a301d01ac323bafcc434e33f6043678749f14)
2008-04-12 01:12:18 +02:00
97821a0fa2 Design: clarified various details regarding Track handling 2008-04-11 06:24:27 +02:00
a869c71077 Defaults Manager finished for now
...passes high level test (with help by the mock 'resolution engine')    ;-)
2008-04-08 04:39:07 +02:00
0b5b9b593e DefsManagerImpl_test now running 2008-04-08 03:21:24 +02:00
ed2799b76f getting the first test of defsmanagerimpltest.cpp to run
..adding some backdoors and bashing at the mock implementation to fake the behaviour of a real resolution engine
2008-04-07 08:03:22 +02:00
dfefbea769 overdue to write down some documentation about ConfigRules
(starting to loose track of some relations myself...)
2008-04-07 05:11:09 +02:00
b86a8605e7 now complete and passing the compiler 2008-04-07 03:19:24 +02:00
3ed3813be3 WIP work out how some special cases of config queries can be handled.
Including some tricky recursive calls. Even if this is currently a mock implementation it helps me find out
how the real implementation (in Prolog) could handle these cases.
Doesnt pass the compiler yet (some stubs missing)
2008-04-06 20:11:34 +02:00
b53d8655fd yet another helper function: remove matching term from query string 2008-04-06 08:56:18 +02:00
b361fc9672 supplement tests for some small utils dealing with query expressions 2008-04-06 05:36:16 +02:00
24825a13f3 registry for default objects now passing test 2008-04-05 22:52:20 +02:00