Nick Wellnhofer
347c2b2ec7
valid: Deprecate a few functions and xmllint --insert
2025-06-02 23:54:28 +02:00
Nick Wellnhofer
70e5d664ea
doc: Don't document deprecated headers
2025-05-17 01:31:55 +02:00
Nick Wellnhofer
502c5f658a
meson: Dependency on directory doesn't work
2025-05-17 00:11:03 +02:00
Nick Wellnhofer
0da20b834f
autotools: Quote filenames in doc/Makefile.am
2025-05-16 18:03:12 +02:00
Nick Wellnhofer
2d83a84ca6
doc: Misc improvements
2025-05-16 18:03:12 +02:00
Nick Wellnhofer
7bc7ae9db3
doc: Enable Doxygen autobrief
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
7d689fabda
doc: Fix doc installation with Autotools
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
7b59e74c5f
doc: Always use case sensitive filenames with Doxygen
...
Avoid platform-specific behavior.
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
18d20a68bc
doc: More fine-grained redirects for old pages
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
8c032073eb
doc: More Doxygen cleanup
...
- Move Doxyfile into doc directory
- Add files to EXTRA_DIST
- Remove conversion script
- Add docs to Meson summary
2025-05-02 23:16:07 +02:00
Nick Wellnhofer
e0c7a92977
doc: Add custom main page for API docs
2025-05-02 21:03:05 +02:00
Nick Wellnhofer
103f0203e0
doc: Add project slug to redirects
2025-05-02 15:29:10 +02:00
Nick Wellnhofer
a5898c2aed
doc: Add redirects for GitLab pages
2025-05-02 15:16:03 +02:00
Nick Wellnhofer
76531ceebd
doc: Remove libxml2-api.xml
...
This huge file can finally be removed.
2025-05-02 13:33:34 +02:00
Nick Wellnhofer
bbe5827c94
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.
2025-05-02 13:33:34 +02:00
Nick Wellnhofer
95c2c52329
doc: Remove apibuild.py and old documentation
...
The last weird maintenance script is gone now.
2025-05-01 23:23:42 +02:00
Nick Wellnhofer
68d0f0ee27
doc: Fix DocBook warnings
...
Add empty <contrib> elements to silence warnings from the DocBook
stylesheets.
2025-05-01 23:23:42 +02:00
Nick Wellnhofer
ffc0bba93e
xmllint: Remove --htmlout option
...
Unlike the documentation suggests, this only printed error messages as
HTML which doesn't seem useful.
2025-04-19 14:52:14 +02:00
Nick Wellnhofer
dc4910c70a
xmllint: Remove --testIO option
2025-04-18 23:38:48 +02:00
Nick Wellnhofer
95ffa8d234
xmllint: Remove --debugent option
2025-04-18 23:38:48 +02:00
Nick Wellnhofer
c7b1dd8675
doc: Separate xmllint debug options
2025-04-13 22:18:05 +02:00
Nick Wellnhofer
a372cbf582
Update documentation for 2.14.0
2025-03-27 15:17:22 +01:00
Nick Wellnhofer
b349225952
include: Change some return types from int to enum
...
This also affects some new functions from 2.13.
2025-03-14 02:31:01 +01:00
Nick Wellnhofer
fd1b939168
include: Convert some macros to enums
2025-03-14 00:35:40 +01:00
Nick Wellnhofer
84c6524e26
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 .
2025-03-13 22:15:10 +01:00
Nick Wellnhofer
69b83bb68e
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.
2025-03-13 22:15:10 +01:00
Nick Wellnhofer
87c9e000e5
encoding: Rework custom encoding implementation API
2025-03-09 22:37:13 +01:00
Nick Wellnhofer
d96911f100
doc: Documentation fixes
2025-03-08 23:03:26 +01:00
Nick Wellnhofer
5f0b1378d7
parser: Add more parser context accessors
...
Fixes #763 .
2025-03-08 22:36:06 +01:00
Nick Wellnhofer
94d8a3e231
parser: Convert xmlParserMaxDepth to macro
2025-03-05 14:56:46 +01:00
Nick Wellnhofer
696572248f
globals: Remove unused globals
...
- xmlBufferAllocScheme
- xmlDefaultBufferSize
- xmlParserDebugEntities
2025-03-05 12:24:38 +01:00
Nick Wellnhofer
92d7b0cd90
xpath: Rename valuePush and valuePop
2025-03-05 12:24:38 +01:00
Nick Wellnhofer
85bd58ef56
globals: Remove functions related to global state handling
...
- xmlGetGlobalState
- xmlInitializeGlobalState
- xmlGetThreadId
- xmlIsMainThread
2025-03-04 17:38:10 +01:00
Nick Wellnhofer
03a8d5f93d
unicode: Make Unicode functions private
2025-03-04 17:31:11 +01:00
Nick Wellnhofer
3d37ff84c3
globals: Also use global state struct if threads are disabled
2025-03-04 16:54:41 +01:00
Nick Wellnhofer
8e871162a6
parser: Remove oldXMLWDcompatibility
2025-03-04 16:54:41 +01:00
Nick Wellnhofer
cdc5cfed0b
legacy: Remove legacy symbols
2025-03-04 16:54:05 +01:00
Nick Wellnhofer
3250a01dc2
error: Convert initGenericErrorDefaultFunc to macro
2025-03-04 16:53:59 +01:00
Nick Wellnhofer
c42b32277d
parser: Convert inputPush and inputPop to macros
2025-03-04 16:53:28 +01:00
Nick Wellnhofer
361f7bff92
parser: Make nodePush, nodePop, namePush, namePop private
2025-03-04 16:47:14 +01:00
Nick Wellnhofer
0b27097a92
encoding: Rename unprefixed public functions
2025-03-04 16:46:53 +01:00
Nick Wellnhofer
e50d314a27
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.
2025-03-01 15:18:20 +01:00
Nick Wellnhofer
ce1b704e33
doc: Regenerate libxml2-api.xml
2025-02-25 20:09:36 +01:00
Nick Wellnhofer
7a8722f557
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.
2025-01-31 18:09:03 +01:00
Nick Wellnhofer
0cf25b3de2
Regenerate docs and testapi.c
2024-12-26 21:06:09 +01:00
Nick Wellnhofer
53c131f667
doc: Make apibuild.py work again
2024-12-26 20:29:58 +01:00
correctmost
81d38ed069
meson: Fix duplicate listing of libxml2.devhelp2
...
The duplication caused a warning when uninstalling.
2024-09-25 07:52:10 -04:00
Nick Wellnhofer
8ad618d2d6
doc: Document all xmllint options
...
Remove --pushsmall.
Fixes #785 .
2024-08-28 22:03:30 +02:00
Nick Wellnhofer
6be79014d7
Remove unused code
2024-07-15 16:33:38 +02:00
Nick Wellnhofer
8af55c8d20
parser: Rename new input API functions
...
These weren't made public yet.
2024-07-11 01:33:29 +02:00