Matthias Clasen
8f55a014b1
Merge branch 'matthiasc/for-main' into 'main'
...
Cosmetic fixes to objcopy hack
See merge request GNOME/gtk!4729
2022-05-14 12:48:40 +00:00
Yuri Chornoivan
c3e5d80853
Update Ukrainian translation
2022-05-14 12:22:13 +00:00
Matthias Clasen
8bd77441a9
Cosmetic fixes to objcopy hack
...
Preserve the elf section name that we would get
without the objcopy hack. Minimizing the differences
2022-05-14 07:53:47 -04:00
Anders Jonsson
a2af794cb0
Update Swedish translation
...
(cherry picked from commit 2d8a8e3575
)
2022-05-14 10:03:38 +00:00
Matthias Clasen
0c86b28828
Merge branch 'texture-serialize-tiff' into 'main'
...
gsk: Serialize textures as tiff
See merge request GNOME/gtk!4725
2022-05-13 17:06:46 +00:00
Matthias Clasen
4278e91a46
Merge branch 'texture-fixes' into 'main'
...
Fixes for gdk_memory_texture_new_subtexture
See merge request GNOME/gtk!4724
2022-05-13 16:38:45 +00:00
Matthias Clasen
dd16d7c4c8
gsk: Serialize float textures as tiff
...
Otherwise, we lose precision when converting them
to 16bit integers.
2022-05-13 12:34:24 -04:00
Matthias Clasen
6164908bd3
Add tests for gdk_memory_texture_new_subtexture
...
This checks the fixes in the previous commit.
2022-05-13 11:44:11 -04:00
Matthias Clasen
2ff98dad03
Merge branch 'file-chooser-widget-make-key-controller-on-external-entry-work-at-bubble-phase' into 'main'
...
GtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE phase
Closes #4905
See merge request GNOME/gtk!4723
2022-05-13 14:53:23 +00:00
Matthias Clasen
f33c521836
Fixes for gdk_memory_texture_new_subtexture
...
There were several mistakes here.
The width of subtextures was set to the width of
the main texture, the data size wasn't properly
calculated, and the preconditions were inverted.
Yay us!
2022-05-13 09:30:46 -04:00
Luca Bacci
e1159dab93
GtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE phase
...
Now that we use event controllers we can forward keybindings from the
external entry to the filechooserwidget at the bubble phase.
Fixes #4905
References:
* commit 1fb075dbca
* commit 686116ba61
2022-05-13 14:19:14 +02:00
Matthias Clasen
c4f423694f
Merge branch 'egl-format-string' into 'main'
...
egl: Fix invalid format string
See merge request GNOME/gtk!4722
2022-05-12 15:25:29 +00:00
Loïc Minier
4f2b1b3cfc
egl: Fix invalid format string
2022-05-12 09:06:20 -04:00
Matthias Clasen
122fa679a8
Merge branch 'wip/sophie-h/remove-param-nicks-blurbs' into 'main'
...
gtk: Remove all nicks and blurbs from param specs
Closes #4904
See merge request GNOME/gtk!4717
2022-05-12 02:18:02 +00:00
Matthias Clasen
7302407880
Merge branch 'wip/exalm/color-scales' into 'main'
...
Redesign GtkColorScale
See merge request GNOME/gtk!4720
2022-05-12 02:01:03 +00:00
Matthias Clasen
900a23e2bb
Merge branch 'wip/chergert/action-critical-fixes' into 'main'
...
various action muxer correctness fixes
See merge request GNOME/gtk!4719
2022-05-12 01:53:48 +00:00
Alexander Mikhaylenko
0f7d93492d
theme: Redesign color scales
...
See https://gitlab.gnome.org/GNOME/libadwaita/-/issues/469
Since this style needs changes in color scales themselves, it makes sense
to have it in GTK as well.
2022-05-12 02:22:52 +04:00
Alexander Mikhaylenko
aee4475c0f
range: Support border-radius for GtkColorScale troughs
...
With how this hack is organized, it's simpler to add more code here than
to pass it to GtkColorScale itself.
2022-05-12 02:21:51 +04:00
Alexander Mikhaylenko
1f61cb2251
coloreditor: Stop adding marks style to color scales
2022-05-12 02:21:34 +04:00
Christian Hergert
0382e3b46c
actionmuxer: check for observer before unregistering
...
This can happen if the group can be resolved even when doing the initial
registration of an action as observer will not yet be in the GSList of
watchers (and therefore has no weak references).
Fixes a warning like the following:
g_object_weak_unref: couldn't find weak ref
2022-05-11 14:43:31 -07:00
Christian Hergert
547b2891cb
actionmuxer: set handler ids initially to zero
...
These were getting created with possible non-zero values and then inserted
into a hashtable where the readers may not know the state of the group.
Ensure those values are set to zero until we assign them below.
2022-05-11 14:43:24 -07:00
Sophie Herold
89614f5f72
inspector: Stop using blurb as tooltip
...
Does not make sense any longer if we don't set blurbs.
2022-05-11 18:16:44 +02:00
Sophie Herold
f5fc71fe82
tests: Check for nicks and blurbs not being set
2022-05-11 18:16:44 +02:00
Sophie Herold
a546ae32d7
Remove all nicks and blurbs from param specs
...
Those property features don't seem to be in use anywhere.
They are redundant since the docs cover the same information
and more. They also created unnecessary translation work.
Closes #4904
2022-05-11 18:16:29 +02:00
Sophie Herold
17578a97d6
l10n: Remove po/pot for dropped nicks/blurbs
2022-05-11 17:36:07 +02:00
Matthias Clasen
9536eb654b
Merge branch 'fix-wayland-glitching-v2' into 'main'
...
gdk/wayland: freeze popups when hidden 2
See merge request GNOME/gtk!4712
2022-05-10 19:32:16 +00:00
Pablo Correa Gómez
0f21f6c273
glcontext: Make the creation of EGL context more obvious
...
By splitting it into its own function it becomes more that the
EGL code is a shared implementation.
2022-05-10 12:29:08 +02:00
Christian Hergert
4bf07aeef9
gdk/wayland: freeze popups when hidden
...
Previously, there was an issue with glitching after showing/hiding a
popover that was not also destroyed. This was due to the popover having
an update_freeze_count of zero after hiding the surface.
That resulted in it's toplevel continuously dropping frames such as during
high-frame-rate scrolling in textviews. This problem is much more visible
on high-frame-rate displays such as 120hz/144hz.
With this commit, we freeze the frame clock of the popup until it is
mapped again.
2022-05-10 07:28:25 +03:00
Pawan Chitrakar
26b250503d
Update Nepali translation
...
(cherry picked from commit f60e5950dc
)
2022-05-09 10:44:46 +00:00
Matthias Clasen
8533824084
Merge branch 'add-gtk-dropdown-buildable-example' into 'main'
...
dropdown: Add GtkBuildable doc
See merge request GNOME/gtk!4708
2022-05-08 22:15:32 +00:00
Sonny Piers
5a0d6e3fc8
dropdown: Add UI definition example
2022-05-08 22:52:05 +02:00
Pawan Chitrakar
6be466b675
Update Nepali translation
...
(cherry picked from commit 5ae37c6d99
)
2022-05-08 08:44:59 +00:00
TestingPlant
1c587c7d7f
vulkan: Set initial layout to undefined
...
Having the initial layout set to VK_IMAGE_LAYOUT_GENERAL causes issues
when going from the final layout to the initial layout since the image
layout is expected to be the general layout. Setting the initial layout
to undefined doesn't have this restriction.
2022-05-08 05:39:36 +00:00
TestingPlant
2f98de06bc
vulkan: Don't attempt to free 0 command buffers
...
vkFreeCommandBuffers can't be called with commandBufferCount set to 0.
2022-05-08 05:37:14 +00:00
Matthias Clasen
9e6855cdb8
Merge branch 'matthiasc/for-main' into 'main'
...
printdialog: Handle nonexisting files better
See merge request GNOME/gtk!4702
2022-05-08 00:51:08 +00:00
Matthias Clasen
a6c3e440f6
printdialog: Handle nonexisting files better
...
When a non-existing file is selected in the file chooser
for print-to-file, we weren't updating the button label
to show the new filename. Fix that.
Also, use newer file chooser api.
2022-05-07 20:31:46 -04:00
Matthias Clasen
08d386844a
4.7.0
2022-05-07 11:59:38 -04:00
Matthias Clasen
48e98d333e
NEWS: Updates
2022-05-07 11:45:31 -04:00
Matthias Clasen
ad4536e825
Merge branch 'install-node-editor' into 'main'
...
Install gtk4-node-editor
See merge request GNOME/gtk!4701
2022-05-07 12:09:29 +00:00
Piotr Drąg
2080f3db17
Update POTFILES.in and POTFILES.skip
2022-05-07 13:49:37 +02:00
Matthias Clasen
726a92200f
Install gtk4-node-editor
...
It is an application worth having around.
2022-05-07 07:18:36 -04:00
Matthias Clasen
f9afee0667
Add a man page for gtk4-node-editor
2022-05-07 07:18:36 -04:00
Matthias Clasen
78d34c098e
node-editor: Add things
...
Add a desktop file and appdata.
2022-05-07 07:18:36 -04:00
Matthias Clasen
aa4e8334ee
Merge branch 'faster-listview-scrolling' into 'main'
...
listitemwidget: Avoid some unnecessary work
See merge request GNOME/gtk!4700
2022-05-07 03:51:45 +00:00
Matthias Clasen
5eee5e8cac
Merge branch 'redo-doc-images' into 'main'
...
wip: Redo doc image generation
See merge request GNOME/gtk!4646
2022-05-07 03:51:10 +00:00
Matthias Clasen
376d95a549
Updated screenshots
...
Produced by running the screenshot command over the
ui files in the same directory.
2022-05-06 23:05:15 -04:00
Matthias Clasen
a3ac414465
Generate screenshots on the fly
...
This commit adds a new meson option -Dupdate_screenshots=true.
When it is enabled, and -Dgtk_doc=true is also used, then the
build will generate images to include in the API docs from
ui files in docs/reference/gtk/images.
Note: we still keep a copy of the images in git, in order to
allow building without a display connection. To update the
images in git, the generated images need to be copied back
from the builddir to the srcdir.
2022-05-06 22:59:22 -04:00
Matthias Clasen
8ee6203e2c
Remove the old doc shooter infrastructure
...
This is no longer used.
2022-05-06 22:59:22 -04:00
Matthias Clasen
fadeda61e5
listitemwidget: Avoid more paramspec lookups
...
We can use the same helper function in all
places where we notify all three listitem
properties.
2022-05-06 22:28:14 -04:00
Matthias Clasen
3307b8ce88
listitemwidget: Avoid some unnecessary work
...
Only update widget and accessible state if the
selected property actually changed.
2022-05-06 21:36:22 -04:00