Matthias Clasen
304f1e43af
Merge branch 'matthiasc/for-main' into 'main'
...
Add new printf patterns to make-pot
See merge request GNOME/gtk!5188
2022-11-08 15:23:03 +00:00
Matthias Clasen
901c968b97
Merge branch 'fix-color-dialog-button-new' into 'main'
...
colordialogbutton: Actually accept NULL
Closes #5321
See merge request GNOME/gtk!5202
2022-11-07 14:51:34 +00:00
Matthias Clasen
2c6ac137a3
gtk-demo: Improve language handlng
...
In the font features demo, don't add a
item for the default language to the dropdown,
that does not make sense.
2022-11-07 15:42:38 +01:00
Matthias Clasen
5bd264d532
gtk-demo: Add a few mssing language names
2022-11-07 15:42:38 +01:00
Matthias Clasen
e908a117a9
gtk4-demo: Tweak the pickers demo
...
Redo the file picker a bit.
2022-11-07 15:42:38 +01:00
Matthias Clasen
14a97accf1
po: Match make-pot
...
We are not normally using the gtk40-pot target to
generate the gtk40.pot file. On the off chance that
somebody does, lets make sure we pass the same
arguments to xgettext here as in the make-pot script
that is used on damn lies.
2022-11-07 15:42:38 +01:00
Matthias Clasen
e619d45ddc
Add a test for picker button constructors
...
This turns out to be hard enough that a test
is useful.
2022-11-07 15:32:51 +01:00
Matthias Clasen
e00b96053b
colordialogbutton: Actually accept NULL
...
As pointed out in #5321 , my previous fix was not
good enough.
Fixes : #5321
2022-11-07 15:24:13 +01:00
Matthias Clasen
18ee4d97fc
Merge branch 'fix-color-button-new' into 'main'
...
color/fontdialogbutton: Fix constructors
Closes #5321
See merge request GNOME/gtk!5199
2022-11-06 13:36:49 +00:00
Matthias Clasen
466db31aac
color/fontdialogbutton: Fix constructors
...
The arguments were meant to be nullable.
Make it so!
Fixes : #5321
2022-11-06 14:12:02 +01:00
Balázs Úr
06409cf18f
Update Hungarian translation
2022-11-05 22:21:06 +00:00
Goran Vidović
0041329f4d
Update Croatian translation
2022-11-05 18:55:57 +00:00
Matthias Clasen
d1c943153c
Merge branch 'make-pot-update' into 'main'
...
Add new printf patterns to make-pot
See merge request GNOME/gtk!5197
2022-11-05 10:50:51 +00:00
Matthias Clasen
baac6ef871
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.
2022-11-05 11:23:53 +01:00
Luca Bacci
b209e5117d
Merge branch 'gdk-win32-settings-rework' into 'main'
...
GdkWin32 settings rework
See merge request GNOME/gtk!5193
2022-11-04 16:00:25 +00:00
Luca Bacci
440929daea
GdkWin32: Add more GDK_NOTE calls for settings
2022-11-04 16:11:27 +01:00
Luca Bacci
1506de5669
GdkWin32: Set the "gtk-hint-font-metrics" property
...
Helps for https://gitlab.gnome.org/GNOME/gtk/-/issues/5257
2022-11-04 16:03:11 +01:00
Luca Bacci
41f9f1d623
GdkWin32: Set the "gtk-cursor-blink" setting
2022-11-04 15:57:25 +01:00
Luca Bacci
24047d7f61
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.
2022-11-04 15:56:20 +01:00
Luca Bacci
45681c4fe5
GdkWin32: Detect the high contrast setting
...
And set the theme name accordingly ("Default-hc")
2022-11-04 15:54:02 +01:00
Luca Bacci
95c121b6d6
GdkWin32: Fix leak of screen HDC
2022-11-04 15:41:11 +01:00
Luca Bacci
6b569afdfe
GdkWin32: Remove special-casing for old Pango versions
...
We require Pango 1.50 now
2022-11-04 15:35:04 +01:00
Luca Bacci
429017ad16
GdkWin32: Remove old code
2022-11-04 15:31:40 +01:00
Luca Bacci
fe1d86f23c
GdkWin32: Sort settings alphabetically
2022-11-04 15:30:12 +01:00
Sabri Ünal
a272887c34
Update Turkish translation
2022-11-02 06:06:38 +00:00
Nathan Follens
c4c9a44d7a
Update Dutch translation
...
(cherry picked from commit 381c056070
)
2022-11-01 23:10:53 +00:00
Matthias Clasen
9c5ba5544e
Post-release version bump
2022-10-31 22:22:06 -04:00
Matthias Clasen
0af8d7cf06
4.9.1
2022-10-31 22:07:15 -04:00
Matthias Clasen
fcf00391b4
Merge branch 'matthiasc/for-main' into 'main'
...
Revert "modules: Fix build on Visual Studio"
See merge request GNOME/gtk!5187
2022-11-01 01:09:51 +00:00
Matthias Clasen
16b95939f9
gdk: Bump the jpeg malloc limit
...
Bump the limit for memory use during jpeg loading
to 1GB, matching what gdk-pixbuf has for this.
2022-10-31 20:35:15 -04:00
Matthias Clasen
0a6f3944a0
Revert "modules: Fix build on Visual Studio"
...
This reverts commit acd9c12667
.
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.
2022-10-31 20:20:32 -04:00
Matthias Clasen
1a8ff606f2
Merge branch 'matthiasc/for-main' into 'main'
...
Be consistent in preconditions for async API
See merge request GNOME/gtk!5186
2022-10-31 21:15:10 +00:00
Matthias Clasen
030e8c0bf9
Be consistent in preconditions for async API
...
Do the same checks in all our finish functions.
2022-10-31 16:40:54 -04:00
Aleksandr Melman
4b29972d31
Update Russian translation
2022-10-31 12:30:25 +00:00
Matthias Clasen
d1bff928f6
Merge branch 'ebassi/since-for-main' into 'main'
...
Ebassi/since for main
See merge request GNOME/gtk!5185
2022-10-30 23:22:19 +00:00
Emmanuele Bassi
d665b0e042
docs: Add missing Deprecated annotations
2022-10-30 20:08:39 +00:00
Emmanuele Bassi
37fadb20a9
docs: Add missing Since annotations
2022-10-30 20:08:21 +00:00
Matthias Clasen
1c3f179a20
Merge branch 'matthiasc/for-main' into 'main'
...
alertdialog: Small refactoring
See merge request GNOME/gtk!5184
2022-10-30 13:29:35 +00:00
Matthias Clasen
5cb84afaa9
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.
2022-10-30 08:52:02 -04:00
Matthias Clasen
a36bf22134
alertdialog: Small refactoring
...
Move the deprecated code out into its own function.
2022-10-30 08:52:02 -04:00
Piotr Drąg
8ef8514036
Update POTFILES.in
2022-10-30 12:34:21 +01:00
Matthias Clasen
c1b1e96a9a
Merge branch 'deprecate-gtkdialog2' into 'main'
...
Deprecate GtkDialog
See merge request GNOME/gtk!5182
2022-10-29 20:39:18 +00:00
Matthias Clasen
9948053cd7
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.
2022-10-29 15:27:53 -04:00
Matthias Clasen
f1af8046d0
Merge branch 'matthiasc/for-main' into 'main'
...
Docs updates
See merge request GNOME/gtk!5180
2022-10-29 19:22:50 +00:00
Matthias Clasen
8324a93c73
Update docs
...
Mention new deprecations in the future migration guide.
2022-10-29 14:14:59 -04:00
Matthias Clasen
251dcc2f86
Merge branch 'async-dialog-api2' into 'main'
...
Add new async APIs to replace chooser dialogs
See merge request GNOME/gtk!5174
2022-10-29 17:52:13 +00:00
Matthias Clasen
2ca168d680
NEWS: Updates
2022-10-29 13:31:41 -04:00
Matthias Clasen
f54ab91ff3
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.
2022-10-29 13:31:41 -04:00
Matthias Clasen
66b062a976
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.
2022-10-29 13:31:41 -04:00
Matthias Clasen
15572b0183
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.
2022-10-29 13:31:41 -04:00