summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use sleep function to give time to process breath.1.0.0-beta3Renato Araujo Oliveira Filho2011-01-051-1/+10
| | | | | | | Fixes bug #580 Reviewer: Lauro Moura <lauro.neto@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Release the gil for every C++ function call, ignoring allow-thread attribute ↵Hugo Parente Lima2011-01-041-17/+2
| | | | | | | on typesystem. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Added test case for Bug #572.Marcelo Lira2011-01-032-0/+49
| | | | | | | | Bug #572: Giving unicode value as 'body' argument to WebView's load method crashes python. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* A convertible check must be done on named arguments as it is done on regular ↵Marcelo Lira2011-01-031-1/+8
| | | | arguments.
* Added a Linux man page for Shiboken.Marcelo Lira2011-01-032-1/+79
| | | | | The man page was copied from the 'ubuntu' directory on the old 'packaging' repository.
* Add support for operator overload injection.Hugo Parente Lima2010-12-294-18/+38
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Use QByteArray instead of QString to save 1 pico second :-)Hugo Parente Lima2010-12-291-2/+2
|
* Add support to fix the bug#493 - "__eq__ and friends not implemented for ↵Hugo Parente Lima2010-12-294-7/+40
| | | | QKeyEvent == QKeySequence"
* Fix test after changes to SequenceToArgcArgvLauro Neto2010-12-291-1/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
* Put __file__ on argv only when a empty list is given.Hugo Parente Lima2010-12-291-14/+22
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Don't generate type resolvers using the const keyword.Hugo Parente Lima2010-12-291-4/+1
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#495 - "Broken rich compare operators if they use an object-type as ↵Hugo Parente Lima2010-12-288-7/+158
| | | | parameter"
* Avoid compiler warning about unhandled constant in switch block.Hugo Parente Lima2010-12-281-0/+3
|
* Fix typoHugo Parente Lima2010-12-281-1/+1
|
* Fix bug#554 - "Inner classes don't work and give us a segfault"Hugo Parente Lima2010-12-232-4/+43
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Used Qt4.7 code to normalize types for all previous Qt version.Renato Araujo Oliveira Filho2010-12-234-6/+323
| | | | | Reviewer: Lauro Moura <lauro.neto@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Removed '&' from type registration.Renato Araujo Oliveira Filho2010-12-231-3/+3
| | | | | Reviewer: Lauro Mora <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Added support for promoting enums from removed namespaces to upper scope.Marcelo Lira2010-12-239-15/+201
| | | | | | | | | | Classes in namespaces marked not to be generated are always moved to upper scopes, the current modification add this same behaviour to enums. Tests were also added. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixed signal register function.Renato Araujo Oliveira Filho2010-12-221-2/+5
| | | | | | | Use translated type name as type, and exclude const from containers. Reviewer: Lauro Moura <lauro.neto@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Fix Py_DEBUG detection on Windows.Hugo Parente Lima2010-12-221-1/+1
| | | | | | | On Windows sysconfig.get('Py_DEBUG') can return None instead of 0. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Minor changed in CMakeLists.txtHugo Parente Lima2010-12-221-5/+4
|
* Removed WITH_THREAD ifdefs, it causes a lot of warnings on Windows and was ↵Hugo Parente Lima2010-12-222-3/+0
| | | | always set by our buildsystem.
* Print debug messages to stderr isntead of stdout.Hugo Parente Lima2010-12-221-4/+4
|
* Use converter during generation only for primitives types which isRenato Araujo Oliveira Filho2010-12-221-8/+14
| | | | | | | impossible to convert using by Py_BuildValue. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
* Fixed use of python conversion for type with typedefs.Renato Araujo Oliveira Filho2010-12-221-3/+5
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
* Fix bug#484 - "Error compiling QtContacts 1.1 (problems with const ↵Hugo Parente Lima2010-12-201-4/+6
| | | | | | | QList<QVariant>)" Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Disable copy of ThreadStateSaver objects.Hugo Parente Lima2010-12-201-0/+3
|
* Removed unnecessary code to check the refcount of Python objects returned on ↵1.0.0-beta2Marcelo Lira2010-12-171-13/+1
| | | | | | | virtual methods. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed code generation for virtual method ownership release of returned value.Marcelo Lira2010-12-172-4/+2
| | | | | The value returned from Python to C++ shouldn't have its reference counting decremented after Python transferring ownership to C++.
* Fix register type function to register the type with two names.Renato Araujo Oliveira Filho2010-12-162-21/+72
| | | | | | Fix signal register, to use arguments type name based on generated namespace. Fix bug #498.
* Added tests to check the release of ownership of objects returned from Python.Marcelo Lira2010-12-1610-11/+185
| | | | | | | | | | | The ObjectModel test class was introduced to check if the transference of ownership of objects returned from Python to C++ through a virtual method is working properly. Also updated the other test that uses the ObjectView class. Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Generate code to release ownership on Python values returned to C++ on ↵Marcelo Lira2010-12-161-0/+10
| | | | | | | | | | | virtual methods. In other words, the following type system snippet will now be recognized by the generator: <modify-argument index="return"> <define-ownership class="native" owner="c++"/> </modify-argument>
* Fixed typo on generated error message.Marcelo Lira2010-12-161-1/+1
|
* Replaced code generated on funtion getattro to function present onRenato Araujo Oliveira Filho2010-12-151-80/+4
| | | | | | libpyside. Fix bug #525.
* Fixed comments typo.Renato Araujo Oliveira Filho2010-12-152-3/+3
|
* Fix object destruction process to avoid pass a invalid object during theRenato Araujo Oliveira Filho2010-12-144-13/+20
| | | | | | | | | __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 Lima2010-12-141-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 Lima2010-12-1310-27/+245
| | | | | 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 Lima2010-12-131-4/+1
| | | | | | happens on shutdown."" This reverts commit fb90a3df97b53f3ef4878d8beb719d4aa7b0c6cb.
* Fix bug#500 - "If an instance of QPrintDialog is created a deadlock happens ↵Hugo Parente Lima2010-12-131-1/+4
| | | | | | | on shutdown." Reviewer: Lauro Mora <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Code generated for Qt's signals wrapping now deal with arguments with ↵Marcelo Lira2010-12-091-0/+7
| | | | | | | | | | | | | | | | default values. For instance, the "QAbstractButton::clicked(bool checked = false)" signal, can be connected using the two signatures "clicked()" and "clicked(bool)". Using button.clicked.connect(callback_function) could cause the binding to connect to "clicked(bool)", instead of "clicked()", leaving the user unaware of it. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Added another overload for makeTuple, this time with just one argument.Hugo Parente Lima2010-12-091-1/+7
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Test case for proper generation of constructor altered by conversion-rule tag.Marcelo Lira2010-12-065-0/+98
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Generator now writes the proper variable name on C++ constructor calls.Marcelo Lira2010-12-061-1/+2
| | | | | | When a conversion rule is provided for a constructor argument the C++ constructor, for which the conversion rule doesn't apply, is generated with wrong argument names. This commit solves this.
* Write a simpler code to deal with dynamic QMetaObjects.Hugo Parente Lima2010-12-032-30/+11
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Add subtype init hook.Hugo Parente Lima2010-12-033-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 Lima2010-12-025-37/+0
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Removed useless stuff from TypeResolver.Hugo Parente Lima2010-12-012-34/+17
|
* Remove SbkTypeInfo and CppObjectCopier structs, they aren't needed after the ↵Hugo Parente Lima2010-12-015-63/+9
| | | | fix on qt_metacall.
* Remove objectDeleter function and use the well known ↵Hugo Parente Lima2010-12-011-7/+1
| | | | Shiboken::callCppDestructor.