| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fixes bug #422.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
exception.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new algorithm do the following:
- Try to use type_info on the object the get the object real name.
- Try to find a type resolver with the name returned by type_info.
- If a type resolver was found, get the python type.
- Else, ask binding manager to resolve the type walking on all possible
subclasses found in the inheritance tree.
The binding manager has a graph representing the class inheritance tree.
Note: This commit break the libshiboken ABI, but not the API.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.araujo@openbossa.org>
|
|
|
|
|
| |
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
uint and ulong variables.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
| |
The libother's Number class now defines a multiply reverse operator
with libsample's Point class. Tests were added to check if the
generated binding correctly calls Number.__rmul__ method with
Point as argument.
Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|
|
|
|
| |
Used in external reverse operators defined in other modules.
|
|
|
|
|
|
|
| |
the return statements now have correct values for pure virtual methods
returning void pointers. also added a dummy test for this (can't really
test it properly until the semantics of casting the python return value
into a void pointer is properly defined -- if ever).
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
cppgenerator.cpp
libshiboken/basewrapper.cpp
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
|
| |
| |
| |
| | |
protected hack" on.
|
|/
|
|
|
|
|
|
|
|
|
| |
another module.
One value type class, called NoImplicitConversion, without implicit
conversions of any kind is declared in the first library, libsample.
In the other library, libother, ExtendsNoImplicitConversion defines
a conversion operator to turn itself into a NoImplicitConversion class.
The unit tests tries to pass an ExtendsNoImplicitConversion object
where a NoImplicitConversion is expected.
|
|
|
|
| |
This should create undefinied symbols on other module if it fails.
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> and Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
| |
The new test adds a Number class to test library libother which defines
an cast operator to Str, from libsample. The unit test tries to build
an Str object passing an Number parameter.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
|
|
|
| |
generated.
|
|
New test library and corresponding binding were added to check for
intermodule problems. The CMake linkage type for the modules had to
be changed from MODULE to SHARED.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
|