v1.1.33:
Portability:
Variables need 'extern' in static lib on Cygwin
Really declare dllexport/dllimport for Cygwin
Fix callback signatures in Python bindings
Fix transform callback signatures
Fix extension callback signatures
Fix deallocator signatures
Fix XPath callback signatures
Fix hash callback signatures
Bug Fixes:
Don't cache direct evaluation of patterns with variables
Move function result RVTs to context variable
Fix EXSLT functions returning RVTs from outer scopes
Fix handling of RVTs returned from nested EXSLT functions
Fix typos
Improvements:
Run Travis ASan tests with "sudo: required"
Cleanups:
Remove doc/libxslt-decl.txt
Docs for 1.1.32 release
.1.30: Sep 04 2017
• Documentation:
Misc doc fixes (Nick Wellnhofer)
• Portability:
Look for libxml2 via pkg-config first (Elliott
Sales de Andrade),
Change default SOPREFIX on Windows to "bin" (Nick
Wellnhofer),
Add WIN32_EXTRA_LDFLAGS to tests/plugins/
Makefile.am (Michael Haubenwallner)
• Bug Fixes:
Also fix memory hazards in exsltFuncResultElem
(Nick Wellnhofer),
Fix NULL deref in xsltDefaultSortFunction (Nick
Wellnhofer),
Fix memory hazards in exsltFuncFunctionFunction
(Nick Wellnhofer),
Fix memory leaks in EXSLT error paths (Nick
Wellnhofer),
Fix memory leak in str:concat with empty node-set
(Nick Wellnhofer),
Fix memory leaks in error paths (Nick
Wellnhofer),
Switch to xmlUTF8Strsize in numbers.c (Nick
Wellnhofer),
Fix NULL pointer deref in
xsltFormatNumberFunction (Nick Wellnhofer),
Fix UTF-8 check in str:padding (Nick Wellnhofer),
Fix xmlStrPrintf argument (Nick Wellnhofer),
Check for overflow in _exsltDateParseGYear (Nick
Wellnhofer),
Fix double to int conversion (Nick Wellnhofer),
Check for overflow in exsltDateParseDuration
(Nick Wellnhofer),
Change version of xsltMaxVars back to 1.0.24
(Nick Wellnhofer),
Disable xsltCopyTextString optimization for
extensions (Nick Wellnhofer),
Create DOCTYPE for HTML version 5 (Nick
Wellnhofer),
Make xsl:decimal-format work with namespaces
(Nick Wellnhofer),
Remove norm:localTime extension function (Nick
Wellnhofer),
Check for integer overflow in xsltAddTextString
(Nick Wellnhofer),
Detect infinite recursion when evaluating
function arguments (Nick Wellnhofer),
Fix memory leak in xsltElementAvailableFunction
(Nick Wellnhofer),
Fix for pattern predicates calling functions
(Nick Wellnhofer),
Fix cmd.exe invocations in Makefile.mingw (Nick
Wellnhofer),
Don't try to install index.sgml (Nick
Wellnhofer),
Fix symbols.xml (Nick Wellnhofer),
Fix heap overread in xsltFormatNumberConversion
(Nick Wellnhofer),
Fix <xsl:number level="any"/> for non-element
nodes (Nick Wellnhofer),
Fix unreachable code in xsltAddChild
(mahendra.n),
Change version number in xsl:version warning
(Nick Wellnhofer),
Avoid infinite recursion after failed param
evaluation (Nick Wellnhofer),
Stop if potential recursion is detected (Nick
Wellnhofer),
Consider built-in templates in apply-imports
(Nick Wellnhofer),
Fix precedence with multiple attribute sets (Nick
Wellnhofer),
Rework attribute set resolution (Nick Wellnhofer)
• Improvements:
Add .travis.yml (Nick Wellnhofer),
Silence tests a little (Nick Wellnhofer),
Set LIBXML_SRC to absolute path (Nick
Wellnhofer),
Add missing #include (Nick Wellnhofer),
Adjust expected error messages in tests (Nick
Wellnhofer),
Make xsltDebug more quiet (Nick Wellnhofer),
New-line terminate error message that missed this
convention (Jan Pokorný),
Use xmlBuffers in EXSLT string functions (Nick
Wellnhofer),
Switch to xmlUTF8Strsize in EXSLT string
functions (Nick Wellnhofer),
Check for return value of xmlUTF8Strlen (Nick
Wellnhofer),
Avoid double/long round trip in FORMAT_ITEM (Nick
Wellnhofer),
Separate date and duration structs (Nick
Wellnhofer),
Check for overflow in _exsltDateDifference (Nick
Wellnhofer),
Clamp seconds field of durations (Nick
Wellnhofer),
Change _exsltDateAddDurCalc parameter types (Nick
Wellnhofer),
Fix date:difference with time zones (Nick
Wellnhofer),
Rework division/remainder arithmetic in date.c
(Nick Wellnhofer),
Remove exsltDateCastDateToNumber (Nick
Wellnhofer),
Change internal representation of years (Nick
Wellnhofer),
Optimize IS_LEAP (Nick Wellnhofer),
Link libraries with libm (Jussi Kukkonen),
Rename xsltCopyTreeInternal to xsltCopyTree (Nick
Wellnhofer),
Update linker version script (Nick Wellnhofer),
Add local wildcard to version script (Nick
Wellnhofer),
Make some symbols static (Nick Wellnhofer),
Remove redundant NULL check in xsltNumberComp
(mahendra.n),
Fix forwards compatibility for imported
stylesheets (Nick Wellnhofer),
Reduce warnings in forwards-compatible mode (Nick
Wellnhofer),
Precompute XSLT elements after preprocessing
(Nick Wellnhofer),
Fix whitespace in xsltParseStylesheetTop (Nick
Wellnhofer),
Consolidate recursion checks (Nick Wellnhofer),
Treat XSLT_STATE_STOPPED same as errors (Nick
Wellnhofer),
Make sure that XSLT_STATE_STOPPED isn't
overwritten (Nick Wellnhofer),
Add comment regarding built-in templates and
params (Nick Wellnhofer),
Rewrite memory management of local RVTs (Nick
Wellnhofer),
Validate QNames of attribute sets (Nick
Wellnhofer),
Add xsl:attribute-set regression tests (Nick
Wellnhofer),
Ignore imported stylesheets in
xsltApplyAttributeSet (Nick Wellnhofer)
MASTER_SITES= site1 \
site2
style continuation lines to be simple repeated
MASTER_SITES+= site1
MASTER_SITES+= site2
lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
Add Makefile.common for use by py-libxslt.
1.1.29: May 24 2016:
- Security:
CVE-2015-7995 Fix for type confusion in preprocessing attributes (Daniel Veillard)
- Documentation:
- Portability:
Fix a portibility problem with previous commit (Eduard Sanou),
Fix MingW build (Nick Wellnhofer),
Correctly emulate snprintf on older MSVC versions (Nick Wellnhofer),
Add Python script to run some tests on Windows (Nick Wellnhofer),
Remove /OPT:NOWIN98 option (Nick Wellnhofer),
Visual Studio 14 CTP defines snprintf() (Daniel Veillard),
Use AC_PATH_TOOL to find libgcrypt-config and xml2-config (Micha¿ Górny),
Use $libdir for LIBXSLT_DEFAULT_PLUGINS_PATH (larryhaja),
Use mkdir macro also in case if mingw32. (Lars Kanis),
Add math library to executable link flags (Nick Wellnhofer),
Fix quoting of xlocale test program in configure.in (Nick Wellnhofer)
- Bug Fixes:
Fix OOB heap read in xsltExtModuleRegisterDynamic (Nick Wellnhofer),
Remove CDATA markup from libxslt_tutorial.c (Nick Wellnhofer),
Remove generated headers from dist tarball (Nick Wellnhofer),
Mark XML file argument as repeatable (Nick Wellnhofer),
Keep timezone in date:add (Nick Wellnhofer),
Fix buffer overflow in exsltDateFormat (Nick Wellnhofer),
Fix saxon:line-number with namespace nodes (Nick Wellnhofer),
Fix dyn:map with namespace nodes (Nick Wellnhofer),
Fix error handling in Saxon extension functions (Nick Wellnhofer),
Fix double free in libexslt hash functions (Nick Wellnhofer),
Fix libxslt format warnings (David Kilzer),
Fix xsltNumberFormatGetMultipleLevel (Nick Wellnhofer),
Fix use-after-free in xsltDocumentFunctionLoadDocument (Nick Wellnhofer),
Always initialize EXSLT month and day to 1 (Nick Wellnhofer),
Fix possible NULL pointer deref in transform.c (mahendra.n),
Fix possible NULL pointer deref in xsltCopyTextString (Nick Wellnhofer),
Fix possible NULL pointer deref in libexslt/functions.c (Nick Wellnhofer),
Fix possible NULL pointer deref in xsltproc.c (mahendra.n),
Fix possible NULL pointer deref in preproc.c (mahendra.n),
Fix LIBXSLT_DEFAULT_PLUGINS_PATH in xsltconfig.h (Nick Wellnhofer),
Fix memory leak in xsltNumberFormat (Albert Astals Cid),
Error in doc/Makefile.am (Brice De Bruyne),
Detect attribute sets recursions in more cases (Daniel Veillard),
Check name vales for attribute-set elements (Daniel Veillard),
Fix hang with namespace-alias, fixes#700689 (Shaun McCance),
Fix str:align with UTF-8 strings (Nick Wellnhofer),
Fix for compiled XPath helpers (Nick Wellnhofer),
Check return value of exsltFuncNewFunctionData (Nick Wellnhofer),
Fix return value of xsltRegisterExtModuleElement (Nick Wellnhofer),
Call xmlNodeGetSpacePreserve with element node (Nick Wellnhofer),
Set namespaces before evaluating xsl:number (Nick Wellnhofer),
Make --maxvars option work (Per Hedeland),
Set correct context node when initializing xsl:keys (Nick Wellnhofer),
Fix for bug 436589 (Imran Azeezullah),
Memory leak in xsltCompileIdKeyPattern error path (Nick Wellnhofer),
Fix handling of UTF-8 strings in EXSLT crypto module (Nick Wellnhofer),
Fix certain patterns with predicates (Nick Wellnhofer),
Fix direct pattern matching (Nick Wellnhofer),
Fix str:padding to work with UTF-8 strings (Nick Wellnhofer),
EXSLT function str:replace() is broken as-is (Nick Wellnhofer),
Fix a couple of places where (f)printf parameters were broken (Daniel Veillard)
- Improvements:
Add support timestamps from environment (Daniel Veillard),
Add missing tests to dist tarball (Nick Wellnhofer),
Improve error message in xsltAddTemplate and fix test (Nick Wellnhofer),
Allow REC tests with empty stdout (Nick Wellnhofer),
Fix GPL license in HTML files as well (Nick Wellnhofer),
Fix status message in EXSLT dynamic tests (Nick Wellnhofer),
Add public function macros to xsltlocale.h (Nick Wellnhofer),
Make valgrind tests work with libtool (Nick Wellnhofer),
Add a couple of xsl:number tests (Nick Wellnhofer),
Lower and upper bound for format token "i" (Nick Wellnhofer),
Lower bound for format token "a" (Nick Wellnhofer),
Handle negative xsl:number values (Nick Wellnhofer),
Round xsl:number values to nearest integer (Nick Wellnhofer),
Allow {URI}NCName syntax for user parameters (Nick Wellnhofer),
Fix endTimer parameter type (Nick Wellnhofer),
Fix error messages for unsupported methods (Nick Wellnhofer),
Replace sprintf with snprintf (David Kilzer),
Enforce two digit exponent under MSVC (Nick Wellnhofer),
Rework xsltNumberFormat to fix warning (Nick Wellnhofer),
Fix a couple of GPL licences found in the documentation (Daniel Veillard),
Use hash table to lookup named templates (Christian Ceelen),
Fix to reg tests post 737840 fix (Daniel Veillard),
Don't fail build the man page if xsltproc is not present (Daniel Veillard),
Re-adding xsltproc.1 (Daniel Veillard),
Fix time type in xsltSaveProfiling (Nick Wellnhofer),
Remove unused parameters (Nick Wellnhofer),
Suppress unused variable warning. (Nick Wellnhofer),
Remove unused variable in xsltGenerateIdFunction (Nick Wellnhofer),
Add test case for XPath function args in error case (Nick Wellnhofer),
Add comment about known-to-fail test (Nick Wellnhofer),
Adjust expected test output (Nick Wellnhofer),
Helper functions to evaluate compiled XPath expressions (Nick Wellnhofer),
Add tests for crypto:rc4 (Nick Wellnhofer),
Add first test case for EXSLT crypto module (Nick Wellnhofer),
Separate function for predicate matching in patterns (Nick Wellnhofer),
Initialize pseudo random number generator with current time or optional command line parameter (Nils Werner),
Adding doc update related to 1.1.28 (Daniel Veillard)
- Cleanups:
Remove bogus test file (Nick Wellnhofer),
Add warning message to expected test output (Nick Wellnhofer)
Problems found locating distfiles:
Package cabocha: missing distfile cabocha-0.68.tar.bz2
Package convertlit: missing distfile clit18src.zip
Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
add to xsltproc-nonet.mk a variable XSLTPROC_PATH allowing packages to
specify where to find locally files such as dtds, avoiding warnings like
'warning: failed to load external entity'.
At the same time add a BUILD_DEPENDS to libxslt for xsltproc-nonet.mk
and bump PKGREVISION.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Portability:
* Fix python build by using libxsltmod_la_CPPFLAGS instead of AM_CPPFLAGS,
* configure should be more careful with linker script,
* add gcrypt library in LIBADD, not LDFLAGS, as recommended
Bug fixes:
* Fix generate-id() to avoid generating the same ID,
* Fix crash with empty xsl:key/@match attribute,
* Crash when passing an uninitialized variable to document(),
* Add missing test docs to EXTRA_DIST,
* Fix regression: Default namespace not correctly used
Cleanups:
* Remove xsltTransStorageAdd and xsltTransStorageRemove from symbols.xml,
* autogen.sh cleanup,
* consistent use of xslt processor,
* Add object files in tests/plugins to .gitignore,
* Fix error on bug-165 regression test,
* Remove xsltTransStorageAdd and xsltTransStorageRemove
Portability:
* xincludestyle wasn't protected with LIBXML_XINCLUDE_ENABLED,
* Portability fix for testThreads.c,
* FreeBSD portability fixes,
* check for gmtime - on mingw* hosts will enable date-time function,
* use only native crypto-API for mingw* hosts,
* autogen: Only check for libtoolize,
* minimal mingw support,
* configure: acconfig.h is deprecated since autoconf-2.50,
* Fix a small out of tree compilation issue,
* Fix python generator to not use deprecated xmllib,
* link python module with python library
Documentation:
* Tiny doc improvement,
* Various documentation fixes for docs on internals
Bug fixes
makes sure the tool is called with the "--nonet" option, keeping
it from using http or ftp to resolve references in xml files
(unfortunately it doesn't work as intended yet)
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
one nominal change in pkgsrc:
- MASTER_SITES+=${MASTER_SITE_GNOME} is commented out. They evidently
have not placed this product on their shelves yet.
changes since prior release
---------------------------
* python/generator.py: fix an infinite loop bug
* libxslt/xsltutils.c: avoid a scary realloc() loop should fix
#520383
* libexslt/date.c: applied patch from Peter Pawlowski fixing
a timezone offset problem, fixes#521680
* libxslt/namespaces.c: a bit of space/tabs cleanup
* doc/xsltproc.xml doc/xsltproc.1 doc/xsltproc.html: small fix to
man page synopsis, should fix#525822
* libexslt/functions.c: fixed minor error reported on the mailing
list by Mark Howe, which caused a segfault if func:result was
postitioned as top-level element.
* doc/xsltproc.xml doc/xsltproc.1: fix maxdepth default value
documentation fixes#519921.
* libxslt/extensions.c: fixed minor error bug #516483
* libxslt/xslt.c: applied documentation patch from Jason Viers
for xsltParseStylesheetDoc
* doc/xslt.html doc/docbook.html: fix links for Cygwin DocBook
setup as suggested by Philippe Bourcier
* libxslt/keys.c, libxslt/pattern.c, libxslt/xsltInternals.h:
fixed a problem on superfluous re-generation of keys reported
on the mailing list by Josef Urban.
* configure.in: avoid a problem in configure if an old gcrypt
version is installed, patch from Brent Cowgill, fixes#500390
* libexslt/common.c, libexslt/dynamic.c: After discussion on
Bugzilla with Peter Pawlowski, added same code for preventing
deletion of function result during garbage collection (see
bug #495995).
* libexslt/strings.c: Added code to mark the results of
str:tokenize and str:split as "function result" to avoid
garbage-collecting them during global variable initialisation.
Should fix bug #495995.
* python/libxslt.c: changed iterator argument for Py_Dict_Next
from int to ssize_t (seems Python docs are incorrect) to fix
x86_64 bug #489854.
* python/libxslt.c: applied patch from Daniel Gryniewicz to
fix a segfault caused by a parameter array not being preset
to zero.
changes:
-Portability fixes
-Bug fixes
-python stylesheet compare and transform context access
-EXSLT string replace support
-xsltproc better low level error handling
mostly from Blair Sadewitz per mail to tech-pkg
Changes since 1.1.18:
1.1.19: Nov 29 2006:
- Bug fixes: entities within attributes (William Brack), Python detection
problem (Joseph Sacco), in-scope namespace bug (Mike Hommey), Result
value tree caching bug (William Brack)