aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Used SignalManager function to retrieve MetaObjectRenato Filho2012-03-081-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Neto <lauro.neto@openbossa.org>
* Fix bug 939 - "Shiboken::importModule must verify if PyImport_ImportModule ↵Hugo Parente Lima2012-03-081-2/+5
| | | | | | | succeeds" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Added a build option to compile and run only the minimal set of tests.Marcelo Lira2012-03-081-7/+15
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Check if need to use placement new for types that inherits QObject due to ↵Hugo Parente Lima2012-03-081-5/+12
| | | | | | | QML (qmlRegisterType) function. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* More convenience functions added. More refactoring. Code more readable.Marcelo Lira2012-03-084-25/+59
| | | | | | | | ShibokenGenerator::isPointer() ShibokenGenerator::isWrapperType() Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added convenience functions to improve code readability.Marcelo Lira2012-03-083-12/+39
| | | | | | | | | | | | | | | | Checking if a type is an Object Type is a very common task, followed by asking if a type is a pointer to a type that has a Python wrapper. These functions solve the problem: ShibokenGenerator::isObjectType(type) ShibokenGenerator::isPointerToWrapperType(type) I refactored the generator code to make use of those functions. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed typo in generated code.Marcelo Lira2012-03-081-4/+4
|
* Improved documentation on ObjectType's cast related functions.Marcelo Lira2012-03-082-9/+22
|
* Improved code readability in CppGenerator::writeVirtualMethodNative.Marcelo Lira2012-03-081-4/+4
|
* Improved minimal binding test passing a None value where an object type ↵Marcelo Lira2012-03-081-0/+5
| | | | | | | pointer is expected. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Replaced trailing space by a period in documentation comment.Marcelo Lira2012-03-083-5/+5
| | | | | Also removed other trailing space elsewhere and fixed some typos in the comments.
* Propagate default args modification during the overload data descisor.Renato Filho2012-03-083-12/+35
| | | | | | | Fix bug #919. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 929 - "pkg-config files do not know about Python version tags"Hugo Parente Lima2012-03-081-1/+1
|
* Write type indexes in an ABI safe way.Hugo Parente Lima2012-03-082-12/+11
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix samplebinding warnings suppresions.Hugo Parente Lima2012-03-081-1/+16
|
* Fix enum qMetaType register.Renato Filho2012-03-081-5/+6
| | | | | | | fix bug #886. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Make sure register QMetaObject before QObject.Renato Filho2012-03-081-2/+36
| | | | | | | Remove all staticMetaObject form know types. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Move meta object creation afeter type register.Renato Filho2012-03-081-5/+5
|
* Created unit test for bug #886.Renato Filho2012-03-083-0/+21
| | | | | | | | This test check if a enum inside of a namespace which is not exported to python, work proper. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Now the generated code stores the enum cpp name on the PyThon type.Renato Filho2012-03-083-14/+40
| | | | | | | | | | | | This is necessary for finding out the enum name during the signal match function. Fixed the signal register function for signals with default values. Fixes bug #903. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Cleared cptr data during the cpp object destruction.Renato Filho2012-03-081-7/+15
| | | | | | This avoid problems when the same addres was used late in the program. Fixes bug #904.
* Fix refleak during the parent c++ object destruction.Renato Filho2012-03-084-2/+53
| | | | | | | Fixes bug #893. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix object wrapper deletion.Renato Filho2012-03-081-8/+9
| | | | | | | Fixes bug #356. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Dealloc Python object before calling the C++ destructor.Hugo Parente Lima2012-03-083-18/+35
| | | | | | | | | | | This will avoid the problem of having Python objects with ref count zero on binding manager while Python code using these objects can be triggered by the C++ object destruction. This commit makes DestroyListenner class unused in whole PySide project, probably it will be marked as deprecated in futher commits. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Removed random unreadable comment.Hugo Parente Lima2012-03-081-3/+0
|
* Recognize more types on error messages pretty printing them.Hugo Parente Lima2012-03-081-0/+12
|
* Version bump to 1.0.5.Hugo Parente Lima2012-03-081-1/+1
|
* Version bumped to 1.0.4.sb-1.0.4Renato Filho2012-03-081-3/+3
|
* Implemented support to qt_metacast function on qobjects.Renato Filho2012-03-083-1/+20
| | | | | | | fixs bug #872. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fixed python debug likage.Renato Filho2012-03-082-23/+30
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Added two new type system variables: %ISCONVERTIBLE and %CHECKTYPE.Marcelo Lira2012-03-082-2/+27
| | | | | | | | | | | | | | Currently the variables are replaced as follows: * %ISCONVERTIBLE[CPPTYPE] -> Shiboken::Converter<CPPTYPE>::isConvertible * %CHECKTYPE[CPPTYPE] -> Shiboken::Converter<CPPTYPE>::checkType Future improvements may change that, so having these variables is a good thing. The documentation was updated. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araujo <renato.filho@openbossa.org>
* Fixed substitution of method calls from user custom code for Qt's ↵Marcelo Lira2012-03-081-4/+13
| | | | | | | metaObject() method. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixed injected code processing to avoid infinite recursion in virtual method ↵Marcelo Lira2012-03-084-3/+62
| | | | | | calls. Unit tests were also added.
* Created unit test for add function rich-compare function.Renato Filho2012-03-082-0/+49
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix overload decisor on rich-compare function.Renato Filho2012-03-081-9/+4
| | | | | | | Fixes bug #292. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Show perm links only when the mouse hover on title.Hugo Parente Lima2012-03-081-0/+5
|
* Update javascript files used in sphinx generated documentation.Hugo Parente Lima2012-03-081-0/+16
|
* Fix bug 501 - "Shiboken generator doesn't use full qualified name (with :: ↵Hugo Parente Lima2012-03-082-52/+50
| | | | | | | prefix) on all places." Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Removed warning about possible use of uninitialized variable.Hugo Parente Lima2012-03-081-0/+1
|
* Test for bug 464 - "Can't create target lang package and namespace with the ↵Hugo Parente Lima2012-03-086-0/+83
| | | | same name"
* Added the basic cases for container conversions.Marcelo Lira2012-03-088-0/+511
| | | | | | | | | | | | | | | The cases are made of conversions of lists of: * C++ primitive type * C++ class treated as Python primitive type * Value type as C++ value * Object type as C++ pointer * Container of container of C++ primitive type The container is converted when called from Python or from C++ (via virtual methods), and passed as arguments to Python and to C++. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added class to be treated as a specific (bool, in this case) primitive type ↵Marcelo Lira2012-03-086-0/+140
| | | | | | in Python. Unit tests were also added.
* Expanded the minimal example and tests to better deal with virtual methods.Marcelo Lira2012-03-084-5/+129
|
* Test for bug 291 - "Generator ignores inject code for rich comparison ↵Hugo Parente Lima2012-03-081-0/+7
| | | | | | | operators." Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug 827 - "Anchor sign for headers to copy links for sections"Hugo Parente Lima2012-03-082-1/+9
|
* Fix bug 862 - "Problems when printing objects"Hugo Parente Lima2012-03-081-1/+20
|
* Updated necessary unit tests to handle with exceptions.Renato Filho2012-03-082-2/+8
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Make use of Shiboken::warning on virtual function.Renato Filho2012-03-081-3/+3
| | | | | | | | Shiboke uses Python warning to report any problems with virtural functions return conversion. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created Shiboken::warning function.Renato Filho2012-03-082-0/+35
| | | | | | | This is a help function to make able call python warning with formatted strings. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added Shiboken buffer interface.Hugo Parente Lima2012-03-087-11/+137
| | | | | | | | | | | | | 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>