Up to [cvs.NetBSD.org] / pkgsrc / www / p5-HTML-Tree
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for perl5 5.44.0
*: bump for perl 5.42.0
*: recursive bump for perl 5.40
*: recursive bump for perl 5.38
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
*: recursive bump for perl 5.36
*: recursive bump for perl 5.34
*: bump PKGREVISION for perl-5.32.
Bump PKGREVISIONs for perl 5.30.0
Update packages using a search.cpan.org HOMEPAGE to metacpan.org. The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in.
Recursive bump for perl5-5.28.0
Updated p5-HTML-Tree to 5.07.
5.07 2017-08-31
Release by Kent Fredric
[FIXES]
* Workaround more @INC issues with Module::Build and sudo RT#122199
Recursive revbump from lang/perl5 5.26.0
Update to 5.06
Upstream changes:
5.06 2017-04-28
Release by Kent Fredric
* Revert XML escaping changes from 5.04 due to large numbers of
broken dependents
- RT#121310 https://rt.cpan.org/Ticket/Display.html?id=121310
- https://github.com/rjbs/MasonX-Resolver-WidgetFactory/issues/1
- https://github.com/kentfredric/HTML-Tree/issues/1
Updated p5-HTML-Tree to 5.05.
5.05 2017-04-26
[FIXES]
* Revert Dist::Zilla Removal
- https://github.com/jfearn/HTML-Tree/issues/7
- Vendor note: It should be simpler to compare 5.03 and 5.05
than to compare 5.04 and 5.05, or 5.03 and 5.05.
- Fixes RT#12230: Undeclared dep on Test::Fatal
- https://rt.cpan.org/Ticket/Display.html?id=121230
* Proper fix for '.' in @INC
- https://rt.cpan.org/Ticket/Display.html?id=120521
Updated p5-HTML-Tree to 5.04.
5.04 2017--04-17
Release by Jeff Fearn
[FIXES]
* Remove Distzilla to fix RT #120521 #89820
* Add POD to htmltree RT #116367
* Speed up is_inside method RT #113415
- From Todd Rinaldo https://github.com/madsen/HTML-Tree/pull/5
* Fix extra spaces being added to comments RT #94311
- From Tomaz Solc
* Don't needlessly escape characters in element content RT #93431
- From Tomaz Solc
Bump PKGREVISION for perl-5.24.
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
Remove SVR4_PKGNAME, per discussion on tech-pkg.
Bump for perl-5.20.0. 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.
Bump all packages for perl-5.18, that 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.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update to 5.03:
5.03 2012-09-22
Release by Christopher J. Madsen
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* as_HTML no longer indents <textarea> (Tomohiro Hosaka) (RT #70385)
[FIXES]
* as_trimmed_text did not accept '0' for extra_chars
[DOCUMENTATION]
* Explain that as_text never adds whitespace (RT #66498)
* Explain what extra_chars can contain for as_trimmed_text.
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Fix incorrect package directory in dependency line.
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)
Update "p5-HTML-Tree" package to version 4.2. Changes since version 4.1: - [FIXES] - Tied all $VERSION to HTML::Element to ensure latest package is used for all modules. RT #66110 - Moved perlcritic tests to xt/author - [DOCUMENTATION] - Added text and link to "Perl and LWP" book. - Fix Authors is all PM files.
Update to 4.1:
4.1 Mon Oct 25 2010
[FIXES]
* '/' is a valid attribute (pull from tokuhirom) (RT #61809)
* Change check fo subclasses in as_HTML. (RT #61673)
* Fix ProhibitThreeArgumentOpen being triggered. (RT #61857)
Updating www/p5-HTML-Tree from 3.23nb2 to 4.0
pkgsrc changes:
- adjust dependencies
- adding license definition
Upstream changes:
4.0 Mon Sep 20 2010
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* Changes to entity encoding from ord values to XML entities may break
tests expecting � style encoding.
* Attribute names are now validated in as_XML and invalid names will
cause an error.
[FIXES]
* Optionally empty tags with content now have close tag. (RT #49932 #41806)
* Added attribute name validation. (RT #23439)
* Added span to @TAGS in AsSubs. (RT #55848)
* Changed tag encoding to human readable form, e.g. >, and stopped
re-encoding encoded tags (RT #55835)
* Added no_expand_entities option to disable entity decoding when
parsing source. (RT #24947)
* Fix replace_with not setting parent for an array of content.
(RT #28204 #45495)
* Removed newline being appended to as_HTML output. (RT #41739)
* Fix invalid parent for subsclasses. (RT #36247)
* Fixed #! line in tests (RT #41945)
* Switched to Module::Build
* Fixed Perl::Critic errors
* Added lots of use strict and use warnings
* Fix PERL_UNICODE breaking tests. (RT #28404)
* Add check for class type to traverse. (RT #35948)
* Move attribute name validation to as_XML. (RT #60619)
* Fix critic test exploding if Test::Perl::Critic isn't installed.
* Fix annoying message about x.yy_z not being numeric in t/building.t
* Added extra_chars options to as_trimmed_text (RT #26436)
* Added catch for broken table tags (RT #59980)
* Replace parentheses for constants. (RT #58880)
* Removed build deps Devel::Cover, Test::Pod::Coverage, Test::Perl::Critic.
(RT #58878)
* Added create_makefile_pl => 'traditional' to Build.PL (RT #58878)
[ENHANCEMENTS]
* (Ricardo Signes RT #26282) The secret hack to allow elements to be created
from classes other than HTML::Element has been cleaned up and documented
for the benefit of TreeBuilder subclasses.
q.v., HTML::TreeBuilder->element_class
* Added HTML::Element::encoded_content to control encoding of entities on
output.
[TESTS]
* Added test for optionally empty tags, like A.
* Added test for invalid attribute name.
* Added more tests for entity parsing.
* Add parent test from Christopher J. Madsen. (RT #28204)
* Add subclass test. (RT #36247)
[DOCUMENTATION]
* Docs spelling patch from Ansgar Burchardt <ansgar@43-1.org> (RT #55836)
* Added definition of white space to as_trimmed_text. (RT #26436)
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
The package supports installation to DESTDIR
Update to 3.23:
3.23 Sun Nov 12 11:09:31 CST 2006
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* Mark-Jason Dominus points out that the fix for as_html was not
proper, and broken behavior should never be codified. Fixed
as_html so an empty string doesn't encode entites, instead of
blaming the behavior on HTML::Entities. (RT 18571)
3.22 Sat Nov 11 21:23:22 CST 2006
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* HTML::Element::as_XML now only escapes five characters, instead
of escaping everything but alphanumerics and spaces. This is
more in line with the XML spec, and will no longer escape wide
characters as two (or more) entities. Resolves RT 14260. Thanks
to Carl Franks and somewhere [at] confuzzled.lu for assistance.
[FIXES]
* A string comparison was commented to use lc() on both sides, but
didn't. This caused HTML::Element::look_down to not properly find
elements in certain cases. Thanks to Andrew Suhachov. (RT 21114)
[TESTS]
* Added several new tests and enhanced others. Thanks to Rocco
Caputo for t/attributes.t, and several others for providing
test cases in their RT bugs.
[DOCUMENTATION]
* Fixed description of HTML::Element::all_attr_names. Thanks
to dsteinbrunner [at] pobox.com for catching it.
* Fixed example code in HTML::Element::push_content. Thanks
to dsteinbrunner [at] pobox.com for catching it. (RT 21293)
* Fixed description of HTML::Element::as_HTML. Thanks to
Mark-Jason Dominus for catching it. (RT 18569)
3.21 Sun Aug 6 19:10:00 CDT 2006
[FIXES]
* Updated HTML::Parser requirement to 3.46 to fix a bug in
tag-rendering.t, noted in RT 20816 and 19796. Thanks to
Gordon Lack and Ricardo Signes
* Fixed HTML::TreeBuilder to not remove where it shouldn't,
using patch supplied in RT 17481. Thanks to Chris Madsen.
[DOCUMENTATION]
* HTML-Tree has a new maintainer: Pete Krawczyk
Updated to version 3.20.
Pkgsrc changes:
- Introduced USE_LANGUAGES.
Relevant changes since version 3.19_01:
=======================================
[THINGS THAT MAY BREAK YOUR CODE]
* The store_declarations() method has been restored, but defaults
to true instead of false.
[THINGS THAT MAY BREAK YOUR CODE]
* The store_declarations() method has been removed.
* Non-closing HTML tags like <IMG> are now rendered as <IMG />.
* All values in tags are now double-quoted. Previously, all-numeric
values weren't quoted.
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
Update to latest stable version, 3.19.01: 2005-11-09 Andy Lester Release 3.19_01 -- No new functionality. New tests, though! Thanks to the Chicago Perl Mongers for their work.
Bump the PKGREVISIONs of all (638) packages that hardcode the locations of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}. There is no change to the binary
packages.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
since perl is now built with threads on most platforms, the perl archlib module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
Bl3ify and enable pkgviews installation.
Relinquish maintainership of packages to tech-pkg@NetBSD.org.
Add HOMEPAGE
Update to 3.18
2003-09-15 Sean M. Burke <sburke@cpan.org>
Release 3.18 -- bugfix to test, adding qr// to look_(down|up)
Accepting Iain 'Spoon' Truskett's neat patch for qr// as lookdown
operators (previously you had to do sub { $_[0]=~ m/.../}).
Rewrote some tests, notably parsefile.t, which was pointlessly
failing because of an incompatibility with an HTML::Parser version.
Removed the disused ancient utils "dtd2pm" and "ent" from the dist.
COMMENT should start with a capital letter.
s/netbsd.org/NetBSD.org/
Update to 3.17 (3.11 is no longer available from CPAN); changes include:
2003-01-18 Sean M. Burke <sburke@cpan.org>
Release 3.17 -- minor bugfix
HTML::Element : Making as_HTML('',...) work just like
as_HTML(undef,...). Also fixing as_XML's docs to remove mention of
an unimplemented feature (specifying what characters to escape).
2002-11-06 Sean M. Burke <sburke@cpan.org>
Release 3.16 -- just fixing a doc typo.
2002-11-06 Sean M. Burke <sburke@cpan.org>
Release 3.15 -- a few new features.
Added the aliases "descendents" and "find" to HTML::Element.
Added a new method "simplify_pres" to HTML::Element.
2002-10-19 Sean M. Burke <sburke@cpan.org>
Release 3.14 -- minor bugfix
Just fixes a few problems in HTML::Element with the number_lists
method.
2002-08-16 Sean M. Burke <sburke@cpan.org>
Release 3.13 -- basically a bugfix version
It turns out that 3.12 had a hideous HTML::TreeBuilder bug that
made the whole thing damn near useless. Fixed.
Many many thanks to Michael Koehne for catching this!
Wrote t/parse.t, to catch this sort of thing from happening again.
Fixed a bug that would treat <td> outside any table context
as <tr><table><td> instead of <table><tr><td>
2002-07-30 Sean M. Burke <sburke@cpan.org>
Release 3.12
Added as_trimmed_text method to HTML::Element, as described
(prophesied?) in the fantabulous new book /Perl & LWP/.
Bugfix: fixed unshift_content when given a LoL. (_parent wasn't
getting set right.)
HTML::Element and HTML::TreeBuilder now enforce at least some
minimal sanity on what can be in a tag name. (Notably, no spaces,
slashes, or control characters.)
Semi-bugfix: $element->replace_with(...) can now take LoLs in its
replacement list.
Bumped HTML::Element version up to 3.12 (right from 3.09)
Semi-bugfix: as_XML now doesn't use named entities in its return
value -- it always uses numeric entities.
Added behavior: new_frow_lol can now do clever things in list
context.
HTML::Tree -- added blurb for /Perl & LWP/
HTML::TreeBuilder -- added blurb for /Perl & LWP/
Also added a few tweaks to do better with XHTML parsing.
Added guts() and disembowel() methods, for parsing document fragments.
TODO: desperately need to add tests to t/
Use buildlink2. Use perl5/module.mk.
Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
SVR4 packages have a limit of 9 chars for a package name. The automatic truncation in gensolpkg doesn't work for packages which have the same package name for the first 5-6 chars. e.g. amanda-server and amanda-client would be named amanda and amanda. Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for amanda-server. All svr4 packages also have a vendor tag, so we have to reserve some chars for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6 or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the vendor tag enough room. All p5-* packages and a few other packages have now a SVR4_PKGNAME.
Update to 3.11.
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
Update to 3.08 (2.04 no longer on CPAN)
p5-HTML-Tree: perl5 modules for manipulating HTML syntax trees
Initial revision