aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper.h
Commit message (Collapse)AuthorAgeFilesLines
* Add Shiboken::Object::isValid(SbkObject* pyObj, bool throwPyError = true) ↵Hugo Parente Lima2012-03-081-1/+8
| | | | | | | | | | function to libshiboken. This function is needed to fix bug#552 when a libpyside code needs to check if a SbkObject is valid without set a Python error when it isn't. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fixed comments typo.Renato Araujo Oliveira Filho2012-03-081-1/+1
|
* Fix object destruction process to avoid pass a invalid object during theRenato Araujo Oliveira Filho2012-03-081-0/+1
| | | | | | | | | __del__ function. Fix bug #505 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add subtype init hook.Hugo Parente Lima2012-03-081-1/+13
| | | | The hook is invoked every time the user creates a sub-type inherited from a Shiboken based type.
* Remove cpp object copier as it was used by anyone and nobody missed him.Hugo Parente Lima2012-03-081-7/+0
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Updated basewrapper.h docs.Hugo Parente Lima2012-03-081-8/+60
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add function Shiboken::ObjectType::getUserData(SbjObjectTyoe*)Hugo Parente Lima2012-03-081-0/+5
|
* SbkBaseType_Type renamed to SbkObjectType_Type.Hugo Parente Lima2012-03-081-1/+1
|
* Renamed some more internal objects and functions.Hugo Parente Lima2012-03-081-2/+2
|
* Namespace Shiboken::Wrapper renamed to Shiboken::Object.Hugo Parente Lima2012-03-081-5/+5
|
* namespace Shiboken::BaseType renamed to Shiboken::ObjectType.Hugo Parente Lima2012-03-081-1/+1
|
* Rename SbkBaseType back to SbkObjectType.Hugo Parente Lima2012-03-081-25/+25
|
* Created private pointer for Shiboken Meta Type.Renato Araujo Oliveira Filho2012-03-081-87/+106
| | | | | | | 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-081-21/+42
| | | | | | | | Updated generator to new API. Fix bug #462 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Added Shiboken::Wrapper::hasParentInfo function.Hugo Parente Lima2012-03-081-0/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Changed signature of cppPointer to receive SbkObject* instead of PyObject*.Hugo Parente Lima2012-03-081-1/+1
|
* Added Shiboken::Wrapper::hasOwnership function.Hugo Parente Lima2012-03-081-0/+1
|
* SbkBaseWrapperPrivate renamed to SbkObjectPrivateHugo Parente Lima2012-03-081-2/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Remove macro Shiboken_TypeCheckHugo Parente Lima2012-03-081-5/+0
|
* Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact.Hugo Parente Lima2012-03-081-3/+0
|
* Variable SbkBaseWrapperType_Type renamed to SbkObjectType_TypeHugo Parente Lima2012-03-081-2/+2
|
* SbkBaseWrapper_Type variable renamed to SbkObject_TypeHugo Parente Lima2012-03-081-3/+3
|
* SbkBaseWrapperType renamed to SbkObjectType.Hugo Parente Lima2012-03-081-7/+7
|
* SbkBaseWrapper_TpNew renamed to SbkObjectTpNew, now using C linkage and ↵Hugo Parente Lima2012-03-081-3/+2
| | | | moved outside C++ namespace.
* SbkBaseWrapperType and some other functions used by Python C-API moved ↵Hugo Parente Lima2012-03-081-23/+20
| | | | outside C++ namespaces.
* Replace Shiboken::cppObjectIsInvalid by Shiboken::Wraper::isValidHugo Parente Lima2012-03-081-3/+4
|
* setCppPointer and getCppPointer moved to namespace Shiboken::WrapperHugo Parente Lima2012-03-081-10/+10
|
* Removed macros SbkBaseWrapper_instanceDict and SbkBaseWrapper_setInstanceDictHugo Parente Lima2012-03-081-3/+0
|
* SbkBaseWrapper renamed to SbkObjectHugo Parente Lima2012-03-081-16/+16
|
* Replaced SbkBaseWrapper_setOwnership by getOwnership and releaseOwnership ↵Hugo Parente Lima2012-03-081-4/+5
| | | | (both inside Shiboken:Wrapper namespace)
* Moved Shiboken::SbkBaseWrapper outside Shiboken namespace and added a ↵Hugo Parente Lima2012-03-081-38/+28
| | | | d-pointer to it.
* Implement support to object list on ownserhsip functions.renatofilho2012-03-081-1/+4
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-091-20/+8
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix the type resolver algorithm.Hugo Parente Lima2010-08-301-11/+4
| | | | | | | | | | | | | | | | | 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>
* Fix problems with dllimport/dllexport in some shiboken functions/variables.Hugo Parente Lima2010-08-191-5/+5
|
* Use list on keep reference map.Renato Filho2010-07-091-2/+3
| | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
* Store class orignal name to future use.Renato Filho2010-07-051-0/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
* Fix bug#237 - "core dump when call wrong constructor inside of a class"Hugo Parente Lima2010-06-161-0/+5
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created userdata on Python type object.Renato Filho2010-05-101-0/+13
| | | | | | | User type userdata to store metaobject information. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Added flag is_user_type to identify types created by the user which inherits ↵Hugo Lima2010-04-051-3/+13
| | | | | | binded types from binded types.
* SbkBaseWrapper_Dealloc_PrivateDtor renamed to deallocWrapperWithPrivateDtor.Hugo Lima2010-03-301-1/+1
|
* SbkBaseWrapper_clearReferences not exported anymore.Hugo Lima2010-03-301-6/+0
| | | | So it was moved to basewrapper private header.
* SbkBaseWrapper_keepReference renamed to keepReference.Hugo Lima2010-03-301-1/+1
| | | | The huge prefix was removed because we are already under Shiboken namespace.
* Class Shiboken::ParentInfo doesn't need to be exported.Hugo Lima2010-03-301-16/+2
| | | | It was moved to basewrapper private header.
* Add support for multiple inheritance involving more than one C++ object.Hugo Lima2010-03-301-3/+15
|
* Removed "Shibo" prefix from ShiboParent and ShiboChildrenList.Hugo Lima2010-03-301-5/+5
| | | | We are under Shiboken namespace, so there is no need for yet another prefix.
* Move all python2.5 compatibility code to a separate header.Hugo Lima2010-03-301-48/+1
|
* SbkBaseWrapper_New gets a non-const void pointer instead of a const one.Hugo Lima2010-03-301-1/+1
| | | | The motivation is simple, we will change this pointer a lot, so it must not be const.
* Use a non-template function for Python object deallocation.Hugo Lima2010-03-301-13/+7
|
* Fix SbkBaseWrapper_Check castLauro Neto2010-03-221-1/+1
|