| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
xmlCleanupParser is dangerous and shouldn't be called in most cases.
Being part of the examples led many people to use it incorrectly.
xmlMemoryDump is an obsolete way to test for memory leaks.
|
| |
|
|
|
|
| |
Fixes #472.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The version script didn't account for symbols disabled by configuration
options. This has caused problems on some OSs in the past and breaks
lld 16 which enables --no-undefined-version by default.
A proper fix would be rather involved, so we simply remove all symbols
from the version script. This is an ELF-only feature and libxml2 never
made use of symbol versioning anyway. Ultimately, this removes the need
for a lot of bookkeeping without tangible benefits.
We have to keep the version nodes to avoid errors when running binaries
linked against older versions of libxml2.
Fixes #473.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As per https://peps.python.org/pep-0394/, the python binary can be one
of the following options:
- Python 2
- Python 3
- Not exist
All of the scripts in libxml2 use 'python', which may not exist.
As Python 2 reached EOL on the 1st January 2020, it's safe to move the
scripts to use python3 explicitly.
|
|
|
|
| |
This is a Windows-only symbol.
|
|
|
|
| |
Fixes #395.
|
|
|
|
| |
Fixes #417.
|
|
|
|
| |
Fixes #418.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This function was never publically declared.
|
|
|
|
|
|
|
|
|
|
|
| |
Private functions were previously declared
- in header files in the root directory
- in public headers guarded with IN_LIBXML
- in libxml.h
- redundantly in source files that used them.
Consolidate all private header files in include/private.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also cross-reference keywords followed by a period. This is still a hack
but catches quite a few more keywords.
|
| |
|
| |
|
|
|
|
| |
No compiler warnings generated yet.
|
|
|
|
|
| |
Add API functions to create a parser context with a custom SAX handler
without having to mess with ctxt->sax manually.
|
|
|
|
|
|
| |
Document more global variables as deprecated. Some of the variables
don't generate deprecation warnings yet, but they shouldn't be used in
new code.
|
|
|
|
| |
Reset comment right after adding to the index.
|
| |
|
|
|
|
| |
This was never implemented.
|
|
|
|
|
| |
There are still a few places where try/except is used for branching.
This is a bad idea since it can hide errors like this one.
|
|
|
|
|
|
|
|
| |
Somewhat misleadingly, the DOC_DISABLE directive only disabled warnings.
Now we really stop the documentation generator from indexing.
This results in additional warnings for xmlThrDef* functions. This should
be fixed by documenting or deprecating them.
|
| |
|
|
|
|
|
| |
- Make sure that examples.xml is generated deterministically
- Sort includes by line number
|
|
|
|
|
|
| |
The values passed to the `uniq` function are dictionary keys and should
already be unique. On older Python versions, this would reshuffle the
list after it had just been sorted.
|
|
|
|
| |
The cross-reference was only used by the old website.
|
|
|
|
| |
Fixes make distcheck.
|
|
|
|
| |
Fixes make distcheck.
|
| |
|
| |
|
|
|
|
|
| |
Create text nodes with xmlNewDocText or set the document directly to
avoid xmlSetTreeDoc being called when the node is inserted.
|
|
|
|
| |
Regressed in commit c61e1273.
|
|
|
|
|
|
| |
There's no simple way to make the doc/examples tests handle different
configurations. But these tests aren't especially valuable, so remove
the result file checks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new configuration flag that controls whether the outdated support
for XPointer locations (ranges and points) is enabled.
--with-xptr-locs # Autotools
LIBXML2_WITH_XPTR_LOCS # CMake
The latest spec for what it essentially an XPath extension seems to be
this working draft from 2002:
https://www.w3.org/TR/xptr-xpointer/
The xpointer() scheme is listed as "being reviewed" in the XPointer
registry since at least 2006. libxml2 seems to be the only modern
software that tries to implement this spec, but the code has many bugs
and quality issues.
The flag defaults to "off" and support for this extensions has to be
requested explicitly. The relevant API functions are deprecated.
|
| |
|
|
|
|
|
| |
* In conda or Gentoo Prefix, we don't want to use the system python and
instead rely on PATH lookup.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|