2024-02-01  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.13.3

2024-01-31  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add new API from gtk 4.13.6

  * configure.ac:
  * meson.build: Require gtk4 >= 4.13.6.
  * gtk/src/aboutdialog.hg: GTK_LICENSE_0BSD is called BSD_0.
  * gtk/src/filelauncher.hg: Add get/set/property_writable().
  * gtk/src/settings.hg: Add property_gtk_show_status_shapes().
  * gtk/src/spinbutton.hg: Add get/set/property_activates_default().

2024-01-31  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.13.6.
  Update gdk_docs_override.xml and gtk_docs_override.xml.

2024-01-15  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Add glslc as a build dependency

2024-01-15  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Update htmlrefpub

2023-12-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::ScrolledWindow: Update the class description

  Make it similar to the description of GtkScrolledWindow.

2023-12-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Make enum operators constexpr

  * tools/m4/enum.m4: New file. Basically a copy of glibmm's
  corresponding file. It adds constexpr to operator|(), operator&(),
  operator^() and operator~() for enums of flag type.
  * tools/extra_defs_gen/meson.build:
  * tools/m4/filelist.am: Add enum.m4.
  
  Fixes #153

2023-11-22  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  gtk/gtkmm.h: Add graphicsoffload.h

2023-11-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.13.2

2023-11-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add Gtk::GraphicsOffload

  * configure.ac:
  * meson.build: Require gtk4 >= 4.13.3.
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Add graphicsoffload.
  * gtk/src/enums.hg: Add enum GraphicsOffloadEnabled.
  * gtk/src/graphicsoffload.[ccg|hg]: New files.
  * gtk/src/video.hg: Add get/set/property_graphics_offload().
  * tools/m4/convert_gtk.m4: Add conversions for GraphicsOffloadEnabled.

2023-11-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.13.3. Update gtk_docs_override.xml
  and tools/extra_defs_gen/generate_defs_gtk.cc.

2023-11-16  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Window: Get an extra reference, if not managed

  From the documentation of gtk_window_new():
    Due to GTK keeping a reference to the window internally,
    gtk_window_new() does not return a reference to the caller.
  
  GtkWindow acts approximately like a method marked (transfer none).
  The Gtk::Window constructors shall take a reference in order to avoid
  premature deletion of the GtkWindow, if it's destroyed, e.g. when
  it's closed.
  
  Fixes #151

2023-11-14  Daniel Boles  <dboles.src@gmail.com>

  NEWS: Update for recent changes

2023-11-13  Daniel Boles  <dboles.src@gmail.com>

  TreeIter: Document pitfall @ `&row = *m->append()`

  https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/88#note_1908596 &c

2023-11-10  Daniel Boles  <dboles.src@gmail.com>

  TreeIter: Add various missing fn docs & intro para

2023-11-10  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tests/tree_model_iterator: Copy a model row instead of referencing it

  See !88

2023-11-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::RecentInfo: Fix refcount of Glib::Datetime

  get_added(), get_modified(), get_visited() and get_application_info()
  return a Glib::DateTime. GtkRecentInfo returns the GDateTime with
  (transfer none). The RecentInfo methods must add their own reference.
  Fixes #150

2023-11-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Improve the test for warning_level

  Make it more immune to possible future added values.
  
  See !87

2023-11-04  Daniel Boles  <dboles.src@gmail.com>

  tests/tree_model_iterator: Fix CRITICALs as !model

  Kjell noticed at line 118 and the others creating paths from iterators:
  
  > Gtk-CRITICAL **: 10:21:51.432: gtk_tree_model_get_path:
  >   assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
  
  These criticals were because the paths were created from iterators not
  associated with a model. Make them use the same 'dummy' model as others.
  
  https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/88#note_1907963

2023-11-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: SearchEntry keeps deriving GType gtkmm__GtkSearchEntry

  instead of SearchEntry2. SearchEntry2 does not need a derived GType.

2023-11-03  Daniel Boles  <dboles.src@gmail.com>

  tests/tree_model_iterator: Fix/add const+non tests

  * Rename test_const_conversion() to _comparison() as that's what it does
  
  * Rename test_assignment_from_const() to _to_const(), ditto - & fix that
    not actually comparing the 2 different constness types, by using auto!
  
  * Make latter actually test assignment; it was only trying construction…
  
  * Make latter test that operator=() returns *this, per my recent bugfix!
  
  * Add real _from_const(), which static_asserts !constructible/assignable
  
  * Add test_operator_bool()
  
  * Add a basic model so we can check bool/equality after construction and
    assignment when we have a model, not only for empty/invalid iterators,
    since checking we are STILL empty doesnʼt confirm the operation worked

2023-11-02  Daniel Boles  <dboles.src@gmail.com>

  meson.build—Donʼt fail if warning_level=everything

  We assume the meson configure variable warning_level can always be
  converted to int, but nowadays there is a standard 'everything' option,
  which if used was causing `ninja` builds to fail. While that level is
  not very useful due to all the dodgy C stuff we are built on top of, it
  should still work in case anyone wants to test particular files under it
  – so this fixes it, by changing 'everything' to the arbitrarily high 99.

2023-11-02  Daniel Boles  <dboles.src@gmail.com>

  NEWS: Update to mention additions coming in 4.13.2

2023-11-02  Daniel Boles  <dboles.src@gmail.com>

  TreeIter: Fix operator=() missing return statement

  This is of course wrong and was causing crashes in the Inkscape GTK/mm4
  porting effort, luckily now worked around by refactoring relevant code.

2023-11-02  Daniel Boles  <dboles.src@gmail.com>

  Widget: Add [[nodiscard]] on get_children() and...

  ...drop some more redundant Gtk:: namespace qualifications there, and
  avoid introducing a template typename ambiguously also called Widget.
  
  https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/85

2023-11-02  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add SearchEntry2, deprecate SearchEntry

  SearchEntry wrongly inherits from Entry. GtkSearchEntry does not
  inherit from GtkEntry in gtk4. SearchEntry can't be fixed without
  breaking ABI.
  
  * demos/gtk-demo/example_iconbrowser.cc: Use SearchEntry2.
  * demos/gtk-demo/main.cc: Call Application::wrap_in_search_entry2().
  * gtk/gtkmm.h:
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Add searchentry2.
  * gtk/src/application.[ccg|hg]: Add wrap_in_search_entry2().
  * gtk/src/searchentry.hg: Deprecate in favor of SearchEntry2.
  * gtk/src/searchentry2.[ccg|hg]: New files.
  
  Fixes #148

2023-10-31  Daniel Boles  <dboles.src@gmail.com>

  Widget: Add measure+get_preferred_size() → structs

  Add overloads returning structs with named members – as opposed to the
  ‘raw’ C output parameters, and to returning only tuples which in their
  anonymity are error-prone & not as user-friendly as named members are.
  
  This makes it far easier/nicer to write the very-frequent code that
  currently must declare redundant/uninit'd variables, pass out args, etc…
  
  ```cpp
  int minimum, natural, minimum_baseline, natural_baseline;
  widget.measure(Orientation::HORIZONTAL, -1, minimum, natural,
                 minimum_baseline, natural_baseline);
  do_something(natural);
  ```
  
  can become:
  
  `do_something(widget.measure(Orientation::HORIZONTAL).sizes.natural)`
  
  #38 (comment 1903091)
  
  https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/83#note_1904930

2023-10-31  Daniel Boles  <dboles.src@gmail.com>

  Widget: Fix outdated, wrong destructor doc comment

  https://gitlab.gnome.org/GNOME/gtkmm/-/merge_requests/84#note_1904193
  
  ```none
  commit 449249a8098cacdb1a6410472366527201e2cc77 (origin/dboles/Widget-doc-cosmetics, dboles/Widget-doc-cosmetics)
  Author: Daniel Boles <dboles.src@gmail.com>
  Date:   Mon Oct 30 16:31:45 2023 +0000
  
      Widget: Fix outdated, wrong destructor doc comment
      
      Now destroying a widget will not remove it from a parent if it has one,
      as GTK4 removed GtkContainer and hence any uniform way to remove() etc.
      
      https://gitlab.gnome.org/GNOME/gtkmm/-/issues/138#note_1775964
  
  commit 92caa8a2fa882339479e33faf25750c1e2d8a843
  Author: Daniel Boles <dboles.src@gmail.com>
  Date:   Mon Oct 30 16:28:24 2023 +0000
  
      Widget: Add some 'section heading' comments
  
  commit 88128a723d8987b7c65883ca009e683a6beef26b
  Author: Daniel Boles <dboles.src@gmail.com>
  Date:   Mon Oct 30 15:45:26 2023 +0000
  
      Widget: Sort includes
  
  commit 246ae7696665ae158a29e3f9dcfda1390dc31f76
  Author: Daniel Boles <dboles.src@gmail.com>
  Date:   Mon Oct 30 15:38:22 2023 +0000
  
      Widget—Remove redundant Gtk:: namespace qualifiers
  ```

2023-10-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk::DmabufTexture: GDK_GL_TEXTURE -> GDK_DMABUF_TEXTURE

2023-10-25  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.13.1

2023-10-24  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <dboles.src@gmail.com>

  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  <dboles.src@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <dboles.src@gmail.com>

  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  <dboles.src@gmail.com>

  Shortcuts: Wrap new add_*() methods to populate

  https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6249

2023-10-04  Daniel Boles  <dboles.src@gmail.com>

  Widget: +/restore get_children() → vector<Widget*>

  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  <dboles.src@gmail.com>

  Regenerate (gdk|gtk)_(docs|enums|methods|signals)*

2023-10-04  Daniel Boles  <dboles.src@gmail.com>

  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  <dboles.src@gmail.com>

  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  <dboles.src@gmail.com>

  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

2023-08-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.12.0

2023-08-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add new API from gtk 4.12.0

  * configure.ac:
  * meson.build: Require gtk4 >= 4.12.0.
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Add ScrollInfo.
  * gtk/src/columnview.hg:
  * gtk/src/gridview.hg:
  * gtk/src/listview.hg:
  * gtk/src/viewport.hg: Add scroll_to().
  * gtk/src/columnviewrow.hg:
  * gtk/src/listitem.hg: Add set/get/property_accessible_description()
  and set/get/property_accessible_label().
  * gtk/src/dropdown.hg: Add set/get/property_header_factory()
  and set/get/property_search_match_mode().
  * gtk/src/enums.hg: Add enum ListScrollFlags.
  * gtk/src/filelauncher.hg: Add set/get/property_always_ask().
  * gtk/src/scrollinfo.[ccg|hg]: New files.
  * gtk/src/window.hg: Add is_suspended() and property_suspened().
  * tools/m4/convert_gtk.m4: Add conversions for ListScrollFlags
  and ScrollInfo.

2023-08-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.12.0.

2023-07-20  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Widget docs: Describe managed and non-managed widgets

  A short description and a link to the gtkmm tutorial.
  Also update some links in other class descriptions.
  Fixes #138

2023-07-19  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add Gtk::SymbolicPaintable

  * gtk/gtkmm.h:
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Add SymbolicPaintable.
  * gtk/src/gtk_vfuncs.defs: Add snapshot_symbolic_vfunc.
  * gtk/src/iconpaintable.hg: Add a TODO comment.
  * gtk/src/symbolicpaintable.[ccg|hg]: New files.

2023-07-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Remove AUTHORS, HACKING, README.SUN; add info to README.md

  Fixes #140

2023-07-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Update gtkmm.doap

2023-07-03  Chun-wei Fan  <fanchunwei@src.gnome.org>

  recentinfo.hg: Fix Visual Studio build (error C2375)

  Nowadays, gtk has its visibility macros generated and make use of
  __declspec(dllimport) in addition to __declspec(dllexport), so we must decorate
  the `void gtk_recent_info_unref(GtkRecentInfo* info);` prototype with
  `GDK_AVAILABLE_IN_ALL`, so that we don't end up with warnings and errors when
  we include the GDK headers when building this code.
  
  So, just include gtk/gtk.h and drop the extern "C" portion here, since
  it is covered by including gtk/gtk.h.

2023-06-28  Chun-wei Fan  <fanchunwei@src.gnome.org>

  README.win32: Convert to MarkDown

  Make it easier on the eyes in terms of formatting, and update some info in
  particular for Visual Studio builds, where things went out of date as time went
  on.

2023-06-23  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Fix build with build-deprecated-api=false

  Put #ifndef G[DT]KMM_DISABLE_DEPRECATED around these method:
  * gdk/src/gltexture.ccg: GLTexture_destroy_callback().
  * gtk/src/aboutdialog.ccg: AboutDialog(bool use_header_bar) constructor.
  * gtk/src/snapshot.ccg: gdk_rect_to_graphene_rect().

2023-06-20  Daniel Boles  <dboles.src@gmail.com>

  AboutDlg: Deprecate ctor w/ removed use_header_bar

  In GTK4, AboutDialog does not inherit from Dialog, and it does not add a
  :use-header-bar property of its own, so the only effect is this warning:
  
  ```none
  ** (process:12100): WARNING **: 21:37:20.103:
  Glib::ConstructParams::ConstructParams(): object class
  "gtkmm__GtkAboutDialog" has no property named "use-header-bar"
  ```
  
  Mark this constructor as deprecated to match.

2023-06-14  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  tools/gen_scripts/gtk_generate_*.sh: Read files in gtk/gtk/print

  gtk/print is a new subdir of GTK.

2023-06-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.11.3

2023-06-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add new API from gtk 4.11.3

  * configure.ac:
  * meson.build: Require gtk4 >= 4.11.3.
  * gtk/src/columnview.hg: Add set/get/property_header_factory().
  * gtk/src/cssprovider.[ccg|hg]: Deprecate load_from_data().
  Add load_from_string() and load_from_bytes().

2023-06-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.11.3. Update gtk_docs_override.xml.

2023-06-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Small documentation fixes

2023-06-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk docs: Group some classes in the new ListView group

  and note that all classes in the TreeView group are deprecated.

2023-05-28  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Deprecate some Pixbuf API

  * demos/gtk-demo/example_images.cc: Don't use Gtk::Picture::set_pixbuf().
  * gdk/src/pixbuf.[ccg|hg]: Deprecate the create() method taking
  a Cairo::Surface.
  * gtk/gtkmm/selectionlistmodelimpl.h: Make Notebook a friend class.
  * gtk/src/cssprovider.[ccg|hg]: Add commented lines that deprecate
  load_from_data() and add load_from_string() and load_from_bytes().
  * gtk/src/image.[ccg|hg]: Deprecate the set() method taking a Pixbuf.
  * gtk/src/notebook.[ccg|hg]: get_pages() now returns an object that
  implements both GListModel and GtkSelectionModel (like Stack::get_pages()).
  Wrap it in a SelectionListModelImpl.
  * gtk/src/picture.[ccg|hg]: Deprecate set_pixbuf().

2023-05-22  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Snapshot: Add some #includes

  Necessary when GTKMM_DISABLE_DEPRECATED is defined.
  Fixes #137

2023-05-15  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.11.2

2023-05-15  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Add new API from gtk 4.11.2

  * configure.ac:
  * meson.build: Require gtk4 >= 4.11.2.
  * gdk/gdkmm.h: Add gltexturebuilder.h.
  * gdk/gdkmm/meson.build:
  * gdk/src/filelist.am: Add GLTextureBuilder.
  * gdk/src/gltexture.hg: Deprecate create().
  * gdk/src/gltexturebuilder.[ccg|hg]: New files.
  * gtk/gtkmm.h: Add listheader.h and sectionmodel.h.
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Add ListHeader and SectionModel.
  * gtk/src/box.hg:
  * gtk/src/boxlayout.hg: Add set/get/property_baseline_child().
  * gtk/src/button.hg: Add set/get/property_can_shrink().
  * gtk/src/centerbox.hg:
  * gtk/src/centerlayout.hg: Add set/get/property_shrink_center_last().
  * gtk/src/columnview.hg: Remove a _CONVERSION().
  * gtk/src/filterlistmodel.hg:
  * gtk/src/flattenlistmodel.hg: Add a TODO comment.
  * gtk/src/glarea.hg: Deprecate set/get/property_use_es().
  Add set/get/property_allowed_apis(), get/property_api().
  * gtk/src/gridview.hg: Remove a _CONVERSION().
  * gtk/src/listheader.[ccg|hg]: New files.
  * gtk/src/listview.hg: Remove a _CONVERSION().
  Add set/get/property_header_factory().
  * gtk/src/menubutton.hg: Add set/get/property_can_shrink().
  * gtk/src/multiselection.hg:
  * gtk/src/noselection.hg: Add a TODO comment.
  * gtk/src/sectionmodel.[ccg|hg]: New files.
  * gtk/src/singleselection.hg: Add a TODO comment.
  * gtk/src/sortlistmodel.hg: Add a TODO comment.
  Add set/get/property_section_sorter().
  * gtk/src/widget.[ccg|hg]: Deprecate get_allocation(),
  get_allocated_width/height/baseline(). Add get_baseline().
  * tools/m4/class_shared.m4: Add a comment.

2023-05-15  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.11.2.
  Update gdk_docs_override.xml, gdk_extra_objects.defs,
  gtk_docs_override.xml, gtk_extra_objects.defs, gtk_vfuncs.defs,
  generate_defs_gdk.cc, generate_defs_gtk.cc.

2023-05-08  Chun-wei Fan  <fanchunwei@src.gnome.org>

  entry.hg: Mark GTKMM_API for the Entry class

  It is now needed that we mark this class with GTKMM_API, since the API
  deprecations.

2023-05-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.11.1

2023-05-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  Doxyfile.in: Remove obsolete entries

2023-04-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  Add namespace Gdk::Graphene

  with the Point, Rect and Size classes.
  Add the gdk_graphene test case.

2023-04-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk: Generate docs.xml and .defs files for Graphene API

2023-04-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  gtkmm.pc.in: Update htmlrefpub

2023-04-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Expression, FlowBox, ListBox: Use callback functions with C linkage

2023-04-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::TreeView, ComboBox: Use callback functions with C linkage

2023-04-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add Gdk::gdkmm_SignalProxy_async_callback() with C linkage

  and use it instead of Gio::SignalProxy_async_callback().

2023-04-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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<SlotDraw>.
  * 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<SlotCreatePopup>.
  * 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<SlotPrintJobComplete>.
  * 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<SlotFormatValue>.
  * gtk/src/shortcutaction.ccg: Add extern "C". Use a local function with
  C linkage instead of Glib::destroy_notify_delete<SlotShortcut>.
  * 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<SlotCreateModel>.
  * 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<SlotTick>.
  * gtk/src/window.[ccg|hg]: Call Window_Class::dispose_vfunc_callback()
  via a local function with C linkage.

2023-04-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  CI: warnings=max, accept deprecated gtk functions

2023-03-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.10.0

2023-03-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Add new API from gtk 4.10.0

  * configure.ac:
  * meson.build: Require gtk4 >= 4.10.0.
  * gdk/src/enums.hg: Add MemoryFormat, identical to MemoryTexture::Format,
  which is hard to use in Texture.
  * gdk/gdkmm.h:
  * gdk/gdkmm/meson.build:
  * gdk/src/filelist.am: Add TextureDownloader.
  * gdk/src/texturedownloader.[ccg|hg]: New files.
  * gdk/src/memorytexture.hg: Add comments to enum Format.
  * gdk/src/texture.hg: Add get_format().
  * tools/m4/convert_gdk.m4: Add some conversions.
  * gtk/src/accessible.hg: Add set_accessible_parent() and
  update_next_accessible_sibling().
  * gtk/src/menubutton.hg: Add set/get/property_active().
  * gtk/src/scalebutton.hg: Add get/property_active().
  * gtk/src/searchentry.hg: Add set/get_placeholder_text().

2023-03-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.10.0. Update gdk_extra_objects.defs.

2023-03-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Fix deprecation in tests/filedialog

  The whole FileChooser and FileChooserDialog are deprecated,
  not just FileChooser::get_files().

2023-03-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add tests/filedialog

2023-03-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::FileDialog, FileChooser: Fix some methods that return Gio::File

  Gtk::FileChooser::get_files(), get_shortcut_folders(),
  Gtk::FileDialog::open_multiple_finish(), select_multiple_folders_finish()
  return a Gio::ListModel whose elements are objects that implement the
  Gio::File interface.
  
  The returned C objects may be instances of a private glib/gtk class,
  such as GLocalFile. This class is not wrapped in C++ code.
  Gio::ListModel::get_object() fails to find a suitable C++ wrapper,
  and returns an empty RefPtr.
  
  * gtk/src/filechooser.[ccg|hg]: Deprecate get_files() and
  get/property_shortcut_folders(). Add get_files2() and
  get_shortcut_folders2(), returning std::vector<Glib::RefPtr<Gio::File>>.
  * gtk/src/filedialog.[ccg|hg]: Change the return value of
  open_multiple_finish() and select_multiple_folders_finish() to
  std::vector<Glib::RefPtr<Gio::File>>. Make open[_finish](),
  select_folder[_finish](), save[_finish](), open_multiple[_finish](),
  select_multiple_folders[_finish]() non-const. The *_finish() methods
  return non-const Gio::File.
  * gtk/src/fontdialog.hg: Make choose_family[_finish]() and
  choose_face[_finish]() non-const.
  
  Fixes #132

2023-02-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  README.md, CI: meson -> meson setup

2023-02-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Demos: Small updates

  * demos/gtk-demo/example_dropdown.cc: Use some lambda expressions.
  * demos/gtk-demo/example_listview_columnview.cc:
  * demos/gtk-demo/example_listview_editable_cells.cc:
  * demos/gtk-demo/example_listview_liststore.cc:
  * demos/gtk-demo/example_listview_treelist.cc: Add add_css_class("data-table").

2023-02-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Deprecate Gtk::ProgressBar::property_ellipsize()

  * gtk/src/progressbar.hg: property_ellipsize() has the wrong type.
  It can't easily be fixed without breaking API/ABI.
  * gtk/src/dialog.hg:
  * gtk/src/volumebutton.hg: Update the class documentation.

2023-02-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Install lib*mm documentation

2023-02-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Doxyfile.in: Don't hide undocumented classes

  Might make the inheritance diagrams less incomplete when Doxygen's
  tag files are not perfect.

2023-02-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Deprecate Gtk::VolumeButton

  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: VolumeButton is a deprecated class.
  * gtk/src/scalebutton.hg: Add and comment out get/property_active().
  * gtk/src/searchentry.hg: Add and comment out set/get_placeholder_text().
  * gtk/src/volumebutton.hg: Deprecated.

2023-02-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.9.3

2023-02-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Add new API from gtk 4.9.3

  * configure.ac:
  * meson.build: Require gtk4 >= 4.9.3.
  * gdk/src/monitor.hg: Add get/property_description().
  * gtk/src/accessible.[ccg|hg]: Add enum Accessible::PlatformState.
  Add get_at_context(), get_platform_state(), get_accessible_parent(),
  get_first_accessible_child(), get_next_accessible_sibling(), get_bounds().
  * gtk/src/editable.hg: _IGNORE(gtk_editable_get_accessible_platform_state).
  * gtk/src/filedialog.hg: Move some method declarations.
  * gtk/src/filelauncher.hg: Update the class description.
  * tools/m4/convert_gtk.m4: Add Accessible and ATContext conversions.
  * gtk/gtkmm.h:
  * gtk/src/filelist.am:
  * gtk/gtkmm/meson.build: Add ATContext and UriLauncher.
  * gtk/src/atcontext.[ccg|hg]:
  * gtk/src/urilauncher.[ccg|hg]: New files.

2023-02-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.9.3.
  Update tools/extra_defs_gen/generate_defs_gtk.cc.

2023-02-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Build: Disable more deprecated API

  * configure.ac:
  * meson.build: Define GIOMM_DISABLE_DEPRECATED when warnings=fatal
  * demos/gtk-demo/meson.build: Define GLIBMM_DISABLE_DEPRECATED,
  GIOMM_DISABLE_DEPRECATED, GDKMM_DISABLE_DEPRECATED and
  DGTKMM_DISABLE_DEPRECATED, as in demos/Makefile.am.

2023-02-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Deprecate Gtk::Assistant and other API

  * demos/gtk-demo/example_appwindow.cc: Don't use deprecated Statusbar.
  * gdk/src/display.hg: Deprecate get_startup_notification_id().
  * gdk/src/monitor.hg: Add some comments.
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Assistant, AssistantPage, LockButton, Statusbar
  are deprecated classes.
  * gtk/src/assistant.hg:
  * gtk/src/assistantpage.hg:
  * gtk/src/lockbutton.hg:
  * gtk/src/statusbar.hg: Deprecated classes.
  * gtk/src/gesture.hg: Deprecate set_sequence_state().

2023-02-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::StringList, StringObject: Update the class documentation

2023-01-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Image, Picture: Update the class documentation

2023-01-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Update Grid View and Images demos

  * demos/gtk-demo/example_gridview.cc: Large icons.
  * demos/gtk-demo/example_images.cc: Reasonable default size.
  The WidgetPaintable is expandable.

2023-01-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.9.2

2023-01-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Deprecate Gdk::Display::put_event()

2023-01-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Update FileDialog and ToggleButton

  * gtk/src/filedialog.hg: Delete get/set/property_shortcut_folders().
  * gtk/src/togglebutton.hg: Deprecate toggled().

2023-01-07  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Simplify test if file exists

2023-01-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Deprecate Gdk::Display::notify_startup_complete()

2023-01-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Simplify lookup of python command

  See libsigcplusplus PR#83

2023-01-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Meson build: Don't copy files with configure_file()

  It's deprecated from Meson 0.64. The replacement, fs.copyfile(),
  is not useful here. It only copies from the source directory to
  the build directory.

2023-01-03  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Fix the evaluation of is_git_build on Windows

  Fixes #131

2022-12-28  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add new API from gtk 4.9.2

  * configure.ac:
  * meson.build: Require gtk4 >= 4.9.2
  * demos/gtk-demo/example_colorsel.cc:
  * demos/gtk-demo/example_dialog.cc: Add catch clause for DialogError.
  * gtk/gtkmm.h:
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Add FileLauncher.
  * gtk/src/aboutdialog.hg: Update class description.
  * gtk/src/alertdialog.hg:
  * gtk/src/colordialog.hg:
  * gtk/src/fontdialog.hg: Specify which errors can be thrown.
  * gtk/src/centerbox.hg: Add property_[start|center|end]_widget().
  * gtk/src/filedialog.hg: Rename get/set/property_current_filter() to
  get/set/property_default_filter(). Rename get/set/property_current_folder() to
  get/set/property_initial_folder(). Add get/set/property_initial_name(),
  get/set/property_initial_file(), get/set/property_accept_label().
  Remove current_file parameter from open(), current_folder parameter from
  select_folder(). Specify which errors can be thrown.
  * gtk/src/filefilter.hg: Ignore new write-only/construct-only properties.
  * gtk/src/filelauncher.[ccg|hg]: New files.
  * gtk/src/gesturestylus.hg: Add get/set/property_stylus_only().
  * gtk/src/linkbutton.hg: Update class description.
  * gtk/src/treeexpander.hg: Add get/set/property_indent_for_depth()
  and get/set/property_hide_expander().
  * gtk/src/window.hg: Remove obsolete comments.

2022-12-28  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.9.2. Update gtk_extra_objects.defs
  and tools/extra_defs_gen/generate_defs_gtk.cc.

2022-12-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Widget: Deprecate show() and hide()

2022-12-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.9.1

2022-12-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Window: Deprecate signal_keys_changed()

  It's deprecated in gtk.

2022-12-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::StringList::create(): Add default value to parameter

  The default value is an empty vector.
  create() can then be called without a parameter.
  The constructor is marked 'explicit'.

2022-12-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::StyleProvider: Add add/remove_provider_for_display()

  and refer to them from the identical deprecated StyleContext methods.

2022-12-05  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Demos, tests: Use Widget::set_visible()

  Gtk now recommends gtk_widget_set_visible() instead of
  gtk_widget_show/hide().
  Remove some unnecessary Widget::show().

2022-11-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Tests: Don't use deprecated Gtk::Dialog

  * tests/dialog_deletethis/main.cc:
  * tests/refcount_dialog/main.cc: Replace Dialog by Window.
  A class that derives from Gtk::Window can act as a dialog.
  * tests/wrap_existing/main.cc: Replace Dialog by ScaleButton.
  ScaleButton::get_plus_button() returns a widget which gtk has created.
  * tests/meson.build: Execute wrap_existing with 'ninja test'.

2022-11-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Deprecate Gtk::InfoBar, part 2

  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Move InfoBar to the list of deprecated classes.

2022-11-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Demos: Rename TreeView demos

  The former TreeView demos now use ColumnView. Rename them and move them
  to the "Lists" group.

2022-11-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Demos: Avoid deprecated API, part 3

  * demos/gtk-demo/demowindow.cc: Don't call load_file() with
  an empty filename.
  * demos/gtk-demo/example_iconbrowser.cc: Use anonymous namespace,
  don't clutter the global namespace more than necessary.
  * demos/gtk-demo/example_listview_applauncher.cc: Fix a comment.
  * demos/gtk-demo/example_treeview_editable_cells.cc:
  * demos/gtk-demo/example_treeview_liststore.cc:
  * demos/gtk-demo/example_treeview_treestore.cc: Use ColumnView instead
  of TreeView, and Gio::ListStore or Gtk::TreeListModel.

2022-11-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Deprecate Gtk::InfoBar

  GtkInfoBar is deprecated in gtk.

2022-11-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Minor documentation fixes

  * gtk/src/gtk_docs_override.xml: Fix documentation of Filter.
  * gtk/src/togglebutton.hg: Fix a link to CheckButton.

2022-11-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Demos: Avoid deprecated API, part 2

  * demos/gtk-demo/demowindow.cc: Grab focus to the ListView.
  * demos/gtk-demo/example_appwindow.cc: Add shortcut keys.
  * demos/gtk-demo/example_dialog.cc: Use AlertDialog where possible, else
  derive from Window instead of Dialog.
  * demos/gtk-demo/example_gridview.cc: Simplify on_gridview_item_activated().
  * demos/gtk-demo/example_iconbrowser.cc: Replace IconView by GridView.
  Derive DetailDialog from Window instead of Dialog.
  
  There are still 4 demos programs that use deprecated API,
  Builder demo and 3 TreeView demos.

2022-11-18  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Demos: Avoid deprecated API

  * demos/README: Update for gtkmm4.
  * demos/Makefile.am:
  * demos/gtk-demo/meson.build:
  * demos/gtk-demo/demo.gresource.xml:
  * demos/gtk-demo/demos.h: Icon View -> Grid View.
  * demos/gtk-demo/example_appwindow.cc: Replace MessageDialog by AlertDialog.
  Add menubar and toolbar with some items.
  * demos/gtk-demo/example_colorsel.cc:
  Replace ColorChooserDialog by ColorDialog.
  * demos/gtk-demo/example_headerbar.cc: Don't use StyleContext.
  * demos/gtk-demo/example_iconview.cc: Rename to example_gridview.cc.
  Replace IconView by GridView.
  * demos/gtk-demo/example_images.cc:
  * demos/gtk-demo/example_listview_applauncher.cc:
  * demos/gtk-demo/example_pixbufs.cc: Replace MessageDialog by AlertDialog.
  * demos/gtk-demo/example_sizegroup.cc:
  * demos/gtk-demo/example_textview.cc: Replace ComboBoxText by DropDown.
  
  Some demo programs still use deprecated API.

2022-11-18  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Statusbar: Update documentation, use _WRAP_METHOD() where possible

2022-11-14  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Demos: Use Gtk::ListView in the sidebar

  * demos/gtk-demo/demos.h: Don't include demowindow.h.
  * demos/gtk-demo/demowindow.[cc|h]: Don't use deprecated API
  
  Some demo programs still use deprecated API.

2022-11-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add an #include and other minor changes

  * gtk/gtkmm/treemodelcolumn.h: Add missing @deprecated.
  * gtk/src/liststore.hg:
  * gtk/src/treemodel.hg: Minor comment fix.
  * gtk/src/signallistitemfactory.hg: Add a TODO comment
  about signal_setup_obj().
  * gtk/src/treestore.hg: /*** -> /**. Doxygen doesn't recognize a comment
  starting with /***.
  * gtk/src/widget.hg: Add #include <gdkmm/rgba.h>.
  * tests/meson.build: Call test() only if build_tests is true.

2022-11-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add TODO comments about AccessibleRange interface

  Some old gtk classes now implement the new GtkAccessibleRange interface.
  Old gtkmm classes must not derive from a new interface. It would break ABI.

2022-11-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add AlertDialog and other new classes

  * gtk/gtkmm.h:
  * gtk/gtkmm/meson.build:
  * gtk/src/filelist.am: Add new files.
  * gtk/src/alertdialog.[ccg|hg]: Add class AlertDialog.
  * gtk/src/colordialog.[ccg|hg]: Add class ColorDialog.
  * gtk/src/colordialogbutton.[ccg|hg]: Add class ColorDialogButton.
  * gtk/src/columnviewsorter.[ccg|hg]: Add class ColumnViewSorter.
  * gtk/src/error.[ccg|hg]: Add enum DialogError.
  Why not dialogerror.[ccg|hg]? Because more _WRAP_GERROR()s can be added
  in the future. Compare glibmm/gio/src/error.hg and dbuserror.hg.
  * gtk/src/filedialog.[ccg|hg]: Add class FileDialog.
  * gtk/src/fontdialog.[ccg|hg]: Add class FontDialog.
  * gtk/src/fontdialogbutton.[ccg|hg]: Add class FontDialogButton
  and enum FontLevel.

2022-11-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Add some API from gtk 4.9.1

  * configure.ac:
  * meson.build: Require gtk 4.9.1
  * gtk/src/columnviewcolumn.hg: Add set/get/property_id().
  * gtk/src/stringsorter.hg: Add enum Collation, set/get/property_collation().
  * gtk/src/widget.[ccg|hg]: Add get_color().
  * tools/m4/convert_gtk.m4: Add conversions for Collation, DialogError and
  FontLevel enums, and for ColorDialog and FontDialog classes.
  * tests/builder/main.cc: Simplify slightly.

2022-11-06  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.9.1. Update gtk_docs_override.xml
  and tools/extra_defs_gen/generate_defs_gtk.cc.

2022-11-01  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Install all dependencies with apt

  Ubuntu 22.10 contains libsigc++-3.0-dev, libglibmm-2.68-dev,
  libcairomm-1.16-dev and libpangomm-2.48-dev.

2022-11-01  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Deprecate ColorChooser and about 10 other classes

  Deprecate ColorButton, ColorChooser, ColorChooserDialog,
  FileChooser, FileChooserDialog, FileChooserNative, FileChooserWidget,
  FontButton, FontChooser, FontChooserDialog, FontChooserWidget,
  MessageDialog, TreeModelColumn, TreeModelColumnRecord
  
  The corresponding API in GTK has been deprecated.
  
  Demo programs still use deprecated API. It's not possible to build
  the demo programs with build-deprecated-api=false.

2022-10-31  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk: Deprecate TreeView and more than 40 other classes

  Deprecate AppChooser, AppChooserButton, AppChooserDialog,
  AppChooserWidget, CellArea, CellAreaBox, CellAreaContext,
  CellLayout, CellRenderer, CellRendererAccel, CellRendererCombo,
  CellRendererPixbuf, CellRendererProgress, CellRendererSpin,
  CellRendererSpinner, CellRendererText, CellRendererToggle, CellView,
  ComboBox, ComboBoxText, EntryCompletion, IconView, ListStore,
  ListViewText, StyleContext, TreeDragDest, TreeDragSource,
  TreeIter and other classes in treeiter.hg,
  TreeModel, TreeModelFilter, TreeModelSort, TreePath, TreeRowReference,
  TreeSelection, TreeSortable, TreeStore, TreeView, TreeViewColumn,
  namespace CellRenderer_Generation, namespace TreeView_Private
  
  The corresponding API in GTK has been deprecated.
  
  Demo programs still use deprecated API. It's not possible to build
  the demo programs with build-deprecated-api=false.

2022-09-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Compress the Python code for is_git_build

2022-09-25  William Roy  <wroy@proton.me>

  Fix meson.build .git check

  Co-authored-by: Kjell Ahlstedt <kjellahlstedt@gmail.com>

2022-09-23  William Roy  <wroy@proton.me>

  Detect if we build from a git subtree

2022-09-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Convert README to README.md

2022-09-12  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.8.0

2022-09-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add API from gtk 4.7.2

  * configure.ac:
  * meson.build: Require gtk >= 4.7.2
  * gtk/src/enums.hg: Add enum ContentFit
  * gtk/src/eventcontroller.hg: Ignore gtk_event_controller_set_static_name
  * gtk/src/label.hg: Add set/get/property_tabs()
  * gtk/src/picture.hg: Add set/get/property_content_fit()

2022-09-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.8.0.

2022-09-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::TextView::get_tabs(): Plug a memory leak

  gtk_text_view_get_tabs() returns a copy (transfer full).

2022-08-22  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Dialog demo: Add a non-modal dialog

  Fixes #123

2022-08-16  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Install libxml2-dev, required by subprojects

2022-08-15  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  docs: Don't translate GDK_MODIFIER_MASK to C++

  It's a preprocessor macro. It does not have a C++ name.
  Fixes #124

2022-08-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.7.1

2022-08-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  gtk/gtkmm.h: Add inscription.h

  and update the link to the gtkmm tutorial.

2022-08-02  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Widget::signal_destroy(): Format the description to fit Doxygen

2022-08-02  Baldvin Kovacs  <baldvin.kovacs@gmail.com>

  Expose the "destroy" signal, emitted by dispose.

2022-07-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Add Gtk::Inscription

2022-07-26  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  CI: Don't use warning_level and werror

  The are applied also to subprojects.

2022-07-24  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  Doxyfile.in: Allow more graph nodes

  Required for Gtk::Widget's inheritance diagram.

2022-07-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Dialog: Update the class description

2022-07-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk::Drag, Gdk::Drop: Improve the class descriptions

2022-06-29  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <agpotter@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <fanchunwei@src.gnome.org>

  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  <fanchunwei@src.gnome.org>

  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  <fanchunwei@src.gnome.org>

  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  <fanchunwei@src.gnome.org>

  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  <kjellahlstedt@gmail.com>

  meson.build: Avoid configuration warnings

2022-05-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Use Ubuntu 22.04

  Ubuntu 22.10 is perhaps too immature.

2022-05-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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  <kjellahlstedt@gmail.com>

  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

2022-03-21  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.6.1

2022-03-18  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Use artifacts to transfer data between stages

  Build documentation of libsigc++, glibmm, cairomm and pangomm,
  or else gtkmm's inheritance diagrams will be incomplete due to
  missing tag files.

2022-03-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gtk::Application::make_window_and_run(): Delay the deletion

  Let Gtk::Object::destroy_notify_() delete the created C++ wrapper
  (a Gtk::Window or a descendant of Gtk::Window) when the underlying
  C instance is destroyed. Signal handlers such as on_unrealize()
  are then called before the C++ wrapper is deleted. Fixes #114

2022-03-11  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  enum Gdk::GLAPI: Name clash with epoxy/gl.h

  * gdk/src/glcontext.hg: GLAPI is defined as a preprocessor macro in
  epoxy/gl.h. Add some #ifndef and comments for now. When we can add API,
  deprecate all API with GLAPI and add an equivalent enum Gdk::GLApi.
  See #113

2022-02-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Select latest released version of libsigc++3

2022-02-27  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Check if Perl is required for building documentation

  New versions of mm-common use the Python scripts doc_postprocess.py
  and doc_install.py instead of the Perl scripts doc-postprocess.pl and
  doc-install.pl when documentation is built.

2022-02-18  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Don't use deprecated execute(..., gui_app: ...)

  Don't use deprecated python3.path() and execute(..., gui_app: ...).
  Let import('python').find_installation() always find the python
  installation used to run Meson.
  Fixes #111

2022-02-16  Baldvin Kovacs  <baldvin.kovacs@gmail.com>

  Fix object ownership in the wrapper of the render signal.

  This change ensures that the wrapper implementation of the render
  signal emission does not take ownership of the underlying cairo_region_t
  C instance. It is necessary, because the C implementation expects to
  keep ownership, and destroys the underlying C instance after the signal
  was emitted.
  
  The wrapped signal is emitted from gdk_surface_process_update_internal.
  
  The relevant lines:
  
  expose_region = cairo_region_copy (surface->active_update_area);
  
  // here expose_region has a reference count of 1
  
  g_signal_emit (surface, signals[RENDER], 0, expose_region, &handled);
  
  // ...and here it needs to remain one, but with the current implementation
  // we get a double destroy below:
  
  cairo_region_destroy (expose_region);

2022-02-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Install modules required for building gtk4

  If the gtk4 version in ubuntu:devel is too old, gtk4 is built as
  a subproject to gtkmm.

2022-02-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.6.0

  Fixes #110

2022-02-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  meson.build: Specify 'check' option in run_command()

  The default value will be changed in future Meson releases.

2022-02-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Switching to ubuntu:devel

  Hopefully has a new enought version of gtk4.
  Build documentation only for gtkmm.

2022-02-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Add API for version 4.6

  * configure.ac:
  * meson.build: Require pangomm-2.48 >= 2.50.0, gtk4 >= 4.6.0
  * gdk/src/display.[ccg|hg]: Add create_gl_context().
  * gdk/src/texture.[ccg|hg]: Add enum TextError, create_from_filename(),
  create_from_bytes(), save_to_png_bytes(), save_to_tiff(),
  save_to_tiff_bytes().
  * gtk/src/dropdown.hg: Add set/get/property_show_arrow().
  * gtk/src/enums.hg: Add enum NaturalWrapMode.
  * gtk/src/flowbox.hg: Add prepend(), append().
  * gtk/src/label.hg: Add set/get/property_natural_wrap_mode().
  * gtk/src/menubutton.[ccg|hg]: Add set/unset/get/property_child().
  * gtk/src/settings.hg: Add property_gtk_hint_font_metrics().
  * gtk/src/textchildanchor.hg: Add create(replacement_character).
  * gtk/src/texttag.hg: Add properties line_height(), text_transform(),
  word(), sentence(), line_height_set(), text_transform_set(),
  word_set(), sentence_set().
  * gtk/src/treeexpander.hg: Add set/get/property_indent_for_icon().
  * gtk/src/window.hg: Add property_titlebar().

2022-02-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk::GLContext: Add API for version 4.6

  * configure.ac:
  * meson.build: Require gtk4 >= 4.5.0
  * gdk/gdkmm/general.[cc|h]: Deprecate Gdk::Cairo::draw_from_gl().
  * gdk/src/glcontext.[ccg|hg]: Deprecate set_use_es() and unset_use_es().
    Add set/get/property_allowed_apis() and get/property_api().
  * tools/m4/convert_gdk.m4: Add m4 macros for enum GdkGLAPI.

2022-02-04  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Regenerate docs.xml and .defs files

  using gtk files from gtk 4.6.0, and update gdk_docs_override.xml.

2022-02-01  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Don't build everything with warnings=fatal

  Build only gtkmm with warnings=fatal.
  Select latest released versions of glibmm and pangomm.

2022-02-01  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk::Device: Ignore deprecation of gdk_device_get_device_tool()

2022-02-01  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Use gtk4 from the main branch in subproject

2021-11-12  Chun-wei Fan  <fanchunwei@src.gnome.org>

  NMake Makefiles: Fix header installation

  Work around the command line that we use to install the gtkmm headers, so that
  we don't end up with a command line that is too long.  NMake Fatal Error U1095
  can really get on one's nereves.

2021-11-10  Chun-wei Fan  <fanchunwei@src.gnome.org>

  build: Support Visual Studio 2022

  Make these builds distinct frmo the Visual Studio 2019 builds.

2021-10-20  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk::GLContext: Ignore deprecation of gdk_gl_context_set_use_es()

2021-10-01  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk::Cairo: Ignore deprecation of gdk_cairo_draw_from_gl()

2021-09-30  LI Daobing  <lidaobing@gmail.com>

  Update object.h

2021-09-13  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  CI: Switching to debian:testing

  See pangomm#13 and pangomm!23.

2021-09-09  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  4.4.0

2021-09-08  Kjell Ahlstedt  <kjellahlstedt@gmail.com>

  Gdk, Gtk: Add API for version 4.4

  * configure.ac:
  * meson.build: Require gtk4 >= 4.4.0
  * gdk/src/contentformats.hg: Add parse().
  * gdk/src/display.hg: Add prepare_gl().
  * gdk/src/glcontext.hg: Add is_shared().
  * gtk/src/appchooserbutton.hg:
  * gtk/src/colorbutton.hg:
  * gtk/src/fontbutton.hg: Ignore the ::activate signal.
  * gtk/src/droptarget.[ccg|hg]: Add get_current_drop() and
  property_current_drop(). Deprecate get_drop() and property_drop().
  * gtk/src/filefilter.hg: Add add_suffix().
  * gtk/src/mediastream.[ccg|hg]: Add stream_prepared(), stream_unprepared()
  and stream_ended(). Deprecate prepared(), unprepared() and ended().
  * gtk/src/menubutton.hg: Add set/get/property_always_show_arrow() and
  set/get/property_primary(). Ignore the ::activate signal.
  * gtk/src/textview.hg: Add set/get_rtl_context() and set/get_ltr_context().

