Sabri Ünal
d4e2f23287
Update Turkish translation
2022-09-18 08:21:42 +00:00
Baurzhan Muftakhidinov
332bd868f5
Update Kazakh translation
2022-09-18 04:56:54 +00:00
Matthias Clasen
3a941eff4a
4.8.1
2022-09-16 12:29:33 -04:00
Matthias Clasen
65adcec82f
Merge branch 'detect-stylus' into 'main'
...
Recognize "stylus" devices as GDK_SOURCE_PEN
Closes #4394
See merge request GNOME/gtk!4776
2022-09-16 12:12:37 +00:00
Matthias Clasen
ffb6f39715
Merge branch 'fix-filetransfer-mimetype' into 'main'
...
portal: Use the right mimetype for file transfers
Closes #5182
See merge request GNOME/gtk!5033
2022-09-16 00:35:13 +00:00
Matthias Clasen
9a16269747
Merge branch 'wip/abono/gtk-main-remove-condition' into 'main'
...
gtk/main: Remove condition that always evaluates TRUE
See merge request GNOME/gtk!5031
2022-09-15 19:24:04 +00:00
Matthias Clasen
32f55a74b0
portal: Use the right mimetype for file transfers
...
The filetransfer protocol says to use
application/vnd.portal.filetransfer, but I used
application/vnd.portal.files when I implemented the
protocol. Oops.
This commit dds the correct mimetype, but we still
support the old one to preserve interoperatibility
with existing flatpaks using GTK 4.6.
Fixes : #5182
2022-09-15 15:18:17 -04:00
Alessandro Bono
5320acf589
gtk/main: Remove condition that always evaluates TRUE
2022-09-15 16:44:44 +02:00
Benjamin Otte
b9b2ac2ce3
Merge branch 'wip/coreyberla/gridview-rubberband' into 'main'
...
gridview: Fix rubberbanding from negative x coordinates
Closes nautilus#2492
See merge request GNOME/gtk!5030
2022-09-14 18:48:11 +00:00
Corey Berla
ad041fc5d4
gridview: Fix rubberbanding from negative x coordinates
...
This is a follow-up to 1e9a36ffa8
. For GridView
we also need to make sure that we aren't rubberbanding below x=0 which
causes unexpected rubberbanding behavior.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2492
2022-09-14 11:27:52 -07:00
Matthias Clasen
952f85c12d
Merge branch 'single-key-compose' into 'main'
...
input: Accept short compose sequences
Closes #5172
See merge request GNOME/gtk!5026
2022-09-13 10:24:49 +00:00
Matthias Clasen
72d6241c84
Add a test for short compose sequences
...
Add a table that has a short sequence
to verify that we can parse this.
2022-09-12 22:30:47 -04:00
Matthias Clasen
aac3f1860f
Update test results
...
The table sizes change, even though none of our
test tables include short sequences.
2022-09-12 22:30:47 -04:00
Matthias Clasen
6be27682a8
Regenerate builtin sequences
...
The table format has changed.
2022-09-12 22:30:47 -04:00
Matthias Clasen
8931169e00
input: Accept short compose sequences
...
Some of the X keyboard layouts use compose
sequences of length one to make individual
keys generate multiple Unicode characters.
To support this use case, change the index
part of the table format to also include
an offset for length 1. Bump the table
version to indicate this change.
Fixes : #5172
2022-09-12 22:30:47 -04:00
Matthias Clasen
72785c68d6
Cosmetics: Fix a typo
2022-09-12 12:01:30 -04:00
Boyuan Yang
5c831d030a
Update Chinese (China) translation
2022-09-11 19:24:40 +00:00
Jordi Mas
f17a924e7b
Update Catalan translation
2022-09-11 14:32:27 +02:00
Matthias Clasen
2e542d8cae
Merge branch 'misc-gl-fixes' into 'main'
...
gsk: Make glyph upload more similar to icons
See merge request GNOME/gtk!4074
2022-09-10 20:09:28 +00:00
Matthias Clasen
511a4ec475
gsk: Make glyph upload more similar to icons
...
When uploading glyphs to the atlas, clear
the padding bytes so that no dirt remains there.
2022-09-10 15:25:59 -04:00
Matthias Clasen
b76a2e44ba
Merge branch 'matthiasc/for-main' into 'main'
...
clang-format: This did not work
See merge request GNOME/gtk!5021
2022-09-10 18:51:14 +00:00
Matthias Clasen
d28b94f0cb
clang-format: This did not work
...
I thought AlignConsecutiveDeclarations would
align function parameters, but it doesn't.
So drop it again.
2022-09-10 14:35:40 -04:00
Cheng-Chia Tseng
c4766b2747
Update Chinese (Taiwan) translation
2022-09-10 09:09:29 +00:00
Matthias Clasen
98bdf67468
Merge branch 'game-sounds' into 'main'
...
gtk-demo: Make losing games hurt
See merge request GNOME/gtk!5017
2022-09-10 00:32:45 +00:00
Emmanuele Bassi
dca57bebb7
Merge branch 'a11y-state-changes' into 'main'
...
a11y: Be safe against state type changes
See merge request GNOME/gtk!5018
2022-09-10 00:04:03 +00:00
Matthias Clasen
de9a5f94c2
Merge branch 'less-fetching-in-ci' into 'main'
...
ci: Improve style check script
See merge request GNOME/gtk!5020
2022-09-10 00:02:41 +00:00
Matthias Clasen
659a129f81
Merge branch 'clang-format-improvement' into 'main'
...
ci: Improve clang-format style
See merge request GNOME/gtk!3770
2022-09-09 23:59:49 +00:00
Matthias Clasen
0c8bdf2ac2
ci: Improve clang-format style
...
Add
AlignConsecutiveDeclarations: true
PointerAlignment: Right
which will produce the style we want with llvm 13.
2022-09-09 19:43:27 -04:00
Matthias Clasen
3d2dcb437c
ci: Improve style check script
...
Only fetch the two branches we are about to
compare, and use existing git merge-base to
find the common ancestor.
2022-09-09 19:41:42 -04:00
Emmanuele Bassi
22de54a9dc
Merge branch 'ebassi/style-check' into 'main'
...
ci: Re-sync the style check with GLib
See merge request GNOME/gtk!5019
2022-09-09 23:30:38 +00:00
Matthias Clasen
4b5ed886ce
ci: Fix the git usage in scripts
...
Thanks, git.
2022-09-10 00:16:12 +01:00
Emmanuele Bassi
821dd26934
ci: Move style check to its own stage
...
Drop the `.pre` phase.
2022-09-10 00:16:12 +01:00
Emmanuele Bassi
d6597098f1
ci: Re-sync the style check with GLib
2022-09-10 00:16:12 +01:00
Matthias Clasen
4c1bc93f6f
a11y: Be safe against state type changes
...
For some of the a11y states, calling gtk_accessible_reset_state
can change the type of the state value from boolean or tristate
to undefined.
Handle that, instead of throwing criticals.
Related: !4910
2022-09-09 16:07:24 -04:00
Matthias Clasen
ef9b844c7f
Merge branch 'filechooser-keybindings' into 'main'
...
filechooser: Restore ~ and . functionality
See merge request GNOME/gtk!5016
2022-09-09 19:38:39 +00:00
Matthias Clasen
681ec04b85
gtk-demo: Make losing games hurt
...
Use a more annoying sound for losses.
And use it for all games.
2022-09-09 15:36:31 -04:00
Matthias Clasen
7dd3289837
Merge branch 'widget-factory-filechooser' into 'main'
...
widget-factory: Add a file chooser
See merge request GNOME/gtk!5015
2022-09-09 18:44:31 +00:00
Matthias Clasen
7e54a7e5a5
filechooser: Restore ~ and . functionality
...
We'll have to keep patching up these things
until somebody rewrites the file chooser :(
Inspired by: !4970
2022-09-09 14:44:28 -04:00
Matthias Clasen
f050a9e889
widget-factory: Add a file chooser
...
We don't have a readily accessible file chooser
in our demo apps. Fix that by making the Open
menu item on page 2 bring up a file chooser.
2022-09-09 14:28:08 -04:00
Matthias Clasen
ae2964c7c6
Merge branch 'fix-fontrendering-demo' into 'main'
...
gtk-demo: Avoid a segfault
Closes #5166
See merge request GNOME/gtk!5014
2022-09-09 16:57:27 +00:00
Matthias Clasen
54daad3878
gtk-demo: Avoid a segfault
...
The code in the fontrendering demo is a bit sloppy
and assumes that we always get a single run when
appending a sequence of 4 chars and 4 spaces.
That is not in general true, such as for Emoji.
Instead of working harder to handle Emoji here,
just give up and fall back to 'a'.
Fixes : #5166
2022-09-09 12:34:54 -04:00
Matthias Clasen
d7817e6fc6
Merge branch 'gtkplaces' into 'main'
...
gtkplacesview: Right click popover fix crash and align menu with mouse
See merge request GNOME/gtk!4662
2022-09-09 14:59:03 +00:00
Matthias Clasen
de94f3d97f
Merge branch 'gtktooltip.c-optimise' into 'main'
...
gtk/gtktooltip.c: check result of event position get operation
Closes #5134
See merge request GNOME/gtk!4996
2022-09-09 14:56:33 +00:00
Matthias Clasen
066884aed1
Merge branch 'wip/carlosg/im-reset' into 'main'
...
Avoid early IM reset on updates
Closes #5133
See merge request GNOME/gtk!5012
2022-09-09 12:36:43 +00:00
Rūdolfs Mazurs
e7501185cd
Update Latvian translation
2022-09-07 20:56:57 +00:00
Matthias Clasen
a08277adcd
Merge branch 'fix-file-transfer-portal' into 'main'
...
Stop recursion in registering serializers
See merge request GNOME/gtk!5013
2022-09-07 15:04:43 +00:00
Matthias Clasen
e8e69a1208
Make clipboard tests work with portals
...
This was not working right, since it hasn't been
tested with portals - there are no portals in ci.
2022-09-07 08:45:31 -04:00
Matthias Clasen
e16414b3ac
Handle absence of portals
...
When the documents portal is not on the bus,
we still get an (unowned) proxy, and we need
to handle that situation.
2022-09-07 08:45:31 -04:00
Matthias Clasen
2e42786091
portals: Fix FileTransfer portal calls
...
We were not passing the right arguments to
the AddFiles call, causing the file transfer
to fail.
2022-09-07 06:47:02 -04:00
Matthias Clasen
b756aa0764
Make the file transfer portal setup sync again
...
We need to register the portal mime types before
the others to prefer them, doing this call async
messes up that ordering.
This is effectively reverting 69fb3648b2
2022-09-07 06:45:03 -04:00