Commit graph

312 commits

Author SHA1 Message Date
Christian Thaeter
b8336879f7 autoconf/automake cleanup
* refactor configure.ac to have distinct sections to configure each
   subsystem.
 * Dedicated LUMIERA_<subsys>_CFLAGS|_LIBS vars
 * Fix Makefile.am's to use them, remove unnecessary dependencies

Stray dependencies to be refacored:
 * tests/Makefile.am has dependencies on proc and backend
  - should be moved to tests/library/Makefile.am etc anyways
 * tests/lib/Makefile.am has dependency on GUI left


 * src/tool/Makefile.am links GUI stuff generally, thats ok

 * one threading test is broken, we don't care, merging new threadpool in
   next.
2010-01-17 15:48:30 +01:00
2b46574da3 move the for_each helpers into a separate header
(because util.hpp is used pervasively, and I don't want
<tr1/functional> in such a widely used header...
2009-12-29 04:39:27 +01:00
3835399c5f Testsuite: catch exceptions at the level of invoking individual tests 2009-10-11 05:57:42 +02:00
8c21f21acc namespace cleanup: bring Singleton and Factory into lib:: 2009-10-11 05:57:41 +02:00
18c357eb4a start using Symbol datatype instead of a disguised char* 2009-10-11 05:57:38 +02:00
70b4b0ad41 Fix some more format warnings 2009-09-05 19:11:17 +02:00
9f40e4af9c implemented definition and access of handling patterns 2009-08-09 21:55:47 +02:00
b3cd834d9e try to get generated code a bit more readable 2009-08-03 17:59:13 +02:00
33757bbac3 why the hell doesn't boost provide functor comparison operators..
(yes I know why: it can't be implemented 100% correctly)
2009-07-20 04:21:24 +02:00
Christian Thaeter
323724b623 fix some includes for new mutex/recmutex headers 2009-06-03 18:22:10 +02:00
Christian Thaeter
a115759128 new mutex and recmutex implementation (breaks sync.hpp for now)
prepares that chained sections if different kinds can be mixed
makes recmutexes typesafe
improves nobug tracking
2009-06-03 18:22:07 +02:00
Christian Thaeter
9d1054f838 FIX: prototype and call of init_exts_globs was wrong 2009-02-20 00:38:21 +01:00
268f8cbc4c refactor interfaceproxy.cpp to rather include the definitions
this allows to put the proxy definitions alongside with the
actually implementing service, which makes much more sense
than having all in one huge interfaceproxy.cpp file
2009-02-09 01:21:01 +01:00
b0e6468293 some testing and debugging 2009-02-08 04:10:37 +01:00
e1dd3cac74 WIP allocating and using a display slot (impl of Display facade interface) 2009-02-06 22:52:06 +01:00
8e5097cbe0 cleanup, fixes, comments... 2009-02-06 22:51:39 +01:00
6fb86a2caf WIP setUp of an output slot, connecting playback_controller 2009-02-04 05:23:43 +01:00
06272c2e4b join dummy player with latest GUI work 2009-02-01 20:45:18 +01:00
ec2f362c3a During alpha: build .libs into the LUMIERA_PLUGIN_PATH to ease developent 2009-02-01 20:43:23 +01:00
e78383b044 WIP continue with the skeleton of a DisplayService within the GUI 2009-02-01 00:43:21 +01:00
cc585dd0d6 comment, rename guinotification-facade 2009-02-01 00:02:50 +01:00
ee950d6255 some cleanup and re-ordering 2009-01-31 23:42:56 +01:00
cbd27b0418 Completely reworked the design of the DummyPlayer API, now using the handle
this allows the C++ version to provide automatic lifecycle management for
the play process, while both versions of the API (C and C++) impose only
one level of indirection.
2009-01-28 02:49:20 +01:00
50625039d0 merge NoBug changes from master to bring this devel branch up-to-date
Next things to do will be reworking the draft/dummy to support multiple playback processes and a display callback
2009-01-25 02:10:03 +01:00
10597beeba mass rename: relocate basic Logging conf. from liblumieracommon to liblumiera 2009-01-25 00:24:42 +01:00
Christian Thaeter
6a5951bad6 WIP: deploy new logging flags in common 2009-01-24 22:30:25 +01:00
Christian Thaeter
16ebdd65b1 some more logging flags, little cleanup, fix to Makefile.am 2009-01-24 22:30:25 +01:00
Christian Thaeter
ef6344057c first attempt to organize the nobug flags for review
I grepped out all flags which are actually defined/used in lumiera and
refactored them into one big tree here. There are some annotations and
issues which shall be finally resolved. Please check if the intended
hierarchy looks OK this way and add more flags when you think some are
missing. I chosen to make a quite verbose hierarchy, this doesnt cost much
in nobug and adds some flexibility. The Documentation at the head needs to
be reviewed. Many flags which are collected here need to be brought back
into the subsystems which use them, this is only to get a big picture for
now.
2009-01-24 22:30:25 +01:00
7150ab9ee9 add implementation of PlayProcess logic 2009-01-22 23:16:46 +01:00
962921d375 WIP (still doesnt compile...) add impl of the forwarding proxy... 2009-01-20 12:41:21 +01:00
054c652571 improve error handling when starting the GUI thread 2009-01-17 14:31:40 +01:00
13ca25569a merge plugin building rule and cleanup done for starting the GUI as module 2009-01-15 14:22:01 +01:00
Christian Thaeter
9665aa1df9 Apply log levels to existing errors 2009-01-15 01:05:07 +01:00
Joel Holdsworth
f93d224977 Squashed a race condition bug 2009-01-15 00:03:35 +00:00
aa8896a79f merge resolution of some build/dependency problems 2009-01-14 12:31:20 +01:00
9cfa0e5522 push starting of the GUI thread down into the gui plugin 2009-01-14 12:28:24 +01:00
e8469d5552 chaninsaw surgery to resolve the most urgent dependency problems with lib 2009-01-14 12:15:13 +01:00
Christian Thaeter
d37bb17566 Add a context string to the error system
lumiera_error_set() now takes an optional extra string which can be used
to pass context relevant data along. This string gets copied into the
error state so one can easily create it by the tmpbuf_snprintf() facility.

Also a lot of places which define errors get fixed according to this.
2009-01-13 21:23:37 +01:00
ba9b72bce4 Fixes after merge 2009-01-10 21:35:43 +01:00
f75bb233ba fix warnings and problems detected by gcc 4.3 / Lenny 2009-01-10 17:01:09 +00:00
b6fb135398 change error notification at subsystem shutdown to use just a string*
(this allows to memoize the error message and call the termination
handler outside the catch block)
2009-01-10 16:15:17 +01:00
3da9586824 Rewrite the GuiNotification service to operate in sync with bringing up the GUI 2009-01-10 15:29:11 +01:00
4ffa60161b Integration with InstanceHandle 2009-01-07 12:26:44 +01:00
635b9441f4 WIP rewrite the existing solution for the GuiNotification facade
using this new approach (not functional yet, because laci of
automatic integration with InstanceHandle.
2009-01-06 06:40:44 +01:00
24fe4bcb70 separate and hide away implementation part into common/interfaceproxy.cpp 2009-01-06 06:18:13 +01:00
8a40075ee8 WIP expand on this draft to build a prospective solution 2009-01-06 06:09:46 +01:00
8d4bc62fbe WIP start drafting a better InterfaceProxy handling 2009-01-04 15:21:04 +01:00
edb01ec8c6 Integration: Thread/sync, GUI-Plugin invoked in separate thread 2009-01-03 16:05:04 +01:00
683e1dabe1 cleanup, add further testcase (starting prerequisite subsystems)
SubsystemRunner considered finished.
2009-01-03 13:32:24 +01:00
f90238dba4 chased two bugs... 2009-01-03 04:29:59 +01:00
8c892846e1 renaming etc... 2008-12-31 05:05:34 +01:00
5114d09156 fix after merge/rebase 2008-12-30 08:35:26 +01:00
71aa88df62 add some error checking
makes the dummy Gui plugin "work" again, but now with enabled locking.
2008-12-30 08:19:33 +01:00
75bdc877dc reconsider synchronisation and switch some parts to instance based locks. 2008-12-30 08:19:32 +01:00
93c4a282cc Merge object monitor locking 2008-12-27 01:04:20 +01:00
e921b1658c error.hpp belongs to src/lib 2008-12-27 00:53:35 +01:00
cbbc298fe9 kill some warnings 2008-12-26 23:17:51 +01:00
36704a856e basic wait/notify impl added, waiting-test pass 2008-12-23 04:27:11 +01:00
2b8cd00ab5 yet another renaming. call it "Sync"... 2008-12-22 17:00:15 +01:00
6031ac2465 FIX after rebase 2008-12-22 05:02:52 +01:00
Christian Thaeter
4fb8f5b69d Makefile.am makeover, add CFLAGS and CXXFLAGS everywhere 2008-12-22 02:24:19 +01:00
62922d357b (irrelevant) changes to make the dummy code build and load shared module
Explanation: together with the bare SCons build system, on this branch I added
some dummy codefiles, to validate the build system is working as merged in from master
2008-12-20 03:40:28 +01:00
f6209d99d3 Merge: change building to create modules
includes DistCC and CCache support,
LUMIERA_PLUGIN_PATH and LUMIERA_CONFIG_PATH
non-verbose build messages
2008-12-20 02:15:33 +01:00
Christian Thaeter
4699efcb5d Some Makefile.am cosmetics 2008-12-18 20:23:46 +01:00
e32194b810 Autotools fixes (make the tests compile) 2008-12-18 10:48:50 +01:00
fb72d20812 Autotools fixes 2008-12-18 10:33:37 +01:00
6d66476383 move config, interfaces and pluginsystem to liblumieracommon 2008-12-18 08:54:33 +01:00
7bde9aa538 start refactoring: liblumieracommon.so (application core services) 2008-12-18 08:12:40 +01:00
99c2a5da25 purge old common dir 2008-12-18 07:50:37 +01:00
e8d76cd022 rename error.cpp to exception.cpp and fix remaining problems 2008-12-18 04:51:58 +01:00
Christian Thaeter
3654473b75 WIP: Merge common into lib
* breaks lumigui linking
 * test non functional yet
 * tools cant not be linked because of cross dependency problems
2008-12-17 17:53:32 +01:00
Christian Thaeter
9a1a1890e2 post rebase fixes
tests are still broken and will be fixed for the shared lib transistion
2008-12-16 19:54:48 +01:00
feebc502e5 implementation of GuiStarterPlugin 2008-12-15 13:36:41 +01:00
f0fd9dd1ae fix a potential segfault in the Lumiera exception base class 2008-12-15 13:36:41 +01:00
20c719d89c add bool() to InstanceHandle, performing an validity check 2008-12-15 13:36:41 +01:00
e8639b8319 WIP work out further how to handle start/stop of layer separation interfaces 2008-12-15 13:36:41 +01:00
8c501a3d7c first rough draft implementation of calling through a layer separation interface 2008-12-15 13:36:41 +01:00
cc88a62caf Cleanup, no need to place the unexpected handler installation into everything.
Sufficient to do it just "sometime" before main()
2008-12-15 13:36:40 +01:00
cc871fcaec comments, typos.... 2008-12-15 13:36:40 +01:00
3693a5fa3d draft outline for main() 2008-12-15 13:33:05 +01:00
98005b10ae factor out placeholder for a (planned) Symbol datatype 2008-12-15 13:33:05 +01:00
b14d711146 refactor Appconfig, split off lifecycle interface 2008-12-15 13:33:05 +01:00
3f6f1218fc some typos 2008-12-15 13:33:04 +01:00
c567c57a58 reorganise NoBug global definitions and startup 2008-12-15 13:33:04 +01:00
628be502e5 reordered some files to use the new include and lumiera directories 2008-12-15 13:33:04 +01:00
Joel Holdsworth
5eb43b7c18 Tidied observable-list.hpp somewhat 2008-12-10 17:28:50 +00:00
Joel Holdsworth
bbc55e6324 Added the definition of an observable_list class 2008-12-06 23:46:01 +00:00
Joel Holdsworth
b2ffa116f5 Modified MAX to play nice with GLib's MAX 2008-12-06 14:47:00 +00:00
f19cdc1ad6 automake fixes 2008-11-06 04:25:33 +01:00
74164e890e finished the outline 2008-10-20 03:13:02 +02:00
1b6df94aab documentation (drawing) 2008-10-18 04:15:07 +02:00
1bce7d4c38 define the next steps by test 2008-10-06 07:26:43 +02:00
873910f0b8 WIP considerations about querying 2008-09-28 04:05:10 +02:00
feb64fac01 outline: use of the raw type info for fetching a ImplFacade 2008-09-26 04:57:20 +02:00
578178a937 brainstorming (continued). MediaImplLib
considering how to snap in the actual implementation
2008-09-22 06:42:10 +02:00
2885b41895 fix a link problem 2008-09-22 04:03:37 +02:00
a6a19ef609 WIP start drafting how to bootstrap a stream type... 2008-09-17 03:46:38 +02:00
8754555492 further mulling over the problems related to stream type handling 2008-09-15 05:40:13 +02:00
7ed7f05ffb further analyzing the problem (stream type handling) 2008-09-13 06:00:22 +02:00
d4e3405f09 some namespace rearrangements 2008-09-13 03:59:36 +02:00
f9452f654c start media stream type classification framework 2008-09-13 01:57:59 +02:00
d651ce4762 clean up the mess with the inclusion of defsregistry.hpp,
caused by the definition of DefsRegistry not being visible for DefsManager's dtor.
2008-09-09 06:16:42 +02:00
Michael Ploujnikov
f5387d8bf3 Merge branch 'master' of git://git.lumiera.org/LUMIERA
Conflicts:

	tests/Makefile.am
2008-09-06 20:15:05 -04:00
43291cb9cc fix some warnings 2008-09-05 17:01:24 +02: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
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
Joel Holdsworth
51161f1e56 Small modifications to the documentation so that the lumiera namespace
is correctly annotated
2008-08-16 17:58:39 +01:00
07975e520f change ConfigSelector to accept arbitrary factory function signatures 2008-08-05 03:46:06 +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
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