Path to this page:
Subject: CVS commit: pkgsrc/www/p5-HTML-Tree
From: Jens Rehsack
Date: 2012-07-24 10:38:54
Message id: 20120724083854.1E5AF175DD@cvs.netbsd.org
Log Message:
Updating package for Perl 5 distribution of HTML::Tree from CPAN in
www/p5-HTML-Tree from 4.2 to 5.02.
pkgsrc changes:
- adjust dependencies
- adjust Perl 5 build type
upstream changes:
5.02 2012-06-27
Release by Christopher J. Madsen
[TESTS]
* Do not attempt to check result of $! in construct_tree.t
(The fix in 5.01 was not successful.)
5.01 2012-06-20
Release by Christopher J. Madsen
[TESTS]
* Force C locale in construct_tree.t (in non-English locales,
$! will produce messages in a different language) (RT #77823)
* Add test for preserving whitespace while parsing.
5.00 2012-06-12
Release by Christopher J. Madsen
There are only some minor documentation changes since 4.903.
This is a summary of the most significant changes since 4.2.
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* Use weak references to avoid memory leaks
See "Weak References" in HTML::Element for details.
* new_from_file now dies if the file cannot be opened. $! records
the specific problem. (Previously, you got a tree with a few
implicit elements.)
* Some methods normally returning a scalar could return the empty
list in certain circumstances. This has been corrected. The
affected methods are: address, deobjectify_text, detach, is_inside,
& pindex.
* deprecate the Version sub/method. Use the VERSION method instead.
[ENHANCEMENTS]
* add new_from_url (Using LWP) (David Pottage) (RT #68097)
[DOCUMENTATION]
* Explain that parse_file (and new_from_file) opens files in binary mode
BUT THIS IS PLANNED TO CHANGE.
4.903 2012-06-08
Trial Release by Christopher J. Madsen
[DOCUMENTATION]
* Explain that parse_file (and new_from_file) opens files in binary mode
BUT THIS IS PLANNED TO CHANGE.
[TESTS]
* test error handling for new_from_file & new_from_url
* remove use_ok from most tests
(if the module won't load, the tests can't pass anyway)
4.902 2012-06-06
Trial Release by Christopher J. Madsen
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* new_from_url now dies if the request fails or the response is not HTML
4.901 2012-06-06
Trial Release by Christopher J. Madsen
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* new_from_file now dies if the file cannot be opened. $! records
the specific problem. (Previously, you got a tree with a few
implicit elements.)
* Some methods normally returning a scalar could return the empty
list in certain circumstances. This has been corrected. The
affected methods are: address, deobjectify_text, detach, is_inside,
& pindex.
[FIXES]
* new_from_url did not call eof after parsing
[DOCUMENTATION]
* Improve SEE ALSO for HTML::TreeBuilder
* General documentation cleanup
4.900 2012-06-01
Trial Release by Christopher J. Madsen
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* Use weak references to avoid memory leaks
See "Weak References" in HTML::Element for details.
* deprecate the Version sub/method. Use the VERSION method instead.
[ENHANCEMENTS]
* add new_from_url (Using LWP) (David Pottage) (RT #68097)
Files: