summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated ↵0.5.0Renato Filho2010-09-109-38/+42
| | | | | | | files to allow multiples version installed simultaneous. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Bump the shiboken version due to BIC changes in commits:Hugo Parente Lima2010-09-091-2/+2
| | | | | 1eda671a34eba38e7e74e592e4ae88fa6803bcba b4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9
* Bump the required versions for ApiExtractor and GeneratorRunner.Hugo Parente Lima2010-09-091-2/+2
|
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-09105-2106/+846
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Retore thread state in the first line before the C++ call to avoid any otherHugo Parente Lima2010-09-081-32/+40
| | | | | | | Python call. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Avoid call functions when an error occurs on argument conversion.Renato Filho2010-09-033-0/+9
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug#320 - "OR'ing Qt alignments doesn't work; adding them does"Hugo Parente Lima2010-09-032-52/+30
| | | | | | | Also fixes another bugs found in our QFlags implementation. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Make the ownership transfer to CPP in native virtual functions.Renato Filho2010-09-021-1/+2
| | | | | | | Fixes bug #304. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix bug#316 - "QAbstractItemModel.createIndex is broken"Hugo Parente Lima2010-09-015-36/+22
| | | | | | | | | | | | | | 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>
* Use the correct path separator on Windows.Hugo Parente Lima2010-08-312-2/+8
|
* Fix linker problems on MSVC.Hugo Parente Lima2010-08-311-4/+4
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araujo <renato.araujo@openbossa.org>
* Impleted auto code for classes derived from list container.Renato Filho2010-08-307-0/+177
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Release the python threads inside of injected code.Renato Filho2010-08-301-28/+31
| | | | | | | Fixes bug #321 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix the type resolver algorithm.Hugo Parente Lima2010-08-3011-63/+194
| | | | | | | | | | | | | | | | | 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>
* Add -Wno-strict-aliasing to debug and release builds using GCC.Hugo Parente Lima2010-08-301-2/+2
|
* Generated original_name with "*" for object classes.Renato Filho2010-08-262-3/+10
| | | | | | | | 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>
* Doc for new inject code rule.Renato Filho2010-08-251-1/+7
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Accepts inject conde on virtual functions before call c++ code.Renato Filho2010-08-251-0/+9
| | | | | 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>
* Fix bug#308 - "Confusing error for wrong argument types"Hugo Parente Lima2010-08-241-3/+10
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Included vector header on generated files.Renato Filho2010-08-231-0/+1
|
* Fixed CMake config file for libshiboken.Renato Filho2010-08-231-1/+1
|
* Removed generation of #warning in cpp files move this message to generator ↵Renato Filho2010-08-201-2/+1
| | | | | | | report. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Avoid create arguments parser to function without default arguments.Renato Filho2010-08-201-20/+24
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* 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
|
* Get ride of PyMODINIT_FUNC, since it doesn't correctly set the visibility ↵Hugo Parente Lima2010-08-195-33/+9
| | | | | | | rules on Linux. Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed tests enviroment vars.Renato Filho2010-08-191-2/+2
|
* Fix mem leak in shiboken tests.Hugo Parente Lima2010-08-191-5/+16
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* use MSVC flag to detect the compiler on hash library.Renato Filho2010-08-191-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Use .pyd to python modules on windows.Renato Filho2010-08-192-0/+6
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Remove definition of NOCOLOR constant.Hugo Parente Lima2010-08-191-1/+1
| | | | | 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-193-18/+17
|
* Fixed module initialization export.Renato Filho2010-08-191-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed tests to run on windows.Renato Filho2010-08-192-30/+27
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Include python headers befor use Python macros.Renato Filho2010-08-191-3/+4
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed libsample export to avoid warnings on windows.Renato Filho2010-08-191-3/+3
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix flags used when compiling using MSVC.Renato Filho2010-08-191-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Use CMake DEFINES to export symbols.Renato Filho2010-08-193-7/+9
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Used the define MSVC in goggle hash to compile with native windows API.Renato Filho2010-08-191-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* fixed tests exported symbols.Renato Filho2010-08-1842-192/+190
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed bug on named args parser.Renato Filho2010-08-171-1/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Anderson Lizardo <anderson.lizardo@gmail.com>
* Fix bug 294 - "If the function must return a QFlags<T> and you return T, an ↵Hugo Parente Lima2010-08-172-3/+5
| | | | | | | exception is throw." Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Implement support to signal connection on constructor using named arguments.Renato Filho2010-08-161-9/+26
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Create unit test to function with ambiguous signature in Python side.Renato Filho2010-08-166-1/+124
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Adds support for property setting in QObject derived constructors.Marcelo Lira2010-08-131-15/+51
| | | | | | | | | | | | | | | | | | | | Now QObject properties can be set through named arguments passed to their constructors. E.g.: to add a new property-value pair to a newly created QObject just do: obj = QObject(objectName='bar') this is equivalent to obj = QObject() obj.setProperty('objectName', 'bar') The constructor way to set properties will only work for already existing properties, dynamic properties must be set with the QObject.setProperty method. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Use isValuetype to verify if the class has copy constructor.Renato Filho2010-08-121-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>