aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typesystem_sample.xml
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * Use polymorphic-id-expression to discover the correct type of a C++ object.Hugo Lima2010-03-021-1/+2
| |
* | Adds tests for a class without implicit conversions being extended in ↵Marcelo Lira2010-03-021-0/+1
|/ | | | | | | | | | | another module. One value type class, called NoImplicitConversion, without implicit conversions of any kind is declared in the first library, libsample. In the other library, libother, ExtendsNoImplicitConversion defines a conversion operator to turn itself into a NoImplicitConversion class. The unit tests tries to pass an ExtendsNoImplicitConversion object where a NoImplicitConversion is expected.
* Add hash function for Str and proper unit test.Hugo Lima2010-02-231-1/+1
|
* Remove warning in injected code related to comparison between signed and ↵Hugo Lima2010-02-221-1/+1
| | | | | | unsigned integer expressions. Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added more tests for bugs found in overload resolution.Hugo Lima2010-02-191-1/+10
|
* Fixing array deallocation in exampleLauro Neto2010-02-191-1/+1
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Adding test for sequenceToIntArrayLauro Neto2010-02-191-0/+30
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Adds 'reference-count' tag to ObjectView::setModel from test bindings.Marcelo Lira2010-02-101-1/+7
|
* Adds tests for reference counting in model/view style relationships.Marcelo Lira2010-02-101-0/+2
|
* Implement support to conversion rule.Renato Filho2010-02-091-14/+23
| | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Adds tests for argument removal and type modification for virtual methods.Marcelo Lira2010-02-091-1/+19
| | | | Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Fixes generation of binding reimplementation of modified virtual methods.Marcelo Lira2010-02-091-0/+3
| | | | | Argument removal and type modification no longer affects the generation of virtual method signatures in the binding code.
* Adds test for argument removal plus argument type modification.Marcelo Lira2010-02-081-0/+17
|
* Fixing sort overloadLauro Neto2010-02-081-0/+6
| | | | | | Now sorting OverloadData recursively Reviewer: Renato Filho <renato.filho@openbossa.org>
* Shiboken::setParent also accepts list of children.Renato Filho2010-02-051-6/+3
| | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Fix issue triggerd when an code injection on constructor tries to useHugo Lima2010-02-031-1/+10
| | | | | | the object being constructed before it was fully constructed. For this use case, use inject-code with position=end.
* Adds support for void pointer conversions.Marcelo Lira2010-01-281-0/+2
| | | | | | | | | A new converter specialization was added to deal with 'void*' conversions. In the case of C++ generating a unknown void pointer a BaseWrapper is used to hold the said pointer. There is a new test for this situation. Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Changed API for PySequence_to_argc_argv.Hugo Lima2010-01-281-2/+2
| | | | | | | | | | It was renamed to PySequenceToArgcArgv and a new argument was added, besides some documentation. If the sequence is empty and defaultAppName (the new argument) was provided, argc will be 1 and argv will have a copy of defaultAppName because some libraries, like Qt, need at least one element in argv (the application name), otherwise it'll crash somewhere inside Qt. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Write cptr macro for inner classes.Hugo Lima2010-01-261-0/+1
|
* Fix bug on overflow check routines under 32 bits platforms.Hugo Lima2010-01-221-0/+1
|
* Expanded thread locking tests with two more cases.Marcelo Lira2010-01-181-0/+1
| | | | | Added a virtual method marked to allow threads and tests for C++ calling it and also a Python reimplemented version.
* Adds CppGenerator::writeCppSelfDefinition method.Marcelo Lira2010-01-151-1/+1
| | | | | | | | | | The code to write the definition of cppSelf was in two places and contained an #ifdef clause, now it is a writer method. Also added the ShibokenGenerator::cppSelfVariableName() method to be used instead of directly writing the "cppSelf" string. Updated custom code on test binding to remove warning. Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
* Adding new tests related to threads/GIL lockingLauro Neto2010-01-151-0/+4
| | | | | | | | | | | | | | | - Event loop - calling virtual methods from C++ - Event loop with thread - calling virtuals from C++ along with accessing the binding from another python thread - Thread locking - blocker C++ method that is unlocked from another python thread For these tests, a new ObjectType subclass was added, Bucket, which is just a container for the producer/consumer tests and has the lock/unlock method. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* Wrapped virtual methods now locking the GIL in the right places.Marcelo Lira2010-01-151-2/+0
| | | | | | A code injection on the tests was updated. Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
* ProtectedVirtualDestructor must be object-type instead of value-type, ↵Hugo Lima2010-01-151-2/+2
| | | | | | because we can't pass a object with nonpublic destructor by value.
* Changed prefix of local generated C functions to avoid name clash with ↵Hugo Lima2010-01-141-1/+1
| | | | | | bindinded method names. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>