Commit graph

11 commits

Author SHA1 Message Date
wiz
434f1253e6 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)
2010-12-02 12:30:29 +00:00
sno
c1274645b0 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)
2010-09-21 21:19:25 +00:00
wiz
8426767dac 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 &nbsp; where it shouldn't,
      using patch supplied in RT 17481.  Thanks to Chris Madsen.

    [DOCUMENTATION]
    * HTML-Tree has a new maintainer: Pete Krawczyk
2007-02-18 03:17:10 +00:00
heinz
50238c3bc0 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.
2006-07-12 17:11:22 +00:00
wiz
d05c5ca198 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.
2006-01-01 23:11:38 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
heinz
c6b695757a 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.
2004-01-18 21:15:06 +00:00
kleink
162ad8c82f 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/
2003-03-16 21:27:21 +00:00
tv
fed6343588 Update to 3.11. 2001-07-09 17:43:57 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
Renamed from www/p5-HTML-Tree/files/md5 (Browse further)