summaryrefslogtreecommitdiffstats
path: root/libshiboken
Commit message (Collapse)AuthorAgeFilesLines
* Fix BUG #1097 - "QtGui.QShortcut.setKey requires QKeySequence"Paulo Alcantara2011-12-221-15/+16
| | | | | | | | | | | | | | E.g., when calling QtGui.QShortcut.setKey(QtCore.Qt.CTRL + QtCore.Qt.Key_Delete) it was being called as QtGui.QShortcut.setKey(long) (in Python 2) when it should be actually QtGui.QShortcut.setKey(int). So that resulted in a TypeError exception when using Python version 2 with that small code. See http://bugs.pyside.org/show_bug.cgi?id=1097. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org> Reviewed-by: Hugo Parente Lima <hugo.pl@gmail.com>
* Fixed/refactored Shiboken::warning function.Marcelo Lira2011-12-132-9/+8
|
* Fixed CMake configuration of sbkversion.h header.Marcelo Lira2011-12-091-1/+2
|
* Added a convenience method to check if a converter belongs to a wrapper type.Marcelo Lira2011-12-092-0/+8
|
* Added adapter class SpecificConverter to provide type conversion based on a ↵Marcelo Lira2011-12-092-12/+84
| | | | | | | given string. Also added code to register a couple of type conversions by name, a bunch of related tests, and some fixes to the converter functions.
* Added a "to Python" converter function that gets a SbkConverter object.Marcelo Lira2011-12-092-3/+9
|
* Added some setting and converting functions to the new converter's API.Marcelo Lira2011-12-092-6/+40
|
* Added functions to the new converters API to check if a type is value or object.Marcelo Lira2011-12-096-5/+23
| | | | Comes with unit tests.
* Register type converters by name.Marcelo Lira2011-12-093-6/+27
| | | | This way they can be queried as the soon-to-be-deprecated TypeResolvers.
* Make converter branch work on a Python3.2 setup.Hugo Parente Lima2011-12-095-20/+41
|
* Fixes SBK_CONVERTER macro and SbkEnumType structure.Marcelo Lira2011-12-092-3/+6
| | | | | Fixes provided by Hugo Parente Lima. Unit test added.
* New converters for C++ enum and qflags types.Marcelo Lira2011-12-092-0/+18
| | | | Also removed a lot of unused and commented code.
* Added SBK_CONVERTER, a macro to get the type converter whatever the type, ↵Hugo Parente Lima2011-12-093-10/+3
| | | | but primitive types.
* Stores C++ enum type names on enum types itself instead of yet another hash.Hugo Parente Lima2011-12-091-18/+12
|
* Don't call PyTypeReady on QFlags types in createEnum function, this is done ↵Hugo Parente Lima2011-12-091-4/+1
| | | | when QFlags types is created.
* Updates creation of QFlags types at runtime.Hugo Parente Lima2011-12-095-56/+12
|
* Shiboken's enums now have converters.Marcelo Lira2011-12-093-6/+79
|
* Fixed Python 2.5 compatibility header for PyLong_FromSize_t and ↵Marcelo Lira2011-12-091-0/+3
| | | | PyLong_AsSsize_t functions.
* SbkConverter's copyToPython function now returns Python None for C++ NULL ↵Marcelo Lira2011-12-091-0/+2
| | | | pointer.
* New conversions for containers.Marcelo Lira2011-12-094-0/+514
|
* Converter can be registered and retrieved for string representations of types.Marcelo Lira2011-12-092-1/+48
|
* New converters for C++ primitive types.Marcelo Lira2011-12-094-2/+443
|
* New converters for user added primitive types.Marcelo Lira2011-12-094-4/+70
| | | | Win32 fix for zero length type converter array.
* Implemented new type converters, but only for wrapper types.Marcelo Lira2011-12-098-37/+544
|
* Implemented PSEP 0106.Hugo Parente Lima2011-12-095-5/+175
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Paulo Alcantra <pcacjr@gmail.com>
* Fix BUG #10571.0.10Paulo Alcantara2011-11-231-3/+4
| | | | | | Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* basewrapper: cleanupsPaulo Alcantara2011-11-171-13/+12
| | | | | | Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug 1033 - "QDialog.DialogCode instances and return value from ↵Hugo Parente Lima2011-10-281-1/+4
| | | | QDialog.exec_ hash to different values"
* Fix bug 1013 - "connect to QSqlTableModel.primeInsert() causes crash"Hugo Parente Lima2011-10-281-0/+18
|
* Fix bug 1010 - "Shiboken Cygwin patch."Yaakov2011-10-271-1/+1
| | | | | Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix regression with enums.Lauro Neto2011-10-201-26/+22
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
* Fix ABI break and link error on MS Windows.1.0.8Hugo Parente Lima2011-10-202-4/+4
|
* Don't delete parentInfo when it seens to be useless to avoid crash on ↵Hugo Parente Lima2011-10-182-13/+13
| | | | garbage collector.
* Add constructor overload AutoDecRef(SbkObject*).Hugo Parente Lima2011-10-181-0/+6
|
* Fixed code style on sbkenum.cppHugo Parente Lima2011-10-141-9/+4
| | | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed regression that made enums not hashable.Hugo Parente Lima2011-10-142-1/+7
|
* Made SbkChar_Check macro safer with parenthesis.Marcelo Lira2011-10-111-5/+1
| | | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fix PySide compilation with Python 2.5.Hugo Parente Lima2011-10-101-0/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Removes printfs and fixes str test.Marcelo Lira2011-10-101-2/+0
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* String::convertible renamed to String::isConvertible.Hugo Parente Lima2011-10-073-3/+3
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Added new line to end of shibokenbuffer.h.Hugo Parente Lima2011-10-061-1/+1
|
* Small changes to sbkstring.cpp.Hugo Parente Lima2011-10-061-16/+8
|
* Use sbkpython instead of Python.h.Hugo Parente Lima2011-10-061-1/+1
|
* Add macros to kept python 2.5 compatibility.Hugo Parente Lima2011-10-061-9/+16
|
* Avoid string variable to be used unitialized.Hugo Parente Lima2011-10-061-1/+1
|
* Fix string.Renato Filho2011-10-061-5/+9
|
* Fixed char conversion to work with both python 3.x and 2.xRenato Filho2011-10-061-3/+29
|
* Fixed object destruction.Renato Filho2011-10-061-1/+2
|
* Fixed shiboken buffer to work with python 3.xRenato Filho2011-10-061-0/+4
|
* Fixed compat header.Renato Filho2011-10-061-0/+1
|