2021-05-20 Kjell Ahlstedt 2.66.1 2021-05-19 Kjell Ahlstedt Documentation: Let links point to glibmm-2.4 and gtkmm-3.0 versions 2021-05-18 Kjell Ahlstedt Add dependencies to Doxygen tag files in subprojects Doxygen in a main project shall not be called before tag files have been created or updated in subprojects. 2021-05-15 Kjell Ahlstedt Fix build as subproject without building documentation * 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. 2021-05-06 Chun-wei Fan build: Clean up MSVC build files We can just drop the ignores for the C4251, C4530 and C4275 warnings at this point, after cleaning up our headers 2021-05-06 Chun-wei Fan variantdbusstring.h: Drop GLIBMM_API decoration There is no API to export in the class definitions here, so just remove the GLIBMM_API decoration. This will remove C4275 warnings from code including the header. 2021-05-06 Chun-wei Fan fileattributeinfo.hg: Avoid exporting classes with std::string members This will help us to also eliminate C4251 warnings from code that use the FileAttributeInfo class. 2021-05-06 Chun-wei Fan ustring.h: Avoid exporting classes with std::string members ...and templates that inherit std::string. This will help us to also eliminate C4251 warnings from code that use the ustring class and related items. 2021-05-05 Kjell Ahlstedt Glib::PatternSpec: Ignore deprecation of g_pattern_match() 2021-05-05 Kjell Ahlstedt Subprojects can use meson.add_dist_script() if meson.version() >= 0.58.0 * meson.build: * docs/reference/meson.build: * gio/giomm/meson.build: * glib/glibmm/meson.build: Call add_dist_script() in a subproject, if meson.version() >= 0.58.0. * examples/meson.build: Build examples/network/resolver if libsigc++ is a subproject and meson.version() >= 0.58.0. * tools/build_scripts/handle-built-files.py: Use MESON_PROJECT_DIST_ROOT if it exists, else MESON_DIST_ROOT. It exists if meson.version() >= 0.58.0. 2021-04-19 Kjell Ahlstedt Meson build: Make quiet installations possible * tools/build_scripts/handle-built-files.py: Don't print names of installed files if environment variable MESON_INSTALL_QUIET is set. It is set by "meson install --quiet" in Meson 0.54.0 and newer. 2021-04-09 Magne Oestlyngen Variant: Fix so it works with C++20 C++20 changed some aspects of templates that broke variant.h on some compilers (GCC 11). Ref: https://wg21.cmeerw.net/cwg/issue2237 template struct A { A(); // ok pre-C++20, now incorrect // A(); // correct for all versions }; This commit removes the "simple-template-id" from both the default constructor (no args) and the explicit constructor (has args), even though only the default constructor currently gives error on GCC 11. Since both versions are wrong according to the issue referred to above it is expected that GCC (and possibly other compilers) will be updated to fail on both cases in the future. 2021-04-08 Kjell Ahlstedt Meson build: No implicit_include_directories 2021-03-26 Kjell Ahlstedt Meson build: Make it possible to use glibmm as a subproject glib and sigc++ can be subprojects of glibmm. 2021-03-17 Kjell Ahlstedt Add tools/defs_gen/enumextract.py A Python script that can replace the Perl script tools/enum.pl. Why? Just because I've got fond of Python. 2021-03-13 Kjell Ahlstedt Meson build: examples and tests: Add dependency('threads') Multithreaded examples and tests depend on 'threads'. I noticed this when I started experimenting with subprojects. Strange that the linker did not report it as an error long ago. 2021-03-08 Chun-wei Fan g[io|lib]mmconfig.h.*: Don't dllimport on MinGW This will fix warnings when building items using glibmm and giomm with MinGW/GCC. Please see: https://gitlab.gnome.org/GNOME/gtkmm/-/issues/90 2021-03-06 Kjell Ahlstedt tools/gen_scripts: Ignore gio/gwin32api-*.h Ignore some new glib header files when generating gio/src/gio_enums.defs and gio/src/gio_methods.defs. 2021-03-03 Chun-wei Fan glib/src/binding.hg: Export Glib::manage() The newly-added function was missing a GLIBMM_API annotation, causing this function not to be exported. Fixes build of the glibmm binding test program on Visual Studio-style builds. 2021-02-24 Kjell Ahlstedt Meson build: Use relative paths to untracked/ The paths to the source code in untracked/ shall be relative to the meson.build file, when library files are built from a tarball. With absolute paths Meson may generate too long file names. See gtkmm!61 2021-02-16 Kjell Ahlstedt Gio::MemoryInputStream: Ignore deprecation of g_memdup()