Luca Bacci [Thu, 13 Jan 2022 23:02:50 +0000 (23:02 +0000)]
Merge branch 'win32-fix-altgr-gtk4' into 'main'
IMContextSimple/IMContextIME: Fix AltGr not working on Win32 [GTK4]
See merge request GNOME/gtk!4375
Boyuan Yang [Thu, 13 Jan 2022 20:20:45 +0000 (20:20 +0000)]
Update Chinese (China) translation
Emmanuele Bassi [Thu, 13 Jan 2022 16:58:47 +0000 (16:58 +0000)]
Merge branch 'ebassi/docs-repo-link' into 'main'
docs: Point source links to the correct branch
See merge request GNOME/gtk!4373
Philip Zander [Thu, 13 Jan 2022 12:43:23 +0000 (13:43 +0100)]
IMContextSimple/IMContextIME: Fix AltGr not working on Win32
The old code assumed that any key press containing Ctrl or Alt cannot be
regular text input. This is not correct on Win32 as AltGr = Ctrl + Alt.
Emmanuele Bassi [Thu, 13 Jan 2022 14:40:50 +0000 (14:40 +0000)]
Update the link to the development branch
The default development branch for GTK is now "main".
Emmanuele Bassi [Thu, 13 Jan 2022 14:39:39 +0000 (14:39 +0000)]
docs: Point to the correct development branch
The default development branch of GTK is now "main".
Emmanuele Bassi [Thu, 13 Jan 2022 14:39:03 +0000 (14:39 +0000)]
docs: Point source links to the correct branch
The default development branch for GTK is now "main".
Piotr Drąg [Thu, 13 Jan 2022 12:43:15 +0000 (13:43 +0100)]
Update POTFILES.in
Luca Bacci [Wed, 12 Jan 2022 21:36:19 +0000 (21:36 +0000)]
Merge branch 'forward-port-gdk-win32-keymap-bugfixes-to-gtk4' into 'main'
GdkWin32Keymap bugfixes
See merge request GNOME/gtk!4372
Fran Dieguez [Wed, 12 Jan 2022 21:35:13 +0000 (21:35 +0000)]
Update Galician translation
Fran Dieguez [Wed, 12 Jan 2022 21:34:57 +0000 (21:34 +0000)]
Update Galician translation
David Hogan [Wed, 12 Jan 2022 20:41:02 +0000 (21:41 +0100)]
gdkkeys-win32: Perform keyboard layout substitution
For some users, GetKeyboardLayoutNameA() returns an alias instead of the
fully resolved keyboard layout identifier. In that case, we have to
query the registry to resolve the alias before we can look up the DLL
path.
See comments under https://gitlab.gnome.org/GNOME/gtk/-/issues/4610
Philip Zander [Wed, 12 Jan 2022 20:36:41 +0000 (21:36 +0100)]
gdkkeys-win32: Fix handling of SGCAPS
Contrary to what you can read on the internet, SGCAPS keys don't work
by having capslock toggle the KBDCTRL bit, they actually have two
consecutive table entries, the first of which is for the normal
version and the second of which is for the capslocked version.
Background: SGCAPS is short for Swiss German caps because Swiss German
was the first layout to use this feature. For keys with the SGCAPS flag,
capslock has a different effect than pressing shift. For example:
Shift + ü = è, CapsLock + ü = Ü, CapsLock + Shift + ü = È
Philip Zander [Wed, 12 Jan 2022 20:31:21 +0000 (21:31 +0100)]
gdkkeys-win32: Fix crash when keyboard DLL failed to load
DLL loading failures should not happen under normal circumstances, but
we should at least try not to crash and and print better diagnostic
messages if they do happen.
See https://gitlab.gnome.org/GNOME/gtk/-/issues/4610
Philip Zander [Wed, 12 Jan 2022 20:19:10 +0000 (21:19 +0100)]
gdkkeys-win32: Add keysym mapping for capslock key
Add missing mapping between VK_CAPITAL and GDK_KEY_Caps_Lock, so
applications get a meaningful keyval rather than ffffff.
Philip Zander [Wed, 12 Jan 2022 20:17:28 +0000 (21:17 +0100)]
gdkkeys-win32: Fix capslock handling
Previously, we treated CapsLock and KanaLock as part of the global
keyboard state, much like NumLock and ScrollLock, rather than using
the supplied modifier mask. This was because GDK does not have a
modifier mask for KanaLock, only for CapsLock, so it would not have been
possible to properly support it.
However, this approach ended up causing problems, with certain keyboard
shortcuts not registering when capslock was active. This was first
observed in Inkscape [0] and appears to affect shortcuts consisting of a
single key (like 'a') with no additional modifiers (wheareas shortcuts
like 'ctrl+a' work).
So now we are using the supplied GDK_LOCK_MASK instead, and dropped
support for KanaLock, which we probably don't need anyway (since regular
text input should be handled by the IME input module -- the keymap is
mainly for shortcuts and keybindings, where you don't really want
KanaLock).
[0] https://gitlab.com/inkscape/inkscape/-/issues/3082
Luca Bacci [Wed, 12 Jan 2022 19:53:54 +0000 (19:53 +0000)]
Merge branch 'forward-port-rewrite-gdkwin32keymap-to-gtk4' into 'main'
Rewrite GdkWin32Keymap (V2)
Closes #1033 and #2055
See merge request GNOME/gtk!4338
Luca Bacci [Wed, 12 Jan 2022 19:53:39 +0000 (19:53 +0000)]
Merge branch 'fix-build-no-pangoft' into 'main'
Improve and fix building font features on Windows (was: Fix builds without PangoFT2)
Closes #4605
See merge request GNOME/gtk!4339
Matthias Clasen [Wed, 12 Jan 2022 19:38:10 +0000 (19:38 +0000)]
Merge branch 'fabian.kirsch-main-patch-28134' into 'main'
corrected small typo input-handling.md
See merge request GNOME/gtk!4368
Matthias Clasen [Wed, 12 Jan 2022 19:37:18 +0000 (19:37 +0000)]
Merge branch '4627-printing-Unref-old-spool_io-before-setting-new-one' into 'main'
printing: Unref old spool_io before setting new one
Closes #4627
See merge request GNOME/gtk!4370
Matthias Clasen [Wed, 12 Jan 2022 19:34:18 +0000 (19:34 +0000)]
Merge branch 'revert-texture-annotations' into 'main'
Revert "gir: Annotate `GdkTexture` constructors for reading from a...
See merge request GNOME/gtk!4371
Matthias Clasen [Wed, 12 Jan 2022 19:11:13 +0000 (14:11 -0500)]
Revert "gir: Annotate `GdkTexture` constructors for reading from a file/memory/resource to return a `GdkMemoryTexture`"
This reverts commit
ae8e844dec16d55184367db4cd7e7ae215e3605a.
No agreement that this will stay this way going forward.
Philip Zander [Wed, 5 Jan 2022 14:44:49 +0000 (15:44 +0100)]
Rewrite GdkWin32Keymap (load table directly from layout DLL)
The old code used repeated calls to `ToUnicodeEx` to populate
the translation table, which is slow and buggy. The new code
directly loads the layout driver DLLs from Windows.
See https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4338
Marek Kasik [Wed, 12 Jan 2022 11:36:44 +0000 (12:36 +0100)]
printing: Unref old spool_io before setting new one
Unref private spool_io of GtkPrintJob before setting it to a new one
in gtk_print_job_set_source_file() and gtk_print_job_set_source_fd()
to prevent a leak.
Fixes: #4627
Chun-wei Fan [Mon, 10 Jan 2022 07:04:57 +0000 (15:04 +0800)]
meson.build: Don't apply iso-codes cflag on Windows
They are no longer applicable for Windows builds.
Chun-wei Fan [Mon, 10 Jan 2022 06:56:27 +0000 (14:56 +0800)]
demos: Always build font explorer demo
We are no longer using PangoFT2 APIs in this demo, so make sure that we build
it on all builds since we already depend on a HarfBuzz/Pango version that
provide everything that we need here.
Drop the unnecessary pangofc-font.h include as a result.
Chun-wei Fan [Mon, 10 Jan 2022 06:54:23 +0000 (14:54 +0800)]
gtk-demo/language-names.c: Acquire language names natively on Windows
Like what was done on gtk/language-names.c, acquire the language names via the
native Windows NLS APIs, eliminating a run-time dependency on iso-codes on
Windows.
Chun-wei Fan [Mon, 10 Jan 2022 06:49:42 +0000 (14:49 +0800)]
language-names: Use Windows APIs to acquire language names
Instead of relying on the iso-codes package, use the native Windows NLS APIs to
acquire the localized (translated) language names so that we do not need to
incur an extra runtime dependency on Windows. It's not coverering 100% of the
languages that we would like to support through this, but should cover much of
the things that are required.
Chun-wei Fan [Wed, 5 Jan 2022 09:50:29 +0000 (17:50 +0800)]
gtk/meson.build: Fix builds without PangoFT2
We aren't really using PangoFT2 for [language|script]-names.c, and are
always using items from them, so make sure they are being built.
Also always include the pangoft2 dependency in gtk_dep if it is found.
Fabian Kirsch [Wed, 12 Jan 2022 09:02:01 +0000 (09:02 +0000)]
corrected small typo input-handling.md
Matthias Clasen [Wed, 12 Jan 2022 02:58:25 +0000 (02:58 +0000)]
Merge branch 'fix-directory-list' into 'main'
directorylist: Fix several issues
Closes #3784
See merge request GNOME/gtk!4367
Matthias Clasen [Wed, 12 Jan 2022 02:48:10 +0000 (02:48 +0000)]
Merge branch 'should_be_mapped' into 'main'
gdk/wayland/surface: Remove redundant `should_be_mapped` code
See merge request GNOME/gtk!4203
Matthias Clasen [Wed, 12 Jan 2022 02:46:43 +0000 (02:46 +0000)]
Merge branch 'wip/keep-scale' into 'main'
wayland/surface: Only update the scale if on any outputs
See merge request GNOME/gtk!4352
Matthias Clasen [Wed, 12 Jan 2022 02:45:15 +0000 (02:45 +0000)]
Merge branch 'ebassi/for-main' into 'main'
tests: Don't drop chdir()'s return value on the floor
See merge request GNOME/gtk!4328
Matthias Clasen [Wed, 12 Jan 2022 02:44:29 +0000 (02:44 +0000)]
Merge branch 'bilelmoussaoui/build' into 'main'
meson: only update-icon-cache when the demos are built
See merge request GNOME/gtk!4358
Matthias Clasen [Wed, 12 Jan 2022 02:43:54 +0000 (02:43 +0000)]
Merge branch 'drop-script-names' into 'main'
Drop the script name data
See merge request GNOME/gtk!4361
Matthias Clasen [Wed, 12 Jan 2022 02:42:17 +0000 (02:42 +0000)]
Merge branch 'texture-new-return-types' into 'main'
gir: Annotate `GdkTexture` constructors for reading from a...
See merge request GNOME/gtk!4365
Matthias Clasen [Wed, 12 Jan 2022 02:41:32 +0000 (02:41 +0000)]
Merge branch 'nielsdg/gsk-gl-renderer-assertion' into 'main'
gsk: Document gsk_renderer_realize()
See merge request GNOME/gtk!4363
Matthias Clasen [Wed, 12 Jan 2022 02:35:19 +0000 (21:35 -0500)]
directorylist: Fix several issues
We were handling events in the wrong order,
by doing async calls for some of them, but not
for all of them.
And we were not taking into account that GFileMonitors
RENAMED events may or may not move a file on top
of an existing file.
Fixes: #3784
Sebastian Dröge [Tue, 11 Jan 2022 13:46:22 +0000 (15:46 +0200)]
gir: Annotate `GdkTexture` constructors for reading from a file/memory/resource to return a `GdkMemoryTexture`
Niels De Graef [Tue, 11 Jan 2022 09:04:16 +0000 (10:04 +0100)]
gsk: Document gsk_renderer_realize()
Document the return value and more importantly, specify that a call to
`gsk_renderer_realize()` needs to be matched with a call
`gsk_renderer_unrealize()`.
Prevents issues like https://gitlab.gnome.org/GNOME/gtk/-/issues/4625
Matthias Clasen [Mon, 10 Jan 2022 14:19:46 +0000 (09:19 -0500)]
Drop the script name data
It is not used in GTK itself, and gtk4-demo
has its own copy.
Danial Behzadi [Mon, 10 Jan 2022 11:39:53 +0000 (11:39 +0000)]
Update Persian translation
Emmanuele Bassi [Sun, 9 Jan 2022 13:28:57 +0000 (13:28 +0000)]
Merge branch 'docs-typo-list' into 'main'
Fix typo in IconView docs
See merge request GNOME/gtk!4360
Sebastian Dröge [Sun, 9 Jan 2022 11:59:59 +0000 (13:59 +0200)]
Fix typo in IconView docs
g_lsit_free_full() -> g_list_free_full()
Timm Bäder [Sun, 9 Jan 2022 08:21:54 +0000 (08:21 +0000)]
Merge branch 'wip/smcv/png-endian' into 'main'
png: Correct endianness for big-endian machines
Closes #4616
See merge request GNOME/gtk!4357
Bilal Elmoussaoui [Sun, 9 Jan 2022 07:27:59 +0000 (07:27 +0000)]
meson: only update-icon-cache when the demos are built
Without building the demos, nothing gets installed into $prefix/share/icons/hicolor. Which makes running
`gtk4-update-icon-cache` on the machine causes an error. This is easily reproducible on a Windows machine with MSVC where
there is nothing pre-installed on hicolor icon theme and that makes building gtk without the demos fails with "No such file or directory".
Jordi Mas [Sat, 8 Jan 2022 21:55:05 +0000 (22:55 +0100)]
Update Catalan translation
Simon McVittie [Sat, 8 Jan 2022 16:39:36 +0000 (16:39 +0000)]
png: Correct endianness for big-endian machines
libpng wants to receive samples in either RGB or RGBA order, whether
each sample is big-endian or not. This resolves test failures in
testsuite/gdk/memorytexture.c (and a lot of reftests) on s390x, and
probably the PowerPC family too.
Modifying the test to show the color in use and write out the PNG bytes
to a file, and running the memorytexture test on s390x, produces a PNG
that loads with the correct color values in GIMP (on an x86_64 machine),
which seems like evidence that this is the correct change and not just
compensating errors.
Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/4616
Signed-off-by: Simon McVittie <smcv@debian.org>
Emmanuele Bassi [Mon, 3 Jan 2022 14:07:25 +0000 (14:07 +0000)]
tests: Don't drop chdir()'s return value on the floor
Avoid a compile time warning, and ensure that the test suite is actually
doing its job.
Emmanuele Bassi [Fri, 7 Jan 2022 19:14:59 +0000 (19:14 +0000)]
Merge branch 'ebassi/docs-for-main' into 'main'
Document side effect of GLArea:has-depth-buffer
Closes #838
See merge request GNOME/gtk!4351
Jonas Ådahl [Fri, 7 Jan 2022 18:28:36 +0000 (19:28 +0100)]
wayland/surface: Only update the scale if on any outputs
If we ended up on no output at all, keep the HiDPI scale as is, as it
likely means we were on a workspace that was switched away from. By
keeping the same scale, we avoid unnecessary scale changes that would
otherwise take place if the scale when on monitors would end up being
more than 1.
Emmanuele Bassi [Fri, 7 Jan 2022 18:30:54 +0000 (18:30 +0000)]
Document side effect of GLArea:has-depth-buffer
We enable depth testing when creating a depth buffer.
Fixes: #838
Matthias Clasen [Fri, 7 Jan 2022 16:47:07 +0000 (16:47 +0000)]
Merge branch 'wip/baedert/for-master' into 'main'
label: Remove a redundant assignment
See merge request GNOME/gtk!4348
Timm Bäder [Fri, 7 Jan 2022 16:25:41 +0000 (16:25 +0000)]
Merge branch 'ebassi/docs-for-main' into 'main'
docs: Clean up the ToggleButton description
See merge request GNOME/gtk!4347
Timm Bäder [Fri, 7 Jan 2022 16:21:12 +0000 (17:21 +0100)]
Make some code samples compile
Timm Bäder [Sun, 2 Jan 2022 08:46:28 +0000 (09:46 +0100)]
label: Remove a redundant assignment
clang-tidy says:
gtklabel.c:1188:15: warning: Although the value stored to 'mid' is used in the enclosing expression, the value is never actually read from 'mid'
min = mid = text_width;
^ ~~~~~~~~~~
Which seems right since mid will be assigned to at the beginning of the
next loop iteration anyway.
Emmanuele Bassi [Fri, 7 Jan 2022 15:12:47 +0000 (15:12 +0000)]
docs: Clean up the ToggleButton description
- Use different headings
- Fix the coding style of the example
Matthias Clasen [Fri, 7 Jan 2022 03:16:47 +0000 (03:16 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
docs; Update supported backends
See merge request GNOME/gtk!4344
Matthias Clasen [Fri, 7 Jan 2022 03:16:19 +0000 (03:16 +0000)]
Merge branch 'doc-improvs-ii' into 'main'
Doc improvements on textures
See merge request GNOME/gtk!4342
Matthias Clasen [Fri, 7 Jan 2022 03:15:48 +0000 (03:15 +0000)]
Merge branch 'wip/chergert/fix-textview-dnd-move-same-view' into 'main'
textview: remove drag selection after dnd move action
See merge request GNOME/gtk!4346
Christian Hergert [Fri, 7 Jan 2022 00:30:34 +0000 (16:30 -0800)]
textview: remove drag selection after dnd move action
If we have a GDK_ACTION_MOVE, we need to delete the selection. However,
previously this only worked when the drop target and drag source were
different applications, as the selection would get messed up along the
way.
Instead, we stash marks for the duration of the operation so that we can
delete the appropriate selection when completing the move.
Matthias Clasen [Thu, 6 Jan 2022 19:56:16 +0000 (14:56 -0500)]
docs; Update supported backends
Some strings have changed here.
Matthias Clasen [Thu, 6 Jan 2022 19:19:31 +0000 (19:19 +0000)]
Merge branch 'docs-improvs-i' into 'main'
docs: Improve docs for four classes
See merge request GNOME/gtk!4337
Benjamin Otte [Thu, 6 Jan 2022 19:07:58 +0000 (19:07 +0000)]
Merge branch 'wip/otte/for-main' into 'main'
testsuite: clear_current() when done
See merge request GNOME/gtk!4343
Maximiliano Sandoval R [Thu, 6 Jan 2022 16:42:17 +0000 (17:42 +0100)]
docs: State that Textures are thread safe gobjects
Maximiliano Sandoval R [Thu, 6 Jan 2022 16:40:26 +0000 (17:40 +0100)]
docs: Improve docs for MemoryTexture
Maximiliano Sandoval R [Thu, 6 Jan 2022 16:39:06 +0000 (17:39 +0100)]
gir: Add type annotations for {GL,Memory}Texture
Maximiliano Sandoval R [Thu, 6 Jan 2022 16:36:12 +0000 (17:36 +0100)]
docs: Improve docs for gdktexture.c
Benjamin Otte [Thu, 6 Jan 2022 18:23:29 +0000 (19:23 +0100)]
glcontext: Don't spew warnings on surfaceless contexts
Get the display directly instead of via the nonexisting surface.
Benjamin Otte [Thu, 6 Jan 2022 18:08:42 +0000 (19:08 +0100)]
testsuite: clear_current() when done
That way we ensure that the GL context(s) get disposed, which they
previously weren't due to them still being the current context.
This also implicitly adds testing of gLContext destruction, which
previously wasn't ever done by any test.
Jordi Mas [Thu, 6 Jan 2022 07:25:29 +0000 (08:25 +0100)]
Update Catalan translation
Maximiliano Sandoval R [Wed, 5 Jan 2022 11:44:23 +0000 (12:44 +0100)]
docs: Add misc links
Maximiliano Sandoval R [Wed, 5 Jan 2022 11:43:06 +0000 (12:43 +0100)]
docs: Improve docs for gskrendernode.c
Maximiliano Sandoval R [Wed, 5 Jan 2022 11:36:55 +0000 (12:36 +0100)]
docs: Improve docs for gtksnapshot.c
Maximiliano Sandoval R [Wed, 5 Jan 2022 11:24:41 +0000 (12:24 +0100)]
docs: Improve docs for gtkversion.h
Maximiliano Sandoval R [Wed, 5 Jan 2022 11:24:06 +0000 (12:24 +0100)]
docs: Improve docs for gtkactionable.c
Aleksandr Melman [Wed, 5 Jan 2022 11:03:11 +0000 (11:03 +0000)]
Update Russian translation
Matthias Clasen [Tue, 4 Jan 2022 18:58:14 +0000 (18:58 +0000)]
Merge branch 'wip/smcv/gresource-internal' into 'main'
build: Tell glib-compile-resources to make symbols internal where possible
See merge request GNOME/gtk!4334
Simon McVittie [Tue, 4 Jan 2022 17:41:34 +0000 (17:41 +0000)]
build: Tell glib-compile-resources to make symbols internal where possible
Partial solution to https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
Signed-off-by: Simon McVittie <smcv@debian.org>
Aleksandr Melman [Tue, 4 Jan 2022 17:00:55 +0000 (17:00 +0000)]
Update Russian translation
Emmanuele Bassi [Tue, 4 Jan 2022 15:54:05 +0000 (15:54 +0000)]
Merge branch 'label-fix-section-link' into 'main'
docs: Fix link to section in GtkLabel
See merge request GNOME/gtk!4333
Marco Melorio [Tue, 4 Jan 2022 15:33:00 +0000 (16:33 +0100)]
docs: Fix link to section in GtkLabel
Matthias Clasen [Tue, 4 Jan 2022 14:51:05 +0000 (14:51 +0000)]
Merge branch 'fix-hc-warning' into 'main'
gdk/display-wayland: Don't bypass portal for theme entries
Closes #4593
See merge request GNOME/gtk!4331
Hugo Carvalho [Tue, 4 Jan 2022 14:12:59 +0000 (14:12 +0000)]
Update Portuguese translation
Luca Bacci [Tue, 4 Jan 2022 13:59:08 +0000 (13:59 +0000)]
Merge branch 'gtk-grab-file-chooser-native-win32' into 'main'
GTK grab for GtkFileChooserNativeWin32
Closes #4582
See merge request GNOME/gtk!4329
Florian Müllner [Tue, 4 Jan 2022 13:29:13 +0000 (14:29 +0100)]
gdk/display-wayland: Don't bypass portal for theme entries
When commit
49589e1da added support for the new high-contrast key,
it missed that the getter should only use the setting directly when
not going through the portal.
https://gitlab.gnome.org/GNOME/gtk/-/issues/4593
Daniel Mustieles [Tue, 4 Jan 2022 13:38:09 +0000 (14:38 +0100)]
Updated Spanish translation
Matthias Clasen [Tue, 4 Jan 2022 13:09:39 +0000 (13:09 +0000)]
Merge branch 'noexecstack' into 'main'
Make our stack noexec
Closes #4598
See merge request GNOME/gtk!4330
Matthias Clasen [Tue, 4 Jan 2022 12:51:56 +0000 (07:51 -0500)]
Make our stack noexec
The change to use ld and objcopy for resources
had some side-effects: it leaked a few symbols
and made our stack executable. We don't want that.
Use -z nonexecstack and --strip-all to avoid this.
Fixes: #4598
Daniel Mustieles [Tue, 4 Jan 2022 11:18:11 +0000 (12:18 +0100)]
Updated Spanish translation
Luca Bacci [Tue, 4 Jan 2022 09:44:54 +0000 (10:44 +0100)]
Use a GTK grab when showing a modal GtkFileChooserNativeWin32
Yuri Chornoivan [Mon, 3 Jan 2022 20:51:23 +0000 (20:51 +0000)]
Update Ukrainian translation
Emmanuele Bassi [Mon, 3 Jan 2022 13:34:00 +0000 (13:34 +0000)]
Merge branch 'fredmorcos-master-patch-48389' into 'main'
Minor doc fix
See merge request GNOME/gtk!4325
Luca Bacci [Mon, 3 Jan 2022 13:11:04 +0000 (13:11 +0000)]
Merge branch 'wgl-legacy' into 'main'
GSK/GL: Relax check for GL 3.x+ legacy contexts
See merge request GNOME/gtk!4187
Fred Morcos [Mon, 3 Jan 2022 10:27:51 +0000 (10:27 +0000)]
Minor doc fix
Luca Bacci [Mon, 3 Jan 2022 09:51:10 +0000 (09:51 +0000)]
Merge branch 'for-main' into 'main'
For main
See merge request GNOME/gtk!4322
Matthias Clasen [Mon, 3 Jan 2022 02:52:45 +0000 (02:52 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
fontchooser: Use new hb api
See merge request GNOME/gtk!4323
Matthias Clasen [Mon, 3 Jan 2022 02:35:00 +0000 (21:35 -0500)]
fontbutton: Pass the fontmap to the dialog
Matthias Clasen [Mon, 3 Jan 2022 02:34:05 +0000 (21:34 -0500)]
fontchooser: Cosmetics
Use harfbuzz api to format variations and features.
That matches what pango uses to parse them.