David Zeuthen
419bfe325c
gdbus-codegen: Use G_TYPE_STRV/gchar** for GVariant type 'ao'
...
This is possible now that we have better support for object path
arrays, see
http://git.gnome.org/browse/glib/commit/?id=19878998bc386db78614f1c92ff8524a81479c7b
Note that this breaks the ABI of generated code but since
gdbus-codegen(1) has never yet been in a stable GLib release, this is
fine.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-07-21 09:32:38 -04:00
David Zeuthen
bbe945183b
gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-25 09:29:18 -04:00
David Zeuthen
3cef28a2f0
gdbus-codegen: Make generated code introspectable
...
Specific changes
- Use get_type(), not get_gtype() for the GType function
- so we need to use the lower-case name type_ for properties called type
- Don't return a function pointer, just make the function returned
available instead
- Add (type) annotations in constructors so g-ir-scanner detects them as such
- Add (transfer none) annotations to property getters
- Add (out) annotations to D-Bus method call functions
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-16 14:08:47 -04:00
David Zeuthen
e19734d6c3
gdbus-codegen: Add support for the org.freedesktop.DBus.Deprecated annotation
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-15 12:56:07 -04:00
David Zeuthen
9e9535b45c
gdbus-codegen: Add copyright / license headers
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-15 08:33:30 -04:00
David Zeuthen
febfc45fbe
GDBus: Support Ugly_Case and use org.gtk.GDBus.C.Name since it's C-only
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-15 08:24:40 -04:00
David Zeuthen
34a28f2f06
Add support for org.gtk.GDBus.Since annotation
...
And use this for a) documentation purposes; and b) to preserve C ABI
when an interface is extended. See
https://bugzilla.gnome.org/show_bug.cgi?id=647577#c5
for more details. Also add test cases for this.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-12 16:17:28 -04:00
David Zeuthen
0b9229beca
Add gdbus-codegen(1) command
...
It doesn't work yet without the user manually adding ffi bits. That's
the topic of the next commit.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-08 17:11:38 -04:00