aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug#256 - "PySide does not support signals with containers."Hugo Parente Lima2010-06-292-1/+3
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix cmake files used by other projects to detect Shiboken.Hugo Parente Lima2010-06-232-3/+3
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug: "Debug build fails to run the tests (doesn't work) ↵Hugo Parente Lima2010-06-211-0/+11
| | | | | | | [_Py_AddToAllObjects: Assertion (...) failed]" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Removed missing local include path for hash library.Renato Filho2010-06-181-2/+1
| | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Find installed google hash library.Renato Filho2010-06-181-1/+9
| | | | | Reviewers: Luciano Wolf <luciano.wolf@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Create getType function on TypeResolver.Renato Filho2010-06-172-0/+30
| | | | | | | | This function allow the programmer discovery if a type is Object or Value type. Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#237 - "core dump when call wrong constructor inside of a class"Hugo Parente Lima2010-06-162-1/+36
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Shiboken::cppObjectIsInvalid(PyObject*) now returns false when the argument ↵Marcelo Lira2010-06-151-1/+1
| | | | | | is NULL. Because NULL objects aren't invalid Python wrappers.
* Fixed checkType of int and floating point converters.Hugo Parente Lima2010-06-101-2/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Automatically register all primitive types on TypeResover.Hugo Parente Lima2010-06-103-15/+15
| | | | | Reviewer: Renato Araújo <renato.araujo@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added Converter<T>::checkType.Hugo Parente Lima2010-06-091-0/+32
| | | | | | This method is needed because you can not call Converter<T>::isConvertible inside a Converter<Y>::isConvertible implementation, otherwise it'll create a 2-step implicit conversion.
* API fixes.Renato Filho2010-05-183-124/+138
| | | | | | | | | * Export enums without macro * Declare virtual destructor on all classes with virtual functions * Fix extern "C" declaration scope Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Created userdata on Python type object.Renato Filho2010-05-102-1/+45
| | | | | | | User type userdata to store metaobject information. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
* Fix SONAME, as proposed by Didier Raboud.Hugo Parente Lima2010-05-041-1/+2
|
* Update shiboken documentation.Luciano Wolf2010-05-031-1/+0
|
* Remove export macros from inlined classes.Thomas Berg2010-04-122-2/+2
| | | | | | | | | | | The GilState and ThreadStateSaver classes are purely inline, and should not be declared with dllexport/dllimport macros. The dllimport macro forces MSVC not to inline the classes in client code, which causes linker errors, since the symbols are not included in the shiboken dll. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
* Add missing include for MVSC.Thomas Berg2010-04-121-0/+1
|
* Remove warnings about "deprecated conversion from string constant to 'char*'".Hugo Parente Lima2010-04-121-1/+1
| | | | | | | | These warnings are due to the Python C API using a char* as parameter when it should const char*. Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
* Only convert None to a null pointer when there aren't conversions defined ↵Hugo Parente Lima2010-04-061-3/+4
| | | | | | | for it. Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Bruno Araújo <bruno.araujo@openbossa.org>
* Added enum meta type, this will ease you to known if a PyObject is a ↵Hugo Lima2010-04-053-0/+59
| | | | Shiboken enum.
* Added flag is_user_type to identify types created by the user which inherits ↵Hugo Lima2010-04-052-3/+14
| | | | | | binded types from binded types.
* Do not install all headers, just the necessary ones.Hugo Lima2010-03-301-4/+15
|
* SbkBaseWrapper_Dealloc_PrivateDtor renamed to deallocWrapperWithPrivateDtor.Hugo Lima2010-03-302-2/+2
|
* SbkBaseWrapper_clearReferences not exported anymore.Hugo Lima2010-03-303-10/+10
| | | | So it was moved to basewrapper private header.
* SbkBaseWrapper_keepReference renamed to keepReference.Hugo Lima2010-03-302-2/+2
| | | | The huge prefix was removed because we are already under Shiboken namespace.
* Class Shiboken::ParentInfo doesn't need to be exported.Hugo Lima2010-03-302-16/+18
| | | | It was moved to basewrapper private header.
* Add support for multiple inheritance involving more than one C++ object.Hugo Lima2010-03-306-38/+295
|
* Removed "Shibo" prefix from ShiboParent and ShiboChildrenList.Hugo Lima2010-03-303-11/+11
| | | | 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-302-48/+89
|
* Use PyTuple_GET_SIZE instead of PyTuple_GetSize.Hugo Lima2010-03-301-1/+1
|
* SbkBaseWrapper_New gets a non-const void pointer instead of a const one.Hugo Lima2010-03-303-4/+4
| | | | 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-302-13/+29
|
* On setParent, when the child is a sequence, do not always call setParent for ↵Hugo Lima2010-03-301-2/+9
| | | | | | all elements. Only do it if the sequence is a native Python sequence.
* Add std::ostream& operator<<(std::ostream& out, PyObject* obj) to create ↵Hugo Lima2010-03-301-0/+13
| | | | better and easier debug messages.
* Fix setParent function when the child is a sequence object.Hugo Lima2010-03-301-2/+3
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org>
* Add SOVERSION to libshibokenHugo Lima2010-03-241-0/+1
| | | | | Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org>
* Shiboken generator and libshiboken now share the same version number.sb-0.2.0Hugo Lima2010-03-231-3/+3
| | | | | | | Version bumped to 0.2.0. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org>
* Remove duplicated definition of libshiboken_VERSION.Hugo Lima2010-03-231-1/+0
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Lauro Moura <lauro.neto@openbossa.org>
* Fixes Converter<void*>::toPython method.Marcelo Lira2010-03-231-0/+2
| | | | | | | | The void* converter transforms a C++ NULL pointer in a Python None. An unit test for this case was added as well. Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
* Converter<T*>::toCpp specialization now converts None to NULL pointer first.Marcelo Lira2010-03-221-1/+3
| | | | | | With the recent changes to Converter's behaviour, in particular to isConvertible method, Converter<T*>::toCpp must deal with Py_None values first.
* Merge branch 'operator'Lauro Neto2010-03-221-1/+1
|\
| * Fix SbkBaseWrapper_Check castLauro Neto2010-03-221-1/+1
| |
* | Fix pkgconfig libdir variable with lib64/ or lib32/ directories.Hugo Lima2010-03-221-2/+2
|/ | | | | Reviewer: Bruno Araújo <bruno.araujo@openbossa.org> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Speed up conversions of lists from python to c++ if the list classHugo Lima2010-03-181-0/+3
| | | | is binded by Shiboken (like QStringList).
* Added ObjectTypeReferenceConverter, so object-types can be used as references.Hugo Lima2010-03-181-0/+13
|
* Sequence conversion are made ONLY for python sequences.Hugo Lima2010-03-181-3/+7
| | | | | | Not for binded types implementing sequence protocol, otherwise this will cause a mess like QBitArray being accepted by someone expecting a QStringList.
* Added Shiboken::isShibokenType function to check is a object have a typeHugo Lima2010-03-181-0/+7
| | | | generated by Shiboken generator.
* Just try to reduce a bit the noise in source code caused by the use of ↵Hugo Lima2010-03-181-4/+2
| | | | templates.
* Add a default implementation for SbkType, so not binded types will return a ↵Hugo Lima2010-03-181-1/+4
| | | | | | | null pointer. Pro: Will be possible to write template functions to handle sequence conversions. Cons: We will not have an unresolved symbol when an error occur on generator.
* Move the checks to verify if an object is invalid to ↵Hugo Lima2010-03-181-2/+5
| | | | Shiboken::cppObjectIsInvalid function.