aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Fix the type resolver algorithm.Hugo Parente Lima2010-08-305-32/+91
| | | | | | | | | | | | | | | | | The new algorithm do the following: - Try to use type_info on the object the get the object real name. - Try to find a type resolver with the name returned by type_info. - If a type resolver was found, get the python type. - Else, ask binding manager to resolve the type walking on all possible subclasses found in the inheritance tree. The binding manager has a graph representing the class inheritance tree. Note: This commit break the libshiboken ABI, but not the API. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.araujo@openbossa.org>
* Generated original_name with "*" for object classes.Renato Filho2010-08-261-2/+6
| | | | | | | | Use base type original_name to derived classes. Fixes bug #311. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Move gilstate implementation to a sparated file.Renato Filho2010-08-253-3/+59
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Verify if the arg received on invalidateWrapper, is Py_None or NULL.Renato Filho2010-08-251-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Move ThreadStateSaver implementation from the header to a cpp file.Renato Filho2010-08-253-12/+72
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fixed CMake config file for libshiboken.Renato Filho2010-08-231-1/+1
|
* Fixed shiboken library name on windows.Hugo Parente Lima2010-08-201-2/+4
| | | | | | | It's now called shiboken.dll instead of libshiboken.dll. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fixed config file to work on windows.Renato Filho2010-08-201-1/+7
|
* Fixed install dir on windows.Renato Filho2010-08-201-1/+4
|
* Fix problems with dllimport/dllexport in some shiboken functions/variables.Hugo Parente Lima2010-08-193-18/+17
|
* Use CMake DEFINES to export symbols.Renato Filho2010-08-192-3/+3
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>