2023-05-07 Kjell Ahlstedt 4.11.1 2023-05-07 Kjell Ahlstedt Gdk, Gtk: Add new API from gtk 4.11.1 * configure.ac: * meson.build: Require gtk4 >= 4.11.1. * gdk/gdkmm/meson.build: * gdk/src/filelist.am: Add DragSurfaceSize. * gdk/src/dragsurface.[ccg|hg]: Add signal_compute_size(). * gdk/src/dragsurfacesize.[ccg|hg]: New files. * gdk/src/surface.hg: Add get/property_scale(). Deprecate create_similar_surface(). * gtk/gtkmm.h: Add columnviewcell.h and columnviewrow.h. * gtk/gtkmm/meson.build: * gtk/src/filelist.am: Add ColumnViewCell and ColumnViewRow. * gtk/src/columnview.hg: Add set/get/property_tab_behavior() and set/get/property_row_factory(). * gtk/src/columnviewcell.[ccg|hg]: * gtk/src/columnviewrow.[ccg|hg]: New files. * gtk/src/enums.hg: Add enum ListTabBehavior. * gtk/src/flowbox.hg: * gtk/src/listbox.hg: Add remove_all(). * gtk/src/gridview.hg: Add set/get/property_tab_behavior(). * gtk/src/listitem.hg: Add set/get/property_focusable(). Mark _DO_NOT_DERIVE_GTYPE. GtkListItem has become an internal type. * gtk/src/listview.hg: Add set/get/property_tab_behavior(). * tools/m4/convert_gtk.m4: Add conversions for enum GtkListTabBehavior. 2023-05-07 Kjell Ahlstedt Gdk, Gtk: Regenerate docs.xml and .defs files using gtk files from gtk 4.11.1. Update gdk_signals.defs.patch, gtk_docs_override.xml, gtk_extra_objects.defs, generate_defs_gdk.cc, generate_defs_gtk.cc. 2023-05-07 Kjell Ahlstedt Doxyfile.in: Remove obsolete entries 2023-04-26 Kjell Ahlstedt Gtk::Snapshot, Widget: Add some methods with Graphene parameters * gtk/src/snapshot.[hg|ccg]: Add push_repeat(), push_clip(), append_cairo(), append_texture(), append_color() with Gdk::Graphene::Rect. Deprecate other push_clip(), push_clip(), append_cairo(), append_texture(), append_color() overloads. Add translate(). * gtk/src/widget.[hg|ccg]: Add compute_bounds() and compute_point(). Deprecate translate_coordinates(). 2023-04-26 Kjell Ahlstedt Add namespace Gdk::Graphene with the Point, Rect and Size classes. Add the gdk_graphene test case. 2023-04-26 Kjell Ahlstedt Gdk: Generate docs.xml and .defs files for Graphene API 2023-04-26 Kjell Ahlstedt gtkmm.pc.in: Update htmlrefpub 2023-04-12 Kjell Ahlstedt Gtk::Expression, FlowBox, ListBox: Use callback functions with C linkage 2023-04-12 Kjell Ahlstedt Gtk::TreeView, ComboBox: Use callback functions with C linkage 2023-04-12 Kjell Ahlstedt Add Gdk::gdkmm_SignalProxy_async_callback() with C linkage and use it instead of Gio::SignalProxy_async_callback(). 2023-04-09 Kjell Ahlstedt Gtk::Editable, Range: Update handcoded _SIGNAL_PH and _VFUNC_PH gmmproc can now generate callback functions with C linkage. It requires a parameter with C argument names in the calls to _SIGNAL_PH and _VFUNC_PH. 2023-04-05 Kjell Ahlstedt Gtk: Use callback functions with C linkage * gtk/src/assistant.ccg: Add extern "C". * gtk/src/buildable.[ccg|hg]: Call Buildable_Class::custom_tag_[start|end]_vfunc_callback() via local functions with C linkage. * gtk/src/builderscope.[ccg|hg]: Call BuilderScope_Class::get_type_from_name_vfunc_callback() via a local function with C linkage. * gtk/src/cellarea.ccg: * gtk/src/celllayout.ccg: * gtk/src/cssprovider.ccg: Add extern "C". * gtk/src/drawingarea.ccg: Add extern "C". Use a local function with C linkage instead of Glib::destroy_notify_delete. * gtk/src/entrycompletion.ccg: * gtk/src/iconview.ccg: Add extern "C". * gtk/src/menubutton.ccg: Add extern "C". Use a local function with C linkage instead of Glib::destroy_notify_delete. * gtk/src/printer.ccg: Add extern "C". * gtk/src/printjob.ccg: Add extern "C". Use a local function with C linkage instead of Glib::destroy_notify_delete. * gtk/src/printoperation.ccg: * gtk/src/printsettings.ccg: Add extern "C". * gtk/src/scale.ccg: Add extern "C". Use a local function with C linkage instead of Glib::destroy_notify_delete. * gtk/src/shortcutaction.ccg: Add extern "C". Use a local function with C linkage instead of Glib::destroy_notify_delete. * gtk/src/textiter.ccg: * gtk/src/texttagtable.ccg: Add extern "C". * gtk/src/treelistmodel.ccg: Add extern "C". Use a local function with C linkage instead of Glib::destroy_notify_delete. * gtk/src/treemodel.[ccg|hg]: Call TreeModel_Class::iter_next_vfunc_callback() and 5 other vfuncs via local functions with C linkage. * gtk/src/treemodelfilter.ccg: * gtk/src/treeselection.ccg: * gtk/src/treesortable.ccg: Add extern "C". * gtk/src/widget.[ccg|hg]: Add extern "C". Call Widget_Class::dispose_vfunc_callback() via a local function with C linkage. Use a local function with C linkage instead of Glib::destroy_notify_delete. * gtk/src/window.[ccg|hg]: Call Window_Class::dispose_vfunc_callback() via a local function with C linkage. 2023-04-05 Kjell Ahlstedt Gdk: Use callback functions with C linkage * gdk/src/gltexture.ccg: * gdk/src/pixbuf.ccg: * gdk/src/toplevel.ccg: Add extern "C". Code that mixes up C linkage and C++ linkage has undefined behavior. Most compilers make no difference between C and C++ linkage, so it has not been an issue so far. But see issue glibmm#1. 2023-04-05 Kjell Ahlstedt CI: warnings=max, accept deprecated gtk functions