Matthias Clasen
730593fab5
Merge branch 'texttag_textview_documentation' into 'main'
...
Update TextTag and TextView indent Documentation
See merge request GNOME/gtk!5507
2023-02-14 00:08:39 +00:00
Akira TAGOH
4532c3020b
Fix an assertion in GtkFontChooserWidget when setting a filter.
2023-02-13 12:49:02 +09: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
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
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
Marco Melorio
b34c139028
docs: Mark everything in GtkLockButton as deprecated
2023-02-12 16:12:17 +01: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
157ef1d395
Deprecate GtkVolumeButton
...
Too specialized.
2023-02-12 09:48:49 -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
Ignacio Casal Quinteiro
44c2d585b8
gtkscalebutton: add active property
2023-02-12 14:01:26 +00:00
Matthias Clasen
8f47e885f0
Add gtk_snapshot_push_mask
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
Alexandros Theodotou
d918a77d34
Remove timeout when disposing GtkEditableLabel
...
Fixes : #5584
2023-02-12 09:45:07 +09: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
b937c19dd4
gsk: Introduce GskTextureScaleNode
2023-02-11 15:09:38 -05:00
Gaël Bonithon
6215b38e64
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.
2023-02-09 19:46:30 +01:00
Gaël Bonithon
41490f9624
searchengine: Add missing sanity check
2023-02-09 19:25:04 +01:00
Matthias Clasen
f8321029fc
filedialog: Robustness fixes
...
This code was not working well.
2023-02-06 23:16:17 +01:00
Matthias Clasen
f83cab01ec
filechooserportal: Fix an oversight
2023-02-06 20:28:35 +01:00
Matthias Clasen
190d8ef8ff
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
2023-02-05 09:09:22 +01:00
Matthias Clasen
7e07d63a6c
Merge branch 'ebassi/stack-at-context' into 'main'
...
a11y: Clear the GtkATContext in a single step
See merge request GNOME/gtk!5477
2023-02-04 12:37:20 +00:00
Matthias Clasen
e94dae8536
Merge branch 'rgba-free-checked' into 'main'
...
gtktextview: Avoid calling gdk_rgba_free for NULL values
See merge request GNOME/gtk!5474
2023-02-04 07:48:24 +00:00
Emmanuele Bassi
341ecab41a
a11y: Clear the GtkATContext in a single step
...
There's no need to unrealize the GtkATContext inside dispose() and then
drop its reference inside finalize().
2023-02-03 17:11:22 +01:00
Marco Trevisan (Treviño)
9eac7ed8b9
gtktextview: Avoid calling gdk_rgba_free for NULL values
...
Related to glib#2908
2023-02-03 16:41:56 +01:00
Lukáš Tyrychtr
11d235d165
a11y: Simplify GtkAccessible implementation for editables
...
This commit implements the idea brought up in #5032 , and provides a
simple function for GtkEditable implementations using a delegate object.
The accessible state is proxied from the outher GtkEditable to the
delegate.
2023-02-03 16:08:06 +01:00
Matthias Clasen
b710df6f45
Merge branch 'file-chooser-context-menu' into 'main'
...
filechooser: Fix context menus
Closes #5554
See merge request GNOME/gtk!5472
2023-02-03 13:39:21 +00:00
Matthias Clasen
50998b0ee9
Merge branch 'drag-icon-robustness' into 'main'
...
dragicon: Handle files without info
See merge request GNOME/gtk!5460
2023-02-03 13:19:26 +00:00
Matthias Clasen
92c2c68c7b
filechooser: Fix context menus
...
We only want to show the file list context menu
when we are over the file list.
Fixes : #5554
2023-02-03 14:17:34 +01:00
Matthias Clasen
460bf6d8b9
inspector: Show if accessibles aren't realized
...
This prevents confusion and makes it clear
what is going on.
2023-02-03 11:49:17 +01:00
Emmanuele Bassi
a0dff87c86
a11y: Documentation and code style fixes
2023-02-03 11:49:17 +01:00
Emmanuele Bassi
3015b9f120
a11y: Fix get_bounds() implementation
...
Don't allocate graphene_rect_t, and fix the size retrieval.
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
01549e3c91
Take the widget transform into account when computing the bounds for a11y
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
bc48bfc2b6
a11y: Use a DOM-like API for iterating accessible objects
...
The `get_child_at_index()` API model comes from AT-SPI, and it's not an
efficient design, especially when coupled with large widgets.
Replace `get_child_at_index()` with `get_first_accessible_child()` and
`get_next_accessible_sibling()`.
That allows efficiently retrieving all the children, simplifies the
implementation of GtkAccessible in GtkWidget and closely resembeles the
GtkWidget API.
Getting the last child and previous sibling for iterating backwards is
not a part of the interface at the moment, but they can be added at a
later date.
Note that this change required tracking the next stack page in
GtkStackPage.
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
6100258ba2
a11y: Rename GtkAccessible.get_parent
...
Avoid a collision when the type implementing the GtkAccessible interface
already has a `get_parent()` method—like GtkWidget.
2023-02-03 11:49:17 +01:00
Emmanuele Bassi
e083bd7920
Apply trivial review suggestions
2023-02-03 11:49:17 +01:00
Emmanuele Bassi
e915546b44
Add versioned symbol annotations
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
b6cfe35940
Style fixes
...
Documentation and coding style updates.
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
4cd9fd9b15
stack: Use a pointer array for children
...
Reduce our dependency on linked lists; pointer arrays are better at
cache locality.
Additionally, we can avoid quadratic behaviors when finding a child at a
given index.
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
6f8cab0e9d
Style fix
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
6eb9161906
Improve documentation
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
d13695f586
a11y: Implement new GtkAccessible vfuncs in GtkStack
...
Implement the virtual a11y children for GtkStack.
2023-02-03 11:49:17 +01:00
Lukáš Tyrychtr
749919c551
Update API docs
2023-02-03 11:49:17 +01:00