|
cdce17c3
|
2025-05-12T21:21:25
|
|
html: Only map HTML encodings from meta tag
|
|
19b99311
|
2025-05-12T21:07:41
|
|
encoding: Fix -Wswitch warning
|
|
39ae5d12
|
2025-05-12T21:04:41
|
|
save: Add NULL check in xmlBufDumpEntityContent
Short-lived regression.
|
|
c2929b5d
|
2025-05-12T21:01:35
|
|
html: Ignore namespaces when handling meta tags
Revert to old behavior to fix issues with XHTML documents.
|
|
4df8d557
|
2025-05-12T17:31:14
|
|
io: Fix stack use after scope
Short-lived regression.
|
|
f0983199
|
2025-05-12T13:00:20
|
|
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.
|
|
93f67106
|
2025-05-12T12:27:54
|
|
encoding: Add HTML5 aliases
|
|
628006f4
|
2025-05-12T11:47:40
|
|
encoding: Add windows-1252
Fixes #915.
|
|
a7016bae
|
2025-05-12T02:40:36
|
|
tools: Remove unnecessary data from iso8859x.inc
|
|
c92374f1
|
2025-05-12T02:15:11
|
|
tools: Recreate script to generate iso8859x.inc
The script to create these tables was never committed to version
control.
|
|
f602c0c1
|
2025-05-12T00:04:22
|
|
html: Rework serialization of meta encoding attributes
Don't allocate memory.
|
|
7654c2ef
|
2025-05-11T23:37:38
|
|
html: Rework serialization of URIs
Don't allocate memory.
|
|
bd777e4f
|
2025-05-11T22:18:31
|
|
html: Speed up htmlIsBooleanAttr
This is used when serializing.
|
|
825f3a9d
|
2025-05-11T21:38:16
|
|
html: Always serialize attributes with double quotes
Align with HTML5.
|
|
5c4cc456
|
2025-05-11T21:19:22
|
|
html: Escape encoding in meta tags
|
|
0674ccb7
|
2025-05-11T20:55:57
|
|
html: Stop omitting end tags when serializing
Align with HTML5.
|
|
05b8fe0a
|
2025-04-12T23:10:40
|
|
html: Don't escape RAWTEXT and PLAINTEXT
Align with HTML5.
|
|
809ded58
|
2025-04-12T22:50:56
|
|
html: Add more empty elements
Add empty HTML5 elements <bgsound>, <keygen>, <source>, <track> and
<wbr>.
Make <embed> an empty element.
|
|
ad390a5d
|
2025-05-09T15:34:53
|
|
parser: Set doc properties in endDocument SAX handler
|
|
c7c49643
|
2025-05-09T15:26:15
|
|
html: Move DTD creation to endDocument SAX callback
|
|
46f05ea4
|
2025-05-09T00:21:47
|
|
html: Rework meta charset handling
Don't use encoding from meta tags when serializing. Only use the value
in `doc->encoding`, matching the XML serializer. This is the actual
encoding used when parsing.
Stop modifying the input document by setting meta tags before
serializing. Meta tags are now injected during serialization.
Add full support for <meta charset=""> which is also used when adding
meta tags.
Align with HTML5 and implement the "algorithm for extracting a character
encoding from a meta element". Only modify the encoding substring in
Content-Type meta tags.
Only switch encoding once when parsing.
Fix htmlSaveFileFormat with a NULL encoding not to declare a misleading
UTF-8 charset.
Fixes #909.
|
|
9aaa52fe
|
2025-05-08T22:49:20
|
|
tree: Make xmlNodeAddContent work with attributes
|
|
655ac5f8
|
2025-05-07T16:35:09
|
|
html: Add comment regarding hack for XML documents
|
|
f3a080bc
|
2025-05-07T14:32:42
|
|
html: Ignore U+0000 in body text
Align with HTML5. Fixes #908.
|
|
5f8ebc88
|
2025-05-10T00:56:18
|
|
save: Avoid xmlOutputBufferWriteQuotedString
xmlOutputBufferWriteQuotedString should be reserved for things like
system IDs.
|
|
a1e83b24
|
2025-05-07T20:16:17
|
|
io: Fix negation of potentially unsigned value
|
|
b3854fe9
|
2025-05-07T20:20:31
|
|
reader: Fix null deref on malloc failure
Short-lived regression from 177067ea.
|
|
0d81d6f8
|
2025-05-10T00:52:22
|
|
html: Use xmlOutputBufferWrite if possible
|
|
6684eb93
|
2025-05-07T20:13:59
|
|
fuzz: Fix out-of-tree build
|
|
6bd380ce
|
2025-05-07T14:32:26
|
|
fuzz: Update README
|
|
89fcfe3a
|
2025-05-10T00:14:05
|
|
html: Start to use xmlSerializeText
Avoid temporary copy to speed up serialization.
|
|
967df734
|
2025-05-07T13:03:11
|
|
malloc-fail: Handle malloc failure in xmlSchemaCopyValue
Avoid null pointer dereference. Fixes #905.
|
|
777e2adf
|
2025-05-09T23:53:03
|
|
io: Consolidate escaping code
Use generated table approach of xmlSerializeText for xmlEscapeText.
Move most code to xmlIO.c.
|
|
cdaf657f
|
2025-05-09T23:02:32
|
|
html: Don't escape < and > when serializing attribute values
Align with HTML5.
This will break some test suites.
|
|
e0e0a1f0
|
2025-05-09T22:44:54
|
|
html: Remove special handling of &{...} when serializing
See https://www.w3.org/TR/html401/appendix/notes.html#h-B.7.1
Align with HTML5.
|
|
dad11630
|
2025-05-09T22:05:38
|
|
entities: Always replace invalid chars when escaping
The previous refactor painstakingly recreated the different behavior of
separate functions that were merged. It makes
Optimize IS_CHAR check for non-ASCII chars.
|
|
c8cea39d
|
2025-05-09T21:31:07
|
|
save: Fix serialization of attribute defaults containing <
Long-standing bug that produced invalid XML.
|
|
971038e5
|
2025-05-09T20:26:33
|
|
html: Call lower-level escaping functions
Removes the need to pass a document around.
|
|
63535d39
|
2025-05-09T20:13:43
|
|
tree: Make xmlNodeListGetStringInternal work with escape flags
|
|
442c1903
|
2025-05-09T18:52:36
|
|
doc: Fix some damage from automated conversions
Add some newlines, fix returns.
|
|
98a61c9d
|
2025-05-09T16:48:09
|
|
doc: Fix briefs in tree docs
|
|
4b4bc15a
|
2025-05-09T16:24:35
|
|
doc: Misc fixes to buffer docs
|
|
4ed71574
|
2025-05-09T11:58:01
|
|
python: fix use-after-free in functions xmlPythonFileReadRaw(), xmlPythonFileRead()
with python2.
Fixes #910.
|
|
306b8bf2
|
2025-05-03T01:30:44
|
|
autotools: Remove -DSYSCONFDIR
This is handled in config.h now.
|
|
075283d4
|
2025-05-03T00:17:39
|
|
xlink: Deprecate remaining public function
This was never finished.
|
|
38ea8fa9
|
2025-05-06T18:31:45
|
|
doc: Fix varargs
|
|
9bbffec5
|
2025-05-06T17:42:46
|
|
doc: Move brief to top, params to bottom of doc comments
|
|
7bc7ae9d
|
2025-05-06T15:30:46
|
|
doc: Enable Doxygen autobrief
|
|
ab13fbfd
|
2025-05-06T14:06:43
|
|
doc: Misc fixes to error docs
|
|
b1685459
|
2025-05-06T12:50:52
|
|
doc: Misc fixes to xmlsave docs
|
|
7d689fab
|
2025-05-06T10:54:46
|
|
doc: Fix doc installation with Autotools
|
|
7b59e74c
|
2025-05-06T10:54:18
|
|
doc: Always use case sensitive filenames with Doxygen
Avoid platform-specific behavior.
|
|
298f70b3
|
2025-05-05T21:36:36
|
|
doc: Misc fixes to HTML tree docs
|
|
18d20a68
|
2025-05-05T18:26:16
|
|
doc: More fine-grained redirects for old pages
|
|
80b6429f
|
2025-05-04T19:13:24
|
|
doc: Misc fixes to encoding docs
|
|
81ac2e27
|
2025-05-04T18:41:44
|
|
doc: Misc fixes to valid docs
|
|
714decd6
|
2025-05-04T17:50:26
|
|
doc: Misc fixes to entities docs
|
|
f38f3e7b
|
2025-05-04T16:49:49
|
|
doc: Misc fixes to IO documentation
|
|
e6cfd049
|
2025-05-04T14:52:42
|
|
doc: Misc fixes to tree docs
|
|
1bf44f09
|
2025-05-04T02:15:25
|
|
doc: Misc fixes to parser docs
|
|
b7274fb0
|
2025-05-03T16:34:02
|
|
doc: Misc fixes to HTML parser docs
|
|
411f30ef
|
2025-05-03T16:21:15
|
|
doc: Don't document legacy HTML parser macros
|
|
4a010875
|
2025-05-03T15:38:15
|
|
doc: Move parser option docs to enum
|
|
0173fac7
|
2025-05-03T02:12:46
|
|
gitlab-ci: Only build documentation once per CMake platform
|
|
a449c5fd
|
2025-05-03T01:31:09
|
|
catalog: Deprecate some functions
|
|
05d0f592
|
2025-05-06T19:47:00
|
|
python: Skip __xml thread-local accessors
So we can remove conditional directives for Doxygen.
|
|
9f496fdb
|
2025-05-03T14:29:27
|
|
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.
|
|
488939b6
|
2025-05-02T23:05:35
|
|
gitlab-ci: Enable documentation in more tests
|
|
8c032073
|
2025-05-02T23:04:48
|
|
doc: More Doxygen cleanup
- Move Doxyfile into doc directory
- Add files to EXTRA_DIST
- Remove conversion script
- Add docs to Meson summary
|
|
e9366ffb
|
2025-05-02T22:26:06
|
|
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.
|
|
e0c7a929
|
2025-05-02T21:03:05
|
|
doc: Add custom main page for API docs
|
|
c8d1b7ba
|
2025-05-02T20:32:57
|
|
gitlab-ci: Treat Doxygen warnings as error
|
|
2c150e62
|
2025-05-02T20:18:34
|
|
doc: Formatting fixes
|
|
08a282f9
|
2025-05-02T20:12:52
|
|
doc: Doxygen fixes for xmlversion.h
|
|
cb1635a6
|
2025-05-02T19:05:25
|
|
doc: Use @since command
|
|
e78e05c9
|
2025-05-02T17:32:51
|
|
doc: Fix autolinks to functions
Unfortunately, autolinks in .c files aren't converted by Doxygen for
some reason.
|
|
b76286de
|
2025-05-02T17:30:21
|
|
doc: Remove # character for autolinks
|
|
4d1e82ce
|
2025-05-02T17:26:08
|
|
doc: Fix xmlTextWriter struct name
|
|
e6d6fa6f
|
2025-05-02T17:23:30
|
|
doc: Fix xmlsave format hint
Don't recommend deprecated symbols.
|
|
f7c41287
|
2025-05-02T15:57:17
|
|
doc: Remove more comment block headers
|
|
103f0203
|
2025-05-02T15:29:10
|
|
doc: Add project slug to redirects
|
|
a5898c2a
|
2025-05-02T15:08:19
|
|
doc: Add redirects for GitLab pages
|
|
0ffa7dd8
|
2025-05-02T14:52:03
|
|
include: Add hyperlink to deprecation warnings
Doxygen creates a nice "deprecated list" for us.
|
|
18c446a5
|
2025-05-02T14:41:29
|
|
python: Remove libxml2-python-api.xml
Should have been removed with commit ed850ec1.
|
|
1eca6e34
|
2025-04-30T00:54:00
|
|
parser: Deprecate xmlClearParserCtxt
|
|
76531cee
|
2025-04-29T01:00:19
|
|
doc: Remove libxml2-api.xml
This huge file can finally be removed.
|
|
321aa356
|
2025-04-28T21:42:08
|
|
python: Make generator.py use Doxygen XML
|
|
ed850ec1
|
2025-04-28T20:04:19
|
|
python: Merge libxml2-python-api.xml into generator.py
|
|
97f3ec77
|
2025-04-28T19:05:38
|
|
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.
|
|
bbe5827c
|
2025-04-28T17:21:05
|
|
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.
|
|
e525564f
|
2025-05-01T19:20:06
|
|
doc: Remove empty lines at start of block
These lines were left over after automatic conversion.
|
|
fd6ab89b
|
2025-04-28T15:58:19
|
|
doc: Adjust documentation of public structs
|
|
8816f267
|
2025-04-28T14:55:47
|
|
doc: Adjust documentation of enums
|
|
e549622b
|
2025-04-28T15:11:24
|
|
doc: Convert documentation to Doxygen
Automated conversion based on a few regexes.
|
|
69879da8
|
2025-04-28T14:04:30
|
|
doc: Remove email addresses from documentation
Also remove authorship information from generated files, hash.c and
globals.c which were rewritten.
|
|
61890e39
|
2025-04-27T21:50:15
|
|
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.
|
|
95c2c523
|
2025-04-28T16:38:42
|
|
doc: Remove apibuild.py and old documentation
The last weird maintenance script is gone now.
|
|
68d0f0ee
|
2025-04-29T15:05:18
|
|
doc: Fix DocBook warnings
Add empty <contrib> elements to silence warnings from the DocBook
stylesheets.
|
|
75dde50b
|
2025-05-01T21:07:34
|
|
cmake: Fix installation directories in libxml2-config.cmake
Use AX_RECURSIVE_EVAL with Autotools and remove hack using parent
directories.
Fixes #898.
|
|
87b30343
|
2025-04-29T20:00:01
|
|
io: Fix linkage of __xml*BufferCreateFilename functions
Make these functions usable on Windows.
|