summaryrefslogtreecommitdiffstats
path: root/generator
Commit message (Collapse)AuthorAgeFilesLines
* Simplifies the generated code removing the use of std::auto_ptr.Hugo Parente Lima2010-10-283-94/+36
|
* Write copy constructor for Object types when there is one.Hugo Parente Lima2010-10-281-6/+5
|
* Implemented support to dynamic signals created on QML side.renatofilho2010-10-281-1/+33
| | | | | | | Fixes bug #437. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed GilState and ThreadSave code generation.renatofilho2010-10-281-7/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Release gil before call C++ function on virtual method.renatofilho2010-10-261-2/+2
| | | | | | | Fixes bug #423. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix reference leak when registering enum types.Hugo Parente Lima2010-10-211-21/+7
|
* Updated code generation to new libpyside API.renatofilho2010-10-211-4/+4
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixed signal register function.renatofilho2010-10-201-9/+3
| | | | | | | Fixes bug #422. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Updated the overload sorting to handle convertible types inside containers.Marcelo Lira2010-10-191-67/+177
| | | | | | | | | | | | | | | | | | | | | | | | | The code as it is now will work for containers with wrapped types, and will also consider some primitive types implicitly convertible for dependency sorting purposes. One weakness of the current solution is that it doesn't handle all possible combinations for containers with multiple types. E.g. for Container<T1, T2>, with T1 being implicitly convertible from I1, and T2 from I2, dependency resolution will take into account * Container<T1, T2> * Container<I1, T2> * Container<T1, I2> but not * Container<I1, I2> For the time being every binding is working fine this way, when the need arises we can fix it, for now let us not slow down the generation. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Merge remote branch 'mainline/1.0'Hugo Parente Lima2010-10-191-5/+5
|\
| * Qt signals are added to Python wrappers via the PySide::addSignalToWrapper ↵Marcelo Lira2010-10-111-2/+2
| | | | | | | | function.
| * Generate code compatible with new properties function names.Hugo Parente Lima2010-10-071-3/+3
| | | | | | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* | Fix check of return type by python reimplementations of C++ virtual functions.Hugo Parente Lima2010-10-191-1/+1
| | | | | | | | | | | | | | | | | | Use isConvertible function instead of checkType when checking the return value of virtual functions returned by python reimplementations when the return value had their type changed by the typesystem. Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* | Write right check type function when guessing the check function for a valid ↵Hugo Parente Lima2010-10-191-1/+1
| | | | | | | | type.
* | Fix bug#411 - "Incorrect return statement generated in a function that ↵Hugo Parente Lima2010-10-181-13/+30
| | | | | | | | | | | | | | 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-4/+4
| | | | | | | | | | | | | | fixes bug #414. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* | Initial copy function generator codeLauro Neto2010-10-112-1/+50
| | | | | | | | | | Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* | Remove uneeded flag check.Lauro Neto2010-10-071-11/+0
|/ | | | | | | | | | | | Fixes #405 This check was preventing operations between two Flags. Wrong argument type now are handled in the Converter calls. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org> Reviewer: Renato Filho <renato.filho@openbossa.org>
* Fixed signal registration when arguments use typedef.renatofilho2010-10-071-3/+19
| | | | | | | Fixes bug #397. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#402 - "Exceptions raised in event methods aren't printed to console ↵Hugo Parente Lima2010-10-051-11/+13
| | | | | | | until termination" Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* Disable generation of __repr__ function for QObjects.Hugo Parente Lima2010-10-051-0/+1
| | | | | | | The Qt implamentation is not usefull to Python developers. Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Remove trailing whitespacesHugo Parente Lima2010-10-041-1/+1
|
* Fix function name use on toPytho fucion.renatofilho2010-10-011-2/+2
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Implement generation support to target conversion.renatofilho2010-10-013-4/+44
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fix bug#267 - "Provide human-readable object strings (__repr__)"Hugo Parente Lima2010-09-302-0/+24
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Shiboken avoids generating code for private enums.Marcelo Lira2010-09-302-8/+17
| | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* All type inherited from Containers are iterables.Hugo Parente Lima2010-09-291-1/+1
|
* Implement support to object list on ownserhsip functions.renatofilho2010-09-291-9/+25
| | | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Created a new rule to parent ownership.renatofilho2010-09-241-1/+1
| | | | | | | In the new rule if the child object is a Shiboken wrapper class, the object is not invalidade during the parent destructions, the binding manager will wait for object destructor to invalidade the wrapper. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Fix bug#386 - "NUL, SOH, and other characters in generated code"Hugo Parente Lima2010-09-241-1/+1
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Fixes generator to actually use extra includes declared for global enums.Marcelo Lira2010-09-211-0/+12
| | | | | | | And also for class/namespace enums. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Fixed function use to create wrapper based on QObject.renatofilho2010-09-211-1/+5
| | | | | | | Fixes bug #360. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* Add missing CMakeLists.txt fileHugo Parente Lima2010-09-211-0/+32
|
* Shiboken generator code moved to the directory generator.Hugo Parente Lima2010-09-2010-0/+7729
Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>