summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2017-09-03 18:49:59 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2017-09-03 18:49:59 +0200
commitf107f4e4cdfe35b1d0a0c4c8d0515a6f02c7429a (patch)
tree21571227472142e0ad49a75cdce4ef22ac1527d0
parenta10674388dd90a8ada0f4a29bb74ce7a103f9f86 (diff)
downloadglibmm-f107f4e4cdfe35b1d0a0c4c8d0515a6f02c7429a.tar.gz
Regenerate glib_signals.defs and gio_signals.defs
and add some substitute_enumerator_name elements to glib_docs_override.xml and gio_docs_override.xml.
-rw-r--r--gio/src/gio_docs_override.xml13
-rw-r--r--gio/src/gio_signals.defs172
-rw-r--r--gio/src/gio_signals.defs.patch64
-rw-r--r--glib/src/glib_docs_override.xml1
-rw-r--r--glib/src/glib_signals.defs3
5 files changed, 223 insertions, 30 deletions
diff --git a/gio/src/gio_docs_override.xml b/gio/src/gio_docs_override.xml
index cbeaae18..9731c275 100644
--- a/gio/src/gio_docs_override.xml
+++ b/gio/src/gio_docs_override.xml
@@ -42,13 +42,17 @@
<substitute_type_name from="GUnixSocketAddressType" to="Gio::UnixSocketAddress::Type" />
<substitute_enumerator_name from_prefix="G_APPLICATION_" to_prefix="Gio::Application::Flags::" />
+<substitute_enumerator_name from="G_APPLICATION_FLAGS_NONE" to="Gio::Application::Flags::NONE" />
<!-- GConverterFlags and GConverterResult both have prefix G_CONVERTER_. -->
-<substitute_enumerator_name from_prefix="G_CONVERTER_NO_FLAGS" to_prefix="Gio::Converter::Flags::NO_FLAGS" />
-<substitute_enumerator_name from_prefix="G_CONVERTER_INPUT_AT_END" to_prefix="Gio::Converter::Flags::INPUT_AT_END" />
-<substitute_enumerator_name from_prefix="G_CONVERTER_FLUSH" to_prefix="Gio::Converter::Flags::FLUSH" />
+<substitute_enumerator_name from="G_CONVERTER_NO_FLAGS" to="Gio::Converter::Flags::NO_FLAGS" />
+<substitute_enumerator_name from="G_CONVERTER_INPUT_AT_END" to="Gio::Converter::Flags::INPUT_AT_END" />
+<substitute_enumerator_name from="G_CONVERTER_FLUSH" to="Gio::Converter::Flags::FLUSH" />
<substitute_enumerator_name from_prefix="G_CONVERTER_" to_prefix="Gio::Converter::Result::" />
+<substitute_enumerator_name from_prefix="G_DATA_STREAM_BYTE_ORDER_" to_prefix="Gio::DataStreamByteOrder::" />
+<substitute_enumerator_name from_prefix="G_DATA_STREAM_NEWLINE_TYPE_" to_prefix="Gio::DataStreamNewlineType::" />
<substitute_enumerator_name from_prefix="G_IO_ERROR_" to_prefix="Gio::Error::" />
+<substitute_enumerator_name from_prefix="G_DBUS_CAPABILITY_FLAGS_" to_prefix="Gio::DBus::CapabilityFlags::" />
<substitute_enumerator_name from_prefix="G_DBUS_CONNECTION_FLAGS_" to_prefix="Gio::DBus::ConnectionFlags::" />
<substitute_enumerator_name from_prefix="G_DBUS_SEND_MESSAGE_FLAGS_" to_prefix="Gio::DBus::SendMessageFlags::" />
<substitute_enumerator_name from_prefix="G_DBUS_MESSAGE_TYPE_" to_prefix="Gio::DBus::MessageType::" />
@@ -63,6 +67,7 @@
<substitute_enumerator_name from_prefix="G_FILE_MONITOR_" to_prefix="Gio::FileMonitorFlags::" />
<substitute_enumerator_name from_prefix="G_FILE_TYPE_" to_prefix="Gio::FileType::" />
<substitute_enumerator_name from_prefix="G_NETWORK_CONNECTIVITY_" to_prefix="Gio::NetworkConnectivity::" />
+<substitute_enumerator_name from_prefix="G_PASSWORD_SAVE_" to_prefix="Gio::PasswordSave::" />
<substitute_enumerator_name from_prefix="G_RESOLVER_RECORD_" to_prefix="Gio::Resolver::RecordType::" />
<substitute_enumerator_name from_prefix="G_RESOURCE_ERROR_" to_prefix="Gio::ResourceError::" />
<substitute_enumerator_name from_prefix="G_SETTINGS_BIND_" to_prefix="Gio::Settings::BindFlags::" />
@@ -71,11 +76,13 @@
<substitute_enumerator_name from_prefix="G_SOCKET_FAMILY_" to_prefix="Gio::SocketFamily::" />
<substitute_enumerator_name from_prefix="G_IO_" to_prefix="Glib::IOCondition::" />
<substitute_enumerator_name from_prefix="G_SOCKET_CLIENT_" to_prefix="Gio::SocketClientEvent::" />
+<substitute_enumerator_name from_prefix="G_TLS_AUTHENTICATION_" to_prefix="Gio::GTlsAuthenticationMode::" />
<substitute_enumerator_name from_prefix="G_TLS_CERTIFICATE_" to_prefix="Gio::TlsCertificateFlags::" />
<substitute_enumerator_name from_prefix="G_TLS_REHANDSHAKE_" to_prefix="Gio::TlsRehandshakeMode::" />
<substitute_enumerator_name from_prefix="G_TLS_DATABASE_VERIFY_" to_prefix="Gio::TlsDatabaseVerifyFlags::" />
<substitute_enumerator_name from_prefix="G_TLS_INTERACTION_" to_prefix="Gio::TlsInteractionResult::" />
<substitute_enumerator_name from_prefix="G_TLS_ERROR_" to_prefix="Gio::TlsError::" />
+<substitute_enumerator_name from_prefix="G_TLS_PASSWORD_" to_prefix="Gio::TlsPassword::Flags::" />
<substitute_enumerator_name from_prefix="G_ZLIB_COMPRESSOR_FORMAT_" to_prefix="Gio::ZlibCompressorFormat::" />
<substitute_enumerator_name from_prefix="G_UNIX_SOCKET_ADDRESS_" to_prefix="Gio::UnixSocketAddress::Type::" />
<!-- These are preprocessor defines. Don't substitute. -->
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index 31a26839..944beba1 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -9,6 +9,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property name
@@ -18,6 +19,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "")
)
(define-property parameter-type
@@ -143,6 +145,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
(define-property flags
@@ -152,6 +155,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_APPLICATION_FLAGS_NONE")
)
(define-property resource-base-path
@@ -161,6 +165,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
(define-property is-registered
@@ -170,6 +175,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-remote
@@ -179,6 +185,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property inactivity-timeout
@@ -188,6 +195,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "0")
)
(define-property action-group
@@ -207,6 +215,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GAppInfoMonitor
@@ -234,6 +243,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "4096")
)
;; From GBufferedOutputStream
@@ -245,6 +255,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "4096")
)
(define-property auto-grow
@@ -254,6 +265,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GCharsetConverter
@@ -265,6 +277,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property to-charset
@@ -274,6 +287,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property use-fallback
@@ -283,6 +297,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GConverterInputStream
@@ -316,6 +331,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN")
)
(define-property newline-type
@@ -325,6 +341,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_DATA_STREAM_NEWLINE_TYPE_LF")
)
;; From GDataOutputStream
@@ -336,6 +353,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN")
)
;; From GDrive
@@ -410,6 +428,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "800")
)
(define-property cancelled
@@ -419,6 +438,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GFilenameCompleter
@@ -451,6 +471,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
;; From GFilterOutputStream
@@ -471,6 +492,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "TRUE")
)
;; From GUnixCredentialsMessage
@@ -504,6 +526,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "-1")
)
(define-property close-fd
@@ -513,6 +536,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
;; From GUnixOutputStream
@@ -524,6 +548,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "-1")
)
(define-property close-fd
@@ -533,6 +558,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
;; From GUnixSocketAddress
@@ -544,6 +570,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property path-as-array
@@ -562,6 +589,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "FALSE")
)
(define-property address-type
@@ -571,6 +599,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_UNIX_SOCKET_ADDRESS_PATH")
)
;; From GInputStream
@@ -621,6 +650,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "0")
)
(define-property data-size
@@ -630,6 +660,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "0")
)
(define-property realloc-function
@@ -753,6 +784,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
(define-property password
@@ -762,6 +794,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
(define-property anonymous
@@ -771,6 +804,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property domain
@@ -780,6 +814,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
(define-property password-save
@@ -789,6 +824,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_PASSWORD_SAVE_NEVER")
)
(define-property choice
@@ -798,6 +834,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "0")
)
;; From GNotification
@@ -811,6 +848,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property can-acquire
@@ -820,6 +858,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property can-release
@@ -829,6 +868,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GPropertyAction
@@ -840,6 +880,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property parameter-type
@@ -858,6 +899,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property state-type
@@ -894,6 +936,7 @@
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property invert-boolean
@@ -903,6 +946,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "FALSE")
)
;; From GProxy
@@ -916,6 +960,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property destination-protocol
@@ -925,6 +970,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property destination-hostname
@@ -934,6 +980,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property destination-port
@@ -943,6 +990,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "0")
)
(define-property username
@@ -952,6 +1000,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property password
@@ -961,15 +1010,17 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property uri
(of-object "GProxyAddress")
(prop-type "GParamString")
- (docs "The proxy's URI")
+ (docs "The proxy’s URI")
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
;; From GProxyAddressEnumerator
@@ -981,6 +1032,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property default-port
@@ -990,6 +1042,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "0")
)
(define-property connectable
@@ -1070,6 +1123,7 @@
(writable #t)
(construct-only #t)
(deprecated #t)
+ (default-value "")
)
(define-property schema-id
@@ -1079,6 +1133,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property backend
@@ -1097,6 +1152,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property has-unapplied
@@ -1106,15 +1162,17 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property delay-apply
(of-object "GSettings")
(prop-type "GParamBoolean")
- (docs "Whether this settings object is in 'delay-apply' mode")
+ (docs "Whether this settings object is in “delay-apply” mode")
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GSettingsBackend
@@ -1148,6 +1206,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property parameter-type
@@ -1166,6 +1225,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property state-type
@@ -1215,6 +1275,7 @@
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "G_SUBPROCESS_FLAGS_NONE")
)
(define-property argv
@@ -1235,6 +1296,7 @@
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "G_SUBPROCESS_FLAGS_NONE")
)
;; From GThemedIcon
@@ -1246,6 +1308,7 @@
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property names
@@ -1260,10 +1323,11 @@
(define-property use-default-fallbacks
(of-object "GThemedIcon")
(prop-type "GParamBoolean")
- (docs "Whether to use default fallbacks found by shortening the name at '-' characters. Ignores names after the first if multiple names are given.")
+ (docs "Whether to use default fallbacks found by shortening the name at “-” characters. Ignores names after the first if multiple names are given.")
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "FALSE")
)
;; From GVolume
@@ -1399,6 +1463,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_ZLIB_COMPRESSOR_FORMAT_ZLIB")
)
(define-property level
@@ -1408,6 +1473,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "-1")
)
(define-property file-info
@@ -1428,6 +1494,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_ZLIB_COMPRESSOR_FORMAT_ZLIB")
)
(define-property file-info
@@ -1448,6 +1515,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_SOCKET_FAMILY_INVALID")
)
(define-property bytes
@@ -1466,6 +1534,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-loopback
@@ -1475,6 +1544,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-link-local
@@ -1484,6 +1554,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-site-local
@@ -1493,6 +1564,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-multicast
@@ -1502,6 +1574,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-mc-global
@@ -1511,6 +1584,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-mc-link-local
@@ -1520,6 +1594,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-mc-node-local
@@ -1529,6 +1604,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-mc-org-local
@@ -1538,6 +1614,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property is-mc-site-local
@@ -1547,6 +1624,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GInetSocketAddress
@@ -1567,6 +1645,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "0")
)
(define-property flowinfo
@@ -1576,6 +1655,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "0")
)
(define-property scope-id
@@ -1585,6 +1665,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "0")
)
;; From GSocketAddress
@@ -1596,6 +1677,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "G_SOCKET_FAMILY_INVALID")
)
;; From GSocketAddressEnumerator
@@ -1621,6 +1703,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property port
@@ -1630,6 +1713,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "0")
)
(define-property scheme
@@ -1639,6 +1723,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
;; From GNetworkMonitor
@@ -1659,6 +1744,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "G_NETWORK_CONNECTIVITY_FULL")
)
(define-property network-available
@@ -1668,6 +1754,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property network-metered
@@ -1677,6 +1764,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GNetworkService
@@ -1688,6 +1776,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property protocol
@@ -1697,6 +1786,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property domain
@@ -1706,6 +1796,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property scheme
@@ -1715,6 +1806,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
;; From GSettings
@@ -1773,6 +1865,7 @@
(writable #t)
(construct-only #t)
(deprecated #t)
+ (default-value "")
)
(define-property schema-id
@@ -1782,6 +1875,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property backend
@@ -1800,6 +1894,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property has-unapplied
@@ -1809,15 +1904,17 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property delay-apply
(of-object "GSettings")
(prop-type "GParamBoolean")
- (docs "Whether this settings object is in 'delay-apply' mode")
+ (docs "Whether this settings object is in “delay-apply” mode")
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; GSettingsSchema is neither a GObject nor a GInterface. Not checked for signals and properties.
@@ -1837,6 +1934,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_SOCKET_FAMILY_INVALID")
)
(define-property type
@@ -1846,6 +1944,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_SOCKET_TYPE_STREAM")
)
(define-property protocol
@@ -1855,6 +1954,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_SOCKET_PROTOCOL_UNKNOWN")
)
(define-property fd
@@ -1864,6 +1964,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "-1")
)
(define-property blocking
@@ -1873,6 +1974,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property listen-backlog
@@ -1882,6 +1984,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "10")
)
(define-property keepalive
@@ -1891,6 +1994,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property local-address
@@ -1918,6 +2022,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "0")
)
(define-property ttl
@@ -1927,6 +2032,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "0")
)
(define-property broadcast
@@ -1936,6 +2042,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property multicast-loopback
@@ -1945,6 +2052,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property multicast-ttl
@@ -1954,6 +2062,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "1")
)
;; From GSocketClient
@@ -1976,6 +2085,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_SOCKET_FAMILY_INVALID")
)
(define-property type
@@ -1985,6 +2095,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_SOCKET_TYPE_STREAM")
)
(define-property protocol
@@ -1994,6 +2105,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_SOCKET_PROTOCOL_DEFAULT")
)
(define-property local-address
@@ -2012,6 +2124,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "0")
)
(define-property enable-proxy
@@ -2021,6 +2134,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property tls
@@ -2030,6 +2144,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property tls-validation-flags
@@ -2039,6 +2154,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_TLS_CERTIFICATE_UNKNOWN_CA | G_TLS_CERTIFICATE_BAD_IDENTITY | G_TLS_CERTIFICATE_NOT_ACTIVATED | G_TLS_CERTIFICATE_EXPIRED | G_TLS_CERTIFICATE_REVOKED | G_TLS_CERTIFICATE_INSECURE | G_TLS_CERTIFICATE_GENERIC_ERROR")
)
(define-property proxy-resolver
@@ -2070,6 +2186,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GTcpWrapperConnection
@@ -2103,12 +2220,13 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property private-key
(of-object "GTlsCertificate")
(prop-type "GParamBoxed")
- (docs "The DER representation of the certificate's private key")
+ (docs "The DER representation of the certificate’s private key")
(readable #f)
(writable #t)
(construct-only #t)
@@ -2117,10 +2235,11 @@
(define-property private-key-pem
(of-object "GTlsCertificate")
(prop-type "GParamString")
- (docs "The PEM representation of the certificate's private key")
+ (docs "The PEM representation of the certificate’s private key")
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property issuer
@@ -2159,6 +2278,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property validation-flags
@@ -2168,6 +2288,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_TLS_CERTIFICATE_UNKNOWN_CA | G_TLS_CERTIFICATE_BAD_IDENTITY | G_TLS_CERTIFICATE_NOT_ACTIVATED | G_TLS_CERTIFICATE_EXPIRED | G_TLS_CERTIFICATE_REVOKED | G_TLS_CERTIFICATE_INSECURE | G_TLS_CERTIFICATE_GENERIC_ERROR")
)
;; From GTlsConnection
@@ -2198,6 +2319,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property rehandshake-mode
@@ -2207,6 +2329,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_TLS_REHANDSHAKE_SAFELY")
)
(define-property use-system-certdb
@@ -2216,6 +2339,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
(define-property database
@@ -2239,7 +2363,7 @@
(define-property certificate
(of-object "GTlsConnection")
(prop-type "GParamObject")
- (docs "The connection's certificate")
+ (docs "The connection’s certificate")
(readable #t)
(writable #t)
(construct-only #f)
@@ -2248,7 +2372,7 @@
(define-property peer-certificate
(of-object "GTlsConnection")
(prop-type "GParamObject")
- (docs "The connection's peer's certificate")
+ (docs "The connection’s peer’s certificate")
(readable #t)
(writable #f)
(construct-only #f)
@@ -2257,10 +2381,11 @@
(define-property peer-certificate-errors
(of-object "GTlsConnection")
(prop-type "GParamFlags")
- (docs "Errors found with the peer's certificate")
+ (docs "Errors found with the peer’s certificate")
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "0")
)
;; From GTlsDatabase
@@ -2274,6 +2399,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
;; From GTlsInteraction
@@ -2287,6 +2413,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_TLS_PASSWORD_NONE")
)
(define-property description
@@ -2296,6 +2423,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
(define-property warning
@@ -2305,6 +2433,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "")
)
;; From GTlsServerConnection
@@ -2316,6 +2445,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_TLS_AUTHENTICATION_NONE")
)
;; From GUnixConnection
@@ -2339,6 +2469,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "10")
)
;; From GSocketService
@@ -2360,6 +2491,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "TRUE")
)
;; From GThreadedSocketService
@@ -2381,6 +2513,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "10")
)
;; From GDBusAuthObserver
@@ -2432,6 +2565,7 @@
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property flags
@@ -2441,6 +2575,7 @@
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "G_DBUS_CONNECTION_FLAGS_NONE")
)
(define-property guid
@@ -2450,6 +2585,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property unique-name
@@ -2459,6 +2595,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "")
)
(define-property closed
@@ -2468,6 +2605,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property exit-on-close
@@ -2477,6 +2615,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property capabilities
@@ -2486,6 +2625,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "G_DBUS_CAPABILITY_FLAGS_NONE")
)
(define-property authentication-observer
@@ -2531,6 +2671,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "G_DBUS_INTERFACE_SKELETON_FLAGS_NONE")
)
;; From GDBusObject
@@ -2564,6 +2705,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
;; From GDBusMethodInvocation
@@ -2607,6 +2749,7 @@
(readable #f)
(writable #t)
(construct-only #t)
+ (default-value "G_BUS_TYPE_NONE")
)
(define-property g-name
@@ -2616,6 +2759,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property g-name-owner
@@ -2625,6 +2769,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "")
)
(define-property g-flags
@@ -2634,6 +2779,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_DBUS_PROXY_FLAGS_NONE")
)
(define-property g-object-path
@@ -2643,6 +2789,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property g-interface-name
@@ -2652,6 +2799,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property g-default-timeout
@@ -2661,6 +2809,7 @@
(readable #t)
(writable #t)
(construct-only #f)
+ (default-value "-1")
)
(define-property g-interface-info
@@ -2690,6 +2839,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property client-address
@@ -2699,6 +2849,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "")
)
(define-property flags
@@ -2708,6 +2859,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_DBUS_SERVER_FLAGS_NONE")
)
(define-property guid
@@ -2717,6 +2869,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property active
@@ -2726,6 +2879,7 @@
(readable #t)
(writable #f)
(construct-only #f)
+ (default-value "FALSE")
)
(define-property authentication-observer
diff --git a/gio/src/gio_signals.defs.patch b/gio/src/gio_signals.defs.patch
index 06a331f1..7fdc1636 100644
--- a/gio/src/gio_signals.defs.patch
+++ b/gio/src/gio_signals.defs.patch
@@ -1,6 +1,8 @@
---- gio_signals.defs 2012-02-28 13:19:25.000000000 -0500
-+++ gio_signals.defs.new 2012-02-28 12:47:50.000000000 -0500
-@@ -83,7 +83,7 @@
+--- ./../../gio/src/gio_signals.defs.orig 2017-09-02 10:48:27.265194882 +0200
++++ ./../../gio/src/gio_signals.defs 2017-09-02 10:48:27.309194987 +0200
+@@ -83,11 +83,11 @@
+ (of-object "GActionGroup")
+ (return-type "void")
(when "last")
(parameters
'("const-gchar*" "p0")
@@ -9,7 +11,11 @@
)
)
-@@ -579,7 +579,7 @@
+ ;; From GApplication
+
+@@ -734,11 +734,11 @@
+ (of-object "GMountOperation")
+ (return-type "void")
(when "last")
(parameters
'("const-gchar*" "p0")
@@ -18,16 +24,24 @@
)
)
-@@ -849,7 +849,7 @@
- (return-type "void")
+ (define-signal reply
+ (of-object "GMountOperation")
+@@ -1100,11 +1100,11 @@
+ (define-signal writable-change-event
+ (of-object "GSettings")
+ (return-type "gboolean")
(when "last")
(parameters
-- '("GVariant" "p0")
-+ '("GVariant*" "p0")
+- '("guint" "p0")
++ '("GQuark" "p0")
)
)
-@@ -858,7 +858,7 @@
+ (define-property settings-schema
+ (of-object "GSettings")
+@@ -1184,20 +1184,20 @@
+ (define-signal activate
+ (of-object "GSimpleAction")
(return-type "void")
(when "last")
(parameters
@@ -36,16 +50,21 @@
)
)
-@@ -1049,6 +1049,6 @@
- (return-type "gboolean")
+ (define-signal change-state
+ (of-object "GSimpleAction")
+ (return-type "void")
(when "last")
(parameters
-- '("guint" "p0")
-+ '("GQuark" "p0")
+- '("GVariant" "p0")
++ '("GVariant*" "p0")
)
)
-
-@@ -1752,6 +1752,6 @@
+
+ (define-property name
+ (of-object "GSimpleAction")
+@@ -1842,11 +1842,11 @@
+ (define-signal writable-change-event
+ (of-object "GSettings")
(return-type "gboolean")
(when "last")
(parameters
@@ -53,8 +72,12 @@
+ '("GQuark" "p0")
)
)
-
-@@ -1824,8 +1824,8 @@
+
+ (define-property settings-schema
+ (of-object "GSettings")
+@@ -2715,23 +2715,23 @@
+ (define-signal g-properties-changed
+ (of-object "GDBusProxy")
(return-type "void")
(when "last")
(parameters
@@ -65,7 +88,10 @@
)
)
-@@ -1836,7 +1836,7 @@
+ (define-signal g-signal
+ (of-object "GDBusProxy")
+ (return-type "void")
+ (when "last")
(parameters
'("const-gchar*" "p0")
'("const-gchar*" "p1")
@@ -74,3 +100,5 @@
)
)
+ (define-property g-connection
+ (of-object "GDBusProxy")
diff --git a/glib/src/glib_docs_override.xml b/glib/src/glib_docs_override.xml
index f9eba41c..99b18e38 100644
--- a/glib/src/glib_docs_override.xml
+++ b/glib/src/glib_docs_override.xml
@@ -10,6 +10,7 @@
<substitute_type_name from="GRegexCompileFlags" to="Glib::Regex::CompileFlags" />
<substitute_type_name from="GRegexMatchFlags" to="Glib::Regex::MatchFlags" />
+ <substitute_enumerator_name from_prefix="G_BINDING_" to_prefix="Glib::Binding::Flags::" />
<substitute_enumerator_name from_prefix="G_DATE_" to_prefix="Glib::Date::" />
<substitute_enumerator_name from_prefix="G_PARAM_" to_prefix="Glib::ParamFlags::" />
<substitute_enumerator_name from_prefix="G_REGEX_MATCH_" to_prefix="Glib::Regex::MatchFlags::" />
diff --git a/glib/src/glib_signals.defs b/glib/src/glib_signals.defs
index d65d39ed..2748e778 100644
--- a/glib/src/glib_signals.defs
+++ b/glib/src/glib_signals.defs
@@ -25,6 +25,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property target-property
@@ -34,6 +35,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "")
)
(define-property flags
@@ -43,6 +45,7 @@
(readable #t)
(writable #t)
(construct-only #t)
+ (default-value "G_BINDING_DEFAULT")
)
;; GBytes is neither a GObject nor a GInterface. Not checked for signals and properties.