Matthias Clasen
51e440fa03
Merge branch 'fix-asan-ifunc' into 'main'
...
Fix fp16 with asan
See merge request GNOME/gtk!6153
2023-06-27 19:55:28 +00:00
Matthias Clasen
d82fb6f20a
Fix fp16 with asan
...
The IFUNC resolvers that we are using here get
run early, before asan had a chance to set up its
plumbing, and therefore things go badly if they
are compiled with asan. Turning it off makes things
work again.
The gcc bug tracking this problem:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110442
Thanks to Jakub Jelinek and Florian Weimer for
analyzing this and recommending the workaround.
2023-06-27 15:17:56 -04:00
Matthias Clasen
44de6a6cbe
Merge branch 'wip/sadiq/fix-use-after-free' into 'main'
...
gldriver: Fix a possible use-after-free
See merge request GNOME/gtk!6151
2023-06-27 18:46:28 +00:00
Mohammed Sadiq
64e27cd87d
gldriver: Fix a possible use-after-free
...
g_hash_table_insert() frees the given key if it already exists
in the hashtable. But since we use the same pointer in the
following line, it will result in use-after-free.
So instead, insert the key only if it doesn't exist.
2023-06-27 22:45:07 +05:30
Benjamin Otte
60e75f8a2a
Merge branch 'wip/otte/for-vulkan' into 'main'
...
vulkan: Generate vertex array headers from shaders
See merge request GNOME/gtk!6149
2023-06-27 16:20:29 +00:00
Matthias Clasen
57eda94dde
Merge branch 'matthiasc/for-main' into 'main'
...
gtk4-builder-tool: Fix naming
See merge request GNOME/gtk!6150
2023-06-27 11:24:08 +00:00
Matthias Clasen
723fb6c8be
gtk4-builder-tool: Fix naming
...
We install the tool as gtk4-builder-tool, so that
is what it should call itself.
String change.
2023-06-27 07:09:04 -04:00
Benjamin Otte
6c85ed1ba1
vulkan: Generate vertex array headers from shaders
...
The script is pretty dumb but it does its job.
2023-06-27 07:11:48 +02:00
Benjamin Otte
2e58274f23
vulkan: Rename crossfade => cross-fade
...
Preparation for the future.
2023-06-27 06:46:57 +02:00
Benjamin Otte
4ade0afe03
vulkan: Rename blendmode to blend-mode
...
Preparation for future changes, nothing to see here.
2023-06-27 06:46:57 +02:00
Benjamin Otte
93fb45c689
Merge branch 'wip/otte/vulkan-for-main' into 'main'
...
vulkan: Add a pipeline cache
See merge request GNOME/gtk!6148
2023-06-26 18:52:48 +00:00
Benjamin Otte
684a015c98
vulkan: Add a pipeline cache
...
Make the display handle the cache, because we only need one.
We store the cache in
$CACHE_DIR/gtk-4.0/vulkan-pipeline-cache/$UUID.$VERSION
so we regenerate caches for each different device (different UUID) and
each different driver version.
We also keep track of the etag of the cache file, so if 2 different
applications update the cache, we can detect that.
Vulkan allows merging caches, so the 2nd app reloads the new cache file
and merges it into its cache before saving.
2023-06-26 20:28:11 +02:00
Matthias Clasen
f7fcd2e425
Merge branch 'main' into 'main'
...
Add settable search match mode in dropdown
See merge request GNOME/gtk!6146
2023-06-26 18:18:14 +00:00
Matthias Clasen
c6c637fe21
Merge branch 'matthiasc/for-main' into 'main'
...
buildertool: Make render an alias for screenshot
See merge request GNOME/gtk!6147
2023-06-26 15:38:32 +00:00
Matthias Clasen
33fc4d6495
buildertool: Make render an alias for screenshot
...
Its a more neutral name and will align better with
other tools.
2023-06-26 10:58:35 -04:00
al_SeveR
33ff927522
Add settable search match mode in dropdown
2023-06-26 14:14:39 +00:00
Leônidas Araújo
2d39cdbff8
Update Brazilian Portuguese translation
...
(cherry picked from commit 98a2aae5ac
)
2023-06-26 13:08:53 +00:00
Daniel Boles
8d675810e8
GtkText: Link to descendents/monospace
CSS nodes
...
Change the descendent classes from `monospace`-without-links to links.
Add `monospace` around the names of CSS nodes and classes for clarity.
2023-06-26 13:05:39 +01:00
Matthias Clasen
8b25481c26
widget-factory: Set a11y labels on scale buttons
...
Just to check that this works now.
2023-06-25 22:28:23 -04:00
Ekaterine Papava
5fdf96f496
Update Georgian translation
2023-06-25 13:39:03 +00:00
Matthias Clasen
b61991a023
Merge branch 'gtkstack_fix_pages_param_check' into 'main'
...
stack: fix pages list bounds check
See merge request GNOME/gtk!6141
2023-06-24 12:08:18 +00:00
G.Willems
91d302a201
stack: fix pages list bounds check
...
Fix integer underflow when children->len is 0.
Add missing bounds check in select_item()
2023-06-24 03:05:37 +02:00
Matthias Clasen
35a1a62d50
Merge branch 'ebassi/builder-docs' into 'main'
...
docs: Clean up section on UI definitions
See merge request GNOME/gtk!6139
2023-06-23 23:45:05 +00:00
Matthias Clasen
ac7a4cb94c
Merge branch 'wip/chergert/gdatetime-from-gtkbuilder' into 'main'
...
builder: add support for parsing GDateTime
See merge request GNOME/gtk!6140
2023-06-23 23:43:28 +00:00
Christian Hergert
bacd7ef92f
builder: add support for parsing GDateTime
...
This will parse a <property/> containing the ISO 8601 format for a date
for use in GDateTime properties. For example:
<property name="sampled-at">2023-06-23T00:00:00.00</property>
2023-06-23 14:11:37 -07:00
Emmanuele Bassi
980dc44f4a
docs: Clean up section on UI definitions
...
The current documentation is narrative, but it lacks examples and proper
formatting, which makes it harder to read and visually scan.
Let's split off paragraphs and sections, so they can be easily linkend,
and add a few examples for each description.
2023-06-23 14:31:57 +01:00
Daniel Boles
2d648f84a9
docs/ref/gtk/running: Mention GDK_DEBUG=no-portals
...
It was omitted from !5336
2023-06-23 14:24:47 +01:00
Daniel Boles
aef0943f61
FileDialog: Fix typos of "inital" to "initial"
2023-06-23 13:50:53 +01:00
Matthias Clasen
3e146171cb
Merge branch 'dboles/FileDialog_initial-folder_from_initial-file' into 'main'
...
Fix FileDialog: initial-file doesnʼt set initial-folder
See merge request GNOME/gtk!6137
2023-06-23 01:14:15 +00:00
Matthias Clasen
24bbaceaa4
Merge branch 'always-more-a11y-fixes' into 'main'
...
scalebutton: Use the group role
See merge request GNOME/gtk!6138
2023-06-23 01:06:57 +00:00
Matthias Clasen
318cf132e9
a11y: Extend the nested button hack to volume buttons
2023-06-22 18:37:10 -04:00
Matthias Clasen
8bbc143ed1
scalebutton: Use the group role
...
This is needed for accessible labels to work.
2023-06-22 18:36:39 -04:00
Daniel Boles
220d130c0f
FileDialog: initial-file didnʼt set initial-folder
...
We always set :initial-folder to NULL and then notified about that,
instead of setting it to the folder of the :initial-file as we say.
2023-06-22 22:33:14 +01:00
Jordi Mas
e28a32a7c7
Update Catalan translation
2023-06-22 21:00:28 +02:00
Matthias Clasen
88f8b77d77
Merge branch 'matthiasc/for-main' into 'main'
...
docs: Mention GtkAccessibleRange
See merge request GNOME/gtk!6136
2023-06-22 02:40:08 +00:00
Matthias Clasen
1066374909
docs: Mention GtkAccessibleRange
...
In the accessibility docs about custom widgets,
mention GtkAccessibleRange as the best way to
implement custom range widgets.
2023-06-21 22:15:59 -04:00
Matthias Clasen
34a2595dfb
Merge branch 'more-a11y-fixes' into 'main'
...
widget: Don't let abstract role slip through
See merge request GNOME/gtk!6135
2023-06-22 00:47:03 +00:00
Matthias Clasen
76fcd5cf25
Add another a11y test
...
This one catches the lingering 'widget' role
that only happens when widgets are realized
and rooted.
2023-06-21 19:55:46 -04:00
Matthias Clasen
32e6ed4eca
a11y: Use group role for color and font buttons
...
This is needed since generic does not allow naming.
2023-06-21 19:55:46 -04:00
Matthias Clasen
2983c0be70
widget: Don't let abstract role slip through
...
When there isn't an accessible role set on the
instance or in class_init, we want to default
to 'generic'. There was one place where we
failed to do so.
2023-06-21 16:18:33 -04:00
Matthias Clasen
e0bf6585de
Cosmetics: typo fix
2023-06-21 16:18:33 -04:00
Daniel Boles
c045b0be4c
Settings: prop typo => "No description available."
...
Fix the typo so that we'll actually get documentation for
gtk-entry-select-on-focus.
2023-06-21 20:48:17 +01:00
Matthias Clasen
d8c094944a
Merge branch 'more-a11y-fixes' into 'main'
...
a11y: Don't forget to space-separate computed names
See merge request GNOME/gtk!6134
2023-06-21 18:52:35 +00:00
Matthias Clasen
510bf86268
Add another a11y test
...
Test that roles come out right for custom widgets.
2023-06-21 14:24:52 -04:00
Matthias Clasen
f3bea027a0
Dropdown: Explicitly set a role
...
For some reason I haven't been able to track down,
the listitemwidget comes up wit the abstract widget
role otherwise.
2023-06-21 14:17:52 -04:00
Matthias Clasen
bce3b6f34a
aboutdialog: Fix roles one more time
...
We are more picky about generic, so use group.
2023-06-21 13:47:59 -04:00
Matthias Clasen
01274dfbb9
shortcutswindow: Fix up roles and labels again
2023-06-21 13:18:58 -04:00
Matthias Clasen
533a2cf9ec
a11y: Don't forget to space-separate computed names
...
This was overlooked in one place.
2023-06-21 13:18:07 -04:00
Luca Bacci
43af0ee514
Define this_module with (void) argument
...
Fixes a compiler warning about K&R (old-style) function definition
2023-06-21 16:18:40 +02:00
Luca Bacci
3912d6aba9
GdkWin32: Fix keyboard state for WinPointer input
...
The dwKeyStates field of the POINTER_INFO structure
is always set to 0, no matter what. Use GetKeyState
instead.
Forward-port of !4327 to GTK4
2023-06-21 16:18:01 +02:00