2022-08-04 Kjell Ahlstedt 4.7.1 2022-08-04 Kjell Ahlstedt gtk/gtkmm.h: Add inscription.h and update the link to the gtkmm tutorial. 2022-08-02 Kjell Ahlstedt Gtk::Widget::signal_destroy(): Format the description to fit Doxygen 2022-08-02 Baldvin Kovacs Expose the "destroy" signal, emitted by dispose. 2022-07-29 Kjell Ahlstedt Add Gtk::Inscription 2022-07-26 Kjell Ahlstedt Gtk::ApplicationWindow: Disambiguate activate_action() A call to activate_action() is a call to Gtk::Widget::activate_action(), not a call to Gio::ActionGroup::activate_action(). Fixes #122 2022-07-24 Kjell Ahlstedt CI: Don't use warning_level and werror The are applied also to subprojects. 2022-07-24 Kjell Ahlstedt Add API from gtk 4.7.1 * configure.ac: * meson.build: Require gtk >= 4.7.1 * gdk/src/enums.hg: enum ScrollUnit * gdk/src/event.hg: get_scroll_unit() * gtk/src/checkbutton.[ccg,hg]: set/unset/get/property_child() * gtk/src/enums.hg: enum ContentFit (commented out) * gtk/src/eventcontrollerscroll.hg: get_unit() * gtk/src/picture.hg: Add set/get/property_content_fit() (commented out). Deprecate set/get/property_keep_aspect_ratio(). * gtk/src/searchentry.hg: set/get/property_search_delay() * gtk/src/signallistitemfactory.hg: Add a comment on the signals in gtk now taking GObject* instead of a GtkListItem*. * gtk/src/directorylist.hg: * gtk/src/filterlistmodel.hg: * gtk/src/flattenlistmodel.hg: * gtk/src/multifilter.hg: * gtk/src/multiselection.hg: * gtk/src/multisorter.hg: * gtk/src/noselection.hg: * gtk/src/selectionfiltermodel.hg: * gtk/src/shortcutcontroller.hg: * gtk/src/singleselection.hg: * gtk/src/slicelistmodel.hg: * gtk/src/sortlistmodel.hg: * gtk/src/treelistmodel.hg: property_item_type(), property_n_items() * tools/extra_defs_gen/generate_defs_gtk.cc: Add GTK_TYPE_MULTI_FILTER and GTK_TYPE_MULTI_SORTER. * tools/m4/convert_gdk.m4: Add conversions for enum Gdk::ScrollUnit. * tools/m4/convert_gtk.m4: Add conversions for enum Gtk::ContentFit. 2022-07-24 Kjell Ahlstedt Gdk, Gtk: Regenerate docs.xml and .defs files using gtk files from gtk 4.7.1. Update gdk_docs_override.xml, gtk_docs_override.xml and gtk_signals.defs.patch. 2022-07-13 Kjell Ahlstedt Update links to gdkkeysyms.h in the documentation The default branch name in gtk's git repo is main (was master). 2022-07-13 Kjell Ahlstedt Doxyfile.in: Allow more graph nodes Required for Gtk::Widget's inheritance diagram. 2022-07-13 Kjell Ahlstedt Gtk::Dialog: Update the class description 2022-07-04 Kjell Ahlstedt Gdk::Drag, Gdk::Drop: Improve the class descriptions 2022-06-29 Kjell Ahlstedt Gtk::Widget: Update the class documentation Mention event controllers instead of the event signals that don't exist in gtkmm4. 2022-06-12 Andrew Potter Gtk::Application: Only create window on first activate Activate signals can arrive more than once, but creating an additional window is every time is not normally desired. Instead, check if the window already exists and simply raise() it. 2022-06-08 Kjell Ahlstedt Gtk: Don't derive gtkmm__GtkXxx GTypes from final types Add _DO_NOT_DERIVE_GTYPE and _ABI_AS_WITH_DERIVED_GTYPE where the underlying C class is declared G_DECLARE_FINAL_TYPE or GDK__DECLARE_INTERNAL_TYPE. 2022-06-08 Kjell Ahlstedt gmmproc: Improved handling of final types * tools/m4/class_shared.m4: New file. It's a copy of the corresponding file in glibmm. The copy in gtkmm makes it possible to use _DO_NOT_DERIVE_GTYPE and _ABI_AS_WITH_DERIVED_GTYPE even if you build against a version of glibmm where class_shared.m4 has not been updated. * tools/extra_defs_gen/meson.build: * tools/m4/filelist.am: Add class_shared.m4. 2022-05-24 Chun-wei Fan Meson: Simplify compiler flag checking As Kjell suggested, don't use a for loop as get_supported_arguments() works on a list and returns a list. 2022-05-23 Chun-wei Fan meson.build/MSVC: Disable more warnings These warnings are not ones that we do need to be worried about when building gtkmm, and we should extend applying them for the (generated) C sources as well 2022-05-23 Chun-wei Fan meson.build/MSVC: Re-order warnings-related c[xx]flags a bit Don't (needlessly) repeat checking for the '/utf-8' compiler flag, and use the `/wd4267` compiler flag only when building a 64-bit build, since warning C4267 only applies for 64-bit builds. Also, add a short description for the warning-related compiler flags for Visual Studio. 2022-05-23 Chun-wei Fan meson.build: Fix builds with Vulkan-enabled GTK Look for the Vulkan SDK so that we can find its headers, which is needed when compiling the sources against a GTK-4.x build that has the Vulkan GSK renderer enabled for the build. We do not link to the Vulkan libraries to build gtkmm, so for now we do not add a dependency in gtkmm's pkg-config files, and Meson may have found Vulkan internally via methods other than pkg-config. 2022-05-21 Kjell Ahlstedt meson.build: Avoid configuration warnings 2022-05-11 Kjell Ahlstedt CI: Use Ubuntu 22.04 Ubuntu 22.10 is perhaps too immature. 2022-05-11 Kjell Ahlstedt Add Gtk::Entry::signal_activate() It's an action signal, but it can be used by applications. Fixes #100, see also #116. 2022-04-14 Kjell Ahlstedt Gtk::Object::_release_c_instance(): Unref orphan managed widgets g_object_run_dispose() unrefs a widget only if it has a parent. Use g_object_unref() on all widgets without a parent. Fixes #115 2022-03-22 Kjell Ahlstedt Gtk::Application: Simplify make_window_and_run() Use Window::set_manage() (via Gtk::make_managed()) and Window::destroy(). See #114 2022-03-22 Kjell Ahlstedt Allow managed Gtk::Window's A managed Window is deleted when its underlying C instance is destroyed. * gtk/gtkmm/object.h: Add more documentation of Gtk::manage(). * gtk/src/window.[ccg|hg]: Add set_destroy_with_parent() and destroy(). set_manage() makes the window managed. Fixes #24, see also #114 2022-03-22 Kjell Ahlstedt Add enum Gdk::GLApi, deprecate enum Gdk::GLAPI * gdk/src/glcontext.hg: Add enum GLApi, set_allowed_apis(GLApi apis), get_allowed_apis2(), get_api2(). Deprecate enum GLAPI, set_allowed_apis(GLAPI apis), get/property_allowed_apis(), get/property_api(). Fixes #113