Benjamin Otte
8e8a746cce
Merge branch 'wip/otte/for-main' into 'main'
...
testsuite: clear_current() when done
See merge request GNOME/gtk!4343
2022-01-06 19:07:58 +00:00
Benjamin Otte
5dc940ead2
glcontext: Don't spew warnings on surfaceless contexts
...
Get the display directly instead of via the nonexisting surface.
2022-01-06 19:23:29 +01:00
Benjamin Otte
7872b41f16
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.
2022-01-06 19:22:47 +01:00
Jordi Mas
be81f6b4ab
Update Catalan translation
2022-01-06 08:25:29 +01:00
Aleksandr Melman
716e0b97bd
Update Russian translation
2022-01-05 11:03:11 +00:00
Matthias Clasen
ff862dc926
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
2022-01-04 18:58:14 +00:00
Simon McVittie
17c2a1cb4e
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>
2022-01-04 18:08:22 +00:00
Aleksandr Melman
895e640fd0
Update Russian translation
2022-01-04 17:00:55 +00:00
Emmanuele Bassi
e8f5f86ad5
Merge branch 'label-fix-section-link' into 'main'
...
docs: Fix link to section in GtkLabel
See merge request GNOME/gtk!4333
2022-01-04 15:54:05 +00:00
Marco Melorio
5055b41ee7
docs: Fix link to section in GtkLabel
2022-01-04 16:33:00 +01:00
Matthias Clasen
7efd08ca2e
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
2022-01-04 14:51:05 +00:00
Hugo Carvalho
76b421e064
Update Portuguese translation
2022-01-04 14:12:59 +00:00
Luca Bacci
063e6baa0a
Merge branch 'gtk-grab-file-chooser-native-win32' into 'main'
...
GTK grab for GtkFileChooserNativeWin32
Closes #4582
See merge request GNOME/gtk!4329
2022-01-04 13:59:08 +00:00
Florian Müllner
9e5d412a8b
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
2022-01-04 14:58:58 +01:00
Daniel Mustieles
fa9b634d8f
Updated Spanish translation
2022-01-04 14:38:09 +01:00
Matthias Clasen
d76379428d
Merge branch 'noexecstack' into 'main'
...
Make our stack noexec
Closes #4598
See merge request GNOME/gtk!4330
2022-01-04 13:09:39 +00:00
Matthias Clasen
46509b6dd2
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
2022-01-04 07:51:56 -05:00
Daniel Mustieles
89dbf9cc81
Updated Spanish translation
2022-01-04 12:18:11 +01:00
Luca Bacci
c138aaabf3
Use a GTK grab when showing a modal GtkFileChooserNativeWin32
2022-01-04 10:46:20 +01:00
Yuri Chornoivan
7cef454c86
Update Ukrainian translation
2022-01-03 20:51:23 +00:00
Emmanuele Bassi
5cb8d15505
Merge branch 'fredmorcos-master-patch-48389' into 'main'
...
Minor doc fix
See merge request GNOME/gtk!4325
2022-01-03 13:34:00 +00:00
Luca Bacci
2aab55983d
Merge branch 'wgl-legacy' into 'main'
...
GSK/GL: Relax check for GL 3.x+ legacy contexts
See merge request GNOME/gtk!4187
2022-01-03 13:11:04 +00:00
Fred Morcos
31714e5c1d
Minor doc fix
2022-01-03 10:27:51 +00:00
Luca Bacci
96c351e792
Merge branch 'for-main' into 'main'
...
For main
See merge request GNOME/gtk!4322
2022-01-03 09:51:10 +00:00
Matthias Clasen
edd57004d3
Merge branch 'matthiasc/for-main' into 'main'
...
fontchooser: Use new hb api
See merge request GNOME/gtk!4323
2022-01-03 02:52:45 +00:00
Matthias Clasen
234d20641c
fontbutton: Pass the fontmap to the dialog
2022-01-02 21:37:32 -05:00
Matthias Clasen
dd802f21e7
fontchooser: Cosmetics
...
Use harfbuzz api to format variations and features.
That matches what pango uses to parse them.
2022-01-02 21:37:32 -05:00
Matthias Clasen
dbbc990c72
fontchooser: Use new hb api
...
Use hb_font_get_var_coords_design if we have it.
This should fix our handling of fonts with AVAR.
2022-01-02 21:37:32 -05:00
Matthias Clasen
3a6e772cba
Merge branch 'wip/antoniof/expression-autocleanup' into 'main'
...
gtk: Define the GtkExpression autocleanup func
See merge request GNOME/gtk!4319
2022-01-02 17:49:49 +00:00
António Fernandes
c9fa16fcfa
gtk: Define the GtkExpression autocleanup func
2022-01-02 17:49:48 +00:00
Luca Bacci
07b04fbea9
Remove some unneeded files from gdk/win32
...
bdfcursor.c, cursor.bdf and libwntab32x.la
2022-01-02 18:49:44 +01:00
Luca Bacci
1c633cbea2
Add hid.lib to pkg-config file listing
2022-01-02 18:45:17 +01:00
Luca Bacci
2f685d5d2a
Remove leftover code dealing with input-only windows
2022-01-02 18:42:33 +01:00
Luca Bacci
0fdf2cc195
Fix compilation with clang
...
From https://github.com/msys2/MINGW-packages/pull/9509
2022-01-02 18:42:33 +01:00
Luca Bacci
4f7d18a28f
Do not use GetProcAddress for FlashWindowEx
...
It's available since Windows XP
2022-01-02 18:42:32 +01:00
Luca Bacci
c77272a7d7
Remove call to ShowOwnedPopups (FALSE) to hide owned windows
...
This is needed to fully support windows with the property
"destroy-with-parent" set to FALSE.
2022-01-02 18:42:31 +01:00
Luca Bacci
7a1004df73
Remove WM_SYNCPAINT message handler
...
It was added to work around what seemed to be an OS or graphics
driver issue on Windows XP. The issue was not reproducible on
Windows Vista anyway.
References:
* https://bugzilla.gnome.org/show_bug.cgi?id=153567
* https://gitlab.gnome.org/GNOME/gtk/-/commit/c8fef535
* https://devblogs.microsoft.com/oldnewthing/20120723-00/?p=7073
2022-01-02 18:42:31 +01:00
Matthias Clasen
0e86d2b345
Merge branch 'ebassi/issue-4576' into 'main'
...
Update the accessible description of MenuButton
Closes #4576
See merge request GNOME/gtk!4317
2022-01-02 01:12:53 +00:00
Matthias Clasen
2441bdb900
Merge branch 'radioactiveman-main-patch-13472' into 'main'
...
texture: Fix typo in error message
See merge request GNOME/gtk!4311
2022-01-02 00:51:43 +00:00
Matthias Clasen
57679b7b7f
Merge branch 'wip-fontchooser-tewaks' into 'main'
...
Revert "fontchoserwidget: Do our own face filtering"
See merge request GNOME/gtk!4314
2022-01-02 00:50:57 +00:00
Emmanuele Bassi
37063e7a05
Update the accessible description of MenuButton
...
We update the labelled-by relation, but we never update the described-by
one.
Fixes : #4576
2022-01-02 00:35:53 +00:00
Matthias Clasen
791dc7b9be
fontchooser: Speed up fature examples
...
We were doing unnecessary work here, which could
get really slow with some fonts. Just compute
the reverse charmap once and reuse it.
2022-01-01 15:38:04 -05:00
Matthias Clasen
ff24dfb2e7
Revert "fontchooserwidget: Revise handling of named instances"
...
This reverts commit 2dc56a6e9b
.
This wasn't ready yet.
2022-01-01 15:36:29 -05:00
Matthias Clasen
4db60fa5a8
Revert "fontchoserwidget: Do our own face filtering"
...
This reverts commit b7b6c147f9
.
This was premature.
2022-01-01 15:36:27 -05:00
Emmanuele Bassi
5301367630
Merge branch 'bilelmoussaoui/g-i' into 'main'
...
gdk: add missing nullable annotations
See merge request GNOME/gtk!4310
2022-01-01 20:22:18 +00:00
Bilal Elmoussaoui
9409b7ef7d
gtk: mark few GtkPrinterSettings as nullable
...
Everything that makes use of gtk_printer_settings_get should be nullable
Because the hashtable might not contain the key and there's no default value provided
2022-01-01 19:20:29 +01:00
Bilal Elmoussaoui
afeb7f668b
gtk: mark few GtkFileChooser functions as nullable
...
- get_file, if no file is selected returns a NULL
- get_id, if the interface doesn't implement such function returns NULL
2022-01-01 19:11:10 +01:00
Bilal Elmoussaoui
38b8da0f5f
gtk: mark gtk_flatten_list_model_get_model_for_item as nullable
2022-01-01 19:07:13 +01:00
Bilal Elmoussaoui
d029b62d23
gtk: mark gtk_mount_operation_get_parent as nullable
2022-01-01 19:05:33 +01:00
Bilal Elmoussaoui
1e9bdb4647
gtk: mark gtk_list_box_get_adjustment as nullable
...
similar to its setter function
2022-01-01 19:05:06 +01:00