Christian Thaeter
bc055ab803
Probabilistic Splay Tree implementation
...
Generalized an older implementation I already had, the splay formulas need
some improvements. Documentation comes next.
2008-09-06 12:22:43 +02:00
Christian Thaeter
e2b7561c76
FIX: put a note to list_relocate, add test
...
There was a fatal thinko, llist_relocate NUST NOT be called on a empty
list, the pointers will just point to invaildated memory. This cant be
handled by the llist code. The programmer is responsible to take proper
actions.
2008-09-06 12:07:38 +02:00
Christian Thaeter
6c34fc63f1
Move the resource announce/forget into the rwlock init/destroy
2008-09-06 12:07:38 +02:00
Christian Thaeter
0debd27d89
Merge branch 'master' of git://git.lumiera.org/LUMIERA into library
...
* 'master' of git://git.lumiera.org/LUMIERA: (80 commits)
fix some warnings
fix name of 'doc' target, remove the OPENGL flag for now
improved the architecture overview (drawing)
Fixed hyperactive scroll wheel zoom
Fixed a bug with body redrawing and added some documentation
Added some documentation to body and ruler
Added support for audacity style playback period, and added some
Added time indication
improved the scons build to report all missing dependencies instead of stopping at the first one
add my favorite lumiera logo to the TiddlyWiki page
scons: use Doxygen builder
makefile typo fix
disable precompiled headers for now.
replace the homebrew GCH-builder by a lib solution
yet more make fixes
make build work again with SCons 0.96
preliminary fix for the SCons build for Debian/testing
automatically set DEBUG when using the (current) NoBug default ALPHA
Fix build with gcc 4.3
integrated SVG Icon rendering into the SCons build
...
2008-09-06 11:53:16 +02:00
43291cb9cc
fix some warnings
2008-09-05 17:01:24 +02:00
Michael Ploujnikov
387ba8c321
find and configure NoBug by using pkg-config
2008-08-30 13:28:24 -04:00
Michael Ploujnikov
8bdab41ea0
factor out -I$(top_srcdir)/src/ to a top-level AM_CPPFLAGS
...
also remove a related unnecesary comment in src/gui/Makefile.am
2008-08-30 12:05:21 -04:00
Simeon Voelkel
700a7e9645
Added directive-parser and tests for a content-check of a parsed configitem
2008-08-27 11:00:10 +02:00
Christian Thaeter
840303fedf
makefile typo fix
2008-08-23 11:39:41 +02:00
616d522ea9
yet more make fixes
2008-08-21 09:58:34 +02:00
4746dcd233
Fix build with gcc 4.3
...
(Explanation: 4.3 detects when a local typedef redeclares a templated type
from an enclosing scope. This was never legal anyway)
2008-08-20 15:45:36 +01:00
c5778f1540
Merge from proc (draft imp of pull() call)
2008-08-17 18:35:49 +02:00
749f7a41c6
Landing draft implementation of pull() call
2008-08-17 04:22:46 +02:00
Christian Thaeter
1dc836fc3d
Fixed configitem_move, first parsing tests pass now
2008-08-13 10:50:27 +02:00
Christian Thaeter
2f776858ee
FIX: Remove llist_move again and put a note to list_relocate, add test
...
There was a fatal thinko, llist_relocate NUST NOT be called on a empty
list, the pointers will just point to invaildated memory. This cant be
handled by the llist code. The programmer is responsible to take proper
actions.
2008-08-13 09:21:33 +02:00
Simeon Voelkel
a8a186bb93
Added two very simple tests for configitem
2008-08-13 08:35:31 +02:00
Simeon Voelkel
bd2cc4a026
Typo fix
2008-08-13 08:34:44 +02:00
Christian Thaeter
cf3c601a77
Config type for 'words' and some tests
2008-08-10 12:28:02 +02:00
Christian Thaeter
32c1546ec1
Move the resource announce/forget into the rwlock init/destroy
2008-08-10 12:27:47 +02:00
Christian Thaeter
8b901567ed
getting strings from the config
...
a string can be either quoted (single or doublequoted), then the text
between this quotes is returned, quotes are escaped by doubling themself,
no chopping at either end is done,
or not quoted then the the tabs and spaces are chopped from the value
at either end.
2008-08-10 12:26:19 +02:00
Christian Thaeter
3be0d38d73
report syntax error in value instead type error
2008-08-10 12:26:19 +02:00
Christian Thaeter
eb60e71136
few more tests for the config subsystem
2008-08-10 12:26:19 +02:00
Christian Thaeter
962bceec72
high level getter for 'number' type
...
WIP: doesn't register the default yet, no configfiles yet
just returning env overrides or defaults
2008-08-10 12:26:19 +02:00
Christian Thaeter
b691a9d7bb
Simple config init/destroy, beginning of a config-testsuite
2008-08-10 12:26:18 +02:00
Christian Thaeter
0bd886249b
throw away the 'references' implementation, we probably don't need it
...
(could be reincarnated someday later when we find out that we need it)
2008-08-10 12:19:50 +02:00
Christian Thaeter
dde54ec7b0
Adapt the condition implementation to the macro SECTION based approach
2008-08-10 12:19:50 +02:00
Christian Thaeter
d8f59fb722
Simplyfiy resource management
...
Move the resource announce/forget into the rwlock init/destroy
Move resource announcement/forget into the mutex init/destroy
2008-08-10 12:19:09 +02:00
Christian Thaeter
c11915a4c4
new locking section macros for RWLocks, old acquirer bites the dust
2008-08-10 12:19:09 +02:00
Christian Thaeter
777458741a
moved the locking tests from test/locking/ to test/library/
2008-08-10 12:19:09 +02:00
Christian Thaeter
07f06d0d88
big mutex update, dropped old acquirer
...
Acquiring mutexes is now wraped in a easy to use MUTEX_SECTION macro.
This scheme will be extended for chained lock propagation soon.
Notes:
* NoBug resourcemanagement is now part of the lower layer,
RESOURCE_ENTER/RESOUCE_LEAVE are maintained automatically
* one must still call RESOURCE_ANNOUNCE/RESOURCE_FORGET, because we want
to maintain high level information about resources.
* MUTEX_SECTIONS must not be left with any kind of jump
2008-08-10 12:19:09 +02:00
Christian Thaeter
f5df65b0a1
add a translation function to tmpbuf
...
tmpbuf_tr takes an input string and 2 sets of characters plus a
default character. It produces a output string with all
characters from the first set translated to the correspondending
character in the 2nd set, similar to the shell 'tr' util.
2008-08-10 12:19:08 +02:00
Christian Thaeter
9826fd180d
renamed the uuid to luid
...
uuid's are somewhat standardized, we use our uid's slightly differently,
so change the name not to be confused with standards.
* Small fix for luid generation
* build a 'luidgen' tool which will be used by the interface gen later
* add emacs vars
* include the luidgen tool in automake
2008-08-10 12:18:20 +02:00
07975e520f
change ConfigSelector to accept arbitrary factory function signatures
2008-08-05 03:46:06 +02:00
29e33e4eb4
generating (wiring) configs now considered final
2008-08-04 05:42:55 +02:00
cf7bd178de
WIP further refactorings.
...
Put nodeoperation.hpp and ConfigSelector in a sub namespace engine::config
2008-08-03 16:47:38 +02:00
847cc9c267
WIP rearranged some headers
2008-07-30 03:56:13 +02:00
276ac8e082
test building a table of factories dealing with the possible configs
2008-07-29 18:03:37 +02:00
0dec8de6a3
test covering ennumeration of possible configs
2008-07-28 04:33:10 +02:00
06cc4c93fd
test the combination generator
2008-07-24 06:38:21 +02:00
86f805f803
more testing
2008-07-22 08:19:03 +02:00
e5d75eee9b
test covering the stack-wise buffer pointer table allocation
2008-07-21 03:25:06 +02:00
95632785a8
Merge SCons buildsystem improvements from master
2008-07-11 06:15:35 +02:00
50f8be0e16
merge after integrating backend/library work
2008-07-11 05:20:22 +02:00
bfa4b2bc70
(irrelevant) adjustments to make the SCons build of the nonexistant source happen
2008-07-11 05:01:56 +02:00
e04c7d54cb
merge after finishing DefaultsManager; build split in several static libs
2008-07-11 04:39:29 +02:00
012944a461
fix compilation problem with Boost 1.35
2008-07-09 05:25:55 +02:00
b5d2e9486e
small adaptions to scons, fix a test
2008-05-20 13:04:22 +02:00
6310e9789b
Merge ct/devel to see if there are any problems...
2008-05-20 04:58:16 +02:00
Christian Thaeter
f58be32a05
Fixes after rebase
...
* remove _GNU_SOURCE from tests
* re-enable C source building in backend
2008-05-19 16:37:50 +02:00
Christian Thaeter
dd63a0e190
filedescriptor cleanup and fixes
...
basically working now, flag masking is not complete yet.
2008-05-19 16:27:28 +02:00
Christian Thaeter
232afe77e9
Filehandling
...
* add 'backend' for backend global initialization/destruction
and common functions.
* WIP: 'file' acts as interface to named files, provides posix
filehandles with and acquire/release function pair.
* 'filehandle' manages posix filehandles internally, refcounted.
* WIP: 'filehandlecache' keeps unused filehandles in a MRU cache
* WIP: test for filehandle management
* improved filedescriptor test
2008-05-19 16:27:28 +02:00
Christian Thaeter
5286838886
filedescriptor handling basics working, including some tests
...
It is now possible to acquire/release filedescriptors for existing files
and files to be created.
Filedescriptors are managed in a registry by refcounts, they get
automatically destructed when the last user releases them.
2008-05-19 16:27:28 +02:00
Christian Thaeter
7a266f22ba
integrate filedescriptor tests
2008-05-19 16:27:27 +02:00
Christian Thaeter
5659219e55
correct date in copyright header
2008-05-19 13:31:18 +02:00
Christian Thaeter
bc436d1d6a
fix typo in component test
2008-05-19 13:30:55 +02:00
Christian Thaeter
e1b8849d0c
build 'common' tests
2008-05-19 13:30:20 +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
d6d6a10404
add components test build
2008-05-19 01:55:05 +02:00
Christian Thaeter
b6bd181ca8
correct pasting glitch and copyright header date
2008-05-19 01:48:02 +02:00
662678f8d1
WIP refactored in preparation of splitting into several lib modules
2008-05-18 05:08:11 +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
Christian Thaeter
2a1d6c6232
Fix: safeclib-test
2008-05-13 21:43:08 +02:00
Christian Thaeter
a9cf2c719d
Fix: uuid includes
2008-05-13 21:42:51 +02:00
Christian Thaeter
ecd6ba66b8
safeclib testsuite
2008-05-13 20:57:19 +02:00
Christian Thaeter
646d6fa0d3
Test simplification, plaything
...
* test.h provides some macros to aid test writing
* applied that to some tests
2008-05-13 20:57:18 +02:00
Christian Thaeter
0b8b5bf507
uuid functions
2008-05-13 20:54:05 +02:00
Christian Thaeter
27ca8a7362
let LUMIERA_DIE take an error identifier as parameter
2008-05-13 20:54:05 +02:00
85b0029166
WIP: how to get at the actual wrapper (here Placement) from within BuilderTool.
...
Nasty problem ... draft solution using boost::variant. To be reconsidered later...
2008-05-11 15:44:24 +02:00
03047e6d17
WIP maybe a solution for getting the correct wrapper within Builder Tools.
...
works, but problem is: you need to know the exact type of the wrapper, e.g. Placement<Clip> or shared_ptr<Media>
2008-04-26 05:38:19 +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
024e3c4dbc
change build to link in separate libs, also split test executable.
...
now building liblumiback.a liblumiproc.a liblumi.a
build a separate test-common executable (for everything in src/common)
include a precompiled header for assets.
2008-04-12 04:55:18 +02:00
c29b6bdd9a
fix include for testsuite
...
(note I did a partial merge and didn't take any of the new sourcefiles,
so probably this is already fixed on cehtehs branch backend)
2008-04-12 03:09:28 +02:00
f7bfe50bc9
Merge branch 'builder'
2008-04-12 02:12:41 +02:00
a03e3c5e73
Merge from backend: wikis, admin-scrits, test.sh
...
(dont merge any srcfiles)
2008-04-12 02:07:16 +02:00
Christian Thaeter
15bab21da8
Merged the timestuff removal, done by simeon
...
(cherry picked from commit bc5a301d01ac323bafcc434e33f6043678749f14)
2008-04-12 01:12:18 +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
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
24825a13f3
registry for default objects now passing test
2008-04-05 22:52:20 +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
162976a4cf
WIP reorganize the ordering relation on assets
...
(should simplify handling of comparisons at various places)
2008-04-03 03:50:28 +02:00
3d2791b91e
WIP some fixes; add test for a utility function
2008-04-02 04:06:08 +02:00
e9a364f7ad
WIP test covering implementation of the default object registry
...
(doesn't yet compile)
2008-04-01 06:57:00 +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
dc10c78a83
merge Lumiera renaming
2008-03-10 09:28:58 +01: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
4af2d47995
test-driven-brainstorming: DefsManager interface building blocks
2008-02-29 04:27:24 +01:00
919a57ed9a
doc comment fix
2008-02-22 04:58:37 +01:00
4bbf3aa53f
test-driven-brainstorming: how to handle query-for-default?
2008-02-20 04:05:37 +01:00
ea0416881e
WIP towards a asset::Struct naming scheme
2008-02-18 04:16:53 +01:00
93abddaa57
Merge cumulated changes to the SCONS build system
2008-02-14 15:57:24 +01:00
6346723069
Rename 'Port' to 'Pipe' II: source code
2008-02-14 04:12:30 +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
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
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
1dd9989516
some tweeks to the (scons) build system, using precompiled header
2008-01-27 02:39:13 +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
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
cb602663d0
WIP ... obviousely this will segfault
...
And the lession is: class static variables and dynamic linking are dangerous
2008-01-05 12:16:07 +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
527ce96f83
WIP draft of a visitor implementation promising to deliver the necessary features
2007-12-24 06:12:29 +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
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
8473016245
add test-locking to scons build
2007-11-26 23:50:06 +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
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
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
Christian Thaeter
9e76c6e33c
seems newer automake dont like the $(builddir) here
2007-10-20 16:56:26 +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
5d54cfc89e
planning next implementation steps
2007-09-20 05:36:08 +02:00
22b33a0d58
merge basic Assetmanager (builder branch)
...
Merge branch 'builder'
2007-09-20 03:48:55 +02:00
526e62aa97
SCons: (re)enable locking and lib-tests
2007-09-20 03:46:14 +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
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
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
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
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
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
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
d7d3cfe876
Sync with cehteh's code
...
Merge commit 'd50ab9fe2125f985eb4ae9a610f4944cddc425bd'
2007-09-02 23:19:56 +02:00
Christian Thaeter
0a31c7d2db
mutex implementation
2007-09-02 17:52:30 +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
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
5832cfeae2
Merge branch 'master' of git://git.pipapo.org/cinelerra3/ichthyo
2007-08-30 01:42:06 +02:00
Christian Thaeter
d7eae39ec3
fixed test selection,
...
specifications are given as comma separated list of words which are part of the name of a test suite
2007-08-30 01:40:07 +02:00
Christian Thaeter
98d3716fcb
Merge branch 'library'
2007-08-30 00:33:38 +02:00
Christian Thaeter
d1198e7015
Merge branch 'testsuite'
...
Conflicts:
wiki/index.html
2007-08-30 00:33:25 +02:00
Christian Thaeter
b5ddc39a6c
add tests specifications
...
test.sh running only the tests which match specifications given as arguments or in the env var TESTSUITES
2007-08-30 00:27:17 +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
9472c115e7
tests for time handling
2007-08-24 06:02:51 +02:00
6d9ce217bd
played a bit with doxygen and tried some small tweeks...
2007-08-24 02:58:13 +02:00
dba25a7f7b
Merge doxyfile, C++plugin etc from Cehteh
...
Merge commit 'pipapo/master'
2007-08-24 00:39:35 +02:00
e3d1c35ca3
documentation of my internal testcase runner
2007-08-23 19:13:28 +02:00
5575a7679d
wrapper for cmdline parsing, finished testsuite-runner, solved shutdown-memoryleak
2007-08-23 17:52:33 +02:00
Christian Thaeter
1b85206c85
time.h for initial! review
2007-08-23 06:57:08 +02:00
Christian Thaeter
ac5c09f278
TDD? TDB! Test-Driven-Brainstorming
2007-08-21 17:33:19 +02:00
Christian Thaeter
f428295a33
plugin in C++
2007-08-20 03:22:56 +02:00
91d04f7019
Merge from Cehteh
...
Merge commit 'pipapo'
2007-08-19 21:59:18 +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
27c3451aa1
plugin test update, prepared for C++
2007-08-19 05:53:43 +02:00
0f3bf1aa31
Merge commit 'pipapo'
2007-08-18 15:45:13 +02:00
Christian Thaeter
0bb8620a67
test renumbered
2007-08-18 15:07:13 +02:00
aaf2ee4928
now the testsuite runs with SCons as well..
2007-08-18 06:13:39 +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
8c1f324c55
fixed example for plugins
2007-08-18 05:05:58 +02:00
Christian Thaeter
4e8cc3d7b6
automake fixes
2007-08-18 05:04:10 +02:00
963ce7ec53
buildsystem: aligned/automated building of tests, now build the core as static lib
2007-08-18 04:28:14 +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
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
d2c13807bb
disable (non finished) plugin test, fix some bugs
2007-08-14 04:21:47 +02:00
Christian Thaeter
8405b42d64
Merge branch 'testsuite', some bug remain fixed in next commit
...
Conflicts:
Makefile.am
configure.ac
tests/examples/Makefile.am
2007-08-13 21:40:25 +02:00
Christian Thaeter
42b3e12180
merge in progress, some files left out
2007-08-13 21:36:22 +02:00
Christian Thaeter
69c6215277
more automake merges
2007-08-13 21:30:41 +02:00
Christian Thaeter
7470a6d073
cleanup and add stderr to testlog when test failed
2007-08-13 17:45:43 +02:00
Christian Thaeter
ce3eb42131
test suite works now basically
2007-08-13 17:22:07 +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
9404b5d1f1
cosmetics, copyright header
2007-08-12 21:51:24 +02:00
Christian Thaeter
4374fc4b1f
just put tests in place, will not work yet
2007-08-12 21:28:21 +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
c55e72adf4
example interface and C plugin
2007-07-18 00:10:02 +02:00
Christian Thaeter
737c102766
extended example, prepared for C++ plugin
2007-07-17 22:24:46 +02:00
Christian Thaeter
bd218fb7ca
example code showing plugin usage
2007-07-17 20:42:07 +02:00
Christian Thaeter
74b8f74f3c
add dirs with DIR_INFO files describing intended content
2007-06-18 02:02:16 +02:00