Commit graph

22,281 commits

Author SHA1 Message Date
15ef87a7b6 textiter: don't read before the line attributes
Backported from GTK 3 commit ca3d87ce70 by Matthias Clasen.
2026-10-15 15:45:18 +02:00
9dc515c29c textlayout: don't free a missing line display on zero moves
Backported from GTK 3 commit 02e2f7dc56 by Matthias Clasen.
2026-10-15 14:08:04 +02:00
64d849f8f0 x11: fix out-of-bounds read in the key type shift level
Backported from GTK 3 commit e75310a445 by Matthias Clasen.
2026-10-15 14:08:03 +02:00
e1a840186f x11: skip vanished child windows when listing children
Backported from GTK 3 commit 430ea2fff6 by Maks Naumov.
2026-10-15 14:08:02 +02:00
88c1c434cd treestore: don't crash when reordering a row without children
Backported from GTK 3 commit 0d2d1904b1 by Olivier Brunel.
2026-10-15 14:08:01 +02:00
7dd2375e9f icontheme: fix crash on directories without a Context key
Backported from GTK 3 commit 21cd322df9 by Emmanuele Bassi.
2026-10-15 11:46:11 +02:00
6dff9147fb immulticontext: disconnect surrounding handlers from the old IM
Backported from GTK 3 commit 822705fe3e by Alexandr Miloslavskiy.
2026-10-15 11:42:19 +02:00
7b28df566f recentchooser: fix assertion when dragging recent files
Backported from GTK 3 commit e5eb59a2f8 by Hiroyuki Ito.
2026-10-15 11:39:17 +02:00
686fff335d printer: don't use the freed backend list when enumerating
Backported from GTK 3 commit 931f7863ec by Marek Kasik.
2026-10-15 11:39:17 +02:00
24a2f6dad4 textbufferserialize: reject bad section lengths
Negative lengths or lengths running past the data used to hang or read
out of bounds.
2026-10-15 11:30:51 +02:00
869ad66e19 notebook: fix crash on button release without pages 2026-10-15 11:30:51 +02:00
c5f7672ee1 gail, iconview: use atk_component_get_extents()
From the warning-cleanups branch.
2026-10-15 11:30:51 +02:00
aecee2b1ac gtk, win32: use the result of g_string_free()
From the warning-cleanups branch.
2026-10-15 11:30:51 +02:00
20bdcce69b win32: add two casts newer compilers ask for
Taken from Ardour's YTK:

- ee0b7601 (EZ4Stephen)
2026-10-15 10:02:18 +02:00
8c73c33ef3 build: no symbol aliases on Windows
A GLib built with clang claims visibility support there, but the
Windows sources don't define any aliases.
2026-10-15 10:02:18 +02:00
c9c7a294c1 gtk: export the nine marshallers from 2.24.32 again
2.24.32 exported them by accident, and programs built against it link
to them.
2026-10-15 09:54:09 +02:00
d1ad63a098 headers: don't mark _get_type and _quark functions const
They register types as a side effect, and newer compilers drop calls
whose result isn't used.

The same change as GTK 3 commit f30efa7759 by Matthias Clasen.
2026-10-15 09:53:23 +02:00
13a6a8be1c gtk: support GDK_NO_XSETTINGS and GTK_LOCALEDIR
Taken from Ardour's YTK:

- adeebb8f (Paul Davis)
- 42eb1188 (jean-emmanuel)
2026-10-15 09:51:50 +02:00
adea3e34af gtkmodules: also look in /usr/lib/gtk-2.0 on multiarch
Based on Debian's 098_multiarch_module_path.patch by Steve Langasek,
which Ardour's YTK carries as well.
2026-10-15 09:14:43 +02:00
b422502d7a gtk-update-icon-cache: read directories sorted, stat once 2026-10-15 09:08:00 +02:00
8c1c905be0 build: drop fallbacks for unsupported dependency versions
The minimum versions are listed in INSTALL now.
2026-10-15 09:07:46 +02:00
4851a82452 ms-windows: don't use a deprecated size call 2026-10-15 09:07:31 +02:00
9a491e585a gtkfilesystem: bound the shared file icon cache 2026-10-13 15:56:01 +02:00
21087a4009 filechooser: no blocking file system calls when changing folders 2026-10-13 15:56:01 +02:00
89850b3602 filechooser: query icons only for the rows on screen 2026-10-13 15:56:01 +02:00
6cf67e8b7c filechooser: give all names in the icon view the same height 2026-10-13 15:56:01 +02:00
da49e7bb79 gtkiconview: reuse cell layouts across relayouts, avoid O(n) walks per row
The cached cell layout is dropped together with the item size, so changes
still have to come with a row-changed, just like for the item size.
2026-10-13 15:56:01 +02:00
32175fcd80 filechooser: use fixed-height mode for the file list 2026-10-13 15:56:01 +02:00
e98b38f46e filechooser: use fast-content-type, read files only for MIME filters 2026-10-13 15:56:01 +02:00
7453c733c7 filechooser: show the files of a folder while it is still loading 2026-10-13 15:56:01 +02:00
76887647a1 gtkfilesystemmodel: keep nodes by stable ID and show files while loading
Files go to an unsorted tail and are merged into the sorted rows in short
slices, so a folder shows up while it is still loading. Filtering and
sorting run in the background as well; _gtk_file_system_model_flush()
brings the rows up to date where the chooser needs them right away.
2026-10-13 15:56:01 +02:00
0663c0f616 filechooser: select the row under the pointer on right click 2026-10-13 15:56:01 +02:00
810008f25e filechooser: add "Copy Location" to the context menu 2026-10-13 15:56:01 +02:00
2d8c88972d filechooser: create the icon view zoom scale on demand 2026-10-13 15:56:01 +02:00
212df8a74e fontsel: localize common font style names 2026-08-10 14:08:34 +02:00
0f4142b31a introspection: add GdkWin32 GIR generation 2026-08-10 12:05:31 +02:00
f14303e16f introspection: pass compiler and GTK DLL path to scanner 2026-08-09 23:10:13 +02:00
ea73f6812c gtk: replace deprecated tooltip timestamp ABI field 2026-08-07 08:53:00 +02:00
782a2948b8 gail: update AtkValue test modules
Use a shared private compatibility helper in the GAIL test modules.

Exercise the modern AtkValue API when ATK 2.12 or newer is available while retaining the legacy test path for older ATK versions.

Initialize temporary GValues explicitly and keep the helper symbols private to the test modules.
2026-08-07 08:53:00 +02:00
a116a5d13b gail: implement modern AtkValue interface
Add compile-time support for the modern AtkValue API available since ATK 2.12 while retaining compatibility with older ATK versions.

Implement direct modern value, range, increment and setter methods for adjustments, paned widgets, progress bars, ranges, scale buttons and spin buttons.

Keep the implementation private, avoid per-instance memory overhead and preserve the existing exported ABI.
2026-08-07 08:53:00 +02:00
d0c4346396 cups: use modern HTTP connection helpers when available
Detect httpConnect2 and httpReconnect2 at configure time.

Preserve blocking, encryption, timeout and reconnect semantics while retaining the legacy CUPS APIs as compile-time fallbacks.
2026-08-07 08:53:00 +02:00
0911aa2f2f gtk: remove unused IM module query function pointers
Keep symbol validation while avoiding unused typed variables and assignments.
2026-08-07 08:53:00 +02:00
672b195592 gtk: reuse cached module path list
Avoid computing and allocating the module path list a second time.
2026-08-07 08:53:00 +02:00
450e784037 gtk: replace deprecated IM module parser helpers
Use local compile-time selected parser helpers with a legacy Pango fallback.

Avoid temporary string decompression allocations and use unlocked stdio where available.
2026-08-07 08:53:00 +02:00
73183e1a30 gdk: add high-depth RGB image drawing
Add RGB48 and RGBX64 drawing APIs with direct conversion for common 15-, 16-, 24-, 30- and 32-bit TrueColor visuals. Preserve the existing GdkRGB path as a fallback for unsupported visuals and maximum dithering.
2026-08-05 12:15:23 +02:00
8984300bba gdk: optimize packed StaticColor conversion 2026-08-04 21:26:05 +02:00
a923aa3120 gdk: fix packed StaticColor dithering 2026-08-04 19:41:58 +02:00
b58fc23765 gdk: support 2-bit StaticColor visuals 2026-08-04 19:08:54 +02:00
e92e770558 gdk: support 3-bit StaticColor visuals 2026-08-04 18:52:31 +02:00
be64a902a5 gdk: optimize native big-endian RGB565 paths
Add native big-endian four-pixel converters for RGB565, grayscale RGB565, and dithered RGB565.

Select the block converters only where cross-target code generation is favorable: RGB on PowerPC, s390x, ARMv5+, and AArch64; grayscale on PowerPC, ARMv5+, AArch64, and m68k; and dither on PowerPC. Retain the scalar fallbacks everywhere else.

The little-endian machine code remains byte-for-byte unchanged. No runtime endian checks, allocations, or additional image buffers are introduced.

Validated with a complete build and test suite, deterministic and randomized big-endian formula tests, exact little-endian .text comparison, and cross-target code-generation checks.
2026-08-04 17:57:34 +02:00