Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-13 | Fix errors in python code, found by pylama in a strict CI | David Faure | |
2018-09-07 | Fix minor EBN issues | Yuri Chornoivan | |
2017-02-05 | Revert "Automatically mark classes with pure virtual functions as /Abstract/." | Stephen Kelly | |
With some combination of PyQt/compiler this breaks the build of kcoreaddons. This reverts commit 2e20aeab6e86670a66ff99a7b79120c4004b4d22. | |||
2017-02-04 | Automatically mark classes with pure virtual functions as /Abstract/. | Shaheed Haque | |
2017-02-04 | Bindings: Take account of visibility of classes | Shaheed Haque | |
2017-02-04 | Bindings: Take account of visibility attribute on APIs | Shaheed Haque | |
Don't export API which has visibility "hidden". Visibility attributes on variables are ignored, but call the generic method anyway. Remove checks for macros which obscure the attributes. Processing the attribute directly means that is not needed. | |||
2017-01-18 | Bindings: Test file in subdirectory. | Stephen Kelly | |
2017-01-18 | Bindings: Handle const-ref of non-record parameter defaults | Stephen Kelly | |
2017-01-18 | Bindings: Handle const-ref parameters with {} initializer | Stephen Kelly | |
2017-01-18 | Bindings: Handle parameter initializers using {} gracefully | Stephen Kelly | |
2017-01-18 | Bindings: Add explicit handling of nullptr as a parameter default | Stephen Kelly | |
Don't prepend a namespace to it as we do otherwise with enum/flags. | |||
2017-01-15 | Bindings: Skip implementations of inline methods while parsing | Stephen Kelly | |
Don't process the same function name twice. | |||
2017-01-15 | Bindings: Fix handling of forward declarations | Stephen Kelly | |
It is not appropriate to decorate each forward declaration with the SIP attribute /External/. That is only needed for forward declarations of types which are defined in a different module. Local forward declarations can be omitted from the sip code. In sip code, a forward declaration followed later by a full class definition is an error. Omit forward declarations unless they are decorated with the external attribute. Introduce a rules database for consumers to decorate them with the attribute as required. | |||
2017-01-15 | Bindings: Use lists in function API instead of strings | Stephen Kelly | |
Custom rules should be able to deal with lists in these cases. This is already the case for function parameters. | |||
2017-01-15 | Bindings: Add missing test function implementation | Stephen Kelly | |
2017-01-13 | Bindings: Add rules engine for typedefs | Stephen Kelly | |
Currently this is rather simple, allowing only matching typedefs by name. If we need more later, we can extend the interface. This will make it possible to add bindings for the K18n framework. | |||
2017-01-13 | Bindings: Implement ModuleCode and MethodCode databases | Stephen Kelly | |
2017-01-10 | Bindings: Correctly handle access specifiers within macros | Stephen Kelly | |
The Q_DECLARE_TR_FUNCTIONS macro contains a `public:` access specifier, but the sip_generator just pastes the entire macro name. Adjust the generator to extract the correct access specifier. | |||
2017-01-09 | Extend unit test with code similar to kguiaddons | Stephen Kelly | |
2017-01-05 | Bindings: Add some content to the test source | Stephen Kelly | |
Increase test coverage regarding transformations. | |||
2017-01-05 | Skip attributes on enums when generating bindings | Shaheed Haque | |
2016-11-07 | Reduce the CMake minimum required | Stephen Kelly | |
This works with 3.2, and I don't remember why I made it 3.3. | |||
2016-11-07 | Add missing includes | Stephen Kelly | |
Don't rely on transitive inclusion | |||
2016-10-31 | Add the PythonModuleGeneration module | Stephen Kelly | |
This can be used by KF5 libraries to generate python 2 and 3 bindings. |