Commit Graph

81 Commits

Author SHA1 Message Date
Xant
1777c3bbd5 added a missing semicolon + Controller::JSCall can't be imported yet 2010-04-26 02:35:42 -07:00
xant
0b3cca5c9a ignore the ControllerListener class in python bindings 2010-04-26 11:13:27 +02:00
Luca Bigliardi
65adfeb255 WiiController: expose to SWIG
Virtual destructor for director.
Use custom errors.

Signed-off-by: Luca Bigliardi <shammash@artha.org>
2009-12-27 18:15:34 +01:00
Luca Bigliardi
780889a463 SWIG: director for Controller and SdlController
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>
2009-11-24 19:01:37 +01:00
Luca Bigliardi
ce816be631 SWIG: include sdl_controller
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>
2009-11-24 18:03:18 +01:00
Filippo Giunchedi
b09844b468 remove goom library
the code is untouched so it is just a matter of AC_DEFINE WITH_GOOM
2009-10-18 14:16:45 +01:00
Luca Bigliardi
d740cc0912 Bindings: workaround for a swig problem on amd64
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>
2009-10-11 20:59:07 +02:00
Luca Bigliardi
72ef534089 Add logging to swig
Signed-off-by: Luca Bigliardi <shammash@artha.org>
2009-09-03 19:52:19 +01:00
Luca Bigliardi
b262e8066f jutils: remove obsolete osd functions
Signed-off-by: Luca Bigliardi <shammash@artha.org>
2009-09-02 04:40:09 +01:00
Jaromil
a716a6a58a Factory template in swig bindings
(thanks caedes for the tip)
2009-08-31 21:24:53 +02:00
Jaromil
f3c72894fc screated screen_js
now screens are also present in JS
still tasks pending:
	backwards compatibility with scripts
	resolution of multiple screens in startup/reset logic
	testing
2009-08-30 04:28:49 +02:00
Xant
0716ed334e Merge branch 'factory' into trunk 2009-08-28 22:42:44 +02:00
Pablo Martin
0818d2366d adding buffer protocol for layer and screen buffers. 2009-08-28 08:28:23 +02:00
Pablo Martin
adffefca1f adding some test functions to delete layers and entries with c++. 2009-08-28 04:06:33 +02:00
Pablo Martin
a1770aacc4 adding template declaration for controller linklist. 2009-08-28 04:06:33 +02:00
Luca Bigliardi
19ed7c740e XScreenSaver: add SWIG bindings
Activate XScreenSaver in language bindings.

Signed-off-by: Luca Bigliardi <shammash@artha.org>
2009-08-27 23:50:38 +01:00
Pablo Martin
0928ba6968 remove an incorrect extra inclussion of sdlglscreen. 2009-08-27 03:55:27 +02:00
Xant
5b3592165c Merge branch 'trunk' into factory 2009-08-26 22:05:49 +02:00
Pablo Martin
f38bccd979 adding glscreen to bindings. 2009-08-26 20:19:30 +02:00
Xant
7ef798b538 Merge branch 'trunk' into factory 2009-08-22 09:56:21 +02:00
Pablo Martin
2ac7665457 add good iter for python freej linklists. 2009-08-22 00:53:17 +02:00
Pablo Martin
78b63fbac7 create an abstract interface for console controllers, and put the
current slang console controller into its own class.
2009-08-21 00:23:03 +02:00
Luca Bigliardi
183b23bcb6 Add factory.h to swig configuration
Including factory.h in freej.i because swig needs to know about
FACTORY_ALLOWED
2009-07-25 23:52:12 +01:00
Robin Gareus
066ca85e13 first messy go at JACK client. 2009-07-24 12:32:11 +02:00
Filippo Giunchedi
3814e3b04e cleanup and FREEJ_FLAGS/LIBS usage in bindings/ 2009-07-21 18:14:49 +02:00
Filippo Giunchedi
6dec4cf4c2 remove unused variables from bindings/Makefile.am 2009-07-21 17:39:48 +02:00
Luca Bigliardi
8ce360985d Merge branch 'swig_fix' into trunk 2009-07-18 13:33:47 +01:00
Luca Bigliardi
de6cd2f66d OpenCV CFLAGS for bindings.
This is duplicated in these makefiles and in src, should be fixed.
2009-07-16 19:40:41 +01:00
Luca Bigliardi
b228a40d53 Add bindings for OpenCVCamLayer 2009-07-16 19:40:26 +01:00
Filippo Giunchedi
dfd1be29c0 bindings/ruby/Makefile.am cleanup
use new variables provided by ruby macros
2009-07-16 19:32:54 +02:00
Filippo Giunchedi
282258a9a4 small refactoring of bindings/*/Makefile.am
make consistent use of BUILT_SOURCES with both .cpp and .h
2009-07-14 15:50:21 +02:00
Filippo Giunchedi
5f828c4efc refactor swig building using AM_CONDITIONAL
similarly as what it is done in lib/
2009-07-14 13:09:18 +02:00
Filippo Giunchedi
44d123116d bindings/ruby/Makefile.am cleanup 2009-07-14 13:09:02 +02:00
Filippo Giunchedi
a90a04fb72 bindings/java/Makefile.am cleanup and TODOs 2009-07-14 12:34:25 +02:00
Filippo Giunchedi
ef52fb9199 bindings/python/Makefile.am cleanup
use updated version of make variables plus cleanups
2009-07-14 11:48:01 +02:00
Filippo Giunchedi
cafb35c9d7 bindings/perl/Makefile.am cleanup
use new variables from SWIG_PERL
2009-07-14 11:47:51 +02:00
Luca Bigliardi
ad9dfffcf6 Install freej_extensions.rb
Provide arch-indipendent install variables in ruby.m4 .
Install extensions.
2009-06-22 20:58:37 +01:00
Alex Norman
3e2970caac Ruby binding: linklist collect method
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.
2009-06-22 12:49:48 -07:00
Alex Norman
251d788398 Ruby extensions
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
2009-06-22 12:24:34 -07:00
Luca Bigliardi
bf6d520c34 Relative path for ruby bindings.
Change ruby.m4 to provide a relative path that can be used as an install
target for ruby bindings.
2009-06-21 21:31:00 +01:00
Alex Norman
994988c12a added the rbpre/rbpost.i swig interface files to be dependencies for
freej_ruby.cpp so that when we update the interface files the binding
file will be rebuilt when you call 'make'
2009-06-20 11:22:03 -07:00
Jaromil
c038090b74 uint typo 2009-06-20 18:41:50 +02:00
Luca Bigliardi
6ec6ebccb5 Dynamic SDL_gfx
Use external SDL_gfx if available, otherwise fallback on our own.
2009-06-20 08:41:00 +01:00
Alex Norman
357750010c added some ruby code into the ruby swig module
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
2009-06-19 15:27:06 -07:00
Alex Norman
ca5a722fcb removing start and start_threaded from Context for the ruby bindings for
now because ruby doesn't support multiple OS threads.
added 2 example ruby scripts
2009-06-19 14:39:27 -07:00
Alex Norman
4c670ead1f added MOZJS_CFLAGS to the ruby swig binding's flags.. as we need to
include the javascript headers when building the binding as the freej
controllers depend on javscript
2009-06-18 15:30:49 -07:00
Jaromil
71936702ba Internal API change for multiple screens
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)
2009-06-11 16:28:24 +02:00
Luca Bigliardi
015c608b0f A bit more "make dist"-able.
- 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
2009-04-24 02:04:24 +02:00
Jaromil
8c6a65e954 started the console cleanup and rewrite
now using the Slang Widget Library
2009-04-09 12:51:06 +02:00
Luca Bigliardi
9406e148c7 Revert to static pypre.i
Use include path for pydocstrings.i,
it was too simple :)
2009-04-02 18:31:17 +02:00