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
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
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
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
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
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
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