Commit graph

65 commits

Author SHA1 Message Date
737da9c868 continued wishful thinking in Test form 2007-09-04 05:09:08 +02:00
d7d3cfe876 Sync with cehteh's code
Merge commit 'd50ab9fe2125f985eb4ae9a610f4944cddc425bd'
2007-09-02 23:19:56 +02:00
2e390f1b05 initial code generation/formatting for Asset subsystem 2007-09-02 18:48:22 +02:00
Christian Thaeter
d50ab9fe21 cosmetic fixes 2007-09-02 17:51:55 +02:00
Christian Thaeter
7445c1798d generic locking.h for shared declarations 2007-09-02 16:19:50 +02:00
Christian Thaeter
0d1097315c renamed locking.* to condition.* 2007-09-02 13:56:33 +02:00
Christian Thaeter
754b9cc24e C wraper for condition variables 2007-09-02 00:52:40 +02:00
c0dcccebd9 Factory impl now complete (hopfully).
Added Tests/Examples for the more advanced use cases
* using custom allocation (e.g. C-style malloc)
* using placement new
* creating Objects via private ctor
* example for the 'PImpl' pattern
2007-08-31 20:32:26 +02:00
b1ea774ef1 removed all custom allocator / deleter stuff (it's the wrong aproach) 2007-08-31 16:53:23 +02:00
b11ac46b76 added possibility to pass a custom deleter function down to shared_ptr.
Note: actually all of this seems against the spirit of C++ (and OO in general). This is a do-it-yourself aproach
which adds far to much complexity (accidental, not fundamental complexity). So I checked it in for the record,
but will abandon this aproach and rely on overloading of operator new / delete if necessary (and when we really need it)
2007-08-31 16:25:04 +02:00
2b0ea4650b reworked factory to get better separation of concerns. But custom allocation can't be done as I intended 2007-08-31 14:57:49 +02:00
Christian Thaeter
194d7810f4 add a cinelerra error which can be used to forward standard C errors from errno 2007-08-31 01:21:44 +02:00
Christian Thaeter
5832cfeae2 Merge branch 'master' of git://git.pipapo.org/cinelerra3/ichthyo 2007-08-30 01:42:06 +02:00
Christian Thaeter
98d3716fcb Merge branch 'library' 2007-08-30 00:33:38 +02:00
Christian Thaeter
e438ad6e8f add documentation and error handling to framerate functions 2007-08-29 17:41:10 +02:00
307945b629 wrote test: object smart pointer creation factory 2007-08-29 05:03:21 +02:00
Christian Thaeter
e41059497f refined and corrected framerate caclulation 2007-08-28 19:28:41 +02:00
d54b600382 implemented C++ error handling system 2007-08-26 19:14:39 +02:00
Christian Thaeter
c2898d26f2 put framerate caclulation in a single file 2007-08-25 03:46:07 +02:00
fee63d8f06 added C++ plugin to SCons build; added test for common/appconfig.hpp 2007-08-25 02:07:04 +02:00
8c7a2055e8 integrate Doxygen into SCons build. some doc fixes 2007-08-24 16:41:16 +02:00
Christian Thaeter
2976b2ab29 time handling ok so far 2007-08-24 06:02:29 +02:00
6d9ce217bd played a bit with doxygen and tried some small tweeks... 2007-08-24 02:58:13 +02:00
5575a7679d wrapper for cmdline parsing, finished testsuite-runner, solved shutdown-memoryleak 2007-08-23 17:52:33 +02:00
Christian Thaeter
bf32b80521 added error handling, removed timebase from framerate 2007-08-23 11:15:01 +02:00
Christian Thaeter
1b85206c85 time.h for initial! review 2007-08-23 06:57:08 +02:00
Christian Thaeter
e2ffd09f4b doxycomment errorhandling, small macro improvement 2007-08-23 05:30:29 +02:00
cb13b09360 WIP: started augmenting my test-runner class to be configurable via cmdline
Added dependency to boost::program_options. Still trying to get into pace with the testing thing ;-)
2007-08-19 21:57:19 +02:00
Christian Thaeter
0283653026 Merge branch 'master' of git://git.pipapo.org/cinelerra3/ichthyo
Conflicts:

	tests/plugin/Makefile.am
	tests/plugin/plugin_main.c
2007-08-18 05:41:10 +02:00
Christian Thaeter
9507fae565 reverted CINELERRA_DIE(msg) to CINELERRA_DIE 2007-08-18 05:12:14 +02:00
Christian Thaeter
db4ee5b8ad plugin fixes 2007-08-18 05:05:38 +02:00
Christian Thaeter
7627271ce3 convinience macro CINELERRA_ERROR_SET(flag, err) 2007-08-18 05:05:11 +02:00
06efcf0f77 merge together work done for the Testsuite.
- to make it similar to Cehteh's tests, moved my testcode to tests/components
- made scons build the errortest and plugin-example as well
- scons check will run the suite

please note, my implementation work is quite incomplete (warnings, app shuttdown
not yet implemented); I hadn't success running the plugintest.
2007-08-17 11:06:49 +02:00
5bde4020cf merged cehteh's work for the testsuite, automake and plugins 2007-08-17 05:52:48 +02:00
db1a35ca94 augmented (static) App initialsation, reorganized NoBug includes... 2007-08-17 00:36:07 +02:00
358b9050e9 static Application init, NoBug integration, started a basic Exception hierarchy. 2007-08-14 08:14:21 +02:00
Christian Thaeter
e07dc59e78 use new errorhandling scheme 2007-08-14 04:56:55 +02:00
Christian Thaeter
d36a38a56e errorhandling finished for now, as proposed 2007-08-14 04:40:13 +02:00
Christian Thaeter
441e192c81 Merge branch 'master' into errorhandling 2007-08-14 04:02:54 +02:00
45c2167700 wrote a very simple Test-Suite runner and provided a Tests source tree 2007-08-13 09:55:32 +02:00
Christian Thaeter
60c033a102 Merge branch 'master' into automake 2007-08-12 04:15:25 +02:00
Christian Thaeter
aaaa31b58f Merge branch 'master' into errorhandling 2007-08-12 04:12:57 +02:00
8f35701ca8 initial design for a factory encapsulating creation of smart-pointers 2007-08-12 01:04:55 +02:00
91bddede45 better organization of global imports and namespaces
avoid spurious quasi-global namespace cinelerra and use namespace hierarchies only where necessary.
document my intended use of namespaces/interfaces in the renderengine-wiki.
2007-08-09 18:51:47 +02:00
ebb4da6cc7 ** Start Coding ** Renderengine sources generated, reformatted and made compilable. 2007-08-08 04:50:02 +02:00
8cf5532da1 bring along cumulated model changes from my prototype work last month 2007-08-04 19:15:33 +02:00
Christian Thaeter
fdb691398d compiles example, segfaults by intention (disabled error handling, no plugin yet) 2007-07-19 06:15:55 +02:00
Christian Thaeter
5946d6961d some small fixes to make it compile (first try) 2007-07-19 05:49:02 +02:00
Christian Thaeter
e1a072a6d3 config update, small problem with NoBug which shows a warning when valgrind is enabled, dont use valgrind support until this is fixed 2007-07-19 05:48:23 +02:00
Christian Thaeter
471148b7db basic automake setup 2007-07-19 05:10:14 +02:00