Commit graph

150 commits

Author SHA1 Message Date
0dec8de6a3 test covering ennumeration of possible configs 2008-07-28 04:33:10 +02:00
86f805f803 more testing 2008-07-22 08:19:03 +02:00
63d5684c12 WIP continued with refactoring the Invocation 2008-07-16 05:09:04 +02:00
cb5d1fd03b WIP further refactored the nodeoperation 2008-07-14 03:34:18 +02:00
a46bfd2bf6 integrate the GTK-Gui (draft) in the SCons build 2008-07-11 03:51:37 +02:00
012944a461 fix compilation problem with Boost 1.35 2008-07-09 05:25:55 +02:00
7c56c71d00 Documentation Update, including info about ongoing builder work 2008-07-07 23:56:34 +02:00
98a542f920 WIP drafting how to build all possible operation configs 2008-07-05 18:50:54 +02:00
6310e9789b Merge ct/devel to see if there are any problems... 2008-05-20 04:58:16 +02:00
6b1be6b7e7 Refactorings regarding use of smart-ptr, Placement and BuilderTool 2008-05-19 08:46:19 +02:00
86162ad314 moved new code into library modules and adapted BuilderTool to use it.
BuilderTool_test now passed.
2008-05-19 08:38:13 +02:00
Christian Thaeter
3b6713b23c build common and (re-)enable backend build (C++ part)
- not (yet) merged backend C parts are commented out for now
2008-05-19 01:50:53 +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
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
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
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
dffd635482 switch asset ordering impl to utilize the new custom smart-ptr
passes compiler and test suite, finally!
TODO: also switch the derived asset kinds to use P<Media>, P<Struct>,....
maybe do the same with MObject?
2008-04-05 07:26:54 +02:00
2b529e3fac customized smart-ptr based on std::shared_ptr
hopefully resolves long standing problems with odering and type relations
of objects handled via smart ptr
2008-04-05 05:57:54 +02:00
6596699f6e WIP code for handling registration of defaults objects.
Missing some TODOs and test coverage
2008-03-31 03:21:28 +02:00
c4128c9816 merge Lumiera renaming
WIP doesn't pass the compiler (not due to the merge)
2008-03-10 08:38:59 +01:00
e737b9ef1b Lumiera renaming -- source code 2008-03-10 06:09:44 +01:00
fbacb4cdb1 Lumiera renaming -- build system 2008-03-10 05:07:21 +01:00
0baf15ca94 Cinelerra-3 renamed to Lumiera -- copyright and documentation 2008-03-10 04:25:03 +01:00
a3d91286c8 WIP defaults manager implementation 2008-02-29 18:58:29 +01:00
919a57ed9a doc comment fix 2008-02-22 04:58:37 +01:00
ea0416881e WIP towards a asset::Struct naming scheme 2008-02-18 04:16:53 +01:00
6346723069 Rename 'Port' to 'Pipe' II: source code 2008-02-14 04:12:30 +01:00
c77e245f54 make the MockConfigQuery reentrant.
Basic asset::Struct factory now running (utilizing the MockConfigQuery).
basicporttest.cpp not yet running, but get some lines ahead :-P
2008-02-13 04:41:58 +01:00
d33242b8cb filled in lots of daunting details regarding structural assets.
StructFactury still very preliminary. Now able to fill the table with mock queries.
TODO: fix assertion failure...
2008-02-10 17:23:16 +01:00
531d432f02 continue with the mock impl for ConfigRules.
probably using a table of pre stored boost::any records
2008-02-06 05:34:19 +01:00
0d50639d70 Fix problem with static initialisation order 2008-02-02 14:52:23 +01:00
edbf5fd733 ConfigRules dependency problems solved by using the new SingletonSubclassFactory 2008-02-01 15:35:33 +01:00
e2ee8f081b augment the singleton factory to create a subclass.
Helps avoiding dependency problems, because client code is no longer coupled to the implementation class
2008-02-01 03:48:09 +01:00
250954bb5f oops... causes the exception type to be upcasted (from Fatal to Error) 2008-02-01 03:38:29 +01:00
706589d422 WIP yet more stubs to make it link... 2008-01-29 05:39:32 +01:00
1614769664 WIP start implementing the DefaultsManager by the (Mock)ConfigRules.
pass compiler, but loooots of undefined linker refs....
2008-01-28 06:05:46 +01:00
000538f6ef add stubs to make it link, add some typelist utils 2008-01-27 23:40:45 +01:00
c3b1048fc4 merge buildsystem improvements 2008-01-27 03:58:24 +01:00
43f8faabd1 small cleanup 2008-01-27 03:11:39 +01:00
1dd9989516 some tweeks to the (scons) build system, using precompiled header 2008-01-27 02:39:13 +01:00
398bed8d72 WIP some more details on the (planned) Prolog interface --
basically I know enough to provide a mock implementation now.
Compiles OK but fails to link because of missing StructFactory implementation
2008-01-21 02:57:09 +01:00
b0be36c8fb early draft how the Prolog interface /could/ be...
(need to draft it in order to provide a mock implementation)
2008-01-19 14:24:24 +01:00
430f38ab2f started a mock implementation for the capability queries.
Later on, I want to embedd Prolog, but for now it is more important to get ahead with the builder...
2008-01-18 16:43:53 +01:00
b7bce2a2f7 WIP defined lots of details regarding the handling of Ports 2008-01-12 18:19:37 +01:00
9e6459cc47 new visitor implementation now ready for use 2008-01-05 19:42:43 +01:00
8fe1a901ba use typelists to declare to visit a collection of types 2008-01-05 18:54:10 +01:00
bf93301211 add an type-list facility inspired by Loki 2008-01-05 17:23:38 +01:00
9aa3cc11e8 new visitor implementation now running.
Veryfied the tests, cleaned up. TODO: concurrency, error checks and convienience shortcuts.
2008-01-05 14:26:28 +01:00
0bb8051fc5 WIP adjusted BuilderTool (specialisation) and tests....
compiles ok, but segfaults
2008-01-05 01:38:32 +01:00
2bd931b6da WIP replaced former implementation with my new visitor concept.
The former implementation was more closely based on Loki's Acyclic Visitor. Swapped in the working new
concept and adapted the policies and tests. Doesn't compile yet
2008-01-04 15:10:18 +01:00
46b200809e WIP desperately trying to work out a really usable visitor implementation 2007-12-22 08:45:09 +01:00
89c9d2f3df covered the more esoteric cases for visiting tools and made BuilderTool work 2007-11-29 07:07:14 +01:00
78a4bf8e6b introcuded a catch-all hook when applying visiting tools to a hierarchy 2007-11-28 04:19:21 +01:00
6d4133cefe WIP generalizing my builder tools to use the acyclic visitor.
inspired by Loki; ichthyo intends to use this pattern for typesafe visiting within the EDL too...
2007-11-27 06:40:51 +01:00
6bdf0e2cdc put my name in the copyright claim of those files I have written in the last months.
(search & replace). Please feel free to add your name to any files to which you added any contributions.
ALL SOURCECODE IS LICENCED UNDER THE TERMS AND CONDITIONS OF THE GPL (2 and above)
2007-11-27 03:19:35 +01:00
940d6de201 Asset/Clip now using the dependency relation.
DependantAssets_test now complete, finally...
2007-11-26 04:27:27 +01:00
95af2d50cc worked out some important details of deleting and unlinking assets 2007-11-22 06:26:55 +01:00
66daf409d4 specify (as test) how asset dependency should work 2007-11-21 06:08:01 +01:00
49459b4bf7 Fix inheritance of asset::Unknown, fix broken test, enable MakeClip_test 2007-11-20 05:20:01 +01:00
5dcb9cf343 WIP implemented basic asset dependencies,
> todo: actually setup dependencies in the various ctors, fix the broken test!
2007-11-19 04:58:18 +01:00
b07d8b9687 passes the compiler again.
(using direct references instead of smart-ptrs for the 'backlink' from Clip-MO to asset::Media)
2007-11-14 10:10:52 +01:00
89e4fa9db7 WIP getting the placement part through the compiler,
still having to solve problems with the asset-to-MObject relation
2007-11-12 02:05:39 +01:00
38236e607d some further cleanup 2007-11-10 21:50:55 +01:00
c58fd16edb WIP implement some Placement implementation 2007-10-22 05:15:08 +02:00
d7e7d3d613 WIP implementing Placement and MObject factory functions 2007-10-19 06:39:52 +02:00
82e9519e73 WIP specify some details of the session interface and the relation of session and EDL 2007-09-27 04:45:06 +02:00
3fdd16ff48 draft adding clips and simple editing operations
WIP: lots of tests, no implementation, doesn't compile...
2007-09-25 23:39:46 +02:00
1d462845dd oops... class TargetObject defined twice 2007-09-24 02:35:12 +02:00
eef591f873 WIP injecting a test-mock instead of a singleton 2007-09-23 16:50:05 +02:00
7585c5c358 WIP reorganize singleton factory 2007-09-23 13:31:33 +02:00
dc97acde5e added test covering Asset category tuple 2007-09-19 05:05:25 +02:00
3927f7d5d8 WIP: ordering of Assets, dump AssetManager, bugfix (partially...) 2007-09-17 05:47:22 +02:00
5da016aa5a WIP integration of Asset types and AssetManager 2007-09-16 03:02:05 +02:00
c746629312 util for sanitizing a string, making it usable as identifier 2007-09-14 19:18:11 +02:00
26374ce409 WIP: fleshed out a good deal of the AssetManager foundation.
compiles ok, singleton test pass (most of asset creation just commented out...)
2007-09-10 06:45:36 +02:00
79c88c2c87 outlined Asset and AssetManager interfaces...
urrgh. this was rather tough to get right. Main problem is avoiding switch-on-type.
2007-09-07 23:24:13 +02:00
45ed4b4264 extracted Singleton pattern into a separate Template.
I prefer this approach, so I can ignore threadsafety for the moment and add it later just by switching policy
2007-09-06 22:13:26 +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
307945b629 wrote test: object smart pointer creation factory 2007-08-29 05:03:21 +02:00
d54b600382 implemented C++ error handling system 2007-08-26 19:14:39 +02:00
8c7a2055e8 integrate Doxygen into SCons build. some doc fixes 2007-08-24 16:41:16 +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
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
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
45c2167700 wrote a very simple Test-Suite runner and provided a Tests source tree 2007-08-13 09:55:32 +02:00
8f35701ca8 initial design for a factory encapsulating creation of smart-pointers 2007-08-12 01:04:55 +02:00
ebb4da6cc7 ** Start Coding ** Renderengine sources generated, reformatted and made compilable. 2007-08-08 04:50:02 +02:00