9cdebc8291
recentmanager: add 64-bit _unix() time getters
2026-10-17 13:51:51 +02:00
8c3081232b
directfb: take event times from the 64-bit clock
2026-10-17 13:51:50 +02:00
b31c0210e0
cups: get the document size without fstat()
2026-10-17 13:51:50 +02:00
f04fe55bac
thumbnails: use the 64-bit stat for FUSE mounts
2026-10-17 13:51:50 +02:00
ce7f86f05e
recentmanager: check if a file exists without its times
2026-10-17 13:51:50 +02:00
8e91be460f
search: walk folders ourselves instead of using nftw()
...
nftw() skipped folders changed after 2038 with a 32-bit time_t, and
Windows doesn't have it, so the search found nothing there.
2026-10-17 13:51:50 +02:00
8a1c1fe8bf
fileselection: use 64-bit folder times
2026-10-17 13:51:50 +02:00
e349c1b111
gtk, gdk: use the monotonic clock for polling intervals
2026-10-17 13:51:50 +02:00
d86aabf1f6
gtk: correct current time after 2038 with 32-bit time_t
...
Recent item ages, Today/Yesterday in the file chooser, the calendar
and the CUPS print time. Uses clock_gettime64 on Linux.
2026-10-17 13:51:50 +02:00
46e9e4d823
gtk: 64-bit file times for rc files and icon caches
...
Adds gtktimeprivate.h (statx on Linux, FILETIME on Windows, unsigned
32 bit elsewhere). After 2038 changes went unnoticed and the icon
cache was given up.
2026-10-17 13:36:11 +02:00
76e2e9392d
gtk: time submenus and app launches with the monotonic clock
2026-10-17 13:36:03 +02:00
22e603ee99
cups: compute the UTC print time without time()
...
This also fixes zones with quarter hours like Nepal, which came out an
hour wrong.
2026-10-17 12:17:32 +02:00
407a31fc72
x11: use the monotonic clock for colormap syncs
2026-10-17 12:17:16 +02:00
944e7d9ffe
filechooser: read modification times as 64 bit
...
Drops the GTimeVal fallback that ends in 2038 on 32-bit systems and on
Windows, and no longer creates a GDateTime for every cell.
2026-10-17 12:13:03 +02:00
f73ca30823
recentchooser: fix sort overflow for far-apart times
2026-10-17 12:03:33 +02:00
935817582d
recentmanager: use 64-bit time for item ages
2026-10-17 12:03:33 +02:00
b582666b63
fontsel: size the family list to the widest family again
...
Like the autosized column in vanilla GTK, but measured in one go, kept
for the next dialog with the same fonts, and done in idle slices when
there are thousands of fonts.
2026-10-17 11:16:09 +02:00
237736fad9
fontsel: show a family's styles together with its preview
2026-10-17 11:15:01 +02:00
cf19f77699
fontsel: keep the style when switching family
2026-10-17 11:14:25 +02:00
93cd95b174
fontsel: update the preview after the lists are redrawn
2026-10-17 11:13:58 +02:00
58851eea33
fontsel: list thousands of fonts quickly
2026-10-17 11:13:26 +02:00
a47206e0a6
pixbuf engine: keep theme image pieces in the X server
2026-10-17 11:12:39 +02:00
326f4a3085
gtkstyle: clip default theme drawing to the drawn area
2026-10-17 11:05:52 +02:00
aa9939264e
gdk: let external engines find the area cairo helper
...
It's registered as type data on GdkDrawable, so the same engine still
loads into other GTK 2 builds and falls back to gdk_cairo_create()
there.
2026-10-17 01:37:38 +02:00
92c6e6abf8
pixbuf engine: clip image parts only around themselves
2026-10-16 22:58:51 +02:00
90df8be3fa
gdkcairo: add gdk_cairo_create_in_area_libgtk_only()
...
Gives theme engines a cairo context clipped only to the window clip
rectangles that touch the area being drawn.
2026-10-16 22:42:50 +02:00
6db19d9277
gdkwindow: skip clip recomputation for new unmapped windows
2026-10-16 22:42:49 +02:00
a38351545b
gdkwindow: only recompute clips of overlapping siblings
2026-10-16 22:38:38 +02:00
91efbe0977
sizegroup: mark visited groups with a flag and a set
2026-10-16 22:33:03 +02:00
7cf2cc660b
gdkwindow: don't recompute clips for input-only windows
2026-10-16 21:17:10 +02:00
42ee594e3c
rc: cache rc set matches per widget path
2026-10-16 20:32:43 +02:00
82d570154a
rc: look up class path types once per theme
2026-10-16 20:30:11 +02:00
b8726b4f53
entry: find the invisible char once per style and font map
2026-10-16 20:26:01 +02:00
5c1b2333ff
scale: measure the value text once per size request
2026-10-16 20:25:29 +02:00
42424722a5
gtkwidget: cache where windowless containers draw
...
It's kept until allocation, mapping, parent or style change, so an
expose doesn't walk every child of every container anymore.
2026-10-16 19:56:36 +02:00
c5e9ecb8e4
gdkwindow: keep the window clip on the GC while painting
2026-10-16 19:55:22 +02:00
aa55defff0
x11: don't resend the clip and tile origin on every flush
2026-10-16 19:53:18 +02:00
bb97d1cfd6
cellrenderertext: hash the layout cache
2026-10-16 19:49:19 +02:00
6de2f8c5d3
textlayout: don't relayout unwrapped text on width changes
2026-10-16 19:49:19 +02:00
6949ae7256
liststore: don't walk up the sequence on every compare
2026-10-16 19:38:41 +02:00
9f4d03fc9c
liststore: sort with collation keys, read values once
2026-10-16 19:35:42 +02:00
d89ff56eed
treedatalist: sort with collation keys, read values once
2026-10-16 19:35:42 +02:00
592c2ed435
gdk: clip gdk_draw_layout() only around the text
2026-10-16 19:35:42 +02:00
aded12b225
gdk: don't clip GC cairo contexts to the window twice
2026-10-16 19:35:36 +02:00
86aee38b99
pixbuf engine: cache stretched theme image pieces
2026-10-16 19:35:36 +02:00
f69a1fd9d4
icontheme: hand out copies of small icons loaded last
2026-10-16 19:35:32 +02:00
dc3a6c9f82
textlayout: cache all lines drawn last
...
Redrawing or scrolling a text view no longer lays out the same lines
again.
Inspired by the line display cache of GTK 4 (commit 9926e6ebde by
Christian Hergert).
2026-10-16 16:44:00 +02:00
9b1ee6de31
textbtree: answer at once for tags applied nowhere
2026-10-16 16:32:45 +02:00
95c0df3897
textview: skip the pointer lookup in buffers without tags
2026-10-16 16:06:17 +02:00
de8315084b
textbtree: keep the path from the root on the stack
2026-10-16 16:00:07 +02:00