2023-10-25 Kjell Ahlstedt 4.13.1 2023-10-24 Kjell Ahlstedt Gdk: Add DmabufFormats, DmabufTexture, DmabufTextureBuilder * gdk/gdkmm.h: Add dmabuf*.h. * gdk/gdkmm/meson.build: * gdk/src/filelist.am: Add dmabuf*. * gdk/src/contentformats.hg: Fix a comment. * gdk/src/display.[hg|ccg: Add get_dmabuf_formats(). * gdk/src/dmabufformats.[hg|ccg]: * gdk/src/dmabuftexture.[hg|ccg]: * gdk/src/dmabuftexturebuilder.[hg|ccg]: New files. * tools/extra_defs_gen/generate_defs_gdk.cc: Add GDK_TYPE_DMABUF_TEXTURE_BUILDER. * tools/m4/convert_gdk.m4: Add conversions for DmabufFormats. 2023-10-24 Kjell Ahlstedt Gtk: Add PrintDialog and PrintSetup * configure.ac: * meson.build: Require gtk4 >= 4.13.2 * gtk/gtkmm.h: Add printdialog.h. * gtk/gtkmm/meson.build: * gtk/src/filelist.am: Add printdialog and printsetup. * gtk/src/printdialog.[hg|ccg]: * gtk/src/printsetup.[hg|ccg]: New files. * tools/extra_defs_gen/generate_defs_gtk.cc: Add GTK_TYPE_PRINT_DIALOG. * tools/m4/convert_gtk.m4: Add conversions for PrintSetup. 2023-10-24 Kjell Ahlstedt Gdk, Gtk: Regenerate docs.xml and .defs files using gtk files from gtk 4.13.2. Update gdk_extra_objects.defs. 2023-10-11 Daniel Boles Widget: Document unwrapp(ed|able) vfuncs in header We have missed these (perhaps because GTK4 added them after 4.0; I havenʼt checked) and now cannot add them while we must preserve ABI, but we can at least document that weʼre aware of the shortcoming and have a comment to jog someoneʼs memory if theyʼre ever updating this for gtkmm5 https://gitlab.gnome.org/GNOME/gtkmm/-/issues/147#note_1863895 2023-10-11 Daniel Boles gtk_vfuncs.defs + missing vfuncs on GtkWidgetClass This brings the file up-to-date with current GTK4.13.2 online docs – and it would mean that if gmmproc diagnosed unwrapped vfuncs weʼd see these! https://gitlab.gnome.org/GNOME/gtkmm/-/issues/147#note_1863895 2023-10-08 Kjell Ahlstedt Gtk::Window: Deprecate present(guint32 timestamp) * configure.ac: * meson.build: Require gtk4 >= 4.13.0 * gtk/src/colordialogbutton.hg: * gtk/src/fontdialogbutton.hg: _IGNORE_SIGNAL("activate") * gtk/src/window.hg: Deprecate present(guint32 timestamp) 2023-10-05 Daniel Boles PopoverMenu: Wrap new property :flags + [gs]etters I have changed this from a ctor param only to a property in GTK4 `main`. https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6298 2023-10-05 Daniel Boles Shortcuts: Wrap new add_*() methods to populate https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6249 2023-10-04 Daniel Boles Widget: +/restore get_children() → vector Add get_children() methods with the same API/sense as the previously automatically wrapped gtk_container_get_children(). This will reduce porting headaches from gtkmm3 and is cheaper than observe_children(). https://gitlab.gnome.org/GNOME/gtkmm/-/issues/143 2023-10-04 Daniel Boles Regenerate (gdk|gtk)_(docs|enums|methods|signals)* 2023-10-04 Daniel Boles TreePath + missing ctor/assign from const_iterator Add a constructor and assignment operator each taking const_iterator, so TreePaths can be created/assigned from read-only iterators, not only writable ones. The restriction to only ::iterator does not make sense and is inconvenient (e.g. Inkscape migrating to GTK4 must drop to C API) Fix https://gitlab.gnome.org/GNOME/gtkmm/-/issues/145 2023-08-15 Daniel Boles SignalListItemFactory: Add signals taking GObjects so that the factory is usable if it's producing instances of a type other than Gtk::ListItem, e.g if it is a ListView::header-factory. Rather than going to the lengths of defeating the default documentation, I just prepend notes on the meaning of the two sets of signals, to the generated documentation. 2023-08-12 Daniel Boles ListViews|ViewPort: Default empty Flags+ScrollInfo to avoid users having to explicitly pass empty arguments if they simply want the default behaviour, which GTK does by taking a NULL ScrollInfo* and having special handling for it in some ScrollInfo instance methods; & per func names, default Flags to NONE to only scroll, no focus/select & for ColumnView, default to no column to scroll to (i.e. only the row) fixes https://gitlab.gnome.org/GNOME/gtkmm/-/issues/141