summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replaced use from QList to QSet in children list.1.0.0-beta5Renato Araujo Oliveira Filho2011-02-022-3/+3
| | | | | | | Patch from farsmo <farsmo@sogetthis.com> Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed Cmake files used to find the library after the installation.Renato Araujo Oliveira Filho2011-02-022-10/+11
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed a type on a warning about polymorphic-id-expression.Marcelo Lira2011-02-021-1/+1
| | | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug 616 - "error compiling when public and private methods differ by the ↵Hugo Parente Lima2011-02-016-13/+83
| | | | | | | const-ness" Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug 655 - "bad re-implementations of QApplication.notify result in a ↵Hugo Parente Lima2011-02-011-1/+8
| | | | | | | SystemError" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Test bindings project files modified to use key/value pair text files.Marcelo Lira2011-01-316-50/+39
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Test bindings now use project files instead of generator command line options.Marcelo Lira2011-01-314-19/+55
|
* Shiboken binary now responds to the "--version" argument.Marcelo Lira2011-01-315-5/+25
| | | | | The version command line argument was previously answered by GeneratorRunner. This commit also generally updates some CMake files.
* Added SHIBOKEN_BINARY variable to CMake config file.Marcelo Lira2011-01-313-2/+8
| | | | | | | | It points to the Shiboken generator executable so the users can use it instead of calling GeneratorRunner plus a parameter pointing to Shiboken generator module. Also fixed generator_location variable on shiboken.pc file.
* Replaced tabs with spaces on cmake file.Marcelo Lira2011-01-311-5/+4
|
* Shiboken executable calls GeneratorRunner with the renamed "--generator-set" ↵Marcelo Lira2011-01-313-3/+6
| | | | argument.
* Fix bug613 - "QSvgRenderer chooses QByteArray overload when given a file path"Hugo Parente Lima2011-01-311-1/+5
| | | | | | | QString arguments will always be evaluated before QByteArray arguments. Reviewer: Luciano Wolf <lucianol.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix regression that caused overload sorting to not respect argument type ↵Hugo Parente Lima2011-01-284-9/+31
| | | | renames.
* Created unit test for enum.__repr__ function.Renato Araujo Oliveira Filho2011-01-281-0/+10
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed enum __repr__ function.Renato Araujo Oliveira Filho2011-01-282-9/+33
| | | | | | | fixes bug #617. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added the "%CPPTYPE" type system variable.Marcelo Lira2011-01-282-0/+16
| | | | | | | | | | %CPPTYPE will be converted to the original C++ name of a class, without any "Wrapper" suffix or namespace prefix. Documentation for the new variable was added as well. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Type system %TYPE variable is now available for class wide custom code.Marcelo Lira2011-01-282-2/+3
| | | | %TYPE documentation was updated.
* Use SBK_PYTHON_INCLUDE_DIR instead of PYTHON_INCLUDE_DIRS or ↵Hugo Parente Lima2011-01-265-11/+11
| | | | | | | PYTHON_INCLUDE_PATH. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* Fix bug#605 - "Using metaclasses with the PySide classes doesn't work"Hugo Parente Lima2011-01-262-2/+35
|
* Fix bug#640 - "(elasticnode) Crash in example elasticnodes.py"Hugo Parente Lima2011-01-251-3/+4
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#633 - "bool of null QDate (possibly other empty QString/null QObj ↵Hugo Parente Lima2011-01-247-7/+96
| | | | | | | types?) returns True for empty instance; probably should be False" Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Fix bug#636 - "Unable to navigate back to the main site from the generated ↵Hugo Parente Lima2011-01-242-5/+3
| | | | documentation"
* Update module version dependency.Renato Araujo Oliveira Filho2011-01-211-2/+2
|
* Updated apiextractor and generatorrunner version dependency.1.0.0-beta4Renato Araujo Oliveira Filho2011-01-211-3/+3
|
* Shiboken enums now have a tp_print representation.Marcelo Lira2011-01-212-1/+29
| | | | | | | | | | 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>
* Added test for module reloading.Marcelo Lira2011-01-192-0/+52
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Add Shiboken::Object::isValid(SbkObject* pyObj, bool throwPyError = true) ↵Hugo Parente Lima2011-01-192-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>
* Added more test cases for protected attributes.Marcelo Lira2011-01-192-7/+51
| | | | | | | | The tests are meant to be useful when compiled without the protected hack or on the win32 platform. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fix windows compilation.Renato Araujo Oliveira Filho2011-01-192-7/+20
| | | | | Reviewer: Hugo Parente <hugo.lima@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Used c++ pointer during the c++ class attribute get function.Renato Araujo Oliveira Filho2011-01-173-9/+36
| | | | | | | | 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>
* Updated Shiboken documentation with advice about duck punching and virtual ↵Marcelo Lira2011-01-133-0/+74
| | | | | | | methods. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Optimized setParent function.Renato Araujo Oliveira Filho2011-01-132-2/+12
| | | | | | | | | | 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 fileLauro Neto2011-01-125-28/+48
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Added test to assert the precedence of enum arguments over int implicit ↵Marcelo Lira2011-01-125-0/+119
| | | | | | | | | | | | | conversions. This test is inspired by bug #511 [1], and it checks the precedence of an enum argument over a class that can be implicitly built from an integer. [1] http://bugs.openbossa.org/show_bug.cgi?id=511 Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* The overload decisor must put enums before types implicitly convertible from ↵Marcelo Lira2011-01-111-0/+23
| | | | | | | | integers. Otherwise the enum value will be an acceptable argument for a class that expects an integer (signed or unsigned) to be implicitly built, and the enum argument will never be called.
* Fix SbkType name when setting exception in virtualLauro Neto2011-01-101-1/+1
| | | | | | | | Was generating SbkType<NAME> with '*' in NAME, leading to segfaults. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
* Add test for invalid type returning from virtualsLauro Neto2011-01-101-0/+57
| | | | | Returning an integer where the binding expects a pointer shouldn't segfault.
* Initialize ShibokenObject private data.Renato Araujo Oliveira Filho2011-01-071-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>
* Fix bug#530 - "Importing division from future breaks QPoint division"Hugo Parente Lima2011-01-074-1/+22
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
* 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>