This is an ancient, internal debugging option which only works if
libxml2 is built with mem-debug as well. Remove the option to avoid
crashes.
Fixes#105.
This is a streamlined version of the libxml2 setup.py.in that is
adapted for libxslt so that one can build the Python bindings and build
wheels easily, especially for Windows builds.
This will bundle the libxslt and libexslt DLLs, which matters more for
Python 3.8.x and later on Windows, where the dependent DLLs need to be
found at where the .pyd files are located unless one uses
os.add_dll_directory(); the libxml2 (and its dependent DLLs) should be
located with the libxml2-python package.
As is, the `LIBEXSLT_DOTTED_VERSION` would be `@LIBEXSLT_VERSION@` when
using the classic Windows configuration (win32/configure.js). This has
apparently been overlooked when exsltconfig.h.in has been changed a
while ago[1].
[1] <4045ed4b05>
Without this the generated xsltconfig.h will not be complete as there
will be a configuration variable that is left in the header, breaking
builds.
This will allow one to enable or disable profiler support in Windows
builds, and the default is to enable this.
Support glibc 2.26 which removes xlocale.h. Fixes bug 788264. Thanks to
Quentin Minster for the report.
Drop support for ancient glibc 2.2.x. This allows to replace the test
program in configure.ac with a simple check for strxfrm_l.
Always use WinAPI locales on Windows.
Define macros in xsltlocale.h and rename XSLT_LOCALE_XLOCALE to
XSLT_LOCALE_POSIX.
The old code could lead to a NULL pointer dereference.
- Set XPath error if saxon:expression can't compile an expression.
- Check return value in saxon:eval.
Add first tests for Saxon extension functions.
Found with afl-fuzz and ASan.
* libxslt/xsltconfig.h.in libxslt/xslt.c libxslt/extensions.c
libxslt/xsltlocale.c libxslt/preproc.c libxslt/xsltutils.c
libxslt/xsltlocale.h libxslt/win32config.h configure.in
config.h.in win32/configure.js: big patch from Roumen Petrov
finishing xsl:sort lang support with many portability issues
fixed and feedback from Nick Wellnhofer and Rob Richards
Daniel
svn path=/trunk/; revision=1488
* libxslt/xsltconfig.h.in libxslt/xsltlocale.h configure.in
config.h.in win32/configure.js: patch from Nick Wellnhofer and
Roumen Petrov to fix some portability problems on the previous
xsl:sort locale patch
Daniel
svn path=/trunk/; revision=1478
* configure.in libxslt/extra.c libxslt/Makefile.am libxslt/preproc.c
libxslt/xsltInternals.h libxslt/xsltlocale.c libxslt/xsltlocale.h
libxslt/xsltutils.c win32/Makefile.mingw win32/Makefile.msvc: patch
from Nick Wellnhofer adding xsl:sort lang support using the locale
support from the C library.
Daniel
svn path=/trunk/; revision=1476
* libexslt/strings.c: added new function replace from Joel
Reed.
* tests/exslt/Makefile.am, replace.1.xml, replace.1.xsl,
replace.1.out: added new test case for above.
* libxslt.spec.in: trivial change from Gnome to GNOME
* configure.in: trivial change for flags on my compilations
* libxslt/documents.c, libxslt/documents.h, libxslt/keys.c,
libxslt/keys.h, libxslt/variables.c, libxslt/templates.c,
libxslt/transform.c, libxslt/variables.c, libxslt/xslt.c,
libxslt/xsltutils.c: fixed some documentation/comments and
compilation warnings - no change to logic.
* re-generated the documentation.
svn path=/trunk/; revision=1413
* NEWS configure.in doc//*: preparing release of libxslt-1.1.18,
this bumps libxml2 requirement to 1.6.27
* libexslt/date.c libxslt/namespaces.h libxslt/xslt.c
libxslt/xsltInternals.h: cosmetic cleanups to restore the
API extraction
Daniel
* configure.in win32/configure.js libxslt/extensions.c
libxslt/xsltconfig.h.in libxslt/xsltwin32config.h.in:
integrated the module patch from Joel Reed with just a couple
of changes and cleanup.
Daniel
* configure.in libexslt/crypto.c libexslt/exslt.[ch]
libexslt/exsltconfig.h.in win32/configure.js: apply patch from
Rob Richards to add a normal --with-crypto configure option.
Daniel
* win32/Makefile.msvc win32/Makefile.mingw libexslt/Makefile.am
libexslt/exslt.c libexslt/exslt.h config.h.in configure.in
libexslt/crypto.c: applied patch from Joel Reed to get EXSLT
crypto extensions based on libgcrypt if found at configure time.
* tests/namespaces/Makefile.am: fixed a small breakage
Daniel