31454 Commits

Author SHA1 Message Date
Philip Withnall
ccc6748ca9 Merge branch 'such-a-cold-test' into 'main'
tests: Add a test for g_object_freeze_notify() being called too often

See merge request GNOME/glib!4555
2025-03-13 16:29:50 +00:00
Philip Withnall
ff94b4b665
tests: Add a test for g_object_freeze_notify() being called too often
This tests the `g_critical()` path in it, to make sure we handle errors
acceptably there.

Prompted by https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4185#note_2377037

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-03-13 11:48:10 +00:00
Philip Withnall
435dd378fd
tests: Use g_assert_*() rather than g_assert() in properties tests
It won’t get compiled out with `G_DISABLE_ASSERT`.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-03-13 11:47:48 +00:00
Philip Withnall
a2904b611e Merge branch 'l10n-id' into 'main'
Update Indonesian translation

See merge request GNOME/glib!4554
2025-03-13 00:38:09 +00:00
Andika Triwidada
fe330b0b31 Update Indonesian translation 2025-03-12 11:40:53 +00:00
Philip Withnall
89983f33b0 Merge branch 'ebassi/signal-flags-docs' into 'main'
docs: Document GSignalFlags members added after 2.0

See merge request GNOME/glib!4553
2025-03-12 11:16:06 +00:00
Emmanuele Bassi
3de213b622 docs: Document GSignalFlags members added after 2.0
Use separate doc blocks, to ensure that the "Since" tag is parsed and
reflected in the introspection data.
2025-03-12 11:34:30 +01:00
Philip Withnall
34608c9426 Merge branch 'Persian' into 'main'
Update Persian translation

See merge request GNOME/glib!4552
2025-03-12 09:51:42 +00:00
Philip Withnall
986d1c8d69 Merge branch 'update-danish-translation' into 'main'
Updated Danish translation

See merge request GNOME/glib!4551
2025-03-11 23:26:22 +00:00
Danial Behzadi
688b431db7
Update Persian translation. 2025-03-12 02:37:00 +03:30
Ask Hjorth Larsen
07c5268f64 Updated Danish translation 2025-03-11 16:26:09 +01:00
Michael Catanzaro
444aa3e999 Merge branch 'wip/3v1n0/gobject-atomic-pspec' into 'main'
gobject: Be consistent in using atomic logic to handle the GParamSpecPool

See merge request GNOME/glib!4489
2025-03-11 15:13:53 +00:00
Marco Trevisan (Treviño)
5b0ce18dcd gobject: Add single function to check G_ENABLE_DIAGNOSTIC
It was duplicated, and racing too
2025-03-11 01:07:20 +01:00
Marco Trevisan (Treviño)
fba031c41c gobject: Be consistent in using atomic logic to handle the GParamSpecPool
We init it atomically but then we don't really use it in such way and it
may lead to races at read/write times
2025-03-11 01:07:17 +01:00
Philip Withnall
55a7660f18 Merge branch '3634-git-doc-format' into 'main'
girparser: Ignore new doc:format element in GIR files

Closes #3634

See merge request GNOME/glib!4550
2025-03-10 17:02:42 +00:00
Philip Withnall
aee0664e6f
girparser: Ignore new doc:format element in GIR files
As of gobject-introspection 1.83.2, a new `<doc:format name="…"/>`
element is supported (as a child of `<repository>`) in GIR files.

For the moment, this information isn’t needed in libgirepository — but
the GIR parser does have to know about the element in order to not throw
an error claiming it’s invalid.

This is a slightly tweaked version of the code added to
gobject-introspection.git in commit
9544cd6c962fab2c3203898779948309833e2439 by Corentin Noël
<corentin.noel@collabora.com>, reformatted slightly to fit in with
GLib’s style guidelines.

This is backwards compatible and does not require a new
gobject-introspection version.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Fixes: #3634
2025-03-10 15:21:15 +00:00
Philip Withnall
09f672e60b Merge branch 'installed-tests-fix' into 'main'
tests: Don't install runner scripts without installed_tests

See merge request GNOME/glib!4544
2025-03-10 12:39:29 +00:00
Marco Trevisan
dc1b097f2d Merge branch '3630-netlink-linux' into 'main'
build: Check for <netlink/netlink_route.h> for GNetworkMonitorNetlink

Closes #3630

See merge request GNOME/glib!4549
2025-03-10 12:24:22 +00:00
Philip Withnall
31546be3f8
build: Check for <netlink/netlink_route.h> for GNetworkMonitorNetlink
Apparently it’s possible for `netlink/netlink.h` to be available on
Linux, when we expected it to only be available on FreeBSD, but for
`netlink/netlink_route.h` to not exist. So add a check for the latter.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Fixes: #3630
2025-03-10 12:01:52 +00:00
Philip Withnall
a1bc946964 Merge branch 'update-fr-po' into 'main'
Update French translation

See merge request GNOME/glib!4545
2025-03-10 11:22:42 +00:00
Philip Withnall
87f9d90587 Merge branch 'catalan' into 'main'
Update Catalan translation

See merge request GNOME/glib!4547
2025-03-10 11:07:23 +00:00
Jordi Mas
532ef55df7 Update Catalan translation 2025-03-10 11:07:20 +00:00
Philip Withnall
f756c91a9e Merge branch 'update-tr' into 'main'
Update Turkish translation

See merge request GNOME/glib!4548
2025-03-10 11:06:53 +00:00
Sabri Ünal
9f117d4cfe Update Turkish translation
Translation is reviewed on https://l10n.gnome.org/vertimus/glib/main/po/tr/
2025-03-10 00:43:22 +03:00
Vincent Chatelain
97a861d890 Update French translation 2025-03-08 15:03:32 +00:00
Jan Alexander Steffens (heftig)
e661684c13
tests: Don't install runner scripts without installed_tests
Fixes: 9f18bb625811f649e5363d65dc6b4390f92d37b7
2025-03-08 01:55:17 +01:00
Philip Withnall
05da47c2d0
2.84.0
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2.84.0
2025-03-06 13:09:13 +00:00
Philip Withnall
b312d0c30d Merge branch 'urbalazs-main-patch-88322' into 'main'
Update Hungarian translation

See merge request GNOME/glib!4543
2025-03-06 02:37:44 +00:00
Balázs Úr
604ce5afd4 Update Hungarian translation 2025-03-06 01:07:00 +00:00
Philip Withnall
30ed00b8e5 Merge branch 'test-fixes' into 'main'
tests: Minor fixes to reference and stream-rw_all tests

See merge request GNOME/glib!4540
2025-03-06 00:13:41 +00:00
Michael Catanzaro
8622f4511c Merge branch 'debug-controller-docs-fix' into 'main'
gdebugcontrollerdbus: Fix a minor typo in a code example in the docs

See merge request GNOME/glib!4542
2025-03-04 19:16:49 +00:00
Philip Withnall
4f2877c502
gdebugcontrollerdbus: Fix a minor typo in a code example in the docs
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-03-04 16:29:23 +00:00
Philip Withnall
429661491c Merge branch 'translation-ko-202503' into 'main'
Update Korean translation

See merge request GNOME/glib!4539
2025-03-04 14:22:51 +00:00
Philip Withnall
3920e0f172
tests: Fix an incorrect array length in stream-rw_all test
The array was declared one byte too short to contain the trailing nul
byte for the string literal. Spotted by gcc 15.

Fix it by allowing the compiler to work out the array length.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-03-04 14:20:48 +00:00
Philip Withnall
4d566e47d7
tests: Skip a hard-to-reproduce race in reference tests under valgrind
Fixes test timeouts like this one:
https://gitlab.gnome.org/GNOME/glib/-/jobs/4827270

The race will continue to be reproduced when running the tests not under
valgrind.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2025-03-04 12:43:44 +00:00
Changwoo Ryu
661b45923c Update Korean translation 2025-03-04 21:24:28 +09:00
Philip Withnall
0e10a629a5 Merge branch '3590-sl-translation' into 'main'
Update Slovenian translation

Closes #3590

See merge request GNOME/glib!4538
2025-03-03 12:49:07 +00:00
Martin
da893484f6 Update Slovenian translation
Submitted at
https://gitlab.gnome.org/GNOME/glib/-/issues/3590#note_2366863,
committed by Philip Withnall.
2025-03-03 12:00:59 +00:00
Philip Withnall
84f555a3aa
2.83.5
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2.83.5
2025-02-28 14:02:50 +00:00
Philip Withnall
49b3271e6b Merge branch 'main' into 'main'
Update Galician translations

See merge request GNOME/glib!4535
2025-02-28 13:50:31 +00:00
Philip Withnall
0b62f3dd82 Merge branch 'wip/smcv/subprojects' into 'main'
Improve test behaviour when using Meson subprojects

Closes #3625 and #3626

See merge request GNOME/glib!4534
2025-02-28 12:46:31 +00:00
Fran Diéguez
ab3ed81415 Update Galician translations 2025-02-28 12:26:19 +00:00
Simon McVittie
66bca5f78b build: If pcre2 is a subproject, disable its unit tests by default
Debugging pcre2's test suite is out-of-scope for GLib, or for any larger
project that embeds GLib as a subproject.

Resolves: https://gitlab.gnome.org/GNOME/glib/-/issues/3626
Signed-off-by: Simon McVittie <smcv@collabora.com>
2025-02-28 12:17:29 +00:00
Simon McVittie
12171f6fe7 tests: Don't check for missing install_tag if GLib is a subproject
The test script checks the entire Meson build, not just GLib, so it will
fail if GLib is a fallback subproject within some larger project that
does not use `install_tag` as systematically as GLib does.

In particular, if the larger project has a very conservative minimum
Meson version (like for example dbus), it might not be possible to
add `install_tag` to it.

Resolves: https://gitlab.gnome.org/GNOME/glib/-/issues/3625
Signed-off-by: Simon McVittie <smcv@collabora.com>
2025-02-28 11:52:09 +00:00
Philip Withnall
69462f4921 Merge branch 'update-sv-translation' into 'main'
Update Swedish translation

See merge request GNOME/glib!4531
2025-02-27 23:07:38 +00:00
Anders Jonsson
af83e3a6ea Update Swedish translation 2025-02-27 22:26:01 +01:00
Philip Withnall
db26eb22fd Merge branch 'wip/refi64/fix-marshaller-args' into 'main'
gdbus-codegen: Fix callback GUnixFDList parameter order

See merge request GNOME/glib!4524
2025-02-27 14:21:43 +00:00
Philip Withnall
4303aadb59 Merge branch 'gapplication-examples' into 'main'
doc: remove unnecessary and confusing code from examples

Closes #3615

See merge request GNOME/glib!4528
2025-02-27 14:10:37 +00:00
Philip Withnall
3662159809 Merge branch '3272-disable-assert-debugging' into 'main'
tests: Only change the behaviour of getpwuid() inside each test function

Closes #3272

See merge request GNOME/glib!4519
2025-02-27 14:08:22 +00:00
Philip Withnall
ef2234540b Merge branch 'th/gobj-performance-2' into 'main'
[th/gobj-performance-2] more improvements to GObject's `performance.c` and add test "property-set-signaled"

See merge request GNOME/glib!4526
2025-02-27 10:06:34 +00:00