summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2019-07-17 14:46:31 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2019-07-17 14:46:31 +0200
commit95b747826ba2be82dece63e6cccfe9bf64832189 (patch)
tree1a2602f397ca54dbea4fd8f1ff8af4cb584798b7 /gio
parent1edbf498e791f6202442a24c51704ee84f31456d (diff)
downloadglibmm-95b747826ba2be82dece63e6cccfe9bf64832189.tar.gz
Glib, Gio: Regenerate docs.xml and .defs files
and update gio_signals.defs.patch and generate_defs_gio.cc.
Diffstat (limited to 'gio')
-rw-r--r--gio/src/gio_docs.xml265
-rw-r--r--gio/src/gio_enums.defs2
-rw-r--r--gio/src/gio_methods.defs9
-rw-r--r--gio/src/gio_signals.defs217
-rw-r--r--gio/src/gio_signals.defs.patch41
5 files changed, 438 insertions, 96 deletions
diff --git a/gio/src/gio_docs.xml b/gio/src/gio_docs.xml
index 37cc29a5..31bc44b4 100644
--- a/gio/src/gio_docs.xml
+++ b/gio/src/gio_docs.xml
@@ -3209,6 +3209,15 @@ Flags used when querying a #GFileInfo.
<description>
Indicates the file's on-disk type.
+On Windows systems a file will never have %G_FILE_TYPE_SYMBOLIC_LINK type;
+use #GFileInfo and %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK to determine
+whether a file is a symlink or not. This is due to the fact that NTFS does
+not have a single filesystem object type for symbolic links - it has
+files that symlink to files, and directories that symlink to directories.
+#GFileType enumeration cannot precisely represent this important distinction,
+which is why all Windows symlinks will continue to be reported as
+%G_FILE_TYPE_REGULAR or %G_FILE_TYPE_DIRECTORY.
+
</description>
<parameters>
<parameter name="G_FILE_TYPE_UNKNOWN">
@@ -3709,9 +3718,12 @@ Defaults to &quot;/&quot;.
<signal name="GListModel::items-changed">
<description>
-This signal is emitted whenever items were added or removed to
-@list. At @position, @removed items were removed and @added items
-were added in their place.
+This signal is emitted whenever items were added to or removed
+from @list. At @position, @removed items were removed and @added
+items were added in their place.
+
+Note: If @removed != @added, the positions of all later items
+in the model change.
Since: 2.44
@@ -4649,47 +4661,53 @@ as lists of #GVariant tuples. Each record type has different values in
the variant tuples returned.
%G_RESOLVER_RECORD_SRV records are returned as variants with the signature
-'(qqqs)', containing a guint16 with the priority, a guint16 with the
-weight, a guint16 with the port, and a string of the hostname.
+`(qqqs)`, containing a `guint16` with the priority, a `guint16` with the
+weight, a `guint16` with the port, and a string of the hostname.
%G_RESOLVER_RECORD_MX records are returned as variants with the signature
-'(qs)', representing a guint16 with the preference, and a string containing
+`(qs)`, representing a `guint16` with the preference, and a string containing
the mail exchanger hostname.
%G_RESOLVER_RECORD_TXT records are returned as variants with the signature
-'(as)', representing an array of the strings in the text record.
+`(as)`, representing an array of the strings in the text record. Note: Most TXT
+records only contain a single string, but
+[RFC 1035](https://tools.ietf.org/html/rfc1035#section-3.3.14) does allow a
+record to contain multiple strings. The RFC which defines the interpretation
+of a specific TXT record will likely require concatenation of multiple
+strings if they are present, as with
+[RFC 7208](https://tools.ietf.org/html/rfc7208#section-3.3).
%G_RESOLVER_RECORD_SOA records are returned as variants with the signature
-'(ssuuuuu)', representing a string containing the primary name server, a
-string containing the administrator, the serial as a guint32, the refresh
-interval as guint32, the retry interval as a guint32, the expire timeout
-as a guint32, and the ttl as a guint32.
+`(ssuuuuu)`, representing a string containing the primary name server, a
+string containing the administrator, the serial as a `guint32`, the refresh
+interval as a `guint32`, the retry interval as a `guint32`, the expire timeout
+as a `guint32`, and the TTL as a `guint32`.
%G_RESOLVER_RECORD_NS records are returned as variants with the signature
-'(s)', representing a string of the hostname of the name server.
+`(s)`, representing a string of the hostname of the name server.
Since: 2.34
</description>
<parameters>
<parameter name="G_RESOLVER_RECORD_SRV">
-<parameter_description> lookup DNS SRV records for a domain
+<parameter_description> look up DNS SRV records for a domain
</parameter_description>
</parameter>
<parameter name="G_RESOLVER_RECORD_MX">
-<parameter_description> lookup DNS MX records for a domain
+<parameter_description> look up DNS MX records for a domain
</parameter_description>
</parameter>
<parameter name="G_RESOLVER_RECORD_TXT">
-<parameter_description> lookup DNS TXT records for a name
+<parameter_description> look up DNS TXT records for a name
</parameter_description>
</parameter>
<parameter name="G_RESOLVER_RECORD_SOA">
-<parameter_description> lookup DNS SOA records for a zone
+<parameter_description> look up DNS SOA records for a zone
</parameter_description>
</parameter>
<parameter name="G_RESOLVER_RECORD_NS">
-<parameter_description> lookup DNS NS records for a domain
+<parameter_description> look up DNS NS records for a domain
</parameter_description>
</parameter>
</parameters>
@@ -8313,7 +8331,7 @@ required.
The D-Bus–activated applications don't have to be started if your application
terminates too soon after this function. To prevent this, use
-g_app_info_launch_default_for_uri() instead.
+g_app_info_launch_default_for_uri_async() instead.
</description>
@@ -11180,7 +11198,7 @@ Asynchronously connects to the message bus specified by @bus_type.
When the operation is finished, @callback will be invoked. You can
then call g_bus_get_finish() to get the result of the operation.
-This is a asynchronous failable function. See g_bus_get_sync() for
+This is an asynchronous failable function. See g_bus_get_sync() for
the synchronous version.
Since: 2.26
@@ -14444,8 +14462,8 @@ Since: 2.26
</parameter_description>
</parameter>
</parameters>
-<return> a valid D-Bus address string for @bus_type or %NULL if
-@error is set
+<return> a valid D-Bus address string for @bus_type or
+%NULL if @error is set
</return>
</function>
@@ -15732,7 +15750,7 @@ When the operation is finished, @callback will be invoked. You can
then call g_dbus_connection_new_finish() to get the result of the
operation.
-This is a asynchronous failable constructor. See
+This is an asynchronous failable constructor. See
g_dbus_connection_new_sync() for the synchronous
version.
@@ -15810,13 +15828,13 @@ server. In particular, @flags cannot contain the
%G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS flags.
When the operation is finished, @callback will be invoked. You can
-then call g_dbus_connection_new_finish() to get the result of the
-operation.
+then call g_dbus_connection_new_for_address_finish() to get the result of
+the operation.
If @observer is not %NULL it may be used to control the
authentication process.
-This is a asynchronous failable constructor. See
+This is an asynchronous failable constructor. See
g_dbus_connection_new_for_address_sync() for the synchronous
version.
@@ -16448,8 +16466,8 @@ closed by the remote peer. See #GDBusConnection:exit-on-close for
more details.
Note that this function should be used with care. Most modern UNIX
-desktops tie the notion of a user session the session bus, and expect
-all of a users applications to quit when their bus connection goes away.
+desktops tie the notion of a user session with the session bus, and expect
+all of a user's applications to quit when their bus connection goes away.
If you are setting @exit_on_close to %FALSE for the shared session
bus connection, you should make sure that your application exits
when the user session ends.
@@ -19987,11 +20005,11 @@ Since: 2.30
</parameter_description>
</parameter>
<parameter name="object_path">
-<parameter_description> Object path to lookup.
+<parameter_description> Object path to look up.
</parameter_description>
</parameter>
<parameter name="interface_name">
-<parameter_description> D-Bus interface name to lookup.
+<parameter_description> D-Bus interface name to look up.
</parameter_description>
</parameter>
</parameters>
@@ -20014,7 +20032,7 @@ Since: 2.30
</parameter_description>
</parameter>
<parameter name="object_path">
-<parameter_description> Object path to lookup.
+<parameter_description> Object path to look up.
</parameter_description>
</parameter>
</parameters>
@@ -21439,6 +21457,10 @@ Creates a new D-Bus server that listens on the first address in
Once constructed, you can use g_dbus_server_get_client_address() to
get a D-Bus address string that clients can use to connect.
+To have control over the available authentication mechanisms and
+the users that are authorized to connect, it is strongly recommended
+to provide a non-%NULL #GDBusAuthObserver.
+
Connect to the #GDBusServer::new-connection signal to handle
incoming connections.
@@ -21447,8 +21469,8 @@ g_dbus_server_start().
#GDBusServer is used in this [example][gdbus-peer-to-peer].
-This is a synchronous failable constructor. See
-g_dbus_server_new() for the asynchronous version.
+This is a synchronous failable constructor. There is currently no
+asynchronous version.
Since: 2.26
@@ -21848,7 +21870,7 @@ Looks up a string list value in the keyfile backing @info.
The @key is looked up in the &quot;Desktop Entry&quot; group.
-Since: 2.60.0
+Since: 2.60
</description>
<parameters>
@@ -22090,15 +22112,16 @@ Since: 2.38
<function name="g_desktop_app_info_lookup_get_default_for_uri_scheme">
<description>
Gets the default application for launching applications
-using this URI scheme for a particular GDesktopAppInfoLookup
+using this URI scheme for a particular #GDesktopAppInfoLookup
implementation.
-The GDesktopAppInfoLookup interface and this function is used
+The #GDesktopAppInfoLookup interface and this function is used
to implement g_app_info_get_default_for_uri_scheme() backends
in a GIO module. There is no reason for applications to use it
directly. Applications should use g_app_info_get_default_for_uri_scheme().
-Deprecated: The #GDesktopAppInfoLookup interface is deprecated and unused by gio.
+Deprecated: 2.28: The #GDesktopAppInfoLookup interface is deprecated and
+unused by GIO.
</description>
<parameters>
@@ -24112,7 +24135,7 @@ Gets the file attribute with the name @name from @list.
</parameter_description>
</parameter>
<parameter name="name">
-<parameter_description> the name of the attribute to lookup.
+<parameter_description> the name of the attribute to look up.
</parameter_description>
</parameter>
</parameters>
@@ -25678,9 +25701,9 @@ This call does no blocking I/O.
<description>
Gets a #GMount for the #GFile.
-If the #GFileIface for @file does not have a mount (e.g.
-possibly a remote share), @error will be set to %G_IO_ERROR_NOT_FOUND
-and %NULL will be returned.
+#GMount is returned only for user interesting locations, see
+#GVolumeMonitor. If the #GFileIface for @file does not have a #mount,
+@error will be set to %G_IO_ERROR_NOT_FOUND and %NULL #will be returned.
If @cancellable is not %NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
@@ -26202,7 +26225,7 @@ Duplicates a file info structure.
<description>
Gets the value of a attribute, formated as a string.
This escapes things as needed to make the string valid
-utf8.
+UTF-8.
</description>
@@ -26216,7 +26239,8 @@ utf8.
</parameter_description>
</parameter>
</parameters>
-<return> a UTF-8 string associated with the given @attribute.
+<return> a UTF-8 string associated with the given @attribute, or
+%NULL if the attribute wasn’t set.
When you're done with the string it must be freed with g_free().
</return>
</function>
@@ -28193,7 +28217,7 @@ reports the number of directories and non-directory files encountered
By default, errors are only reported against the toplevel file
itself. Errors found while recursing are silently ignored, unless
-%G_FILE_DISK_USAGE_REPORT_ALL_ERRORS is given in @flags.
+%G_FILE_MEASURE_REPORT_ANY_ERROR is given in @flags.
The returned size, @disk_usage, is in bytes and should be formatted
with g_format_size() in order to get something reasonable for showing
@@ -29330,6 +29354,10 @@ Since: 2.60
<parameter_description> a #GFile to open
</parameter_description>
</parameter>
+<parameter name="io_priority">
+<parameter_description> the [I/O priority][io-priority] of the request
+</parameter_description>
+</parameter>
<parameter name="cancellable">
<parameter_description> optional #GCancellable object, %NULL to ignore
</parameter_description>
@@ -32714,8 +32742,8 @@ On error -1 is returned and @error is set accordingly.
</parameter_description>
</parameter>
<parameter name="buffer">
-<parameter_description> a buffer to
-read data into (which should be at least count bytes long).
+<parameter_description>
+a buffer to read data into (which should be at least count bytes long).
</parameter_description>
</parameter>
<parameter name="count">
@@ -32765,8 +32793,8 @@ write your own loop around g_input_stream_read().
</parameter_description>
</parameter>
<parameter name="buffer">
-<parameter_description> a buffer to
-read data into (which should be at least count bytes long).
+<parameter_description>
+a buffer to read data into (which should be at least count bytes long).
</parameter_description>
</parameter>
<parameter name="count">
@@ -32812,8 +32840,8 @@ Since: 2.44
</parameter_description>
</parameter>
<parameter name="buffer">
-<parameter_description> a buffer to
-read data into (which should be at least count bytes long)
+<parameter_description>
+a buffer to read data into (which should be at least count bytes long)
</parameter_description>
</parameter>
<parameter name="count">
@@ -32911,8 +32939,8 @@ override one you must override all.
</parameter_description>
</parameter>
<parameter name="buffer">
-<parameter_description> a buffer to
-read data into (which should be at least count bytes long).
+<parameter_description>
+a buffer to read data into (which should be at least count bytes long).
</parameter_description>
</parameter>
<parameter name="count">
@@ -33241,7 +33269,7 @@ ignore.
</parameter_description>
</parameter>
</parameters>
-<return> the size of the bytes skipped, or %-1 on error.
+<return> the size of the bytes skipped, or `-1` on error.
</return>
</function>
@@ -37116,7 +37144,7 @@ Gets a choice from the mount operation.
</parameter>
</parameters>
<return> an integer containing an index of the user's choice from
-the choice's list, or %0.
+the choice's list, or `0`.
</return>
</function>
@@ -37795,7 +37823,7 @@ g_network_address_new() will often only return an IPv4 address when
resolving `localhost`, and an IPv6 address for `localhost6`.
g_network_address_get_hostname() will always return `localhost` for
-#GNetworkAddresses created with this constructor.
+a #GNetworkAddress created with this constructor.
Since: 2.44
@@ -40999,8 +41027,8 @@ Since: 2.26
<function name="g_proxy_get_default_for_protocol">
<description>
-Lookup &quot;gio-proxy&quot; extension point for a proxy implementation that supports
-specified protocol.
+Find the `gio-proxy` extension point for a proxy implementation that supports
+the specified protocol.
Since: 2.26
@@ -41685,11 +41713,11 @@ Since: 2.34
</parameter_description>
</parameter>
<parameter name="rrname">
-<parameter_description> the DNS name to lookup the record for
+<parameter_description> the DNS name to look up the record for
</parameter_description>
</parameter>
<parameter name="record_type">
-<parameter_description> the type of DNS record to lookup
+<parameter_description> the type of DNS record to look up
</parameter_description>
</parameter>
<parameter name="cancellable">
@@ -41725,11 +41753,11 @@ Since: 2.34
</parameter_description>
</parameter>
<parameter name="rrname">
-<parameter_description> the DNS name to lookup the record for
+<parameter_description> the DNS name to look up the record for
</parameter_description>
</parameter>
<parameter name="record_type">
-<parameter_description> the type of DNS record to lookup
+<parameter_description> the type of DNS record to look up
</parameter_description>
</parameter>
<parameter name="cancellable">
@@ -43615,7 +43643,8 @@ with it.
</parameter_description>
</parameter>
</parameters>
-<return> a list of the children on @settings
+<return> a list of the children on
+@settings, in no defined order
</return>
</function>
@@ -43630,6 +43659,7 @@ function is intended for introspection reasons.
You should free the return value with g_strfreev() when you are done
with it.
+Deprecated: 2.46: Use g_settings_schema_list_keys instead().
</description>
<parameters>
@@ -43638,7 +43668,8 @@ with it.
</parameter_description>
</parameter>
</parameters>
-<return> a list of the keys on @settings
+<return> a list of the keys on
+@settings, in no defined order
</return>
</function>
@@ -43654,8 +43685,8 @@ Deprecated: 2.40: Use g_settings_schema_source_list_schemas() instead
<parameters>
</parameters>
<return> a list of relocatable
-#GSettings schemas that are available. The list must not be
-modified or freed.
+#GSettings schemas that are available, in no defined order. The list must
+not be modified or freed.
</return>
</function>
@@ -43675,8 +43706,8 @@ of your whole loop.
<parameters>
</parameters>
<return> a list of #GSettings
-schemas that are available. The list must not be modified or
-freed.
+schemas that are available, in no defined order. The list must not be
+modified or freed.
</return>
</function>
@@ -43880,7 +43911,7 @@ Deprecated:2.40:Use g_settings_schema_key_range_check() instead.
Resets @key to its default value.
This call resets the key, as much as possible, to its default value.
-That might the value specified in the schema or the one set by the
+That might be the value specified in the schema or the one set by the
administrator.
</description>
@@ -44252,7 +44283,8 @@ Since: 2.44
</parameter_description>
</parameter>
</parameters>
-<return> a list of the children on @settings
+<return> a list of the children on
+@settings, in no defined order
</return>
</function>
@@ -44275,7 +44307,7 @@ Since: 2.46
</parameter>
</parameters>
<return> a list of the keys on
-@schema
+@schema, in no defined order
</return>
</function>
@@ -44353,12 +44385,12 @@ Since: 2.40
</parameter>
<parameter name="non_relocatable">
<parameter_description> the
-list of non-relocatable schemas
+list of non-relocatable schemas, in no defined order
</parameter_description>
</parameter>
<parameter name="relocatable">
<parameter_description> the list
-of relocatable schemas
+of relocatable schemas, in no defined order
</parameter_description>
</parameter>
</parameters>
@@ -47146,7 +47178,7 @@ Sets the protocol of the socket client.
The sockets created by this object will use of the specified
protocol.
-If @protocol is %0 that means to use the default
+If @protocol is %G_SOCKET_PROTOCOL_DEFAULT that means to use the default
protocol for the socket family and type.
Since: 2.22
@@ -47542,7 +47574,7 @@ Since: 2.22
<function name="g_socket_connectable_proxy_enumerate">
<description>
Creates a #GSocketAddressEnumerator for @connectable that will
-return #GProxyAddresses for addresses that you must connect
+return a #GProxyAddress for each of its addresses that you must connect
to via a proxy.
If @connectable does not implement
@@ -48093,6 +48125,13 @@ If this operation isn't supported on the OS, the method fails with
the %G_IO_ERROR_NOT_SUPPORTED error. On Linux this is implemented
by reading the %SO_PEERCRED option on the underlying socket.
+This method can be expected to be available on the following platforms:
+
+- Linux since GLib 2.26
+- OpenBSD since GLib 2.30
+- Solaris, Illumos and OpenSolaris since GLib 2.40
+- NetBSD since GLib 2.42
+
Other ways to obtain credentials from a foreign peer includes the
#GUnixCredentialsMessage type and
g_unix_connection_send_credentials() /
@@ -49081,7 +49120,9 @@ Since: 2.22
<function name="g_socket_listener_set_backlog">
<description>
-Sets the listen backlog on the sockets in the listener.
+Sets the listen backlog on the sockets in the listener. This must be called
+before adding any sockets, addresses or ports to the #GSocketListener (for
+example, by calling g_socket_listener_add_inet_port()) to be effective.
See g_socket_set_listen_backlog() for details
@@ -49378,7 +49419,9 @@ elements in @messages, or %NULL
</parameter_description>
</parameter>
<parameter name="flags">
-<parameter_description> a pointer to an int containing #GSocketMsgFlags flags
+<parameter_description> a pointer to an int containing #GSocketMsgFlags flags,
+which may additionally contain
+[other platform specific flags](http://man7.org/linux/man-pages/man2/recv.2.html)
</parameter_description>
</parameter>
<parameter name="cancellable">
@@ -49464,7 +49507,9 @@ Since: 2.48
</parameter_description>
</parameter>
<parameter name="flags">
-<parameter_description> an int containing #GSocketMsgFlags flags for the overall operation
+<parameter_description> an int containing #GSocketMsgFlags flags for the overall operation,
+which may additionally contain
+[other platform specific flags](http://man7.org/linux/man-pages/man2/recv.2.html)
</parameter_description>
</parameter>
<parameter name="cancellable">
@@ -49646,7 +49691,8 @@ array of #GSocketControlMessages, or %NULL.
</parameter_description>
</parameter>
<parameter name="flags">
-<parameter_description> an int containing #GSocketMsgFlags flags
+<parameter_description> an int containing #GSocketMsgFlags flags, which may additionally
+contain [other platform specific flags](http://man7.org/linux/man-pages/man2/recv.2.html)
</parameter_description>
</parameter>
<parameter name="cancellable">
@@ -49704,7 +49750,8 @@ array of #GSocketControlMessages, or %NULL.
</parameter_description>
</parameter>
<parameter name="flags">
-<parameter_description> an int containing #GSocketMsgFlags flags
+<parameter_description> an int containing #GSocketMsgFlags flags, which may additionally
+contain [other platform specific flags](http://man7.org/linux/man-pages/man2/recv.2.html)
</parameter_description>
</parameter>
<parameter name="timeout_us">
@@ -49785,7 +49832,8 @@ Since: 2.44
</parameter_description>
</parameter>
<parameter name="flags">
-<parameter_description> an int containing #GSocketMsgFlags flags
+<parameter_description> an int containing #GSocketMsgFlags flags, which may additionally
+contain [other platform specific flags](http://man7.org/linux/man-pages/man2/recv.2.html)
</parameter_description>
</parameter>
<parameter name="cancellable">
@@ -50828,6 +50876,9 @@ Since: 2.40
<description>
On UNIX, returns the process ID as a decimal string.
On Windows, returns the result of GetProcessId() also as a string.
+If the subprocess has terminated, this will return %NULL.
+
+Since: 2.40
</description>
<parameters>
@@ -50836,7 +50887,9 @@ On Windows, returns the result of GetProcessId() also as a string.
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> the subprocess identifier, or %NULL if the subprocess
+has terminated
+</return>
</function>
<function name="g_subprocess_get_if_exited">
@@ -52847,7 +52900,7 @@ called after g_test_dbus_up().
Stop the session bus started by g_test_dbus_up().
This will wait for the singleton returned by g_bus_get() or g_bus_get_sync()
-is destroyed. This is done to ensure that the next unit test won't get a
+to be destroyed. This is done to ensure that the next unit test won't get a
leaked singleton from this test.
</description>
@@ -54409,7 +54462,7 @@ handle.
<function name="g_tls_database_lookup_certificate_for_handle">
<description>
-Lookup a certificate by its handle.
+Look up a certificate by its handle.
The handle should have been created by calling
g_tls_database_create_certificate_handle() on a #GTlsDatabase object of
@@ -54459,7 +54512,7 @@ Since: 2.30
<function name="g_tls_database_lookup_certificate_for_handle_async">
<description>
-Asynchronously lookup a certificate by its handle in the database. See
+Asynchronously look up a certificate by its handle in the database. See
g_tls_database_lookup_certificate_for_handle() for more information.
Since: 2.30
@@ -54501,7 +54554,7 @@ Since: 2.30
<function name="g_tls_database_lookup_certificate_for_handle_finish">
<description>
Finish an asynchronous lookup of a certificate by its handle. See
-g_tls_database_lookup_certificate_by_handle() for more information.
+g_tls_database_lookup_certificate_for_handle() for more information.
If the handle is no longer valid, or does not point to a certificate in
this database, then %NULL will be returned.
@@ -54531,7 +54584,7 @@ Use g_object_unref() to release the certificate.
<function name="g_tls_database_lookup_certificate_issuer">
<description>
-Lookup the issuer of @certificate in the database.
+Look up the issuer of @certificate in the database.
The #GTlsCertificate:issuer property
of @certificate is not modified, and the two certificates are not hooked
@@ -54577,7 +54630,7 @@ or %NULL. Use g_object_unref() to release the certificate.
<function name="g_tls_database_lookup_certificate_issuer_async">
<description>
-Asynchronously lookup the issuer of @certificate in the database. See
+Asynchronously look up the issuer of @certificate in the database. See
g_tls_database_lookup_certificate_issuer() for more information.
Since: 2.30
@@ -54646,7 +54699,7 @@ or %NULL. Use g_object_unref() to release the certificate.
<function name="g_tls_database_lookup_certificates_issued_by">
<description>
-Lookup certificates issued by this issuer in the database.
+Look up certificates issued by this issuer in the database.
This function can block, use g_tls_database_lookup_certificates_issued_by_async() to perform
the lookup operation asynchronously.
@@ -54688,7 +54741,7 @@ objects. Use g_object_unref() on each certificate, and g_list_free() on the rele
<function name="g_tls_database_lookup_certificates_issued_by_async">
<description>
-Asynchronously lookup certificates issued by this issuer in the database. See
+Asynchronously look up certificates issued by this issuer in the database. See
g_tls_database_lookup_certificates_issued_by() for more information.
The database may choose to hold a reference to the issuer byte array for the duration
@@ -55588,6 +55641,14 @@ As well as reading the credentials this also reads (and discards) a
single byte from the stream, as this is required for credentials
passing to work on some implementations.
+This method can be expected to be available on the following platforms:
+
+- Linux since GLib 2.26
+- FreeBSD since GLib 2.26
+- GNU/kFreeBSD since GLib 2.36
+- Solaris, Illumos and OpenSolaris since GLib 2.40
+- GNU/Hurd since GLib 2.40
+
Other ways to exchange credentials with a foreign peer includes the
#GUnixCredentialsMessage type and g_socket_get_credentials() function.
@@ -55719,6 +55780,14 @@ As well as sending the credentials this also writes a single NUL
byte to the stream, as this is required for credentials passing to
work on some implementations.
+This method can be expected to be available on the following platforms:
+
+- Linux since GLib 2.26
+- FreeBSD since GLib 2.26
+- GNU/kFreeBSD since GLib 2.36
+- Solaris, Illumos and OpenSolaris since GLib 2.40
+- GNU/Hurd since GLib 2.40
+
Other ways to exchange credentials with a foreign peer includes the
#GUnixCredentialsMessage type and g_socket_get_credentials() function.
@@ -56399,6 +56468,9 @@ Gets a #GUnixMountEntry for a given mount path. If @time_read
is set, it will be filled with a unix timestamp for checking
if the mounts have changed since with g_unix_mounts_changed_since().
+If more mounts have the same mount path, the last matching mount
+is returned.
+
</description>
<parameters>
@@ -56460,6 +56532,9 @@ Gets a #GUnixMountEntry for a given file path. If @time_read
is set, it will be filled with a unix timestamp for checking
if the mounts have changed since with g_unix_mounts_changed_since().
+If more mounts have the same mount path, the last matching mount
+is returned.
+
Since: 2.52
</description>
@@ -59496,4 +59571,18 @@ GetLogicalDrives() is returned.
</return>
</function>
+<function name="inet_addresses_to_inet_socket_addresses">
+<description>
+
+</description>
+<parameters>
+<parameter name="addresses">
+<parameter_description> #GList of #GInetAddress
+</parameter_description>
+</parameter>
+</parameters>
+<return> #GList of #GInetSocketAddress
+</return>
+</function>
+
</root>
diff --git a/gio/src/gio_enums.defs b/gio/src/gio_enums.defs
index 1043c019..2b85aed0 100644
--- a/gio/src/gio_enums.defs
+++ b/gio/src/gio_enums.defs
@@ -1381,7 +1381,7 @@
;; G_TLS_REHANDSHAKE_NEVER,
;; G_TLS_REHANDSHAKE_SAFELY,
;; G_TLS_REHANDSHAKE_UNSAFELY
-;; } GTlsRehandshakeMode;
+;; } GTlsRehandshakeMode GLIB_DEPRECATED_TYPE_IN_2_60;
(define-enum-extended TlsRehandshakeMode
(in-module "G")
diff --git a/gio/src/gio_methods.defs b/gio/src/gio_methods.defs
index c8570555..3aa62405 100644
--- a/gio/src/gio_methods.defs
+++ b/gio/src/gio_methods.defs
@@ -11649,6 +11649,10 @@
+;; From gmarshal-internal.h
+
+
+
;; From gmemoryinputstream.h
(define-function g_memory_input_stream_get_type
@@ -13768,6 +13772,11 @@
(return-type "gboolean")
)
+(define-function glib_has_dconf_access_in_sandbox
+ (c-name "glib_has_dconf_access_in_sandbox")
+ (return-type "gboolean")
+)
+
;; From gpropertyaction.h
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index 8a49e6fb..16a893f5 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -2759,6 +2759,223 @@
)
)
+;; From GDBusObjectManager
+
+(define-signal interface-added
+ (of-object "GDBusObjectManager")
+ (return-type "void")
+ (flags "Run Last")
+ (parameters
+ '("GDBusObject*" "p0")
+ '("GDBusInterface*" "p1")
+ )
+)
+
+(define-signal interface-removed
+ (of-object "GDBusObjectManager")
+ (return-type "void")
+ (flags "Run Last")
+ (parameters
+ '("GDBusObject*" "p0")
+ '("GDBusInterface*" "p1")
+ )
+)
+
+(define-signal object-added
+ (of-object "GDBusObjectManager")
+ (return-type "void")
+ (flags "Run Last")
+ (parameters
+ '("GDBusObject*" "p0")
+ )
+)
+
+(define-signal object-removed
+ (of-object "GDBusObjectManager")
+ (return-type "void")
+ (flags "Run Last")
+ (parameters
+ '("GDBusObject*" "p0")
+ )
+)
+
+;; From GDBusObjectManagerClient
+
+(define-signal interface-proxy-signal
+ (of-object "GDBusObjectManagerClient")
+ (return-type "void")
+ (flags "Run Last")
+ (parameters
+ '("GDBusObjectProxy*" "p0")
+ '("GDBusProxy*" "p1")
+ '("const-gchar*" "p2")
+ '("const-gchar*" "p3")
+ '("GVariant*" "p4")
+ )
+)
+
+(define-signal interface-proxy-properties-changed
+ (of-object "GDBusObjectManagerClient")
+ (return-type "void")
+ (flags "Run Last")
+ (parameters
+ '("GDBusObjectProxy*" "p0")
+ '("GDBusProxy*" "p1")
+ '("GVariant*" "p2")
+ '("const-gchar*const*" "p3")
+ )
+)
+
+(define-property bus-type
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamEnum")
+ (docs "The bus to connect to, if any")
+ (readable #f)
+ (writable #t)
+ (construct-only #t)
+ (default-value "G_BUS_TYPE_NONE")
+)
+
+(define-property connection
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamObject")
+ (docs "The connection to use")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property flags
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamFlags")
+ (docs "Flags for the proxy manager")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+ (default-value "G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE")
+)
+
+(define-property object-path
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamString")
+ (docs "The object path of the control object")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+ (default-value "")
+)
+
+(define-property name
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamString")
+ (docs "Name that the manager is for")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+ (default-value "")
+)
+
+(define-property name-owner
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamString")
+ (docs "The owner of the name we are watching")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "")
+)
+
+(define-property get-proxy-type-func
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamPointer")
+ (docs "The GDBusProxyTypeFunc pointer to use")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property get-proxy-type-user-data
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamPointer")
+ (docs "The GDBusProxyTypeFunc user_data")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property get-proxy-type-destroy-notify
+ (of-object "GDBusObjectManagerClient")
+ (prop-type "GParamPointer")
+ (docs "The GDBusProxyTypeFunc user data free function")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+;; From GDBusObjectManagerServer
+
+(define-property connection
+ (of-object "GDBusObjectManagerServer")
+ (prop-type "GParamObject")
+ (docs "The connection to export objects on")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property object-path
+ (of-object "GDBusObjectManagerServer")
+ (prop-type "GParamString")
+ (docs "The object path to register the manager object at")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+ (default-value "")
+)
+
+;; From GDBusObjectProxy
+
+(define-property g-object-path
+ (of-object "GDBusObjectProxy")
+ (prop-type "GParamString")
+ (docs "The object path of the proxy")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+ (default-value "")
+)
+
+(define-property g-connection
+ (of-object "GDBusObjectProxy")
+ (prop-type "GParamObject")
+ (docs "The connection of the proxy")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+;; From GDBusObjectSkeleton
+
+(define-signal authorize-method
+ (of-object "GDBusObjectSkeleton")
+ (return-type "gboolean")
+ (flags "Run Last")
+ (parameters
+ '("GDBusInterfaceSkeleton*" "p0")
+ '("GDBusMethodInvocation*" "p1")
+ )
+)
+
+(define-property g-object-path
+ (of-object "GDBusObjectSkeleton")
+ (prop-type "GParamString")
+ (docs "The object path where the object is exported")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "")
+)
+
;; GDBusNodeInfo is neither a GObject nor a GInterface. Not checked for signals and properties.
;; From GDBusMessage
diff --git a/gio/src/gio_signals.defs.patch b/gio/src/gio_signals.defs.patch
index f3db90fe..cfa13827 100644
--- a/gio/src/gio_signals.defs.patch
+++ b/gio/src/gio_signals.defs.patch
@@ -1,5 +1,5 @@
---- ./../../gio/src/gio_signals.defs.orig 2017-09-11 09:52:55.272837455 +0200
-+++ ./../../gio/src/gio_signals.defs 2017-09-11 14:56:39.662521043 +0200
+--- tools/gen_scripts/../../gio/src/gio_signals.defs.orig 2019-07-15 15:42:00.493060856 +0200
++++ tools/gen_scripts/../../gio/src/gio_signals.defs 2019-07-15 15:42:00.513060927 +0200
@@ -87,11 +87,11 @@
(return-type "void")
(flags "Run Last, Must Collect")
@@ -13,7 +13,7 @@
;; From GApplication
-@@ -738,11 +738,11 @@
+@@ -744,11 +744,11 @@
(of-object "GMountOperation")
(return-type "void")
(flags "Run Last")
@@ -26,7 +26,7 @@
(define-signal reply
(of-object "GMountOperation")
-@@ -1106,11 +1106,11 @@
+@@ -1142,11 +1142,11 @@
(define-signal writable-change-event
(of-object "GSettings")
(return-type "gboolean")
@@ -39,7 +39,7 @@
(define-property settings-schema
(of-object "GSettings")
-@@ -1190,20 +1190,20 @@
+@@ -1226,20 +1226,20 @@
(define-signal activate
(of-object "GSimpleAction")
(return-type "void")
@@ -62,7 +62,7 @@
(define-property name
(of-object "GSimpleAction")
-@@ -1850,11 +1850,11 @@
+@@ -1886,11 +1886,11 @@
(define-signal writable-change-event
(of-object "GSettings")
(return-type "gboolean")
@@ -75,7 +75,34 @@
(define-property settings-schema
(of-object "GSettings")
-@@ -2723,23 +2723,23 @@
+@@ -2808,23 +2808,23 @@
+ (parameters
+ '("GDBusObjectProxy*" "p0")
+ '("GDBusProxy*" "p1")
+ '("const-gchar*" "p2")
+ '("const-gchar*" "p3")
+- '("GVariant" "p4")
++ '("GVariant*" "p4")
+ )
+ )
+
+ (define-signal interface-proxy-properties-changed
+ (of-object "GDBusObjectManagerClient")
+ (return-type "void")
+ (flags "Run Last")
+ (parameters
+ '("GDBusObjectProxy*" "p0")
+ '("GDBusProxy*" "p1")
+- '("GVariant" "p2")
+- '("GStrv*" "p3")
++ '("GVariant*" "p2")
++ '("const-gchar*const*" "p3")
+ )
+ )
+
+ (define-property bus-type
+ (of-object "GDBusObjectManagerClient")
+@@ -2997,23 +2997,23 @@
(define-signal g-properties-changed
(of-object "GDBusProxy")
(return-type "void")