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

7744 Commits

Author SHA1 Message Date
Nick Wellnhofer
714decd6d6 doc: Misc fixes to entities docs 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
f38f3e7b25 doc: Misc fixes to IO documentation 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
e6cfd04994 doc: Misc fixes to tree docs 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
1bf44f09ba doc: Misc fixes to parser docs 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
b7274fb02f doc: Misc fixes to HTML parser docs 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
411f30ef2a doc: Don't document legacy HTML parser macros 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
4a01087585 doc: Move parser option docs to enum 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
0173fac786 gitlab-ci: Only build documentation once per CMake platform 2025-05-06 19:51:38 +02:00
Nick Wellnhofer
a449c5fde3 catalog: Deprecate some functions 2025-05-06 19:51:38 +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
075283d49d xlink: Deprecate remaining public function
This was never finished.
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
05d0f59221 python: Skip __xml thread-local accessors
So we can remove conditional directives for Doxygen.
2025-05-06 19:51:26 +02:00
Nick Wellnhofer
9f496fdb8c xmllint: Return early on invalid args
At this point, no memory was allocated and xmllintOom wasn't
initialized. Return immediately on invalid args to avoid triggering
false positive unreported OOM errors when fuzzing.
2025-05-03 14:33:06 +02:00
Nick Wellnhofer
488939b6a1 gitlab-ci: Enable documentation in more tests 2025-05-02 23:40:39 +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
e0c7a92977 doc: Add custom main page for API docs 2025-05-02 21:03:05 +02:00
Nick Wellnhofer
c8d1b7bae0 gitlab-ci: Treat Doxygen warnings as error 2025-05-02 20:44:44 +02:00
Nick Wellnhofer
2c150e62f5 doc: Formatting fixes 2025-05-02 20:21:39 +02:00
Nick Wellnhofer
08a282f9f7 doc: Doxygen fixes for xmlversion.h 2025-05-02 20:12:52 +02:00
Nick Wellnhofer
cb1635a642 doc: Use @since command 2025-05-02 19:05:25 +02:00
Nick Wellnhofer
e78e05c990 doc: Fix autolinks to functions
Unfortunately, autolinks in .c files aren't converted by Doxygen for
some reason.
2025-05-02 17:45:31 +02:00
Nick Wellnhofer
b76286de5a doc: Remove # character for autolinks 2025-05-02 17:41:26 +02:00
Nick Wellnhofer
4d1e82ce72 doc: Fix xmlTextWriter struct name 2025-05-02 17:41:26 +02:00
Nick Wellnhofer
e6d6fa6ffc doc: Fix xmlsave format hint
Don't recommend deprecated symbols.
2025-05-02 17:41:26 +02:00
Nick Wellnhofer
f7c412874b doc: Remove more comment block headers 2025-05-02 17:41:26 +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
0ffa7dd8b1 include: Add hyperlink to deprecation warnings
Doxygen creates a nice "deprecated list" for us.
2025-05-02 14:52:03 +02:00
Nick Wellnhofer
18c446a5d7 python: Remove libxml2-python-api.xml
Should have been removed with commit ed850ec1.
2025-05-02 14:41:29 +02:00
Nick Wellnhofer
1eca6e3476 parser: Deprecate xmlClearParserCtxt 2025-05-02 13:33:35 +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
321aa35638 python: Make generator.py use Doxygen XML 2025-05-02 13:33:34 +02:00
Nick Wellnhofer
ed850ec1e6 python: Merge libxml2-python-api.xml into generator.py 2025-05-02 13:33:34 +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
e525564f65 doc: Remove empty lines at start of block
These lines were left over after automatic conversion.
2025-05-02 11:42:05 +02:00
Nick Wellnhofer
fd6ab89be3 doc: Adjust documentation of public structs 2025-05-01 23:23:42 +02:00
Nick Wellnhofer
8816f267be doc: Adjust documentation of enums 2025-05-01 23:23:42 +02:00
Nick Wellnhofer
e549622bc5 doc: Convert documentation to Doxygen
Automated conversion based on a few regexes.
2025-05-01 23:23:42 +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
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
75dde50b20 cmake: Fix installation directories in libxml2-config.cmake
Use AX_RECURSIVE_EVAL with Autotools and remove hack using parent
directories.

Fixes #898.
2025-05-01 21:10:30 +02:00
Nick Wellnhofer
87b30343f6 io: Fix linkage of __xml*BufferCreateFilename functions
Make these functions usable on Windows.
2025-04-29 20:36:25 +02:00
Nick Wellnhofer
9419f6de61 meson: Install libxml2.py
Apparently, nobody has ever tried to use the Python bindings built with
Meson.
2025-04-29 18:03:05 +02:00
Nick Wellnhofer
01d1dabd83 cmake: Reenable testapi on Windows
Fixes #403.
2025-04-27 13:01:42 +02:00
Nick Wellnhofer
fc8899d47c parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED 2025-04-27 13:01: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