Commit graph

22,445 commits

Author SHA1 Message Date
f33ba1b8f2
gtk: the touch-event signal of GTK+ 3, for widgets whose window asks for GDK_TOUCH_MASK 2026-10-19 11:30:29 +02:00
c0caea027d
gdk: touch events as in GTK+ 3 (GDK_TOUCH_MASK, the touch event types, XInput 2.2 on X11); windows without the mask get the pointer of the first finger, marked as emulated 2026-10-19 11:30:29 +02:00
d35ef12fda
filechooser: Enter in the location entry of a file chooser in a window of the program's own opens the folder or chooses the file (file-activated), where no default button takes it (from Ardour's YTK) 2026-10-19 11:30:29 +02:00
b024119172
GDK_NO_XSETTINGS leaves the settings of the desktop unread, GTK_LOCALEDIR points to the translations of GTK+ (from Ardour's YTK) 2026-10-19 11:30:29 +02:00
2933cdb857
modules: theme engines and input methods are also looked for in /usr/lib/gtk-2.0 where GTK+ is in a multiarch folder, as Debian does 2026-10-19 11:30:29 +02:00
64daa2e278
win32: two casts that newer compilers ask for (from Ardour's YTK) 2026-10-19 11:30:29 +02:00
5ef9c33fcc
recentmanager: the folder of the list is made when it is not there, as on Mac OS X and new accounts, where nothing was saved (from Ardour's YTK) 2026-10-19 11:30:29 +02:00
bcf701c2b9
hsv: the pixels of the color wheel live as long as cairo's surface of them, which cairo-quartz still read after they were freed (from Ardour's YTK) 2026-10-19 11:30:28 +02:00
fed3570d95
quartz: enter and leave events on macOS 13 and newer, a redraw after a window comes back from the Dock, and the 10.4 SDK builds again (from Ardour's YTK) 2026-10-19 11:30:28 +02:00
2bff52b2d3
quartz: full screen of GDK in the full screen of the system no longer throws, a window that a program puts back where it was no longer goes up by the height of the title bar, and the modal hint is kept (from Ardour's YTK) 2026-10-19 11:30:28 +02:00
8d7e09e32e
quartz: the resolution no longer asks for userSpaceScaleFactor where macOS has no such message any more, which threw at start (from Ardour's YTK) 2026-10-19 11:30:28 +02:00
7fdb214b02
entry, text view: the emoji chooser of GTK+ 3.22 with Ctrl+. and Ctrl+; and in the context menu: search in the language of the desktop, the recently used first, one grid drawn only where exposed; the data of GTK+ 3 is installed and mapped when the chooser first opens 2026-10-19 11:30:28 +02:00
f6d9ad543d
entry, text view: placeholder text as in GTK+ 3.2, and the input purpose and hints of GTK+ 3.6 for input methods; a hidden entry tells them it is a password, a spin button that it takes a number 2026-10-19 11:30:28 +02:00
65a408417c
GtkFileChooserNative and GtkNativeDialog with the API of GTK+ 3.20: the file dialog of Windows (IFileDialog, and the common dialogs on XP and ReactOS), of Mac OS X (NSOpenPanel and NSSavePanel from 10.4 on) and of the desktop portal where GTK_USE_PORTAL=1 or in Flatpak, else the GTK+ dialog; Pale Moon uses it with widget.allow-gtk-native-file-chooser; gtk_file_filter_to_gvariant() and _new_from_gvariant() as in 3.22 2026-10-19 11:30:28 +02:00
6e530d1cf2
gdk: GDK_SMOOTH_SCROLL_MASK as in GTK+ 3.4: a window that asks for it gets smooth scroll events with the distance from high resolution wheels and touchpads, and not the whole steps made of them; every other window keeps the steps 2026-10-19 11:30:28 +02:00
d9f1f0748c
gdk: the pixmap behind an expose is made only when a double-buffered widget draws into it, so windows that draw themselves (video players, GL, Pale Moon after an expose) no longer have one the size of the exposed area made and freed in the X server each time 2026-10-19 11:30:28 +02:00
57961c4441
gdk/x11: before the main loop waits, the X connection is no longer read from (twice) when nothing can have come in that the wait would not see; an empty turn of the main loop, of which Pale Moon makes tens of thousands a second, costs a third of what it did 2026-10-19 11:30:28 +02:00
d04fb4cd10
gdk/x11: gdk_window_get_origin() keeps where a native window is until something that can move windows happens (or half a second), instead of asking the X server each time; Pale Moon asked thousands of times a second while the mouse moved 2026-10-19 11:30:27 +02:00
9c1a8b2652
filechooser: thumbnails are shown from the next larger size made smaller with the quick bilinear filter, and one smaller than the icon, of a small picture, is no longer enlarged 2026-10-19 11:30:27 +02:00
ce11158cb1
icontheme: sizes a theme has no picture of are made as Mac OS X does: an SVG is drawn at twice the size, a bitmap is taken from one of twice the size or more where there is one, and both are made smaller with a Lanczos filter instead of the averaging bilinear one 2026-10-19 11:30:27 +02:00
a822ded39c
stock icons: all sizes GTK+ asks for (16, 18, 20, 24, 32, 48) are made from the SVGs as Mac OS X does, drawn at twice the size and made smaller with a Lanczos filter, instead of scaled at run time from the next size there is; an icon of exactly the size wins over one within the threshold 2026-10-19 11:30:27 +02:00
7b4448388b
configure: --enable-win32-time64 builds for 32-bit Windows with a 64-bit time_t, which msvcrt.dll has had since Windows 2000, so also on XP and ReactOS; gtk+-2.0.pc passes it on to the programs, whose time_t must be the same 2026-10-19 11:30:27 +02:00
1c59cdb971
recentmanager: gtk_recent_info_get_added_unix(), _modified_unix(), _visited_unix() and gtk_recent_info_get_application_info_unix(), the times as 64-bit seconds next to the time_t ones, which end in 2038 where time_t has 32 bits 2026-10-19 11:30:27 +02:00
e5425116ec
gdk/directfb: event times from the 64-bit wall clock instead of the GTimeVal, whose glong ends in 2038 on 32-bit systems 2026-10-19 11:30:27 +02:00
f74a593f91
cups: the size of the document to send is taken from the end of the file where fstat() fails, as it does for a file written after 2038 where time_t has 32 bits 2026-10-19 11:30:27 +02:00
d89e5651ec
thumbnails: the device of a FUSE mount is looked up with the 64-bit stat, so a folder changed after 2038 is still known as local 2026-10-19 11:30:27 +02:00
b85626343b
recentmanager: gtk_recent_info_exists() asks whether the file is there instead of for its times, which stat() cannot give for files changed after 2038 where time_t has 32 bits 2026-10-19 11:30:27 +02:00
679dad58ce
search: the simple search walks the folders itself instead of with nftw(), which did not go into folders changed after 2038 where time_t has 32 bits and which Windows does not have, where the search found nothing 2026-10-19 11:30:26 +02:00
0420ad70ab
fileselection: folders are read and recognised by their 64-bit times, so a folder changed after 2038 still opens where time_t has 32 bits 2026-10-19 11:30:26 +02:00
721715ca20
icontheme, gdk: the pause between two looks for changed themes, between two checks for the window manager and between two flushes on Quartz is measured with the monotonic clock 2026-10-19 11:30:26 +02:00
abb3c12457
the time of now for the age of recent items, Today and Yesterday in the file chooser, the day of the calendar and the CUPS print time also after 2038 where time_t has 32 bits, from clock_gettime64 on Linux 2026-10-19 11:30:26 +02:00
abea33b3ee
gtktimeprivate.h: file times as 64-bit seconds where stat() has 32 (statx on Linux, the FILETIME of Windows, the unsigned reading of a 32-bit time elsewhere); rc files, icon themes, the icon cache and gtk-update-icon-cache use them, which after 2038 failed to see changes, gave up the icon cache, or left icons out of it 2026-10-19 11:30:26 +02:00
cf6ff8c484
filechooser: the preview names an image by its format where the system has no name for its file type, instead of showing ".jpg filetype" 2026-10-19 11:30:26 +02:00
7e44fbde30
thumbnails: the Exif orientation of a JPEG is read along with its frame header, so photos also come out upright where the image loader does not report it (as GDI+ under Wine) 2026-10-19 11:30:26 +02:00
80218dd9bd
icontheme: small bitmap icons enlarged by a factor that is not whole, such as 2.5, get pixel blocks all of the same size and only the rest of the factor filtered, instead of blocks alternating between two and three pixels 2026-10-19 11:30:26 +02:00
bbdabcad59
style: the default theme draws arrows, check boxes, radio buttons and expanders with a cairo context clipped only around the area drawn, not with the whole clip of the window 2026-10-19 11:30:26 +02:00
65167e9ba8
gdk: theme engines built outside GTK+ find gdk_cairo_create_in_area_libgtk_only() as type data of GdkDrawable, so that the same engine also loads into other builds of GTK+ 2, where it uses gdk_cairo_create() 2026-10-19 11:30:26 +02:00
b591ae2797
pixbuf engine: the parts of an image are drawn with a cairo context clipped only around them, not with the whole clip of the window, which during an expose was most of the work of a pixmap theme 2026-10-19 11:30:26 +02:00
fe44ec039e
gdkcairo: gdk_cairo_create_in_area_libgtk_only() for the theme engines of GTK+, a cairo context with only the rectangles of the window clip that meet the area drawn, which within that area is the same clip 2026-10-19 11:30:25 +02:00
2b9d739cb0
menus and launching: the time since a submenu opened and the time a program takes to start are measured with the monotonic clock, so setting the clock meanwhile does not shorten or lengthen them 2026-10-19 11:30:25 +02:00
725236c4c2
cups: the time to print at is turned into UTC with the offset of local time from GDateTime, not with time(), which has no answer after 2038 where time_t is 32 bits, and in seconds, so zones with quarter hours, such as Nepal, no longer come out an hour wrong 2026-10-19 11:30:25 +02:00
ec29783922
gdkcolor-x11: the pause between two syncs of a colormap is measured with the monotonic clock, not with time(), which on 32-bit systems stops after 2038 and then let no colormap be synced again 2026-10-19 11:30:25 +02:00
04ab40425e
filechooser: the modification time of a file is read as the 64-bit seconds of GIO, without the GTimeVal fallback for older GLib that ends in 2038 on 32-bit systems and on Windows, and without making a GDateTime for every cell drawn 2026-10-19 11:30:25 +02:00
3c5d8d0ac5
recentchooser: sorting by the time of use compares the 64-bit times instead of returning their difference, which overflowed for items more than 68 years apart and mixed up the order 2026-10-19 11:30:25 +02:00
469caa6587
recentmanager: the age of an item and the clamping by age take the time of now from g_get_real_time(), not from a time_t, which on 32-bit systems ends in 2038, and compare the 64-bit times as they are 2026-10-19 11:30:25 +02:00
7422001fd4
fontsel: the family list is as wide as its widest family again, with the scrollbar below, as with the autosized column of GTK+, but measured in one go, kept for the next font selection with the same fonts, and in slices while idle with thousands of fonts 2026-10-19 11:30:25 +02:00
3fbad76041
filechoosersettings: the name of the settings folder made when it is missing is freed after use, not lost in a second variable of the same name inside the block 2026-10-19 11:30:25 +02:00
dff2bb0eef
gtk-demo: the application window, builder and images demos free their action group, builder with its about dialog, and loaded image, instead of keeping them after each run 2026-10-19 11:30:25 +02:00
430516ae7f
gdkwindow: a new window, not mapped yet, does not have the clip of all its siblings and its parent computed again 2026-10-19 11:30:25 +02:00
a34a0ab004
gdkwindow: a window shown, hidden, raised or lowered in its place has the clip computed again only for the siblings it overlaps, not for all children of its parent 2026-10-19 11:30:24 +02:00