Commit graph

277 commits

Author SHA1 Message Date
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
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
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
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
9f087bdc93 scons: temporarily skipped locking-test, as it doesn't compile (yet) 2007-09-12 07:27:13 +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
39cd8bb121 we need the usual README, INSTALL, AUTHORS, and LICENSE file
These initial Versions are based on the Cinelerra2 source tree.
Feel free to tailor and keeping up-to-date as necessary.
2007-09-06 18:16:45 +02:00
Christian Thaeter
65ce98c87d enough lists tests for basic functionality, more are added as needed 2007-09-05 22:59:01 +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
1cadae2d75 TDBS (test driven brain storming) :-) 2007-09-03 02:33:47 +02:00
f86493e466 SCons: run tests in bindir 2007-09-02 23:57:40 +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
85a8f87245 Preliminary Design of the Asset Subsystem.
While I don't want to target this complex now, I designed some of the fundamental aspects
as far as needed to be able to add Objects to the EDL and build a render graph from them.
2007-09-02 17:51:46 +02:00
Christian Thaeter
7445c1798d generic locking.h for shared declarations 2007-09-02 16:19:50 +02:00
Christian Thaeter
dd67216f38 notes about locking primitives 2007-09-02 14:54:25 +02:00
Christian Thaeter
0d1097315c renamed locking.* to condition.* 2007-09-02 13:56:33 +02:00
Christian Thaeter
ffdc06d98f removed tests/.gitignore please run tests in $builddir (the patterns ignored sourcefiles) 2007-09-02 13:53: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