|
f1c32b4c
|
2020-07-09T03:19:13
|
|
Allow missing result files in runtest
Treat missing files as empty.
|
|
95c7f315
|
2022-04-03T21:39:14
|
|
Move SVG tests to runtest.c
Also update the test results for the first time since 2000.
|
|
f23ca9f9
|
2022-04-03T21:25:54
|
|
Move testThreads to new test suite
Invoke testThreads when the modern test suite is run with 'make check'.
|
|
0cca7b51
|
2022-04-03T21:29:58
|
|
Move testModule to new test suite
Invoke testModule when the modern test suite is run with 'make check'.
|
|
48b03c84
|
2022-04-03T20:36:38
|
|
Remove major parts of old test suite
Remove all the parts of the old test suite which are covered by
runtest.c for quite some time.
The following test programs are removed:
- testC14N
- testHTML
- testReader
- testRelax
- testSAX
- testSchemas
- testURI
- testXPath
This also removes a few results of unimportant tests only run by the old
test suite.
|
|
0d467de2
|
2022-04-03T19:11:13
|
|
Move local Autoconf macros into m4 directory
|
|
bf2436ac
|
2022-04-03T19:02:06
|
|
Update xml2-config man page
|
|
4b10e7cf
|
2022-04-03T18:44:37
|
|
Remove outdated xml2Conf.sh
|
|
61b78b0a
|
2022-04-03T18:30:26
|
|
Consolidate man pages
Move xml2-config.1 into doc directory. Remove outdated libxml.3.
|
|
41a19430
|
2022-04-03T17:54:23
|
|
Make testchar return an error on failure
|
|
0e9776b0
|
2022-04-03T17:09:50
|
|
Initialize XPath floating-point globals
Should fix #138.
|
|
f0ba4da1
|
2022-04-03T14:30:03
|
|
Add CI job for static build
|
|
a340d8b1
|
2022-04-03T02:20:04
|
|
Use XML_PRIVATE_LIBS in libxml2_la_LIBADD
After this change, variables Z_LIBS, LZMA_LIBS, ICU_LIBS, ICONV_LIBS
and WIN32_EXTRA_LIBADD are unused outside of configure.ac. We keep
exporting them with AC_SUBST for now.
|
|
5cae1a14
|
2022-04-03T02:20:59
|
|
Update libxml-2.0-uninstalled.pc.in
|
|
1db151ac
|
2022-04-03T14:36:03
|
|
Remove LIBS from XML_PRIVATE_LIBS
|
|
cf6cd81c
|
2022-04-03T02:18:25
|
|
Add WIN32_EXTRA_LIBADD to XML_PRIVATE_LIBS
|
|
7016b0e0
|
2022-04-03T01:42:17
|
|
Don't overlink executables
With very few exceptions, utilities and test programs don't require any
external libraries.
- xmllint and xmlcatalog need libreadline
- runtest and testThreads need pthreads
|
|
6d10df7c
|
2022-04-02T22:23:44
|
|
cmake: Adjust paths for UNIX or UNIX-like target systems
Sync paths with GNU Autotools
|
|
141d784e
|
2022-04-02T21:06:47
|
|
build: Make use of variables in libxml's pkg-config file
Instead of hardcoding make use of available variables and optimize usage
|
|
d47c52ac
|
2022-04-02T19:21:02
|
|
Avoid obsolescent `test -a` constructs
* POSIX calls the `-a` operator obsolescent and strongly discourages
its use, instead recommending chaining `test` calls instead:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
|
|
7618a3b1
|
2022-02-06T21:11:38
|
|
Make xmlStaticCopyNode non-recursive
|
|
aab584dc
|
2022-03-06T23:23:43
|
|
Clean up encoding switching code
- Remove xmlSwitchToEncodingInt which was basically just a wrapper
around xmlSwitchInputEncodingInt.
- Simplify xmlSwitchEncoding.
- Improve error handling in xmlSwitchInputEncodingInt.
- Deprecate xmlSwitchInputEncoding.
|
|
c8ccb727
|
2022-04-02T18:03:44
|
|
Move AM_MAINTAINER_MODE to AM section
|
|
0f04d5a1
|
2022-01-18T14:22:24
|
|
configure: check for icu DEFS
In some cases we need to add additional defs to build against icu if
icu has certain options configured.
ICU warns about this when building:
*** WARNING: You must set the following flags before code compiled against this ICU will function properly:
-DU_DISABLE_RENAMING=1
We can fetch these flags from the icu pkgconfig and add them if
required.
This fixes symbol errors if ICU is built without renaming.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
|
|
5ccdfa43
|
2022-04-02T16:54:30
|
|
configure.ac: produce tar.xz only (GNOME policy)
* This is part of a policy from 2011:
https://mail.gnome.org/archives/distributor-list/2011-September/msg00000.html
|
|
7bce3008
|
2022-04-02T16:54:29
|
|
configure.ac: make AM_SILENT_RULES([yes]) unconditional
* No need to support Automake 1.10 anymore.
|
|
c2ee4a20
|
2022-04-02T16:55:18
|
|
Fix GitLab pages job
|
|
e1637646
|
2022-04-02T16:42:33
|
|
Rename xmlcatalog_man.xml
|
|
207b10cf
|
2022-04-02T16:39:44
|
|
Streamline documentation installation
Use Automake variables to install and distribute files. Remove
check-extra-dist.
|
|
1366c569
|
2022-04-02T15:36:22
|
|
Don't try to recreate COPYING symlink
Since automake is initialized with "foreign" for quite some while,
it shouldn't touch these files anymore.
|
|
b7b29df9
|
2022-03-29T16:07:51
|
|
Add windows includes to xmlIO.c
xmlIO.c calls read() and getcwd() which need io.h and direct.h
respectively when compiling on windows. Otherwise, a compiler error may
be raised saying that read() and getcwd() were used implicitly.
This was regressed recently, I'm guessing it was due to the changes to
win32config.h in commit 84085a26
|
|
0137d987
|
2022-03-30T22:00:50
|
|
python/tests: open() relative to test scripts
|
|
5c71ada8
|
2022-03-30T16:51:17
|
|
Detect libm using libtool's macros
|
|
dff68688
|
2022-03-30T16:51:16
|
|
configure.ac: disable static libraries by default
|
|
438209f3
|
2022-03-30T16:51:15
|
|
python/Makefile.am: nest python docs in $(docdir)
|
|
9e304353
|
2022-03-30T16:51:14
|
|
python/Makefile.am: rely on global AM_INIT_AUTOMAKE
* Even Debian oldoldstable has Automake 1.15 available nowadays.
|
|
54e3f74b
|
2022-03-30T16:51:13
|
|
Makefile.am: install examples more idiomatically
|
|
7a4037be
|
2022-03-30T16:51:12
|
|
configure.ac: remove useless AC_SUBST
* CPPFLAGS/LDFLAGS are always substituted
|
|
865520f0
|
2022-03-30T00:32:35
|
|
Respect `--sysconfdir` in source files
* Prefix installations need to point to a non-root `etc`
- Gentoo Prefix has been patching this for over 10 years:
https://bugs.gentoo.org/317891
- MacPorts has to manually replace paths after patching:
https://github.com/macports/macports-ports/blob/cc3bb736e906abe73b014da02a89ae2b70ef6295/textproc/libxml2/Portfile#L46
|
|
74263eff
|
2022-03-30T06:02:31
|
|
fix: xmlXPathParserContext could be double-delete in OOM case.
|
|
e05491ae
|
2022-03-18T19:24:22
|
|
Ignore configure backup file created by recent autoreconf too
There is currently no way to disable the generation of this annoying
file, see https://savannah.gnu.org/support/?110417, so just ignore it.
|
|
95766541
|
2022-03-02T19:01:16
|
|
Only install *.html and *.c example files
|
|
456a0bf6
|
2022-03-02T18:58:17
|
|
Remove --with-html-dir option
Install documentation in $(docdir).
|
|
74580967
|
2022-03-02T18:45:39
|
|
Rework documentation build system
Since several generated files are under version control, their
timestamps are essentially random and rebuilding documentation using
Makefile rules can't work reliably. Simply add a phony rebuild target
that regenerates the whole documentation and other files
unconditionally.
make -C doc rebuild
|
|
fb358884
|
2022-03-02T17:35:12
|
|
Remove old website
|
|
991a9fc2
|
2022-03-29T16:20:28
|
|
Mark docbook symbols as removed
|
|
649ddb4b
|
2022-03-29T15:55:51
|
|
Port some test scripts to Python 3
|
|
92bff866
|
2022-03-29T14:18:31
|
|
Fix calls to deprecated init/cleanup functions
Only use xmlInitParser/xmlCleanupParser.
|
|
d9335077
|
2022-03-29T13:37:16
|
|
Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings
* `AM_PATH_PYTHON` is a much more common idiom for building
and installing python modules than writing your own.
* It also makes cross-compiling the python bindings possible.
Previously the `PYTHON_CFLAGS`/`PYTHON_LIBS` would have been
based on the `--build` python and not the `--host` python.
By using `pkg-config`, we can always redirect the python-X.Y.pc.
Bug: https://bugs.gentoo.org/582130
|
|
96849544
|
2022-03-22T19:10:51
|
|
Revert "Continue to parse entity refs in recovery mode"
This reverts commit 84823b86344fb530790a8787b80abf62715ea885 which
exposed several other, potentially serious bugs.
Fixes #356.
|
|
83d5a87e
|
2022-03-18T15:46:30
|
|
Revert "Simplify recursive pthread mutex"
This reverts commit 5ffe2981b7d0547dd957a61ac6e1e3db829748d1.
This reverts commit 4adb7677635b2c8d764767f6b484de1b26217f5d.
Recursive mutexes are an XSI extension, so better not rely on them.
|
|
2070ade6
|
2022-03-06T23:19:04
|
|
Undeprecate schema init functions
These functions aren't called from xmlInitParser, so it's better to keep
them public for now.
|
|
8d06ccd4
|
2022-03-09T22:36:51
|
|
Fix --without-debug build
Broken in commit 2cc93f77.
Fixes #354.
|
|
5ffe2981
|
2022-03-06T19:26:24
|
|
Fix weak pthread symbols after commit 4adb7677
Add missing mutexattr symbols.
|
|
b35c5528
|
2022-03-06T15:12:08
|
|
Use critical sections as mutex on Windows
They're more lightweight than ordinary Windows mutexes. Also stop
counting recursive locks. This only hides potential locking bugs.
|
|
4adb7677
|
2022-03-06T15:06:59
|
|
Simplify recursive pthread mutex
Use a PTHREAD_MUTEX_RECURSIVE mutex instead of the hand-rolled approach.
|
|
3241c47c
|
2022-03-06T14:58:04
|
|
Use non-recursive mutex in dict.c
The mutex is never locked recursively.
|
|
40483d0c
|
2022-03-06T13:55:48
|
|
Deprecate module init and cleanup functions
These functions shouldn't be part of the public API. Most init
functions are only thread-safe when called from xmlInitParser. Global
variables should only be cleaned up by calling xmlCleanupParser.
|
|
7d02c729
|
2022-03-06T00:49:02
|
|
Fix parser progress checks
Testing the current input pointer for modification is unreliable since
the input buffer could have been freed and realloced. Check whether the
input id and the up-to-date number of bytes consumed match.
|
|
4951c462
|
2022-03-06T02:29:00
|
|
Avoid arithmetic on freed pointers
|
|
84823b86
|
2022-03-05T22:48:11
|
|
Continue to parse entity refs in recovery mode
There doesn't seem to be a good reason to abort in xmlParseReference
if a well-formedness error was detected. Removing this check allows to
parse entity references after an error in recovery mode.
Fixes #270.
|
|
d99ddd9b
|
2022-03-05T21:46:40
|
|
Improve buffer allocation scheme
In most places, we really need the double-it scheme to avoid quadratic
behavior. The hybrid scheme still can cause many reallocations and the
bounded scheme doesn't seem to provide meaningful protection in
xmlreader.c.
|
|
422176ad
|
2022-03-05T03:18:58
|
|
Don't set HAVE_WIN32_THREADS in win32config.h
This flag must be set on the command line.
|
|
10291f83
|
2022-03-05T18:25:16
|
|
Fix potential double-free in xmlXPtrStringRangeFunction
Fix double-free in an unlikely error condition. Thanks to Wentao Liang
for the report.
Fixes #341.
|
|
f2072a8b
|
2022-03-05T18:23:34
|
|
Fix memory leak in xmlFindCharEncodingHandler
Fix memory leak in an unlikely error condition. Thanks to Wentao Liang
for the report.
Fixes #342.
|
|
57b81c20
|
2022-03-05T18:20:29
|
|
Normalize XPath strings in-place
Simplify the code and fix a potential memory leak.
Fixes #343.
|
|
ff367708
|
2022-03-02T17:50:00
|
|
Make examples a standalone HTML page
Also upload to GitLab Pages.
|
|
28d03996
|
2022-03-02T16:52:29
|
|
Remove obsolete XML Software Autoupdate (XSA) file
|
|
d4f90698
|
2022-03-02T17:35:39
|
|
Add XML_DEPRECATED to ignored keywords
Fixes the API documentation generator.
|
|
4a8c71eb
|
2022-03-04T03:35:57
|
|
Remove DOCBparser
This code has been broken and deprecated since version 2.6.0, released
in 2003. Because of a bug in commit 961b535c, DOCBparser.c was never
compiled since 2012. I couldn't find a Debian package using any of its
symbols, so it seems safe to remove this module.
|
|
ebb17970
|
2022-03-04T02:31:59
|
|
Remove unneeded #includes
|
|
f025d6eb
|
2022-03-04T01:32:04
|
|
Use stdint.h with newer MSVC
stdint.h is available since Visual Studio 2010.
|
|
84085a26
|
2022-03-04T01:23:14
|
|
Remove cruft from win32config.h
|
|
21ddad52
|
2022-03-04T01:07:40
|
|
Remove ICONV_CONST test
We can simply cast the offending pointer to (void *).
|
|
1a112c7b
|
2022-03-04T08:55:28
|
|
Remove regressions.py from Makefile.am
This patch removes regressions.py and regressions.xml from Makefile.am.
These files were removed in 5ec1ef1c and since they are still in
Makefile.am, it causes "make dist-all" to fail.
|
|
ae3cf483
|
2022-03-03T23:57:59
|
|
Remove isinf/isnan emulation in win32config.h
There's already a better fallback in xpath.c.
|
|
bc06a522
|
2022-03-02T02:57:49
|
|
Fix recursion check in xinclude.c
Compare the included URL with the document's URL to detect local
inclusions.
Fixes #348.
|
|
78d7a5ca
|
2022-03-02T03:27:53
|
|
Update genChRanges.py
Remove trailing whitespace. The output now matches the generated files
in version control.
|
|
eca472ef
|
2022-03-02T02:50:19
|
|
Update build_glob.py
This script generated parts of globals.c. Some adjustments are still
needed to make it usable again.
|
|
5dcfbc49
|
2022-03-02T02:14:39
|
|
Move xmlCleanupGlobals to non-generated section
The bottom of the file was generated by build_glob.py. The generator
script needs some updates, but might still be useful.
|
|
5ec1ef1c
|
2022-03-02T02:02:25
|
|
Remove obsolete Python test framework
|
|
37ebf8a8
|
2021-05-31T07:45:18
|
|
Document support for the non-standard escape sequences.
Support non-BMP code points in surrogate pairs of '\uXXXX\uXXXX'.
|
|
b66c1961
|
2021-05-30T11:11:33
|
|
Use strtoul() instead of sscanf, and correct data types that break GCC.
|
|
ec8ff95c
|
2021-05-29T16:36:44
|
|
Add support for some non-standard escapes in regular expressions.
This adds support for some non-standard escape sequences observed
in Microsoft's MSXML DLLs and used by Windows apps, and thus
needed by Wine. Some are also used in other XML implementations,
eg. Java's.
This isn't intended to be final. We probably wish to toggle these
non-standard escape sequences on and off somehow, as needed by
the caller.
Further discussion: https://gitlab.gnome.org/GNOME/libxml2/-/issues/260
|
|
d7b287b9
|
2021-07-17T14:36:53
|
|
htmlParseComment: handle abruptly-closed comments
See guidance provided on abrutply-closed comments here:
https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-closing-of-empty-comment
|
|
24cdc890
|
2021-07-17T14:06:49
|
|
test coverage for abruptly-closed comments
These establish baseline behavior so that the subsequent commit is
clear about the behavior it will modify.
|
|
2fe372a0
|
2021-08-21T07:21:50
|
|
Properly fold whitespace around the QName value when validating an XSD schema.
(May also need fixing in other places.)
Issue: 239
|
|
966b0f21
|
2021-08-19T02:46:32
|
|
Add whitespace folding for some atomic data types that it's missing on.
XSD validation fails when some atomic types contain surrounding whitespace
even though XML Schema Part 2: Datatypes Second Edition, section 4.3.6
says they should be collapsed. Fix this.
(I am not sure whether the test is correct.)
Issue: #278
|
|
e5cdb02d
|
2022-01-12T08:54:56
|
|
Add let variable tag support
|
|
2cc93f77
|
2022-01-11T14:43:44
|
|
Add value-of tag support
|
|
85cb388f
|
2022-01-11T13:51:13
|
|
Replaced tabs by 4 spaces
|
|
5c009c66
|
2022-03-02T01:31:56
|
|
Remove obsolete AC_HEADER checks
|
|
72119afe
|
2022-03-02T01:14:08
|
|
Don't check for standard C89 library functions
Don't check for
- fprintf
- localtime
- printf
- rand
- sprintf
- srand
- sscanf
- strftime
- time
- vfprintf
- vsprintf
If the C99 functions snprintf and vsnprintf are missing, Trio is
enabled.
|
|
776d15d3
|
2022-03-02T00:29:17
|
|
Don't check for standard C89 headers
Don't check for
- ctype.h
- errno.h
- float.h
- limits.h
- math.h
- signal.h
- stdarg.h
- stdlib.h
- string.h
- time.h
Stop including non-standard headers
- malloc.h
- strings.h
|
|
8f3bd262
|
2022-03-01T17:18:56
|
|
Remove broken VxWorks support
|
|
041ed3d6
|
2022-03-01T17:17:19
|
|
Remove broken Mac OS 9 support
|
|
551b558d
|
2022-03-01T17:15:12
|
|
Remove useless call to xmlRelaxNGCleanupTypes
xmlRelaxNGCleanupTypes is called from xmlCleanupParser later.
|
|
89d9ef3e
|
2022-03-01T15:14:00
|
|
Reset last error in xmlCleanupGlobals
Before, we tried to reset the last error in xmlCleanupParser. But if
xmlCleanupParser wasn't called from the main thread, this would reset
the thread-local error object. xmlCleanupGlobals has access to the
error object of the main thread and can reset it reliably.
|
|
ebc50097
|
2022-03-01T13:57:16
|
|
Warn when using deprecated functions from Python bindings
This requires Python code to be run with -Wd.
|
|
b66ce0bb
|
2022-03-01T12:39:02
|
|
Don't include ICU headers in public headers
There's no need to make these implementation details public.
|