Matthias Clasen
6acb8c4e9c
text: Track user changes better
...
Make all the action signal handlers call
begin/end_change(), so we can rely on
change_count being >0 to check later if
an action is user-initiated or programmatic.
Fixes : #6018
2023-08-24 10:20:39 -04:00
Benjamin Otte
84204a0215
gl: Pass swizzle array directly
...
There's no need to pass pointers to arrays, as arrays are already
pointers.
2023-08-24 10:20:03 -04:00
Benjamin Otte
db545439c0
columnview: Fix refcounting woes
...
The new code did not deal with the GtkScrollInfo properly.
Related: #6002
2023-08-24 10:19:49 -04:00
Benjamin Otte
5f02d8fac5
gdkcontext: Make has_unpack_subimage() do the version check
...
Makes the code look simpler when we actually use that function.
2023-08-24 10:19:41 -04:00
Benjamin Otte
7dba2a021e
treeviewcolumn: Set ascending class for ascending order
...
The alternative button order confused the code and so the "ascending"
class was set for descending order by default, not when alternate order
is set.
2023-08-24 10:19:23 -04:00
Qiu Wenbo
1394a82507
macos: use NSPopUpButton for filter selection in native filechooser
...
On macOS 14, NSComboBox can't popup the dropdown list of filters. That
makes native filechooser on macOS completed broken. And NSComboBox is
more complex since it is a widget focused on edit capability.
NSPopUpButton is more suitable for plain selectable dropdown list.
Fixes: 4986
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn >
2023-08-24 10:19:04 -04:00
Qiu Wenbo
0997d39a06
filefilter: fix UTI type conversion on macOS
...
GContentType on macOS switched to UTI since glib 2.51. We should not assume it as MIME type anymore.
Fixes : #4986
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn >
2023-08-24 10:18:55 -04:00
Daniel Boles
efb3477dc9
docs: Add/fix some links; avoid pluralisation
...
Appending `s` breaks the [type@NS.Object ] notation, so fix that in
ListHeader. Add links to ListItem and Overlay, and avoid appending `s`
after `backtick`s just for consistency with the [type@NS.Object ] issue.
2023-08-24 10:18:28 -04:00
Jeremy Bícha
23f055f7b0
print: Update printerprivate header location for cpdb backend
...
This fixes the print-cpdb build option
2023-08-24 10:18:10 -04:00
Jeremy Bícha
4d99dbc48d
test-calendar: Update timezone name
...
Debian no longer provides the MET timezone
but instead provides geographical region and city name
2023-08-24 10:18:00 -04:00
Xi Ruoyao
6b8e098f34
print: Revert "Start sorting apart includes" change for gtkprinteroptionprivate.h
...
The print backends needs the functions in gtkprinteroptionprivate.h to
be exported.
Fixes #6003 .
2023-08-24 10:17:32 -04:00
tszymanski
5844ed5b12
gtkgridview: return empty area for empty tiles during scroll
2023-08-24 10:16:48 -04:00
Hari Rana
44ef8db93a
section-accessibility: Close tag
2023-08-24 10:16:32 -04:00
Matthias Clasen
9e4f2b16e0
Post-release version bump
2023-08-24 10:14:29 -04:00
Matthias Clasen
fef69881a7
4.12.0
4.12.0
2023-08-05 00:01:26 -04:00
Matthias Clasen
be0eaa64ed
Merge branch 'matthiasc/for-main' into 'main'
...
build: Rename docs build options
See merge request GNOME/gtk!6239
2023-08-05 03:37:05 +00:00
Matthias Clasen
62087b1ab5
README: Some updates
2023-08-04 22:30:13 -04:00
Matthias Clasen
6af55a31d7
build: Rename docs build options
...
Rename gtk_doc to documentation and update_screenshots
to screenshots. The old names are still accepted.
2023-08-04 22:30:13 -04:00
Matthias Clasen
8e57818a52
Merge branch 'wip/otte/scroll-to' into 'main'
...
a scroll_to() for list widgets
See merge request GNOME/gtk!6227
2023-08-05 02:20:38 +00:00
Benjamin Otte
a447c439f4
inspector: Use scroll_to() in the object tree search
2023-08-05 03:51:55 +02:00
Benjamin Otte
2120ef38d9
columnview: Implement gtk_column_view_scroll_to()
...
It's basically the listview version, but with an (optional) column to do
cell-based scrolling/focusing.
2023-08-05 03:51:54 +02:00
Matthias Clasen
6077ea4f48
Add gtk_grid_view_scroll_to
...
This does the same as gtk_list_view_scroll_to, just
for a grid view.
2023-08-05 03:51:53 +02:00
Benjamin Otte
c278c78378
gtk-demo: Make arrowing in suggestionentry scroll the dropdown
2023-08-05 03:51:53 +02:00
Benjamin Otte
b64dc75e3a
listview: Implement gtk_list_view_scroll_to()
...
This adds a flags enum so we can also do select/focus at the same time.
It's implemented in GtkListBase, so adding support forgridview should be
easy.
2023-08-05 03:51:53 +02:00
Benjamin Otte
447c07bf5e
viewport: Use gtk_viewport_scroll_to() for focus scrolling
2023-08-05 03:51:51 +02:00
Benjamin Otte
2a5f1dc6c7
viewport: Add gtk_viewport_scroll_to()
...
First implementation of GtkScrollInfo
2023-08-05 03:51:50 +02:00
Benjamin Otte
105be5a457
gtk: Add GtkScrollInfo
...
This struct carries information about scrolling a scrollable, so that
individual scrollables can share this struct for their scrolling APIs.
For now, there's not much information here, we're still trying to cook
up an API that works well.
2023-08-05 03:51:50 +02:00
Matthias Clasen
0b6b6b0984
Merge branch 'format' into 'main'
...
adjustment: Properly use <code> tag
See merge request GNOME/gtk!6238
2023-08-05 00:20:21 +00:00
Hari Rana
a0429c8218
adjustment: Properly use <code> tag
2023-08-04 19:51:22 -04:00
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