Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Shiboken enums now have a tp_print representation. | Marcelo Lira | 2012-03-08 | 1 | -1/+15 |
| | | | | | | | | | | This fixes the bug #611[1], and an unit test was also added. [1] http://bugs.openbossa.org/show_bug.cgi?id=611 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org> | ||||
* | Add Shiboken::Object::isValid(SbkObject* pyObj, bool throwPyError = true) ↵ | Hugo Parente Lima | 2012-03-08 | 2 | -1/+16 |
| | | | | | | | | | | 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> | ||||
* | Used c++ pointer during the c++ class attribute get function. | Renato Araujo Oliveira Filho | 2012-03-08 | 1 | -2/+0 |
| | | | | | | | | Now all function get for class attribute return the internal memory of the c++ attribute. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Optimized setParent function. | Renato Araujo Oliveira Filho | 2012-03-08 | 1 | -2/+2 |
| | | | | | | | | | | Replaced use of find in the children list for check on the current child if his has a parent and if the parent is the same. Fixes bug #556 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente <hugo.lima@openbossa.org> | ||||
* | Append python name to libshiboken output file | Lauro Neto | 2012-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | libshiboken is strongly tied to the python it was compiled against. This commit adds the python name to the output file to make this connection explicit. The generator plugin, binary and includes are untouched as they don't depend on python. Also, Instead of installing the cmake info in a single file, ShibokenConfig.cmake will load the correct file (ShibokenConfig-<python name>.cmake) based on the value of PYTHON_BASENAME when cmake is called. The last shiboken installed will be the default as each install will overwrite ShibokenConfig.cmake. To select an specific python, call cmake with -DPYTHON_BASENAME=python2.6, for python2.6 release. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> | ||||
* | Initialize ShibokenObject private data. | Renato Araujo Oliveira Filho | 2012-03-08 | 1 | -0/+3 |
| | | | | | | | | | This avoid errors during the functions call which uses the private data. Fixes bug #589 Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente <hugo.lima@openbossa.org> | ||||
* | Put __file__ on argv only when a empty list is given. | Hugo Parente Lima | 2012-03-08 | 1 | -14/+22 |
| | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org> | ||||
* | Fix bug#554 - "Inner classes don't work and give us a segfault" | Hugo Parente Lima | 2012-03-08 | 1 | -4/+3 |
| | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org> | ||||
* | Removed WITH_THREAD ifdefs, it causes a lot of warnings on Windows and was ↵ | Hugo Parente Lima | 2012-03-08 | 2 | -3/+0 |
| | | | | always set by our buildsystem. | ||||
* | Print debug messages to stderr isntead of stdout. | Hugo Parente Lima | 2012-03-08 | 1 | -4/+4 |
| | |||||
* | Disable copy of ThreadStateSaver objects. | Hugo Parente Lima | 2012-03-08 | 1 | -0/+3 |
| | |||||
* | Fixed comments typo. | Renato Araujo Oliveira Filho | 2012-03-08 | 2 | -3/+3 |
| | |||||
* | Fix object destruction process to avoid pass a invalid object during the | Renato Araujo Oliveira Filho | 2012-03-08 | 3 | -12/+19 |
| | | | | | | | | | __del__ function. Fix bug #505 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | Finally fix bug#500 - "If an instance of QPrintDialog is created a deadlock ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -1/+5 |
| | | | | | | | happens on shutdown." Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | Fix bug#513 - "Hardcoded bool return type for operator overloads" | Hugo Parente Lima | 2012-03-08 | 1 | -2/+3 |
| | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Revert "Fix bug#500 - "If an instance of QPrintDialog is created a deadlock ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -4/+1 |
| | | | | | | happens on shutdown."" This reverts commit fb90a3df97b53f3ef4878d8beb719d4aa7b0c6cb. | ||||
* | Fix bug#500 - "If an instance of QPrintDialog is created a deadlock happens ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -2/+5 |
| | | | | | | | on shutdown." Reviewer: Lauro Mora <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | Added another overload for makeTuple, this time with just one argument. | Hugo Parente Lima | 2012-03-08 | 1 | -1/+7 |
| | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Add subtype init hook. | Hugo Parente Lima | 2012-03-08 | 3 | -3/+34 |
| | | | | 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 Lima | 2012-03-08 | 3 | -20/+0 |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> | ||||
* | Removed useless stuff from TypeResolver. | Hugo Parente Lima | 2012-03-08 | 2 | -34/+17 |
| | |||||
* | Remove SbkTypeInfo and CppObjectCopier structs, they aren't needed after the ↵ | Hugo Parente Lima | 2012-03-08 | 3 | -49/+9 |
| | | | | fix on qt_metacall. | ||||
* | Remove objectDeleter function and use the well known ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -7/+1 |
| | | | | Shiboken::callCppDestructor. | ||||
* | Remove const version of Converters to avoid hidding generator bugs. | Hugo Parente Lima | 2012-03-08 | 1 | -12/+0 |
| | |||||
* | Updated basewrapper.h docs. | Hugo Parente Lima | 2012-03-08 | 1 | -8/+60 |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | Add function Shiboken::ObjectType::getUserData(SbjObjectTyoe*) | Hugo Parente Lima | 2012-03-08 | 2 | -0/+10 |
| | |||||
* | Added BindingManager::visitAllPyObjects function, used to visit all ↵ | Hugo Parente Lima | 2012-03-08 | 2 | -0/+21 |
| | | | | | | | PyObjects with a function. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Speed up hasWrapper function using the find method instead of count. | Hugo Parente Lima | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Merge branch 'fixapi' | Hugo Parente Lima | 2012-03-08 | 6 | -147/+148 |
|\ | | | | | | | | | | | | | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> Conflicts: generator/cppgenerator.cpp libshiboken/basewrapper.cpp libshiboken/basewrapper_p.h | ||||
| * | SbkBaseType_Type renamed to SbkObjectType_Type. | Hugo Parente Lima | 2012-03-08 | 2 | -7/+7 |
| | | |||||
| * | Renamed some more internal objects and functions. | Hugo Parente Lima | 2012-03-08 | 4 | -16/+16 |
| | | |||||
| * | Namespace Shiboken::Wrapper renamed to Shiboken::Object. | Hugo Parente Lima | 2012-03-08 | 5 | -26/+26 |
| | | |||||
| * | namespace Shiboken::BaseType renamed to Shiboken::ObjectType. | Hugo Parente Lima | 2012-03-08 | 3 | -12/+12 |
| | | |||||
| * | Rename SbkBaseType back to SbkObjectType. | Hugo Parente Lima | 2012-03-08 | 6 | -90/+90 |
| | | |||||
* | | Fixed generation with AVOID_PROTECTED_HACK. | Renato Araujo Oliveira Filho | 2012-03-08 | 2 | -6/+5 |
|/ | | | | | | | Fixes bug #476. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com> | ||||
* | Created private pointer for Shiboken Meta Type. | Renato Araujo Oliveira Filho | 2012-03-08 | 7 | -272/+448 |
| | | | | | | | 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 Filho | 2012-03-08 | 5 | -255/+330 |
| | | | | | | | | Updated generator to new API. Fix bug #462 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com> | ||||
* | Add operator= to AutoDecRef. | Hugo Parente Lima | 2012-03-08 | 1 | -13/+34 |
| | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org> | ||||
* | Added Shiboken::Wrapper::hasParentInfo function. | Hugo Parente Lima | 2012-03-08 | 2 | -0/+7 |
| | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> | ||||
* | Fix the metaObject method written by the generator after the changed in ↵ | Hugo Parente Lima | 2012-03-08 | 1 | -1/+3 |
| | | | | libshiboken. | ||||
* | Changed signature of cppPointer to receive SbkObject* instead of PyObject*. | Hugo Parente Lima | 2012-03-08 | 3 | -9/+8 |
| | |||||
* | Added Shiboken::Wrapper::hasOwnership function. | Hugo Parente Lima | 2012-03-08 | 2 | -0/+6 |
| | |||||
* | SbkBaseWrapperPrivate renamed to SbkObjectPrivate | Hugo Parente Lima | 2012-03-08 | 3 | -4/+4 |
| | | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | Remove macro Shiboken_TypeCheck | Hugo Parente Lima | 2012-03-08 | 2 | -8/+1 |
| | |||||
* | Removed macros SbkBaseWrapper_Check and SbkBaseWrapper_CheckExact. | Hugo Parente Lima | 2012-03-08 | 1 | -3/+0 |
| | |||||
* | Variable SbkBaseWrapperType_Type renamed to SbkObjectType_Type | Hugo Parente Lima | 2012-03-08 | 2 | -7/+7 |
| | |||||
* | SbkBaseWrapper_Type variable renamed to SbkObject_Type | Hugo Parente Lima | 2012-03-08 | 2 | -5/+5 |
| | |||||
* | Rename some internal functions and structs. | Hugo Parente Lima | 2012-03-08 | 1 | -10/+10 |
| | |||||
* | SbkBaseWrapperType renamed to SbkObjectType. | Hugo Parente Lima | 2012-03-08 | 7 | -56/+56 |
| | |||||
* | SbkBaseWrapper_TpNew renamed to SbkObjectTpNew, now using C linkage and ↵ | Hugo Parente Lima | 2012-03-08 | 2 | -23/+23 |
| | | | | moved outside C++ namespace. |