aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
Commit message (Collapse)AuthorAgeFilesLines
* Fix the metaObject method written by the generator after the changed in ↵Hugo Parente Lima2012-03-081-1/+3
| | | | 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-082-8/+1
|
* Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact.Hugo Parente Lima2012-03-081-3/+0
|
* Variable SbkBaseWrapperType_Type renamed to SbkObjectType_TypeHugo Parente Lima2012-03-082-7/+7
|
* SbkBaseWrapper_Type variable renamed to SbkObject_TypeHugo Parente Lima2012-03-082-5/+5
|
* Rename some internal functions and structs.Hugo Parente Lima2012-03-081-10/+10
|
* SbkBaseWrapperType renamed to SbkObjectType.Hugo Parente Lima2012-03-087-56/+56
|
* SbkBaseWrapper_TpNew renamed to SbkObjectTpNew, now using C linkage and ↵Hugo Parente Lima2012-03-082-23/+23
| | | | moved outside C++ namespace.
* SbkBaseWrapperType and some other functions used by Python C-API moved ↵Hugo Parente Lima2012-03-087-168/+167
| | | | outside C++ namespaces.
* Fix camel case of decRefPyObjectlistHugo Parente Lima2012-03-081-4/+4
|
* Replace Shiboken::cppObjectIsInvalid by Shiboken::Wraper::isValidHugo Parente Lima2012-03-082-14/+14
|
* setCppPointer and getCppPointer moved to namespace Shiboken::WrapperHugo Parente Lima2012-03-083-39/+41
|
* Removed macros SbkBaseWrapper_instanceDict and SbkBaseWrapper_setInstanceDictHugo Parente Lima2012-03-085-33/+31
|
* SbkBaseWrapper renamed to SbkObjectHugo Parente Lima2012-03-085-78/+78
|
* Replaced SbkBaseWrapper_setOwnership by getOwnership and releaseOwnership ↵Hugo Parente Lima2012-03-084-41/+59
| | | | (both inside Shiboken:Wrapper namespace)
* Moved Shiboken::SbkBaseWrapper outside Shiboken namespace and added a ↵Hugo Parente Lima2012-03-086-123/+176
| | | | 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-083-59/+123
| | | | duplication of many C functions.
* pyenum.{h|cpp} moved to sbkenum.{h|cpp}Hugo Parente Lima2012-03-086-10/+10
|
* Created utility function cast on AutoDecRef class.renatofilho2012-03-081-0/+6
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix function PySequenceToArgcArgv to support unicode strings.Hugo Parente Lima2012-03-082-19/+40
| | | | | | | Also fix some reference leaks. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Simplifies the generated code removing the use of std::auto_ptr.Hugo Parente Lima2012-03-081-3/+3
|
* Implemented support to conversion without memory allocation.renatofilho2012-03-082-14/+18
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed GilState and ThreadSave code generation.renatofilho2012-03-082-2/+7
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Removed unnecessary cast on copy function.renatofilho2012-03-081-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Release gil before call C++ function on virtual method.renatofilho2012-03-082-2/+7
| | | | | | | Fixes bug #423. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Added BindingManager::getAllPyObjects method.Hugo Parente Lima2012-03-082-6/+16
| | | | | | | This functions returns all PyObjects under the umbrella of BindingManager. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fixed Wrapper object parent invalidation process.renatofilho2012-03-081-16/+18
| | | | | | | Fixes bug #432. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix memory leak when someone tries to register a type already registered.Hugo Parente Lima2012-03-081-1/+5
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Removes Converter<char>, because the missuse of it causes memory leak .Hugo Parente Lima2012-03-081-9/+0
|
* Remove pydict ref leak on pyenum.cpp.Hugo Parente Lima2012-03-081-0/+1
|
* Fix reference leak when registering enum types.Hugo Parente Lima2012-03-081-1/+1
|
* Merge remote branch 'mainline/1.0'Hugo Parente Lima2012-03-081-2/+6
|\
| * Shiboken::showWrapperMap debug function now shows the refcount of held wrappers.Marcelo Lira2012-03-081-2/+6
| | | | | | | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* | Fixed namespace lookup during the class generation.renatofilho2012-03-081-1/+5
| | | | | | | | | | | | | | fixes bug #414. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* | Fix bug#272 - "__del__ never called by python"Hugo Parente Lima2012-03-081-33/+8
|/ | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Avoid possible race condition when destroying wrappers.Hugo Parente Lima2012-03-081-6/+7
|
* Implement generation support to target conversion.renatofilho2012-03-081-0/+4
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Optimize TypeResolver::getType function to avoid strcpy and misses on ↵Hugo Parente Lima2012-03-081-16/+19
| | | | | | | typeresolver hash. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Implement support to object list on ownserhsip functions.renatofilho2012-03-085-12/+40
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created a new rule to parent ownership.renatofilho2012-03-084-4/+68
| | | | | | | In the new rule if the child object is a Shiboken wrapper class, the object is not invalidade during the parent destructions, the binding manager will wait for object destructor to invalidade the wrapper. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Use a auxiliar pointer to do the things faster.renatofilho2012-03-081-11/+14
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Shiboken generator code moved to the directory generator.Hugo Parente Lima2012-03-081-0/+8
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated ↵sb-0.5.0Renato Filho2010-09-104-48/+2
| | | | | | | files to allow multiples version installed simultaneous. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-0921-426/+174
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#316 - "QAbstractItemModel.createIndex is broken"Hugo Parente Lima2010-09-011-3/+5
| | | | | | | | | | | | | | Use SbkNumber_Check instead of PyNumber_Check, because PyNumber_Check returns true for all user types. This commit also disable the generation of _Check macros and replaces all entries with Converter<T>::checkType. Those changes are on the same commit because SbkNumber_Check conflicts with a macro generated by "other" binding which binds a type named "Number". Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>