develooper Front page | perl.perl5.porters | Postings from December 2009

podlators 2.3.0 released

From:
Russ Allbery
Date:
December 28, 2009 21:26
Subject:
podlators 2.3.0 released
Message ID:
871vieuz9i.fsf@windlord.stanford.edu
The URL

    http://archives.eyrie.org/software/perl/podlators-2.3.0.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/R/RR/RRA/podlators-2.3.0.tar.gz
  size: 92784 bytes
   md5: c240e843374dce4fad0be2194d663323

This release adds support for anchor text for URLs, fixes some formatting
issues with Pod::Text subclasses, suppresses formatting in the NAME
section of man pages, and fixes a few other bugs.  Note that Pod::Simple
3.06 or later is now required.

Changes since previous release:

2009-12-28  Russ Allbery  <rra@stanford.edu>

	* VERSION: podlators 2.3.0 released.

	* lib/Pod/Man.pm (_handle_element_start): Do not turn off IN_NAME
	for any formatting code.
	(cmd_b): Suppress formatting if in the NAME section to not confuse
	lexgrog.
	(cmd_i): Likewise.
	(cmd_f): Likewise.
	* t/man.t: Test formatting codes in the NAME section.

	* lib/Pod/ParseLink.pm (parselink): Allow anchor text for URLs as
	well.  Fix the check of the anchor text to not think no text was
	provided when the text was "0".
	* t/parselink.t: Test anchor text of "0" and anchor text with
	URLs.

	* Makefile.PL: Require Pod::Simple 3.06 or later for proper
	handling of L<> tags with anchor text.
	* t/text.t: Remove logic to skip an S<> test for Pod::Simple
	versions earlier than 3.06.

	* lib/Pod/Man.pm (cmd_l): Support anchor text for L<> links of
	type URL by rendering the anchor text and then the URL in angle
	brackets.
	* lib/Pod/Text.pm (cmd_l): Likewise.
	* t/man.t: Test rendering of L<> URL links with anchor text.
	* t/text.t: Likewise.

	* lib/Pod/Text.pm (strip_format): New function.
	(item): When formatting item tags, use the width of the tag
	without formatting codes.  This does not change the output of
	Pod::Text but provides a hook for correct formatting in
	subclasses.
	* lib/Pod/Text/Color.pm (strip_format): New function.
	* lib/Pod/Text/Termcap.pm (strip_format): New function.
	* t/color.t: Test proper formatting of item tags which have
	formatting codes applied.
	* t/termcap.t: Likewise.
	* t/overstrike.t: New test of Pod::Text::Overstrike.

	* t/basic.t: Use Test::More for testing.  Remove duplicate
	addition of ../blib/lib to the library search path.
	* t/color.t: Likewise.
	* t/filehandle.t: Likewise.
	* t/man-heading.t: Likewise.
	* t/man-options.t: Likewise.
	* t/man-utf8.t: Likewise.
	* t/man.t: Likewise.
	* t/parselink.t: Likewise.
	* t/pod-parser.t: Likewise.
	* t/termcap.t: Likewise.
	* t/text-encoding.t: Likewise.
	* t/text-options.t: Likewise.
	* t/text-utf8.t: Likewise.
	* t/text.t: Likewise.

	* t/pod-spelling.t: Update to the current version of this test
	from C TAP Harness 1.1, converting it to use Test::More.
	* t/pod.t: Likewise.

2009-06-15  Russ Allbery  <rra@stanford.edu>

	* t/basic.t: Unlink temporary files in a loop to be sure that all
	versions are deleted on VMS.  Thanks, John E. Malmberg.
	* t/color.t: Likewise.
	* t/filehandle.t: Likewise.
	* t/man-options.t: Likewise.
	* t/man-utf8.t: Likewise.
	* t/man.t: Likewise.
	* t/pod-parser.t: Likewise.
	* t/termcap.t: Likewise.
	* t/text-encoding.t: Likewise.
	* t/text-options.t: Likewise.
	* t/text-utf8.t: Likewise.
	* t/text.t: Likewise

2009-03-29  Russ Allbery  <rra@stanford.edu>

	* lib/Pod/Man.pm (outindex): Escape backslashes in the quoted text
	of .IX macros generated from X<> formatting code.
	* t/man.t: Add test case for X<\n>.

2009-03-05  Russ Allbery  <rra@stanford.edu>

	* scripts/pod2man.PL: Clarify that no markup should be used in the
	NAME section of a manual page.

2009-02-28  Russ Allbery  <rra@stanford.edu>

	* lib/Pod/Man.pm (devise_date): Avoid POSIX::strftime because
	POSIX requires Fcntl, which is an XS module, and hence can't build
	in miniperl.  This allows ExtUtils::MakeMaker to build as a normal
	module in Perl core.  Thanks, Michael G Schwern.
	* t/devise-date.t: Test that Pod::Man's devise_date method matches
	the output of strftime.

	* lib/Pod/Man.pm (_handle_element_start): Don't exit IN_NAME mode
	because of a C<> block.  Thanks, Niko Tyni.
	(quote_literal): Return an ASCII quoted string if in the NAME
	section to avoid confusing lexgrog.  Thanks, Niko Tyni.
	* t/man.t: Test C<> in the NAME section.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About