Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 07deb4a

Browse files
committed
podlators-4.11
1 parent 2e940da commit 07deb4a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+744
-443
lines changed

MANIFEST

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2160,6 +2160,11 @@ cpan/podlators/t/data/basic.ovr
21602160
cpan/podlators/t/data/basic.pod
21612161
cpan/podlators/t/data/basic.txt
21622162
cpan/podlators/t/data/perl.conf
2163+
cpan/podlators/t/data/snippets/color/escape-wrapping
2164+
cpan/podlators/t/data/snippets/color/tag-width
2165+
cpan/podlators/t/data/snippets/color/tag-wrapping
2166+
cpan/podlators/t/data/snippets/color/width
2167+
cpan/podlators/t/data/snippets/color/wrapping
21632168
cpan/podlators/t/data/snippets/man/agrave
21642169
cpan/podlators/t/data/snippets/man/backslash-man-ref
21652170
cpan/podlators/t/data/snippets/man/bullet-after-nonbullet
@@ -2209,6 +2214,11 @@ cpan/podlators/t/data/snippets/man/utf8-verbatim
22092214
cpan/podlators/t/data/snippets/man/x-whitespace
22102215
cpan/podlators/t/data/snippets/man/x-whitespace-entry
22112216
cpan/podlators/t/data/snippets/README
2217+
cpan/podlators/t/data/snippets/termcap/escape-wrapping
2218+
cpan/podlators/t/data/snippets/termcap/tag-width
2219+
cpan/podlators/t/data/snippets/termcap/tag-wrapping
2220+
cpan/podlators/t/data/snippets/termcap/width
2221+
cpan/podlators/t/data/snippets/termcap/wrapping
22122222
cpan/podlators/t/data/snippets/text/cpp
22132223
cpan/podlators/t/data/termcap
22142224
cpan/podlators/t/general/basic.t

Porting/Maintainers.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ package Maintainers;
11901190
},
11911191

11921192
'Pod::Man' => {
1193-
'DISTRIBUTION' => 'RRA/podlators-4.10.tar.gz',
1193+
'DISTRIBUTION' => 'RRA/podlators-4.11.tar.gz',
11941194
'FILES' => q[cpan/podlators pod/perlpodstyle.pod],
11951195

11961196
# cperl fix to support make -s

cpan/podlators/lib/Pod/Man.pm

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1-
# Pod::Man -- Convert POD data to formatted *roff input.
1+
# Convert POD data to formatted *roff input.
22
#
33
# This module translates POD documentation into *roff markup using the man
44
# macro set, and is intended for converting POD documents written as Unix
55
# manual pages to manual pages that can be read by the man(1) command. It is
66
# a replacement for the pod2man command distributed with versions of Perl
77
# prior to 5.6.
88
#
9-
# Perl core hackers, please note that this module is also separately
10-
# maintained outside of the Perl core as part of the podlators. Please send
11-
# me any patches at the address above in addition to sending them to the
12-
# standard Perl mailing lists.
13-
#
14-
# Written by Russ Allbery <rra@cpan.org>
15-
# Substantial contributions by Sean Burke <sburke@cpan.org>
16-
# Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
17-
# 2010, 2012, 2013, 2014, 2015, 2016, 2017 Russ Allbery <rra@cpan.org>
18-
#
19-
# This program is free software; you may redistribute it and/or modify it
20-
# under the same terms as Perl itself.
9+
# SPDX-License-Identifier: GPL-1.0-or-later OR Artistic-1.0-Perl
2110

2211
##############################################################################
2312
# Modules and declarations
@@ -43,7 +32,7 @@ BEGIN {
4332

4433
@ISA = qw(Pod::Simple);
4534

46-
$VERSION = '4.10';
35+
$VERSION = '4.11';
4736

4837
# Set the debugging level. If someone has inserted a debug function into this
4938
# class already, use that. Otherwise, use any Pod::Simple debug function
@@ -140,6 +129,7 @@ sub new {
140129
$self->no_errata_section (0);
141130
$self->complain_stderr (0);
142131
} elsif ($$self{errors} eq 'none') {
132+
$self->no_errata_section (1);
143133
$self->no_whining (1);
144134
} else {
145135
croak (qq(Invalid errors setting: "$$self{errors}"));
@@ -1651,9 +1641,9 @@ sub preamble_template {
16511641
__END__
16521642
16531643
=for stopwords
1654-
en em ALLCAPS teeny fixedbold fixeditalic fixedbolditalic stderr utf8
1655-
UTF-8 Allbery Sean Burke Ossanna Solaris formatters troff uppercased
1656-
Christiansen nourls parsers Kernighan lquote rquote
1644+
en em ALLCAPS teeny fixedbold fixeditalic fixedbolditalic stderr utf8 UTF-8
1645+
Allbery Sean Burke Ossanna Solaris formatters troff uppercased Christiansen
1646+
nourls parsers Kernighan lquote rquote
16571647
16581648
=head1 NAME
16591649
@@ -2014,16 +2004,17 @@ only matters for troff output.
20142004
20152005
=head1 AUTHOR
20162006
2017-
Russ Allbery <rra@cpan.org>, based I<very> heavily on the original
2018-
B<pod2man> by Tom Christiansen <tchrist@mox.perl.com>. The modifications to
2019-
work with Pod::Simple instead of Pod::Parser were originally contributed by
2020-
Sean Burke (but I've since hacked them beyond recognition and all bugs are
2021-
mine).
2007+
Russ Allbery <rra@cpan.org>, based I<very> heavily on the original B<pod2man>
2008+
by Tom Christiansen <tchrist@mox.perl.com>. The modifications to work with
2009+
Pod::Simple instead of Pod::Parser were originally contributed by Sean Burke
2010+
<sburke@cpan.org> (but I've since hacked them beyond recognition and all bugs
2011+
are mine).
20222012
20232013
=head1 COPYRIGHT AND LICENSE
20242014
2025-
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
2026-
2009, 2010, 2012, 2013, 2014, 2015, 2016, 2017 Russ Allbery <rra@cpan.org>
2015+
Copyright 1999-2010, 2012-2018 Russ Allbery <rra@cpan.org>
2016+
2017+
Substantial contributions by Sean Burke <sburke@cpan.org>.
20272018
20282019
This program is free software; you may redistribute it and/or modify it
20292020
under the same terms as Perl itself.
@@ -2044,7 +2035,11 @@ documentation on writing manual pages if you've not done it before and
20442035
aren't familiar with the conventions.
20452036
20462037
The current version of this module is always available from its web site at
2047-
L<http://www.eyrie.org/~eagle/software/podlators/>. It is also part of the
2038+
L<https://www.eyrie.org/~eagle/software/podlators/>. It is also part of the
20482039
Perl core distribution as of 5.6.0.
20492040
20502041
=cut
2042+
2043+
# Local Variables:
2044+
# copyright-at-end-flag: t
2045+
# End:

cpan/podlators/lib/Pod/ParseLink.pm

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
1-
# Pod::ParseLink -- Parse an L<> formatting code in POD text.
2-
#
3-
# Copyright 2001, 2008, 2009, 2014 by Russ Allbery <rra@cpan.org>
4-
#
5-
# This program is free software; you may redistribute it and/or modify it
6-
# under the same terms as Perl itself.
1+
# Parse an L<> formatting code in POD text.
72
#
83
# This module implements parsing of the text of an L<> formatting code as
94
# defined in perlpodspec. It should be suitable for any POD formatter. It
105
# exports only one function, parselink(), which returns the five-item parse
116
# defined in perlpodspec.
127
#
13-
# Perl core hackers, please note that this module is also separately
14-
# maintained outside of the Perl core as part of the podlators. Please send
15-
# me any patches at the address above in addition to sending them to the
16-
# standard Perl mailing lists.
8+
# SPDX-License-Identifier: GPL-1.0-or-later OR Artistic-1.0-Perl
179

1810
##############################################################################
1911
# Modules and declarations
@@ -31,7 +23,7 @@ use Exporter;
3123
@ISA = qw(Exporter);
3224
@EXPORT = qw(parselink);
3325

34-
$VERSION = '4.10';
26+
$VERSION = '4.11';
3527

3628
##############################################################################
3729
# Implementation
@@ -114,13 +106,13 @@ sub parselink {
114106
1;
115107
__END__
116108
109+
=for stopwords
110+
markup Allbery URL
111+
117112
=head1 NAME
118113
119114
Pod::ParseLink - Parse an LE<lt>E<gt> formatting code in POD text
120115
121-
=for stopwords
122-
markup Allbery URL
123-
124116
=head1 SYNOPSIS
125117
126118
use Pod::ParseLink;
@@ -173,22 +165,26 @@ the section may be necessary depending on whether the translator wants to
173165
consider markup in sections to be significant when resolving links. See
174166
L<perlpodspec> for more information.
175167
176-
=head1 SEE ALSO
177-
178-
L<Pod::Parser>
179-
180-
The current version of this module is always available from its web site at
181-
L<http://www.eyrie.org/~eagle/software/podlators/>.
182-
183168
=head1 AUTHOR
184169
185170
Russ Allbery <rra@cpan.org>.
186171
187172
=head1 COPYRIGHT AND LICENSE
188173
189-
Copyright 2001, 2008, 2009 Russ Allbery <rra@cpan.org>.
174+
Copyright 2001, 2008, 2009, 2014, 2018 Russ Allbery <rra@cpan.org>
190175
191176
This program is free software; you may redistribute it and/or modify it
192177
under the same terms as Perl itself.
193178
179+
=head1 SEE ALSO
180+
181+
L<Pod::Parser>
182+
183+
The current version of this module is always available from its web site at
184+
L<https://www.eyrie.org/~eagle/software/podlators/>.
185+
194186
=cut
187+
188+
# Local Variables:
189+
# copyright-at-end-flag: t
190+
# End:

cpan/podlators/lib/Pod/Text.pm

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,7 @@
66
# seemed to produce better output. It uses Pod::Parser and is designed to be
77
# very easy to subclass.
88
#
9-
# Perl core hackers, please note that this module is also separately
10-
# maintained outside of the Perl core as part of the podlators. Please send
11-
# me any patches at the address above in addition to sending them to the
12-
# standard Perl mailing lists.
13-
#
14-
# Copyright 1999, 2000, 2001, 2002, 2004, 2006, 2008, 2009, 2012, 2013, 2014,
15-
# 2015, 2016 Russ Allbery <rra@cpan.org>
16-
#
17-
# This program is free software; you may redistribute it and/or modify it
18-
# under the same terms as Perl itself.
9+
# SPDX-License-Identifier: GPL-1.0-or-later OR Artistic-1.0-Perl
1910

2011
##############################################################################
2112
# Modules and declarations
@@ -39,7 +30,7 @@ use Pod::Simple ();
3930
# We have to export pod2text for backward compatibility.
4031
@EXPORT = qw(pod2text);
4132

42-
$VERSION = '4.10';
33+
$VERSION = '4.11';
4334

4435
# Ensure that $Pod::Simple::nbsp and $Pod::Simple::shy are available. Code
4536
# taken from Pod::Simple 3.32, but was only added in 3.30.
@@ -126,6 +117,7 @@ sub new {
126117
$self->no_errata_section (0);
127118
$self->complain_stderr (0);
128119
} elsif ($$self{opt_errors} eq 'none') {
120+
$self->no_errata_section (1);
129121
$self->no_whining (1);
130122
} else {
131123
croak (qq(Invalid errors setting: "$$self{errors}"));
@@ -790,7 +782,7 @@ Pod::Text - Convert POD data to formatted text
790782
=head1 SYNOPSIS
791783
792784
use Pod::Text;
793-
my $parser = Pod::Text->new (sentence => 0, width => 78);
785+
my $parser = Pod::Text->new (sentence => 1, width => 78);
794786
795787
# Read POD from STDIN and write to STDOUT.
796788
$parser->parse_from_filehandle;
@@ -888,7 +880,7 @@ marks are added around CE<lt>> text.
888880
If set to a true value, Pod::Text will assume that each sentence ends in two
889881
spaces, and will try to preserve that spacing. If set to false, all
890882
consecutive whitespace in non-verbatim paragraphs is compressed into a
891-
single space. Defaults to true.
883+
single space. Defaults to false.
892884
893885
=item stderr
894886
@@ -1004,14 +996,6 @@ sequences, although it wasn't turned on by default and it was problematic to
1004996
get it to work at all. This rewrite doesn't even try to do that, but a
1005997
subclass of it does. Look for L<Pod::Text::Termcap>.
1006998
1007-
=head1 SEE ALSO
1008-
1009-
L<Pod::Simple>, L<Pod::Text::Termcap>, L<perlpod(1)>, L<pod2text(1)>
1010-
1011-
The current version of this module is always available from its web site at
1012-
L<http://www.eyrie.org/~eagle/software/podlators/>. It is also part of the
1013-
Perl core distribution as of 5.6.0.
1014-
1015999
=head1 AUTHOR
10161000
10171001
Russ Allbery <rra@cpan.org>, based I<very> heavily on the original
@@ -1022,10 +1006,22 @@ how to use Pod::Simple.
10221006
10231007
=head1 COPYRIGHT AND LICENSE
10241008
1025-
Copyright 1999, 2000, 2001, 2002, 2004, 2006, 2008, 2009, 2012, 2013, 2014,
1026-
2015, 2016 Russ Allbery <rra@cpan.org>
1009+
Copyright 1999-2002, 2004, 2006, 2008-2009, 2012-2016, 2018 Russ Allbery
1010+
<rra@cpan.org>
10271011
10281012
This program is free software; you may redistribute it and/or modify it
10291013
under the same terms as Perl itself.
10301014
1015+
=head1 SEE ALSO
1016+
1017+
L<Pod::Simple>, L<Pod::Text::Termcap>, L<perlpod(1)>, L<pod2text(1)>
1018+
1019+
The current version of this module is always available from its web site at
1020+
L<https://www.eyrie.org/~eagle/software/podlators/>. It is also part of the
1021+
Perl core distribution as of 5.6.0.
1022+
10311023
=cut
1024+
1025+
# Local Variables:
1026+
# copyright-at-end-flag: t
1027+
# End:

0 commit comments

Comments
 (0)