summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typesystem_sample.xml
Commit message (Collapse)AuthorAgeFilesLines
* Added tests to check the release of ownership of objects returned from Python.Marcelo Lira2010-12-161-1/+8
| | | | | | | | | | | 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>
* Fix bug#513 - "Hardcoded bool return type for operator overloads"Hugo Parente Lima2010-12-131-0/+2
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Test case for proper generation of constructor altered by conversion-rule tag.Marcelo Lira2010-12-061-0/+13
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Merge branch 'fixapi'Hugo Parente Lima2010-11-231-7/+7
|\ | | | | | | | | | | | | | | | | 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
| * Namespace Shiboken::Wrapper renamed to Shiboken::Object.Hugo Parente Lima2010-11-231-3/+3
| |
| * namespace Shiboken::BaseType renamed to Shiboken::ObjectType.Hugo Parente Lima2010-11-231-6/+6
| |
* | Created debug function on samle bindings.Renato Araujo Oliveira Filho2010-11-231-0/+5
|/ | | | | | | | This function 'cacheSize()' can be used to check how many objects still registered on BindingManager. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Updated some tests to work with new API.Renato Araujo Oliveira Filho2010-11-191-2/+2
|
* Variable SbkBaseWrapperType_Type renamed to SbkObjectType_TypeHugo Parente Lima2010-11-101-1/+1
|
* SbkBaseWrapper_Type variable renamed to SbkObject_TypeHugo Parente Lima2010-11-101-1/+1
|
* SbkBaseWrapperType and some other functions used by Python C-API moved ↵Hugo Parente Lima2010-11-101-1/+1
| | | | outside C++ namespaces.
* Fix injectcode test to work with the newer version of sequencetoArgcArgv.Hugo Parente Lima2010-10-291-4/+4
|
* Fixed typesystem in function where is necessary thread save option.renatofilho2010-10-281-0/+1
| | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
* Created test for abstract function with not exported type as agument.renatofilho2010-10-181-0/+4
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#411 - "Incorrect return statement generated in a function that ↵Hugo Parente Lima2010-10-181-1/+29
| | | | | | | returns a reference" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed namespace lookup during the class generation.renatofilho2010-10-151-1/+3
| | | | | | | fixes bug #414. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Added test for overload decisor handling container dependencies.Marcelo Lira2010-10-151-1/+35
| | | | | | | | | | | | | | | Explaining with an example. Consider a function called "function" with two signatures accepting a list of Point and a list of PointF, respectively. Consider also that Point is implicitly convertible to PointF. void function(list<Point>&) void function(list<PointF>&) A list of Point should be checked before a list of PointF. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test for unknown class holder.renatofilho2010-10-151-0/+7
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Inject code for Point.__reduce__0.5.1Lauro Neto2010-10-111-0/+11
| | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Unit test to target conversion.renatofilho2010-10-011-0/+7
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Created unit test to unsafe parent (parent created from c++)renatofilho2010-09-241-0/+5
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Updated type system file for test binding to use nested types.Marcelo Lira2010-09-231-27/+37
| | | | | | | | | | | | | | | | | | Instead of the awkward: <enum-type name="Foo::Bar"/> <value-type name="Foo"/> <value-type name="Foo::Sbrubles"/> We now use the proper: <value-type name="Foo"> <enum-type name="Bar"/> <value-type name="Sbrubles"/> </value-type> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added tests for anonymous global and class bound enums.Marcelo Lira2010-09-201-0/+3
|
* Fix OverloadData::isSingleArgumentLauro Neto2010-09-201-0/+5
| | | | | | | | | | | | Now returning true *only* when exactly all overloads accept exactly 1 argument. Fixes compilation of QAudioInput and QAudioOutput from QtMultimedia. Both have start() and start(QIODevice*) overloads, and the previous code was generating 'arg' instead of 'pyargs'. Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#339 - "RuntimeError when accessing mousepress event object"Hugo Parente Lima2010-09-171-0/+3
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Lauro Moura <lauro.filho@openbossa.org>
* Fix code generation for modified constructors.Luciano Wolf2010-09-131-0/+11
| | | | | Reviewers: Renato Araújo <renato.filho@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Impleted auto code for classes derived from list container.Renato Filho2010-08-301-0/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* 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>
* fixed tests exported symbols.Renato Filho2010-08-181-1/+1
| | | | | 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-161-0/+9
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Created unit test to operator().Renato Filho2010-08-111-0/+1
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added custom code to VoidHolder.gimmeMeSomeVoidPointer().Marcelo Lira2010-08-031-1/+11
| | | | | | | | The said method retuns a void pointer never before seen on the Python side. The code injection puts the void pointer in a BaseWrapper object. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fix char* converterRenato Filho2010-07-271-3/+3
| | | | | | | | Fix tests. Created warnning about return last ref of python object. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed inject code to works on windows.Renato Filho2010-07-191-1/+2
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Added support for protected fields when not using the "protected hack".Marcelo Lira2010-06-031-0/+2
| | | | Tests were also added.
* Generator improved to handle protected enums without the protected hack.Marcelo Lira2010-06-021-1/+1
|
* Adds protected enum test cases.Marcelo Lira2010-06-011-0/+5
|
* Added tests for user added functions declared inside namespaces.Hugo Parente Lima2010-04-301-0/+5
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org>
* Merge remote branch 'luck/fixprivctor'Luciano Wolf2010-04-231-0/+1
|\
| * Support to "only private constructor available" case.Luciano Wolf2010-04-211-0/+1
| |
* | Use qualified class name when callign a method like self->ClassName::method().Hugo Parente Lima2010-04-221-1/+2
| | | | | | | | This fix some problems compiling bindings for classes under C++ namespaces.
* | Added support for enums inside classes inside namespaces.Hugo Parente Lima2010-04-221-0/+1
| |
* | Add test for classes and inner classes inside namespaces.Hugo Parente Lima2010-04-221-1/+4
| |
* | Add declaration of global functions on sample typesystem.Hugo Parente Lima2010-04-221-3/+24
|/
* Remove warnings about "deprecated conversion from string constant to 'char*'".Hugo Parente Lima2010-04-121-1/+1
| | | | | | | | These warnings are due to the Python C API using a char* as parameter when it should const char*. Reviewer: Anderson Lizardo <anderson.lizardo@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
* Adds test case for libsample's Size class copy constructor.Marcelo Lira2010-03-261-6/+6
| | | | Also fixes samplebinding type system indentation.
* Adds tests to type system modifications regarding reference to pointer type.Marcelo Lira2010-03-221-0/+44
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Adds a test for a method with modifications and custom conversion rules.Marcelo Lira2010-03-191-1/+17
| | | | | | | | | | | | | The test function does nothing in fact, it is there just to cause a situation that could cause a compilation problem if the generator is not working as it should. In other words if it compiles, then it is ok. :) The added method was a dummy clone of a similar QPixmap.loadFromData method signature that prevented QtGui from compiling properly. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Anderson Lizardo <anderson.lizardo@openbossa.org>
* Allow hash-function tag to be definied in object-types (Fix bug #186).Hugo Lima2010-03-191-1/+1
|
* Merge branch 'master' into extensibleconversionsMarcelo Lira2010-03-041-1/+2
|\ | | | | | | | | | | | | | | | | Conflicts: cppgenerator.cpp libshiboken/basewrapper.cpp Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>