include/libxml


Log

Author Commit Date CI Message
Nick Wellnhofer 442c1903 2025-05-09T18:52:36 doc: Fix some damage from automated conversions Add some newlines, fix returns.
Nick Wellnhofer 98a61c9d 2025-05-09T16:48:09 doc: Fix briefs in tree docs
Nick Wellnhofer 38ea8fa9 2025-05-06T18:31:45 doc: Fix varargs
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 9bbffec5 2025-05-06T17:42:46 doc: Move brief to top, params to bottom of doc comments
Nick Wellnhofer a449c5fd 2025-05-03T01:31:09 catalog: Deprecate some functions
Nick Wellnhofer 075283d4 2025-05-03T00:17:39 xlink: Deprecate remaining public function This was never finished.
Nick Wellnhofer ab13fbfd 2025-05-06T14:06:43 doc: Misc fixes to error docs
Nick Wellnhofer b1685459 2025-05-06T12:50:52 doc: Misc fixes to xmlsave docs
Nick Wellnhofer 298f70b3 2025-05-05T21:36:36 doc: Misc fixes to HTML tree docs
Nick Wellnhofer 80b6429f 2025-05-04T19:13:24 doc: Misc fixes to encoding docs
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 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 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 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 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 f7c41287 2025-05-02T15:57:17 doc: Remove more comment block headers
Nick Wellnhofer 0ffa7dd8 2025-05-02T14:52:03 include: Add hyperlink to deprecation warnings Doxygen creates a nice "deprecated list" for us.
Nick Wellnhofer 1eca6e34 2025-04-30T00:54:00 parser: Deprecate xmlClearParserCtxt
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 87b30343 2025-04-29T20:00:01 io: Fix linkage of __xml*BufferCreateFilename functions Make these functions usable on Windows.
Nick Wellnhofer fc8899d4 2025-04-27T12:59:41 parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
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 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 aa4ef773 2025-04-17T19:53:14 parser: Deprecate output-related globals
Nick Wellnhofer fc4adba9 2025-04-12T16:26:07 error: Fix initGenericErrorDefaultFunc compatibility macro
Nick Wellnhofer 97ffa77d 2025-04-10T17:36:58 encoding: Deprecate non-thread-safe functions
Nick Wellnhofer 2ecc08f6 2025-04-09T21:11:47 html: Deprecate more functions
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 03a8f1dd 2025-03-11T18:53:24 doc: Document SAX handlers a little more
Nick Wellnhofer 87c9e000 2025-03-09T22:20:23 encoding: Rework custom encoding implementation API
Nick Wellnhofer ba9148d8 2025-03-09T20:30:49 parser: Undeprecate input->consumed Should be deprecated after fixing #762.
Nick Wellnhofer a0dbf030 2025-03-09T20:24:06 parser: Undeprecate ctxt->loadsubset Should be deprecated after fixing #873.
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 38f47507 2025-03-05T21:06:05 encoding: Make conversion callbacks more type-safe
Nick Wellnhofer a846d964 2025-03-05T16:49:42 encoding: Remove compatibility struct members
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 03be993c 2025-03-04T18:42:35 Use memcpy to avoid pointer cast warnings
Nick Wellnhofer f502e9b2 2025-03-04T17:23:44 include: Add more deprecation warnings
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 a15ad9b2 2025-03-04T14:06:50 parser: Remove compatibility symbols
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 7ae8e8ac 2025-02-22T21:06:34 schemas: Make xmlSchemaDump depend on DEBUG_ENABLED
Nick Wellnhofer 6fc26076 2025-02-22T20:31:45 regexp: Hide debugging code behind DEBUG_REGEXP xmlRegexpPrint is now a deprecated no-op.
Nick Wellnhofer 9c16a153 2025-02-13T18:41:33 Revert "include: Make most IS_* macros private" This reverts commit 84a6c82ff83d04963d6e1c5cd18ded68ea02d99f.
Nick Wellnhofer 93506d41 2025-01-29T00:17:01 parser: Make catalog PIs opt-in This is an obscure feature that shouldn't be enabled by default.
Nick Wellnhofer 1082d813 2025-01-28T23:21:34 parser: Prepare to make decompression opt-in Add a new parser option XML_PARSE_UNZIP that enables decompression. xmlReadFile, xmlCtxtReadFile and xmlCreateURLParserCtxt always set this option currently, but downstream users should start to set the option if they really need it.
Nick Wellnhofer e4194110 2025-01-17T16:00:05 schemas: Make ValidateStream take a const SAXHandler
Nick Wellnhofer c134e8b4 2024-12-19T21:05:49 include: Make INPUT_CHUNK macro private
Nick Wellnhofer 84a6c82f 2024-12-19T20:59:10 include: Make most IS_* macros private Macros like IS_DIGIT or IS_LETTER severely pollute the C namespace.
Nick Wellnhofer 0dc26910 2024-11-20T21:04:19 parser: Deprecate more internal functions
Nick Wellnhofer a227a71a 2024-11-20T17:03:11 regexp: Deprecate internal functions
Nick Wellnhofer 0f4f8900 2024-11-17T20:13:14 parser: Rename inputPush to xmlCtxtPushInput
Nick Wellnhofer e2ad249c 2024-11-17T19:48:44 parser: Deprecate more internal symbols - xmlParseExternalSubset - xmlPushInput - xmlPopInput - xmlCopyCharMultiByte - xmlCreateEntityParserCtxt - xmlStringComment
Nick Wellnhofer 4d1f35b0 2024-11-17T19:45:16 valid: Deprecate more internal functions
Nick Wellnhofer 5a51f085 2024-11-17T13:50:15 valid: Implement xmlCtxtValidateDocument This allows to use the error handler or resource loader of a parser context.
Nick Wellnhofer 7f8c436c 2024-11-15T16:30:52 parser: Implement xmlCtxtParseDtd and xmlCtxtValidateDtd This allows to use the context's error handler, options and other settings. Fixes #808.
Nick Wellnhofer c32397d5 2024-09-12T22:39:05 html: Improve character class macros
Nick Wellnhofer c34d0ae9 2024-09-12T23:50:20 html: Deprecate htmlIsBooleanAttr
Nick Wellnhofer 6040785a 2024-09-12T23:12:01 html: Deprecate AutoClose API
Nick Wellnhofer 188cad68 2024-09-12T02:51:20 html: Remove obsolete content model
Nick Wellnhofer 462bf0b7 2024-09-11T19:06:06 html: Rework options Introduce htmlCtxtSetOptions, see similar changes made to XML parser. Add HTML_PARSE_HUGE alias. Support HTML_PARSE_BIG_LINES.
Nick Wellnhofer e062a4a9 2024-09-08T20:40:36 html: Add HTML5 parser option This option passes tokenizer output directly to the SAX callbacks, making it possible to test the tokenizer against the html5lib test suite. This will produce unbalanced calls to the startElement and endElement callbacks, but it's the only way to support a SAX like interface for HTML5. It can be used for filtering or rewriting HTML5, for example. A HTML5 tree builder could then be implemented on top of the SAX callbacks.
Nick Wellnhofer f9ed30e9 2024-09-06T17:49:04 html: HTML5 character data states
Nick Wellnhofer b1c5aa65 2024-09-19T12:50:59 xpath: Deprecate xmlXPathNAN and xmlXPath*INF Users should simply use the C99 macros.
Nick Wellnhofer c46b89e2 2024-09-13T21:06:36 xpath: Deprecate xmlXPathEvalExpr Also check the argument instead of crashing if there's no context.
Nick Wellnhofer de10d4cd 2024-09-04T16:19:42 include: Check whether _MSC_VER is defined Should fix #795.
Nick Wellnhofer aa6ca0b1 2024-07-23T03:29:41 module: Deprecate module API This was only used by libxslt which switched to a private implementation.
Nick Wellnhofer 6a3c0b0d 2024-07-22T12:53:00 parser: Increase XML_MAX_DICTIONARY_LIMIT This limit is somewhat arbitrary and can be reached when fuzzing documents up to 1 MB. Increase limit to 100 MB and disable limit if XML_PARSE_HUGE is set.
Nick Wellnhofer 5d36664f 2024-07-16T00:35:53 memory: Deprecate xmlGcMemSetup
Nick Wellnhofer 79e11995 2024-07-15T19:43:28 error: Make xmlLastError const
Nick Wellnhofer eb66d03e 2024-07-07T23:15:54 io: Deprecate a few functions
Nick Wellnhofer 8e871a31 2024-07-07T12:58:43 buf: Rework xmlBuffer code Port most changes made to the xmlBuf code in f3807d76, except that "size" still includes the terminating NULL byte. Make xmlSetBufferAllocationScheme, xmlBufferAllocScheme and xmlDefaultBufferSize no-ops. Deprecate a few functions.
Nick Wellnhofer e488695b 2024-07-11T20:23:49 save: Deprecate xmlSaveSet*Escape xmlSaveSetAttrEscape never had an effect.
Nick Wellnhofer e0494c0d 2024-07-15T15:10:18 io: Add some deprecation warnings
Nick Wellnhofer 69f12d6d 2024-07-13T00:17:18 encoding: Deprecate xmlByteConsumed This was only used by Chromium/WebKit to detect whether xmlParseContent really succeeded. It's a horrible, overcomplicated hack. See 8c5848bd and #767.