1. 12 Nov, 2021 1 commit
    • Chun-wei Fan's avatar
      NMake Makefiles: Fix header installation · 574d1ef8
      Chun-wei Fan authored
      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.
      574d1ef8
  2. 10 Nov, 2021 1 commit
  3. 20 Oct, 2021 1 commit
  4. 01 Oct, 2021 2 commits
  5. 30 Sep, 2021 1 commit
  6. 13 Sep, 2021 1 commit
  7. 09 Sep, 2021 1 commit
  8. 08 Sep, 2021 3 commits
    • Kjell Ahlstedt's avatar
      Gdk, Gtk: Add API for version 4.4 · c831fa29
      Kjell Ahlstedt authored
      * 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().
      c831fa29
    • Kjell Ahlstedt's avatar
      Gdk, Gtk: Regenerate docs.xml and .defs files · d250c18d
      Kjell Ahlstedt authored
      using gtk files from gtk 4.4.0.
      d250c18d
    • Kjell Ahlstedt's avatar
      aec62dfa
  9. 29 Aug, 2021 3 commits
    • Kjell Ahlstedt's avatar
      CI: Add .gitlab-ci.yml · adeb50c3
      Kjell Ahlstedt authored
      Fixes #101
      adeb50c3
    • Kjell Ahlstedt's avatar
      Gtk::Application, Window: Swap inclusions · ba9a6c86
      Kjell Ahlstedt authored
      Include window.h in application.h instead of application.h in window.h.
      clang++ reports a possible error when the full declaration of Window
      is not available in template method Application::make_window_and_run().
      ba9a6c86
    • Kjell Ahlstedt's avatar
      Gtk::Assistant, etc.: Fix bugs noticed by clang++ · b0c9b461
      Kjell Ahlstedt authored
      * gtk/src/assistant.hg:
      * gtk/src/notebook.hg:
      * gtk/src/stack.hg: get_page() shall not be declared constversion.
      The const version is not identical to the non-const version.
      * gtk/src/mediacontrols.hg:
      * gtk/src/video.hg: set_media_stream() shall not be declared
      refreturn, constversion. It's not const. It does not return a value.
      * tools/m4/convert_gtk.m4: Declare some new _CONVERSION()s.
      b0c9b461
  10. 29 Jul, 2021 1 commit
  11. 26 Jul, 2021 1 commit
    • Kjell Ahlstedt's avatar
      Gtk: Several get_item() methods: Don't try to cast to Glib::Object · e334a140
      Kjell Ahlstedt authored
      DropDown::get_selected_item(), ListItem::get_item(),
      SingleSelection::get_selected_item(), TreeExpander::get_item(),
      TreeListRow::get_item():
      These methods return Glib::RefPtr<Glib::ObjectBase>. Don't try to
      dynamic_cast to Glib::Object. It would fail if the object has been
      constructed as an interface, and e.g. has a Gio::AppInfo wrapper.
      See glibmm#93 and glibmm#94.
      e334a140
  12. 25 Jul, 2021 1 commit
  13. 22 Jul, 2021 1 commit
  14. 21 Jul, 2021 1 commit
  15. 27 Jun, 2021 1 commit
  16. 26 Jun, 2021 2 commits
  17. 21 Jun, 2021 2 commits
  18. 18 Jun, 2021 1 commit
  19. 16 Jun, 2021 1 commit
    • Kjell Ahlstedt's avatar
      Gtk::DropTarget, MediaStream: Ignore deprecations · 5ea48106
      Kjell Ahlstedt authored
      * gtk/src/droptarget.[ccg|hg]: Ignore deprecation of
      gtk_drop_target_get_drop() and the :drop property.
      * gtk/src/mediastream.[ccg|hg]: Ignore deprecation of
      gtk_media_stream_prepared() and gtk_media_stream_unprepared().
      
      The replacements can be wrapped only when gtkmm requires gtk > 4.3.1.
      5ea48106
  20. 04 Jun, 2021 2 commits
  21. 23 May, 2021 4 commits
  22. 22 May, 2021 2 commits
  23. 18 May, 2021 4 commits
    • Chun-wei Fan's avatar
      meson.build: Clean up MSVC build flags · 496bc8ce
      Chun-wei Fan authored
      Like the last NMake Makefiles commit, drop the ignores for warnings C4251,
      C4273 and C4275 as the code is now free of items that trigger those warnings.
      496bc8ce
    • Chun-wei Fan's avatar
      NMake Makefiles: Some cleanups and improvements · 815a6e69
      Chun-wei Fan authored
      Drop the ignores for warnings C4251, C4273 and C4275 from the warnings that we
      want to ignore, as the code is now free of items that trigger those warnings.
      
      Also, reorganize the compiler flags for gtkmm-demo as it is actually the /GL
      flag that triggered the internal compiler error when it is used with /EHsc on
      32-bit Visual Studio 2017 builds.  Likewise, disable the /LTCG linker option
      when building Visual Studio and 2017 32-bit builds.
      815a6e69
    • Chun-wei Fan's avatar
      gtk/gtkmm/*.h: Export class selectively as needed · 4c5a1303
      Chun-wei Fan authored
      We want to avoid exporting classes that contain a std::vector<...> or
      std::unique_pointer<...> member, so don't export these class as a whole but
      export its methods individually.
      
      Also, remove an extraneous GTKMM_API in listviewtext.h.
      
      This will eliminate warnings C4251 and C4275 and avoid having the built code
      depend on a specific STL and compiler version
      4c5a1303
    • Kjell Ahlstedt's avatar
      Add dependencies to Doxygen tag files in subprojects · d944d180
      Kjell Ahlstedt authored
      Doxygen in a main project shall not be called before tag files have been
      created or updated in subprojects.
      d944d180
  24. 14 May, 2021 1 commit
    • Kjell Ahlstedt's avatar
      Fix build as subproject without building documentation · 9b397d84
      Kjell Ahlstedt authored
      * meson.build: If mm-common-get is not found in maintainer-mode
      with 'required: false', try with 'required: true'.
      Don't try to use tag_file, if documentation is not built.
      * docs/reference/meson.build: Don't use variables from modules
      that don't define doxytagfile. These are subprojects that don't build
      their documentation.
      9b397d84
  25. 05 May, 2021 1 commit