Benjamin Otte [Tue, 14 Feb 2023 06:18:59 +0000 (07:18 +0100)]
jpeg: Use GdkTexureDownloader when saving
Benjamin Otte [Tue, 14 Feb 2023 06:18:34 +0000 (07:18 +0100)]
pixbuf: Use GdkTextureDownloader when downloading pixbufs
Benjamin Otte [Tue, 14 Feb 2023 06:00:39 +0000 (07:00 +0100)]
gdk: Add GdkTextureDownloader
It's the new object that allows more control about accessing texture
data.
Benjamin Otte [Tue, 14 Feb 2023 05:18:37 +0000 (06:18 +0100)]
memorytexture: Use right size for GBytes
The GBytes were created with the wrong size.
Nobody seems to have looked at it.
Fran Dieguez [Tue, 14 Feb 2023 20:04:07 +0000 (20:04 +0000)]
Update Galician translation
Emmanuele Bassi [Tue, 14 Feb 2023 19:28:36 +0000 (19:28 +0000)]
Merge branch 'gsk-render-node-type-abi-breakage' into 'main'
gsk: Move new 4.10 `GskRenderNodeType`s to the end instead of inserting them in the middle
See merge request GNOME/gtk!5519
Sebastian Dröge [Tue, 14 Feb 2023 18:30:58 +0000 (20:30 +0200)]
gsk: Move new 4.10 `GskRenderNodeType`s to the end instead of inserting them in the middle
Matthias Clasen [Tue, 14 Feb 2023 14:18:29 +0000 (14:18 +0000)]
Merge branch 'kjellahl/clang' into 'main'
gskglrenderjob: Fix compilation with clang
See merge request GNOME/gtk!5516
Hugo Carvalho [Tue, 14 Feb 2023 11:39:50 +0000 (11:39 +0000)]
Update Portuguese translation
Kjell Ahlstedt [Tue, 14 Feb 2023 09:29:25 +0000 (10:29 +0100)]
gskglrenderjob: Fix compilation with clang
Matthias Clasen [Tue, 14 Feb 2023 00:08:39 +0000 (00:08 +0000)]
Merge branch 'texttag_textview_documentation' into 'main'
Update TextTag and TextView indent Documentation
See merge request GNOME/gtk!5507
Matthias Clasen [Tue, 14 Feb 2023 00:03:55 +0000 (00:03 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
gtk-demo: Fix hotspot handling in dnd
See merge request GNOME/gtk!5513
Matthias Clasen [Mon, 13 Feb 2023 23:38:27 +0000 (18:38 -0500)]
gtk-demo: Fix hotspot handling in dnd
We were not remembering the pointer coordinates.
Aurimas Černius [Mon, 13 Feb 2023 21:07:37 +0000 (21:07 +0000)]
Update Lithuanian translation
Sabri Ünal [Mon, 13 Feb 2023 18:08:05 +0000 (18:08 +0000)]
Update Turkish translation
Andre Klapper [Mon, 13 Feb 2023 17:32:03 +0000 (18:32 +0100)]
Fix invalid markup in Belarusian UI translation
Emmanuele Bassi [Mon, 13 Feb 2023 14:50:35 +0000 (14:50 +0000)]
Merge branch 'faq-updates' into 'main'
faq: Some updates
See merge request GNOME/gtk!5512
Matthias Clasen [Mon, 13 Feb 2023 13:54:36 +0000 (08:54 -0500)]
faq: Add a question about parallel UIs
Matthias Clasen [Mon, 13 Feb 2023 13:50:36 +0000 (08:50 -0500)]
faq: Don't number questions
The numbering makes it unnecessarily hard to add
and remove questions, and does not really seem
necessary. Just use bullets.
Matthias Clasen [Mon, 13 Feb 2023 13:37:37 +0000 (08:37 -0500)]
faq: Some updates
Miscellaneous tweaks and changes, after reading
the whole thing.
Matthias Clasen [Mon, 13 Feb 2023 12:41:48 +0000 (12:41 +0000)]
Merge branch 'fix-font-chooser-filter' into 'main'
Fix an assertion in GtkFontChooserWidget when setting a filter.
See merge request GNOME/gtk!5511
Akira TAGOH [Mon, 13 Feb 2023 03:44:15 +0000 (12:44 +0900)]
Fix an assertion in GtkFontChooserWidget when setting a filter.
Kukuh Syafaat [Mon, 13 Feb 2023 02:47:33 +0000 (02:47 +0000)]
Update Indonesian translation
Matthias Clasen [Mon, 13 Feb 2023 02:04:15 +0000 (21:04 -0500)]
Post-release version bump
Matthias Clasen [Mon, 13 Feb 2023 01:33:41 +0000 (20:33 -0500)]
4.9.4
Matthias Clasen [Mon, 13 Feb 2023 01:35:51 +0000 (20:35 -0500)]
docs: Document new build options
Matthias Clasen [Mon, 13 Feb 2023 00:41:51 +0000 (00:41 +0000)]
Merge branch 'fix-gst-gl-use' into 'main'
gstreamer: Fix gl context use
Closes #5586
See merge request GNOME/gtk!5508
Matthias Clasen [Mon, 13 Feb 2023 00:29:04 +0000 (19:29 -0500)]
gstreamer: Fix gl context use
We were not activating the context in which
we want to wait for the fence. This caused
a stream of critical warnings.
Fixes: #5586
Jacob Mealey [Sun, 12 Feb 2023 23:12:51 +0000 (23:12 +0000)]
Update TextTag and TextView indent Documentation
Change the documentation for both to be in line with Pango documentation
specifically regarding hanging indentation.
Matthias Clasen [Sun, 12 Feb 2023 22:06:36 +0000 (22:06 +0000)]
Merge branch 'search_entry_placeholder' into 'main'
gtksearchentry: Add getter/setter for placeholder text
See merge request GNOME/gtk!4312
Matthias Clasen [Sun, 12 Feb 2023 16:41:08 +0000 (16:41 +0000)]
Apply 4 suggestion(s) to 2 file(s)
Alexandros Theodotou [Sat, 1 Jan 2022 20:08:53 +0000 (20:08 +0000)]
gtksearchentry: Add getter/setter for placeholder text
Matthias Clasen [Sun, 12 Feb 2023 21:44:00 +0000 (21:44 +0000)]
Merge branch 'mark-deprecations' into 'main'
docs: Mark various deprecations
See merge request GNOME/gtk!5502
Yuri Chornoivan [Sun, 12 Feb 2023 17:56:09 +0000 (17:56 +0000)]
Update Ukrainian translation
Matthias Clasen [Sun, 12 Feb 2023 16:36:52 +0000 (16:36 +0000)]
Merge branch 'template-child-dispose-order' into 'main'
gtk: Set widget template children to NULL before destroy unref
See merge request GNOME/gtk!4611
Matthias Clasen [Sun, 12 Feb 2023 16:28:12 +0000 (16:28 +0000)]
Merge branch 'main' into 'main'
Add note about widgets implementing the interface adding the `horizontal`/`vertical` CSS classes
See merge request GNOME/gtk!5391
madmurphy [Sun, 12 Feb 2023 16:28:12 +0000 (16:28 +0000)]
Add note about widgets implementing the interface adding the `horizontal`/`vertical` CSS classes
Marco Melorio [Sun, 12 Feb 2023 15:23:16 +0000 (16:23 +0100)]
docs: Mark everything in GtkVolumeButton as deprecated
Marco Melorio [Sun, 12 Feb 2023 15:21:15 +0000 (16:21 +0100)]
docs: Mark everything in GtkStatusBar as deprecated
Matthias Clasen [Sun, 12 Feb 2023 15:29:27 +0000 (15:29 +0000)]
Merge branch 'no-more-lpr' into 'main'
printing: Drop the lpr backend
See merge request GNOME/gtk!5500
Matthias Clasen [Sun, 12 Feb 2023 15:28:06 +0000 (15:28 +0000)]
Merge branch 'texture-atlas-crash' into 'main'
gl: Avoid a crash in the texture library
Closes #5175
See merge request GNOME/gtk!5501
Marco Melorio [Sun, 12 Feb 2023 15:12:17 +0000 (16:12 +0100)]
docs: Mark everything in GtkLockButton as deprecated
Matthias Clasen [Sun, 12 Feb 2023 14:27:01 +0000 (09:27 -0500)]
printing: Drop the lpr backend
We want to consolidate and get to fewer print
backends (ideally only one), and the future is cpdb.
Marco Melorio [Sun, 12 Feb 2023 15:06:11 +0000 (16:06 +0100)]
docs: Mark everything in GtkCellAreaContext as deprecated
Marco Melorio [Sun, 12 Feb 2023 15:01:55 +0000 (16:01 +0100)]
docs: Mark everything in GtkAssistant as deprecated
Matthias Clasen [Sun, 12 Feb 2023 15:09:22 +0000 (10:09 -0500)]
Update POTFILES.in
Matthias Clasen [Sun, 12 Feb 2023 15:01:11 +0000 (10:01 -0500)]
gl: Avoid a crash in the texture library
entry->texture can be NULL, so check before
using it.
Fixes: #5175
Matthias Clasen [Sun, 12 Feb 2023 14:56:32 +0000 (09:56 -0500)]
gl: Maintain state when truncating
When we truncate the command queue because it
is too big, we were messing up our state accounting
and running into criticals as a consequence.
This can be reproduced by opening a well-populated
fishbowl demo in the inspectors recorder.
Fixes: #5188
Matthias Clasen [Sun, 12 Feb 2023 14:48:49 +0000 (09:48 -0500)]
Deprecate GtkVolumeButton
Too specialized.
Matthias Clasen [Sun, 12 Feb 2023 14:21:38 +0000 (09:21 -0500)]
NEWS: Updates
Matthias Clasen [Sun, 12 Feb 2023 14:11:47 +0000 (14:11 +0000)]
Merge branch 'mask-nodes-rebased' into 'main'
gsk: Introduce mask nodes
See merge request GNOME/gtk!5497
Matthias Clasen [Sun, 12 Feb 2023 14:01:27 +0000 (14:01 +0000)]
Merge branch 'nacho/scalebutton-active' into 'main'
gtkscalebutton: add active property
See merge request GNOME/gtk!5492
Ignacio Casal Quinteiro [Sun, 12 Feb 2023 14:01:26 +0000 (14:01 +0000)]
gtkscalebutton: add active property
Matthias Clasen [Sun, 12 Feb 2023 02:38:42 +0000 (21:38 -0500)]
Add a mask node demo
Matthias Clasen [Sun, 12 Feb 2023 03:20:24 +0000 (22:20 -0500)]
Add a test for mask nodes
Matthias Clasen [Sat, 11 Feb 2023 15:06:54 +0000 (10:06 -0500)]
Add gtk_snapshot_push_mask
Matthias Clasen [Sat, 11 Feb 2023 15:38:56 +0000 (10:38 -0500)]
gl: Support mask nodes
Add a shader for masking.
Matthias Clasen [Sat, 11 Feb 2023 13:59:06 +0000 (08:59 -0500)]
gsk: Introduce mask nodes
Add GskMaskNode, and support it in the render node
parser, in the inspector and in GtkSnapshot.
The rendering is just fallback for now.
Based on old work by Timm Bäder.
Ekaterine Papava [Sun, 12 Feb 2023 12:30:05 +0000 (12:30 +0000)]
Update Georgian translation
Piotr Drąg [Sun, 12 Feb 2023 12:20:48 +0000 (13:20 +0100)]
Update POTFILES.in
Matthias Clasen [Sun, 12 Feb 2023 02:55:45 +0000 (02:55 +0000)]
Merge branch 'fix_editable_label' into 'main'
Remove timeout when disposing GtkEditableLabel
Closes #5584
See merge request GNOME/gtk!5499
Matthias Clasen [Sun, 12 Feb 2023 01:01:29 +0000 (01:01 +0000)]
Merge branch 'wip/wl-dispatch-helper' into 'main'
wayland: Add event queue dispatch helper
See merge request GNOME/gtk!5498
Alexandros Theodotou [Sun, 12 Feb 2023 00:28:22 +0000 (09:28 +0900)]
Remove timeout when disposing GtkEditableLabel
Fixes: #5584
Matthias Clasen [Sat, 11 Feb 2023 22:16:43 +0000 (22:16 +0000)]
Merge branch 'scaled-textures' into 'main'
Scaled textures
See merge request GNOME/gtk!5488
Jonas Ådahl [Sat, 11 Feb 2023 22:14:53 +0000 (23:14 +0100)]
wayland/launch-context: Use dispatch helper
Otherwise we risk a busy loop if e.g. the pipe broke.
Jonas Ådahl [Sat, 11 Feb 2023 22:13:39 +0000 (23:13 +0100)]
wayland: Add event queue dispatch helper
Dispatch failing should always fatal; use a helper to centralize the
error handling everywhere.
Matthias Clasen [Sat, 11 Feb 2023 19:20:23 +0000 (14:20 -0500)]
Add gtk_snapshot_append_scaled_texture
This is the snapshot api corresponding to
gsk_texture_scale_node_new.
Matthias Clasen [Sat, 11 Feb 2023 18:43:05 +0000 (13:43 -0500)]
Add a test for scaled textures
Matthias Clasen [Wed, 8 Feb 2023 03:58:47 +0000 (22:58 -0500)]
gl: Handle GskTextureScaleNodes
Matthias Clasen [Sat, 11 Feb 2023 12:46:38 +0000 (07:46 -0500)]
gl: Make texture slicing more flexible
Allow to specify the filtering to use for the slices,
and allow forcing the number of slices. This will be
used in the next commit.
Matthias Clasen [Wed, 8 Feb 2023 00:29:07 +0000 (19:29 -0500)]
gl: Pass filters down from visit_texture_node
For now, we always pass GL_LINEAR.
Matthias Clasen [Wed, 8 Feb 2023 00:21:51 +0000 (19:21 -0500)]
gtk-demo: Add filtering to the zoom demo
Matthias Clasen [Wed, 8 Feb 2023 00:40:47 +0000 (19:40 -0500)]
gtk-demo: Rewrite the zoom demo slightly
Use a texture directly instead of a paintable.
This will be used in the following commit to
introduce filters.
Matthias Clasen [Wed, 8 Feb 2023 12:06:09 +0000 (07:06 -0500)]
nodeparser: Support texture-scale nodes
Matthias Clasen [Wed, 8 Feb 2023 03:52:06 +0000 (22:52 -0500)]
gsk: Introduce GskTextureScaleNode
Matthias Clasen [Sat, 11 Feb 2023 19:56:45 +0000 (19:56 +0000)]
Merge branch 'wip/handle-more-wl-dispatch-failures' into 'main'
wayland: Handle dispatch failing in a couple of more places
See merge request GNOME/gtk!5495
Matthias Clasen [Wed, 8 Feb 2023 00:24:08 +0000 (19:24 -0500)]
gsk: Generate mipmaps when requested
If the min_filter requires it, call
glGenerateMipmap for our textures.
Matthias Clasen [Wed, 8 Feb 2023 00:22:54 +0000 (19:22 -0500)]
gsk: Don't limit filters too much
GL does not allow mipmapping for mag filters,
but it doesn't have a problem with it for min
filters.
Matthias Clasen [Sat, 11 Feb 2023 14:18:42 +0000 (14:18 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
gdkevents.c: Fix up folding
See merge request GNOME/gtk!5496
Matthias Clasen [Wed, 8 Feb 2023 03:33:03 +0000 (22:33 -0500)]
gskrendernodeimpl.c: Use folding
Instead of homegrown markup.
Matthias Clasen [Wed, 8 Feb 2023 03:31:58 +0000 (22:31 -0500)]
gdkevents.c: Fix up folding
The modeline was lost at some point,
and superfluous spacing inserted.
Jonas Ådahl [Sat, 11 Feb 2023 10:42:21 +0000 (11:42 +0100)]
wayland: Handle dispatch failing in a couple of more places
Without doing this, we'll end up with risking GTK processes sitting
eating 100% CPU instead of just exit(1):ing.
Marek Kašík [Fri, 10 Feb 2023 23:10:20 +0000 (23:10 +0000)]
Merge branch 'cpdb' into 'main'
New CPDB print backend for GTK Print Dialog
See merge request GNOME/gtk!4930
tinytrebuchet [Thu, 9 Feb 2023 18:17:02 +0000 (23:47 +0530)]
New CPDB print backend for GTK Print Dialog
The Common Print Dialog Backends (CPDB) concept has GUI-toolkit-independent
backends for each print technology (CUPS, Print to File, cloud printing
services, ...) and each print dialog (GTK, Qt, Chromium, ...) is supposed
to use this backend, so that changes in print technologies can be centrally
and quickly covered by changing the backends and everything new gets available
in all print dialogs.
This commit provides a GTK print dialog backend to add support for the CPDB
concept. It communicates with all installed CPDB backends and so gives support
for all these print technologies to the GTK print dialog.
To make use of CPDB the GTK print dialog is supposed to be installed with this
backend and the 'Print To File' backend, and not any others to prevent printer
duplication.
Emin Tufan Çetin [Fri, 10 Feb 2023 05:57:42 +0000 (05:57 +0000)]
Update Turkish translation
Matthias Clasen [Thu, 9 Feb 2023 19:43:31 +0000 (19:43 +0000)]
Merge branch 'avoid-criticals-tracker' into 'main'
searchengine: Avoid criticals when tracker init failed
See merge request GNOME/gtk!5489
Gaël Bonithon [Thu, 9 Feb 2023 18:26:47 +0000 (19:26 +0100)]
searchengine: Emit a simple warning when tracker init failed
Failure is allowed by nature of GInitable, and this avoids unnecessary
crashing of programs running with G_DEBUG=fatal-criticals.
Gaël Bonithon [Thu, 9 Feb 2023 18:25:04 +0000 (19:25 +0100)]
searchengine: Add missing sanity check
Vasil Pupkin [Wed, 8 Feb 2023 21:48:28 +0000 (21:48 +0000)]
Update Belarusian translation
Matthias Clasen [Tue, 7 Feb 2023 18:48:39 +0000 (18:48 +0000)]
Merge branch 'stop-testing-pixbuf-formats' into 'main'
Drop pixbuf format tests
See merge request GNOME/gtk!5486
Matthias Clasen [Tue, 7 Feb 2023 12:54:22 +0000 (07:54 -0500)]
Drop pixbuf format tests
We have our own loaders for the formats we
always want to support, so we don't need to
check for what gdk-pixbuf supports.
Matthias Clasen [Tue, 7 Feb 2023 12:42:09 +0000 (12:42 +0000)]
Merge branch 'file-dialog-fixes' into 'main'
filedialog: Robustness fixes
See merge request GNOME/gtk!5485
Matthias Clasen [Mon, 6 Feb 2023 21:14:43 +0000 (22:14 +0100)]
filedialog: Robustness fixes
This code was not working well.
Matthias Clasen [Mon, 6 Feb 2023 19:03:45 +0000 (20:03 +0100)]
filechooserportal: Fix an oversight
Sabri Ünal [Mon, 6 Feb 2023 09:19:35 +0000 (09:19 +0000)]
Update Turkish translation
Matthias Clasen [Mon, 6 Feb 2023 06:53:14 +0000 (06:53 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
CONTRIBUTING: Updates
See merge request GNOME/gtk!5483
Matthias Clasen [Mon, 6 Feb 2023 06:34:28 +0000 (07:34 +0100)]
CONTRIBUTING: Updates
Mention matrix instead of irc, and ask
for display/graphics as essential info
in issues.
Piotr Drąg [Sun, 5 Feb 2023 14:22:00 +0000 (15:22 +0100)]
Update Polish translation
Matthias Clasen [Sun, 5 Feb 2023 08:27:09 +0000 (08:27 +0000)]
Merge branch 'rename-openuri-portal' into 'main'
Use a Gtk prefix for dbus-generated code
Closes #5572
See merge request GNOME/gtk!5482
Matthias Clasen [Sun, 5 Feb 2023 07:49:21 +0000 (08:49 +0100)]
Use a Gtk prefix for dbus-generated code
Copying this file from GIO without renaming it
was not the greatest idea in retrospect.
Fixes: #5572