./textproc/py-libxslt, Python wrapper for libxslt

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.42nb2, Package name: py312-libxslt-1.1.42nb2, Maintainer: minskim

This is the libxslt python module, providing access to the libxslt
library.


Required to run:
[textproc/py-expat] [textproc/py-libxml2] [textproc/libxslt] [lang/python310]

Master sites:

Filesize: 1536.785 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-01 11:22:49 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
libxslt py-libxslt: updated to 1.1.39

v1.1.39: Nov 16 2023

Bug fixes

- extensions: Don't search imports for extension prefixes

Improvements

- transform: Check maximum depth when processing default templates
- build: Add more missing includes
- python: Don't set deprecated global
- build: Add missing includes
- imports: Limit nesting depth
- extensions: Report top-level elements in xsltDebugDumpExtensions
- Add extern "C" { } block to xsltlocale.h (David Kilzer)

Portability

- python: Make it compatible with python3.12 (Daniel Garcia Moreno)
- date: Fix check for localtime_s
- date: Fix check for gmtime_s

Build systems

- pkg-config files include cflags for static builds (Mike Dalessio)
- Handle NOCONFIG case when setting locations from CMake target properties (Markus
 Rickert)
- autotools: Make xslt-config executable

Tests

- tests: Structured error handler now passes a const xmlError
- python: Fix tests on MinGW
- fuzz: Fix xmlFuzzEntityLoader after recent libxml2 changes
   2023-11-08 14:21:43 by Thomas Klausner | Files touched by this commit (2377)
Log message:
*: recursive bump for icu 74.1
   2023-05-18 01:35:45 by David H. Gutteridge | Files touched by this commit (4) | Package updated
Log message:
libxslt & py-libxslt: update to 1.1.38

### Major changes

About 40 memory errors in code paths handling malloc failures have been fixed.
While these issues shouldn't impact security, this improves robustness under
memory pressure.

The result of generate-id() is now deterministic across multiple
transformations fixing many issues with reproducible builds.

Most of the test suite has been ported to C.

### Bug fixes

- Fix memory errors in code handling malloc failures
- imports: Fix import/include cycle check
- xsltlocale: Fix xsltNewLocale on macOS
- Make xsl:sort thread-safe
- Make generate-id() deterministic

### Improvements

- Stop using xmlStringCurrentChar
- attributes.h needs to include xsltInternals.h (David Kilzer)
- transform: Avoid null deref on documents without root node
- numbers: Fix floating point overflows
- date: Fix integer overflow in exsltDateFormatDuration
- numbers: Fix harmless integer sign change
- date: Add more overflow checks to formatting code (David Kilzer)
- date: Fix rounding to make Windows tests pass
- date: Rewrite duration and seconds formatting
- xsltlocale: Make API platform-independent
- Also accept application/xslt+xml media type in stylesheet PIs
- warnings: Fix strict prototypes warning
- xsltEvalUserParams() and xsltQuoteUserParams() are susceptible to integer
  overflow when iterating through const char** array (David Kilzer)
- xslt: Return NULL stylesheet on attribute set errors
- xsltproc: Fix unused variable warning
- xslt: Remove declaration for old libxml2
- Fix various compiler warnings
- Fix compiler warnings in xsltGenerateIdFunction
- Disable Python bindings for debugger
- Don't declare disabled functions
- Migrate from PyEval_ to PyObject_

### Build system

- cmake: Use version script
- autotools: Link with --undefined-version
- win32: Remove broken libxslt.def.src
- Stop updating version script
- add support for Windows time functions (Rosen Penev)
- cmake: link against libm on UNIX systems (Alex Richardson)
- build: Add a distutils-based build system for the Python bits (Chun-wei Fan)
- CMake: Relax check for Python 3.x support on Windows (Chun-wei Fan)
- python/types.c: Fix building against older libxml2 (Chun-wei Fan)
- python/libxslt.c: Replace ssize_t with Py_ssize_t (Chun-wei Fan)
- cmake: Fix build with libxslt and libxml2 as subprojects
- cmake: Set SOVERSION
- cmake: Extract version from configure.ac
- Fix classic Windows configuration for libexslt (Christoph M. Becker)
- autotools: Fix Python tests in VPATH builds
- autotools: Disable parallel Python build
- autotools: Use AM_CFLAGS consistently
- autotools: Link with -no-undefined
- cmake: Fix Python installation
- cmake: Don't check for Python 2
- python: Don't output missing generators during build
- python: Create .pyd on Windows
- python: Fix build on Windows
- python: Support Python 3 on Windows
- cmake: Enable GCC compiler warnings
- Update GCC compiler warnings

### Tests

- python: Remove temp file when running tests/basic.py
- fuzz: Improve fuzzers
- xsltlocale: Add test
- gitlab-ci: Reenable MSan and LeakSanitizer
- tests: Remove unused files
- tests: Enable runtest.exe under MSVC
- tests: Fix LIBXSLT_PLUGINS_PATH for multi-config CMake
- tests: Remove unused leak statistics
- tests: Skip some tests if iconv/ICU is disabled
- gitlab-ci: Run Autotools tests with out-of-tree (VPATH) builds
- tests: Port most of the test suite to C
- tests: Fix out-of-tree Python tests
- tests: Fix source directory for reports tests
- gitlab-ci: Consolidate CMake test scripts
- gitlab-ci: Only install cmake MinGW package if needed
- gitlab-ci: Install 7-Zip using the .msi
- gitlab-ci: Add CI job for MinGW/Autotools
- gitlab-ci: Disable MSan for now
- Run CI tests with -fsanitize=integer
- Fix EXSLT functions tests when libxml2 is built --without-debug
- Make CI tests exit on failure
- Run Python 3 CI job with minimal configuration
- Set library path when running Python tests

### Documentation

- doc: Remove unused cross-reference data
- doc: Update apibuild.py
   2023-04-19 10:12:01 by Adam Ciarcinski | Files touched by this commit (2359) | Package updated
Log message:
revbump after textproc/icu update
   2022-11-23 17:21:30 by Adam Ciarcinski | Files touched by this commit (1878) | Package updated
Log message:
massive revision bump after textproc/icu update
   2022-10-13 13:22:25 by Thomas Klausner | Files touched by this commit (9) | Package updated
Log message:
{py-,}libxslt: update to 1.1.37

v1.1.37: Aug 29 2022

### Improvements

- Don't use deprecated libxml2 macros
- Don't mess with xmlDefaultSAXHandler

### Build system

- Require automake-1.16.3 or later
- Remove generated files from distribution
- Add missing compile definition for static builds to Autotools (Mike Dalessio)

v1.1.36: Aug 17 2022

### Removals and deprecations

- Remove SVN keyword anchors
- Remove CVS and SVN-related code
- Remove README.cvs-commits
- Remove ChangeLog
- Remove xsltwin32config.h

### Improvements

- Simplify xsltexports.h and exsltexports.h
- Don't overlink executables with gcrypt
- Fix quadratic behavior with variables and parameters
- Remove case labels with XPointer location types
- Add configure~ to .gitignore
- Stop calling deprecated libxml2 functions

### Portability

- Use portable python shebangs (David Seifert)
- Remove useless __CYGWIN__ checks
- Remove cruft from win32config.h
- crypto.c: Silence a compiler warning on Windows (Chun-wei Fan)

### Build system

- Add missing compile definition for static builds to CMake
- Avoid obsolescent `test -a` constructs (David Seifert)
- Only link libxml2 statically in purely static build
- Set AC_CONFIG_MACRO_DIR
- Allow AM_MAINTAINER_MODE to be disabled
- Streamline and fix documentation installation
- Don't try to recreate COPYING symlink
- Remove special configuration for certain maintainers
- configure.ac: produce tar.xz only (GNOME policy) (David Seifert)
- Detect libm using libtool's macros (David Seifert)
- configure.ac: disable static libraries by default (David Seifert)
- python/Makefile.am: nest python docs in $(docdir) (David Seifert)
- python/Makefile.am: rely on global AM_INIT_AUTOMAKE (David Seifert)
- configure.ac: remove useless AC_SUBST (David Seifert)
- Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings (David Seifert)
- Change libxml2 Python config
- Don't check for standard C89 library functions
- Don't check for standard C89 headers
- Remove --with-html-dir option
- Also check for glibtoolize in autogen.sh
- Rework documentation build system
- Remove old website
- CMake: Relax check for enabling crypto support on Windows (Chun-wei Fan)
- Remove obsolete AC_HEADER_STDC autoconf macro (Vadim Zeitlin)
- Remove special configuration for old maintainers

### Test suite, CI

- Remove test involving XPointer range-to function
- Test recursion in EXSLT dynamic functions
- Add CI job for static build

### Documentation

- Move tutorial images

v1.1.35: Feb 16 2022:
   - Security:
  [CVE-2021-30560] Fix use-after-free in xsltApplyTemplates
  Fix memory leak in xsltDocumentElem (David King)
  Fix memory leak in xsltCompileIdKeyPattern (David King)
  Fix double-free with stylesheets containing entity nodes

   - Fixed regressions:
  Fix performance regression with predicates in patterns
  Fix regression in xsltComputeSortResult

   - Bug fixes:
  Fix conflict resolution for templates with same priority
  Fix xsl:number generating invalid UTF-8
  Support attribute value templates in xsl:sort lang attributes
  Don't pass first <xsl:sort> in <xsl:apply-templates> twice
  Fix quadratic runtime with text and <xsl:message>
  Don't allow empty EXSLT durations

   - Improvements:
  Add xsltproc --huge Argument via libxml XML_PARSE_HUGE (William N. Braswell, Jr.)

   - Tests, code quality, fuzzing:
  Remove .travis.yml
  Fix some misleading indentation (David King)
  Use actual types for templates in struct _xsltStylesheet
  Add CI for CMake on MSVC (Markus Rickert)
  Check for null pointer before calling freelocale
  Add CI test for Python 3
  Don't set maxDepth in XPath contexts
  Transfer XPath limits to XPtr context
  Stop using maxParserDepth XPath limit
  Make long-to-double cast explicit in date.c
  Disable LeakSanitizer
  Run clang CI tests with -Wimplicit-int-conversion
  Fix implicit-int-conversion warning in exslt/crypto.c
  Fix clang -Wimplicit-int-conversion warning (David Kilzer)
  Fix clang -Wconditional-uninitialized warning in libxslt/numbers.c (David Kilzer)
  Fix -Wshadow warnings in libexslt/dynamic.c (David Kilzer)
  Also search parent dir for source XML when fuzzing

   - Build system, portability:
  Add CMake build files (Markus Rickert)
  Initial support for Python 3 (Suleyman Poyraz)
  Call ANSI versions of WinAPI functions explicitly
  Remove redundant flags from pkg-config files
  Suppress automake warning in tests/XSLTMark
  Fix linking libexslt dynamic library when using MinGW (Vadim Zeitlin)
  Added platform specific path separators (Dmitriy Korovkin)
  win32: allow passing *FLAGS on command line
  Fix export of xsltExtMarker on Windows (David Kilzer)
  Fix redundant includes already in libexslt.h (David Kilzer)
  Minor fixes to configure.js
  Fix variable syntax in Python configuration
  Add new EXSLT string tests to EXTRA_DIST
  Fix xml2-config check in configure script
  win32: Add configuration for profiler (Chun-wei Fan)
  Check whether 'xml2-config --dynamic' is supported

   - Documentation:
  Add Makefile rule to regenerate xsltproc.html
  Update links
  Remove MAINTAINERS
  Upload documentation to GitLab Pages
  Add documentation in devhelp format
  Add --enable-rebuild-docs configure option
  Fix libexslt header summaries
  Fix validity of tutorial XML (David King)
  Use DocBook URL for tutorial DTD (David King)
  Update libxslt.doap
  Add missing options to xsltproc man page
   2022-04-18 21:12:27 by Adam Ciarcinski | Files touched by this commit (1798) | Package updated
Log message:
revbump for textproc/icu update
   2022-01-14 20:36:30 by Tobias Nygren | Files touched by this commit (2)
Log message:
py27-libxslt: fix build