Revision history for Perl extension XML::LibXSLT.
2.003000 2024-06-11
- lib/XML/LibXSLT/Quick.pm .
- Add an 'implicit' type to $dest
- Correct a type spelling ('file' instead of 'path')
2.002001 2023-02-10
- Makefile.PL
- Corrections and refactorings
2.002000 2022-05-17
- lib/XML/LibXSLT/Quick.pm .
- clarify license
- https://github.com/shlomif/perl-XML-LibXSLT/issues/5
- add docs and a $source 'string' type
- Makefile.PL
- cleanups
- Require perl-5.14.0 at a minimum
- https://github.com/shlomif/supporting-older-perl5-releases
2.001000 2022-05-16
- lib/XML/LibXSLT/Quick.pm .
- Add 'params' support for generic_transform().
2.000000 2022-04-09
- Add lib/XML/LibXSLT/Quick.pm .
- Cleanups.
1.99 2020-01-16
- Remove checks for libxslt versions
- https://rt.cpan.org/Ticket/Display.html?id=131155
- Thanks to SREZIC and others
- These checks were much maligned.
1.98 2020-01-16
- Replace xslt-config with pkg-config
- The former is going away
- https://github.com/shlomif/perl-XML-LibXSLT/pull/3
- Thanks to Debian.
1.97 2020-01-14
- Tests hot fix for https://rt.cpan.org/Public/Bug/Display.html?id=131457
- Tests failed with XML::LibXML v 2.0202
- Thanks to jplesnik from Red Hat.
1.96 2018-02-21
- Apply patch from RT#83028
- $Config{libs} is not needed
- Move to git/GitHub:
- https://github.com/shlomif/perl-XML-LibXSLT .
- For Travis-CI/etc.
1.95 2016-07-30
- Hopefully fix RT#116461
- https://rt.cpan.org/Public/Bug/Display.html?id=116461
- “Makefile.PL shouldn't run "pkg-config libexslt" if LIBS or INC were
provided”
- Thanks to NWELLNHOF for the report and a suggested fix.
1.94 2015-01-19
- Fix builds on older versions of libxslt.
- Breakage caused by the MaxVars change.
- https://rt.cpan.org/Ticket/Display.html?id=101605
- Thanks to Deyan Ginev for the report.
1.93 2015-01-17
- Add the ->max_vars function to set the MaxVars.
- https://rt.cpan.org/Ticket/Display.html?id=101413
- Thanks to Thomas Krichel for the report/request.
1.92 2014-04-12
- Add scripts/tag-release.pl .
1.91 2014-04-12
- t/cpan-changes.t : minimum version of Test::CPAN::Changes.
- This is to avoid test failures such as:
- http://www.cpantesters.org/cpan/report/5af7d5eb-6bfa-1014-b84e-eb85912f2992
1.90 2014-04-10
- Handle $Config{dlext} correctly on Windows.
- https://rt.cpan.org/Ticket/Display.html?id=94516
- Thanks to kmx for the report and fix.
- Add t/pod.t .
- Fix some POD problems.
- Add t/cpan-changes.t and convert Changes to CPAN::Changes format.
- Add t/style-trailing-space.t.
- Remove trailing whitespace.
1.89 2014-03-05
- Fix memory management of node-sets returned from extension functions.
Without calling xsltExtensionInstructionResultRegister, node-sets
could be freed too early, leading to strange errors or segfaults.
- https://bugzilla.gnome.org/show_bug.cgi?id=562302
- https://rt.cpan.org/Ticket/Display.html?id=93349
- Thanks to Alexander Schepanovski for the report.
- Document input_callbacks methods
- Don't register libxml2 input callbacks twice
- https://rt.cpan.org/Public/Bug/Display.html?id=60313
- Fix memory leak with extension functions returning node lists
- https://rt.cpan.org/Public/Bug/Display.html?id=55623
- https://rt.cpan.org/Public/Bug/Display.html?id=76596
- Thanks to Jozef Kutej and Slaven Rezic for the reports.
- Thanks to Nick Wellnhofer for the pull requests and fixes.
1.88 2014-02-17
- Fix t/xml-grammar-failures.t based on the xml:space commentary here:
- https://mail.gnome.org/archives/xml/2014-February/msg00000.html
- Caused some failures which were ultimately our fault.
1.87 2014-02-03
- Decrease the minimum libxslt version again.
- Setting it as 1.1.28 did not fix the failures, and now we have
some more tests to test against it.
- https://rt.cpan.org/Ticket/Display.html?id=92659
- Thanks to Slaven Rezic for the report.
1.86 2014-02-02
- Add t/xml-grammar-failures.t to catch test failures in dependent modules.
- Add some data files for it under t/data/*.
- This fails on FreeBSD 9.2 currently.
1.85 2014-02-01
- Add "use strict;" and "use warnings;" globally (CPANTS).
- Add LICENSE to the MANIFEST.
1.84 2013-12-26
- Hopefully fix a segmentation fault on Win32 introduced in the last ver.
- https://rt.cpan.org/Ticket/Display.html?id=91652
- Thanks to Alexandr Ciornii for the report, and to Nikolay Sivov
for providing help.
1.83 2013-12-22
- Get rid of compiler warnings when compiling using CLANG.
- https://rt.cpan.org/Public/Bug/Display.html?id=91118
- Thanks to Daniel Macks for the report.
1.82 2013-11-06
- Makefile.PL: Report LibXSLT mismatch correctly.
- https://rt.cpan.org/Ticket/Display.html?id=90085
- Thanks to David Schmidt for the report, and to joel and brother
from the channel #perl-help for analysis.
1.81 2013-07-05
- Fix a typo reported by dsteinbrunner:
- https://rt.cpan.org/Ticket/Display.html?id=86689
1.80 2013-01-23
- Bump the minimum version of libxslt2 to 1.1.28.
- due to failures such as http://www.cpantesters.org/cpan/report/6f5029ee-639a-11e2-8465-2a97270fb964
1.79 2012-11-26
- Die when libxslt is 1.1.27.
- Due to this bug - https://bugzilla.gnome.org/show_bug.cgi?id=684564
1.78 2012-09-06
- Add output_method method, update documentation of media_type
(dorian@cpan).
- Thanks, Dorian!
1.77 2012-02-25
- Apply a patch from Michael Ludwig clarifying the quoting of string
parameters to the XSLT transformation.
- Thanks, Michael!
1.76 2012-01-12
- Made LibXSLT.xs compile with C compilers that don't accept declarations
inside blocks:
- https://rt.cpan.org/Public/Bug/Display.html?id=73905
- These include Microsoft Visual C++ (in C-mode).
1.75 2011-10-28
- Convert the following test scripts from Test.pm to Test::More :
- t/03input.t
- Fix for https://rt.cpan.org/Public/Bug/Display.html?id=71345 by Tim
Brody:
- «segfault in free()»
- Thanks, Tim!
1.74 2011-10-25
- Convert the following test scripts from Test.pm to Test::More :
- t/01basic.t
- t/02dromeds.t
- t/04params.t
- t/05quick.t
- t/06output.t
- t/06entities.t
- t/07blankdoc.t
- t/08literal.t
- t/09exslt.t
- t/10functions.t
- t/11utf8.t
- t/12import.t
- t/13error.t
- t/14security.t
- t/15misc.t
- In the process made "Encode" and perl-5.8.1. pre-requisites of this
distribution.
- Add the "make runtest" and "make distruntest" targets to test using
Test-Run.
1.73 2011-10-09
- Possible fix for https://rt.cpan.org/Ticket/Display.html?id=71456 :
- made the port reservation on t/14security.t for the non-existent
URL more robust.
1.72 2011-10-06
- Moved the benchmarking code under benchmark/ so it won't be indexed
by CPAN (Tim Brody).
- Avoid leaking memory inside extension elements by cleaning up on
stylesheet DESTROY (Tim Brody).
- xsltInit() and xsltCleanupGlobals() to avoid leaking memory on
init/shutdown (Tim Brody).
- Added support for stylesheet context functions via a
$stylesheet->register_function() method with the same arguments as
XML::LibXSLT->register_function(). (Tim Brody)
- Added support for register_element() on stylesheet objects. The callback
may leak memory though - nothing frees the _private attributes of the
node + document owner for the passed arguments? (Tim Brody)
1.71 2011-09-10
- Fixed https://rt.cpan.org/Ticket/Display.html?id=50487 :
- add a blacklist for libxslt-1.1.25 which has a deadlock that
hangs a test.
- Fixed https://rt.cpan.org/Ticket/Display.html?id=52422 :
- Unexpected webserver dependency in test
- Updated the version control instructions in the README to bitbucket.org.
1.70 Unknown
- fixed various bugs
- documentation updates
- #48247: Win32 patch kindly provided by KMX@cpan.org
- sync with latest XML::LibXML ABI and add a compatibility check
- do not force -lgcrypt and -lgpg-error linker flags
- fix for attribute nodes returned by user-defined XPath functions
- address #41542: restore internalDTD subset on the source
document of a transformation (libxslt unlinks it)
1.68 Unknown
- fix compilation problems
- skip exslt tests if not available
- added XML::LibXSLT::HAVE_EXSLT() (1/0)
1.67 Unknown
- sync the binary internals to those of XML::LibXML 1.67
- update regression tests for compatibility with up-to-date libxslt
1.66 Unknown
- bump requirements to libxslt 1.1.8
- sync the binary internals to those of XML::LibXML 1.66
1.63 Unknown
- fix SIGSEGV regarding freeing nodes created by extension functions
(reported by Elizabeth Mattijsen)
- use pkg-config to determine linker flags for libexslt
1.62 Unknown
- security callback interface contributed by Shane Corgatelli
- check libxslt version
- added XML::LibXML-like API to retrieve libxslt version
- added output_as_bytes() and output_as_chars()
- added regression tests for output_as_* to 11utf8.t
- output_as_string documentation fixed to match reality
- make 06entities.t to pass with older libxml2/libxslt
- POD uses items instead of headings
- fixed media_type and output_encoding for imported stylesheets [rt.cpan.org #23440]
1.61 Unknown
- fixed error reporting: die on fatal errors, warn otherwise
(in particular, warn rather than die on <xsl:message terminate="no">)
1.60 Unknown
- fix a huge memory leak in transform_file (bug #1314)
- make it clear from the docs that output_string returns bytes (bug #8875)
- added missing type-casting to fix compile-time warnings (bug #18508)
- using call_* instead of perl_call_* (perl_ variants are obsolete)
- in callbacks, POPs on error before croaking, otherwise it has no
effect (and we probably leak)
- added test case which used to fail (provided in rt #15723)
- apply patch for Makefile.PL for non-standard libxslt paths (bug #16224)
- fix segfault with registered functions returning nodes
- fix leaks in parse_stylesheet
- error reporting
1.59 Unknown
- (revision bumped to match XML::LibCould not parse Line '0.95 & 0.96' at /home/shlomif/bin/upgrade-to-CPAN-Changes line 40, <STDIN> line 300.
XML)
- adapted for new XML::LibXML::InputCallback API
- support for static linking against libxml2
1.57 Unknown
- (revision bumped to match XML::LibXML)
- Some minor fixes to perl extension functions support
- Fixed callbacks support
- Enable xinclude in XSLT files
- Fixed some memory leaks
- Fixed some segfaults
1.53 Unknown
- Fixed ordering of params to perl extension funcs
- Implemented nodelist and other data type passing to
extension functions, and returning nodelist and elements
(some code from Ido Ben-Zvi)
- Slightly better error handling
1.52 Unknown
- Perl extension functions (whee!)
1.51 Unknown
- Mac OS X fixes
- Cleaned up XPath quoting
- Fixed document('') test (though if it still doesn't work
in your code, see t/07blankdoc.t for details about how to
make it work).
1.50 Unknown
- Cleaned up media_type method so it doesn't segfault.
1.49 Unknown
- Migrated to new XML::LibXML 1.49 (with new memory stuff)
1.31 Unknown
- removed global callbacks
- changed callbacks to using LibXML globals
1.30 Unknown
- Compatibility with XML::LibXML 1.30 (esp callbacks)
- EXSLT support
- Better test files
1.09 Unknown
- Some fixes and tests for document('')
- Better have_library implementation in Makefile.PL
1.08 Unknown
- Fixed Makefile.PL check for libxslt > 0.7.0 to work with 1.0.0
1.07 Unknown
- Fixes to work with XML::LibXML 0.94
1.06 Unknown
- Support text/html defaulting for media_type when document element
is <html>.
- Support building on Win32
1.05 Unknown
- More tests and fixes for media_type
1.04 Unknown
- Fixed media_type method
1.03 Unknown
- Added output_encoding and media_type methods
1.02 Unknown
- Fixed Makefile.PL to work with libxslt 0.10
1.01 Unknown
- Removed hack where we set dom->standalone = 42 to prevent
XML::LibXML from garbage collecting
- Removed XML::LibXML from the distribution. Now separate.
1.00 Unknown
- More segfault fixes
- Benchmark updates
0.99_01 Unknown
- More segfault fixes
0.99 Unknown
- Fixed segfaults on 5.00503
0.98 Unknown
- Fixed output encoding problems
0.97 Unknown
- Now needs libxslt 0.7.0
- Removed add_param() (now passed to transform())
- Makefile.PL works without gnome-config now