| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
gapplication: Guard g_application_mark_busy()
Closes #2409
See merge request GNOME/glib!2111
|
| |
| |
| |
| |
| |
| |
| |
| | |
The `GApplication` must be registered before calling
`g_application_mark_busy()`. Document that, and add a guard.
The same is true for `g_application_unmark_busy()`, but the existing
documentation and guard for `busy_count > 0` are enough.
|
| |
| |
| |
| | |
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
| |
| |
| |
| | |
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
| |
| |
| |
| |
| |
| |
| | |
Clarify that the terms ‘GUID’ and ‘UUID’ are used interchangeably in the
context of D-Bus, and that neither of them are an RFC 4122 UUID.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset exposes
* `dns-names`
* `ip-addresses`
on GTlsCertificate provided by the underlying TLS Backend.
See https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/165 for the corresponding glib-networking changes.
Relates: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2113
Relates: https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/156/diffs
Relates: https://github.com/microsoft/playwright/issues/6759
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
gdbusconnection: removed a confusing message
Closes #793
See merge request GNOME/glib!2118
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The message `No such interface %s on object at path %s`
displayed when requested object does not exist, which was kind of
confusing.
Closes #793
|
|\ \
| | |
| | |
| | |
| | | |
gdbus, win32: Fix accidental dllexport in static builds
See merge request GNOME/glib!2139
|
| | |
| | |
| | |
| | | |
Should only dllexport g_win32_run_session_bus() when building a DLL.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rename default development branch to main
Closes #2348
See merge request GNOME/glib!2140
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update several links to allow the remote to use its configured default
branch name, rather than specifying `master` as the default branch name.
This will help avoid breakage if any of these projects rename their
default branch in the future.
Fix a few of the links where they were hitting redirects or had moved.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #2348
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This ensures that non-ASCII characters in the test output are printed
correctly in the logs.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit 87e19535fe, the ETag check when writing out a file through
a symlink (following the symlink) has been incorrectly using the ETag
value of the symlink, rather than the target file. This is incorrect
because the ETag should represent the file content, not its metadata or
links to it.
Fix that, and add a unit test.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2417
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
tests/tls-certificate: Add a unit test
Closes #2416
See merge request GNOME/glib!2136
|
| | |
| | |
| | |
| | |
| | | |
Add a comment to `pem_parser_no_sentinel()` to explain what it is
testing and how it works.
|
| | |
| | |
| | |
| | |
| | | |
In various places, do not read past the end of the data.
Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/2416
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test whether g_tls_certificate_new_from_pem() can handle a
non-nul-terminated PEM.
Helps https://gitlab.gnome.org/GNOME/glib/-/issues/2416
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
gsettings: Resolve child schemas from the parent's schema source
Closes #1884
See merge request GNOME/glib!2132
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
tls: add functions to get protocol version and ciphersuite name
See merge request GNOME/glib!2077
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds g_tls_connection_get_protocol_version(),
g_tls_connection_get_ciphersuite_name(), and DTLS variants. This will
allow populating TLS connection information in the WebKit web inspector.
This is WIP because we found it's not quite possibly to implement
correctly with GnuTLS. See glib-networking!151.
|
|/ /
| |
| |
| | |
Fixes: #2311
|
|\ \
| | |
| | |
| | |
| | | |
gdbus: Add various missing (nullable) or (not nullable) annotations
See merge request GNOME/glib!2123
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the result of checking each `Returns:` line in these files. I’ve
only considered nullability and not other (potentially missing or
incorrect) annotations.
Including suggestions by Simon McVittie.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #2227
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
gtlspassword: Add flags signifying PIN type for PKCS#11
See merge request GNOME/glib!2126
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
In a PKCS#11 operation there are multiple types of PINs possibly
needed and these flags add a way to expose them to the user.
This design exactly matches gnutls' gnutls_pin_flag_t API.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
tls: expose cert details on GTlsCertificate
See merge request GNOME/glib!2113
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset exposes
* `not-valid-before`
* `not-valid-after`
* `subject-name`
* `issuer-name`
on GTlsCertificate provided by the underlying TLS Backend.
In order to make use of these changes,
see the related [glib-networking MR][glib-networking].
This change aims to help populate more of the [`Certificate`][wk-cert]
info in the WebKit Inspector Protocol on Linux.
This changeset stems from work in Microsoft Playwright to [add more info
into its HAR capture][pw] generated from the Inspector Protocol events
and will bring feature parity across WebKit platforms.
[wk-cert]: https://github.com/WebKit/WebKit/blob/8afe31a018b11741abdf9b4d5bb973d7c1d9ff05/Source/JavaScriptCore/inspector/protocol/Security.json
[pw]: https://github.com/microsoft/playwright/pull/6631
[glib-networking]: https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/156
|
| |
| |
| |
| |
| |
| | |
gio/tests/gdbus-exit-on-close.c:52:14: warning: missing field 'bug' initializer
{ NULL }
^
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gio/tests/socket.c:505:36: warning: missing field 'size' initializer
GOutputVector v[7] = { { NULL, }, };
^
gio/tests/socket.c:630:37: warning: missing field 'vectors' initializer
GOutputMessage m[3] = { { NULL, }, };
^
gio/tests/socket.c:631:37: warning: missing field 'vectors' initializer
GInputMessage im[3] = { { NULL, }, };
^
gio/tests/socket.c:632:36: warning: missing field 'size' initializer
GOutputVector v[7] = { { NULL, }, };
^
gio/tests/socket.c:633:36: warning: missing field 'size' initializer
GInputVector iv[7] = { { NULL, }, };
^
gio/tests/socket.c:871:32: warning: missing field 'vectors' initializer
GInputMessage im = { NULL, };
^
gio/tests/socket.c:872:31: warning: missing field 'size' initializer
GInputVector iv = { NULL, };
^
|
|\
| |
| |
| |
| | |
gdbus: document completion after idle action for g_dbus_connection_signal_unsubscribe()
See merge request GNOME/glib!2050
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
g_dbus_connection_signal_unsubscribe()
Since commit ab285899a6fb ('gdbusconnection: Document main context
iteration for unsubscript'), we document when the user is guaranteed
that all resources are gone after g_dbus_connection_signal_unsubscribe().
This is not merely an implementation detail, it's something that the
user needs to be able to rely on. It is good that this is documented.
However, libnm does something different ([1]). It registers to several D-Bus
signals without providing a GDestroyNotify. After unsubscription, it schedules
another idle action with lower priority and uses that to know when
cleanup is complete. I think this is a useful alternative and should
also be guaranteed and documented to work.
Also note that this isn't just some implementation detail that currently
happens to work. GDBusConnection tightly integrates with GMainContext and it
works by scheduling idle sources with G_PRIORITY_DEFAULT priority. It needs to
schedule all events with this same priority, otherwise the ordering is not
preserved. At this point, with GDBusConnection working this way, this is no longer
something that can reasonably be any different. It's how GDBusConnection fundamentally
works, and a user must be able to rely on that. As such, this new promise isn't
something that we would want to break in the future.
Thus document it.
[1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/a55c10c6cb0cd047ff2aa835535d2abe09507ad6/src/libnm-client-impl/nm-client.c#L7918
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
docs: Improved documentation of GNotification
Closes #2405
See merge request GNOME/glib!2102
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
g_file_info_get_name() gives result faster than g_file_info_get_attribute_byte_string()
Closes #310
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
gdbusproxy: Recommend it is not used for stateless services
Closes #1036
See merge request GNOME/glib!386
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For the reasons given in the new bit of documentation, GDBusProxy should
not be used for connecting to stateless D-Bus services which may be
restarted at any point.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/glib/issues/1036
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Include the base URI in the `g_test_bug()` calls instead. This resolves
inconsistencies between the old bug base (bugzilla.gnome.org) and the
new bug base (gitlab.gnome.org). It also has the advantage that the URI
passed to `g_test_bug()` is now clickable in the code editor, rather
than being split across two locations.
See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/275#note_303175
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Fix more warnings (clang)
See merge request GNOME/glib!2091
|
| | |
| | |
| | |
| | |
| | |
| | | |
gio/gio-tool-info.c:41:10: warning: missing field 'short_name' initializer
{ NULL }
^
|
| | |
| | |
| | |
| | |
| | |
| | | |
gio/gio-tool-copy.c:50:10: warning: missing field 'short_name' initializer
{ NULL }
^
|
| | |
| | |
| | |
| | |
| | |
| | | |
gio/gio-tool-cat.c:42:10: warning: missing field 'short_name' initializer
{ NULL }
^
|
| | |
| | |
| | |
| | |
| | |
| | | |
gio/glib-compile-schemas.c:2181:12: warning: missing field 'short_name' initializer
{ NULL }
^
|
| | |
| | |
| | |
| | |
| | |
| | | |
gio/tests/socket-client.c:37:8: warning: missing field 'short_name' initializer
{NULL}
^
|
| |/
| |
| |
| |
| |
| | |
gio/tests/socket-server.c:43:8: warning: missing field 'short_name' initializer
{NULL}
^
|
|\ \
| |/
|/|
| |
| |
| |
| | |
docs: Standardize spelling of serializ*
Closes #2399
See merge request GNOME/glib!2096
|
| |
| |
| |
| |
| |
| |
| |
| | |
Changes serialis* to serializ*.
Fixes: #2399
Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
|
|/
|
|
|
|
| |
gio/tests/fake-service-name.c:55:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
55 | };
| ^
|