Nick Wellnhofer
6e33d136e1
error: Fix initGenericErrorDefaultFunc compatibility macro again
...
Now it really should work as before.
2025-05-28 14:57:37 +02:00
Nick Wellnhofer
30cf6d0980
parser: Add XML_INPUT_USE_SYS_CATALOG
...
Also clean up catalog resolution and add error handling using the
global error.
Don't try to look up the resolved URI a second time.
Add some comments. Fix documentation.
2025-05-26 16:51:59 +02:00
Nick Wellnhofer
4dc44c83ab
parser: Rework entity boundary check for element content
...
Only use depth of input stack. This makes the input ID unused
internally.
2025-05-25 14:26:30 +02:00
Nick Wellnhofer
fca0860d6c
tree: Deprecate public struct members related to DTDs
...
Let's deprecate these members for now. If these are really used, they
can be undeprecated later.
2025-05-25 14:26:30 +02:00
Nick Wellnhofer
7c9b55356d
doc: Document unused error domains
2025-05-19 20:07:54 +02:00
Nick Wellnhofer
210f5a3746
chvalid: Mark functions as deprecated
2025-05-16 23:27:51 +02:00
Nick Wellnhofer
954aae907d
doc: Improve regexp documentation
2025-05-16 21:13:17 +02:00
Nick Wellnhofer
c5b45fbc07
doc: Misc fixes
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
6f4b452742
parser: Stop using ctxt->linenumbers
...
I think this was used to avoid setting the `line` member before it was
added (20+ years ago).
2025-05-16 18:03:12 +02:00
Nick Wellnhofer
a05fa9a905
codegen: Rerun codegen scripts
2025-05-16 18:03:12 +02:00
Nick Wellnhofer
a40f36e7f2
include: Stop using *Ptr typedefs in public headers
2025-05-16 18:03:12 +02:00
Nick Wellnhofer
2d83a84ca6
doc: Misc improvements
2025-05-16 18:03:12 +02:00
Nick Wellnhofer
f0983199e8
html: Map some encodings according to HTML5
...
Windows-1252 is a superset of ISO-8859-1 and should be used instead.
Same for ASCII.
Also map UCS-2 and UTF-16 to UTF-16LE.
2025-05-12 14:04:30 +02:00
Nick Wellnhofer
628006f457
encoding: Add windows-1252
...
Fixes #915 .
2025-05-12 13:27:22 +02:00
Nick Wellnhofer
0674ccb7cb
html: Stop omitting end tags when serializing
...
Align with HTML5.
2025-05-11 20:57:07 +02:00
Nick Wellnhofer
442c1903af
doc: Fix some damage from automated conversions
...
Add some newlines, fix returns.
2025-05-11 20:29:25 +02:00
Nick Wellnhofer
98a61c9dff
doc: Fix briefs in tree docs
2025-05-11 20:29:25 +02:00
Nick Wellnhofer
38ea8fa9de
doc: Fix varargs
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
9bbffec568
doc: Move brief to top, params to bottom of doc comments
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
ab13fbfd68
doc: Misc fixes to error docs
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
b1685459a3
doc: Misc fixes to xmlsave docs
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
298f70b3d7
doc: Misc fixes to HTML tree docs
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
80b6429fb3
doc: Misc fixes to encoding docs
2025-05-06 19:51:38 +02:00
Nick Wellnhofer
81ac2e27fd
doc: Misc fixes to valid docs
2025-05-06 19:51:38 +02:00
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
a449c5fde3
catalog: Deprecate some functions
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
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
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
f7c412874b
doc: Remove more comment block headers
2025-05-02 17:41:26 +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
1eca6e3476
parser: Deprecate xmlClearParserCtxt
2025-05-02 13:33:35 +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
87b30343f6
io: Fix linkage of __xml*BufferCreateFilename functions
...
Make these functions usable on Windows.
2025-04-29 20:36:25 +02:00
Nick Wellnhofer
fc8899d47c
parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
2025-04-27 13:01:42 +02:00
Nick Wellnhofer
b85d77d156
http: Remove built-in HTTP client
...
Stubs are retained for ABI compatibility.
Fixes #631 .
Obsoletes #160 .
2025-04-20 18:21:06 +02:00
Nick Wellnhofer
4ba1f9238a
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.
2025-04-18 18:48:25 +02:00