Matthias Clasen
f05eac610a
Merge branch 'places_view_button_labels' into 'main'
...
gtkplacesview: Add some missing button tooltips
See merge request GNOME/gtk!7927
2024-11-15 15:51:38 +00:00
Sveinn í Felli
4e8eeba5bb
Update Icelandic translation
...
(cherry picked from commit d07a62a940
)
2024-11-15 15:25:16 +00:00
Lukáš Tyrychtr
6da8fcf5d9
gtkplacesview: Add some missing button tooltips
...
The remove server button and the server list one had only icons,
so fix it by adding tooltips to them.
2024-11-15 15:27:04 +01:00
Matthias Clasen
a34e95bc39
Merge branch 'for-main' into 'main'
...
surface: Add debug spew for color states
See merge request GNOME/gtk!7924
2024-11-14 23:04:07 +00:00
Matthias Clasen
ed2716f9ce
inspector: Put surfaces and renderers in the tree
...
These are otherwise really hard to navigate to, and we already
have plenty of non-widget objects in the tree.
2024-11-14 16:58:44 -05:00
Matthias Clasen
841bd9c5c2
inspector: Avoid a critical
2024-11-14 16:09:45 -05:00
Matthias Clasen
b0344e1fd8
surface: Add debug spew for color states
...
Log the preferred color state events we get.
2024-11-14 15:33:35 -05:00
Matthias Clasen
77e340f23d
Merge branch 'for-main' into 'main'
...
text: Try harder not to select inserted Emoji
See merge request GNOME/gtk!7921
2024-11-14 16:14:19 +00:00
Matthias Clasen
1d1ef311e3
text: Try harder not to select inserted Emoji
...
We had code trying to handle the case of focus coming from a
child, but it is running too late to be effective. Instead,
keep a flag that tells us if the Emoji picker is still open.
2024-11-14 10:49:42 -05:00
Sveinn í Felli
1ce19d3c77
Update Icelandic translation
...
(cherry picked from commit b3e794e4f5
)
2024-11-13 16:05:16 +00:00
Sveinn í Felli
3e6e8e6dd5
Update Icelandic translation
...
(cherry picked from commit 482c55550c
)
2024-11-13 16:01:01 +00:00
Matthias Clasen
78738fac3b
Merge branch 'cm/fix-goptioncontext-leak' into 'main'
...
updateiconcache: Fix GOptionContext leak in main
See merge request GNOME/gtk!7918
2024-11-13 13:37:34 +00:00
correctmost
549f537445
updateiconcache: Fix GOptionContext leak in main
2024-11-12 21:16:18 -05:00
Matthias Clasen
e37d15f75c
Merge branch 'vulkan-prepare' into 'main'
...
Drop vulkan refcounting
See merge request GNOME/gtk!7916
2024-11-12 22:56:40 +00:00
Matthias Clasen
ae180f85ca
gsk: Move the platform check up
...
In some cases, we can know that we're not going to use Vulkan
without initializing it. Handle those before calling
gdk_display_prepare_vulkan.
2024-11-12 16:53:15 -05:00
Matthias Clasen
58036ece96
Drop vulkan refcounting
...
Change things to have a gdk_display_prepare_vulkan call which sets
up Vulkan support for the display. The Vulkan resources will be
dropped when the display is disposed. This matches what we do
for GL, and seems better than a refcounting approach where everybody
leaks the references.
Fixes : #7150
2024-11-12 16:53:15 -05:00
Matthias Clasen
9d8679e211
Merge branch 'wip/chergert/drop-g_debug-newline' into 'main'
...
gdk/wayland: remove trailing \n from g_debug()
See merge request GNOME/gtk!7913
2024-11-11 20:55:22 +00:00
Christian Hergert
bdb4d28acb
gdk/wayland: remove trailing \n from g_debug()
...
Log messages do not need newlines.
2024-11-11 11:38:06 -08:00
Милош Поповић
11b28c24c2
Update Serbian (Latin) translation
...
(cherry picked from commit 60fec7db51
)
2024-11-11 13:15:47 +00:00
Милош Поповић
aadf18579a
Update Serbian translation
...
(cherry picked from commit 3c56a2915c
)
2024-11-11 13:14:08 +00:00
Matthias Clasen
29fd4ee16e
Merge branch 'for-main' into 'main'
...
rendernodeparser: Use advance width for glyphs
See merge request GNOME/gtk!7896
2024-11-10 02:11:32 +00:00
Matthias Clasen
d3b22413ec
Merge branch 'font-chooser-default-width' into 'main'
...
fontchooser: Don't make default size translatable
See merge request GNOME/gtk!7905
2024-11-08 00:20:29 +00:00
Matthias Clasen
cb0c4d6e88
rendernodeparser: Use advance width for glyphs
...
Commit f5159e1ecb
introduced more flexible ways of specifying
glyph strings in node files, but it used ink rect width instead
of the more appropriate advance width when reconstrucing the
glyph string.
Fix expected output of one test to match.
2024-11-07 15:46:09 -05:00
Matthias Clasen
331c6c130f
fontchooser: Don't make default size translatable
...
That was a copy/paste error in 2ad2bae1ca
.
Thanks to Anders Jonsson for spotting it.
2024-11-07 15:27:36 -05:00
Марко Костић
89d17ec86e
Update Serbian translation
...
(cherry picked from commit 46d268cd47
)
2024-11-07 18:03:38 +00:00
Matthias Clasen
0878727ce4
Merge branch 'ci-vs2019' into 'main'
...
CI: Use Visual Studio 2019 instead of 2017
See merge request GNOME/gtk!7904
2024-11-07 11:09:59 +00:00
Chun-wei Fan
36f5cbeb57
CI: Use Visual Studio 2019 instead of 2017
...
Visual Studio 2019 brings C11 support and is actually needed (or best
suited at least) if we are:
* Building with debugging code enabled (/Zc:preprocessor is required)
* Introspection works better on Visual Studio 2019 or later, also due to
the preprocessor improvements.
* Pulling in bleeding edge Cairo (and possibly soon, GLib) already
requires C11 support.
2024-11-07 17:29:22 +08:00
Matthias Clasen
4a0323d46d
Post-release version bump
2024-11-06 21:23:45 -05:00
Matthias Clasen
a4ee14d94f
4.17.0
4.17.0
2024-11-06 20:44:02 -05:00
Chun-wei Fan
be70ff1772
Merge branch 'lb90/for-main' into 'main'
...
For main
Closes #7075
See merge request GNOME/gtk!7898
2024-11-06 09:39:15 +00:00
Matthias Clasen
d4afacc217
Merge branch 'ci-meson-junit' into 'main'
...
ci: Try to use llvm-symbolizer
See merge request GNOME/gtk!7900
2024-11-05 20:23:18 +00:00
Matthias Clasen
ed6f2a9693
Merge branch 'fix-demo-expander' into 'main'
...
demo: Fix "Expander" demonstration
See merge request GNOME/gtk!7887
2024-11-05 18:37:11 +00:00
Matthias Clasen
fc22b0862c
Merge branch 'macos-modifier-keys' into 'main'
...
gtktext/gtktextview: Use correct modifier keys for macOS shortcuts
See merge request GNOME/gtk!7837
2024-11-05 18:34:18 +00:00
Matthias Clasen
6a02caf216
Merge branch 'fix-demo-dnd' into 'main'
...
demo: Fix drag and drop demo critical
See merge request GNOME/gtk!7892
2024-11-05 18:32:43 +00:00
Matthias Clasen
8802af1868
Merge branch 'appstream_xmlns' into 'main'
...
demos: Add xmlns to appstream metainfo files
See merge request GNOME/gtk!7894
2024-11-05 18:32:13 +00:00
Matthias Clasen
6f59f1f5a4
ci: Use meson junit output
...
Just use the junit xml that is produced by meson, it works now.
2024-11-05 13:18:36 -05:00
Matthias Clasen
af87994115
ci: Try to use llvm-symbolizer
...
It might help get some stacktraces out of crashes in asan.
2024-11-05 13:18:36 -05:00
Matthias Clasen
059b7d516e
Merge branch 'fix-7141' into 'main'
...
application: NULL-check appid before using it
Closes #7141
See merge request GNOME/gtk!7899
2024-11-05 16:34:59 +00:00
Matthijs Velsink
a6ef6835ad
application: NULL-check appid before using it
...
Fixes commit 3274a286cc
.
Closes #7141
2024-11-05 15:08:28 +01:00
Benjamin Otte
14a19b423e
Merge branch 'wip/otte/win32-fixes' into 'main'
...
various fixes
See merge request GNOME/gtk!7895
2024-11-05 13:01:56 +00:00
Luca Bacci
12b0613b34
GdkWin32: Pass the right arguments when calling modal_timer_proc directly
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/7075
2024-11-05 11:16:08 +01:00
Benjamin Otte
b8d24d0259
win32: Require Windows 10
...
All versions older than Windows 10 are out of support and no longer
receive updates, so we do not want to support them.
We also want to move towards APIs that requires Windows 10 - like
Direct3D 12 - and not having them optional simplifies our code.
See the discussion in !7895 for more details.
2024-11-05 02:45:37 +01:00
Benjamin Otte
01453c733c
testsuite: Rename "diff" test to "not-diff"
...
3 things you need to know about this change:
1. We use diff(1) in various tests to check generated text against
reference output
2. Windows locates executables not just in $PATH, it also looks in
$cwd and the directory of the current process' binary
3. Multiple tests live together in the same directory
Windows is fun.
2024-11-05 02:45:37 +01:00
Benjamin Otte
3d578e8db5
win32: Use gdk_win32_com_clear() where appropriate
2024-11-05 02:45:37 +01:00
Benjamin Otte
2ed6867084
win32: Define COBJMACROS via project argument
...
We use it everywhere, so it makes sense to enable it everywhere.
For anyone not in the know, defining COBJMACROS makes Micrsoft headers
for COM objects provide C macros so that instead of having to call
foo->lpVtbl->Release();
to unref a COM object, one can call
IFoo_Release (foo);
Note that thes macros are implemented with inheritance as Release()
is defined on the IUnknown base interface (MS' equivalent to GObject)
and would otherwise require
IUnknown_Release ((IUnknown *) foo);
That line works, too - but it is not necessary.
2024-11-05 02:45:37 +01:00
Benjamin Otte
ef839e6505
win32: Add gdk_win32_com_clear()
...
Like g_clear_object(), but for COM objects.
2024-11-05 02:45:37 +01:00
Benjamin Otte
2a7beb75e8
testsuite: Make offload test do actual diffs
...
We have a testutils.c version for that.
2024-11-05 02:45:37 +01:00
Benjamin Otte
bfbc3e7484
testsuite: Clarify error
...
200% is not a fractional scale, but it's still forbidden.
2024-11-05 02:45:37 +01:00
Benjamin Otte
2e8fac7789
testsuite: Make nodeparser use shared diffing code
...
We have a testutils.c version, use that one.
2024-11-05 01:07:22 +01:00
Benjamin Otte
dd93aa9f50
testsuite: Rewrite diff_with_file()
...
use the modern version using GSubprocess that already exists in
node-parser.
Also change from one function to two - so tests can diff GBytes and
strings, depending on which they prefer.
2024-11-05 01:07:22 +01:00