Matthias Clasen [Mon, 7 Nov 2022 14:51:34 +0000 (14:51 +0000)]
Merge branch 'fix-color-dialog-button-new' into 'main'
colordialogbutton: Actually accept NULL
Closes #5321
See merge request GNOME/gtk!5202
Matthias Clasen [Mon, 7 Nov 2022 14:32:51 +0000 (15:32 +0100)]
Add a test for picker button constructors
This turns out to be hard enough that a test
is useful.
Matthias Clasen [Mon, 7 Nov 2022 14:24:13 +0000 (15:24 +0100)]
colordialogbutton: Actually accept NULL
As pointed out in #5321, my previous fix was not
good enough.
Fixes: #5321
Matthias Clasen [Sun, 6 Nov 2022 13:36:49 +0000 (13:36 +0000)]
Merge branch 'fix-color-button-new' into 'main'
color/fontdialogbutton: Fix constructors
Closes #5321
See merge request GNOME/gtk!5199
Matthias Clasen [Sun, 6 Nov 2022 13:12:02 +0000 (14:12 +0100)]
color/fontdialogbutton: Fix constructors
The arguments were meant to be nullable.
Make it so!
Fixes: #5321
Balázs Úr [Sat, 5 Nov 2022 22:21:06 +0000 (22:21 +0000)]
Update Hungarian translation
Goran Vidović [Sat, 5 Nov 2022 18:55:57 +0000 (18:55 +0000)]
Update Croatian translation
Matthias Clasen [Sat, 5 Nov 2022 10:50:51 +0000 (10:50 +0000)]
Merge branch 'make-pot-update' into 'main'
Add new printf patterns to make-pot
See merge request GNOME/gtk!5197
Matthias Clasen [Tue, 1 Nov 2022 11:07:51 +0000 (07:07 -0400)]
Add new printf patterns to make-pot
This script is used to extract our strings for translators
on damn lines, and passing these flags to xgettext makes
it put a hint into the pot file about strings that are
used as printf format strings.
Luca Bacci [Fri, 4 Nov 2022 16:00:25 +0000 (16:00 +0000)]
Merge branch 'gdk-win32-settings-rework' into 'main'
GdkWin32 settings rework
See merge request GNOME/gtk!5193
Luca Bacci [Fri, 4 Nov 2022 15:11:27 +0000 (16:11 +0100)]
GdkWin32: Add more GDK_NOTE calls for settings
Luca Bacci [Fri, 4 Nov 2022 14:59:15 +0000 (15:59 +0100)]
GdkWin32: Set the "gtk-hint-font-metrics" property
Helps for https://gitlab.gnome.org/GNOME/gtk/-/issues/5257
Luca Bacci [Fri, 4 Nov 2022 14:57:25 +0000 (15:57 +0100)]
GdkWin32: Set the "gtk-cursor-blink" setting
Luca Bacci [Fri, 4 Nov 2022 14:56:20 +0000 (15:56 +0100)]
GdkWin32: Set the "gtk-cursor-theme-size" setting
Note that we have to set the logical value, that's why
we use GetSystemMetrics and not GetSystemMetricsForDpi.
Luca Bacci [Fri, 4 Nov 2022 14:54:02 +0000 (15:54 +0100)]
GdkWin32: Detect the high contrast setting
And set the theme name accordingly ("Default-hc")
Luca Bacci [Fri, 4 Nov 2022 14:38:29 +0000 (15:38 +0100)]
GdkWin32: Fix leak of screen HDC
Luca Bacci [Fri, 4 Nov 2022 14:35:04 +0000 (15:35 +0100)]
GdkWin32: Remove special-casing for old Pango versions
We require Pango 1.50 now
Luca Bacci [Fri, 4 Nov 2022 14:31:40 +0000 (15:31 +0100)]
GdkWin32: Remove old code
Luca Bacci [Fri, 4 Nov 2022 14:30:12 +0000 (15:30 +0100)]
GdkWin32: Sort settings alphabetically
Sabri Ünal [Wed, 2 Nov 2022 06:06:38 +0000 (06:06 +0000)]
Update Turkish translation
Nathan Follens [Tue, 1 Nov 2022 23:10:49 +0000 (23:10 +0000)]
Update Dutch translation
(cherry picked from commit
381c05607060c584779f9e6fab6f662ddfada1fa)
Matthias Clasen [Tue, 1 Nov 2022 02:22:06 +0000 (22:22 -0400)]
Post-release version bump
Matthias Clasen [Tue, 1 Nov 2022 02:07:15 +0000 (22:07 -0400)]
4.9.1
Matthias Clasen [Tue, 1 Nov 2022 01:09:51 +0000 (01:09 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
Revert "modules: Fix build on Visual Studio"
See merge request GNOME/gtk!5187
Matthias Clasen [Tue, 1 Nov 2022 00:35:15 +0000 (20:35 -0400)]
gdk: Bump the jpeg malloc limit
Bump the limit for memory use during jpeg loading
to 1GB, matching what gdk-pixbuf has for this.
Matthias Clasen [Tue, 1 Nov 2022 00:18:12 +0000 (20:18 -0400)]
Revert "modules: Fix build on Visual Studio"
This reverts commit
acd9c12667a021936b30e0fa8f43d3a8c7133cf7.
This commit breaks the build with GLib main on all platforms,
and defining _GLIB_EXTERN arguably invades the GLib namespace.
A different fix for msvc will have to be found.
Matthias Clasen [Mon, 31 Oct 2022 21:15:10 +0000 (21:15 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
Be consistent in preconditions for async API
See merge request GNOME/gtk!5186
Matthias Clasen [Mon, 31 Oct 2022 19:33:48 +0000 (15:33 -0400)]
Be consistent in preconditions for async API
Do the same checks in all our finish functions.
Aleksandr Melman [Mon, 31 Oct 2022 12:30:25 +0000 (12:30 +0000)]
Update Russian translation
Matthias Clasen [Sun, 30 Oct 2022 23:22:19 +0000 (23:22 +0000)]
Merge branch 'ebassi/since-for-main' into 'main'
Ebassi/since for main
See merge request GNOME/gtk!5185
Emmanuele Bassi [Sun, 30 Oct 2022 20:08:39 +0000 (20:08 +0000)]
docs: Add missing Deprecated annotations
Emmanuele Bassi [Sun, 30 Oct 2022 20:08:21 +0000 (20:08 +0000)]
docs: Add missing Since annotations
Matthias Clasen [Sun, 30 Oct 2022 13:29:35 +0000 (13:29 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
alertdialog: Small refactoring
See merge request GNOME/gtk!5184
Matthias Clasen [Sun, 30 Oct 2022 12:42:08 +0000 (08:42 -0400)]
Add a test for POTFILES.in
Add a test that runs make-pot. This will only pass
if you've updated po/POTFILES.in and .skip after
moving source files around.
Unfortunately, it won't catch new source files that
are missing.
Matthias Clasen [Sat, 29 Oct 2022 23:17:37 +0000 (19:17 -0400)]
alertdialog: Small refactoring
Move the deprecated code out into its own function.
Piotr Drąg [Sun, 30 Oct 2022 11:34:21 +0000 (12:34 +0100)]
Update POTFILES.in
Matthias Clasen [Sat, 29 Oct 2022 20:39:18 +0000 (20:39 +0000)]
Merge branch 'deprecate-gtkdialog2' into 'main'
Deprecate GtkDialog
See merge request GNOME/gtk!5182
Matthias Clasen [Sat, 29 Oct 2022 17:53:47 +0000 (13:53 -0400)]
Deprecate GtkDialog
GtkDialog is too flexible in terms of UI (headerbars vs action bar,
etc), and has archaic APIs. It is time to retire it.
Matthias Clasen [Sat, 29 Oct 2022 19:22:50 +0000 (19:22 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
Docs updates
See merge request GNOME/gtk!5180
Matthias Clasen [Sat, 29 Oct 2022 18:13:56 +0000 (14:13 -0400)]
Update docs
Mention new deprecations in the future migration guide.
Matthias Clasen [Sat, 29 Oct 2022 17:52:13 +0000 (17:52 +0000)]
Merge branch 'async-dialog-api2' into 'main'
Add new async APIs to replace chooser dialogs
See merge request GNOME/gtk!5174
Matthias Clasen [Sat, 29 Oct 2022 16:06:26 +0000 (12:06 -0400)]
NEWS: Updates
Matthias Clasen [Sat, 29 Oct 2022 15:31:35 +0000 (11:31 -0400)]
Deprecate GtkFileChooser and implementations
These are being replaced by GtkFileDialog.
This commit only moves the headers for GtkFileChooserWidget and
GtkFileChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFileChooserWindow.
Matthias Clasen [Sat, 29 Oct 2022 14:36:29 +0000 (10:36 -0400)]
Deprecate GtkMessageDialog
It is getting replaced by GtkAlertDialog
This commit only moves the header to deprecated/,
and keeps the implementation in gtk/, since it will
eventually be salvaged into a private, dialog-free
widget.
Matthias Clasen [Thu, 27 Oct 2022 02:58:21 +0000 (22:58 -0400)]
Deprecate GtkFontChooser and implementations
These are being replaced by GtkFontDialog
and GtkFontDialogButton
This commit only moves the headers for GtkFontChooserWidget and
GtkFontChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFontChooserWindow.
Matthias Clasen [Thu, 27 Oct 2022 01:52:06 +0000 (21:52 -0400)]
Deprecate GtkColorChooser and implementations
These are being replaced by GtkColorDialog
and GtkColorDialogButton.
This commit only moves the headers for GtkColorChooserWidget
and GtkColorChooserDialog to deprecated/, and keeps the
implementations in gtk/, since they will eventually be
salvaged into a private GtkColorChooserWindow.
Matthias Clasen [Sat, 29 Oct 2022 03:07:12 +0000 (23:07 -0400)]
examples: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 02:42:32 +0000 (22:42 -0400)]
print-editor: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 00:43:37 +0000 (20:43 -0400)]
node-editor: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 00:24:53 +0000 (20:24 -0400)]
constraint-editor: Port to async dialog API
Matthias Clasen [Sat, 29 Oct 2022 00:16:21 +0000 (20:16 -0400)]
widget-factory: Port to async dialog API
Matthias Clasen [Fri, 28 Oct 2022 15:38:57 +0000 (11:38 -0400)]
gtk-demo: Port to async dialog API
Matthias Clasen [Wed, 26 Oct 2022 17:38:22 +0000 (13:38 -0400)]
gtk-demo: Rewrite the pickers demo
This needs some more work. For now, just have
very simple test cases for some of the new async
APIs.
Matthias Clasen [Fri, 28 Oct 2022 14:00:37 +0000 (10:00 -0400)]
inspector: Port to async dialog API
Matthias Clasen [Fri, 28 Oct 2022 15:32:55 +0000 (11:32 -0400)]
gtk: Port to async dialog API
Matthias Clasen [Mon, 24 Oct 2022 10:54:01 +0000 (06:54 -0400)]
Add GtkFileDialog
Add an async API for picking a file, together with
a builder object for it. This is meant to replace direct
use of GtkFileChooserDialog.
Matthias Clasen [Tue, 25 Oct 2022 04:12:28 +0000 (00:12 -0400)]
Add GtkAlertDialog
This is replacing GtkMessageDialog with an
async API for showing informational messages.
Matthias Clasen [Tue, 25 Oct 2022 03:09:02 +0000 (23:09 -0400)]
Add GtkFontDialogButton
This is like GtkColorDialogButton, but for fonts.
Matthias Clasen [Mon, 24 Oct 2022 03:21:41 +0000 (23:21 -0400)]
Add GtkFontDialog
This is similar to GtkColorDialog, but for fonts.
Matthias Clasen [Mon, 24 Oct 2022 19:42:52 +0000 (15:42 -0400)]
Add GtkColorDialogButton
This is a new color button implementation
built around GtkColorDialog.
Matthias Clasen [Mon, 24 Oct 2022 19:41:43 +0000 (15:41 -0400)]
Add GtkColorDialog
Add an async API for picking a color, together with
a builder object for it. This is meant to replace direct
use of GtkColorChooserDialog.
Matthias Clasen [Thu, 27 Oct 2022 01:27:24 +0000 (21:27 -0400)]
Add GtkDialogError
This error domain will be used by async apis
in future commits.
Matthias Clasen [Sat, 29 Oct 2022 03:58:50 +0000 (23:58 -0400)]
fontchooser: Add a way to set a GtkFilter
We keep this private, since the chooser apis
are going away. This will be used in GtkFontDialog.
Matthias Clasen [Fri, 28 Oct 2022 19:24:23 +0000 (15:24 -0400)]
messagedialog: Cosmetics
Matthias Clasen [Sat, 29 Oct 2022 02:08:19 +0000 (02:08 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
ci: Try to fix the macos build
See merge request GNOME/gtk!5179
Matthias Clasen [Sat, 29 Oct 2022 01:38:14 +0000 (21:38 -0400)]
ci: Require macos to build again
Matthias Clasen [Sat, 29 Oct 2022 01:03:56 +0000 (21:03 -0400)]
ci: Try to fix the macos build
It seems that libjpeg-turbo first finds nasm,
and then doesn't find it. Turn off simd to keep
it from looking for it in the first place.
Matthias Clasen [Fri, 28 Oct 2022 23:41:03 +0000 (23:41 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
printeroptionwidget: Drop unused include
See merge request GNOME/gtk!5178
Matthias Clasen [Fri, 28 Oct 2022 15:03:36 +0000 (11:03 -0400)]
printeroptionwidget: Drop unused include
Matthias Clasen [Fri, 28 Oct 2022 16:20:18 +0000 (16:20 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
gtk4-demo: Avoid a critical from a11y code
See merge request GNOME/gtk!5177
Matthias Clasen [Fri, 28 Oct 2022 15:59:35 +0000 (11:59 -0400)]
gtk4-demo: Avoid a critical from a11y code
Even though we want to be accessible,
we must not divide by zero.
Emmanuele Bassi [Thu, 27 Oct 2022 17:06:22 +0000 (17:06 +0000)]
Merge branch 'bilelmoussaoui/file-chooser-gi' into 'main'
g-i: Add missing since annotation
See merge request GNOME/gtk!5175
Bilal Elmoussaoui [Thu, 27 Oct 2022 15:38:14 +0000 (15:38 +0000)]
g-i: Add missing since annotation
Matthias Clasen [Wed, 26 Oct 2022 18:22:43 +0000 (18:22 +0000)]
Merge branch 'revert-
9c919ffa462dd4511da0bfd19d36d2e15c51651b-main' into 'main'
Revert "treepopover: Do not propagate natural width of content"
See merge request GNOME/gtk!5171
Mat [Wed, 26 Oct 2022 10:58:10 +0000 (13:58 +0300)]
Revert "treepopover: Do not propagate natural width of content"
This reverts commit
9c919ffa462dd4511da0bfd19d36d2e15c51651b.
Matthias Clasen [Tue, 25 Oct 2022 00:39:57 +0000 (00:39 +0000)]
Merge branch 'ebassi/glade-docs' into 'main'
docs: Remove mentions of Glade
See merge request GNOME/gtk!5168
Emmanuele Bassi [Mon, 24 Oct 2022 19:04:03 +0000 (20:04 +0100)]
docs: Remove mentions of Glade
Glade does not support GTK4, so we should not link to it when discussing
developing GTK4 applications.
Мирослав Николић [Sun, 23 Oct 2022 09:21:30 +0000 (09:21 +0000)]
Update Serbian translation
(cherry picked from commit
b760f57ae1323669348b6bc84c384d24f4b381ff)
Matthias Clasen [Sat, 22 Oct 2022 19:23:45 +0000 (19:23 +0000)]
Merge branch 'deprecation-cleanups' into 'main'
gtk-demo: Replace combo boxes in font features
See merge request GNOME/gtk!5164
Matthias Clasen [Sat, 22 Oct 2022 15:38:46 +0000 (11:38 -0400)]
gtk-demo: Use global style in font_features
Matthias Clasen [Sat, 22 Oct 2022 14:11:28 +0000 (10:11 -0400)]
gtk-demo: Replace combo boxes in font features
This is a slightly more complicated combo box,
so we need an auxiliary object.
Matthias Clasen [Sat, 22 Oct 2022 02:32:23 +0000 (02:32 +0000)]
Merge branch 'deprecation-cleanups' into 'main'
gtk-demo: Remove deprecations from dnd
See merge request GNOME/gtk!5160
Matthias Clasen [Sat, 22 Oct 2022 02:03:17 +0000 (22:03 -0400)]
bloatpad: Stop using a combobox
Replace GtkComboBoxText with GtkDropDown+GtkStringList.
Matthias Clasen [Sat, 22 Oct 2022 01:54:38 +0000 (21:54 -0400)]
fontchooser: Stop using deprecated harfbuzz api
The replacement is very straightforward.
Matthias Clasen [Sat, 22 Oct 2022 01:24:48 +0000 (21:24 -0400)]
gtk-demo: Replace combobox in font rendering
Out with the combobox, in with the dropdown.
Matthias Clasen [Sat, 22 Oct 2022 01:11:46 +0000 (21:11 -0400)]
placesview: Drop deprecation guards
We got rid of all deprecated api here.
Matthias Clasen [Sat, 22 Oct 2022 01:10:39 +0000 (21:10 -0400)]
filechooserwidget: Drop deprecation guards
We got rid of all deprecated api here.
Matthias Clasen [Sat, 22 Oct 2022 01:09:24 +0000 (21:09 -0400)]
filesystemmodel: Drop outdated comments
Drop a long comment describing an implementation
that no longer exists.
Matthias Clasen [Sat, 22 Oct 2022 01:08:27 +0000 (21:08 -0400)]
filesystemmodel: Drop unneded deprecation guards
Nothing deprecated is used here anymore.
Matthias Clasen [Sat, 22 Oct 2022 01:05:03 +0000 (21:05 -0400)]
searchenginemodel: Drop unneeded deprecation guards
Nothing deprecated is used here anymore.
Matthias Clasen [Sat, 22 Oct 2022 00:58:26 +0000 (20:58 -0400)]
gtk-demo: Remove deprecations from characters
Make the characters demo use global style providers.
Matthias Clasen [Sat, 22 Oct 2022 00:49:38 +0000 (20:49 -0400)]
gtk-demo: Remove deprecations from sizegroup demo
Out with the comboboxes, in with the dropdowns.
Matthias Clasen [Fri, 21 Oct 2022 19:48:01 +0000 (15:48 -0400)]
gtk-demo: Remove deprecation from textview demo
Use a dropdown instead of a combobox for the widget
embedding. It's better!
Matthias Clasen [Fri, 21 Oct 2022 19:18:10 +0000 (15:18 -0400)]
gtk-demo: Remove deprecations from gltransitions
Make the GL transitions demo use global style providers.
Matthias Clasen [Fri, 21 Oct 2022 18:41:59 +0000 (14:41 -0400)]
gtk-demo: Remove deprecations from solitaire
Make the solitaire game use global style providers.
Matthias Clasen [Fri, 21 Oct 2022 18:29:38 +0000 (14:29 -0400)]
gtk=demo: Drop unneeded deprecation guards
Nothing deprecated in the pixbuf paintable demo.
Matthias Clasen [Fri, 21 Oct 2022 18:16:38 +0000 (14:16 -0400)]
gtk-demo: Remove deprecations from dnd
Make the dnd demo use global style providers.
Matthias Clasen [Sat, 22 Oct 2022 00:36:26 +0000 (00:36 +0000)]
Merge branch 'wip/corey/file-chooser-popup' into 'main'
filechooserwidget: Fix popup issues
See merge request GNOME/gtk!5161
Corey Berla [Fri, 21 Oct 2022 20:55:10 +0000 (13:55 -0700)]
filechooserwidget: Show popup when clicking on empty space
Add gesture to right click or long press in the empty space
in the FileChooserWidget. Only show the global settings when
clicking on the empty space.
Corey Berla [Fri, 21 Oct 2022 20:53:49 +0000 (13:53 -0700)]
filechoosercell: Select item when right click or long press