Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
It's O(1) already so no need to optimize it.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
It ended up being path_namespace instead, see
https://bugs.freedesktop.org/show_bug.cgi?id=34870
for the reasons why.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
This is just like gtk-doc
org.project.Bar.HelloWorld()
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
This way these items appears in <index> as expected.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Also factor some private functions into a private header file.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Screenshot: http://people.freedesktop.org/~david/ObjectManager-in-dfeet.png
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
... but still handle the case where this match key is not
available. For the record, this match key will will be available in
future bus daemons. See
https://bugs.freedesktop.org/show_bug.cgi?id=34869
https://bugs.freedesktop.org/show_bug.cgi?id=34870
for more details.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
As proposed by Thiago on the D-Bus list. See
http://lists.freedesktop.org/archives/dbus/2011-February/014148.html
http://lists.freedesktop.org/archives/dbus/2011-February/014149.html
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
We want _g_strv_equal0 (NULL, NULL) to return TRUE.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
We were default to g_variant_unref (instead of g_free) which was
causing memory corruption...
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
In particular make '--namespace G' work - e.g. generate type GBar and
functions g_bar_* instead of gbar_*.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Otherwise this command-line won't work
python ./codegen.py --namespace Zee org.project.xml --strip-prefix \
org.project. --generate-c-code generated --annotate com.acme.Rocket \
org.gtk.GDBus.Name Raket
since org.project.xml already has a org.gtk.GDBus.Name annotation for
the com.acme.Rocket interface.
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Ideally we'd use the one in libgio but unfortunately
gobject-introspection doesn't expose struct field access and we also
want to avoid potential boot-strapping problems if we want to use the
codegen in libgio itself.
(Using the codegen in libgio itself, btw, is not far fetched; at least
we could generate C code for standard well-known interfaces including
(but not limited to) org.freedesktop.DBus itself).
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|