doc

Branch


Log

Author Commit Date CI Message
Nick Wellnhofer dc307e31 2025-09-17T11:10:51 meson: Fix install dir of man pages Regressed when reworking documentation in 2.15. Fixes #985.
Nick Wellnhofer 3652fc28 2025-06-22T17:09:42 doc: Fix installation with newer Doxygen Newer versions don't generate PNG files anymore. Simply use *.* as wildcard.
Nick Wellnhofer 404aedbd 2025-06-22T15:46:09 doc: Improve xmllint documentation
Michael Mann dd2b4091 2025-06-18T13:55:37 xmllint: Add --strict-namespace option Use xmlCtxtGetStatus() after parsing. If status indicates a namespace error while the --strict-namespace option is enabled, xmllint will exit with XMLLINT_ERR_RDFILE error Fixes #698
Nick Wellnhofer 2ffb8c96 2025-06-08T14:58:29 doc: Improve xmllint documentation Group more options. Clarify effect of some parser options. Mention streaming validation with `--sax`. Remove references to libxml(3).
Nick Wellnhofer 347c2b2e 2025-06-02T23:26:19 valid: Deprecate a few functions and `xmllint --insert`
Nick Wellnhofer 70e5d664 2025-05-17T01:30:41 doc: Don't document deprecated headers
Nick Wellnhofer 502c5f65 2025-05-17T00:11:03 meson: Dependency on directory doesn't work
Nick Wellnhofer 0da20b83 2025-05-14T04:20:07 autotools: Quote filenames in doc/Makefile.am
Nick Wellnhofer 2d83a84c 2025-05-14T00:29:19 doc: Misc improvements
Nick Wellnhofer 7d689fab 2025-05-06T10:54:46 doc: Fix doc installation with Autotools
Nick Wellnhofer 7b59e74c 2025-05-06T10:54:18 doc: Always use case sensitive filenames with Doxygen Avoid platform-specific behavior.
Nick Wellnhofer 18d20a68 2025-05-05T18:26:16 doc: More fine-grained redirects for old pages
Nick Wellnhofer 7bc7ae9d 2025-05-06T15:30:46 doc: Enable Doxygen autobrief
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 e0c7a929 2025-05-02T21:03:05 doc: Add custom main page for API docs
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 76531cee 2025-04-29T01:00:19 doc: Remove libxml2-api.xml This huge file can finally be removed.
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 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 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 c7b1dd86 2025-04-13T21:42:24 doc: Separate xmllint debug options
Nick Wellnhofer a372cbf5 2025-03-27T15:17:22 Update documentation for 2.14.0
Nick Wellnhofer b3492259 2025-03-14T00:01:11 include: Change some return types from int to enum This also affects some new functions from 2.13.
Nick Wellnhofer fd1b9391 2025-03-13T23:20:16 include: Convert some macros to enums
Nick Wellnhofer 84c6524e 2025-03-13T19:45:35 encoding: Support input-only and output-only converters Make it possible to open an encoding handler only for input or output. This avoids the creation of unnecessary converters. Should also fix #863.
Nick Wellnhofer 69b83bb6 2025-03-10T02:18:51 encoding: Detect truncated multi-byte sequences with ICU Unlike iconv or the internal converters, ICU consumes truncated multi- byte sequences at the end of an input buffer. We currently check for a non-empty raw input buffer to detect truncated sequences, so this fails with ICU. It might be possible to inspect the pivot buffer pointers, but it seems cleaner to implement a `flush` flag for some encoding and I/O functions. After flushing, we can check for U_TRUNCATED_CHAR_FOUND with ICU, or detect remaining input with other converters. Also fix detection of truncated sequences for HTML, XML content and DTDs with iconv.
Nick Wellnhofer 87c9e000 2025-03-09T22:20:23 encoding: Rework custom encoding implementation API
Nick Wellnhofer d96911f1 2025-03-08T23:00:29 doc: Documentation fixes
Nick Wellnhofer 5f0b1378 2025-03-08T22:07:15 parser: Add more parser context accessors Fixes #763.
Nick Wellnhofer 94d8a3e2 2025-03-05T14:56:46 parser: Convert xmlParserMaxDepth to macro
Nick Wellnhofer 69657224 2025-03-04T20:32:02 globals: Remove unused globals - xmlBufferAllocScheme - xmlDefaultBufferSize - xmlParserDebugEntities
Nick Wellnhofer 92d7b0cd 2025-03-04T20:18:11 xpath: Rename valuePush and valuePop
Nick Wellnhofer 85bd58ef 2025-03-04T16:07:40 globals: Remove functions related to global state handling - xmlGetGlobalState - xmlInitializeGlobalState - xmlGetThreadId - xmlIsMainThread
Nick Wellnhofer 03a8d5f9 2025-03-04T16:00:08 unicode: Make Unicode functions private
Nick Wellnhofer 3d37ff84 2025-03-04T15:10:09 globals: Also use global state struct if threads are disabled
Nick Wellnhofer 8e871162 2025-03-04T13:36:55 parser: Remove oldXMLWDcompatibility
Nick Wellnhofer cdc5cfed 2025-03-04T13:26:51 legacy: Remove legacy symbols
Nick Wellnhofer 3250a01d 2025-03-04T13:15:42 error: Convert initGenericErrorDefaultFunc to macro
Nick Wellnhofer c42b3227 2025-03-04T13:11:18 parser: Convert inputPush and inputPop to macros
Nick Wellnhofer 361f7bff 2025-03-04T13:02:36 parser: Make nodePush, nodePop, namePush, namePop private
Nick Wellnhofer 0b27097a 2025-03-04T12:55:25 encoding: Rename unprefixed public functions
Nick Wellnhofer e50d314a 2025-02-25T23:07:19 build: Add separate configuration option for RELAX NG Support for RELAX NG used to be enabled together with XML Schema support (--with-schemas). Now there's a separate option and a new feature macro LIBXML_RELAXNG_ENABLED.
Nick Wellnhofer ce1b704e 2025-02-25T20:09:36 doc: Regenerate libxml2-api.xml
Nick Wellnhofer 7a8722f5 2025-01-31T14:55:29 parser: Document that XML_PARSE_NOBLANKS is broken Long text content can generate multiple "characters" callbacks which can lead to NOBLANKS removing whitespace in non-whitespace text nodes. So the NOBLANKS option doesn't even work reliably with the pull parser. This would be extremely hard to fix. Unfortunately, `xmllint --format` relies on this option which is another reason why this feature never really worked.
Nick Wellnhofer 0cf25b3d 2024-12-26T20:32:35 Regenerate docs and testapi.c
Nick Wellnhofer 53c131f6 2024-12-26T20:29:58 doc: Make apibuild.py work again
correctmost 81d38ed0 2024-09-25T07:52:10 meson: Fix duplicate listing of libxml2.devhelp2 The duplication caused a warning when uninstalling.
Nick Wellnhofer 8ad618d2 2024-08-28T22:03:30 doc: Document all xmllint options Remove --pushsmall. Fixes #785.
Nick Wellnhofer 6be79014 2024-07-15T14:18:26 Remove unused code
Nick Wellnhofer 8af55c8d 2024-07-06T22:14:21 parser: Rename new input API functions These weren't made public yet.
Nick Wellnhofer 4f329dc5 2024-07-10T03:27:47 parser: Implement xmlCtxtParseContent This implements xmlCtxtParseContent, a better alternative to xmlParseInNodeContext or xmlParseBalancedChunkMemory. It accepts a parser context and a parser input, making it a lot more versatile. xmlParseInNodeContext is now implemented in terms of xmlCtxtParseContent. This makes sure that xmlParseInNodeContext never modifies the target document, improving thread safety. xmlParseInNodeContext is also more lenient now with regard to undeclared entities. Fixes #727.
Nick Wellnhofer 673ca0ed 2024-07-11T01:23:57 tests: Regenerate testapi.c
Nick Wellnhofer f4e63f7a 2024-06-27T15:15:06 Regenerate libxml2-api.xml and testapi.c
Mike Dalessio bbbbbb46 2024-06-20T03:19:48 parser: implement xmlCtxtGetOptions In 712a31ab, the `options` struct member was deprecated. To allow callers to check the status of options bits, introduce xmlCtxtGetOptions.
Nick Wellnhofer 3aca5bcf 2024-06-17T03:34:06 doc: Ignore empty headers
Nick Wellnhofer 1112699c 2024-06-17T02:42:18 legacy: Remove most legacy functions from public headers Also remove warning messages.
Nick Wellnhofer 5fca9498 2024-06-16T19:56:08 doc: Hide internal macro
Nick Wellnhofer fb2b9cda 2024-06-16T19:51:44 doc: Remove broken struct field description
Nick Wellnhofer 33a1f897 2024-06-16T19:16:47 legacy: Merge SAX.c into legacy.c
Nick Wellnhofer 1341deac 2024-06-16T17:57:12 xmllint: Move shell to xmllint Move source code for xmllint shell to shell.c and move it from the libxml2 library to the xmllint executable. Also allow shell to run without XPath and debug modules. Add stubs for old shell API functions in legacy build mode.
Nick Wellnhofer 481fd6bb 2024-06-16T16:30:54 tests: Remove testThreads.c This was merged into runtest.c some time ago.
Nick Wellnhofer 1b640358 2024-06-16T00:39:39 schemas: Stop using xmlValidateNotationUse Simplify symbol availability logic.
Nick Wellnhofer fa01278d 2024-06-16T00:11:41 regexp: Hide experimental legacy code This was never made public.
Nick Wellnhofer 10d60d15 2024-06-16T00:04:46 regexp: Stop using LIBXML_AUTOMATA_ENABLED This macro always equals LIBXML_REGEXP_ENABLED.
Nick Wellnhofer 11c3f84b 2024-06-15T23:57:39 SAX2: Always make xmlSAX2{Start,End}Element public Simplify symbol availability logic.
Nick Wellnhofer f307237e 2024-06-15T23:53:04 schemas: Use private copy of global NaN and Inf Simplify symbol availability logic.
Nick Wellnhofer b0fc67aa 2024-06-15T22:53:55 build: Remove --with-tree configuration option This option would allow for a smaller, but mostly useless minimal build. But it complicates the symbol availability logic in an insane way and requires specialized tools like our custom C parser in doc/apibuild.py. See #717.
Nick Wellnhofer 7b65c90f 2024-06-16T18:29:21 Regenerate libxml2-api.xml and testapi.c
Nick Wellnhofer 7a94fd0b 2024-06-12T13:35:20 doc: Update documentation
Nick Wellnhofer 9523438a 2024-05-20T13:56:47 doc: Allow missing author
Nick Wellnhofer a800e003 2024-05-20T13:54:09 doc: Allow missing desc if we have a retdesc Allow missing function descriptions if the return value is documented.
Nick Wellnhofer 5f75c956 2024-04-28T22:57:02 doc: Remove tutorial The tutorial was moved to the Wiki: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/Tutorial
Nick Wellnhofer d381e5de 2024-04-28T21:14:32 doc: Move doc/examples to example
Nick Wellnhofer 1cdfece1 2024-04-28T18:33:40 memory: Remove memory debugging This is useless compared to sanitizers or valgrind and has a considerable performance impact if enabled accidentally.
Nick Wellnhofer 5e80f438 2024-04-28T17:33:19 tree: Deprecate xmlRegisterNodeDefault This rarely used feature should be phased out.
Vincent Torri 5732ce56 2024-04-04T12:14:46 meson: Initial commit
Nick Wellnhofer 1d50df87 2024-03-28T12:08:13 examples: Don't leave temp files
Nick Wellnhofer 87bebd25 2024-02-12T16:45:16 xmllint: Return error code if XPath returns empty nodeset Return an error code as before but make it possible to distinguish from real errors. Fixes #690.
Nick Wellnhofer b53562bd 2024-02-11T12:33:02 examples: Readd xpath1 test This was removed for some reason in fc119e32. Fixes #685.
Nick Wellnhofer 2835337a 2024-01-30T14:18:45 doc: Mark `xmllint --xpath` as experimental This feature was poorly thought-out.
Nick Wellnhofer 6b089473 2024-01-30T13:37:16 doc: Update xmllint man page after fixing #180 Fixes #673.
Nick Wellnhofer d636ef1d 2024-01-11T00:43:44 tests: Remove testOOM This was never part of the standard test suite and we now test OOM error handling more comprehensively with fuzz testing.
Nick Wellnhofer 9122ad0c 2023-12-06T19:56:50 include: Move globals from xmlsave.h to parser.h Fix downstream build issues after reworking globals.h.
Nick Wellnhofer c011e760 2023-12-06T01:09:31 globals: Remove unused globals from thread storage Setting these deprecated globals hasn't had an effect for a long time. Make them constants. This reduces the size of per-thread storage from ~700 to ~250 bytes.
Nick Wellnhofer 7d6969d9 2023-11-23T15:48:52 Remove Trio Trio is a rather old cross-platform printf library which was bundled with libxml2. It was needed for ancient pre-C99 systems without snprintf and should be safe to remove these days.
Nick Wellnhofer f5d4d33b 2023-11-23T15:25:54 tests: Regenerate testapi.c
Nick Wellnhofer a40c32ac 2023-11-04T19:07:37 doc: Regenerate documentation
Nick Wellnhofer b8e03e13 2023-10-02T15:07:55 examples: Don't use sprintf Avoids warnings on macOS.
Nick Wellnhofer 42a0bc6d 2023-09-16T19:45:30 tests: Add ATTRIBUTE_NO_SANITIZE_INTEGER macro
Nick Wellnhofer 45470611 2023-09-21T23:52:52 error: Make xmlGetLastError return a const error This is a slight break of the API, but users really shouldn't modify the global error struct. The goal is to make xmlLastError use static buffers for its strings eventually. This should warn people if they're abusing the struct.
Nick Wellnhofer e4091bcf 2023-09-21T22:54:57 doc: Allow 'unsigned' without 'int'
Nick Wellnhofer 46d7aaec 2023-09-21T22:54:30 doc: Add ignored tokens to apibuild.py
Nick Wellnhofer 9fc5090c 2023-09-16T19:58:42 hash: Clean up libxml/hash.h Rename variables, fix subincludes, whitespace.
Nick Wellnhofer 1117fae0 2023-09-20T19:20:41 include: Remove unneeded includes
Nick Wellnhofer a77f9ab8 2023-09-20T16:57:22 globals: Don't include SAX2.h from globals.h