Marek Kasik
c7c4c3bf5e
Remove redundant checks before free
...
Remove checks for NULL before g_free().
https://bugzilla.gnome.org/show_bug.cgi?id=733156
2014-07-14 16:02:35 +02:00
Matthias Clasen
35066ed6c6
Docs: Drop entities, switch away from sgml mode
...
Since all element markup is now gone from the doc comments,
we can turn off the gtk-doc sgml mode, which means that from
now on, docbook markup is no longer allowed in doc comments.
To make this possible, we have to replace all remaining
entities in doc comments by their replacement text, & -> &
and so on.
2014-02-09 02:07:26 -05:00
Matthias Clasen
e7fd3de86d
Eradicate links and xrefs
...
These are all replaced by markdown ref links.
2014-02-08 12:26:56 -05:00
Matthias Clasen
3232425785
Docs: replace <literal> by `
2014-02-06 08:07:16 -05:00
Matthias Clasen
4569b8ac2d
Stop using starttag elements
2014-02-06 08:07:15 -05:00
Matthias Clasen
cb588d4532
Convert external links to markdown syntax
2014-02-05 21:23:28 -05:00
Daniel Mustieles
078dbda148
Updated FSF's address
2014-01-31 14:31:55 +01:00
Ryan Lortie
04ee782486
gdbus: properly escape introspection annotations
...
Make sure we escape any special characters that are found in annotation
names or values to avoid emitting a malformed XML document in response
to an Introspect call.
https://bugzilla.gnome.org/show_bug.cgi?id=721796
2014-01-08 22:58:06 -05:00
Ryan Lortie
9933a9f904
GDBus: ignore qualified XML tags and attributes
...
Ignore qualified (in the XML namespace sense) tags and attributes when
parsing D-Bus introspection XML.
This will allow people to add custom tags and attributes to their D-Bus
interfaces without tripping up GDBus.
https://bugzilla.gnome.org/show_bug.cgi?id=665634
2013-10-28 15:28:51 -07:00
Murray Cumming
05756f8418
Fix this cost -> the cost typos
2012-10-21 13:08:01 +02:00
Ryan Lortie
59394b3e1e
Revert the GMarkup attribute collect changes
...
We need to have some more discussion on this topic.
This reverts commits 86329ba44f
and
8d40389d15
.
https://bugzilla.gnome.org/show_bug.cgi?id=665634
2012-08-20 18:34:13 -04:00
Matthias Clasen
86329ba44f
gdbus: Use g_markup_collect_known_attributes() in GDBus introspection
...
In order to be able to cope with the introspection XML
from the Telepathy specification, which uses attributes
like tp:type and tp:name-for-bindings, we need to ignore
unknown attributes when parsing.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=665634
2012-08-16 23:41:19 -04:00
Rui Matos
eda1735029
GDBusNodeInfo: remove a spurious for loop
...
https://bugzilla.gnome.org/show_bug.cgi?id=679671
2012-07-11 03:27:29 +02:00
Rui Matos
6f23c33831
GDBusNodeInfo: the XML string must contain exactly one node element
...
Make the documentation clear about this.
https://bugzilla.gnome.org/show_bug.cgi?id=679671
2012-07-11 03:27:29 +02:00
Robert Ancell
4143842eb4
Add missing allow-none annotations for function parameters.
...
Found using:
find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
2012-03-31 20:34:28 +11:00
Evan Nemerson
c3d6595f5a
GIO: add lots of annotations for Vala bindings
...
https://bugzilla.gnome.org/show_bug.cgi?id=667447
2012-01-11 15:50:08 -05:00
David Zeuthen
990af4b372
GDBus: Note in docs that g_dbus_node_info_new_for_xml() is using GMarkup
...
This was discussed in bug 665634.
https://bugzilla.gnome.org/show_bug.cgi?id=665634
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-12-06 13:41:53 -05:00
David Zeuthen
74e131551d
GDBus: fix link to D-Bus spec
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-12-06 13:41:53 -05:00
Martin Pitt
c3fd789bb7
[gi] Add missing (out) annotation to g_dbus_{node,interface}_info_generate_xml()
2011-08-11 14:09:23 +02:00
Martin Pitt
b2c6b801bc
[gi] Add missing transfer annotation to g_dbus_node_info_lookup_interface()
2011-08-10 22:51:32 +02:00
Giovanni Campagna
4e015d36a0
gdbusintrospection: fix introspection annotations
...
g_dbus_interface_info_lookup_* were incorrectly considered
(transfer full) by introspected bindings, and this caused memory
corruptions.
https://bugzilla.gnome.org/show_bug.cgi?id=622921
2011-07-20 13:50:20 -04:00
David Zeuthen
5bcf54b29c
GDBus: Add mechanism to make lookup on interfaces constant-time
...
This is used both on the service- and client-side and is currently
O(n).
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-28 11:39:22 -04:00
Matthias Clasen
73af5ab4cf
Be more forgiving when parsing introspection xml
...
Accept (and silently ignore) version attributes on <interface>
and <method> elements - these occur in the wild, and ignoring
them does not cost us anything.
2011-02-19 16:27:51 -05:00
Matthias Clasen
f9ad7baf31
Fix memory leaks in the gdbus introspection parser
...
We were getting our length zero, yet NULL-terminated arrays in
a twist in some places. Stop passing around ignored length arguments
at the same time.
https://bugzilla.gnome.org/show_bug.cgi?id=635099
2011-02-15 02:29:15 -05:00
Matthias Clasen
b4a61235da
Introspection: make 'direction' default to 'in' for methods
2010-08-30 08:50:09 -04:00
Christian Persch
71e73ffdfb
Use G_DEFINE_[BOXED|POINTER]_TYPE instead of handwritten code
...
Now that we have convenience macros to implement boxed and pointer
types, use them.
2010-08-18 00:12:28 +02:00
David Zeuthen
7190af4394
GDBus: Remove constness from introspection data structures
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-07-19 15:45:27 -04:00
Ryan Lortie
5b946e0504
gio/: fully remove gioalias hacks
2010-07-07 19:53:22 -04:00
David Zeuthen
37c4fcb36a
GDBus: Rename "Introspection XML" section to "D-Bus Introspection Data"
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-07-02 17:09:55 -04:00
Tor Lillqvist
efb1a054b0
Fix build with the Microsoft compiler
...
Correct a few gccisms and C99isms. Ensure the Windows-specific gio
source files are listed in the generated gio VS project file.
2010-06-22 12:22:46 +03:00
David Zeuthen
a977f03235
GDBus: Fix obvious crasher when looking up annotations
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-05-17 19:52:09 -04:00
Matthias Clasen
d7095dd470
Document DBUS address env vars
2010-05-11 22:35:59 -04:00
Matthias Clasen
e4b1e48fca
Match up parameter names
...
and similar cleanups to make gtk-doc happy.
2010-05-11 20:57:44 -04:00
Matthias Clasen
0cf467c2ca
Update copyright years to include 2010
2010-05-09 13:14:55 -04:00
Matthias Clasen
bb7106c5df
Add some conceptual changes
2010-05-09 02:27:09 -04:00
Matthias Clasen
8315eb77d5
Some documentation tweaks
...
Add links to the D-Bus docs in some places, and various
other additions.
2010-05-09 01:44:11 -04:00
David Zeuthen
46ce134d51
GDBus: Add new symbols to gio.symbols
2010-05-06 17:31:51 -04:00
David Zeuthen
fb1b4599a0
GDBus: Fix up i18n
2010-05-06 16:34:23 -04:00
David Zeuthen
0fd6498cd8
Add "Since: 2.26" to all new GDBus API
2010-05-06 16:02:08 -04:00
David Zeuthen
c490c14f4e
Set up gtk-doc for GDBus
...
Also move send_credentials() and receive_credentials() to
GUnixConnection. This code might change, discussion is still ongoing
in
https://bugzilla.gnome.org/show_bug.cgi?id=617483 .
2010-05-06 15:31:45 -04:00
David Zeuthen
d0a14469d0
Initial GDBus code-drop from GDBus-standalone repo
...
Things compile and the test-suite passes. Still need to hook up
gio.symbols and docs. There are still a bunch of TODOs left in the
sources that needs to be addressed.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-05-06 14:21:32 -04:00