This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
11 years agouni/parser.t: Fix eval num in test
Father Chrysostomos [Thu, 22 Mar 2012 05:34:13 +0000 (22:34 -0700)]
uni/parser.t: Fix eval num in test

11 years agotoke.c: 'You need to quote %s' cleanup.
Brian Fraser [Sat, 6 Aug 2011 07:05:16 +0000 (08:05 +0100)]
toke.c: 'You need to quote %s' cleanup.

11 years agotoke.c: 'Unrecognized character' croak cleanup.
Brian Fraser [Sat, 6 Aug 2011 06:55:06 +0000 (07:55 +0100)]
toke.c: 'Unrecognized character' croak cleanup.

11 years agotoke.c: S_no_op cleanup
Brian Fraser [Sat, 6 Aug 2011 05:16:29 +0000 (06:16 +0100)]
toke.c: S_no_op cleanup

11 years agoRemove yyerror_sv
Father Chrysostomos [Thu, 22 Mar 2012 00:55:19 +0000 (17:55 -0700)]
Remove yyerror_sv

This was added in the previous commit, but was unnecessary, as it
is not used anywhere and is not part of the public API.

11 years agotoke.c: yyerror cleanup.
Brian Fraser [Fri, 5 Aug 2011 18:46:14 +0000 (15:46 -0300)]
toke.c: yyerror cleanup.

11 years agoDocument where to find the perlorg repository.
Abigail [Wed, 21 Mar 2012 16:35:13 +0000 (17:35 +0100)]
Document where to find the perlorg repository.

11 years agoAdd link to the announcement of Perl 5.15.9.
Abigail [Wed, 21 Mar 2012 11:28:35 +0000 (12:28 +0100)]
Add link to the announcement of Perl 5.15.9.

Also, indent the epigraph of Perl 5.15.9, to prevent the text to be
formatted.

11 years agoCreate a perldelta for 5.15.9
Abigail [Tue, 20 Mar 2012 20:07:59 +0000 (21:07 +0100)]
Create a perldelta for 5.15.9

11 years agoEpigraph for v5.15.9
Abigail [Tue, 20 Mar 2012 19:44:06 +0000 (20:44 +0100)]
Epigraph for v5.15.9

11 years agoTypo fix
Abigail [Tue, 20 Mar 2012 19:39:17 +0000 (20:39 +0100)]
Typo fix

11 years agoClearify "build, test and check a fresh perl" instructions v5.15.9
Abigail [Tue, 20 Mar 2012 16:03:30 +0000 (17:03 +0100)]
Clearify "build, test and check a fresh perl" instructions

11 years agoAdd 5.15.9 release to perlhist.pod
Abigail [Tue, 20 Mar 2012 15:21:23 +0000 (16:21 +0100)]
Add 5.15.9 release to perlhist.pod

11 years agoWork around an HTML display issue
Abigail [Tue, 20 Mar 2012 15:13:55 +0000 (16:13 +0100)]
Work around an HTML display issue

11 years agoFinal version of Module::CoreList is 2.65.
Abigail [Tue, 20 Mar 2012 14:50:00 +0000 (15:50 +0100)]
Final version of Module::CoreList is 2.65.

11 years agoClearify that perl can crash, not Windows
Abigail [Tue, 20 Mar 2012 14:13:55 +0000 (15:13 +0100)]
Clearify that perl can crash, not Windows

11 years agoSay "warnings" instead of "errors"
Abigail [Tue, 20 Mar 2012 14:12:38 +0000 (15:12 +0100)]
Say "warnings" instead of "errors"

11 years agoRemoved the changes to Term::ReadLine from the bug fixes section.
Abigail [Tue, 20 Mar 2012 14:09:49 +0000 (15:09 +0100)]
Removed the changes to Term::ReadLine from the bug fixes section.

And added a line to the module upgrades section.

11 years agoFix typo in pod/perldelta
Abigail [Tue, 20 Mar 2012 12:31:35 +0000 (13:31 +0100)]
Fix typo in pod/perldelta

11 years agoReran Porting/acknowledgements.pl
Abigail [Tue, 20 Mar 2012 12:27:21 +0000 (13:27 +0100)]
Reran Porting/acknowledgements.pl

11 years agoList 5.16 blockers in 'Known Problems' in perldelta
Abigail [Tue, 20 Mar 2012 12:24:00 +0000 (13:24 +0100)]
List 5.16 blockers in 'Known Problems' in perldelta

11 years agoyes, regression fixes are generally okay for maint
Ricardo Signes [Tue, 20 Mar 2012 12:00:38 +0000 (08:00 -0400)]
yes, regression fixes are generally okay for maint

11 years agoGet the ABSTRACT for Module-CoreList from the .pod file now
Chris 'BinGOs' Williams [Tue, 20 Mar 2012 11:12:34 +0000 (11:12 +0000)]
Get the ABSTRACT for Module-CoreList from the .pod file now

11 years agocorrect logic error that meant that "last" might not be updated properly
Yves Orton [Mon, 19 Mar 2012 23:52:46 +0000 (00:52 +0100)]
correct logic error that meant that "last" might not be updated properly

While checking into an unrelated issue I realized "last" might not
be reset under certain circumstances. Although I could not find a way
to make anything bad happen from perl, I decided to fix it, at worst
we waste a few CPU cycles setting "last" to NULL more often than we
should.

11 years ago[RT #111842] prevent TRIE overwriting EXACT following NOTHING at start
Yves Orton [Mon, 19 Mar 2012 23:46:45 +0000 (00:46 +0100)]
[RT #111842] prevent TRIE overwriting EXACT following NOTHING at start

Fixes RT #111842. Example:

    "x" =~ /\A(?>(?:(?:)A|B|C?x))\z/

Should match, but didn't due to allowing NOTHING to start a sequence.
See comment in patch for details.

This also changes a test to no longer be TODO, and improves the test
name to explain its purpose.

11 years agoDocument the TRIE changes in perldelta
Abigail [Tue, 20 Mar 2012 10:13:39 +0000 (11:13 +0100)]
Document the TRIE changes in perldelta

11 years agoChanged email adress & fixed name for Mark Fisher.
Abigail [Tue, 20 Mar 2012 09:28:38 +0000 (10:28 +0100)]
Changed email adress & fixed name for Mark Fisher.

As requested in
<CAMLAAiJK6-AsGYKMtt_W9E_7=R-+hhfC1ten3ZwMcsPgfmYqtg@mail.gmail.com>

11 years agoDocument upgrade of lib/charnames.
Abigail [Tue, 20 Mar 2012 09:15:36 +0000 (10:15 +0100)]
Document upgrade of lib/charnames.

Changed Module::Corelist and perldelta.pod

11 years agocharnames: Clarify viacode pod
Karl Williamson [Tue, 20 Mar 2012 05:15:07 +0000 (23:15 -0600)]
charnames: Clarify viacode pod

This mentions that viacode's return can change as a result of
corrections to the Unicode standard.

11 years agocharnames pod: slight rewording
Karl Williamson [Tue, 20 Mar 2012 05:14:28 +0000 (23:14 -0600)]
charnames pod: slight rewording

11 years agocharnames: re-order pod sections
Karl Williamson [Tue, 20 Mar 2012 04:10:18 +0000 (22:10 -0600)]
charnames: re-order pod sections

This merely moves one =head1 section to later in the pod, so that future
changes will make more sense; and it has to bump the version.

11 years agoFix spelling errors in pod/perldelta.pod
Abigail [Tue, 20 Mar 2012 02:05:46 +0000 (03:05 +0100)]
Fix spelling errors in pod/perldelta.pod

11 years agoDocument new versions of Data::Dumper and XS::APItest.
Abigail [Tue, 20 Mar 2012 01:48:29 +0000 (02:48 +0100)]
Document new versions of Data::Dumper and XS::APItest.

Updated Module::CoreList and perldelta to reflect the changes.

11 years ago5160delta: Note that feasible to remain on Unicode 6.0
Karl Williamson [Tue, 20 Mar 2012 00:49:46 +0000 (18:49 -0600)]
5160delta: Note that feasible to remain on Unicode 6.0

11 years agoPaste in the output of Porting/corelist-perldelta.pl
Abigail [Tue, 20 Mar 2012 00:41:52 +0000 (01:41 +0100)]
Paste in the output of Porting/corelist-perldelta.pl

- Manually added feature.
- Data::Dumper was upgraded while working on this; so we'll have to
  redo the corelist, and adjust the "Updated Modules and Pragmata"
  section.

11 years agoDeprecate utf8_to_uvchr() and utf8_to_uvuni()
Karl Williamson [Mon, 19 Mar 2012 22:31:18 +0000 (16:31 -0600)]
Deprecate utf8_to_uvchr() and utf8_to_uvuni()

These functions can read beyond the end of their input strings if
presented with malformed UTF-8 input.  Perl core code has been converted
to use other functions instead of these.

11 years agoUse the new utf8 to code point functions
Karl Williamson [Mon, 19 Mar 2012 21:38:06 +0000 (15:38 -0600)]
Use the new utf8 to code point functions

These functions should be used in preference to the old ones which can
read beyond the end of the input string.

11 years agoutf8.c: Add valid_utf8_to_uvuni() and valid_utf8_to_uvchr()
Karl Williamson [Mon, 19 Mar 2012 21:13:19 +0000 (15:13 -0600)]
utf8.c: Add valid_utf8_to_uvuni() and valid_utf8_to_uvchr()

These functions are like utf8_to_uvuni() and utf8_to_uvchr(), but their
name implies that the input UTF-8 has been validated.

They are not currently documented, as it's best for XS writers to call
the functions that do validation.

11 years agoutf8.c: Add utf8_to_uvchr_buf() and utf8_to_uvuni_buf()
Karl Williamson [Mon, 19 Mar 2012 21:03:01 +0000 (15:03 -0600)]
utf8.c: Add utf8_to_uvchr_buf() and utf8_to_uvuni_buf()

The existing functions (utf8_to_uvchr and utf8_to_uvuni) have a
deficiency in that they could read beyond the end of the input string if
given malformed input.  This commit creates two new functions which
behave as the old ones did, but have an extra parameter each, which
gives the upper limit to the string, so no read beyond it is done.

11 years agoutf8.c: pod clarification
Karl Williamson [Mon, 19 Mar 2012 20:48:51 +0000 (14:48 -0600)]
utf8.c: pod clarification

11 years agoutf8.c: pod (mostly formatting) + comments changes
Karl Williamson [Mon, 19 Mar 2012 19:48:58 +0000 (13:48 -0600)]
utf8.c: pod (mostly formatting) + comments changes

11 years agoperlapi (from sv.h) clarifications
Karl Williamson [Mon, 19 Mar 2012 19:21:26 +0000 (13:21 -0600)]
perlapi (from sv.h) clarifications

11 years agoautodoc.pl: pod format fix
Karl Williamson [Mon, 19 Mar 2012 19:01:11 +0000 (13:01 -0600)]
autodoc.pl: pod format fix

11 years agoperlguts, warnings.t: Update references to obsolete fcn names
Karl Williamson [Mon, 19 Mar 2012 16:52:25 +0000 (10:52 -0600)]
perlguts, warnings.t: Update references to obsolete fcn names

These functions were replaced long ago, apparently in 5.8, but I didn't
verify that for sure.

11 years agoperldelta: clarification
Karl Williamson [Mon, 19 Mar 2012 16:44:08 +0000 (10:44 -0600)]
perldelta: clarification

11 years agoUpdate Module::CoreList for 5.15.9
Abigail [Mon, 19 Mar 2012 23:43:04 +0000 (00:43 +0100)]
Update Module::CoreList for 5.15.9

11 years agoPoint out CoreList's CAVEATS section is in CoreList.pod
Abigail [Mon, 19 Mar 2012 23:39:21 +0000 (00:39 +0100)]
Point out CoreList's CAVEATS section is in CoreList.pod

Fix the git commit line as well.

11 years agoEliminate a warning
Abigail [Mon, 19 Mar 2012 23:14:24 +0000 (00:14 +0100)]
Eliminate a warning

11 years agomktables: white-space only
Karl Williamson [Fri, 16 Mar 2012 17:01:21 +0000 (11:01 -0600)]
mktables: white-space only

This outdents code to line up vertically with surrounding text

11 years agomktables: Backport name_alias changes to earlier Unicode versions
Karl Williamson [Fri, 16 Mar 2012 16:54:24 +0000 (10:54 -0600)]
mktables: Backport name_alias changes to earlier Unicode versions

This allow mktables to be compiled for earlier Unicode versions and
work for them.

11 years agomktables: Don't duplicate entries
Karl Williamson [Fri, 16 Mar 2012 19:12:49 +0000 (13:12 -0600)]
mktables: Don't duplicate entries

The Name table can have multiple names for each code point.  The highest
priority ones are first in the file.  Prior to this patch, adding a
high priority name to a code point which already had the same name, the
old name could be retained, leaving two identical names for the code
point.  This patch causes the lower-priority one to be deleted.

11 years agomktables: A leading zero is different than an only 0
Karl Williamson [Sun, 11 Mar 2012 22:46:18 +0000 (16:46 -0600)]
mktables: A leading zero is different than an only 0

Commit b91749bce0ff3d86c6e210a0b35289b4ad36c144 assumed that a single
0 was a leading 0.  This inappropriately makes a table appear to be hex
when it isn't.  This currently affects the kPrimaryNumeric property
which is part of the Unihan database, and is not normally generated by
mktables; it is generated only if an installation decides they want
to compile Perl to use the Unihan properties.

11 years agoUnicode::UCD::prop_invmap: Fix returned format
Karl Williamson [Tue, 6 Mar 2012 17:39:15 +0000 (10:39 -0700)]
Unicode::UCD::prop_invmap: Fix returned format

The type of an 'a' table should not be changed to 's'.  This bug
happened currently only if someone changed mktables to output one of the
optional files.

11 years agoUnicode::UCD: typos in error messages
Karl Williamson [Tue, 6 Mar 2012 17:37:37 +0000 (10:37 -0700)]
Unicode::UCD: typos in error messages

These concatenated the package name with the beginning of the text with
no intervening punctuation.  Add also the function within the package

11 years agomktables: Add required parens and reword warning msg
Karl Williamson [Wed, 29 Feb 2012 18:15:17 +0000 (11:15 -0700)]
mktables: Add required parens and reword warning msg

Should this message ever get triggered, it would fail because the
precedence is wrong: the argument to hex needs parens.  Also reword
somewhat for clarity.

11 years agopat.t: Fix typo in comment
Karl Williamson [Wed, 29 Feb 2012 18:04:59 +0000 (11:04 -0700)]
pat.t: Fix typo in comment

11 years agoBump the perl version in various places for 5.15.9
Abigail [Mon, 19 Mar 2012 22:49:34 +0000 (23:49 +0100)]
Bump the perl version in various places for 5.15.9

11 years agoMore perldelta work.
Abigail [Mon, 19 Mar 2012 21:18:15 +0000 (22:18 +0100)]
More perldelta work.

11 years agoMention the fix to perlfunc.html in "Configuration and Compilation" as well.
Abigail [Mon, 19 Mar 2012 21:04:14 +0000 (22:04 +0100)]
Mention the fix to perlfunc.html in "Configuration and Compilation" as well.

Also, fix the spelling of html.

11 years agoNote in the source of perlhist.pod that "cow orker" is no typo.
Nicholas Clark [Mon, 19 Mar 2012 13:43:15 +0000 (14:43 +0100)]
Note in the source of perlhist.pod that "cow orker" is no typo.

This won't change the rendered pod, but will clarify to anyone thinking to
patch the "mistake" that the seeming typo is intentional.

11 years agoMention Porting/bisect.pl in perlgit.pod, before describing git bisect.
Nicholas Clark [Mon, 19 Mar 2012 13:22:32 +0000 (14:22 +0100)]
Mention Porting/bisect.pl in perlgit.pod, before describing git bisect.

Porting/bisect.pl is intended to cover 90% of use cases, whilst being simpler
to use than git bisect, so mention it first. Condense the description of
git bisect slightly - it's giving implementation details which duplicate
git help bisect, which we already refer the reader to.

11 years agoAdd two missing "file"s to the documentation of Porting/bisect.pl
Nicholas Clark [Mon, 19 Mar 2012 12:58:47 +0000 (13:58 +0100)]
Add two missing "file"s to the documentation of Porting/bisect.pl

11 years agoMove the example git bisect shell script from perlgit.pod to Porting/
Nicholas Clark [Mon, 19 Mar 2012 12:27:28 +0000 (13:27 +0100)]
Move the example git bisect shell script from perlgit.pod to Porting/

This both avoids cluttering the flow of manpage with auxiliary data, and
saves the user from having to extract the script from within the pod file.

11 years agobisect-runner.pl should detect ccache with -V, not --version
Nicholas Clark [Mon, 19 Mar 2012 11:48:31 +0000 (12:48 +0100)]
bisect-runner.pl should detect ccache with -V, not --version

ccache 2.4 doesn't support the --version parameter, only -V. ccache 3
supports both.

11 years agoAdd a placeholder man page for perltodo, directing people to look at git.
Nicholas Clark [Mon, 19 Mar 2012 11:18:18 +0000 (12:18 +0100)]
Add a placeholder man page for perltodo, directing people to look at git.

(Done as a second commit to avoid confusing git's rename detection.)

11 years agoMove the todo list from pod/ to Porting/
Nicholas Clark [Mon, 19 Mar 2012 10:42:15 +0000 (11:42 +0100)]
Move the todo list from pod/ to Porting/

Installing the Perl 5 to-do list as a manpage isn't that useful to anyone, as
it's a snapshot that becomes increasingly out of date. Much better to point
anyone interested in contributing direct to git HEAD, to view the current list.

11 years agoAdd a TODO test for RT 111842
Abigail [Mon, 19 Mar 2012 16:16:21 +0000 (17:16 +0100)]
Add a TODO test for RT 111842

11 years agoBail out if it looks scary.
Abigail [Mon, 19 Mar 2012 13:40:02 +0000 (14:40 +0100)]
Bail out if it looks scary.

Porting/sync-with-cpan hasn't automated all situations yet. In particular,
it assumes the FILE entry has just one element, and that element is a
directory. It also does not know what to do with MAP. If we determine
this situation, we terminate the program before making any changes.
Although there's the --force option for the braves.

11 years agoDon't remove --tarball
Abigail [Mon, 19 Mar 2012 13:26:12 +0000 (14:26 +0100)]
Don't remove --tarball

By default, the script removes the tarball of the new distributions.
However, if the --tarball option was given (and hence, the file was not
downloaded from CPAN), we opt to keep this file around.

11 years agoUse #!/usr/bin/env
Abigail [Mon, 19 Mar 2012 13:23:12 +0000 (14:23 +0100)]
Use #!/usr/bin/env

/usr/bin/perl on dromedary is 5.8.8; but the script requires 5.10.
By using #!/usr/bin/env, we give the user more control over which perl
should be used. (And this benefits not just dromedary usesr)

11 years agoMore work on perldelta
Abigail [Mon, 19 Mar 2012 10:14:15 +0000 (11:14 +0100)]
More work on perldelta

11 years agoMerge the feature and B::Deparse refactoring to blead.
Nicholas Clark [Mon, 19 Mar 2012 09:30:34 +0000 (10:30 +0100)]
Merge the feature and B::Deparse refactoring to blead.

11 years agoNote the improvements to B::Deparse and feature in perldelta.
Nicholas Clark [Mon, 19 Mar 2012 09:29:48 +0000 (10:29 +0100)]
Note the improvements to B::Deparse and feature in perldelta.

11 years agoIn feature.pm, inline current_bundle() into __common(), its only caller.
Nicholas Clark [Tue, 28 Feb 2012 22:54:10 +0000 (23:54 +0100)]
In feature.pm, inline current_bundle() into __common(), its only caller.

current_bundle() was added after 5.14.0 was released, so has never been in
a stable release. Hence it's totally safe to kill it.

11 years agoIn feature.pm, inline normalise_hints() into __common(), its only caller.
Nicholas Clark [Mon, 27 Feb 2012 17:33:08 +0000 (18:33 +0100)]
In feature.pm, inline normalise_hints() into __common(), its only caller.

normalise_hints() was added after 5.14.0 was released, so has never been in
a stable release. Hence it's totally safe to kill it.

11 years agoMerge the code common to feature::import and feature::unimport.
Nicholas Clark [Mon, 27 Feb 2012 17:24:57 +0000 (18:24 +0100)]
Merge the code common to feature::import and feature::unimport.

11 years agoIn feature.pm, use a consistent code style in import() and unimport().
Nicholas Clark [Mon, 27 Feb 2012 16:57:54 +0000 (17:57 +0100)]
In feature.pm, use a consistent code style in import() and unimport().

There were a couple of inconsistencies (shift with/without an explicit @_,
exists with/without(), !@_ vs @_ == 0) which turn out to date back to
before 5.10.0

Also fix an inadvertent use of a single element array slice with a simple
array lookup in current_bundle().

11 years agoIn B::Deparse::_features_from_bundle(), don't call feature::current_bundle()
Nicholas Clark [Tue, 28 Feb 2012 22:30:30 +0000 (23:30 +0100)]
In B::Deparse::_features_from_bundle(), don't call feature::current_bundle()

Instead, directly access feature's package variables, as B::Deparse already
does in 14 other places. (It also has its tentacles firmly into strict
and warning's package variables - it's not fussy)

feature::current_bundle() was not part of the documented API of feature
either, so B::Deparse wasn't clean previously.

11 years agoIn Deparse, use $feature::hint_mask directly, instead of copying its value.
Nicholas Clark [Tue, 28 Feb 2012 10:11:02 +0000 (11:11 +0100)]
In Deparse, use $feature::hint_mask directly, instead of copying its value.

Also, require feature unconditionally.

Deparse already directly uses data from feature, switch and warnings, so
this isn't a new trend in encapsulation breakage. Previously Deparse copied
the value of $feature::hint_mask, and lazily loaded require in 4 places.

11 years agoIn B::Deparse, refactor common code into _features_from_bundle().
Nicholas Clark [Tue, 28 Feb 2012 22:09:02 +0000 (23:09 +0100)]
In B::Deparse, refactor common code into _features_from_bundle().

11 years agoIn B::Deparse, refactor the two places that feature::current_bundle()
Nicholas Clark [Tue, 28 Feb 2012 21:57:31 +0000 (22:57 +0100)]
In B::Deparse, refactor the two places that feature::current_bundle()

Converge the code, so that it's easy to extract out into a subroutine.

11 years agoFix regression in deparsing say (etc) under use 5.10.0
Nicholas Clark [Tue, 28 Feb 2012 16:32:08 +0000 (17:32 +0100)]
Fix regression in deparsing say (etc) under use 5.10.0

Commit 6634bb9d0ed117be introduced a regression, causing this

    use 5.10.0;
    say "Perl rules";

to be deparsed as C<CORE::say>, not C<say>, etc. It wasn't actually possible
to write tests for this within the t/deparse.t framework until the recent
refactoring.

11 years agoAdd tests for deparsing C<say> under various combinations of pragmas.
Nicholas Clark [Tue, 28 Feb 2012 15:44:51 +0000 (16:44 +0100)]
Add tests for deparsing C<say> under various combinations of pragmas.

These mostly codify the current output of B::Deparse, which is not invalid,
but might not be considered to be the optimal output. (It's defensive, in
that it uses C<no feature;> which will ensure consistent behaviour whatever
pragma context the output is evaluated in.)

Some are TODO for the cases where B::Deparse is wrongly outputting
C<CORE::say> instead of plain C<say> and C<CORE::__SUB__> instead of plain
C<__SUB__>.

11 years agoAvoid deparse.t testing everything under use feature ':5.10'
Nicholas Clark [Tue, 28 Feb 2012 13:00:56 +0000 (14:00 +0100)]
Avoid deparse.t testing everything under use feature ':5.10'

Only use feature ':5.10' in those tests that actually need it. This will let
us add tests for deparsing without any features enabled.

11 years agoAdd a 'context' feature to deparse.t, to better test ambient pragmas.
Nicholas Clark [Tue, 28 Feb 2012 12:49:18 +0000 (13:49 +0100)]
Add a 'context' feature to deparse.t, to better test ambient pragmas.

Call ambient_pragmas() before each deparse test. This will allow use to remove
the constraints of the current default, which is to always run under
use feature ":5.10";

11 years agoIn deparse.t, rename %reason to %meta.
Nicholas Clark [Tue, 28 Feb 2012 11:43:02 +0000 (12:43 +0100)]
In deparse.t, rename %reason to %meta.

Whilst skip and todo both have "reason"s, subsequent refactoring will use it
for other purposes.

11 years agoNote in perldelta that C<no feature;> now means reset to default.
Nicholas Clark [Mon, 19 Mar 2012 09:20:42 +0000 (10:20 +0100)]
Note in perldelta that C<no feature;> now means reset to default.

The behaviour was changed with commit 39ec54a59ce332fc.

11 years agoRetry first shot at perldelta.pod.
Abigail [Mon, 19 Mar 2012 02:20:09 +0000 (03:20 +0100)]
Retry first shot at perldelta.pod.

Documents the differences between 5.15.8 and 5.15.9.

11 years agoUpdate Pod::Perldoc to version 3.17
Abigail [Sun, 18 Mar 2012 23:53:14 +0000 (00:53 +0100)]
Update Pod::Perldoc to version 3.17

11 years agoAdd a --tarball option
Abigail [Sun, 18 Mar 2012 23:51:14 +0000 (00:51 +0100)]
Add a --tarball option

This allows to do the cpan/ upgrade without having to contact CPAN.
For instance, from dromedary, it seems to be impossible to fetch
files from CPAN. With the --tarball option, you can pass the location
of the tarball, and this will used instead of fetching it automatically
from CPAN.

11 years agoSome backslashes turn out not to be always there.
Abigail [Sun, 18 Mar 2012 22:36:42 +0000 (23:36 +0100)]
Some backslashes turn out not to be always there.

11 years agoFix a cut-and-paste error
Abigail [Sun, 18 Mar 2012 22:36:03 +0000 (23:36 +0100)]
Fix a cut-and-paste error

11 years agoRevert "First shot at perl5159delta.pod"
Abigail [Sun, 18 Mar 2012 22:32:17 +0000 (23:32 +0100)]
Revert "First shot at perl5159delta.pod"

This reverts commit 21ffc8459b739cc13a32f22a2edb7be485a062e0.

Until I can figure out how to add a new perldelta and make all tests pass.

11 years agoRevert "Paste in the output of Porting/acknowledgements.pl in pod/perl5159delta.pod"
Abigail [Sun, 18 Mar 2012 22:31:28 +0000 (23:31 +0100)]
Revert "Paste in the output of Porting/acknowledgements.pl in pod/perl5159delta.pod"

This reverts commit 98f0737d71a92167bf1aace8a8d8411b985e3200.

Until I can figure out how to add a new perldelta and make all tests pass.

11 years agoPaste in the output of Porting/acknowledgements.pl in pod/perl5159delta.pod
Abigail [Sun, 18 Mar 2012 17:26:59 +0000 (18:26 +0100)]
Paste in the output of Porting/acknowledgements.pl in pod/perl5159delta.pod

11 years agoAttempt to find an author if (s)he comes via RT.
Abigail [Sun, 18 Mar 2012 17:24:23 +0000 (18:24 +0100)]
Attempt to find an author if (s)he comes via RT.

In the case of commits, it maybe that the reporter used RT, which results
in a generic RT email address. Instead of just reporting the author as '!',
we'll do an attempt to see whether he's named in the AUTHORS file.

11 years agoFirst shot at perl5159delta.pod
Abigail [Sun, 18 Mar 2012 16:20:03 +0000 (17:20 +0100)]
First shot at perl5159delta.pod

11 years agoUpdate CPANPLUS to CPAN version 0.9121
Chris 'BinGOs' Williams [Sat, 17 Mar 2012 23:50:17 +0000 (23:50 +0000)]
Update CPANPLUS to CPAN version 0.9121

This resolves a regression introduced with v0.9109
which was included with perl version v5.15.2 and is
therefore a regression since v5.14.x

  [DELTA]

  Changes for 0.9121      Sat Mar 17 23:23:42 2012
  ================================================
  * Resolved a regression with dev '_' version
    numbers since 0.9109

11 years agoIn S_parse_body(), don't "leak" linestr_sv until global destruction.
Nicholas Clark [Sat, 25 Feb 2012 23:22:41 +0000 (00:22 +0100)]
In S_parse_body(), don't "leak" linestr_sv until global destruction.

This commit ensures that linestr_sv is properly cleaned up, if allocated.

The local variable linestr_sv was added by commit 009d90df4e17a415 in 2007,
to replace use of PL_linestr in S_parse_body(). However, that commit didn't
add any code to free linestr_sv at the end of S_parse_body(), meaning that
the SV sticks around until global destruction.

Subsequent code simplification possible by the removal of suidperl reveals
that linestr_sv is only needed for the '-x' option, so it's safe to avoid
allocating it up front. Additionally, during '-x' processing, Perl_sv_gets()
will upgrade the target SV to SVt_PV and allocate the string buffer as needed,
so there's no need to pre-upgrade or pre-allocate the SV in S_parse_body().
This slightly reduces the amount of code.

11 years agoRemove all the never used parameters from the macro validate_suid()
Nicholas Clark [Sat, 25 Feb 2012 22:50:49 +0000 (23:50 +0100)]
Remove all the never used parameters from the macro validate_suid()

Several parameters are unused in either remaining variant of the
validate_suid() macro. The two variants which used the extra parameters
were removed with suidperl by commit cc69b689ee7c2745 in Jan 2009.