Nick Wellnhofer
7c82391c64
codegen: Factor out code to generate range tables
2025-05-17 01:29:37 +02:00
Nick Wellnhofer
c4926b19d3
codegen: Merge xmlunicode.c into xmlregexp.c
...
Include generated parts.
Generate xmlChRangeGroups instead of functions for Unicode blocks.
2025-05-16 19:04:20 +02:00
Nick Wellnhofer
4cb767e96e
codegen: Only generate tables for character ranges
...
The rest can be easily maintained manually.
2025-05-16 19:04:20 +02:00
Nick Wellnhofer
258d870629
codegen: Consolidate tools for code generation
...
Move tools, source files and output tables into codegen directory.
Rename some files.
Adjust tools to match modified files. Remove generation date and source
files from output.
Distribute all tools and sources.
2025-05-16 18:03:12 +02:00
Nick Wellnhofer
306b8bf28d
autotools: Remove -DSYSCONFDIR
...
This is handled in config.h now.
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
e9366ffbc4
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.
2025-05-02 22:30:12 +02:00
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
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
7b5543bdbb
autotools: Remove unneeded $(ICONV_CFLAGS)
...
The public headers don't include iconv.h anymore.
2025-04-18 23:38:48 +02:00
Nick Wellnhofer
1039cd53bc
autotools: Remove remaining cruft from Makefile.am
2025-04-14 00:08:54 +02:00
Nick Wellnhofer
a6398ab696
meson: Fix build from tarball
...
Include xml2-config-meson in EXTRA_DIST.
Fixes #883 .
2025-03-28 09:08:13 +01:00
Nick Wellnhofer
1078dc8233
autotools: xmlcatalog requires output module
2025-03-13 22:15:10 +01:00
Nick Wellnhofer
eed1a07d05
build: Remove version script
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
552864f109
Remove os400 port
...
This is based on an ancient version and completely outdated.
2025-03-01 15:18:20 +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
22ada0a0bf
tests: Look for xmlconf in source directory
...
Add -d option to runxmlconf for automake.
Fix extraction of xmlconf.tar.gz on Windows.
Make runxmlconf work with Meson CI.
2025-02-18 23:55:28 +01:00
Nick Wellnhofer
bfe6af2eed
fuzz: Remove hacks to build lint fuzzer
...
Don't include source file directly.
2025-01-17 20:06:45 +01:00
Nick Wellnhofer
41aed0890a
automake: Only build testdso when testing
2024-12-26 21:25:23 +01:00
Nick Wellnhofer
225e0229dc
autotools: Add html5ent.inc to EXTRA_DIST
2024-12-09 23:28:02 +01:00
Nick Wellnhofer
799104defb
build: Schema doesn't require XPath anymore
2024-11-21 23:43:23 +01:00
Nick Wellnhofer
52afde07c1
build: Only build xmlcatalog executable if enabled
2024-11-21 23:43:23 +01:00
Nick Wellnhofer
2191ccdf7b
autotools: Fix EXTRA_DIST
...
Fixes #786 .
2024-08-18 12:17:10 +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
Nick Wellnhofer
30be984a0f
encoding: Rework ISO-8859-X conversion
...
Optimize code. Pass tables as context parameter. Check for
XML_ENC_ERR_SPACE.
2024-07-01 18:05:40 +02:00
Nick Wellnhofer
e68ccfa988
tests: Port Schematron tests to C
2024-06-22 21:59:03 +02:00
Nick Wellnhofer
811373e221
tests: Remove old Python tests
...
With the exception of the xinclude test, these tests should be
equivalent to runsuite and runxmlconf.
2024-06-22 21:59:03 +02:00
Nick Wellnhofer
0a279e2f68
tests: Remove old timing tests
2024-06-22 21:59:03 +02:00
Nick Wellnhofer
f06fc933cd
tests: Move tests for executables to separate script
...
Move tests for xmllint shell and xmlcatalog to separate scripts and
enabled them in Autotools.
2024-06-22 21:59:03 +02:00
Nick Wellnhofer
4c1b88513f
autotools: Move MODULE_PLATFORM_LIBS into NON_PC_LIBS
2024-06-21 13:48:22 +02:00
Nick Wellnhofer
2b0c4abb1f
threads: Remove pthread weak symbol hack
...
On Linux, we tried to detect the presence of libpthread to disable
things like locks. This questionable hack doesn't work since glibc 2.34
which merged libpthread into libc.
2024-06-17 00:54:47 +02:00
Nick Wellnhofer
33a1f8978d
legacy: Merge SAX.c into legacy.c
2024-06-16 19:17:41 +02:00
Nick Wellnhofer
1341deac13
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.
2024-06-16 18:47:12 +02:00
Nick Wellnhofer
481fd6bbee
tests: Remove testThreads.c
...
This was merged into runtest.c some time ago.
2024-06-16 18:47:12 +02:00
Nick Wellnhofer
e714f506e4
build: Stop installing libxml.m4
...
This file is deprecated and unmaintained. It will be kept in the source
tree for a while.
2024-06-15 20:14:03 +02:00
Nick Wellnhofer
dba1ed85a3
ftp: Remove FTP support
...
Remove the built-in FTP client. If you configure --with-legacy, old
symbols are retained for ABI compatibility.
2024-06-12 18:19:55 +02:00
Nick Wellnhofer
609d2666fa
Stop defining _REENTRANT
...
This macro is obsolete, see `man feature_test_macros`.
2024-05-13 13:08:14 +02:00
Nick Wellnhofer
bffef46c4c
doc: Don't install example code
2024-04-28 22:58:06 +02:00
Nick Wellnhofer
d381e5de4a
doc: Move doc/examples to example
2024-04-28 21:55:34 +02:00
Vincent Torri
5732ce56f3
meson: Initial commit
2024-04-04 12:23:39 +02:00
Nick Wellnhofer
d636ef1de1
tests: Remove testOOM
...
This was never part of the standard test suite and we now test OOM error
handling more comprehensively with fuzz testing.
2024-01-11 00:43:44 +01:00
Mike Dalessio
ed3ad3e173
Makefile.am: omit $(top_builddir) from DEPS and LDADDS
...
BSD make is less liberal than GNU make in matching targets, and so it
tries to resolve the dependency `./libxml2.la` and fails to match the
target `libxml2.la`.
2023-12-20 23:43:08 +00:00
Nick Wellnhofer
455c61d635
Remove VMS support
...
This was last updated 10 years ago and is most likely broken.
2023-11-23 15:59:41 +01:00
Nick Wellnhofer
7d6969d955
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.
2023-11-23 15:48:52 +01:00
Nick Wellnhofer
a9ada18352
tests: Start with testparser.c for extra tests
...
Several issues require customized tests. Start with a test that push
parses large documents. See #539 .
2023-10-22 14:24:43 +02:00
Mike Dalessio
3463063001
autoconf: fix iconv library paths
...
and pass cflags when building executables
See 0f77167f for prior related work
2023-05-06 12:26:17 -04:00
Nick Wellnhofer
886bf4e63b
Stop calling xmlMemoryDump
...
This was used to check for memory leaks but could potentially create a
.memdump file. These days, there are better ways to check for memory
leaks.
2023-04-30 15:48:41 +02:00
Nick Wellnhofer
905386ec35
autotools: Fix make distcheck
...
- Add private/xinclude.h to EXTRA_DIST
- Add runsuite.log to CLEANFILES
Fixes #485 .
2023-02-13 11:14:34 +01:00