| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This interface is just a wrapper to the differents API's provided by Python
to deal with memory buffers in various versions of Python, so is recommended
to use this API to deal with Python memory buffers instead of the CPython API.
If you want to have a Python buffer as argument of any function just change
the argument type to "PyBuffer" and the generator will handle it right regarding
to type checking.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
involved into a single overload.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
signatures.
Unit tests were added as usual.
Reviewer: Hugo Parente <hugo.lima@openbossa.org>
Renato Araujo <renato.filho@openbossa.org>
|
|
|
|
|
| |
The overload decisor was unable to find the difference between them.
This code was wrote by Setanta in an experimental branch, so kudos to him.
|
|
|
|
|
|
|
|
|
|
| |
before ancestor.
A couple of ShibokenGenerator methods were made "const" to allow them to
be called from OverloadDecisor.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
| |
QString arguments will always be evaluated before QByteArray arguments.
Reviewer: Luciano Wolf <lucianol.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
| |
renames.
|
|
|
|
|
|
|
|
| |
integers.
Otherwise the enum value will be an acceptable argument for a class that
expects an integer (signed or unsigned) to be implicitly built, and the
enum argument will never be called.
|
|
|
|
|
| |
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
| |
wrapped objects."
This reverts commit 167959faa575856b48c951fd9cc500049004cf60.
Conflicts:
generator/overloaddata.cpp
|
|
|
|
|
|
|
| |
Decrease the QVariant priority during the function overload.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
objects.
This is a special extension for Qt bindings. Since QStrings accept None
values the same way object and value types accept, to avoid confusion
and calling the wrong signature QString must go after object and value
pointers. This wasn't a problem before, but now QString is a
primitive-type and the decisor has no access to its implicit
conversions, and thus can't sort it properly.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code as it is now will work for containers with wrapped types,
and will also consider some primitive types implicitly convertible
for dependency sorting purposes.
One weakness of the current solution is that it doesn't handle all
possible combinations for containers with multiple types. E.g. for
Container<T1, T2>, with T1 being implicitly convertible from I1, and T2
from I2, dependency resolution will take into account
* Container<T1, T2>
* Container<I1, T2>
* Container<T1, I2>
but not
* Container<I1, I2>
For the time being every binding is working fine this way, when the need
arises we can fix it, for now let us not slow down the generation.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|