2022-09-09 Kjell Ahlstedt 5.0.2 2022-09-09 Kjell Ahlstedt Makefile.am: Distribute subprojects/libxml2_cmake.wrap 2022-09-06 Kjell Ahlstedt DomParser, SaxParser: Move anonymous namespace out of namespace xmlpp 2022-08-17 Chun-wei Fan MSVC_NMake/README: Document dependency placement ... so that it is easier for people to build libxml++ with less need to tinker with the build files or the %INCLUDE% and %LIB% envvars. 2022-08-16 Chun-wei Fan NMake Makefiles: Make things more configurable Add the INCLUDEDIR and LIBDIR options, so that we can set where we find dependent headers and libraries, if they are not in %INCLUDE% and/or %LIB% and are not in $(PREFIX)\include and $(PREFIX)\lib. Also mention about the PREFIX and PERL options, so that one can use them when necessary. 2022-08-16 Chun-wei Fan NMake Makefiles: Remove dependency on msvc_recommended_pragmas.h We don't depend on glibmm for libxml++-5.x, so drop the forced include. Mishap when migrating the NMake Makefiles for libxml++-4.x, which does depend on glibmm. 2022-07-09 Rosen Penev clang-tidy: use auto Found with modernize-use-auto Signed-off-by: Rosen Penev 2022-07-06 Rosen Penev clang-tidy: use C++ headers Found with modernize-deprecated-headers Signed-off-by: Rosen Penev 2022-07-06 Rosen Penev clang-tidy: add missing move avoids copying Signed-off-by: Rosen Penev 2022-07-05 Kjell Ahlstedt tests/istream_ioparser/main.cc: Replace final by override gcc 8 does not understand that final implies override. 2022-07-05 Rosen Penev clang-tidy: use override Found with modernize-use-override Signed-off-by: Rosen Penev 2022-07-05 Rosen Penev clang-tidy: replace throw() with noexcept Found with modernize-use-noexcept Signed-off-by: Rosen Penev 2022-07-05 Rosen Penev clang-tidy: use range loops Found with modernize-loop-convert Signed-off-by: Rosen Penev 2022-07-05 Rosen Penev clang-tidy: remove pessimising const Found with performance-no-automatic-move Signed-off-by: Rosen Penev 2022-07-05 Rosen Penev clang-tidy: make deleted functions public Found with modernize-use-equals-delete Signed-off-by: Rosen Penev 2022-07-05 Rosen Penev clang-tidy: use make_unique Found with modernize-make-unique Signed-off-by: Rosen Penev 2022-06-28 Andrew Potter github: add windows workflow 2022-06-27 Andrew Potter meson: Clear CMAKE C FLAGS for subproject 2022-06-27 Andrew Potter meson: Don't override meson's cpp_eh option From meson 0.51.0, cpp_eh defaults to /EHsc on windows. Passing it to add_program_arguments() means downstream projects using cpp_eh=a will get warnings. 2022-06-27 Andrew Potter meson: Add libxml2 cmake wrap 2022-06-23 Chun-wei Fan istream_ioparser test: Include algorithm header Some Visual Studio releases require it to be included to use std::min(). 2022-06-23 Andrew Potter meson: no _WINDLL when static 2022-06-23 Andrew Potter meson: enable static building on windows 2022-06-16 Andrew Potter Add test to autotools build 2022-06-16 Andrew Potter parsers: Avoid std::getline for istream inputs For streambuf implementations that can't set a public get area, getline falls back to a character-by-character implementation. Instead we can pass the stream to xmlCreateIOParserCtxt(). This simplifies the parse stream methods and brings them nearly identical to the other parse methods. 2022-05-24 Chun-wei Fan Meson: Compensate for the lack of msvc_recommended_pragmas.h libxml++-5.x and later no longer depends on glibmm (hence GLib), so msvc_recommended_pragmas.h may not be available. If it isn't, disable warnings C4244 and C4101 to compensate for it. 2022-05-24 Chun-wei Fan Meson/MSVC: Ignore warning C4706 ... which means "assignment within conditional expression". We don't really need to worry too much about this warning here. 2022-05-24 Chun-wei Fan meson/MSVC: Re-organize warning-related compiler flags Add a short description for each of the warning-related compiler flags that we apply globally. Also, apply '/wd4267' only when we are building a 64-bit build, as that warning should only be related to 64-bit builds. 2022-05-23 Chun-wei Fan Meson: Some minor cleanups We don't actually need to check for the /wd4828 compiler flag here, so stop checking for that. Move the '/utf-8' compiler flag check to be together with the other warning- related compiler flag checks. 2022-05-06 Kjell Ahlstedt docs/manual: Sort example file lists so that docs/manual/libxml++.xml builds in a reproducible way. See https://gitlab.gnome.org/GNOME/gtkmm-documentation/-/merge_requests/15 by Bernhard M. Wiedemann. 2022-05-02 Kjell Ahlstedt meson.build: Avoid configuration warnings 2022-04-30 Kjell Ahlstedt meson.build: Add a necessary comma 2022-04-30 Rosen Penev remove min warning level This can be done using warning_level=1. Fixes meson warning. 2022-03-31 Kjell Ahlstedt libxml++/libxml++.h: Update the link to the tutorial 2022-02-13 Kjell Ahlstedt meson.build: Specify 'check' option in run_command() The default value will be changed in future Meson releases. Don't use deprecated python3.path() and execute(..., gui_app: ...). Let import('python').find_installation() always find the python installation used to run Meson. Don't distribute .github/. 2022-01-09 Kjell Ahlstedt CI: Install docbook-xsl If docbook-xsl is installed, the xsltproc command reads stylesheets from local files instead of from http://docbook.sourceforge.net. Faster and safer. Reading from docbook.sourceforge.net sometimes fails. 2021-11-10 Chun-wei Fan build: Support Visual Studio 2022 Make these builds distinct from Visual Studio 2019 builds. 2021-11-10 Chun-wei Fan Win32: Don't include afxres.h in resources We can save people from a large download and a large disk footprint for the MFC/ATL items as those items are only optionally installed for later (2017+) Visual Studio versions, by including winresrc.h instead, which is always present in a Visual Studio installation. 2021-10-14 Kjell Ahlstedt docs/index.md: Update links on the web site 2021-09-27 Kjell Ahlstedt docs/manual, Meson config: Check if xmllint can be used 2021-09-24 Kjell Ahlstedt CI, Meson build: Install packages for validating XML file libxml2-utils and docbook5-xml are necessary in order to validate the XML file in docs/manual/. 2021-09-19 Kjell Ahlstedt docs/manual: Upgrade from DocBook 4.1 to DocBook 5.0 2021-08-29 Kjell Ahlstedt CI: Add builds with Meson, remove some old Autotools builds 2021-08-18 Kjell Ahlstedt 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. 2021-07-16 Kjell Ahlstedt insert-example-code.py: Specify file encoding The default file encoding is platform dependent in Python. Better tell which encoding is expected. 2021-07-02 Kjell Ahlstedt docs/manual/libxml++_without_code.xml: Add id on elements 2021-07-02 Kjell Ahlstedt docs/reference/Doxyfile.in: Remove obsolete COLS_IN_ALPHA_INDEX 2021-07-02 Kjell Ahlstedt Meson build: Add insert_example_code.py * docs/manual/insert_example_code.py: New Python file, equivalent to the insert_example_code.pl Perl file. The Perl file is still used when building with Autotools. 2021-06-09 Kjell Ahlstedt Document, Node: Recognize HTML documents Documents created with htmlReadDoc() have xmlElementType == XML_HTML_DOCUMENT_NODE. Handle that type like the XML_DOCUMENT_NODE type. htmlDoc* is an alias for xmlDoc*. Fixes #23