Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cast PySideSignal object to PyObject before calling Py_DECREF.sb-1.0.0-beta1 | Marcelo Lira | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 2 | -5/+5 |
| | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Bump ApiExtractor dependency to 0.9.0 | Lauro Neto | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Added BindingManager::visitAllPyObjects function, used to visit all ↵ | Hugo Parente Lima | 2012-03-08 | 2 | -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 Lima | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Fix last commit, compre was a fragile and stupid solution. | Hugo Parente Lima | 2012-03-08 | 2 | -1/+3 |
| | |||||
* | Fix value of variable AVOID_PROTECTED_HACK. | Hugo Parente Lima | 2012-03-08 | 1 | -2/+3 |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org> | ||||
* | Fix compilation without protect hack. | Hugo Parente Lima | 2012-03-08 | 2 | -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 Filho | 2012-03-08 | 1 | -2/+1 |
| | |||||
* | Merge branch 'fixapi' | Hugo Parente Lima | 2012-03-08 | 10 | -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 Lima | 2012-03-08 | 1 | -5/+5 |
| | | | | | | | | const ref. value types and enums. | ||||
| * | SbkBaseType_Type renamed to SbkObjectType_Type. | Hugo Parente Lima | 2012-03-08 | 3 | -8/+8 |
| | | |||||
| * | Renamed some more internal objects and functions. | Hugo Parente Lima | 2012-03-08 | 4 | -16/+16 |
| | | |||||
| * | Namespace Shiboken::Wrapper renamed to Shiboken::Object. | Hugo Parente Lima | 2012-03-08 | 8 | -55/+55 |
| | | |||||
| * | namespace Shiboken::BaseType renamed to Shiboken::ObjectType. | Hugo Parente Lima | 2012-03-08 | 7 | -72/+76 |
| | | |||||
| * | Rename SbkBaseType back to SbkObjectType. | Hugo Parente Lima | 2012-03-08 | 8 | -104/+104 |
| | | |||||
* | | Fixed generation with AVOID_PROTECTED_HACK. | Renato Araujo Oliveira Filho | 2012-03-08 | 3 | -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 Filho | 2012-03-08 | 2 | -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 Lira | 2012-03-08 | 2 | -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 Filho | 2012-03-08 | 1 | -1/+1 |
|/ | | | | | | * Replaces PySide::deleteDynamicQMetaObject by Shiboken::callCppDestructor<DynamicQMetaObject> * Shiboken namespace usage. | ||||
* | Created private pointer for Shiboken Meta Type. | Renato Araujo Oliveira Filho | 2012-03-08 | 9 | -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 Filho | 2012-03-08 | 6 | -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 Filho | 2012-03-08 | 2 | -4/+4 |
| | |||||
* | Replaces PySide::deleteDynamicQMetaObject by ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -1/+1 |
| | | | | | | | Shiboken::callCppDestructor<DynamicQMetaObject> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> | ||||
* | Add operator= to AutoDecRef. | Hugo Parente Lima | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Fix the fix that was previously reverted in d8e2d87f. | Marcelo Lira | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 2 | -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 Lima | 2012-03-08 | 2 | -5/+7 |
| | | | | libshiboken. | ||||
* | Changed signature of cppPointer to receive SbkObject* instead of PyObject*. | Hugo Parente Lima | 2012-03-08 | 3 | -9/+8 |
| | |||||
* | Added Shiboken::Wrapper::hasOwnership function. | Hugo Parente Lima | 2012-03-08 | 2 | -0/+6 |
| | |||||
* | SbkBaseWrapperPrivate renamed to SbkObjectPrivate | Hugo Parente Lima | 2012-03-08 | 3 | -4/+4 |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | Remove macro Shiboken_TypeCheck | Hugo Parente Lima | 2012-03-08 | 3 | -28/+7 |
| | |||||
* | Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact. | Hugo Parente Lima | 2012-03-08 | 2 | -4/+1 |
| | |||||
* | Variable SbkBaseWrapperType_Type renamed to SbkObjectType_Type | Hugo Parente Lima | 2012-03-08 | 5 | -10/+10 |
| | |||||
* | SbkBaseWrapper_Type variable renamed to SbkObject_Type | Hugo Parente Lima | 2012-03-08 | 4 | -7/+7 |
| | |||||
* | Rename some internal functions and structs. | Hugo Parente Lima | 2012-03-08 | 1 | -10/+10 |
| | |||||
* | SbkBaseWrapperType renamed to SbkObjectType. | Hugo Parente Lima | 2012-03-08 | 9 | -71/+71 |
| | |||||
* | SbkBaseWrapper_TpNew renamed to SbkObjectTpNew, now using C linkage and ↵ | Hugo Parente Lima | 2012-03-08 | 3 | -24/+24 |
| | | | | moved outside C++ namespace. | ||||
* | SbkBaseWrapperType and some other functions used by Python C-API moved ↵ | Hugo Parente Lima | 2012-03-08 | 9 | -177/+176 |
| | | | | outside C++ namespaces. | ||||
* | Fix camel case of decRefPyObjectlist | Hugo Parente Lima | 2012-03-08 | 1 | -4/+4 |
| | |||||
* | Replace Shiboken::cppObjectIsInvalid by Shiboken::Wraper::isValid | Hugo Parente Lima | 2012-03-08 | 3 | -19/+19 |
| | |||||
* | setCppPointer and getCppPointer moved to namespace Shiboken::Wrapper | Hugo Parente Lima | 2012-03-08 | 4 | -40/+42 |
| | |||||
* | Removed macros SbkBaseWrapper_instanceDict and SbkBaseWrapper_setInstanceDict | Hugo Parente Lima | 2012-03-08 | 6 | -35/+33 |
| | |||||
* | SbkBaseWrapper renamed to SbkObject | Hugo Parente Lima | 2012-03-08 | 6 | -85/+85 |
| | |||||
* | Replaced SbkBaseWrapper_setOwnership by getOwnership and releaseOwnership ↵ | Hugo Parente Lima | 2012-03-08 | 5 | -44/+62 |
| | | | | (both inside Shiboken:Wrapper namespace) | ||||
* | Moved Shiboken::SbkBaseWrapper outside Shiboken namespace and added a ↵ | Hugo Parente Lima | 2012-03-08 | 7 | -129/+182 |
| | | | | d-pointer to it. | ||||
* | Refactor on sequenceToIntArray. | Hugo Parente Lima | 2012-03-08 | 1 | -22/+11 |
| | |||||
* | Removed deprecated function: PySequenceToArgcArgv | Hugo Parente Lima | 2012-03-08 | 2 | -13/+1 |
| | |||||
* | Create enum python types on the fly, avoiding generation of structs and ↵ | Hugo Parente Lima | 2012-03-08 | 5 | -173/+144 |
| | | | | duplication of many C functions. |