Use director feature for Controller and SdlController otherwise lookup of
virtual methods non implemented in python subclasses will cause segfaults.
Signed-off-by: Luca Bigliardi <shammash@artha.org>
Temporary include sdl_controller.h so we can register subclasses of (subclasses
of) sdl_controllers into the context.
Waiting for good fixes into the Factory for these problems..
Signed-off-by: Luca Bigliardi <shammash@artha.org>
There are some problems with swig on amd64 when va_args are involved.
Simply ignore vprintlog() functions because they're not needed in bindings.
Signed-off-by: Luca Bigliardi <shammash@artha.org>
now screens are also present in JS
still tasks pending:
backwards compatibility with scripts
resolution of multiple screens in startup/reset logic
testing
added a collect method for freej's linked lists in the ruby binding.
Created an example script which uses this to print out a list of the
installed filters, sorted by name.
Created a separate file for ruby redefinitions and extensions of freej
methods. removed the extensions hard coded into the ruby swig freej
library and instead load this file in that library [with error
checking]. Updated two example scripts to set paths correctly to use
this new setup [to test before installing].
Also included a .each method for Linkedlist
this is sort of a hack but it works.. it evaulates a string [which
contains ruby code] using the ruby c api, when the Freej ruby module is
loaded.
Removed this identical code from the ruby test script and cleaned up the
scripts a bit
layers and encoders lists are now hold by screens
while the list of screens is on the context
new add_screen and initialisation procedure
(see freej.cpp and python examples in manuals)
- Use DIST_SUBDIRS to dist subdirectories even if these are not
configured
- Do not run swig on "make dist"
- Add some extra files
Now bindings subdir should "make dist" nicely.
TODO on build system is still:
- say 'bye bye' to lib/javascript sources (or autotoolize)
- fix 'doc/scripting' to be able to build outside sources