Commit Graph

25773 Commits

Author SHA1 Message Date
Christoph Reiter
17a5958f79 build: deprecate force_posix_threads build option 2022-02-08 13:15:33 +00:00
Marc-André Lureau
e05227371d glib/win32: fix passing same fd for stdout & stderr spawn
Delay closing the FDs after all input FDs are duped.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-07 23:39:36 +04:00
Marc-André Lureau
2d35c57718 glib/win32: implement fd passing with g_spawn_async_with_pipes_and_fds
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-07 23:39:36 +04:00
Marc-André Lureau
674072b139 glib/win32: check if dup() failed in helper process
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-07 23:31:22 +04:00
Marc-André Lureau
34ce1b1f93 glib/spawn: win32 helper doesn't support same fd for out&err
This is fixed in the following commits of this MR.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-07 23:31:10 +04:00
Marc-André Lureau
10b450eaf6 glib/tests: make fd-assignment-clash run on win32
This is a minimal test for g_spawn_async_with_pipes_and_fds()

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-07 23:30:37 +04:00
Marc-André Lureau
8309872111 glib/tests: fix compilation with MSVC
glib/tests/spawn-singlethread.c(439): error C2057: expected constant expression

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-07 23:30:37 +04:00
Philip Withnall
50d23f9680 Merge branch 'feature/move_async' into 'main'
Implement async file movement

See merge request GNOME/glib!2469
2022-02-07 14:29:52 +00:00
Lucas Schwiderski
9efde4c7fc Add test for async file move 2022-02-07 14:04:04 +00:00
Lucas Schwiderski
966f887cf9 Rename ambiguous struct 2022-02-07 14:03:47 +00:00
Lucas Schwiderski
eeb2bcf5a9 Implement async file movement 2022-02-07 14:03:47 +00:00
Philip Withnall
41ba547ea7 Merge branch 'fix_date_test_again_and_again' into 'main'
Fix glib/test/date.c for FreeBSD/OpenBSD/MacOS X

See merge request GNOME/glib!2473
2022-02-07 14:00:14 +00:00
Daniel Mustieles
d1b2a9d849 Updated Spanish translation 2022-02-07 13:51:18 +01:00
Charles Monzat
39d5a185b7 Update French translation
(cherry picked from commit 51abef7110)
2022-02-06 15:28:55 +00:00
Asier Sarasua Garmendia
dcb06764c4 Update Basque translation 2022-02-05 11:20:27 +00:00
Emmanuel Fleury
541d52b984 Fix glib/test/date.c for FreeBSD/OpenBSD/MacOS X
Still have forgot one last (hopefully) case in the generic ones.
2022-02-04 18:20:57 +01:00
Philip Withnall
95109321fe Merge branch 'fix_date_test_again' into 'main'
Fix test date (again)...

See merge request GNOME/glib!2472
2022-02-04 16:58:24 +00:00
Emmanuel Fleury
48c9d77588 Fix test date (again)...
I forgot to remove the "%P" case from shared code... Doh!
2022-02-04 17:07:39 +01:00
Philip Withnall
6490c66ed6 Merge branch 'fix_test_date' into 'main'
Fix test on the date format for FreeBSD and MacOS X.

See merge request GNOME/glib!2471
2022-02-04 13:09:12 +00:00
Emmanuel Fleury
fd52a39abc Fix tests on the date format for FreeBSD and MacOS X.
Related to MR !2433
2022-02-04 13:47:25 +01:00
Philip Withnall
62ee602db4 Merge branch 'move_testgdate' into 'main'
Remove tests/testgdate.c from tests

See merge request GNOME/glib!2433
2022-02-03 15:29:16 +00:00
Emmanuel Fleury
e5cb2e9bbf Remove tests/testgdate.c from tests
Related to issue #1434
2022-02-03 15:18:05 +01:00
Sebastian Dröge
c7031164b1 Merge branch 'zbrown/gfile-not-nullable' into 'main'
gfile: resolve_relative_path isn't nullable

See merge request GNOME/glib!2468
2022-02-02 11:21:54 +00:00
Zander Brown
aede29cb33 gfile: resolve_relative_path isn't nullable 2022-02-02 11:03:25 +00:00
Sebastian Dröge
e15de9a83e Merge branch 'wip/chergert/add-gbindinggroup' into 'main'
Add GBindingGroup and GSignalGroup

See merge request GNOME/glib!2235
2022-02-02 08:52:54 +00:00
Christian Hergert
dd43471f60 gobject: add GSignalGroup
Much like GBindingGroup, the GSignalGroup object allows you to connect many
signal connections for an object and connect/disconnect/block/unblock them
as a group.

This is useful when using many connections on an object to ensure that they
are properly removed when changing state or disposing a third-party
object.

This has been used for years in various GNOME projects and makes sense to
have upstream instead of multiple copies.
2022-02-01 17:09:14 -08:00
Matej Urbančič
1cdb0f8bed Update Slovenian translation 2022-02-01 19:32:46 +00:00
Philip Withnall
555bef05cf Merge branch 'file-test' into 'main'
File tests

See merge request GNOME/glib!2404
2022-02-01 11:15:45 +00:00
Philip Withnall
c540c6a80e ci: Add link to Coverage output at end of coverage job
This should make it a bit easier to find the coverage report, rather
than digging through the job artifacts.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-02-01 11:08:22 +00:00
Fran Dieguez
b617b40e24 Update Galician translation 2022-01-31 23:36:10 +00:00
Luming Zh
fd1890f713 Update Chinese (China) translation 2022-01-31 03:22:54 +00:00
sicklylife
78720effc1 Update Japanese translation 2022-01-30 15:25:28 +00:00
sicklylife
8d13fc5222 Update Japanese translation 2022-01-30 15:13:15 +00:00
Piotr Drąg
2415b3c793 Update Polish translation
(cherry picked from commit 49c377c61f)
2022-01-29 14:08:59 +00:00
Christian Hergert
0d9de09192 gobject: add GBindingGroup
Originally, GBindingGroup started with Builder as a way to simplify all
of the third-degree object bindings necessary around Model-Controller
objects such as TextBuffer/TextView.

Over time, it has grown to be useful in a number of scenarios outside
of Builder and has been copied into a number of projects such as GNOME
Text Editor, GtkSourceView, libdazzle, and more.

It makes sense at this point to unify on a single implementation and
include that upstream in GObject directly alongside GBinding.
2022-01-28 16:01:22 -08:00
Philip Withnall
ea0fa26029 Merge branch 'fix-gi-suproject' into 'main'
gi: expose some files as variable for gobject-introspection

See merge request GNOME/glib!2465
2022-01-28 16:44:20 +00:00
Andoni Morales Alastruey
b1ed9907c2 gi: expose some files as variable for gobject-introspection
see:
https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/313
2022-01-28 16:16:29 +01:00
Philip Withnall
88f4514a92 Merge branch 'SuibianP-main-patch-88562' into 'main'
Amend g_bus_get* documentation regarding private connection

See merge request GNOME/glib!2464
2022-01-28 13:11:36 +00:00
Hu Jialun
7f044ba9c0 Amend g_bus_get* documentation regarding private connection 2022-01-28 13:11:34 +00:00
Aleksandr Melman
7a759e18c9 Update Russian translation 2022-01-28 11:06:16 +00:00
Rafael Fontenelle
c2ac44b261 Update Brazilian Portuguese translation 2022-01-27 15:33:59 +00:00
Philip Withnall
4bd23d1b26 2.71.1
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-01-27 15:22:23 +00:00
Yuri Chornoivan
80b6aad868 Update Ukrainian translation 2022-01-27 14:52:54 +00:00
Philip Withnall
e01e6ef771 Merge branch 'windows-static-build-postfixes' into 'main'
Fix tests with static build on Windows

See merge request GNOME/glib!2442
2022-01-27 14:33:40 +00:00
Sebastian Dröge
a542c10ee4 Merge branch 'revert-7f2de9ab' into 'main'
Revert "Merge branch 'fix-windows-pc' into 'main'"

See merge request GNOME/glib!2463
2022-01-27 14:10:24 +00:00
Philip Withnall
cdda7bb59a Revert "Merge branch 'fix-windows-pc' into 'main'"
This reverts merge request !2459
2022-01-27 13:04:12 +00:00
Hugo Carvalho
73aebf3887 Update Portuguese translation 2022-01-27 12:53:46 +00:00
Loic Le Page
cbbc9206aa Fix exported symbols in proxy-libintl subproject 2022-01-27 12:10:13 +01:00
Loic Le Page
4f6673fb58 Fix glib/tests/completion test
GLists compare pointers values and not strings content.
2022-01-27 12:10:13 +01:00
Loic Le Page
38abadab3d Fix dbus process autolaunch with static build on Windows
On Windows, dbus is launched by spawning the gdbus.exe executable on
demand from the gio module. When linked dynamically, the executable
path is guessed relatively to the gio DLL path. But when linked
statically, the only reference path available is the current
executable path. In this case, gdbus.exe is not necessarily in the same
folder as the current executable.

This patch solves the issue using the same algorithm as the one used
with process spawning in glib core source code two commits above.
2022-01-27 12:10:13 +01:00