Log

Author Commit Date CI Message
Nick Wellnhofer f3a080bc 2025-05-07T14:32:42 html: Ignore U+0000 in body text Align with HTML5. Fixes #908.
Nick Wellnhofer a1e83b24 2025-05-07T20:16:17 io: Fix negation of potentially unsigned value
Nick Wellnhofer 6684eb93 2025-05-07T20:13:59 fuzz: Fix out-of-tree build
Nick Wellnhofer 6bd380ce 2025-05-07T14:32:26 fuzz: Update README
Nick Wellnhofer b3854fe9 2025-05-07T20:20:31 reader: Fix null deref on malloc failure Short-lived regression from 177067ea.
Nick Wellnhofer 967df734 2025-05-07T13:03:11 malloc-fail: Handle malloc failure in xmlSchemaCopyValue Avoid null pointer dereference. Fixes #905.
Pavel Kopylov 4ed71574 2025-05-09T11:58:01 python: fix use-after-free in functions xmlPythonFileReadRaw(), xmlPythonFileRead() with python2. Fixes #910.
Nick Wellnhofer 38ea8fa9 2025-05-06T18:31:45 doc: Fix varargs
Nick Wellnhofer 18d20a68 2025-05-05T18:26:16 doc: More fine-grained redirects for old pages
Nick Wellnhofer 80b6429f 2025-05-04T19:13:24 doc: Misc fixes to encoding docs
Nick Wellnhofer 9bbffec5 2025-05-06T17:42:46 doc: Move brief to top, params to bottom of doc comments
Nick Wellnhofer 81ac2e27 2025-05-04T18:41:44 doc: Misc fixes to valid docs
Nick Wellnhofer 714decd6 2025-05-04T17:50:26 doc: Misc fixes to entities docs
Nick Wellnhofer 7bc7ae9d 2025-05-06T15:30:46 doc: Enable Doxygen autobrief
Nick Wellnhofer f38f3e7b 2025-05-04T16:49:49 doc: Misc fixes to IO documentation
Nick Wellnhofer e6cfd049 2025-05-04T14:52:42 doc: Misc fixes to tree docs
Nick Wellnhofer ab13fbfd 2025-05-06T14:06:43 doc: Misc fixes to error docs
Nick Wellnhofer 1bf44f09 2025-05-04T02:15:25 doc: Misc fixes to parser docs
Nick Wellnhofer b7274fb0 2025-05-03T16:34:02 doc: Misc fixes to HTML parser docs
Nick Wellnhofer b1685459 2025-05-06T12:50:52 doc: Misc fixes to xmlsave docs
Nick Wellnhofer 411f30ef 2025-05-03T16:21:15 doc: Don't document legacy HTML parser macros
Nick Wellnhofer 4a010875 2025-05-03T15:38:15 doc: Move parser option docs to enum
Nick Wellnhofer 7d689fab 2025-05-06T10:54:46 doc: Fix doc installation with Autotools
Nick Wellnhofer 0173fac7 2025-05-03T02:12:46 gitlab-ci: Only build documentation once per CMake platform
Nick Wellnhofer a449c5fd 2025-05-03T01:31:09 catalog: Deprecate some functions
Nick Wellnhofer 7b59e74c 2025-05-06T10:54:18 doc: Always use case sensitive filenames with Doxygen Avoid platform-specific behavior.
Nick Wellnhofer 306b8bf2 2025-05-03T01:30:44 autotools: Remove -DSYSCONFDIR This is handled in config.h now.
Nick Wellnhofer 075283d4 2025-05-03T00:17:39 xlink: Deprecate remaining public function This was never finished.
Nick Wellnhofer 298f70b3 2025-05-05T21:36:36 doc: Misc fixes to HTML tree docs
Nick Wellnhofer 05d0f592 2025-05-06T19:47:00 python: Skip __xml thread-local accessors So we can remove conditional directives for Doxygen.
Nick Wellnhofer 9f496fdb 2025-05-03T14:29:27 xmllint: Return early on invalid args At this point, no memory was allocated and xmllintOom wasn't initialized. Return immediately on invalid args to avoid triggering false positive unreported OOM errors when fuzzing.
Nick Wellnhofer 488939b6 2025-05-02T23:05:35 gitlab-ci: Enable documentation in more tests
Nick Wellnhofer 8c032073 2025-05-02T23:04:48 doc: More Doxygen cleanup - Move Doxyfile into doc directory - Add files to EXTRA_DIST - Remove conversion script - Add docs to Meson summary
Nick Wellnhofer e9366ffb 2025-05-02T22:26:06 tests: Remove XSTC Python tests I think this has been ported to runsuite.c. Convert part of Makefile.am into a script to download the test suite.
Nick Wellnhofer e0c7a929 2025-05-02T21:03:05 doc: Add custom main page for API docs
Nick Wellnhofer c8d1b7ba 2025-05-02T20:32:57 gitlab-ci: Treat Doxygen warnings as error
Nick Wellnhofer 2c150e62 2025-05-02T20:18:34 doc: Formatting fixes
Nick Wellnhofer 08a282f9 2025-05-02T20:12:52 doc: Doxygen fixes for xmlversion.h
Nick Wellnhofer cb1635a6 2025-05-02T19:05:25 doc: Use @since command
Nick Wellnhofer e78e05c9 2025-05-02T17:32:51 doc: Fix autolinks to functions Unfortunately, autolinks in .c files aren't converted by Doxygen for some reason.
Nick Wellnhofer b76286de 2025-05-02T17:30:21 doc: Remove # character for autolinks
Nick Wellnhofer 4d1e82ce 2025-05-02T17:26:08 doc: Fix xmlTextWriter struct name
Nick Wellnhofer e6d6fa6f 2025-05-02T17:23:30 doc: Fix xmlsave format hint Don't recommend deprecated symbols.
Nick Wellnhofer f7c41287 2025-05-02T15:57:17 doc: Remove more comment block headers
Nick Wellnhofer 103f0203 2025-05-02T15:29:10 doc: Add project slug to redirects
Nick Wellnhofer a5898c2a 2025-05-02T15:08:19 doc: Add redirects for GitLab pages
Nick Wellnhofer 0ffa7dd8 2025-05-02T14:52:03 include: Add hyperlink to deprecation warnings Doxygen creates a nice "deprecated list" for us.
Nick Wellnhofer 18c446a5 2025-05-02T14:41:29 python: Remove libxml2-python-api.xml Should have been removed with commit ed850ec1.
Nick Wellnhofer 1eca6e34 2025-04-30T00:54:00 parser: Deprecate xmlClearParserCtxt
Nick Wellnhofer 76531cee 2025-04-29T01:00:19 doc: Remove libxml2-api.xml This huge file can finally be removed.
Nick Wellnhofer 321aa356 2025-04-28T21:42:08 python: Make generator.py use Doxygen XML
Nick Wellnhofer ed850ec1 2025-04-28T20:04:19 python: Merge libxml2-python-api.xml into generator.py
Nick Wellnhofer 97f3ec77 2025-04-28T19:05:38 test: Make gentest.py use Doxygen XML This adds Python code to look up the required feature macros for a symbol in tools/xmlmod.py.
Nick Wellnhofer bbe5827c 2025-04-28T17:21:05 doc: Build docs with Doxygen and xsltproc Build the documentation as part of the build process with support for all build systems. This adds a new configuration option --with-docs to build documentation. Required tools are Doxygen, xsltproc and the DocBook 4 XSLT stylesheets. Doxygen will also be required to build the Python bindings.
Nick Wellnhofer e525564f 2025-05-01T19:20:06 doc: Remove empty lines at start of block These lines were left over after automatic conversion.
Nick Wellnhofer fd6ab89b 2025-04-28T15:58:19 doc: Adjust documentation of public structs
Nick Wellnhofer 8816f267 2025-04-28T14:55:47 doc: Adjust documentation of enums
Nick Wellnhofer e549622b 2025-04-28T15:11:24 doc: Convert documentation to Doxygen Automated conversion based on a few regexes.
Nick Wellnhofer 69879da8 2025-04-28T14:04:30 doc: Remove email addresses from documentation Also remove authorship information from generated files, hash.c and globals.c which were rewritten.
Nick Wellnhofer 61890e39 2025-04-27T21:50:15 doc: Prepare for conversion to Doxygen Fix many params in internal functions (not really necessary but Doxygen warns about that in XML mode). Fix formatting in a few corner cases that automatic conversion can't handle. Rearrange some DOC_DISABLE blocks.
Nick Wellnhofer 95c2c523 2025-04-28T16:38:42 doc: Remove apibuild.py and old documentation The last weird maintenance script is gone now.
Nick Wellnhofer 68d0f0ee 2025-04-29T15:05:18 doc: Fix DocBook warnings Add empty <contrib> elements to silence warnings from the DocBook stylesheets.
Nick Wellnhofer 75dde50b 2025-05-01T21:07:34 cmake: Fix installation directories in libxml2-config.cmake Use AX_RECURSIVE_EVAL with Autotools and remove hack using parent directories. Fixes #898.
Nick Wellnhofer 87b30343 2025-04-29T20:00:01 io: Fix linkage of __xml*BufferCreateFilename functions Make these functions usable on Windows.
Nick Wellnhofer 9419f6de 2025-04-29T01:58:32 meson: Install libxml2.py Apparently, nobody has ever tried to use the Python bindings built with Meson.
Nick Wellnhofer 01d1dabd 2025-04-27T12:53:43 cmake: Reenable testapi on Windows Fixes #403.
Nick Wellnhofer fc8899d4 2025-04-27T12:59:41 parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
Nick Wellnhofer af40ed75 2025-04-24T20:01:45 tests: Rework testapi.c Only test NULL and 0 arguments which is the only useful test from my experience. Use ElementTree instead of libxml2's own Python bindings in gentest.py. Stop using the <cond> element in libxml2-api.xml. Look up modules required by symbols using separate code in xmlmod.py, preparing for the eventual removal of apibuild.py.
Nick Wellnhofer 177067ea 2025-04-25T15:34:07 reader: Fix reading compressed data Also make sure that functions that don't return error codes set the global error.
Nick Wellnhofer 0bac84b1 2025-04-24T18:37:16 Add missing NULL checks to public API functions
Nick Wellnhofer 72906f16 2025-04-25T11:41:50 parser: Make undeclared entities in XML content fatal When parsing XML content with functions like xmlParseBalancedChunk or xmlParseInNodeContext, make undeclared entities always a fatal error to match 2.13 behavior. This was deliberately changed in 4f329dc5, probably to make the tests pass. Should fix #895.
Nick Wellnhofer 097fe87f 2025-04-23T17:58:34 gitlab-ci: Add --show-diff to PHP tests Thanks to @nielsdos for the hint.
Nick Wellnhofer 8a791fdd 2025-04-21T17:31:29 save: Fix xmlDocDump with encoding Short-lived regression.
Nick Wellnhofer 71cc2104 2025-04-21T11:10:20 autotools, cmake: Use SOABI for Python shared object This requires Python3 with CMake. Fixes #894.
Nick Wellnhofer 78b123c6 2025-04-20T23:42:44 save: Fix XML escape table Regressed with 2adcde39.
Nick Wellnhofer 5df94fc7 2025-04-20T21:52:03 save: Remove unused struct members
Nick Wellnhofer 8c6c6165 2025-04-20T21:42:51 save: Rework encoding setup Always set up encoding in xmlDocContentDumpOutput. Refactor and simplify some code.
Nick Wellnhofer 936e3d52 2025-04-20T19:25:04 save: Fix xmlSave with NULL encoding Regressed with cc45f618.
Nick Wellnhofer b85d77d1 2025-04-20T14:31:24 http: Remove built-in HTTP client Stubs are retained for ABI compatibility. Fixes #631. Obsoletes #160.
Nick Wellnhofer 85dce180 2025-04-20T14:08:36 gitlab-ci: Readd gcc/autoconf job with Python
Nick Wellnhofer 134bda82 2025-04-19T18:55:29 gitlab-ci: Fetch git history for xmlstarlet
Nick Wellnhofer 70d18dde 2025-04-19T17:34:35 gitlab-ci: Add xmlstarlet to downstream tests Use my private fork for now.
Nick Wellnhofer adc7913d 2025-04-19T16:46:21 gitlab-ci: Avoid redundant builds of libxml2 and libxslt Build and install libxml2 and libxslt in a new "gcc-install" job and publish the build as artifact. Make the downstream tests use the artifact instead of building the libraries redundantly.
Nick Wellnhofer 9e3159d0 2025-04-19T14:26:15 parser: Never use XML catalogs when parsing HTML files When loading HTML files we shouldn't try to resolve URIs using the XML catalogs.
Nick Wellnhofer 2d8b6df2 2025-04-19T00:34:23 xmllint: Make --nocatalogs actually work
Nick Wellnhofer ffc0bba9 2025-04-18T23:55:27 xmllint: Remove --htmlout option Unlike the documentation suggests, this only printed error messages as HTML which doesn't seem useful.
Nick Wellnhofer dc4910c7 2025-04-18T22:58:46 xmllint: Remove --testIO option
Nick Wellnhofer 95ffa8d2 2025-04-18T22:54:40 xmllint: Remove --debugent option
Nick Wellnhofer 7b5543bd 2025-04-18T22:48:12 autotools: Remove unneeded $(ICONV_CFLAGS) The public headers don't include iconv.h anymore.
Nick Wellnhofer 7d33f97f 2025-04-18T20:45:17 xmllint: Separate XML and HTML parser options
Nick Wellnhofer 094980ec 2025-04-18T18:41:25 fuzz: Make --pretty arg more likely to be valid
Nick Wellnhofer 7e1c2b94 2025-04-18T18:39:03 xmllint: Return error code instead of exiting in parseInteger
Nick Wellnhofer 4ba1f923 2025-04-18T17:28:24 html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT There are several users that pass invalid XML parser options to the HTML parser. Choose a value that is less likely to clash.
Nick Wellnhofer 6896f478 2025-04-18T17:22:36 Revert "valid: Remove duplicate error messages when streaming" This reverts commit cd220b93d8ffffd2fb7cac0ec792bebb7e082521. This commit broke the xmstarlet tests.
Nick Wellnhofer aa4ef773 2025-04-17T19:53:14 parser: Deprecate output-related globals
Nick Wellnhofer d8193b7a 2025-04-17T19:46:23 xmllint: Fix parsing of --pretty argument
Nick Wellnhofer 470bec65 2025-04-17T19:44:50 xmllint: Switch to xmlSaveSetIndentString Stop using global xmlTreeIndentString.
Nick Wellnhofer 2e2b4c0f 2025-04-17T19:41:20 xmllint: Use xmlSave API to serialize HTML
Nick Wellnhofer c132829c 2025-04-17T19:42:30 xmllint: Don't serialize to memory with --memory option This is only useful for debugging.
Nick Wellnhofer 8dbf298c 2025-04-17T19:10:48 xmllint: Fix harmless memory leaks Fixes #892.