|
fa539305
|
2025-03-20T22:34:55
|
|
io: Remove duplicated conditionals.
|
|
5964fb7c
|
2025-03-30T13:48:51
|
|
xmllint: Fix --html --sax element callbacks
We need the non-namespace callbacks for HTML.
|
|
339e10fe
|
2025-03-28T22:42:01
|
|
Eliminate removed objects
|
|
40b73eeb
|
2025-03-28T22:40:08
|
|
Update configure.js to support relax ng options and look for version in new location
|
|
a5c4a6ef
|
2025-03-28T16:31:14
|
|
parser: Fix XML_PARSE_NOBLANKS dropping non-whitespace text
Regressed with 1f5b5371.
Fixes #884.
|
|
a6398ab6
|
2025-03-28T09:07:00
|
|
meson: Fix build from tarball
Include xml2-config-meson in EXTRA_DIST.
Fixes #883.
|
|
2dd51407
|
2025-03-27T22:57:19
|
|
cmake, meson: Change library filename to libxml2.so.16.0.0
We have to follow Autotools here.
Fixes #882.
|
|
19de8b47
|
2025-03-27T23:05:15
|
|
cmake: Remove version from Python libxml2mod.so
This shouldn't be necessary and matches the Autotools build.
|
|
81c09e33
|
2025-03-27T17:00:26
|
|
gitlab-ci: Don't hardcode release version
Thanks to Jan Tojnar who found a work-around:
https://gitlab.gnome.org/GNOME/calls/-/merge_requests/770
This uses the artifacts:reports:dotenv feature to pass environment
variables to the deploy stage:
https://docs.gitlab.com/ci/variables/#pass-an-environment-variable-to-another-job
I didn't test the change with the sandbox yet.
|
|
dade6397
|
2025-03-27T15:50:24
|
|
Bump version
|
|
a372cbf5
|
2025-03-27T15:17:22
|
|
Update documentation for 2.14.0
|
|
e091d9fb
|
2025-03-27T14:38:33
|
|
Release v2.14.0
|
|
dd4c0f62
|
2025-03-18T11:11:20
|
|
tree: Fix xmlTextMerge with NULL args
Restore pre-2.13 behavior. Fixes #875.
|
|
54c3d428
|
2025-03-16T19:12:01
|
|
fuzz: Update README
|
|
ee0eda4b
|
2025-03-16T18:20:18
|
|
gitlab-ci: Silence PHP and lxml test output
|
|
7fa79341
|
2025-03-14T18:57:38
|
|
Update NEWS
Everything should be ready for the 2.14.0 release now.
|
|
884c8996
|
2025-03-14T18:29:24
|
|
build: Don't make --with-legacy enable HTTP and LZMA
The --with-legacy option only enables --with-zlib for now.
|
|
ee026e16
|
2025-03-14T03:54:09
|
|
doc: Update CMake and meson instructions
|
|
4135ceea
|
2025-03-14T03:19:21
|
|
meson: Run Python tests
|
|
e91061eb
|
2025-03-14T01:49:22
|
|
hash: Fix false positive from -fanalyzer
|
|
b3492259
|
2025-03-14T00:01:11
|
|
include: Change some return types from int to enum
This also affects some new functions from 2.13.
|
|
fd1b9391
|
2025-03-13T23:20:16
|
|
include: Convert some macros to enums
|
|
1078dc82
|
2025-03-13T22:03:11
|
|
autotools: xmlcatalog requires output module
|
|
5b5f114d
|
2025-03-13T20:30:44
|
|
meson: Add xmllint and xmlcatalog shell tests
|
|
84c6524e
|
2025-03-13T19:45:35
|
|
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.
|
|
69b83bb6
|
2025-03-10T02:18:51
|
|
encoding: Detect truncated multi-byte sequences with ICU
Unlike iconv or the internal converters, ICU consumes truncated multi-
byte sequences at the end of an input buffer. We currently check for a
non-empty raw input buffer to detect truncated sequences, so this fails
with ICU.
It might be possible to inspect the pivot buffer pointers, but it seems
cleaner to implement a `flush` flag for some encoding and I/O functions.
After flushing, we can check for U_TRUNCATED_CHAR_FOUND with ICU, or
detect remaining input with other converters.
Also fix detection of truncated sequences for HTML, XML content and
DTDs with iconv.
|
|
76c6ddfe
|
2025-03-13T18:32:18
|
|
meson: Install a xml2-config script
This one does not need build-time configuration but forwards to
`pkg-config` instead. It is mostly (and hopefully sufficiently)
compatible with the script installed by autotools.
|
|
5c0484c3
|
2025-03-11T19:18:07
|
|
gitlab-ci: Add downstream job for lxml
|
|
03a8f1dd
|
2025-03-11T18:53:24
|
|
doc: Document SAX handlers a little more
|
|
5338e43f
|
2025-03-11T17:15:01
|
|
gitlab-ci: Add downstream job for PHP
|
|
d83ff954
|
2025-03-11T11:23:34
|
|
xmllint: Make sure that parser options are used
|
|
25490528
|
2025-03-11T10:54:34
|
|
parser: Fix spurious error in SAX mode
Short-lived regression from 5f0b1378.
|
|
8696ebe1
|
2025-03-11T14:32:35
|
|
parser: Fix ignorableWhitespace callback
If ignorableWhitespace differs from the "characters" callback, we have
to check for blanks as well.
Regressed with 1f5b537.
|
|
ef44c240
|
2025-03-10T14:15:35
|
|
encoding: Fix memory leak in xmlCharEncNewCustomHandler
Short-lived regression.
|
|
87c9e000
|
2025-03-09T22:20:23
|
|
encoding: Rework custom encoding implementation API
|
|
ba9148d8
|
2025-03-09T20:30:49
|
|
parser: Undeprecate input->consumed
Should be deprecated after fixing #762.
|
|
a0dbf030
|
2025-03-09T20:24:06
|
|
parser: Undeprecate ctxt->loadsubset
Should be deprecated after fixing #873.
|
|
8873a498
|
2025-03-09T16:21:13
|
|
html: Fix areBlanks check
Short-lived regression from 71122421.
|
|
98776424
|
2025-03-09T15:13:05
|
|
gitlab-ci: Use forked branch for XML::LibXML
|
|
bde22ce8
|
2025-03-09T13:53:18
|
|
Update NEWS
|
|
9f848460
|
2025-03-09T13:31:10
|
|
malloc-fail: Fix type confusion in xmlSchemaCheckAGPropsCorrect
Attribute groups must be marked as containing references also if an OOM
error occurred. Otherwise, references won't be resolved, leading to type
confusion in xmlSchemaCheckAGPropsCorrect later in the fixup phase.
I'm not sure why xmlSchemaFixupComponents is called at all if an error
occurred. This has lead to similar issues in the past. On the other
hand, continuing in the presence of errors helps when fuzzing.
See #344.
|
|
d96911f1
|
2025-03-08T23:00:29
|
|
doc: Documentation fixes
|
|
5f0b1378
|
2025-03-08T22:07:15
|
|
parser: Add more parser context accessors
Fixes #763.
|
|
5237d90f
|
2025-03-07T21:15:20
|
|
html: Process data before switching encoding
This reduces the amount of data to convert and avoids issues with EOF
detection.
Also reset EOF flag after switching encoding as a precaution.
|
|
38f47507
|
2025-03-05T21:06:05
|
|
encoding: Make conversion callbacks more type-safe
|
|
a846d964
|
2025-03-05T16:49:42
|
|
encoding: Remove compatibility struct members
|
|
94d8a3e2
|
2025-03-05T14:56:46
|
|
parser: Convert xmlParserMaxDepth to macro
|
|
5b56ed9b
|
2025-03-05T12:03:52
|
|
gitlab-ci: Reenable cmake:mingw
For some reason, it's working again.
|
|
2af05f76
|
2025-03-05T11:10:20
|
|
globals: Fix Windows build
|
|
69657224
|
2025-03-04T20:32:02
|
|
globals: Remove unused globals
- xmlBufferAllocScheme
- xmlDefaultBufferSize
- xmlParserDebugEntities
|
|
92d7b0cd
|
2025-03-04T20:18:11
|
|
xpath: Rename valuePush and valuePop
|
|
03be993c
|
2025-03-04T18:42:35
|
|
Use memcpy to avoid pointer cast warnings
|
|
d9ea7650
|
2025-03-04T17:46:57
|
|
build: Restrict binary compatibility to 2.14
On ELF systems, this bumps the soname from libxml2.so.2 to
libxml2.so.16. For historic reasons, the last component is the sum of
major and minor version.
|
|
f502e9b2
|
2025-03-04T17:23:44
|
|
include: Add more deprecation warnings
|
|
57641113
|
2025-03-04T16:38:14
|
|
cmake: Add WITH_LEGACY dependencies
|
|
85bd58ef
|
2025-03-04T16:07:40
|
|
globals: Remove functions related to global state handling
- xmlGetGlobalState
- xmlInitializeGlobalState
- xmlGetThreadId
- xmlIsMainThread
|
|
03a8d5f9
|
2025-03-04T16:00:08
|
|
unicode: Make Unicode functions private
|
|
3d37ff84
|
2025-03-04T15:10:09
|
|
globals: Also use global state struct if threads are disabled
|
|
a15ad9b2
|
2025-03-04T14:06:50
|
|
parser: Remove compatibility symbols
|
|
8e871162
|
2025-03-04T13:36:55
|
|
parser: Remove oldXMLWDcompatibility
|
|
eed1a07d
|
2025-03-04T13:32:52
|
|
build: Remove version script
|
|
cdc5cfed
|
2025-03-04T13:26:51
|
|
legacy: Remove legacy symbols
|
|
3250a01d
|
2025-03-04T13:15:42
|
|
error: Convert initGenericErrorDefaultFunc to macro
|
|
c42b3227
|
2025-03-04T13:11:18
|
|
parser: Convert inputPush and inputPop to macros
|
|
361f7bff
|
2025-03-04T13:02:36
|
|
parser: Make nodePush, nodePop, namePush, namePop private
|
|
0b27097a
|
2025-03-04T12:55:25
|
|
encoding: Rename unprefixed public functions
|
|
66fdf94c
|
2025-03-03T10:12:18
|
|
cmake: Fix WITH_RELAXNG option
Dependent options must come after dependencies.
|
|
a0f156ff
|
2025-03-02T13:21:29
|
|
io: Fix `compressed` flag for uncompressed stdin
This could cause xmlstarlet to generate compressed output unexpectedly.
Regressed with a78843be. Should fix #869.
|
|
05bd1720
|
2025-03-01T10:25:29
|
|
parser: Fix parsing of DTD content
Regressed in 2.11. Fixes #868.
|
|
552864f1
|
2025-02-25T23:10:46
|
|
Remove os400 port
This is based on an ancient version and completely outdated.
|
|
e60f0712
|
2025-02-25T23:07:55
|
|
Update NEWS
|
|
e50d314a
|
2025-02-25T23:07:19
|
|
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.
|
|
ce1b704e
|
2025-02-25T20:09:36
|
|
doc: Regenerate libxml2-api.xml
|
|
6ab430ca
|
2025-02-22T21:17:42
|
|
Remove unnecessary #includes
|
|
7ae8e8ac
|
2025-02-22T21:06:34
|
|
schemas: Make xmlSchemaDump depend on DEBUG_ENABLED
|
|
6fc26076
|
2025-02-22T20:31:45
|
|
regexp: Hide debugging code behind DEBUG_REGEXP
xmlRegexpPrint is now a deprecated no-op.
|
|
4649f28f
|
2025-02-22T19:29:07
|
|
xmlregexp: add support for compact form of automata in xmlRegexpPrint
|
|
c82270a9
|
2025-02-22T18:51:38
|
|
regexp: Avoid dangling start/stop pointers in atom
States could be eliminated later, so set start/stop pointers to NULL
after they're used in xmlFAGenerateTransitions.
|
|
5ed4eafd
|
2025-02-22T14:51:39
|
|
html: Don't invoke SAX callbacks if parser was stopped
|
|
6dfa68ac
|
2025-02-22T14:49:51
|
|
SAX2: Fix ctxt->nodemem check
In some error cases and maybe other situations, nodemem can have a
value of -1.
|
|
73514f2d
|
2025-02-20T18:50:58
|
|
gitlab-ci: Stop downloading and installing CMake for MSVC
CMake should already be installed.
|
|
064a0211
|
2025-02-20T13:52:40
|
|
meson: Fix Python module build
|
|
c2e2d762
|
2025-02-20T13:51:26
|
|
python: Pass destination dir to generator.py
Simplify usage across build systems.
|
|
82fb5cae
|
2025-02-20T13:49:39
|
|
meson: Use project_name instead of 'libxml2'
|
|
e649c972
|
2024-12-18T12:49:24
|
|
fuzz: Add utility scripts
Add scripts to minimize a corpus and generate HTML coverage reports.
|
|
63dfcca6
|
2024-12-16T01:34:29
|
|
fuzz: Reduce initial array size
|
|
6f903d43
|
2024-12-13T19:15:38
|
|
fuzz: Rework fixed parser options
Remove XML_PARSE_XINCLUDE. This is only honored by the XML Reader
interface which is now fuzzed in reader.c.
Don't validate in XInclude fuzzer. This doesn't increase coverage after
moving the Reader fuzzer.
|
|
44628d45
|
2024-12-13T15:23:30
|
|
fuzz: Harden leak check in lint fuzzer
Check for undetected memory leaks from previous iterations. This also
makes sure that the maxmem limit is checked deterministically.
|
|
c6c6d8af
|
2024-12-11T16:24:23
|
|
fuzz: Mutate fuzz data chunks separately
Implement a custom mutator that takes a list of fixed-size chunks which
are mutated with a given probability. This makes sure that values like
parser options or failure position are mutated regularly even as the
fuzz data grows large. Values can also be adjusted temporarily to make
the fuzzer focus on failure injection, for example.
Thanks to David Kilzer for the idea.
|
|
f5257d92
|
2024-12-11T16:24:43
|
|
fuzz: Fix failure injection in schema fuzzer
|
|
fd359a7e
|
2024-12-10T15:54:12
|
|
fuzz: Start to fuzz XML Schema validator
|
|
9f86dae9
|
2024-12-15T14:27:05
|
|
test: Add test case for UAF in xmlSchemaIDCFillNodeTables
|
|
fe7f835f
|
2025-02-20T10:24:50
|
|
Fix C4296 warning: Resolve comparison of unsigned int with 0
|
|
b8234e8c
|
2025-02-19T12:53:32
|
|
html: Fix check for partial named character references
Digits are allowed after the first character.
|
|
f68c70d2
|
2025-02-19T12:20:57
|
|
html: Remove htmlSaveErr
This function is useless now.
|
|
0315ac93
|
2025-02-19T12:18:50
|
|
html: Handle error from htmlFindOutputEncoder
|
|
22ada0a0
|
2025-02-18T23:27:40
|
|
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.
|
|
aedc1f3d
|
2025-02-18T23:15:20
|
|
gitlab-ci: Run meson tests verbosely
|
|
9037dce9
|
2025-02-18T19:38:28
|
|
fuzz: Add dictionary for lint fuzzer
Mostly a combination of xml.dict and xpath.dict. This should with
fuzzing pattern.c.
|
|
51622c05
|
2025-02-18T17:27:16
|
|
doc: Update release instructions
|