Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added Converter<T>::isConvertible to replace the T_Check functions. | Hugo Lima | 2009-10-27 | 5 | -0/+23 |
| | | | | | | This allow the user to full custommize the type conversion. Note: This change added a known regression on test_derived | ||||
* | changed the way that added special methods ("__str__", "__repr__") are | Marcelo Lira | 2009-10-23 | 1 | -0/+6 |
| | | | | dealt with to allow future expansions ("__call__", "__getattr__", etc) | ||||
* | added test for definition of __str__ method on type system | Marcelo Lira | 2009-10-23 | 2 | -1/+51 |
| | |||||
* | removed debug line from SimpleFile test class | Marcelo Lira | 2009-10-23 | 1 | -1/+0 |
| | |||||
* | renamed template variable %SELF to %PYSELF and %CPPOBJ to %CPPSELF | Marcelo Lira | 2009-10-23 | 2 | -5/+5 |
| | | | | | to improve code readability; also fixed usage of template variables on type system for the test bindings | ||||
* | Use template variables for inject code | Hugo Lima | 2009-10-23 | 1 | -3/+3 |
| | |||||
* | added two new variables for the type system template system: | Marcelo Lira | 2009-10-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * %SELF, replaced by the variable name for the Python instance of a class method * %CPPOBJ, replaced by the pointer to the C++ object for the Python instance associated with the method where it appears the 'cpythonWrapperCPtr(const AbstractMetaClass*, QString)' method was moved from CppGenerator to ShibokenGenerator to be available for the type system variable replacement method; the test bindings for the libsample's SimpleFile class was updated to use the new type system variables | ||||
* | added the SimpleFile class to the sample library to check how a | Marcelo Lira | 2009-10-20 | 8 | -0/+239 |
| | | | | | | | | method returning a boolean value that indicates success/failure on a IO operation could be modified to express the any occurring problems as Python exceptions (in this case IOError); the generator was changed to return a 'None' value for Python callers on methods that had it's return value removed | ||||
* | expanded the unit tests for multiple inheritance | Marcelo Lira | 2009-09-18 | 1 | -3/+8 |
| | |||||
* | Removed useless ValueHolder template. | Hugo Lima | 2009-09-15 | 6 | -25/+22 |
| | |||||
* | Use Py_RETURN_NONE for functions with null return. | Renato Araujo Oliveira Filho | 2009-09-10 | 3 | -0/+46 |
| | | | | fixes bug #45. | ||||
* | Create multiple heritance tests. | Renato Araujo Oliveira Filho | 2009-09-10 | 7 | -0/+199 |
| | |||||
* | Implement oddBool unit test. | Luciano Wolf | 2009-09-09 | 1 | -0/+63 |
| | |||||
* | Fix LGPL license plates to libsample unit tests, so the tests can be ↵ | Hugo Lima | 2009-09-08 | 16 | -416/+384 |
| | | | | executed again. | ||||
* | Fix libsamplebinding generator, due to recent changes in boostpythongenerator. | Hugo Lima | 2009-09-08 | 1 | -1/+1 |
| | |||||
* | added LGPL license plates to libsample unit tests | Marcelo Lira | 2009-09-03 | 16 | -0/+415 |
| | |||||
* | renamed PolymorphicData class to OverloadData, this should represent correctly | Marcelo Lira | 2009-09-02 | 12 | -123/+122 |
| | | | | the class' function; other relative renamings were also performed | ||||
* | - CppGenerator and HeaderGenerator modified to take classes with | Marcelo Lira | 2009-09-02 | 2 | -2/+67 |
| | | | | | | | private destructors into account - Removed ShibokenGenerator::canCreateWrapperFor(...) method - Minor improvements to ShibokenGenerator documentation - Expanded PrivateDtor case and added related unit test | ||||
* | Added missing LGPL copyright header to libsample/oddbool.h | Marcelo Lira | 2009-09-01 | 2 | -1/+34 |
| | |||||
* | Changed generator to convert the method call results on wrapped methods | Marcelo Lira | 2009-09-01 | 5 | -8/+82 |
| | | | | | | | | | | | | | | | | at each possible call, instead of receiving the return value in the C++ type and converting it later. Having the result value as a PyObject pointer avoids the problem of declaring the return value variable with a class that do not have a simple constructor. Example: "Foo resultValue;" is a problem when the only constructor for "Foo" is "Foo(int)". The above described problem is made worse with the addition of OddBool and OddBoolUser cases to the sample library. OddBool is registered as a primitive (and convertible) type, registered this way it is only available as a TypeEntry and a suitable constructor cannot possibly be found. This is different from Value and Object types for they become AbstractMetaClass objects and all constructor signatures can be queried. | ||||
* | Added a python test to classes without default ctor | Hugo Lima | 2009-09-01 | 2 | -2/+47 |
| | |||||
* | Added LGPL copyright header to all libsample files. | Hugo Lima | 2009-09-01 | 33 | -0/+1120 |
| | |||||
* | Added an example of a class with a private destructor. | Hugo Lima | 2009-09-01 | 4 | -0/+21 |
| | |||||
* | added virtual method cases to NonDefaultCtor example | Marcelo Lira | 2009-09-01 | 1 | -0/+10 |
| | |||||
* | Added a corner case to broke Shiboken tests >:-) | Hugo Lima | 2009-08-31 | 4 | -1/+31 |
| | | | | | Shiboken generates wrong C++ code when exists a function/method that returns a type without a default constructor. | ||||
* | Added a common use case to break shiboken legs. | Hugo Lima | 2009-08-28 | 1 | -0/+1 |
| | |||||
* | Removed all warnings | Hugo Lima | 2009-08-28 | 1 | -0/+1 |
| | |||||
* | added convenience binary applications to call the generatorrunner | Marcelo Lira | 2009-08-28 | 1 | -1/+1 |
| | | | | with --generatorSet parameter for shiboken | ||||
* | Shiboken ported to the new generator/apiextractor architeture. | Hugo Lima | 2009-08-27 | 1 | -1/+3 |
| | | | | Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> | ||||
* | updated sample library with VirtualMethods class which contains | Marcelo Lira | 2009-08-27 | 7 | -0/+70 |
| | | | | | | | a case of a virtual method that is reimplemented in Python and checked in the unit test Reference class and unit tests with cases of virtual methods that receive C++ references | ||||
* | updated sample library Reference class and unit tests with cases | Marcelo Lira | 2009-08-27 | 3 | -0/+63 |
| | | | | of virtual methods that receive C++ references | ||||
* | added shiboken dependency on sample bindingssb-0.1 | Marcelo Lira | 2009-08-25 | 1 | -0/+2 |
| | |||||
* | changed pair_conversion.h to use PySequence functions instead of | Marcelo Lira | 2009-08-25 | 2 | -3/+3 |
| | | | | PyTuple ones, also fixed pair_test.py | ||||
* | commented debug messages from test library | Marcelo Lira | 2009-08-25 | 5 | -38/+38 |
| | |||||
* | added mapping example to test lib as well as unit tests | Marcelo Lira | 2009-08-25 | 8 | -0/+166 |
| | |||||
* | fixed list conversions on test bindings to use PySequence functions | Marcelo Lira | 2009-08-25 | 1 | -2/+2 |
| | | | | instead of erroneous PyTuple functions | ||||
* | added unit tests for stl::pair and stl::list conversions on libsample | Marcelo Lira | 2009-08-24 | 5 | -6/+169 |
| | |||||
* | The End Is the Beginning Is the End | Marcelo Lira | 2009-08-17 | 46 | -0/+2488 |