Commit Graph

25783 Commits

Author SHA1 Message Date
Danial Behzadi
e493d59353 Update Persian translation 2022-08-27 06:00:22 +00:00
Kukuh Syafaat
c135882e7e Update Indonesian translation 2022-08-26 02:13:35 +00:00
Nart Tlisha
62a9a8a660 Update Abkhazian translation 2022-08-25 10:40:25 +00:00
Danial Behzadi
7435ac17d4 Update Persian translation 2022-08-24 07:19:21 +00:00
Aurimas Černius
1dfdcaf38b Updated Lithuanian translation 2022-08-22 23:17:51 +03:00
Emmanuele Bassi
0e112b457d Merge branch 'document-oom-behavior' into 'main'
mem: Document OOM behavior for allocations

See merge request GNOME/glib!2861
2022-08-22 14:01:15 +00:00
Sebastian Dröge
5abee3923d Merge branch 'andyholmes/gparampec-annotation-fixes' into 'main'
gparamspec: mark nick/blurb as nullable

Closes #2719

See merge request GNOME/glib!2863
2022-08-22 06:32:53 +00:00
Andy Holmes
79c70d7a36
gparamspec: mark nick/blurb as nullable
GParamSpec nicks and blurbs are effectively a deprecated feature,
or at least unused by most libraries these days. Since a number
of C libraries (i.e. GTK4) have started to null these out, annotate
them as `(nullable)` so bindings can do the same.

Closes #2719
2022-08-21 15:52:38 -07:00
Fran Dieguez
6b98081a9f Update Galician translation 2022-08-21 15:50:26 +00:00
Piotr Drąg
1fcaac94a0 Update Polish translation 2022-08-21 12:49:21 +00:00
Matthias Clasen
1df83acb87 mem: Document OOM behavior for allocations
For all the memory allocator APIS, document
that they terminate the program on failure.

This was so far only mentioned in the long description,
and in the docs for g_try_malloc(). And with gi-docgen
style docs, the long description is going away.
2022-08-19 08:29:36 -04:00
Boyuan Yang
2a5219035a Update Chinese (China) translation 2022-08-15 20:23:42 +00:00
Jordi Mas
663a7959ca Update Catalan translation 2022-08-14 15:55:00 +02:00
Goran Vidović
9acb3e9dbc Update Croatian translation 2022-08-12 22:33:43 +00:00
Danial Behzadi
bfe7c3475a Update Persian translation 2022-08-08 17:45:21 +00:00
Danial Behzadi
2375d85a55 Update Persian translation 2022-08-08 11:45:29 +00:00
Daniel Mustieles
d4c16c66d4 Updated Spanish translation 2022-08-08 12:42:43 +02:00
Simon McVittie
96c541c45a Merge branch 'tls-no-flags-rename-fix' into 'main'
gtlscertificate: Update reference to G_TLS_CERTIFICATE_NO_FLAGS

See merge request GNOME/glib!2855
2022-08-08 10:20:16 +00:00
Danial Behzadi
dcf6f547d3 Update Persian translation 2022-08-07 21:39:40 +00:00
Hugo Carvalho
98a6f2914b Update Portuguese translation 2022-08-07 21:31:28 +00:00
Yuri Chornoivan
9c8f6a9b10 Update Ukrainian translation 2022-08-07 16:08:01 +00:00
Asier Sarasua Garmendia
a23580a257 Update Basque translation 2022-08-07 09:49:11 +00:00
Danial Behzadi
14baaa9732 Update Persian translation 2022-08-06 23:33:03 +00:00
Aleksandr Melman
53e533cc15 Update Russian translation 2022-08-06 14:42:33 +00:00
Marco Trevisan (Treviño)
bcddc56c41 gtlscertificate: Update reference to G_TLS_CERTIFICATE_NO_FLAGS
G_TLS_CERTIFICATE_FLAGS_NONE was removed as part of commit aa65fc2537.
2022-08-06 01:33:15 +02:00
Marco Trevisan (Treviño)
1edb3c515a
2.73.3
Co-authored-by: Matthias Clasen <mclasen@redhat.com>
Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
2022-08-05 18:24:47 -04:00
Marco Trevisan
a4f60709d5 Merge branch 'mcatanzaro/tls-exporter' into 'main'
Expose tls-exporter channel binding

See merge request GNOME/glib!2853
2022-08-05 22:01:37 +00:00
Matthias Clasen
0199fd5ab6 Merge branch 'gio-tool-delete-docs' into 'main'
docs: Add --delete option to gio-tool attributes documentation

See merge request GNOME/glib!2854
2022-08-05 21:05:38 +00:00
Michael Catanzaro
9d37075a00 Expose tls-exporter channel binding
Required for glib-networking#191
2022-08-05 16:02:09 -05:00
Marco Trevisan (Treviño)
ea0617e993 docs: Add --delete option to gio-tool attributes documentation
It was added via !2845 but not documented.
2022-08-05 22:36:06 +02:00
Marco Trevisan
3feccc13dd Merge branch 'mcatanzaro/build-best-practices' into 'main'
Improve default value of glib_debug option

See merge request GNOME/glib!2851
2022-08-05 19:36:00 +00:00
Marco Trevisan
6965f6457e Merge branch 'iss2588' into 'main'
gio-tool: -d option to delete attribute

Closes #2588

See merge request GNOME/glib!2845
2022-08-05 19:21:58 +00:00
Luca Bacci
72128e2abb Merge branch 'fix-gio-tests-cancellable-for-windows-x64' into 'main'
Fix GCancellable tests for Windows 64bit

Closes #2703

See merge request GNOME/glib!2849
2022-08-04 19:33:42 +00:00
Michael Catanzaro
61a843564d Improve default value of glib_debug option
glib_debug is an auto option. This is clever because it allows us to
guess the best default based on the build type, while also allowing an
easy way to override if the guess is not good. Sadly, the attempt to
guess based on the build type does not work well. For example, it
considers debugoptimized builds to be debug builds, but despite the
name, it is definitely a release build type (except on Windows, which
we'll ignore here). The minsize build type has the exact same problem.
The debug option is true for both build types, but this only controls
whether debuginfo is enabled, not whether debug extras are enabled.

The plain build type has a different problem: debug is off, but the
optimization option is off too, even though plain builds are distro
builds are will almost always use optimization.

I've outlined an argument for why we should make these changes here:
https://blogs.gnome.org/mcatanzaro/2022/07/15/best-practices-for-build-options/

Specifically, Rule 4 shows all the build types and whether they
correspond to release builds or debug builds. Rule 6 argues that we
should provide good defaults for plain builds.
2022-08-03 17:07:13 -05:00
Luca Bacci
cdb8e5e9c5 Fix warnings in GCancellable test 2022-08-03 20:38:59 +02:00
Luca Bacci
a1737ece06 Fix GCancellable tests for Windows 64bit
Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/2703
2022-08-03 20:33:46 +02:00
Hugo Carvalho
08715a4cd1 Update Portuguese translation 2022-08-03 09:52:51 +00:00
Luca Bacci
bf028b9176 Merge branch 'protect-calls-to-msvcrt-wspawne-with-a-mutex' into 'main'
GSpawn/Win32: Provide thread-safe wrappers for _wspawn*e functions

Closes #2509

See merge request GNOME/glib!2843
2022-08-03 04:49:50 +00:00
Emmanuele Bassi
ab189ecfed Merge branch 'wip/chergert/fix-2708' into 'main'
gmain: close pidfd when finalizing GChildWatchSource

Closes #2708

See merge request GNOME/glib!2847
2022-08-02 19:53:44 +00:00
Christian Hergert
b62745fe8e gmain: close pidfd when finalizing GChildWatchSource
A file-descriptor was created with the introduction of pidfd_getfd() but
nothing is closing it when the source finalizes. The GChildWatchSource is
the creator and consumer of this FD and therefore responsible for closing
it on finalization.

The pidfd leak was introduced in !2408.

This fixes issues with Builder where anon_inode:[pidfd] exhaust the
available FD limit for the process.

Fixes #2708
2022-08-02 12:35:56 -07:00
Luca Bacci
477ff949e1 gspawn-win32: Provide thread-safe wrappers for _wspawn*e functions
_wspawn*e functions are not thread safe on the MSVCRT.dll and
the pre-2015 MSVC runtime DLLs (msvcrXXX.dll).
2022-08-02 18:47:05 +02:00
Luca Bacci
0cb43a4965 Merge branch 'g-win32-app-info-launched-signal-actually-report-pid' into 'main'
GWin32AppInfo: Fix PID reporting in launched signal

See merge request GNOME/glib!2299
2022-08-02 14:51:26 +00:00
Luca Bacci
45bdeeddff GWin32AppInfo: Actually report the GPid in the GAppLaunchContext::launched signal
We need to pass the G_SPAWN_DO_NOT_REAP_CHILD flag to g_spawn_async,
otherwise the returned child_pid will always be 0.
2022-08-02 16:38:32 +02:00
Yuri Chornoivan
ba5e403785 Update Ukrainian translation 2022-08-02 11:40:13 +00:00
Marco Trevisan
14736065c8 Merge branch 'ebassi/resource-no-display-name' into 'main'
Implement GFileIface.set_display_name() for resource files

Closes #2705

See merge request GNOME/glib!2844
2022-08-01 22:52:32 +00:00
Aleksandr Melman
985ffc3b4e Update Russian translation 2022-08-01 13:10:46 +00:00
codeboybebop
ece66f11fc gio-tool: -d option to delete attribute
gio tool has support for deleting attributes of the file. To delete attribute user
should specify type '--type="unset"'. This is not mentioned in help and therefore not
intuitive. By adding '-d' option, we make this process more obvious.

closes #2588
2022-07-31 13:19:50 -05:00
Asier Sarasua Garmendia
ecdbe3c324 Update Basque translation 2022-07-31 16:51:52 +00:00
Emmanuele Bassi
a9394bd68e Implement GFileIface.set_display_name() for resource files
Resource files cannot be renamed, and GFileIface.set_display_name() is
mandatory.

Fixes: #2705
2022-07-30 20:06:07 +01:00
Nart Tlisha
a775578b96 Update Abkhazian translation 2022-07-28 19:23:21 +00:00