Commit Graph

15 Commits (0294ed948b45ca5b877e639d1da8e2fd2b1c191e)

Author SHA1 Message Date
Jos van den Oever 32fed925e9 Intruduce rustByFunction
rustByFunction lets a getter get a value even if it is not possible
to return a value by reference.
rustByFunction passes a getter function in the getter. This can be
called with the value instead of returning a reference.
2018-08-26 19:47:25 +02:00
Jos van den Oever e3bfa85849 Make the roles property in the bindings.json optional 2018-05-19 14:01:11 +02:00
Jos van den Oever 8949026c63 Make primitive types more precise and add test 2018-05-17 10:47:18 +02:00
Jos van den Oever 6099ee3c3d Add more integer types 2018-05-13 14:25:32 +02:00
Pearce Keesling 192f9bf978 Added no-argument function generation
Summary: Updated functions to accept and return strings

Reviewers: vandenoever

Reviewed By: vandenoever

Differential Revision: https://phabricator.kde.org/D8283
2017-10-22 18:07:18 -06:00
Jos van den Oever 8b2e55cf94 Add licenses to all files that not generated or template code
The license is GPLv2+ in line with KDE policy.
2017-09-05 20:06:20 +02:00
Jos van den Oever 38fe6be82b Show the rust type along with the Qt type in the error message 2017-09-03 20:48:07 +02:00
Jos van den Oever ea3c8ebc79 Use the name Tree instead of UniformTree 2017-09-03 15:13:11 +02:00
Jos van den Oever f7ad9a9d5c Return strings and bytearrays by reference by default in the rust code 2017-08-30 21:58:01 +02:00
Jos van den Oever c516409326 A few fixes for deeply nested objects
This is still broken according to the test test_objects.
2017-08-28 09:28:48 +02:00
Jos van den Oever 64bcac54f0 Allow nesting of binding types. 2017-08-27 01:40:03 +02:00
Jos van den Oever d3312d6ce3 Remove generated code that is not needed. 2017-08-25 15:42:56 +02:00
Jos van den Oever 9e1419e8fe Put the contents of types.rs in the interface 2017-08-25 15:10:07 +02:00
Jos van den Oever 2cc3d2ccf9 A table with system processes and a qml chart 2017-08-24 01:55:37 +02:00
Jos van den Oever 3ba1ffb5eb snapshot 2017-08-22 13:45:34 +02:00