aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* optimized keepreference function.Renato Filho2012-03-082-17/+27
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Updated generator to use removeReference function.Renato Filho2012-03-081-3/+8
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created the function 'removeReference', used to remove a specificRenato Filho2012-03-082-0/+24
| | | | | | | reference from other object. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix error arg types in error messages.Hugo Parente Lima2012-03-081-1/+1
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Updated generatorrunner dependency version.sb-1.0.3Renato Filho2012-03-081-1/+1
|
* Generate code using the new pyside class DestroyListener.Renato Filho2012-03-082-4/+10
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Removed unused variables/functions.Hugo Parente Lima2012-03-082-14/+0
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Whitespace removalHugo Parente Lima2012-03-081-1/+1
|
* Use right argument variable name on keep reference when inside constructors.Hugo Parente Lima2012-03-081-0/+1
|
* Defined Shiboken.ObjectType tp_setattro to PyObject_GenericSetAttr.Marcelo Lira2012-03-081-1/+1
| | | | | | | | This fixes bug 634. http://bugs.pyside.org/show_bug.cgi?id=634 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added an unit test that puts an attribute on a Shiboken generated class.Marcelo Lira2012-03-081-0/+47
|
* Added a new test binding called 'minimal'.Marcelo Lira2012-03-0812-5/+350
| | | | | | | | | | | | | The purpose is to have the smallest possible binding to help when doing complex changes that require a good deal of debugging and tracking, and the many operations performed in too many wrapped classes will clutter any output used for those purposes. In other words: don't add anything here except with a good reason for it, prefer to use 'sample' or 'other' binding for that. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed keep reference funcion.Renato Filho2012-03-081-6/+8
| | | | | | | | | | The keepReference function does not increase the referece of all objects if the argument is a list. Fixes bug #854. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Implemented keep-reference action 'add'.Renato Filho2012-03-081-3/+6
| | | | | Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Just use else if's instead of a sequence of if's.Hugo Parente Lima2012-03-081-4/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Unit test for bug 851 - "Shiboken recognizes dereference operator overload ↵Hugo Parente Lima2012-03-082-0/+13
| | | | as times operator overload."
* Merge branch 'casttoreference' into havegcflag-hellMarcelo Lira2012-03-085-0/+129
|\ | | | | | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
| * Added tests for conversion operator that returns a constant reference type.Marcelo Lira2012-03-085-0/+129
| | | | | | | | | | | | | | This is related to bug #716: http://bugs.pyside.org/show_bug.cgi?id=716 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* | Improved garbage collector handling of Shiboken types.Marcelo Lira2012-03-084-13/+130
|/
* Don't segfault when running with Qt4.5.Hugo Parente Lima2012-03-081-9/+14
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Replaced "isUserType" test for the correct "hasCppWrapper" before method calls.Marcelo Lira2012-03-082-2/+14
| | | | | | | | Also added an unit test for infinite recursion when duck punching a virtual method. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Don't set the tp_init when there are no public constructors available.Hugo Parente Lima2012-03-081-1/+5
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Improved the SbkDbg to avoid throwing exceptions when showing an object.Marcelo Lira2012-03-083-2/+19
| | | | | | | Also added a new Shiboken::Object::isValid signature to help. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Small fix to number protocol code generation.Marcelo Lira2012-03-081-1/+1
|
* Only use qRegisterMetaType for Value types.Renato Filho2012-03-081-5/+8
| | | | | | | fixes bug #847. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 813 - "Can not override connect method when subclassing QObject"Hugo Parente Lima2012-03-082-4/+47
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Obey type replacements in rich comparison functions.Hugo Parente Lima2012-03-081-1/+13
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Created test for bug #654.Renato Filho2012-03-081-1/+9
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
* Fixed enum repr, print functions.Renato Filho2012-03-081-13/+18
| | | | | | | fixes bug #654. Reviewer: Lauro Moura <lauro.neto@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
* Make use of the available and already allocated space for protocol ↵Marcelo Lira2012-03-082-134/+155
| | | | | | | | | | | | | | functiontions. The PyHeapTypeObject structure that is part of SbkObjectType already have allocated members for number, sequence, and mapping protocols, so let's use them. A tiny reduction in size ensues (I predict the modules will have 99.91% of their current size). Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Bump version and update dependecy version required.Renato Filho2012-03-081-2/+2
|
* Don't create cyclic graphs when there are QString, PySequence and PyObjects ↵sb-1.0.2Hugo Parente Lima2012-03-081-1/+2
| | | | | | | involved into a single overload. Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Write graph info on temp dir when some a cyclic graph is found.Hugo Parente Lima2012-03-081-1/+10
|
* Overload decisor was improved to consider PySequences on modified function ↵Marcelo Lira2012-03-084-12/+116
| | | | | | | | | signatures. Unit tests were added as usual. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Renato Araujo <renato.filho@openbossa.org>
* Return false when a overload wasn't found on __eq__ and true when an ↵Hugo Parente Lima2012-03-082-3/+13
| | | | | | | overload wasn't found on __ne__. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Add tests for adding reverse operators.Hugo Parente Lima2012-03-082-0/+22
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug regarding to two overloads like: foo(char) and foo(const char*)Hugo Parente Lima2012-03-081-9/+14
| | | | | 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.
* Implemented generation code for mapping protocolRenato Filho2012-03-082-3/+95
| | | | | | | Fixex bug #743. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug 723 - "Missing QAbstractFileEngine.read and ↵Hugo Parente Lima2012-03-081-2/+2
| | | | | | | QAbstractFileEngine.readLine" Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug 823 - "Shiboken doesn't support function call overloads"Hugo Parente Lima2012-03-084-6/+27
|
* Remove GCC 4.6 warning on basewrapper.cpp and shibokengenerator.cppHugo Parente Lima2012-03-082-4/+2
| | | | | libshiboken/basewrapper.cpp:212:57: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] generator/shibokengenerator.cpp:1118:9: warning: variable ‘numArgs’ set but not used [-Wunused-but-set-variable]
* Avoid register Abstract types on QMetaTypes to avoid problems in QML.Renato Filho2012-03-081-1/+1
| | | | | | | Fix bug #814. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed 'operator--'.Renato Filho2012-03-081-1/+1
|
* Updated dependency version.Renato Filho2012-03-081-2/+2
|
* Implement support to operator++;Renato Filho2012-03-082-1/+9
| | | | | | | Fixes bug #688. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added the type system variables %BEGIN_ALLOW_THREADS and %END_ALLOW_THREADS.Marcelo Lira2012-03-084-4/+31
| | | | | | | | | | Also moved the save and restore thread state lines to a macro in ShibokenGenerator header file. The type system variables documentation was updated accordingly. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed the argument conversion of modified virtual methods.Marcelo Lira2012-03-085-21/+161
| | | | | | | Wrong conversion code was being outputted to virtual method wrapper code when all arguments were removed. Unit tests were added as well.
* Added support for extra includes at module level.Marcelo Lira2012-03-081-3/+7
|
* Fix bug 801 - "Shiboken doesn't compile with G++ 4.6.0"Hugo Parente Lima2012-03-081-3/+3
|
* Version bump to 1.0.2Hugo Parente Lima2012-03-081-1/+1
|