Philip Withnall
45b469ea32
2.82.2
...
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2.82.2
2024-10-17 12:08:41 +01:00
Michael Catanzaro
e1f33e5559
Merge branch 'backport-4348-data-input-stream-read-line-utf8-fix-glib-2-82' into 'glib-2-82'
...
Backport !4348 “gdatainputstream: Fix length return value on UTF-8 validation failure“ to glib-2-82
See merge request GNOME/glib!4349
2024-10-12 18:34:44 +00:00
Philip Withnall
048a0f73e9
gdatainputstream: Fix length return value on UTF-8 validation failure
...
The method was correctly returning an error from
`g_data_input_stream_read_line_utf8()` if the line contained invalid
UTF-8, but it wasn’t correctly setting the returned line length to 0.
This could have caused problems if callers were basing subsequent logic
on the length and not the return value nullness or `GError`.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
oss-fuzz#372819437
2024-10-12 13:33:15 +01:00
Philip Withnall
38000eb9a0
tests: Use g_assert_*() rather than g_assert() in GDataInputStream tests
...
It won’t get compiled out with `G_DISABLE_ASSERT`.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-10-12 13:33:07 +01:00
Michael Catanzaro
552be8a551
Merge branch 'backport-4333-macos-multicast-glib-2-82' into 'glib-2-82'
...
Backport !4333 “gio: Fix multicast iface selection on macOS” to glib-2-82
See merge request GNOME/glib!4336
2024-10-07 21:54:46 +00:00
Nirbheek Chauhan
3b1f313837
gio: Fix multicast iface selection on macOS
...
ip_mreqn.imr_ifindex is not used correctly by the XNU kernel, and
causes us to bind to the default interface; so fallback to ip_mreq
and set the iface source address (not SSM).
Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/3489
2024-10-07 15:13:33 +01:00
Michael Catanzaro
2b08f0bd0b
Merge branch 'backport-4176-openuri-leak-fix-glib-2-82' into 'glib-2-82'
...
Backport !4176 “gopenuriportal: Fix two memory leaks” to glib-2-82
See merge request GNOME/glib!4325
2024-10-01 18:03:49 +00:00
Julian Sparber
3487dc6cea
gopenuriportal: Fix two memory leaks
2024-10-01 18:52:11 +01:00
Michael Catanzaro
998363d1bc
Merge branch 'backport-4312-osx-appinfo-fix-glib-2-82' into 'glib-2-82'
...
Backport !4312 “macos: Fix URL launcher” to glib-2-82
See merge request GNOME/glib!4314
2024-09-28 18:27:16 +00:00
Arjan Molenaar
f78ffa53e6
macos: Fix URL launcher
...
URLs should be provided to the AppInfo.launch_uris() function.
2024-09-28 18:21:48 +01:00
Michael Catanzaro
41e92f4bdb
Merge branch 'backport-4291-gvariant-analyzer-glib-2-82' into 'glib-2-82'
...
Backport !4291 “glib/gvariant: Fix check for G_ANALYZER_ANALYZING” to glib-2-82
See merge request GNOME/glib!4306
2024-09-25 16:08:52 +00:00
Philip Withnall
2f4607a6f1
gdbusdaemon: Fix check for G_ANALYZER_ANALYZING
...
As with the previous commit, this is _always_ defined in `gmacros.h`
and therefore the `#ifndef` will always be 0 even if disabled.
Just use `#if` instead.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-09-25 15:43:15 +01:00
Christian Hergert
800222c3c2
glib/gvariant: Fix check for G_ANALYZER_ANALYZING
...
This is _always_ defined in gmacros.h and therefore the #ifdef will always
be 1 even if were disabled. Just #if instead.
Closes : #3480
2024-09-25 15:43:11 +01:00
Philip Withnall
c6e8365133
Merge branch 'catalan' into 'glib-2-82'
...
Update Catalan translation
See merge request GNOME/glib!4285
2024-09-24 14:49:48 +00:00
Jordi Mas
d0cab59002
Update Catalan translation
2024-09-21 08:20:53 +02:00
Philip Withnall
bd40fbba13
2.82.1
...
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2.82.1
2024-09-19 21:56:26 +01:00
Philip Withnall
211be419cf
Merge branch 'backport-4281-socks4a-buffer-overflow-glib-2-82' into 'glib-2-82'
...
Backport !4281 “gsocks4aproxy: Fix a single byte buffer overflow in connect messages” to glib-2-82
See merge request GNOME/glib!4282
2024-09-19 20:51:27 +00:00
Philip Withnall
f53843043e
ci: Force submodules to be fetched first in VS2017 CI jobs
...
No idea why this is now suddenly not working.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-09-19 21:40:11 +01:00
Michael Catanzaro
ec0b708b98
gsocks4aproxy: Fix a single byte buffer overflow in connect messages
...
`SOCKS4_CONN_MSG_LEN` failed to account for the length of the final nul
byte in the connect message, which is an addition in SOCKSv4a vs
SOCKSv4.
This means that the buffer for building and transmitting the connect
message could be overflowed if the username and hostname are both
`SOCKS4_MAX_LEN` (255) bytes long.
Proxy configurations are normally statically configured, so the username
is very unlikely to be near its maximum length, and hence this overflow
is unlikely to be triggered in practice.
(Commit message by Philip Withnall, diagnosis and fix by Michael
Catanzaro.)
Fixes : #3461
2024-09-19 21:07:53 +01:00
Michael Catanzaro
23a7a5d41d
Merge branch 'wip/pwithnall/backport-3965-macos-ci-apple-silicon-glib-2-82' into 'glib-2-82'
...
Backport !3965 “Move to Apple Silicon based runner” to glib-2-82
See merge request GNOME/glib!4276
2024-09-17 13:51:54 +00:00
Philip Withnall
9af1726cd7
ci: Re-add contextual links for a FIXME message
...
To avoid people having to do git archaeology in future to work out why
`--wrap-mode=nodownload` is such a good idea.
2024-09-17 13:16:56 +01:00
René de Hesselle
c4cc1c3a5d
Move to Apple Silicon based runner
...
Remove cmake as we no longer need to build ninja. We can use the
official wheel now since the runner's Python is 3.9 (before: 3.8).
Use the same comment regarding '--wrap-mode' as in the other jobs.
Download and use official ccache binary.
Add myself to the 'only' section in .gitlab-ci.yml so I can have
CI in my fork.
Disable a few deprecation warnings due to the much newer SDK of
the Apple Silicon machine.
2024-09-17 13:16:01 +01:00
Philip Withnall
d793986f02
Merge branch 'backport-4267-georgian-translation-glib-2-82' into 'glib-2-82'
...
Update Georgian translation (glib-2-82)
See merge request GNOME/glib!4274
2024-09-13 10:28:02 +00:00
NorwayFun
a7e87e10ed
Update ka.po
2024-09-13 11:11:28 +01:00
Michael Catanzaro
d6b30aa9f1
Merge branch 'backport-4269-docs-fix-glib-2-82' into 'glib-2-82'
...
Backport !4269 “docs(glib): Fix link in string-utils ref” to glib-2-82
See merge request GNOME/glib!4271
2024-09-12 15:17:27 +00:00
Philip Withnall
3a5288b3e3
Merge branch 'glib-2-82' into 'glib-2-82'
...
Update Russian translation for 2-82
See merge request GNOME/glib!4270
2024-09-12 14:09:19 +00:00
FeRD (Frank Dana)
fee5da6893
docs(glib): Fix link in string-utils ref
2024-09-12 14:47:38 +01:00
jtux270
29f0c071ba
Update Russian translation for 2-82
2024-09-12 13:09:00 +00:00
Philip Withnall
aec0a38158
Merge branch 'update-lt-glib-2-82' into 'glib-2-82'
...
Updated Lithuanian translation
See merge request GNOME/glib!4263
2024-09-11 17:15:01 +00:00
Philip Withnall
7b1eb02291
Merge branch 'update-danish-translation-2-82' into 'glib-2-82'
...
Update Danish translation (2-82)
See merge request GNOME/glib!4265
2024-09-11 10:49:18 +00:00
Ask Hjorth Larsen
8066748684
Update Danish translation
2024-09-10 22:58:34 +02:00
Aurimas Černius
2f4a3612c0
Updated Lithuanian translation
2024-09-10 22:00:42 +03:00
Philip Withnall
3f5e135ba1
Merge branch 'urbalazs-glib-2-82-patch-28588' into 'glib-2-82'
...
Update Hungarian translation
See merge request GNOME/glib!4258
2024-09-09 10:27:43 +00:00
Philip Withnall
9fcbb00124
Merge branch 'glib-2-82' into 'glib-2-82'
...
Update British English translation
See merge request GNOME/glib!4255
2024-09-09 10:22:48 +00:00
Philip Withnall
96952a9719
Merge branch 'glib-2-82' into 'glib-2-82'
...
Update Bulgarian translation
See merge request GNOME/glib!4251
2024-09-09 10:16:36 +00:00
Philip Withnall
7f726b83fa
Merge branch 'glib-2-82' into 'glib-2-82'
...
Update Indonesian translation
See merge request GNOME/glib!4259
2024-09-09 10:10:05 +00:00
Andika Triwidada
2d1a297943
Updated Indonesian translation
2024-09-09 09:10:16 +00:00
Balázs Úr
946c2c3024
Update Hungarian translation
2024-09-09 06:53:06 +00:00
Bruce Cowan
123360d10c
Update British English translation
2024-09-08 19:12:15 +00:00
twlvnn kraftwerk
ed7d2b9b43
Update Bulgarian translation
...
Proof-read via D-L.
2024-09-07 16:44:04 +02:00
Philip Withnall
e2bc67de88
Merge branch 'glib-2-82' into 'glib-2-82'
...
Update German translation
See merge request GNOME/glib!4241
2024-09-05 10:25:10 +00:00
Tim Sabsch
da8eeaa10f
Update German translation
...
Proof-read at https://l10n.gnome.org/vertimus/6432/390/18/
2024-09-05 07:30:10 +02:00
Philip Withnall
8b6983846b
Merge branch 'glib-2-82' into 'glib-2-82'
...
Update Galician translations for glib-2-82
See merge request GNOME/glib!4240
2024-09-04 12:02:17 +00:00
Fran Diéguez
dc009da37b
Update gl.po
2024-09-04 10:10:49 +00:00
Philip Withnall
34d02655be
Merge branch 'backport-4237-fr-translation-glib-2-82' into 'glib-2-82'
...
Backport !4237 “Update french translation” to glib-2-82
See merge request GNOME/glib!4238
2024-09-03 15:38:04 +00:00
Vincent Chatelain
4a6e5d96b1
Update french translation
2024-09-03 16:09:38 +01:00
Philip Withnall
920134534e
Merge branch 'rafaelff-glib-2-82-patch-88113' into 'glib-2-82'
...
Update Brazilian Portuguese translation
See merge request GNOME/glib!4234
2024-09-03 08:51:48 +00:00
Rafael Fontenelle
3a184c0059
Update Brazilian Portuguese translation
2024-09-02 16:02:14 +00:00
Philip Withnall
e12ffff43c
Merge branch 'glib-2-82' into 'glib-2-82'
...
Update fa.po
See merge request GNOME/glib!4233
2024-09-02 15:10:33 +00:00
Danial Behzadi
93679f9d4a
Update fa.po
2024-09-02 14:30:50 +00:00