| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
| |
Half of the wrapper in a package and 1/2 is global.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Complete the prototype removal in ca1431.
The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.
Add support for SWIGTOOL in all the examples.
SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.
See issue #473.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* yazug-python_examples_pep8_whitespace_cleanup:
Fixup 2 additional whitespace warnings pep8 found
Add pep8 check for Examples/python
autopep8 cleanup of Examples/python whitespace
|
| |
| |
| |
| |
| |
| | |
E241 multiple spaces after ','
cleanup in enum/runme.py and constants/runme.py
|
| |
| |
| |
| | |
automated cleanup only of the Examples/python example code
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Builtin classes as exceptions not supported, so don't run these aspects
of the examples when using -builtin.
|
|
|
|
|
|
|
|
| |
By default it doesn't work as it does not call the CEO's __del__ method
as indicated in the comments. __del__ is called with -builtin but
then the base class's __del__ is not available and so it errors out.
Python 3 and -builtin goes into an endless loop. So removing as
hopelessly broken.
|
|
|
|
| |
For easier identification of what is running in these examples.
|
|
|
|
| |
runme3.py files are generated and should not be checked in
|
|
|
|
|
| |
-- Now the tests actually runs
-- Corrected the syntax for the fix in the yacc file
|
|
|
|
|
|
|
|
| |
-- The commit propagates the package option to the newly create
module node so it is recognized by SWIG
-- Added a relativeimport test for this combination
(in lack of py3 I was not able to test it with py3 but it
"should just work")
|
| |
|
|
|
|
| |
-Wreturn-type
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Examples/Makefile.in rules use SRCDIR as the relative source directory
- ./config.status replicates Examples/ source directory tree in build
directory, and copies each Makefile to build directory, prefixed with
a header which sets SRCDIR to source directory
- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir
- Examples/test-suite/errors/Makefile.in needs to filter out source
directory from SWIG error messages
- Lua: embedded interpreters are passed location of run-time test
- Python: copy run-time scripts to build directory because of 2to3
conversion; import_packages example copies __init__.py from source
directory; test-suite sets SCRIPTDIR to location of run-time tests
- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
can be substituted with SRCDIR; removed './' from require() statements
so that NODE_PATH can be used to point Node.js to build directory
|
|
|
|
|
|
|
|
|
|
| |
- in Lib/gcj/cni.i: remove JvAllocObject(), change
JvCreateJavaVM() argument from void* to JvVMInitArgs*
- in Examples/{python|perl5|ruby|tcl}/java/Makefile:
pass full class name to gcjh, add Example.h as dependency,
do not override CXX for compiling C++ sources
- in Examples/python/java/example.i:
add destructor to class to prevent memory loss complaint
|
| |
|
|
|
|
|
| |
Using type() on a builtin type should include the package and module
name, see http://docs.python.org/2/c-api/typeobj.html
|
| |
|
| |
|
|
|
|
|
| |
Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset resolves several issues related to python imports.
For example, it's possible now to import modules having same module
names, but belonging to different packages.
From the user's viewpoint, this patch gives a little bit more control on
import directives generated by swig. The user may choose to use relative
or absolute imports (docs are provided in separate PR).
Some details:
- we (still) generate import directives in form 'import a.b.c' which
corresponds to absolute imports in python3 and (the only available)
ambiguous one in python2.
- added -relativeimport option to use explicit relative import syntax
(python3),
Tests are under Examples/python, these are in fact regression tests but
with the current swig testing framework it seems to be impossible to put
appropriate tests under test-suite.
Closes #7
|
| |
|
|
|
|
| |
SWIG_PYTHON_INTERPRETER_NO_DEBUG
|
|
|
|
| |
Python Debug dll
|
| |
|
| |
|