Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | SbkBaseWrapperType and some other functions used by Python C-API moved ↵ | Hugo Parente Lima | 2012-03-08 | 7 | -168/+167 | |
| | | | | 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 | 2 | -14/+14 | |
| | ||||||
* | setCppPointer and getCppPointer moved to namespace Shiboken::Wrapper | Hugo Parente Lima | 2012-03-08 | 3 | -39/+41 | |
| | ||||||
* | Removed macros SbkBaseWrapper_instanceDict and SbkBaseWrapper_setInstanceDict | Hugo Parente Lima | 2012-03-08 | 5 | -33/+31 | |
| | ||||||
* | SbkBaseWrapper renamed to SbkObject | Hugo Parente Lima | 2012-03-08 | 5 | -78/+78 | |
| | ||||||
* | Replaced SbkBaseWrapper_setOwnership by getOwnership and releaseOwnership ↵ | Hugo Parente Lima | 2012-03-08 | 4 | -41/+59 | |
| | | | | (both inside Shiboken:Wrapper namespace) | |||||
* | Moved Shiboken::SbkBaseWrapper outside Shiboken namespace and added a ↵ | Hugo Parente Lima | 2012-03-08 | 6 | -123/+176 | |
| | | | | 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 | 3 | -59/+123 | |
| | | | | duplication of many C functions. | |||||
* | pyenum.{h|cpp} moved to sbkenum.{h|cpp} | Hugo Parente Lima | 2012-03-08 | 6 | -10/+10 | |
| | ||||||
* | Created utility function cast on AutoDecRef class. | renatofilho | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 2 | -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 Lima | 2012-03-08 | 1 | -3/+3 | |
| | ||||||
* | Implemented support to conversion without memory allocation. | renatofilho | 2012-03-08 | 2 | -14/+18 | |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | |||||
* | Fixed GilState and ThreadSave code generation. | renatofilho | 2012-03-08 | 2 | -2/+7 | |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | |||||
* | Removed unnecessary cast on copy function. | renatofilho | 2012-03-08 | 1 | -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. | renatofilho | 2012-03-08 | 2 | -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 Lima | 2012-03-08 | 2 | -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. | renatofilho | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 1 | -9/+0 | |
| | ||||||
* | Remove pydict ref leak on pyenum.cpp. | Hugo Parente Lima | 2012-03-08 | 1 | -0/+1 | |
| | ||||||
* | Fix reference leak when registering enum types. | Hugo Parente Lima | 2012-03-08 | 1 | -1/+1 | |
| | ||||||
* | Merge remote branch 'mainline/1.0' | Hugo Parente Lima | 2012-03-08 | 1 | -2/+6 | |
|\ | ||||||
| * | Shiboken::showWrapperMap debug function now shows the refcount of held wrappers. | Marcelo Lira | 2012-03-08 | 1 | -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. | renatofilho | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 1 | -33/+8 | |
|/ | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> | |||||
* | Avoid possible race condition when destroying wrappers. | Hugo Parente Lima | 2012-03-08 | 1 | -6/+7 | |
| | ||||||
* | Implement generation support to target conversion. | renatofilho | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 1 | -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. | renatofilho | 2012-03-08 | 5 | -12/+40 | |
| | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | |||||
* | Created a new rule to parent ownership. | renatofilho | 2012-03-08 | 4 | -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. | renatofilho | 2012-03-08 | 1 | -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 Lima | 2012-03-08 | 1 | -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.0 | Renato Filho | 2010-09-10 | 4 | -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 Lima | 2010-09-09 | 21 | -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 Lima | 2010-09-01 | 1 | -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 Lima | 2010-08-30 | 5 | -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 Filho | 2010-08-26 | 1 | -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 Filho | 2010-08-25 | 3 | -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 Filho | 2010-08-25 | 1 | -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 Filho | 2010-08-25 | 3 | -12/+72 | |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com> | |||||
* | Fixed CMake config file for libshiboken. | Renato Filho | 2010-08-23 | 1 | -1/+1 | |
| | ||||||
* | Fixed shiboken library name on windows. | Hugo Parente Lima | 2010-08-20 | 1 | -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 Filho | 2010-08-20 | 1 | -1/+7 | |
| | ||||||
* | Fixed install dir on windows. | Renato Filho | 2010-08-20 | 1 | -1/+4 | |
| | ||||||
* | Fix problems with dllimport/dllexport in some shiboken functions/variables. | Hugo Parente Lima | 2010-08-19 | 3 | -18/+17 | |
| | ||||||
* | Use CMake DEFINES to export symbols. | Renato Filho | 2010-08-19 | 2 | -3/+3 | |
| | | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org> |