Commit graph

3273 commits

Author SHA1 Message Date
113678ff93 some refacturing of the (preliminary) struct asset impl... 2008-02-15 02:56:25 +01:00
71c7bd6a82 don't build testsuite for default target 'build'
> (use 'scons testcode' or 'scons check' for this)
2008-02-14 16:14:12 +01:00
93abddaa57 Merge cumulated changes to the SCONS build system 2008-02-14 15:57:24 +01:00
7884a69eb1 this will become a branch tracking the scons build system in isolation 2008-02-14 15:21:34 +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
061a84f2be WIP implementing Ports, add DefaultsManager... 2008-01-14 01:01:11 +01:00
b7bce2a2f7 WIP defined lots of details regarding the handling of Ports 2008-01-12 18:19:37 +01:00
d255d68d35 reflect design decisions in UML, new track-MO class, start replacing tracknumber by Port 2008-01-07 18:16:03 +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
809301a60e proof-of-concept visitor implementation now working 2008-01-04 01:44:40 +01:00
46b200809e WIP desperately trying to work out a really usable visitor implementation 2007-12-22 08:45:09 +01:00
b61b34af81 design considerations, how to organize the EDL as far as placing and building is concerned 2007-11-30 05:06:27 +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
47eeaaaf43 Merge from branch 'ichthyo/builder': Basic Placement handling, create Clip
Merge branch 'builder'
2007-11-27 00:55:25 +01:00
7aca8cdf86 fix test-references 2007-11-27 00:52:26 +01:00
4593c0c6ff bring along changes from Cehteh and Velmont
Merge commit 'pipapo/master'
2007-11-26 23:28:25 +01:00
940d6de201 Asset/Clip now using the dependency relation.
DependantAssets_test now complete, finally...
2007-11-26 04:27:27 +01:00
855d0706d9 implemented enabling/disabling of dependant assets,
WIP: passes test, but code still needs some cleanup...
2007-11-24 04:18:54 +01:00
393f0944c1 DependantAssets_test now (partially) running 2007-11-23 04:37:50 +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
ce51909ef7 WIP reworked approach for clip-to-clipAsset relation.
(compiler errors spotted a design problem)
2007-11-13 03:37:58 +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
5c2fa504e7 WIP update test code to reflect the new placement properties.
still have to convince the compiler that i am not a terrrorist....
2007-11-10 23:09:15 +01:00
38236e607d some further cleanup 2007-11-10 21:50:55 +01:00
242640c4fd some fixes 2007-11-10 02:27:16 +01:00
c58fd16edb WIP implement some Placement implementation 2007-10-22 05:15:08 +02:00
Christian Thaeter
4af35786d7 Merge branch 'velmont' of git://git.pipapo.org/cinelerra3/mob 2007-10-20 18:21:14 +02:00
Odin Omdal Hørthe
c2f5665e56 More doxygen documenting in src/lib/. Some name fixes, some new docs. 2007-10-20 18:10:35 +02:00
Odin Omdal Hørthe
9952aa33a4 Updated function docs to use the actual variables and cut textwidth at 105 2007-10-20 17:50:42 +02:00
Odin Omdal Hørthe
8afd4e1b8d Documented cinelerra_plugin_lookup in plugin.c 2007-10-20 17:38:03 +02:00
Odin Omdal Hørthe
74a7bf4493 Made a @file-skeleton for doxygen for the files in src/lib/ 2007-10-20 17:27:27 +02:00
Odin Omdal Hørthe
d9c9b4e15e Moved function doc from rwlock.h to rwlock.c 2007-10-20 17:08:12 +02:00
Odin Omdal Hørthe
e628110d45 Moved function doc from plugin.h to plugin.c 2007-10-20 17:03:59 +02:00
Christian Thaeter
b67af669ee removed check for list=!NULL which barfs on gcc 4.2 2007-10-20 17:00:53 +02:00
Odin Omdal Hørthe
9bf36e1eb4 Moved function doc from mutex.h to mutex.c 2007-10-20 16:57:39 +02:00
Odin Omdal Hørthe
6eea8a60e0 Moved function doc from error.h to error.c 2007-10-20 16:52:59 +02:00
Odin Omdal Hørthe
4b406b2a99 Moved function doc from condition.h to condition.c 2007-10-20 16:31:24 +02:00
dee1bab28b WIP implement the missing create-Clip-from-Asset mechanics 2007-10-19 22:34:07 +02:00
d7e7d3d613 WIP implementing Placement and MObject factory functions 2007-10-19 06:39:52 +02:00
a089e5ff15 WIP maybe nailed down the design problem regarding placements now.... 2007-10-18 17:29:01 +02:00
08f10c2a2e WIP trying to get the Placement stuff right,
but seemingly still having some design mismatch...
2007-10-13 05:13:28 +02:00
fc1c39dc44 WIP: sketch handling placements and mobjects (as test) 2007-10-12 04:21:36 +02:00
0ad1a295b5 Merge from Builder-Branch: Assets (cont...), current Session,
proposed interface to backend for querying channel infos

Merge branch 'builder'
2007-09-28 14:06:07 +02:00
fadd31282f implement access to current session.
add lots of UNIMPLEMENTED stubs and finally get the sourcebase through the compiler....
2007-09-27 23:26:54 +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
38b47b7f93 proposal for the MediaAccessFacade (interface to bakend), incl. Mock test 2007-09-24 16:20:41 +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
02b1926840 WIP: start implementing the new entities 2007-09-22 16:44:50 +02:00
cc3d3397a7 documented the new design in more detail 2007-09-22 16:00:36 +02:00
22b33a0d58 merge basic Assetmanager (builder branch)
Merge branch 'builder'
2007-09-20 03:48:55 +02:00
Christian Thaeter
9bccc7b29e Merge branch 'master' of git://git.pipapo.org/cinelerra3/ichthyo into library 2007-09-19 09:39:16 +02:00
Christian Thaeter
d5fe116941 add 'references' to lib 2007-09-19 08:44:58 +02:00
Christian Thaeter
ba716dbda4 better smart references, still raw meat 2007-09-19 07:01:12 +02:00
Christian Thaeter
96b9f65e6f some unmmerged changes? 2007-09-19 06:58:54 +02:00
dc97acde5e added test covering Asset category tuple 2007-09-19 05:05:25 +02:00
7ef8372129 equality and ordering of assets implemented 2007-09-19 03:55:45 +02:00
c81ef3bb3c Merge branch 'builder' 2007-09-18 05:24:22 +02:00
14d1c5a34b basic AssetManager works now (creating, registering, querying),
including memory management. Ordering is still WIP.
2007-09-18 05:16:56 +02:00
3927f7d5d8 WIP: ordering of Assets, dump AssetManager, bugfix (partially...) 2007-09-17 05:47:22 +02:00
3a416f9e41 WIP test coverage, debugging...
still have to fix a segfault :-)
2007-09-16 17:17:54 +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
Christian Thaeter
aa60abd55e Merge branch 'master' into library 2007-09-14 03:45:19 +02:00
Christian Thaeter
38ce0afec4 smartref.h WIP 2007-09-13 20:24:18 +02:00
2a8503fe5a merge builder-branch, basic AssetManager implementation
Merge branch 'builder'
2007-09-12 07:16:26 +02:00
0950616b21 sync with new backend code
Merge commit 'pipapo/library'
2007-09-12 07:15:20 +02:00
814f6fc734 CreateAsset_test now passes the compiler, after quite some tinkering.... 2007-09-12 06:53:12 +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
Christian Thaeter
2aaad10bbd fixed typos and added some basic tests for the llist.h 2007-09-05 07:07:52 +02:00
Christian Thaeter
3ce5d3cedd revived, beefed up and documented a old linked list implementation, UNTESTED 2007-09-05 02:44:23 +02:00
737da9c868 continued wishful thinking in Test form 2007-09-04 05:09:08 +02:00
Christian Thaeter
3dcd7c625a Merge branch 'library' 2007-09-03 18:31:07 +02:00
Christian Thaeter
f1aba12af8 renamed *lock to *acquirer 2007-09-03 06:40:44 +02:00
Christian Thaeter
d508f7cb7a rwlock first implementation 2007-09-03 06:35:13 +02:00
Christian Thaeter
04f9424ad8 forgotten to commit the Makefile.am with the last commit 2007-09-02 23:25:38 +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
0a31c7d2db mutex implementation 2007-09-02 17:52:30 +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
Christian Thaeter
af7bfd6fa7 just a scratch 2007-07-19 04:31:06 +02:00
Christian Thaeter
4fe6cd6f8b Merge commit 'ichthyo/scons' 2007-07-18 00:13:32 +02:00
Christian Thaeter
ba4a14e183 added a temporary CINELERRA_DIE macro here, all allocation failures are now a CINELERRA_DIE 2007-07-17 16:06:00 +02:00
Christian Thaeter
9d0a2af8c6 plugin lookup 2007-07-17 04:40:07 +02:00
Christian Thaeter
7d669d9abf add error handling to existing functions 2007-07-15 20:06:20 +02:00
Christian Thaeter
6e9e34caa3 implemented error functions 2007-07-15 17:46:23 +02:00
Christian Thaeter
260e7c0276 license headers 2007-07-15 17:08:45 +02:00
Christian Thaeter
b083e8918c preparation for next things, TLD, locking, errors... 2007-07-15 16:56:21 +02:00
Christian Thaeter
a06edceb2c little docing and 3 error messages so far 2007-07-15 02:46:44 +02:00
Christian Thaeter
a313ea87a5 Work in progress, just for review 2007-07-15 02:23:37 +02:00
Christian Thaeter
05721f504e add few DIR_INFO's in src 2007-07-14 21:28:47 +02:00
0a9c2599dd some cleanup. Set Version=3+alpha.01, add a helloworld-main to make it compile 2007-07-03 00:13:12 +02:00
c79d3c906a implemented additional functions like creating a tarball 2007-07-02 23:11:49 +02:00
7719c710ae finished basic implementation of SCons build system 2007-07-02 23:10:26 +02:00
Christian Thaeter
74b8f74f3c add dirs with DIR_INFO files describing intended content 2007-06-18 02:02:16 +02:00