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
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
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
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
Matthias Clasen
fff32faa67
Merge branch 'screenshot-popovers' into 'main'
...
builder-tool: Screenshot popovers properly
See merge request GNOME/gtk!4699
2022-05-07 00:39:35 +00:00
Matthias Clasen
c0acf264a9
builder-tool: Screenshot popovers properly
...
Do the necessary shenanigans to get popovers to show
up in screenshots.
2022-05-06 14:43:45 -04:00
Matthias Clasen
dacca9ece0
Merge branch 'check-half-float' into 'main'
...
gdk: Check OES_vertex_half_float GLES extension
See merge request GNOME/gtk!4689
2022-05-06 18:02:05 +00:00
Benjamin Otte
bd9c491076
Merge branch 'list-item-factory-notify-by-pspec' into 'main'
...
list-item: Use notify_by_pspec instead of by name
See merge request GNOME/gtk!4697
2022-05-06 16:11:21 +00:00
Matthias Clasen
93d62acdf3
Merge branch 'builder-treestore-data' into 'main'
...
Add buildable data support to GtkTreeStore
See merge request GNOME/gtk!4695
2022-05-06 15:22:41 +00:00
Matthias Clasen
0da75b0bbf
gsk: Check for half float support
...
The GL renderer currently relies on half float support
in vertex buffers, so check that we have it.
Related: #4894
2022-05-06 11:05:57 -04:00
Ivan Molodetskikh
8328bd9f96
list-item: Use notify_by_pspec instead of by name
...
This is a hot path when scrolling a ColumnView, and
g_param_spec_pool_lookup () was taking a measurable part in this hot
path. Instead, notify using pspecs to avoid the name lookup.
Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334
2022-05-06 18:05:03 +03:00
Luca Bacci
1a82e6a762
Merge branch 'gdk-win32-rework-scroll-input-handling' into 'main'
...
GdkWin32: Rework scroll input handling
See merge request GNOME/gtk!4633
2022-05-06 14:58:32 +00:00
Benjamin Otte
886bb0f522
Merge branch 'list-item-factory-no-freeze-thaw' into 'main'
...
listitemfactory: Track notify manually instead of freeze/thaw
See merge request GNOME/gtk!4696
2022-05-06 14:52:21 +00:00
Ivan Molodetskikh
d65e7c9d05
listitemfactory: Track notify manually instead of freeze/thaw
...
freeze/thaw_notify () showed up on the perf trace for rapid ColumnView
scrolling. Track the three properties manually to make it a little
faster.
Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334
2022-05-06 17:31:24 +03:00
Matthias Clasen
a96af76c8a
Merge branch 'unclipped-screenshots' into 'main'
...
builder-tool: Include shadows in screenshots
See merge request GNOME/gtk!4692
2022-05-06 13:49:14 +00:00
Matthias Clasen
0ce49daa5f
testsuite: test new treestore builder functionality
...
Verify that we can nest rows.
2022-05-06 09:29:44 -04:00
Matthias Clasen
08154c41f9
treestore: support nested data in builder
...
This allows <row> elements to be nested.
Note that the child rows must come after
the data for the row itself.
2022-05-06 09:29:44 -04:00
Matthias Clasen
f880d24f2a
builder: Allow checking for multiple parents
2022-05-06 09:29:44 -04:00
Matthias Clasen
10b5698b78
testsuite: Copy liststore builer tests for trees
...
This adds tests for data, but not nesting yet.
2022-05-06 09:29:44 -04:00
Matthias Clasen
c2e8604805
treestore: Copy liststore buildable implementation
...
This add support for data, but does not allow
nesting yet.
2022-05-06 09:29:44 -04:00
Matthias Clasen
1a488722fa
treestore: Cosmetics
...
Some renaming in the buildable code to make it more
similar to the liststore implementation.
2022-05-06 09:29:44 -04:00
Benjamin Otte
361e8ac076
Merge branch 'otte-main-patch-11831' into 'main'
...
Don't invalidate parent if it didn't change
See merge request GNOME/gtk!4693
2022-05-06 13:03:47 +00:00
Luca Bacci
66a0e0a59e
GdkWin32: Send smooth scroll events
...
Bring back smooth scroll events as the issues mentioned
in [1] do not occur anymore. Also rework code style and
comments.
References:
[1] GTK4: Scrolling hides mouse on windows
https://gitlab.gnome.org/GNOME/gtk/-/issues/3581
[2] Why are mouse wheel messages delivered to the focus window
instead of the window under the mouse?
https://devblogs.microsoft.com/oldnewthing/20160420-00/?p=93325
2022-05-06 15:01:59 +02:00
Benjamin Otte
c29bf115f2
Don't invalidate parent if it didn't change
...
This looks like a leftover excess invalidation from when the surrounding
code was refactored to not just be called on parent changes but also
when repositioning inside the same parent in commit
507016cafc
Ivan Molodetskikh found this problem in
https://gitlab.gnome.org/GNOME/gtk/-/issues/3334#note_1445873 which
contains a longer analysis of this problem and the performance
reductions it causes.
Related: #3334
2022-05-06 11:50:55 +00:00
Matthias Clasen
b74aec3606
Merge branch 'editable-label-fixes' into 'main'
...
theme: Fix editable label selection
See merge request GNOME/gtk!4690
2022-05-05 23:38:23 +00:00
Matthias Clasen
e3abd7df5c
builder-tool: Include shadows in screenshots
...
Remove the clipping to the widget area that
GtkWidgetPaintable imposes, so we can see shadows
and other out-of-bounds rendering. This is particularly
useful for toplevel windows with client-side decorations.
2022-05-05 18:29:05 -04:00
Matthias Clasen
25069cf233
editablelabel: Make :editing writable
...
This does not hurt, and lets us start editing from
a ui file, which is useful for documentation screenshots.
2022-05-05 17:33:24 -04:00
Matthias Clasen
158963ff77
gdk: Check OES_vertex_half_float GLES extension
...
This will be checked in the GL renderer.
2022-05-05 13:21:25 -04:00
Matthias Clasen
19fa7d513d
theme: Fix editable label selection
...
When the editable label is in editing mode,
selections should appear the same as in other
entries.
2022-05-05 12:44:40 -04:00
Matthias Clasen
a0374334d4
Merge branch 'matthiasc/for-main' into 'main'
...
docs: Fix a spinbutton example
See merge request GNOME/gtk!4686
2022-05-04 12:28:32 +00:00
Matthias Clasen
3bae7f540e
docs: Fix a spinbutton example
...
We need to use editable api for editable functionality.
2022-05-04 07:42:45 -04:00