1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
Nick Wellnhofer
97f3ec7708 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.
2025-05-02 13:33:34 +02:00
Nick Wellnhofer
69879da88f doc: Remove email addresses from documentation
Also remove authorship information from generated files, hash.c and
globals.c which were rewritten.
2025-05-01 23:23:42 +02:00
Nick Wellnhofer
61890e399d 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.
2025-05-01 23:23:42 +02:00
Nick Wellnhofer
af40ed75bc 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.
2025-04-27 13:01:42 +02:00
Nick Wellnhofer
78b123c662 save: Fix XML escape table
Regressed with 2adcde39.
2025-04-21 00:51:32 +02: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
03a8d5f93d unicode: Make Unicode functions private 2025-03-04 17:31:11 +01:00
Nick Wellnhofer
cdc5cfed0b legacy: Remove legacy symbols 2025-03-04 16:54:05 +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
c6af101728 html: Test tokenizer against html5lib test suite 2024-10-06 18:13:05 +02:00
Nick Wellnhofer
5951179239 html: Parse named character references according to HTML5 2024-10-06 18:13:05 +02:00
Nick Wellnhofer
2adcde3920 save: Optimize xmlSerializeText
Use lookup tables.
2024-07-16 17:42:10 +02:00
Nick Wellnhofer
3528b81f8a tools: Move codegen tools to 'tools' directory 2024-07-13 15:42:02 +02:00