Matthias Clasen
d0f5644771
macos: Handle callback cursors
...
This implementation matches the X11 one closely.
2024-04-04 01:07:28 +02:00
Matthias Clasen
b1a3ac8330
win32: Handle callback cursors
...
This implementation matches the X11 one closely.
2024-04-04 01:07:28 +02:00
Matthias Clasen
80811069ac
x11: Handle callback cursors
...
For these cursors, get the texture for the cursor image by
calling the callback. We always use scale 1.
2024-04-04 01:07:28 +02:00
Matthias Clasen
6e3dc1e669
wayland: Handle callback cursors
...
For these cursors, get the texture for the cursor image by
calling the callback. We don't do any caching of the cursor
images for now.
2024-04-04 01:07:28 +02:00
Matthias Clasen
d1aa0a74e4
gdk: Add callback cursors
...
Add a variant of GdkCursor that obtains the texture for the cursor
via a callback. The callback gives us the flexibility to handle
fractional scales and update the cursor for cursor theme size
changes as well as scale changes.
2024-04-04 01:07:28 +02:00
Matthias Clasen
bacdc735a4
Merge branch 'a11y-text-work2' into 'main'
...
a11y: Add gtk_accessible_text_get_extents
See merge request GNOME/gtk!7006
2024-04-03 22:55:30 +00:00
Matthias Clasen
19a168446e
textview: Implement gtk_accessible_text_get_extents
...
There is some question if this needs to be clipped to widget extents
- if the textview is in a scrolled window, we can easily return
extents here that go beyond the window or event the screen.
2024-04-04 00:29:24 +02:00
Matthias Clasen
47ec7bc66d
text: Implement gtk_accessible_text_get_extents
...
Using existing infrastructure.
2024-04-04 00:29:24 +02:00
Matthias Clasen
b4178870dd
inscription: Implement gtk_accessible_text_get_extents
...
Using existing infrastructure.
2024-04-04 00:29:24 +02:00
Matthias Clasen
03ef792802
label: Implement gtk_accessible_text_get_extents
...
Using existing infrastructure.
2024-04-04 00:29:24 +02:00
Matthias Clasen
7955efef6c
atspi: Use gtk_accessible_text_get_extents
...
Implement the GetCharacterExtents and GetRangeExtents methods of
the atspi Text interface using the new GtkAccessibleText api.
2024-04-04 00:29:24 +02:00
Matthias Clasen
3134003376
a11y: Add gtk_accessible_text_get_extents
...
This will be used to implement GetRangeExtents in atspi.
2024-04-04 00:29:24 +02:00
Matthias Clasen
a508860d1f
Merge branch 'matthiasc/for-main' into 'main'
...
Start 4.15 development
See merge request GNOME/gtk!7098
2024-04-03 22:04:11 +00:00
Matthias Clasen
9b34878208
Merge branch 'cursor-demo-cosmetics' into 'main'
...
gtk-demo: Cosmetic changes
See merge request GNOME/gtk!7068
2024-04-03 14:08:38 +00:00
Matthias Clasen
4b1b956d27
Start 4.15 development
2024-04-03 15:53:49 +02:00
Matthias Clasen
0dd58c4d1b
gtk-demo: Cosmetic changes
...
Remove the periods from the tooltips in the cursor demo.
Tooltips are better without periods.
2024-04-03 14:39:51 +02:00
Matthias Clasen
4b2b6d6212
Merge branch 'matthiasc/for-main' into 'main'
...
Post-release version bump
See merge request GNOME/gtk!7097
2024-04-03 12:23:07 +00:00
Matthias Clasen
2cdb53d524
Post-release version bump
2024-04-03 14:19:31 +02:00
Matthias Clasen
4f7721e742
Merge branch 'matthiasc/for-main' into 'main'
...
4.14.2
See merge request GNOME/gtk!7096
2024-04-03 12:18:20 +00:00
Matthias Clasen
29c29b0e64
4.14.2
2024-04-03 12:20:34 +02:00
Matthias Clasen
3d7fc0a598
Merge branch 'cff-font-hinting' into 'main'
...
gsk: Use hinted extents
Closes #6577 and #6568
See merge request GNOME/gtk!7086
2024-04-03 10:12:47 +00:00
Matthias Clasen
9e3e0052dc
Merge branch 'fix_accessible_text_changed_notifications' into 'main'
...
a11y: Provide correct end offset for GtkText text insertions
Closes libadwaita#824
See merge request GNOME/gtk!7075
2024-04-03 09:37:52 +00:00
Yaron Shahrabani
5ecfcaec0d
Update Hebrew translation
2024-04-03 09:13:56 +00:00
Matthias Clasen
cc24401dfb
Drop unused private API
...
We are not using gsk_get_unhinted_glyph_string_extents anymore.
2024-04-03 10:53:55 +02:00
Matthias Clasen
f445d8b518
gsk: Use hinted extents
...
This works better for cff fonts, where hinting is not as local as
what the autohinter does for ttf fonts, and it does not seem to
have negative effects.
Fixes : #6577
Fixes : #6568
2024-04-03 10:52:13 +02:00
Carlos Garnacho
af4c9ea61e
Merge branch 'provide-touch-serial-later' into 'main'
...
gdk/wayland: Proivde latest touch serial even after a touch ended
See merge request GNOME/gtk!5782
2024-04-03 08:43:03 +00:00
Matthias Clasen
4a75c288b2
Merge branch 'cff-font-hinting2' into 'main'
...
gsk: Keep metrics hinting on when rendering
See merge request GNOME/gtk!7093
2024-04-02 08:48:07 +00:00
Andre Klapper
89fca57e68
Docs / README: Fix issue tracker URL
...
Link to public Issues overview page instead of a 404 New Issue page
when you are not already logged into GNOME GitLab.
2024-04-02 10:10:11 +02:00
Matthias Clasen
d50b780551
gsk: Keep metrics hinting on when rendering
...
It turns out that we mispositioned glyphs with some cff fonts
when metrics hinting is off, and hinting is on. Since we don't
fully understand the interactions of these settings at this point,
lets preserve metrics hinting as it was on the font we got.
This at least gives folks a workaround for when they experience
clipped rendering with cff fonts: Turn on hint-metrics.
We forced hint metrics off here because it made Pango do some
creative wfh for hex boxes at small sizes, but I've dropped that
on the Pango side.
2024-04-02 09:10:46 +02:00
Matthias Clasen
f4a8787219
Merge branch 'empty-settings-portal' into 'main'
...
wayland: Fix detection of empty settings portal response
See merge request GNOME/gtk!7090
2024-04-02 06:44:08 +00:00
Chris Williams
979d0f4b1d
wayland: Fix detection of empty settings portal response
...
The ReadAll method returns a one-element tuple, so
g_variant_n_children() is always 1.
2024-04-01 10:33:00 -04:00
Matthias Clasen
5af7c7d0f2
Merge branch 'matthiasc/for-main' into 'main'
...
ci: Avoid silly date-dependent failures
See merge request GNOME/gtk!7088
2024-03-31 13:59:11 +00:00
Matthias Clasen
90aff59826
Merge branch 'no-fc-build' into 'main'
...
Fix build without fontconfig
Closes #6591
See merge request GNOME/gtk!7087
2024-03-31 13:58:21 +00:00
Matthias Clasen
f0f3ea1b3e
Fix build without fontconfig
...
We were missing some ifdefs for Windows builds.
Fixes : #6591
2024-03-31 13:08:01 +02:00
Matthias Clasen
f4b7f5de2f
ci: Avoid silly date-dependent failures
...
GtkCalendar defaults to the current date, and things get murky
if the current day is number 30 or 31 in a month. Avoid these
problems.
2024-03-31 09:57:50 +02:00
Danial Behzadi
ca5af396b0
Update Persian translation
2024-03-30 20:31:19 +00:00
Ekaterine Papava
9f56be3551
Update Georgian translation
2024-03-30 18:26:28 +00:00
Martin
389f41ead7
Update Slovenian translation
2024-03-30 17:03:18 +00:00
Yuri Chornoivan
62108f8c30
Update Ukrainian translation
2024-03-30 09:27:21 +00:00
Matthias Clasen
d3206f9b67
Merge branch 'inspector-font-settings' into 'main'
...
inspector: Add font settings
See merge request GNOME/gtk!7085
2024-03-30 09:14:59 +00:00
Emmanuele Bassi
9b81f4cc31
Merge branch 'ebassi/doc-fixes' into 'main'
...
docs: Fix the reference link
See merge request GNOME/gtk!7084
2024-03-29 14:56:41 +00:00
Matthias Clasen
a864084a4e
inspector: Add font settings
...
Add dedicated UI for font-related settings.
This makes debugging font rendering easier.
2024-03-29 15:55:36 +01:00
Matthias Clasen
ba44464d2a
inspector: Cosmetics
...
Line up the scale+entry rows better.
2024-03-29 15:55:36 +01:00
Emmanuele Bassi
9509876f10
docs: Fix the reference link
2024-03-29 13:31:36 +00:00
Matthias Clasen
f79549f5fc
Merge branch 'typo-fix' into 'main'
...
docs: Corrected typo on gtkDirectoryList description
See merge request GNOME/gtk!7083
2024-03-29 06:47:37 +00:00
maxrdz
bfb451ff4d
docs: Corrected typo on gtkDirectoryList description
2024-03-28 22:56:18 -07:00
Benjamin Otte
edfbfb2ba7
Merge branch 'wip/otte/msys-build' into 'main'
...
Fix msys CI build
Closes #6580
See merge request GNOME/gtk!7082
2024-03-28 20:50:24 +00:00
Benjamin Otte
6aa37a116d
build: Install vulkan-headers on msys CI
...
Apparently those are 2 packages.
Fixes #6580
2024-03-28 21:09:44 +01:00
Benjamin Otte
a34c018592
build: Use "meson setup" instead of just "meson"
...
Gets rid of a warning.
2024-03-28 21:09:44 +01:00
Benjamin Otte
710d8b948b
build: Remove stray file
...
How did that one get here?
2024-03-28 21:09:44 +01:00