3 months agoupdate perldelta acknowledgements v5.21.0
Ricardo Signes [Tue, 27 May 2014 14:02:21 +0000]
update perldelta acknowledgements

3 months agoPackage::Constants is a legitimate module name, not a broken link.
Nicholas Clark [Tue, 27 May 2014 14:00:46 +0000]
Package::Constants is a legitimate module name, not a broken link.

3 months agofix version in autogenerated acknowledgements
Ricardo Signes [Tue, 27 May 2014 13:22:23 +0000]
fix version in autogenerated acknowledgements

3 months agoupdate perldelta for 5.21.0
Ricardo Signes [Tue, 27 May 2014 13:16:34 +0000]
update perldelta for 5.21.0

3 months agoupdate corelist for 5.21.0
Ricardo Signes [Tue, 27 May 2014 13:04:02 +0000]
update corelist for 5.21.0

3 months agomatch Module::CoreList version to perl version
Ricardo Signes [Tue, 27 May 2014 12:59:29 +0000]
match Module::CoreList version to perl version

3 months agoremove Package-Constants from core perl distribution
Ricardo Signes [Tue, 27 May 2014 12:43:36 +0000]
remove Package-Constants from core perl distribution

3 months agoremove Module-Build from core perl distribution
Ricardo Signes [Tue, 27 May 2014 12:18:37 +0000]
remove Module-Build from core perl distribution

3 months agoremove CGI.pm from core perl distribution
Ricardo Signes [Tue, 27 May 2014 11:56:59 +0000]
remove CGI.pm from core perl distribution

3 months agoadd the 5.20.0 release epigraph
Ricardo Signes [Tue, 27 May 2014 11:43:09 +0000]
add the 5.20.0 release epigraph

3 months agodo the version bumping and associated 5.21.0-ification
Ricardo Signes [Tue, 27 May 2014 03:46:51 +0000]
do the version bumping and associated 5.21.0-ification

3 months agoregen META.json
Ricardo Signes [Tue, 27 May 2014 02:18:02 +0000]
regen META.json

3 months agoadd 5.21.0 to corelist, bump version
Ricardo Signes [Tue, 27 May 2014 02:09:13 +0000]
add 5.21.0 to corelist, bump version

3 months agoadd a 5.21 feature bundle
Ricardo Signes [Tue, 27 May 2014 02:03:02 +0000]
add a 5.21 feature bundle

3 months agonew perldelta
Ricardo Signes [Tue, 27 May 2014 01:56:15 +0000]
new perldelta

3 months agobump version to 5.21.0
Ricardo Signes [Tue, 27 May 2014 01:52:10 +0000]
bump version to 5.21.0

3 months agoskip RC tags when checking versions diffs v5.20.0
Graham Knop [Sat, 21 Dec 2013 23:08:12 +0000]
skip RC tags when checking versions diffs

3 months agoupdate v5.20.0 release date in Module::CoreList
Ricardo Signes [Mon, 26 May 2014 13:19:45 +0000]
update v5.20.0 release date in Module::CoreList

3 months agoupdate v5.20.0 release date in perlhist
Ricardo Signes [Mon, 26 May 2014 13:19:33 +0000]
update v5.20.0 release date in perlhist

3 months agopatchlevel: we are a release candidate no more!
Ricardo Signes [Mon, 26 May 2014 12:45:08 +0000]
patchlevel: we are a release candidate no more!

3 months agoObituary for Greg McCarroll.
Nicholas Clark [Sun, 25 May 2014 20:35:44 +0000]
Obituary for Greg McCarroll.

3 months agoRemove note of test failures on FAT that were fixed by perl #21442's fixes
Steve Hay [Sat, 24 May 2014 13:25:14 +0000]
Remove note of test failures on FAT that were fixed by perl #21442's fixes

The list of tests fixed doesn't exactly match the list in README.win32, but
all tests now pass when building/testing on FAT with the Windows OS on NTFS.

3 months agoUpdate PathTools version in Porting
Steffen Mueller [Fri, 23 May 2014 17:00:48 +0000]
Update PathTools version in Porting

3 months agoDocument known test failure in www.mingw.org builds of gcc-4.8.1 (at least)
Steve Hay [Fri, 23 May 2014 08:12:37 +0000]
Document known test failure in mingw.org builds of gcc-4.8.1 (at least)

This came up in perl #121643, but I forgot to add a note of this Known
Problem.

3 months agoNote that the minimum supported gcc (on Windows) is 3.4.5
Steve Hay [Thu, 22 May 2014 07:24:47 +0000]
Note that the minimum supported gcc (on Windows) is 3.4.5

Earlier versions (from www.mingw.org, at least) will build perl, but have
a linker bug that causes various tests to fail due to problems with
SDBM_File.dll. See perl #121936 for details.

3 months agoAdd notice for removal of find2perl, s2p and a2p
Leon Timmermans [Wed, 21 May 2014 13:16:02 +0000]
Add notice for removal of find2perl, s2p and a2p

3 months agoperldelta: Note patch fixed a bunch of tickets
Karl Williamson [Mon, 19 May 2014 21:07:16 +0000]
perldelta: Note patch fixed a bunch of tickets

Unbeknownst to the authors, several other tickets got fixed.

4 months agoperldelta: update known problems
Ricardo Signes [Mon, 19 May 2014 14:33:16 +0000]
perldelta: update known problems

4 months agoperlfunc: Should chdir("/") immed after chroot
Jarkko Hietaniemi [Thu, 24 Apr 2014 22:16:30 +0000]
perlfunc: Should chdir("/") immed after chroot

Inspired by Coverity perl5 CID 28931: Insecure chroot: (CHROOT)
chroot_call.

The Perl chroot() is a thin wrapper around the system call, so the
chdir("/") should not go there.  But adding a note about the chdir()
being a good idea to perlfunc/chroot.

The committer reworded the inserted text for grammar and readability,
and the commit message to conform to git standards, and is pushing the
commit with the concurrence of the author.

4 months agoPATCH: [perl #121630]: perlpod clarification
Karl Williamson [Mon, 28 Apr 2014 20:10:37 +0000]
PATCH: [perl #121630]: perlpod clarification

4 months agopatchlevel: we are now v5.20.0-RC1 v5.20.0-RC1
Ricardo Signes [Fri, 16 May 2014 21:58:23 +0000]
patchlevel: we are now v5.20.0-RC1

4 months agoupdate perlhist for v5.20.0
Ricardo Signes [Fri, 16 May 2014 21:57:44 +0000]
update perlhist for v5.20.0

4 months agoremove the perl519*delta documents
Ricardo Signes [Fri, 16 May 2014 21:17:49 +0000]
remove the perl519*delta documents

4 months agoperldelta: update modules sections for 5.20.0
Ricardo Signes [Fri, 16 May 2014 15:20:42 +0000]
perldelta: update modules sections for 5.20.0

4 months agoperldelta: generate acknowledgements for 5.20.0
Ricardo Signes [Fri, 16 May 2014 15:14:18 +0000]
perldelta: generate acknowledgements for 5.20.0

4 months agoupdate CoreList for 5.20.0
Ricardo Signes [Fri, 16 May 2014 15:11:22 +0000]
update CoreList for 5.20.0

4 months agoPOSIX.pod: Add clarification for strtod();
Karl Williamson [Thu, 15 May 2014 20:13:36 +0000]
POSIX.pod: Add clarification for strtod();

4 months agodocument the API signature change for Perl_regexec_flags()
Tony Cook [Thu, 15 May 2014 03:38:42 +0000]
document the API signature change for Perl_regexec_flags()

and its related plugin structure pointer

inspired by https://rt.perl.org/Ticket/Display.html?id=121868 which was
also broken by ea3daa5d5f60389b105c00d4f7d05b5c2f2155f2

4 months agoFix commit 90674eaa88
Steve Hay [Wed, 14 May 2014 19:59:30 +0000]
Fix commit 90674eaa88

Spotted by Daniel Dragan. We use GetEnvironmentStringsW() (deliberately so:
see commit 4f46e52b00), so we must use FreeEnvironmentStringsW() to match.

4 months agoAdd links for perl bug tickets in previous commit
Steve Hay [Wed, 14 May 2014 16:46:40 +0000]
Add links for perl bug tickets in previous commit

4 months agoperldelta for #121676
Daniel Dragan [Wed, 14 May 2014 08:09:39 +0000]
perldelta for #121676

4 months ago[perl #121676] Fix memory leak in backticks and system
Steve Hay [Tue, 13 May 2014 11:53:10 +0000]
[perl #121676] Fix memory leak in backticks and system

Introduced by perl #113536. It doesn't actually leak on Windows XP due to
differences in the implementation of GetEnvironmentStringsW() compared to
later OSes, but the missing FreeEnvironmentStrings() was technically wrong
anyway, and does now bite. Thanks for Daniel Dragan for finding this.

4 months agouse skip_all; test.pl plan does not support skip_all
Gisle Aas [Wed, 14 May 2014 02:40:53 +0000]
use skip_all; test.pl plan does not support skip_all

4 months agoFix broken Makefile on Solaris 10.
Gisle Aas [Sun, 4 May 2014 22:09:23 +0000]
Fix broken Makefile on Solaris 10.

This uses sed to avoid the problem of the sh not being modern enough.

The commiter moved the sed so it appears in just one place.

4 months agoclarify SvPV documentation
David Golden [Tue, 13 May 2014 18:13:09 +0000]
clarify SvPV documentation

4 months agoperldelta: trim an absurd amount of trailing whitespace
Ricardo Signes [Tue, 13 May 2014 14:43:15 +0000]
perldelta: trim an absurd amount of trailing whitespace

4 months agoperldelta: add obituary entry for Diana Rosa
Ricardo Signes [Tue, 13 May 2014 14:29:11 +0000]
perldelta: add obituary entry for Diana Rosa

4 months ago[perl #121854] use re 'taint' regression
David Mitchell [Tue, 13 May 2014 13:18:06 +0000]
[perl #121854] use re 'taint' regression

Commit v5.19.8-533-g63baef5 changed the handling of locale-dependent
regexes so that the pattern was considered tainted at compile-time, rather
than determining it each time at run-time whenever it executed a
locale-dependent node. Unfortunately due to the conflating of two flags,
RXf_TAINTED and RXf_TAINTED_SEEN, it had the side effect of permanently
marking a pattern as tainted once it had had a single tainted result.

E.g.

    use re qw(taint);
    use Scalar::Util qw(tainted);
    for ($^X, "abc") {
        /(.*)/ or die;
        print "not " unless tainted("$1"); print "tainted\n";
    };

which from 5.19.9 onwards output:

    tainted
    tainted

but with this commit (and with 5.19.8 and earlier), it now outputs:

    tainted
    not tainted

The RXf_TAINTED flag indicates that the pattern itself is tainted, e.g.

    $r = qr/$tainted_value/

while the RXf_TAINTED_SEEN flag means that the results of the last match
are tainted, e.g.

    use re 'tainted';
    $tainted =~ /(.*)/;
    # $1 is tainted

Pre 63baef5, the code used to look like:

    at run-time:

        turn off RXf_TAINTED_SEEN;
        while (nodes to execute) {
            switch(node) {
            case
                BOUNDL: /* and other locale-specific ops */
                    turn on RXf_TAINTED_SEEN;
                    ...;
            }
        }
        if (tainted || RXf_TAINTED)
            turn on RXf_TAINTED_SEEN;

63baef5 changed it to:

    at compile-time:

        if (pattern has locale ops)
            turn on RXf_TAINTED_SEEN;

    at run-time:

        while (nodes to execute) {
            ...
        }
        if (tainted || RXf_TAINTED)
            turn on RXf_TAINTED_SEEN;

This commit changes it to:

    at compile-time;

        if (pattern has locale ops)
            turn on RXf_TAINTED;

    at run-time:

        turn off RXf_TAINTED_SEEN;
        while (nodes to execute) {
            ...
        }
        if (tainted || RXf_TAINTED)
            turn on RXf_TAINTED_SEEN;

4 months agoCorrect v5.19.12-isms in Module-CoreList
Chris 'BinGOs' Williams [Tue, 13 May 2014 09:35:01 +0000]
Correct v5.19.12-isms in Module-CoreList

4 months agobump the version to 5.20.0-RC0 to start on the road to release!
Ricardo Signes [Tue, 13 May 2014 02:08:53 +0000]
bump the version to 5.20.0-RC0 to start on the road to release!

4 months agopatchlevel: call it RC0 until RC1
Ricardo Signes [Tue, 13 May 2014 01:46:24 +0000]
patchlevel: call it RC0 until RC1

4 months agothere are no longer any problems in perldelta for now
Ricardo Signes [Tue, 13 May 2014 01:43:16 +0000]
there are no longer any problems in perldelta for now

4 months agoreplace 5.19.12 (never happening) with 5.20.0 in corelist
Ricardo Signes [Tue, 13 May 2014 01:19:32 +0000]
replace 5.19.12 (never happening) with 5.20.0 in corelist

4 months agoresort win32/pod.mak to please pod_rules.t
Ricardo Signes [Tue, 13 May 2014 01:13:01 +0000]
resort win32/pod.mak to please pod_rules.t

4 months agoadd known modules from perl520delta
Ricardo Signes [Tue, 13 May 2014 01:08:45 +0000]
add known modules from perl520delta

4 months agoregenerate META.json
Ricardo Signes [Tue, 13 May 2014 01:03:16 +0000]
regenerate META.json

4 months agoperldelta: correct busted perldiag links
Ricardo Signes [Tue, 13 May 2014 01:00:11 +0000]
perldelta: correct busted perldiag links

4 months agobump version to 5.20.0, install 5.20 perldelta
Ricardo Signes [Tue, 13 May 2014 00:42:06 +0000]
bump version to 5.20.0, install 5.20 perldelta

4 months agoperlsub: Fix too-long verbatim line length
Karl Williamson [Mon, 12 May 2014 19:03:05 +0000]
perlsub: Fix too-long verbatim line length

This was introduced by commit d3f8a934ef964c0f488e9c692275435d8ea2e291
which reverted earlier fixes, including this pod problem.

4 months agoperlapi: Give more accurate value for needed free space
Karl Williamson [Mon, 12 May 2014 18:42:33 +0000]
perlapi: Give more accurate value for needed free space

When converting to UTF-8, one usually doesn't need 14 bytes available
space, which is what previously was claimed  It acutally depends on the
value being converted.  This change gives the precise value.

4 months agoensure qw//, q'' and '' report line on a missing terminator
Tony Cook [Tue, 6 May 2014 23:33:03 +0000]
ensure qw//, q'' and '' report line on a missing terminator

scan_str() only sets PL_multi_end on success, but the qw, q amd '' cases
were calling the COPLINE_SET_FROM_MULTI_END; macro before reporting
failure, overwriting the line used for reporting errors.

For the simplest case, as in the ticket and the tests, PL_multi_end is
zero, so the error is reported without a line number.

4 months agoRevert "[perl #79908] Stop sub inlining from breaking closures"
Ævar Arnfjörð Bjarmason [Wed, 7 May 2014 12:09:40 +0000]
Revert "[perl #79908] Stop sub inlining from breaking closures"

This reverts commit 137da2b05b4b7628115049f343163bdaf2c30dbb. See the
"How about having a recommended way to add constant subs dynamically?"
thread on perl5-porters, specifically while it sucks that we have this
bug, it's been documented to work this way since 5.003 in "Constant
Functions" in perlsub:

    If the result after optimization and constant folding is either a
    constant or a lexically-scoped scalar which has no other references,
    then it will be used in place of function calls made without C<&>

    -- http://perldoc.perl.org/perlsub.html#Constant-Functions

Since we've had this documented bug for a long time we should introduce
this fix in a deprecation cycle rather than silently slowing down code
that assumes it's going to be optimized by constant folding.

I didn't revert the tests it t/op/sub.t, but turned them into TODO tests
instead.

Conflicts:
t/op/sub.t

4 months agoperlsub: Improve the "Constant Functions" documentation
Ævar Arnfjörð Bjarmason [Sat, 10 May 2014 09:26:14 +0000]
perlsub: Improve the "Constant Functions" documentation

Ever since perl-5.003_95-19-g5431012 which incorporated this patch:

      Title:  "Improve and update documentation of constant subs"
       From:  Tom Phoenix <rootbeer@teleport.com>
     Msg-ID:  <Pine.GSO.3.96.970331122546.14185C-100000@kelly.teleport.com>
       Date:  Mon, 31 Mar 1997 13:05:54 -0800 (PST)
      Files:  pod/perlsub.pod

We've documented that "BEGIN { my $x = 1; *X = sub () { $x } }" creates
an inlined subroutine, we just weren't doing so very explicitly. Patch
the documentation so that we now have explicit examples for the behavior
mentioned in the first paragraph of the section.

This also adds an explicit mention of the behavior reported as a bug in
[RT #79908], shows the user that you can just use B::Deparse rather than
relying on a warning to see the effects of inlining, and replaces a
contrived way to avoid inlining with just adding a "return".

While writing these docs I found a bug in the warning behavior mentioned
here, which I filed as [RT #121841]

4 months agoMerge branch 'perldelta' into blead
Ricardo Signes [Mon, 12 May 2014 14:56:58 +0000]
Merge branch 'perldelta' into blead

4 months agoperldelta: mention the possible doom of EBCDIC
Ricardo Signes [Sun, 11 May 2014 02:58:21 +0000]
perldelta: mention the possible doom of EBCDIC

4 months agoperldelta: standardize on Americanized spellings
Ricardo Signes [Sun, 11 May 2014 02:56:56 +0000]
perldelta: standardize on Americanized spellings

one document, one standard

4 months agoperldelta: crosslink to 5.18.0 delta for padrange
Ricardo Signes [Sun, 11 May 2014 02:55:49 +0000]
perldelta: crosslink to 5.18.0 delta for padrange

4 months agoperldelta: nitpicks
SHIRAKATA Kentaro [Wed, 7 May 2014 20:23:06 +0000]
perldelta: nitpicks

4 months agoList::Gather now has a patch upstream
Tony Cook [Thu, 8 May 2014 01:30:51 +0000]
List::Gather now has a patch upstream

4 months agoperl5200delta: Correct which gcc versions we add -fwrapv for
Dagfinn Ilmari Mannsåker [Wed, 7 May 2014 23:17:09 +0000]
perl5200delta: Correct which gcc versions we add -fwrapv for

4 months agoperldelta: Data::Clone 0.004 works correctly on blead
Tom Hukins [Wed, 7 May 2014 23:15:54 +0000]
perldelta: Data::Clone 0.004 works correctly on blead

4 months ago[perl #121771] this new diagnostic was removed in 2e6f7c2a54
Tony Cook [Wed, 7 May 2014 01:19:17 +0000]
[perl #121771] this new diagnostic was removed in 2e6f7c2a54

4 months agoperldelta for 9625867354
Tony Cook [Wed, 7 May 2014 00:44:21 +0000]
perldelta for 9625867354

4 months agoremove a duplicate paragraph
SHIRAKATA Kentaro [Tue, 6 May 2014 01:53:10 +0000]
remove a duplicate paragraph

4 months agomerge paragraphs about Intel C++ Compiler
SHIRAKATA Kentaro [Sat, 3 May 2014 20:27:56 +0000]
merge paragraphs about Intel C++ Compiler

4 months agonitpicks
SHIRAKATA Kentaro [Sun, 27 Apr 2014 20:10:09 +0000]
nitpicks

4 months agoperldelta: correct Configure args for COW
Ricardo Signes [Thu, 24 Apr 2014 01:53:23 +0000]
perldelta: correct Configure args for COW

4 months agoperldelta: remove text duplicated mere lines above
Arthur Axel 'fREW' Schmidt [Tue, 22 Apr 2014 22:43:17 +0000]
perldelta: remove text duplicated mere lines above

4 months agoperldelta: it will be perl520.dll, not perl519.dll
Arthur Axel 'fREW' Schmidt [Tue, 22 Apr 2014 22:42:51 +0000]
perldelta: it will be perl520.dll, not perl519.dll

4 months agoperldelta: better tense for mentioning an old version
Arthur Axel 'fREW' Schmidt [Tue, 22 Apr 2014 22:42:14 +0000]
perldelta: better tense for mentioning an old version

4 months agoperldelta: mark subroutine signatures as experimental
Arthur Axel 'fREW' Schmidt [Tue, 22 Apr 2014 22:41:55 +0000]
perldelta: mark subroutine signatures as experimental

4 months agokhw perl52000 changes
Karl Williamson [Wed, 23 Apr 2014 01:30:54 +0000]
khw perl52000 changes

4 months agoperldelta: remove some XXX todo text
Ricardo Signes [Tue, 22 Apr 2014 14:23:09 +0000]
perldelta: remove some XXX todo text

4 months agoperldelta: group regexp fixes
Ricardo Signes [Tue, 22 Apr 2014 14:20:59 +0000]
perldelta: group regexp fixes

4 months agoperldelta: group lexical subroutine fixes
Ricardo Signes [Tue, 22 Apr 2014 14:14:20 +0000]
perldelta: group lexical subroutine fixes

4 months agoperldelta: group debugger fixes
Ricardo Signes [Tue, 22 Apr 2014 14:12:56 +0000]
perldelta: group debugger fixes

4 months agoremove notice of changes entirely internal to 5.19.x
Ricardo Signes [Mon, 21 Apr 2014 23:12:50 +0000]
remove notice of changes entirely internal to 5.19.x

4 months agoincorporate perl51911delta into perl5200delta
Ricardo Signes [Mon, 21 Apr 2014 22:49:07 +0000]
incorporate perl51911delta into perl5200delta

4 months agoperldelta: edit up through but not including Selected Bug Fixes
Ricardo Signes [Tue, 15 Apr 2014 23:09:40 +0000]
perldelta: edit up through but not including Selected Bug Fixes

4 months agofirst pass editing up through "Configuration and Compilation"
Ricardo Signes [Fri, 11 Apr 2014 23:10:54 +0000]
first pass editing up through "Configuration and Compilation"

4 months agoreorder "incompatible changes" section
Ricardo Signes [Fri, 11 Apr 2014 22:40:00 +0000]
reorder "incompatible changes" section

4 months agoreorder "core enhancements" section
Ricardo Signes [Fri, 11 Apr 2014 22:36:11 +0000]
reorder "core enhancements" section

4 months agoincorporate perl51910delta into perl5200delta
Ricardo Signes [Fri, 11 Apr 2014 22:28:25 +0000]
incorporate perl51910delta into perl5200delta

4 months agoincorporate perl5199delta into perl5200delta
Ricardo Signes [Fri, 11 Apr 2014 22:20:31 +0000]
incorporate perl5199delta into perl5200delta

4 months agoincorporate perl5198delta into perl5200delta
Ricardo Signes [Fri, 11 Apr 2014 22:10:21 +0000]
incorporate perl5198delta into perl5200delta

4 months agoincorporate perl5197delta into perl5200delta
Ricardo Signes [Fri, 11 Apr 2014 22:03:42 +0000]
incorporate perl5197delta into perl5200delta

4 months agoincorporate perl5196delta into perl5200delta
Ricardo Signes [Fri, 11 Apr 2014 21:57:16 +0000]
incorporate perl5196delta into perl5200delta

4 months agoincorporate perl5195delta into perl5200delta
Ricardo Signes [Fri, 11 Apr 2014 21:49:57 +0000]
incorporate perl5195delta into perl5200delta

4 months agoincorporate perl5194delta into perl5200delta
Ricardo Signes [Fri, 11 Apr 2014 21:44:11 +0000]
incorporate perl5194delta into perl5200delta

4 months agoincorporate perl5193delta into perl5200delta
Ricardo Signes [Wed, 9 Apr 2014 22:48:59 +0000]
incorporate perl5193delta into perl5200delta