Yuri Chornoivan
56649007d0
Update Ukrainian translation
2023-08-04 19:43:39 +00:00
Matthias Clasen
42d0590d80
Merge branch 'more-deprecation-cleanup' into 'main'
...
Drop old style deprecation handling
See merge request GNOME/gtk!6237
2023-08-04 14:57:30 +00:00
Matthias Clasen
ce4fbcef8e
examples: More deprecation cleanup
...
Remove GtkDialog use from bloatpad.
2023-08-04 09:47:49 -04:00
Matthias Clasen
7c8171f069
Drop old style deprecation handling
...
We don't use this anymore.
2023-08-04 08:38:55 -04:00
Matthias Clasen
33fe93d9f2
examples: Deprecation cleanup
2023-08-04 08:38:00 -04:00
Matthias Clasen
a8d092f978
Merge branch 'matthiasc/for-main' into 'main'
...
wayland: Fix gtk-shell protocol handling
See merge request GNOME/gtk!6236
2023-08-04 12:34:30 +00:00
Matthias Clasen
645043d5a2
wayland: Fix gtk-shell protocol handling
...
The protocol spec isn't clear about the relationship
between the capability enum and the uint in the capability
event.
Fix things to use the same relationship as mutter.
2023-08-04 07:57:33 -04:00
Matthias Clasen
c6693b7fb7
Merge branch 'matthiasc/for-main' into 'main'
...
build: Set the default visibility
See merge request GNOME/gtk!6235
2023-08-04 11:48:10 +00:00
Matthias Clasen
5c4bb1f93b
build: Set the default visibility
...
While working on deprecation cleanups, I noticed
that removing GDK_DEPRECATED_IN... from headers
does not have the effect of making the symbols
disappear, since we were forgetting to set the
default visibility to hidden.
2023-08-04 06:15:13 -04:00
Matthias Clasen
d05628c66a
testsuite: Don't rely on default visibility
...
The builder test was relying on default visiblity
for non-static functions. Make it explicit that we
want to export these functions, so the test keeps
working when we change the default visibility.
2023-08-04 06:15:13 -04:00
Matthias Clasen
0e2db8090b
Merge branch 'deprecation-cleanups' into 'main'
...
gtk-demo: Deprecation cleanup
See merge request GNOME/gtk!6233
2023-08-04 02:34:10 +00:00
Matthias Clasen
b4ab398e0d
constraint-editor: Deprecation cleanup
...
Drop all uses of deprecated API.
2023-08-03 22:15:27 -04:00
Matthias Clasen
26018107d6
print-editor: Deprecation cleanup
...
Drop all uses of deprecated API.
2023-08-03 22:15:27 -04:00
Matthias Clasen
3e066a0a15
gtk-demo: Deprecation cleanup
...
Remove many uses of deprecated api in gtk4-demo.
Remaining uses are demos of wholly deprecated objects
that will just be dropped in GTK5.
2023-08-03 22:15:27 -04:00
Matthias Clasen
23222a97fc
Merge branch 'wip/alice/center-layout' into 'main'
...
centerlayout: Fix child sizing
See merge request GNOME/gtk!6234
2023-08-04 01:10:09 +00:00
Alice Mikhaylenko
d4a5872fb0
centerlayout: Invert :shrink-center-last
...
Make what it does match its name.
2023-08-04 04:34:48 +04:00
Alice Mikhaylenko
24714cb91c
centerlayout: Fix child sizing
...
For some reason the start/end child size is restricted to
(width - title width) / 2. This is generally unexpected, so stop doing
that.
2023-08-04 02:00:28 +04:00
Artur So
b51d8a22ef
Update Russian translation
2023-08-03 16:06:21 +00:00
Matthias Clasen
aa0afab960
Merge branch 'matthiasc/for-main' into 'main'
...
gtk-demo: Use GtkBuilderScope more
See merge request GNOME/gtk!6232
2023-08-03 14:39:56 +00:00
Matthias Clasen
111269019f
Merge branch 'bilelmoussaoui/gi' into 'main'
...
gtk: Add missing since annotations
See merge request GNOME/gtk!6231
2023-08-03 13:43:27 +00:00
Matthias Clasen
f0d974c6f5
AUTHORS: Some updates
2023-08-02 20:14:02 +00:00
Matthias Clasen
d30adc48d4
RELEASE-HOWTO: Some updates
2023-08-02 20:07:00 +00:00
Matthias Clasen
40d3b30770
gtk-demo: Use GtkBuilderScope more
...
Under circumstances I haven't fully tracked down,
these demos refuse to run, failing to locate their
callbacks. So use the machinery we have, and set up
a GtkBuilderCScope for each of the problematic cases.
2023-08-02 19:49:03 +00:00
Bilal Elmoussaoui
2e7291d0e7
gtk: Add missing since annotations
...
Follow up of 7f946eff01
2023-08-02 18:19:23 +00:00
Matthias Clasen
48d1dfd195
Merge branch 'gdk-win32-cleanup' into 'main'
...
GdkWin32 cleanup
See merge request GNOME/gtk!6230
2023-08-02 17:09:41 +00:00
Matthias Clasen
caeccfd2da
Merge branch 'cetner-layout-compute-expand' into 'main'
...
Fix computing expand in GtkCenterLayout
See merge request GNOME/gtk!6229
2023-08-02 16:24:46 +00:00
Luca Bacci
a9082fa5fa
GdkWin32: Remove unused members from GdkWin32Surface
2023-08-02 18:08:31 +02:00
Luca Bacci
eb10af0dac
GdkWin32: No need to set the active keyboard layout
...
It's already done as part of GdkWin32Keymap initialization
(in update_keymap ())
2023-08-02 18:08:31 +02:00
Luca Bacci
3387dc8ec3
GdkWin32: Remove gdk_synchronize
2023-08-02 18:08:10 +02:00
Matthias Clasen
f663617724
Merge branch 'ebassi/hint-font-lodpi' into 'main'
...
Enable subpixel positioning for text only on high scaling factors
See merge request GNOME/gtk!6190
2023-08-02 15:56:08 +00:00
Sergey Bugaev
b42760da4d
centerlayout: Fix computing expand
...
It was calling get_hexpand () / get_vexpand (), which only get whether
the expand properties are set on the widget itself. Use
compute_expand (), which properly walks the widget tree and finds
whether exapnd is set on the widget or any of its descendants.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
2023-08-02 18:43:45 +03:00
Matthias Clasen
ea72e7e5b3
reftests: Fix one reftest
...
The xalign property of GtkLabel defaults to 0.5,
meaning that the contents will be centered, which
is not what GtkInscription does.
2023-08-02 16:32:40 +01:00
Matthias Clasen
a51003661e
label: Another tweak to wrapping handling
...
This fixes a few reftests that were failing after
the previous change because they ended up with x == -1.
2023-08-02 16:32:15 +01:00
tszymanski
a483fb2d96
gtkgridview: Fix crash on scroll to 0 sized tile
...
No longer crashes with my listview_clocks demo or in real scrolling in
my application. "GtkGridView failed to scroll to given position. Ignoring..."
warnings are printed when it would have crashed.
Sometimes the scroll jumps incorrectly when it doesn't crash, but that's
a separate bug but is probably related to whatever is causing this
crash.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5945 , at least in
terms of the immediate crash.
2023-08-01 22:17:54 -07:00
Matthias Clasen
f13c8a3cb4
Merge branch 'radioactiveman-main-patch-77429' into 'main'
...
docs: Fix typo
See merge request GNOME/gtk!6226
2023-08-02 03:25:19 +00:00
Thomas Lange
51e617daf3
docs: Fix typo
2023-08-01 23:51:34 +00:00
Matthias Clasen
f9f96637d7
Merge branch 'wip/sophie-h/ask' into 'main'
...
filelauncher: Add 'ask' property
Closes #5942
See merge request GNOME/gtk!6225
2023-08-01 19:52:51 +00:00
Sophie Herold
1df5857b07
filelauncher: Add 'always-ask' property
...
The 'ask' property is part of the portal. It forces always asking
the user with which app to open a file.
Closes #5942
2023-08-01 20:39:20 +02:00
Danial Behzadi
d637398ab0
Update Persian translation
2023-08-01 05:53:37 +00:00
Ekaterine Papava
20ead71c0b
Update Georgian translation
2023-08-01 04:05:01 +00:00
Benjamin Otte
abcfa21c12
Merge branch 'wip/otte/vulkan-for-main' into 'main'
...
inspector: Make the measure map buttons work again
Closes #5992
See merge request GNOME/gtk!6223
2023-07-31 22:52:46 +00:00
Benjamin Otte
424c4b4150
inspector: Make the measure map buttons work again
...
The show/hide => set_visible() cleanups had broken things.
Fixes #5992
2023-08-01 00:14:53 +02:00
Benjamin Otte
5d18ea621d
Merge branch 'wip/otte/vulkan-for-main' into 'main'
...
vulkan: Remove unused variable
See merge request GNOME/gtk!6222
2023-07-31 15:14:37 +00:00
Benjamin Otte
e00e6f3d5d
vulkan: Clear Cairo surfaces on upload
...
The memory isn't guaranteed to be all zeroes and we don't want glitches.
2023-07-31 16:51:03 +02:00
Benjamin Otte
e98ae233fc
vulkan: Fix a memleak
2023-07-31 16:51:03 +02:00
Benjamin Otte
2ad11e12d4
vulkan: Plug a memleak
...
Yay, we no longer leak swapchain images
2023-07-31 16:51:03 +02:00
Benjamin Otte
3f16f7e0d4
rendernode-tool: Add another magic format
...
Make .svg use the Cairo renderer to save to an SVG file.
It's useful when comparing rendering behavior and times with
web browsers (as long as one is aware that browsers build a full
DOM tree out of those SVGs).
2023-07-31 16:51:03 +02:00
Benjamin Otte
166777dd55
rendernode-tool: Move code
...
No functional changes yet.
2023-07-31 16:51:03 +02:00
Benjamin Otte
c8f385e3bc
vulkancontext: Do proper refcounting
...
- fix a memleak
- call unref() instead of new()
- remove idle handler on dispose
What was I doing when I wrote the pipeline cache code?
2023-07-31 16:51:03 +02:00
Benjamin Otte
89b4f12b38
vulkan: Plug a memleak
2023-07-31 16:51:03 +02:00