Commit graph

22,108 commits

Author SHA1 Message Date
620daefb53 gtk: fix GtkNotebook group name parameter docs 2026-05-08 18:16:31 +02:00
95b61f9f5a gtk: fix GtkPaned handle window parameter docs 2026-05-08 18:15:07 +02:00
c5ba66cd42 gtk: expose GtkTooltips to introspection scanner 2026-05-08 18:12:44 +02:00
d07415153d Merge remote-tracking branch 'origin/master' into warning-cleanups 2026-05-08 17:19:28 +02:00
1123c0e3a2 gdk: keep pointer hook APIs introspectable 2026-05-08 16:49:19 +02:00
b33e3dafb0 gdk: keep X11 raw handle getters introspectable 2026-05-08 16:32:51 +02:00
500436f324 gdk: keep window filter APIs introspectable 2026-05-08 15:56:11 +02:00
9b8b68ec1c gdk: keep drawable image copy introspectable 2026-05-08 15:41:56 +02:00
59f69e07d9 gdk: keep window update area introspectable 2026-05-08 15:33:35 +02:00
a42887b04c gdk: keep region APIs introspectable 2026-05-08 15:25:38 +02:00
1c3178ba15 gtk: keep clipboard setter APIs introspectable 2026-05-08 14:19:34 +02:00
1ced167a6a gtk: fix child notify introspection parameter name 2026-05-08 13:50:33 +02:00
bfc6b64c70 gtk: fix text buffer introspection annotations 2026-05-08 12:44:14 +02:00
9f9b95621f gtk: fix GtkWidget introspection annotations 2026-05-08 12:16:50 +02:00
12c51e6d9d gdk: annotate graphics context helpers 2026-05-08 11:38:58 +02:00
ee94edd0dc gdk: annotate display pointer helpers 2026-05-08 11:00:12 +02:00
efb5d7ea2b gdk: annotate X11 cursor return values 2026-05-08 10:53:37 +02:00
21de53f40c gdk: annotate X11 display return values 2026-05-08 10:46:29 +02:00
b94401f53e gdk: annotate colormap return values 2026-05-08 10:39:18 +02:00
919afa280d gdk: annotate colormap return values 2026-05-08 10:36:24 +02:00
35cf32e0c5 gdk: annotate default display return value 2026-05-08 10:28:25 +02:00
248ee64289 gdk: add thread callback annotations 2026-05-08 10:20:08 +02:00
4d067bbd72 gtk: add clipboard callback annotations 2026-05-08 09:55:47 +02:00
dd687e7c71 gtk: do not unref borrowed GDateTime values
Signed-off-by: Daemonratte <daemonratte@daemonratte.net>
2026-05-08 09:44:04 +02:00
5a82ada8c5 gdk: align drawable colormap parameter names 2026-05-08 09:02:55 +02:00
c8338505ae gdk: add missing drawable API annotations 2026-05-07 19:18:21 +02:00
4b5872298e gdk: add missing window API annotations 2026-05-07 18:37:39 +02:00
7e9fb7ce53 gail: drop volatile from once-init type IDs 2026-05-07 18:12:16 +02:00
00a6b9955b build: require gettext 0.19.3 for clean autoreconf 2026-05-05 15:28:22 +02:00
b751584a81 build: ship gtk-doc build infrastructure 2026-05-05 15:28:19 +02:00
feeacb33bc po: avoid updating translations during normal builds 2026-05-05 15:28:13 +02:00
1a553bb48d docs: add missing gtk-doc override files 2026-05-05 15:28:10 +02:00
c3147531d9 build: use LINGUAS for po-properties 2026-05-05 15:28:07 +02:00
7c42e6ae0f build: replace obsolete GLib gettext macros
Switch from the old GLib gettext macros to GNU gettext infrastructure, keep the gtk20 and gtk20-properties domains, and define GTK_LOCALEDIR without AM_GLIB_DEFINE_LOCALEDIR.
2026-05-05 15:28:00 +02:00
09183c4c85 configure: require FriBidi 0.19.2 or newer 2026-05-05 08:49:44 +02:00
6ca13e3b1c configure: make xReply header test robust against strict CFLAGS 2026-05-05 08:32:45 +02:00
b9e1547e39 build: link against FriBidi 2026-05-04 17:09:47 +02:00
a5e2391f2e Add compatibility wrappers for GLib APIs introduced after 2.38: pattern matching helpers, GFileInfo modification time handling, and GBookmarkFile recent-file metadata.
Use the newer GDateTime and renamed pattern APIs when available, while
falling back to the older time_t/GTimeVal and pattern APIs with older
GLib versions. Internally, recent timestamps continue to be stored as
gint64 where possible.
2026-05-04 17:09:47 +02:00
db6ebcde3b gtkbuilder: add fallback for older GLib
Use g_object_new_with_properties() when building against GLib 2.54 or
newer, and fall back to g_object_newv() with older GLib versions.

This allows lowering the minimum required GLib version to 2.38 while
keeping the modern constructor path available on current GLib.
2026-05-04 14:59:47 +02:00
9af12b6dde gtk,gdk: add gsize-safe memdup compatibility helpers
Use g_memdup2() when building against GLib 2.68 or newer.  For older
GLib versions, provide small internal gsize-safe fallbacks instead of
falling back to deprecated g_memdup().

This keeps compatibility with older GLib versions without reintroducing
guint-sized allocation truncation.
2026-05-04 14:18:06 +02:00
0675b80da2 gtk: avoid duplicated g_sort_array fallback code
The previous fallback duplicated the full sort call at each use site,
which was unnecessarily noisy and harder to maintain.

Add a small internal _gtk_sort_array macro instead, using g_sort_array()
when available and g_qsort_with_data() on older GLib versions.
2026-05-04 08:08:20 +02:00
9accefd2d1 bump dependencies 2026-05-03 20:54:22 +02:00
42a31c8576 Clean up trailing whitespace 2026-05-03 15:16:52 +02:00
a888e7dac8 doc: clarify instructions for Gentoo 2026-05-03 12:08:56 +02:00
32d4725cee List dependencies for Artix and Gentoo 2026-05-03 12:05:54 +02:00
2edc7fd3e9 Append README 2026-05-03 11:43:01 +02:00
8c862d8c53 Update NEWS and README 2026-05-03 11:40:47 +02:00
4bdf50166b Fix encoding in NEWS 2026-05-03 10:03:53 +02:00
c2ba22f503 gtk: add GLib version fallback for g_sort_array
Use g_sort_array() with GLib 2.82 and newer, and fall back to
g_qsort_with_data() on older GLib versions where g_sort_array() is not
available.
2026-05-03 09:47:31 +02:00
422ee3a14e docs: split legacy GTK+ 2 news into archived NEWS file
Move the historical upstream GTK+ 2.x release notes into
NEWS.pre-2-24-34 and keep NEWS focused on gtk2-ng changes only.

This makes the current NEWS file easier to read for users and
packagers who want to see what changed since the fork, while still
preserving the old upstream GTK+ release history in the repository.
2026-05-03 09:34:45 +02:00