Nick Wellnhofer
0a546da509
Bump version
2025-03-12 19:46:32 +01:00
Nick Wellnhofer
09b41917dd
build: Disable debug output and debugger by default
...
Debug output can cause a notable performance hit even if ignored.
The debugger is probably unused these days.
2024-12-28 15:47:03 +01:00
Nick Wellnhofer
941b10fa8a
Bump version to 1.1.43
2024-12-09 23:02:51 +01:00
Nick Wellnhofer
06baf50dbc
build: Disable EXSLT crypto module by default
...
The crypto module is a non-standard extension that is likely unused
these days.
2024-09-19 22:34:29 +02:00
Alessandro Astone
220cde60f4
configure.ac: Find libgcrypt via pkg-config
...
The debian package has dropped the libgcrypt-config script.
Add pkg-config as a fallback mechanism to detect libgcrypt.
The CMake build system already did not use libgcrypt-config.
2024-08-19 14:45:59 +02:00
Nick Wellnhofer
f5ee8c954d
build: Disable plugins by default
...
The only plugins are unmaintained for 19 years:
http://xmlsoft.org/download/plugins/
2024-07-23 02:54:29 +02:00
Nick Wellnhofer
ff7cf97d80
extensions: Don't use libxml2's "modules" feature
...
Call POSIX/Windows API directly.
2024-07-23 02:08:32 +02:00
Nick Wellnhofer
165219e5a3
Release 1.1.42
2024-07-04 17:49:25 +02:00
Nick Wellnhofer
f156f9b983
Release v1.1.41
2024-06-19 12:34:45 +02:00
Nick Wellnhofer
dae1969f0d
autotools: Remove RPM build
2024-06-15 20:01:19 +02:00
Nick Wellnhofer
012781f7aa
Release v1.1.40
2024-06-12 18:53:28 +02:00
Nick Wellnhofer
c65a7c05f9
build: Remove mem-debug option
...
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 .
2024-01-30 13:02:45 +01:00
Nick Wellnhofer
743ab691be
Release v1.1.39
2023-11-16 13:58:16 +01:00
Mike Dalessio
42e018bdc9
pkg-config files include cflags for static builds
...
Related to #73 and f9a0817b
2023-09-23 12:36:42 +00:00
Nick Wellnhofer
7895729ae6
autotools: Make xslt-config executable
...
Fixes #87 .
2023-05-11 18:05:20 +02:00
Nick Wellnhofer
49ee03fc8f
Release v1.1.38
...
Also bump the libexslt version to 0.8.21. Due to an oversight, this
version was stuck at 0.8.20 since libxslt 1.1.32.
2023-05-06 16:59:01 +02:00
Nick Wellnhofer
5f793bec89
autotools: Link with --undefined-version
2023-05-06 16:40:21 +02:00
Nick Wellnhofer
93407f6d32
fuzz: Improve fuzzers
...
- Fuzz with multiple inputs.
- Generate XSLT seed corpus from tests.
- Inject malloc failures.
Fixes #84 .
2023-03-09 19:05:53 +01:00
Chun-wei Fan
e85d9dc54f
build: Add a distutils-based build system for the Python bits
...
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.
2022-11-21 16:14:31 +08:00
Nick Wellnhofer
971d5c4dd1
tests: Port most of the test suite to C
...
Use runtest.c from libxml2 as a starting point.
This finally allows us to run most of tests with CMake and Autotools
VPATH builds.
2022-09-07 22:18:55 +02:00
Nick Wellnhofer
f9a0817b20
autotools: Use AM_CFLAGS consistently
...
Don't pollute CFLAGS. Always add LIBXML_CFLAGS and LIBXSLT_CFLAGS.
2022-09-06 17:32:01 +02:00
Nick Wellnhofer
01606d767b
python: Create .pyd on Windows
2022-09-06 17:32:01 +02:00
Nick Wellnhofer
1dd4a2285f
python: Fix build on Windows
...
- Don't pollute LDFLAGS
- Also check for MSYS
2022-09-06 15:00:48 +02:00
Nick Wellnhofer
0166191a34
Update GCC compiler warnings
...
Use warning list from libxml2 excluding -pedantic.
2022-09-01 08:19:00 +02:00
Nick Wellnhofer
5eca7fb65b
Release v1.1.37
2022-08-29 16:29:34 +02:00
Nick Wellnhofer
d980d6cb50
Require automake-1.16.3 or later
...
See df003c0aea
2022-08-29 16:29:34 +02:00
Mike Dalessio
3f3e888f1a
Add missing compile definition for static builds to Autotools
...
Related to eaa53788
and 29923816
Closes #73
2022-08-20 13:50:46 -04:00
Nick Wellnhofer
bcd17763a9
Release v1.1.36
2022-08-17 15:29:52 +02:00
Nick Wellnhofer
e0d9e78b75
Remove special configuration for old maintainers
2022-07-29 00:59:08 +02:00
David Seifert
383d6ea03b
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
2022-04-03 15:35:32 +02:00
Nick Wellnhofer
616b2418f7
Only link libxml2 statically in purely static build
...
We now link libxml2 dynamically if both shared and static builds were
requested. This avoids overlinking and should fix #36 .
2022-04-03 15:20:35 +02:00
Nick Wellnhofer
bbe5300826
Set AC_CONFIG_MACRO_DIR
...
Silences libtool warnings.
2022-04-02 17:30:34 +02:00
Nick Wellnhofer
3c5d1ed63f
Allow AM_MAINTAINER_MODE to be disabled
2022-04-02 17:18:39 +02:00
Nick Wellnhofer
29938a64f6
Don't try to recreate COPYING symlink
...
Since automake is initialized with "foreign" for quite some while,
it shouldn't touch these files anymore.
2022-04-02 15:34:18 +02:00
Nick Wellnhofer
49c2bd0b97
Remove special configuration for certain maintainers
2022-04-02 15:32:32 +02:00
David Seifert
2f027906a2
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
2022-04-02 14:30:18 +02:00
David Seifert
f2e4f78272
Detect libm using libtool's macros
2022-04-02 14:30:17 +02:00
David Seifert
bd60e9c33b
configure.ac: disable static libraries by default
2022-04-02 14:30:16 +02:00
David Seifert
23012544eb
python/Makefile.am: rely on global AM_INIT_AUTOMAKE
...
* Even Debian oldoldstable has Automake 1.15 available nowadays.
2022-04-02 14:30:14 +02:00
David Seifert
11b078b091
configure.ac: remove useless AC_SUBST
...
* CFLAGS/CPPFLAGS/LDFLAGS are always substituted
2022-04-02 14:30:13 +02:00
David Seifert
a5a32b9382
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.
2022-04-02 13:17:54 +02:00
Nick Wellnhofer
e9c075cfa8
Don't check for standard C89 library functions
2022-03-31 01:50:51 +02:00
Nick Wellnhofer
dd16508642
Don't check for standard C89 headers
...
Also stop including non-standard headers.
2022-03-31 01:50:51 +02:00
Nick Wellnhofer
25652d85fd
Remove --with-html-dir option
...
Install documentation in $(docdir).
2022-03-31 00:28:52 +02:00
Nick Wellnhofer
b3fdf8a966
Rework documentation build system
...
Since several generated files are under version control, their
timestamps are essentially random and rebuilding documentation using
Makefile dependencies can't work reliably. Simply add a phony rebuild
target that regenerates the whole documentation and other files
unconditionally.
make -C doc rebuild
2022-03-30 23:58:16 +02:00
Vadim Zeitlin
6f4a633904
Remove obsolete AC_HEADER_STDC autoconf macro
...
It does nothing useful since a long time any more and just triggers
warnings from autoconf 2.71 and later.
2022-03-10 00:46:08 +01:00
Nick Wellnhofer
ed51fe6921
Remove ChangeLog
...
The ChangeLog is from pre-Git times.
2022-02-16 20:10:17 +01:00
Nick Wellnhofer
64c7395768
Remove xsltwin32config.h
...
This file was undocumented and never used anywhere. Maybe users were
supposed to rename this file to xsltconfig.h manually. These days, both
CMake and win32/configure.js generate xsltconfig.h from xsltconfig.h.in,
just like the Autotools build.
2022-02-16 20:02:42 +01:00
Nick Wellnhofer
50af4e65da
Release v1.1.35
2022-02-16 17:27:55 +01:00
Nick Wellnhofer
0d15702203
Support custom prefix when installing Python module
...
Also fixes make distcheck.
2022-02-14 23:33:53 +01:00