Matthias Clasen
8967b2da01
4.9.4
2023-02-12 20:36:13 -05:00
Matthias Clasen
dfb019509d
docs: Document new build options
2023-02-12 20:36:13 -05:00
Matthias Clasen
a770b429ec
Merge branch 'fix-gst-gl-use' into 'main'
...
gstreamer: Fix gl context use
Closes #5586
See merge request GNOME/gtk!5508
2023-02-13 00:41:51 +00:00
Matthias Clasen
7430bd7780
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
2023-02-12 19:29:04 -05:00
Jacob Mealey
272a40a01a
Update TextTag and TextView indent Documentation
...
Change the documentation for both to be in line with Pango documentation
specifically regarding hanging indentation.
2023-02-12 23:12:51 +00:00
Matthias Clasen
f121f607ae
Merge branch 'search_entry_placeholder' into 'main'
...
gtksearchentry: Add getter/setter for placeholder text
See merge request GNOME/gtk!4312
2023-02-12 22:06:36 +00:00
Christopher Davis
ff45145eac
menubutton: Add active
property and getter/setter
...
GtkMenuButton currently does not provide a way to tell
if it's open programmatically. The existing methods,
`popup()` and `popdown()`, do not expose any state
to callers. If someone wanted to know whether or not
a menubutton was open, they needed the popover. Given
that GtkMenuButton can manage the popovers itself,
that's not always an option for app developers.
This commit adds the `active` property and associated
methods, where `gtk_menu_button_set_active ()` replaces
both `gtk_menu_popup ()` and `gtk_menu_popdown ()`.
This addition also mirrors changes in other places,
Such as `GtkWidget:visible` vs `show()`/`hide()`.
2023-02-12 16:47:59 -05:00
Matthias Clasen
83c5f5ff0f
Apply 4 suggestion(s) to 2 file(s)
2023-02-13 06:47:06 +09:00
Alexandros Theodotou
87d21dc5c9
gtksearchentry: Add getter/setter for placeholder text
2023-02-13 06:46:31 +09:00
Matthias Clasen
cef7e6b741
Merge branch 'mark-deprecations' into 'main'
...
docs: Mark various deprecations
See merge request GNOME/gtk!5502
2023-02-12 21:44:00 +00:00
Yuri Chornoivan
84b5e94ffd
Update Ukrainian translation
2023-02-12 17:56:09 +00:00
Matthias Clasen
679d510059
Merge branch 'template-child-dispose-order' into 'main'
...
gtk: Set widget template children to NULL before destroy unref
See merge request GNOME/gtk!4611
2023-02-12 16:36:52 +00:00
Matthias Clasen
0c2b437643
Merge branch 'main' into 'main'
...
Add note about widgets implementing the interface adding the `horizontal`/`vertical` CSS classes
See merge request GNOME/gtk!5391
2023-02-12 16:28:12 +00:00
madmurphy
0764cf0c9c
Add note about widgets implementing the interface adding the horizontal
/vertical
CSS classes
2023-02-12 16:28:12 +00:00
Marco Melorio
2504215459
docs: Mark everything in GtkVolumeButton as deprecated
2023-02-12 17:20:11 +01:00
Marco Melorio
d45db3a961
docs: Mark everything in GtkStatusBar as deprecated
2023-02-12 17:20:11 +01:00
Matthias Clasen
557a1ed879
Merge branch 'no-more-lpr' into 'main'
...
printing: Drop the lpr backend
See merge request GNOME/gtk!5500
2023-02-12 15:29:27 +00:00
Matthias Clasen
c28b6a3ee6
Merge branch 'texture-atlas-crash' into 'main'
...
gl: Avoid a crash in the texture library
Closes #5175
See merge request GNOME/gtk!5501
2023-02-12 15:28:06 +00:00
Marco Melorio
b34c139028
docs: Mark everything in GtkLockButton as deprecated
2023-02-12 16:12:17 +01:00
Matthias Clasen
dd22e2aea9
printing: Drop the lpr backend
...
We want to consolidate and get to fewer print
backends (ideally only one), and the future is cpdb.
2023-02-12 10:10:06 -05:00
Marco Melorio
6e6f2f652c
docs: Mark everything in GtkCellAreaContext as deprecated
2023-02-12 16:09:39 +01:00
Marco Melorio
3aac70f245
docs: Mark everything in GtkAssistant as deprecated
2023-02-12 16:09:25 +01:00
Matthias Clasen
7f3ea15d80
Update POTFILES.in
2023-02-12 10:09:22 -05:00
Matthias Clasen
d3dfdd214f
gl: Avoid a crash in the texture library
...
entry->texture can be NULL, so check before
using it.
Fixes : #5175
2023-02-12 10:01:11 -05:00
Matthias Clasen
b6c3cf4eee
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
2023-02-12 09:56:32 -05:00
Matthias Clasen
157ef1d395
Deprecate GtkVolumeButton
...
Too specialized.
2023-02-12 09:48:49 -05:00
Matthias Clasen
d0263f563a
NEWS: Updates
2023-02-12 09:21:38 -05:00
Matthias Clasen
83b48bb25f
Merge branch 'mask-nodes-rebased' into 'main'
...
gsk: Introduce mask nodes
See merge request GNOME/gtk!5497
2023-02-12 14:11:47 +00:00
Matthias Clasen
81e9eca256
Merge branch 'nacho/scalebutton-active' into 'main'
...
gtkscalebutton: add active property
See merge request GNOME/gtk!5492
2023-02-12 14:01:27 +00:00
Ignacio Casal Quinteiro
44c2d585b8
gtkscalebutton: add active property
2023-02-12 14:01:26 +00:00
Matthias Clasen
348803af7d
Add a mask node demo
2023-02-12 08:35:25 -05:00
Matthias Clasen
c8bfea7aa1
Add a test for mask nodes
2023-02-12 08:35:25 -05:00
Matthias Clasen
8f47e885f0
Add gtk_snapshot_push_mask
2023-02-12 08:35:25 -05:00
Matthias Clasen
a9f50f1f7a
gl: Support mask nodes
...
Add a shader for masking.
2023-02-12 08:35:25 -05:00
Matthias Clasen
0d58e5365d
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.
2023-02-12 08:35:25 -05:00
Ekaterine Papava
d00d4c4475
Update Georgian translation
2023-02-12 12:30:05 +00:00
Piotr Drąg
a6e7c38236
Update POTFILES.in
2023-02-12 13:20:48 +01:00
Matthias Clasen
eee7e59265
Merge branch 'fix_editable_label' into 'main'
...
Remove timeout when disposing GtkEditableLabel
Closes #5584
See merge request GNOME/gtk!5499
2023-02-12 02:55:45 +00:00
Matthias Clasen
c2cb1ffe9e
Merge branch 'wip/wl-dispatch-helper' into 'main'
...
wayland: Add event queue dispatch helper
See merge request GNOME/gtk!5498
2023-02-12 01:01:29 +00:00
Alexandros Theodotou
d918a77d34
Remove timeout when disposing GtkEditableLabel
...
Fixes : #5584
2023-02-12 09:45:07 +09:00
Matthias Clasen
2285ef3824
Merge branch 'scaled-textures' into 'main'
...
Scaled textures
See merge request GNOME/gtk!5488
2023-02-11 22:16:43 +00:00
Jonas Ådahl
b2a2bf819d
wayland/launch-context: Use dispatch helper
...
Otherwise we risk a busy loop if e.g. the pipe broke.
2023-02-11 23:14:53 +01:00
Jonas Ådahl
dd9433b50e
wayland: Add event queue dispatch helper
...
Dispatch failing should always fatal; use a helper to centralize the
error handling everywhere.
2023-02-11 23:13:39 +01:00
Matthias Clasen
67c53e46f9
Add gtk_snapshot_append_scaled_texture
...
This is the snapshot api corresponding to
gsk_texture_scale_node_new.
2023-02-11 15:09:38 -05:00
Matthias Clasen
238e7ec351
Add a test for scaled textures
2023-02-11 15:09:38 -05:00
Matthias Clasen
d916659781
gl: Handle GskTextureScaleNodes
2023-02-11 15:09:38 -05:00
Matthias Clasen
82c02574f1
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.
2023-02-11 15:09:38 -05:00
Matthias Clasen
26e6d2106b
gl: Pass filters down from visit_texture_node
...
For now, we always pass GL_LINEAR.
2023-02-11 15:09:38 -05:00
Matthias Clasen
625ffa2d96
gtk-demo: Add filtering to the zoom demo
2023-02-11 15:09:38 -05:00
Matthias Clasen
dd3eedd510
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.
2023-02-11 15:09:38 -05:00