Commit Graph

77364 Commits

Author SHA1 Message Date
Boyuan Yang
1f00d62610 Update Chinese (China) translation 2023-09-19 01:39:41 +00:00
Boyuan Yang
b6458ebe8c Update Chinese (China) translation 2023-09-19 01:35:49 +00:00
Rūdolfs Mazurs
7b6b31f0d8 Update Latvian translation 2023-09-18 13:29:49 +00:00
Martin
f0e0332ada Update Slovenian translation 2023-09-16 10:12:05 +00:00
Luca Bacci
41bf17dd45 Merge branch 'macos-gtk-4-12' into 'gtk-4-12'
macOS: Clamp damage region to surface size [GTK 4.12]

See merge request GNOME/gtk!6389
2023-09-13 16:46:41 +00:00
Milo Casagrande
a590ee5412 Update Italian translation 2023-09-13 16:28:30 +00:00
Luca Bacci
01ab69659d macOS: Clamp damage region to surface size
...in _gdk_macos_cairo_context_begin_frame ()

GdkMacosCairoContext needs regions that are clamped to the
actual surface size.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5812
2023-09-13 17:39:51 +02:00
Luca Bacci
71116b3e60 Merge branch 'gtk-4-12-ssd' into 'gtk-4-12'
[4.12] win32: Fix minimize and maximize buttons missing on ssd

See merge request GNOME/gtk!6367
2023-09-13 13:37:39 +00:00
Rafael Fontenelle
066b101c57 Update Brazilian Portuguese translation 2023-09-12 16:42:23 +00:00
Daniel Mustieles
e36e55c78b Updated Spanish translation 2023-09-11 10:49:42 +02:00
Andika Triwidada
5677c6b932 Update Indonesian translation 2023-09-09 15:06:05 +00:00
Changwoo Ryu
1abfeff0d1 Update Korean translation 2023-09-07 16:59:43 +00:00
Daniel Rusek
c781acb084 Update Czech translation 2023-09-07 13:38:39 +00:00
Balázs Úr
93f7fe39e5 Update Hungarian translation 2023-09-05 19:13:36 +00:00
Fran Dieguez
db6b68a0f3 Update Galician translation 2023-09-03 18:57:27 +00:00
Aurimas Černius
5d54bb1359 Update Lithuanian translation 2023-09-03 18:20:12 +00:00
Ask Hjorth Larsen
cc4d94d197 Update Danish translation 2023-09-03 14:33:55 +00:00
Philipp Kiemle
222ef97d3a Update German translation 2023-09-01 22:19:17 +00:00
dgsasha
03f6684dc3 win32: Fix minimize and maximize buttons missing on ssd
Completely fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5142
2023-08-30 13:53:49 +03:00
Matthias Clasen
e001b421ad Merge branch 'zbrown/tooltips' into 'gtk-4-12'
tooltip: don't cross native boundaries (cherry-pick to 4.12)

See merge request GNOME/gtk!6360
2023-08-29 01:59:16 +00:00
Zander Brown
1145504075 tooltip: don't cross native boundaries
When walking the tree looking for tooltips we shouldn't cross from, say,
a popover to it's parent window

Fix: https://gitlab.gnome.org/GNOME/gtk/-/issues/1234
Fix: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1038
Fix: https://gitlab.gnome.org/GNOME/gtk/-/issues/5998
Fix: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3063
See: https://gitlab.gnome.org/GNOME/console/-/issues/318
See: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6346
2023-08-29 01:48:26 +01:00
Asier Sarasua Garmendia
065769eb42 Update Basque translation 2023-08-28 14:49:08 +00:00
Daniel Mustieles
8de2a8f40a Update Spanish translation 2023-08-28 10:24:46 +00:00
Fran Dieguez
7cf377ee61 Update Galician translation 2023-08-27 19:47:33 +00:00
Jiri Grönroos
dbf2432114 Update Finnish translation 2023-08-27 14:42:06 +00:00
Sabri Ünal
54bee945c6 Update Turkish translation 2023-08-26 18:32:59 +00:00
Jordi Mas
05bf962b20 Update Catalan translation 2023-08-26 09:48:16 +02:00
Matthias Clasen
1d4ab0681f Post-release version bump 2023-08-25 22:30:12 -04:00
Baurzhan Muftakhidinov
d1c634586a Update Kazakh translation 2023-08-25 15:53:58 +00:00
Matthias Clasen
b51a3980f3 4.12.1 4.12.1 2023-08-25 09:18:10 -04:00
Anders Jonsson
77adacae8d Update Swedish translation 2023-08-24 15:38:43 +00:00
Matthias Clasen
e6ad258b06 Updates 2023-08-24 10:52:35 -04:00
Piotr Drąg
b9c88bd6c0 Update Polish translation 2023-08-24 16:47:45 +02:00
Matthias Clasen
8f1a2820b7 Revert "PopoverMenu: Make :flags a property for use in UI…"
This reverts commit acd874ec55.

This adds new API, therefore not suitable for 4.12.
2023-08-24 10:39:04 -04:00
Matthias Clasen
beb5ede18a menubutton: Don't assume the root is a window
The only thing this assumption does is cause
criticals, so remove it.

Fixes: #6055
2023-08-24 10:28:05 -04:00
Michael Catanzaro
2e2857df32 notebook: fix critical when switching page
It's expected that gtk_widget_get_root() will return NULL if the widget
tree does not contain a root widget. I don't know what that means or why
it happens, but it's true in gnome-control-center's network panel when
displaying the OpenVPN configuration dialog. We need to handle it.

Fixes #6056
2023-08-24 10:27:44 -04:00
Simon McVittie
8a4bde62da tests: Accept slightly different numeric results
FLT_EPSILON is the distance between 1.0 and the next distinct floating
point number, and doesn't necessarily have anything to do with the
precision we can expect from a series of floating-point calculations.
Experimentally, 1e-6 is achievable, even on platforms with unusual
floating point implementations like i387.

Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/6051
Bug-Debian: https://bugs.debian.org/1050076
Signed-off-by: Simon McVittie <smcv@debian.org>
2023-08-24 10:27:18 -04:00
Matthias Clasen
ff56029ccc wayland: Don't assume the shell protocol
The gtk_shell proxy will be NULL if the compositor
is not gnome-shell. Handle that without crashing.

Fixes: #6048
2023-08-24 10:27:02 -04:00
Bilal Elmoussaoui
0f67d61379 gi: Fix missing namespace 2023-08-24 10:26:40 -04:00
Georges Basile Stavracas Neto
8605a073ea ci: Limit parallel linking on Windows CI
Linking on Windows can easily run out of memory, and limiting it
to a single link operation (i.e. disabling parallelization) should
be enough to avoid this problem.
2023-08-24 10:26:23 -04:00
Khalid Abu Shawarib
c6302477c0 gdk/x11/clipboard: Fix Slist leak 2023-08-24 10:26:16 -04:00
Benjamin Otte
6cabd44a2b build: Add -Woverride-init
That's a gcc warning (clang has the equivalent -Winitializer-overrides,
but that one is included in -Wall) that complains about things like:

  VkOffset3D offset = { .x = pt.x, .x = pt.y, .y = 0 };

So you don't have to spend a few hours trying to understand what's going
on before realizing your copy/paste skills are substandard.
2023-08-24 10:25:59 -04:00
Benjamin Otte
012388da32 build: GSK doesn't depend on gdk-pixbuf 2023-08-24 10:25:36 -04:00
Benjamin Otte
004f061dca build: Don't use configure_file() when custom_target() works
These two files don't need to be built when configuring, they are only
needed during build.
2023-08-24 10:25:23 -04:00
Benjamin Otte
cf644739e4 widget: Remove unused headers from gtkwidget.h
... and put them back in places where they are needed.
2023-08-24 10:25:15 -04:00
Sergey Bugaev
cb89b3a9e7 paintable: Implement gdk_paintable_default_get_current_image ()
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
2023-08-24 10:24:50 -04:00
G.Willems
c018af3023 gtktexthistory: restore 'modified' flag on redo
When redoing a history entry, its `is_modified` flag is not
reflected to the history state tracker. So GtkTextBuffers may
expose a modified=FALSE status, despite a change was actually
applied to the buffer.

For the undo case, an `is_modified_set` flag was set on the last
entry of the undo queue when a change of the modified state of
the history is requested. This commit does the same on the first
entry of the redo queue.

Closes #5777
2023-08-24 10:24:41 -04:00
Daniel Boles
acd874ec55 PopoverMenu: Make :flags a property for use in UI…
…files, or other cases other than calling new_from_model_full(), which
generally makes it far easier to experiment with the effect of flags,
including by changing the value of the property in the Inspector.

fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6030#note_1818229
2023-08-24 10:24:28 -04:00
Daniel Boles
70733d60f6 Popover: Fix & add to CSS nodes documentation
* The `.background` class gets put on `popover`, not `content`
* Use backticks to style node and class names with monospace
* Link to GtkPopoverMenu
* Add to PopoverMenu a bit outlining how items and sections look in CSS.
2023-08-24 10:24:06 -04:00
Matthias Clasen
e3d18ad7a1 build: Drop some unused variables
We are not using gtk_private_packages at all,
so drop it.
2023-08-24 10:23:54 -04:00