Commit Graph

55076 Commits

Author SHA1 Message Date
f7d9dbaa47 Update upstream source from tag 'upstream/3.24.40'
Update to upstream version '3.24.40'
with Debian dir 95d4db208a
2024-01-19 09:01:00 -05:00
4852127723 New upstream version 3.24.40 2024-01-19 09:00:20 -05:00
f926323d04 3.24.40 2024-01-17 21:38:13 -05:00
ebb51652cd Release to unstable 2024-01-17 18:06:05 +00:00
798b6b9890 Update changelog 2024-01-17 17:53:14 +00:00
2dca55a0b8 d/control: Make Build-Depends more cross-friendly 2024-01-17 17:53:14 +00:00
958ddae6c1 d/rules: If cross-compiling, use cross g-ir-scanner (see #1060838) 2024-01-17 17:53:14 +00:00
0d95f95dbe d/control: Explicitly depend on necessary GIR XML modules
Use the systematic names gir1.2-cairo-1.0-dev, gir1.2-xlib-2.0-dev and
gir1.2-gio-2.0-dev if possible. The alternative dependency on
libgirepository1.0-dev illustrates how backports can be made to work.

gir1.2-atk-1.0-dev doesn't actually exist yet, so hide that one behind
a build-profile as a reminder to build-depend on it later.
2024-01-17 17:53:07 +00:00
a487deb189 Merge branch 'fix/monitor-name' into 'gtk-3-24'
Use xorg 'monitor' the right way.

See merge request GNOME/gtk!6680
2024-01-16 16:36:05 +00:00
adce74bc28 Free monitor name on finalize 2024-01-15 08:25:58 +01:00
813787c541 Update Hebrew translation 2024-01-14 06:57:42 +00:00
099ace2a1e Update Georgian translation 2024-01-07 06:30:39 +00:00
53d6a34e54 Merge branch 'fix-display-selection-init' into 'gtk-3-24'
gdkdisplay-wayland: Init selection before roundtrips

See merge request GNOME/gtk!6714
2024-01-07 01:17:04 +00:00
a58ae95c87 gdkdisplay-wayland: Init selection before roundtrips
Some of the listeners connected during the initial roundtrip assume a
non-NULL selection, when they finally invoke functions such as
gdk_wayland_selection_ensure_offer(),
gdk_wayland_selection_ensure_primary_offer() or
gdk_wayland_selection_set_offer(). The GdkWaylandSelection should
therefore be initialized before the second series of roundtrips, as the
compositor may have already sent a selection by then.
2024-01-06 23:30:34 +01:00
782615ec68 Update Hebrew translation 2024-01-02 21:55:09 +00:00
a64d3df749 Update Swedish translation 2023-12-29 23:29:54 +00:00
bf84ee045a Update Hebrew translation 2023-12-28 12:17:42 +00:00
345bfb494a Use consistent coordinates in get_toplevel_from_ns_event.
[NSView frame] returns a rectangle in the superview's coordinates, and the
superview of an NSWindow's content view (which is the only NSView that
GdkQuartz instantiates) is an undocumented NSThemeFrame. While it happens
to have the same origin as the content view and the same size as the
window's frame this isn't documented and so could change without notice.
Convert the window frame coordinates to the view's coordinate system to
ensure consistency.

Use the view's bounds instead of its frame: The bounds rectangle is in the
view's coordinate system. Use the parent NSWindow's frame instead of the
private NSThemeFrame's. This ensures that all coordinate comparisons have
the same reference.

Finally, the macOS coordinate systems origin is at the bottom left, so the
title bar is between the content view's height and the window's height,
not in negative y in the view's coordinates. Adjust the y comparisons
accordingly.

Fixes #6297
2023-12-25 11:10:12 -08:00
26336c401a Update Hebrew translation 2023-12-23 21:10:05 +00:00
d6bec14774 Merge branch 'gtk-3-24-emoji-15.1' into 'gtk-3-24'
[GTK3] emoji: Update data to CLDR v44

See merge request GNOME/gtk!6687
2023-12-22 15:59:56 +00:00
4ef9fb7357 emoji: Update data to CLDR v44
Based on emojibase v15.3.0

Contains the changes in Unicode 15.1

https://unicode.org/versions/Unicode15.1.0/
https://cldr.unicode.org/index/downloads/cldr-44
https://github.com/milesj/emojibase/blob/emojibase-data%4015.3.0/packages/data/CHANGELOG.md
(cherry picked from commit 76a1f1714da0d7a1829826810851cdd67e80c8c4)
(cherry picked from commit e42befb76bb0dd6096e7ed9bf50bb2496958a8c9)
2023-12-22 10:40:22 -05:00
5a8a0814f7 emoji: Update data to CLDR v43
Based on emojibase v15.2.0

Contains the changes in Unicode 15.0

https://unicode.org/versions/Unicode15.0.0/
https://cldr.unicode.org/index/downloads/cldr-43
https://github.com/milesj/emojibase/blob/emojibase-data%4015.2.0/packages/data/CHANGELOG.md
(cherry picked from commit bf358363501c5c2dff390f8bf73ac274f8e63b0a)
(cherry picked from commit f947f2368735a603000670eafc4cbef7c8fcbebb)
2023-12-22 10:40:22 -05:00
4e2e544924 add hi-ja-et-fi-nb-th for gtkemojichooser
(cherry picked from commit 49fbbfb6ccdbeb2ac85235622a618472000e28a9)
(cherry picked from commit 322d9e5c3f1583c7ef5a2090330db8ab6800baca)
2023-12-22 10:40:22 -05:00
9a3a67765a add bengali language bn.data for gtkemojichooser
(cherry picked from commit 16806294e351698c3ff6e346e5e74dfecf76527b)
(cherry picked from commit 4b2145475ebf0c6967a52d14c4243185536e1290)
2023-12-22 10:40:22 -05:00
a8feb1528d emoji: Add more locales
Based on the locales that are at least 85% translated in Damned Lies:
https://l10n.gnome.org/releases/gnome-41/
Limited by the locales available in emojibase

Closes #4568

(cherry picked from commit d8c79e91a21b831580ea890b7cf146934877fbb7)
2023-12-22 10:40:22 -05:00
f0469035e1 emoji: Update data to CLDR v40
Based on emojibase-data v7.0.1
Contains the changes in Unicode 14.0

https://unicode.org/versions/Unicode14.0.0/
https://cldr.unicode.org/index/downloads/cldr-40
https://github.com/milesj/emojibase/blob/b85382524c/packages/data/CHANGELOG.md
(cherry picked from commit 7f5a24905685b4987d5bc9ed255c4d972714ebf8)
2023-12-22 10:40:22 -05:00
20e75366f7 emoji: Fix the convert-emoji program
The annotation field has been renamed to label in emojibase-data

https://github.com/milesj/emojibase/blob/b85382524c/packages/data/CHANGELOG.md
(cherry picked from commit 70ce353a58a97f02d6cbed8d411efcae63d1190b)
2023-12-22 10:40:22 -05:00
648e821d73 releasing package gtk+3.0 version 3.24.39-1 2023-12-22 10:33:48 -05:00
0183396c65 Refresh patch
Gbp-Dch: Ignore
2023-12-22 10:32:27 -05:00
d7613744aa Drop patches applied in new release
Revert "Update to upstream gtk-3-24 branch commit 3.24.38-60-gecf3ac115d"

This reverts commit 143e72967f.
2023-12-22 10:32:23 -05:00
57cf9d8630 New upstream release 2023-12-22 09:47:40 -05:00
20cd4aead0 Update upstream source from tag 'upstream/3.24.39'
Update to upstream version '3.24.39'
with Debian dir 3f576101d0
2023-12-22 09:47:40 -05:00
8a505cd525 New upstream version 3.24.39 2023-12-22 09:46:58 -05:00
19b515dcd8 Rework after first review 2023-12-21 13:51:45 +01:00
ab860da1b9 Merge branch 'gtk3-wayland-suspended' into 'gtk-3-24'
[gtk3/wayland] Expose XDG-shell suspended state via the visibility state

See merge request GNOME/gtk!6630
2023-12-21 12:24:36 +00:00
e3ecd22a68 Merge branch 'touch-accuracy' into 'gtk-3-24'
gtkgesture: Preserve accuracy when translating events

See merge request GNOME/gtk!6668
2023-12-20 15:28:37 +00:00
d89447d68e gtkgesture: Preserve accuracy when translating events
gtk_widget_translate_coordinates() uses int argument and thus cuts off
any decimal parts. This can leads to reduces accuracy when e.g.
measuring the distance of a drag.

GTK4 is not affected as the translations is done differently.
2023-12-20 14:30:20 +00:00
57acc7142f Rework to get rid of get_monitor_by_output 2023-12-20 14:31:01 +01:00
d4ca79bb96 Use xorg 'monitor' the right way. See #2013 2023-12-20 07:17:33 +01:00
1b38fcad64 Post-release version bump 2023-12-19 13:27:28 -05:00
9ce32d5d7d 3.24.39 2023-12-19 13:19:35 -05:00
6d6a0c183c Merge branch 'gtk3-tooltip-fix-x11-positioning' into 'gtk-3-24'
GtkTooltip: Fix tooltip positioning on X11

See merge request GNOME/gtk!6442
2023-12-19 16:25:13 +00:00
306e0fe850 Merge branch 'gtk-3-24-fix-filechooser-with-webdav' into 'gtk-3-24'
pathbar: Handle webdav where is the root is a path (backport to 3.24)

See merge request GNOME/gtk!6601
2023-12-19 14:38:15 +00:00
d5bace3779 pathbar: Handle webdav where is the root is a path
Our webdav server has a root which is davs://mynextcloud/remote.php/webdav
When once creates a GFile out of or out of a subdirectory, and one call
g_file_get_parent(), it recurses too far up and try to query
davs://mynextcloud/remote.php which fails, resulting in a broken pathbar.

To fix that, before querying the metadata of each element of the path,
I query the "enclosing mount", then use it's root to compare the GFile
against.

This is a backport of !5830 to 3.24
2023-12-19 09:21:20 -05:00
bb1d5e7de7 GtkTooltip: Fix tooltip positioning on X11
On X11, gdk_window_move_to_rect() uses the position of the window to
calculate how it should be moved. However, any pending resizes that will
be executed on show() are not taken into account, resulting in
incorrectly positioned tooltips in case a tooltip window is re-used
often. This is not solved by gtk_widget_realize(), as this will do
nothing if the window is already realized.

Let's add a call to the private gtk_window_move_resize() function, so
that the size is always recalculated before the window is sent to
gdk_window_move_to_rect().

This exact fix was also needed in GtkMenu (7298e73c), with similar
reasoning.

Fixes #2142
Fixes #2227
2023-12-19 14:14:11 +01:00
6104130af2 Merge branch 'dialog-portal-cherry-pick' into 'gtk-3-24'
[gtk3] Cherry-pick gtkfilechoosernativeportal fixes from gtk4

See merge request GNOME/gtk!6612
2023-12-19 01:13:40 +00:00
432ed07105 Merge branch 'work/zzag/avoid-scaling-cairo-surface-twic3' into 'gtk-3-24'
wayland: Fix wl_buffer size for custom cursors

See merge request GNOME/gtk!6637
2023-12-19 01:11:15 +00:00
e331fec11c Merge branch 'wormnest/silence-kblayout-warning' into 'gtk-3-24'
gdkkeys-win32c: change registry key not found g_warning to g_debug

See merge request GNOME/gtk!6671
2023-12-18 17:17:29 +00:00
99a816c361 gdkkeys-win32c: change registry key not found g_warning to g_debug
On Windows with certain keyboard layout combinations you can get a
benign terminal warning like this:
Could not open registry key 'SYSTEM\CurrentControlSet\Control\Keyboard
Layouts\D0010413'
When using a lot of plug-ins, like GIMP does, this warning can show up
a lot of times.
The code after this warning, still has another last check, that, when it
fails, will show a warning.

We change the first g_warning to a g_debug statement, to reduce the
amount of warning messages.

Closes #5109
2023-12-18 11:35:43 -05:00
58039edf69 [gtk3/wayland] Expose XDG-shell suspended state via visibility events.
This allows Wayland compositors to tell GTK applications whether a
window is effectively invisible.
2023-12-18 12:15:16 +01:00