Commit Graph

82985 Commits

Author SHA1 Message Date
Matthias Clasen
60832d8b2e Merge branch 'for-main' into 'main'
Drop accidentally committed files

See merge request GNOME/gtk!8081
2025-01-06 14:36:36 +00:00
Matthias Clasen
1ecdb81bfa Drop accidentally committed files
These snuck into commit a291ca6643.
2025-01-06 09:15:27 -05:00
Matthias Clasen
355a3dc18f Merge branch 'deprecate-home-themes' into 'main'
css: Warn about for ~/.themes

See merge request GNOME/gtk!8067
2025-01-06 12:38:19 +00:00
Matthias Clasen
2f56ddb7f7 Merge branch 'action-keys' into 'main'
Add support for various action keys

See merge request GNOME/gtk!8076
2025-01-06 12:37:42 +00:00
Matthias Clasen
e515f6464e Merge branch 'for-main' into 'main'
Fix a ui file mishap

See merge request GNOME/gtk!8075
2025-01-06 03:27:43 +00:00
Jules Bertholet
d7339c46c7
Add support for various action keys
Add support for the `Cut`, `Copy`, `Paste`,
`Undo`, and `Redo` keys to text views, and
`Find` to the file chooser widget.

These keys can be found on old keyboards,
but they will also be emitted by
custom layouts like [Extend](https://dreymar.colemak.org/layers-extend.html).

Signed-off-by: Jules Bertholet <julesbertholet@quoi.xyz>
2025-01-05 22:17:58 -05:00
Matthias Clasen
71abb40214 Fix a ui file mishap
Translator comments in ui files go in xml comments.

This broke in commit 1519810883.
2025-01-05 21:48:55 -05:00
Matthias Clasen
f8822bab3c Merge branch 'for-main' into 'main'
builder: parse tab arrays and font descriptions

See merge request GNOME/gtk!8074
2025-01-06 02:11:40 +00:00
Matthias Clasen
06c822a447 builder: parse tab arrays and font descriptions
We have widgets with properties that have these types, so parsing
them is useful.

Tests included.
2025-01-05 20:57:53 -05:00
Matthias Clasen
5b378ac77d Merge branch 'buildable-deprecations' into 'main'
Add deprecation warnings for <child>

See merge request GNOME/gtk!8069
2025-01-05 22:27:17 +00:00
Matthias Clasen
e1193a6eee window: Warn about deprecated buildable features
<child> is deprecated for setting child properties

Affected ui files have been updated.
2025-01-05 17:02:06 -05:00
Matthias Clasen
fa17275dd0 windowhandle: Warn about deprecated buildable features
<child> is deprecated for setting child properties
2025-01-05 17:02:06 -05:00
Matthias Clasen
a21de66e25 overlay: Warn about buildable deprecations
child is a property.

Affedcted ui files have been updated.
2025-01-05 17:02:06 -05:00
Matthias Clasen
b80ebf6f45 flowboxchild: Warn about buildable deprecations
Child is a property.
2025-01-05 15:25:12 -05:00
Matthias Clasen
76e9564e5e filefilter: Warn about deprecated buildable features
These can all be set as properties.
2025-01-05 15:25:11 -05:00
Matthias Clasen
b8cb738381 label: Warn about deprecated buildable features
Pango attributes are a property.
2025-01-05 15:25:11 -05:00
Matthias Clasen
f65141df1a entry: Warn about deprecated buildable features
Pango attributes are a property.
2025-01-05 15:25:11 -05:00
Matthias Clasen
1519810883 stringlist: Warn about deprecated buildable features
<items> is deprecated for the items property.

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
cff1010f67 centerbox: Warn about buildable deprecations
start-, center-, end-widget are properties.

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
0a58341f40 viewport: Warn about deprecated buildable features
<child> is deprecated for setting child propertie

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
a9e064218b searchbar: Warn about deprecated buildable features
<child> is deprecated for setting child properties

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
70c765ae97 scrolledwindow: Warn about deprecated buildable features
<child> is deprecated for setting child properties

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
05fd68ed8c headerbar: Warn about buildable deprecations
The title widget is a property.

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
b071064990 revealer: Warn about deprecated buildable features
<child> is deprecated for setting child properties

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
b3d52cd311 popover: Warn about deprecated buildable features
<child> is deprecated for setting child properties

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Matthias Clasen
98bed3561e menubutton: Warn about deprecated buildable features
<child> is deprecated for setting child properties
2025-01-05 15:25:11 -05:00
Matthias Clasen
458560505e button: Warn about deprecated buildable features
<child> is deprecated for setting child properties.

Affected ui files have been updated.
2025-01-05 15:25:11 -05:00
Benjamin Otte
bfb9a2bd73 Merge branch 'udmabuffer-stride-256' into 'main'
testsuite: Align udmabuf stride to 256

See merge request GNOME/gtk!8072
2025-01-05 20:10:45 +00:00
Janne Grunau
d903433315 testsuite: Align udmabuf stride to 256
Aligned stride is necessary for compatibility with GPUs. Recent AMD GPUs
require 256 for non RGB formats. Direct3D 12's RowPitch in
D3D12_SUBRESOURCE_FOOTPRINT requires 256 as well so HW targeting D3D12
will not require a larger alignment.

Fixes: 6cefdfeddd ("testsuite: Fix udmabuf creation")
2025-01-05 19:09:36 +01:00
Matthias Clasen
bfe825fa37 paned: Warn about deprecated buildable features
<child> is deprecated for setting child properties.

Affected ui files have been updated.
2025-01-05 09:58:06 -05:00
Matthias Clasen
a291ca6643 aspectframe: Warn about deprecated buildable features
<child> is deprecated for <property name="child">.
2025-01-05 09:50:16 -05:00
Matthias Clasen
8a18edc604 frame: Warn about deprecated buildable features
<child type="label"> is deprecated for <property name="label-widget">.
2025-01-05 09:50:14 -05:00
Matthias Clasen
077fc992ed expander: Warn about deprecated buildable features
<child type="label"> is deprecated for <property name="label-widget">.

Affected ui files have been updated.
2025-01-05 09:40:25 -05:00
Matthias Clasen
69d532fe97 builder: Add helpers for deprecations 2025-01-04 12:29:00 -05:00
Matthias Clasen
d206f59563 builder-tool: Use the new debug flag
When asked to warn about deprecations, set the GTK_BUILDER_DEBUG
flag.
2025-01-04 12:18:59 -05:00
Matthias Clasen
7918d4b3a6 Add a new builder debug flag
Use GTK_DEBUG=builder to report deprecated GtkBuilder features.
2025-01-04 12:18:59 -05:00
Matthias Clasen
286325879a Rename a debug flag
Change GTK_DEBUG=builder to GTK_DEBUG=builder-trace.
2025-01-04 12:18:59 -05:00
Matthias Clasen
0046fae326 docs: Add a missing debug key
Document GTK_DEBUG=css.
2025-01-04 12:18:59 -05:00
Matthias Clasen
867d178e93 Merge branch 'deprecate-gtkshortcutswindow' into 'main'
Deprecate GtkShortcutsWindow

See merge request GNOME/gtk!8066
2025-01-04 14:58:29 +00:00
Matthias Clasen
8760b95d2e css: Warn about for ~/.themes
With GTK_DEBUG=css, warn if we find the css file in ~/.themes.

This location will be removed from the search path in GTK 5.

Fixes: #6219
2025-01-04 09:54:14 -05:00
Matthias Clasen
4b1575c42c Deprecate GtkShortcutsWindow
This will be replaced by something better in libadwaita.
2025-01-04 07:36:17 -05:00
Matthias Clasen
98466d5df1 Merge branch 'print-no-private' into 'main'
print: Stop using private api for drawing

See merge request GNOME/gtk!8065
2025-01-04 01:37:22 +00:00
Matthias Clasen
f9f9e6e744 Cosmetics 2025-01-03 20:07:54 -05:00
Matthias Clasen
a2dc3c9cfd print: Stop using private api for drawing
This code will eventually live outside GTK, so using private
api in the drawing code isn't acceptable.
2025-01-03 20:06:14 -05:00
Matthias Clasen
32aaa6660a Merge branch 'for-main' into 'main'
theme: Restore theming for print collation

See merge request GNOME/gtk!8064
2025-01-03 23:08:10 +00:00
Matthias Clasen
b837847128 Merge branch 'amolenaar/macos-default-actions' into 'main'
macos: Provide Edit menu with actions for undo/copy/paste

Closes #6829

See merge request GNOME/gtk!7906
2025-01-03 22:23:06 +00:00
Matthias Clasen
4cc9f6e8d0 theme: Restore theming for print collation
This was lost when the collation illustration was turned into
widgets a while ago.
2025-01-03 17:21:06 -05:00
Matthias Clasen
a0d1403084 Merge branch 'ctrl-a-in-a-label' into 'main'
Fix Ctrl-A in GtkLabel

See merge request GNOME/gtk!8063
2025-01-03 17:18:10 +00:00
Matthias Clasen
9e44cfbd21 Fix Ctrl-A in GtkLabel
The event should not propagate further after it has been handled.

Related: #7234
2025-01-03 11:51:45 -05:00
Matthias Clasen
cb4b0bbe3e Merge branch 'ctrl-a-in-text' into 'main'
Fix Ctrl-A in GtkText

Closes #7234

See merge request GNOME/gtk!8062
2025-01-03 15:45:21 +00:00