aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cast PySideSignal object to PyObject before calling Py_DECREF.sb-1.0.0-beta1Marcelo Lira2012-03-081-1/+1
| | | | | | | | | | This is done because the Py_DECREF macro from Python 2.5 doesn't cast the argument to "PyObject*" as 2.6 does. This is a problem for PySideSignal objects, for this struct is private, having only the forward declaration visible. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fix compilation errors on Windows.Hugo Parente Lima2012-03-082-5/+5
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Bump ApiExtractor dependency to 0.9.0Lauro Neto2012-03-081-1/+1
|
* Added BindingManager::visitAllPyObjects function, used to visit all ↵Hugo Parente Lima2012-03-082-0/+21
| | | | | | | PyObjects with a function. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Speed up hasWrapper function using the find method instead of count.Hugo Parente Lima2012-03-081-1/+1
|
* Fix last commit, compre was a fragile and stupid solution.Hugo Parente Lima2012-03-082-1/+3
|
* Fix value of variable AVOID_PROTECTED_HACK.Hugo Parente Lima2012-03-081-2/+3
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix compilation without protect hack.Hugo Parente Lima2012-03-082-5/+23
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed generation with use of protect hack.Renato Araujo Oliveira Filho2012-03-081-2/+1
|
* Merge branch 'fixapi'Hugo Parente Lima2012-03-0810-243/+246
|\ | | | | | | | | | | | | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> Conflicts: generator/cppgenerator.cpp libshiboken/basewrapper.cpp libshiboken/basewrapper_p.h
| * Do not use const and ref when writing converters for object-types, qflags, ↵Hugo Parente Lima2012-03-081-5/+5
| | | | | | | | const ref. value types and enums.
| * SbkBaseType_Type renamed to SbkObjectType_Type.Hugo Parente Lima2012-03-083-8/+8
| |
| * Renamed some more internal objects and functions.Hugo Parente Lima2012-03-084-16/+16
| |
| * Namespace Shiboken::Wrapper renamed to Shiboken::Object.Hugo Parente Lima2012-03-088-55/+55
| |
| * namespace Shiboken::BaseType renamed to Shiboken::ObjectType.Hugo Parente Lima2012-03-087-72/+76
| |
| * Rename SbkBaseType back to SbkObjectType.Hugo Parente Lima2012-03-088-104/+104
| |
* | Fixed generation with AVOID_PROTECTED_HACK.Renato Araujo Oliveira Filho2012-03-083-30/+47
| | | | | | | | | | | | | | Fixes bug #476. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* | Created debug function on samle bindings.Renato Araujo Oliveira Filho2012-03-082-5/+29
| | | | | | | | | | | | | | | | This function 'cacheSize()' can be used to check how many objects still registered on BindingManager. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* | Fixes SHIBOKEN_PYTHON_INCLUDE_DIR variable for cmake versions lesser than 2.8.Marcelo Lira2012-03-082-3/+7
| | | | | | | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* | Fix merge mistakes:Renato Araujo Oliveira Filho2012-03-081-1/+1
|/ | | | | | * Replaces PySide::deleteDynamicQMetaObject by Shiboken::callCppDestructor<DynamicQMetaObject> * Shiboken namespace usage.
* Created private pointer for Shiboken Meta Type.Renato Araujo Oliveira Filho2012-03-089-339/+515
| | | | | | | Renamed ObjectType to BaseType. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Rewrite parent control functions.Renato Araujo Oliveira Filho2012-03-086-265/+349
| | | | | | | | Updated generator to new API. Fix bug #462 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Updated some tests to work with new API.Renato Araujo Oliveira Filho2012-03-082-4/+4
|
* Replaces PySide::deleteDynamicQMetaObject by ↵Hugo Parente Lima2012-03-081-1/+1
| | | | | | | Shiboken::callCppDestructor<DynamicQMetaObject> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Add operator= to AutoDecRef.Hugo Parente Lima2012-03-081-13/+34
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Do not generate return type check when the return type was modified to PyObject.Hugo Parente Lima2012-03-081-1/+1
|
* Fix the fix that was previously reverted in d8e2d87f.Marcelo Lira2012-03-081-1/+18
| | | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added Shiboken::Wrapper::hasParentInfo function.Hugo Parente Lima2012-03-082-0/+7
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix the metaObject method written by the generator after the changed in ↵Hugo Parente Lima2012-03-082-5/+7
| | | | libshiboken.
* Changed signature of cppPointer to receive SbkObject* instead of PyObject*.Hugo Parente Lima2012-03-083-9/+8
|
* Added Shiboken::Wrapper::hasOwnership function.Hugo Parente Lima2012-03-082-0/+6
|
* SbkBaseWrapperPrivate renamed to SbkObjectPrivateHugo Parente Lima2012-03-083-4/+4
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Remove macro Shiboken_TypeCheckHugo Parente Lima2012-03-083-28/+7
|
* Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact.Hugo Parente Lima2012-03-082-4/+1
|
* Variable SbkBaseWrapperType_Type renamed to SbkObjectType_TypeHugo Parente Lima2012-03-085-10/+10
|
* SbkBaseWrapper_Type variable renamed to SbkObject_TypeHugo Parente Lima2012-03-084-7/+7
|
* Rename some internal functions and structs.Hugo Parente Lima2012-03-081-10/+10
|
* SbkBaseWrapperType renamed to SbkObjectType.Hugo Parente Lima2012-03-089-71/+71
|
* SbkBaseWrapper_TpNew renamed to SbkObjectTpNew, now using C linkage and ↵Hugo Parente Lima2012-03-083-24/+24
| | | | moved outside C++ namespace.
* SbkBaseWrapperType and some other functions used by Python C-API moved ↵Hugo Parente Lima2012-03-089-177/+176
| | | | outside C++ namespaces.
* Fix camel case of decRefPyObjectlistHugo Parente Lima2012-03-081-4/+4
|
* Replace Shiboken::cppObjectIsInvalid by Shiboken::Wraper::isValidHugo Parente Lima2012-03-083-19/+19
|
* setCppPointer and getCppPointer moved to namespace Shiboken::WrapperHugo Parente Lima2012-03-084-40/+42
|
* Removed macros SbkBaseWrapper_instanceDict and SbkBaseWrapper_setInstanceDictHugo Parente Lima2012-03-086-35/+33
|
* SbkBaseWrapper renamed to SbkObjectHugo Parente Lima2012-03-086-85/+85
|
* Replaced SbkBaseWrapper_setOwnership by getOwnership and releaseOwnership ↵Hugo Parente Lima2012-03-085-44/+62
| | | | (both inside Shiboken:Wrapper namespace)
* Moved Shiboken::SbkBaseWrapper outside Shiboken namespace and added a ↵Hugo Parente Lima2012-03-087-129/+182
| | | | d-pointer to it.
* Refactor on sequenceToIntArray.Hugo Parente Lima2012-03-081-22/+11
|
* Removed deprecated function: PySequenceToArgcArgvHugo Parente Lima2012-03-082-13/+1
|
* Create enum python types on the fly, avoiding generation of structs and ↵Hugo Parente Lima2012-03-085-173/+144
| | | | duplication of many C functions.