34 hours agoperldelta: Fix typo maint-5.20
Karl Williamson [Mon, 24 Aug 2015 20:07:32 +0000]
perldelta: Fix typo

Spotted by Lukas Mai

(cherry picked from commit 6a475a49baf3f05fd8608db42c00aabd13729c7b)

34 hours agoPATCH: [perl 125825] {n}+ possessive quantifier broken
Karl Williamson [Thu, 27 Aug 2015 20:07:43 +0000]
PATCH: [perl 125825] {n}+ possessive quantifier broken

I was unaware of this construct when I wrote the commit that broke it,
and there were no tests for it.  Now there are.

(cherry picked from commit 9a7bb2f73a8a1b561890191974201d576371e7f9)

6 days agouse ~1 instead of ^ for parent commit
Ricardo Signes [Thu, 21 May 2015 14:00:38 +0000]
use ~1 instead of ^ for parent commit

^ caused problems under CMD.EXE; fix suggested by Nicholas Clark

(cherry picked from commit 17714d93ad51f622b105942fa06a7188a2126973)

6 days agoAdd missing URL for 5.23.2 release announcement
Steve Hay [Sat, 22 Aug 2015 22:38:32 +0000]
Add missing URL for 5.23.2 release announcement

(cherry picked from commit 4442630f9d575dd61a1ec4fc6b3dccd6756e9697)

6 days agoAdd epigraph for 5.20.3-RC1
Steve Hay [Sat, 22 Aug 2015 23:05:47 +0000]
Add epigraph for 5.20.3-RC1

(cherry picked from commit 1c94dd5345a075cb2cd6c423fa985d6dd98bf196)

6 days agoFix TBD so podcheck.t is happy
Matthew Horsfall [Thu, 20 Aug 2015 15:50:51 +0000]
Fix TBD so podcheck.t is happy

(cherry picked from commit 68ad2faabfe37b655b47957ef53acff6d8bde216)

6 days agoAdd epigraph for v5.23.2.
Matthew Horsfall [Thu, 20 Aug 2015 15:42:39 +0000]
Add epigraph for v5.23.2.

(cherry picked from commit 6687d2054de4c9c1fcef330f1c8ac1c9e6e9883b)

6 days agoUpdate epigraphs for 5.23.0/5.23.1
Matthew Horsfall [Mon, 20 Jul 2015 19:47:55 +0000]
Update epigraphs for 5.23.0/5.23.1

(cherry picked from commit 904c4cac2b93435ab1ae1b204e376b99fc770895)

6 days agoepigraphs: the v5.22.0 epigraph
Ricardo Signes [Mon, 1 Jun 2015 19:25:09 +0000]
epigraphs: the v5.22.0 epigraph

(cherry picked from commit 4e3e12f89258dc3beac58ac290b46017f159cc68)

6 days agoupdate epigraphs for v5.22.0 RCs
Ricardo Signes [Fri, 29 May 2015 14:13:08 +0000]
update epigraphs for v5.22.0 RCs

(cherry picked from commit 82b39489084a56af421660103282eb797f22bb00)

6 days agoAdd 5.21.11 epigraph
Steve Hay [Mon, 20 Apr 2015 22:37:09 +0000]
Add 5.21.11 epigraph

(cherry picked from commit 9ba8eca3c1f08bcb6ca61da981378cd9e07a2d16)

6 days agoAdd 5.21.10 epigraph
Steve Hay [Fri, 20 Mar 2015 19:14:11 +0000]
Add 5.21.10 epigraph

(cherry picked from commit c8d2be4def20798522e639f59f5c9ffb5b10a07e)

6 days agoadded link to announcement
Sawyer X [Sat, 22 Aug 2015 22:56:19 +0000]
added link to announcement

(manually cherry picked from commit 0516fbdf70f66445a01d3f2b81ab6a88986b084d)

6 days agoadd my epigraph
Sawyer X [Sat, 22 Aug 2015 22:51:56 +0000]
add my epigraph

(manually cherry picked from commit 94fa4f561e7b29a261e04e9a7bd57728ce8c37d2)

6 days agoUpdate Porting/epigraphs.pod for Perl 5.20.2
Steve Hay [Sat, 22 Aug 2015 22:50:14 +0000]
Update Porting/epigraphs.pod for Perl 5.20.2

(cherry picked from commit 61c850155faec0ea90996b28b895db054500d92d)

6 days agoDisarm patchlevel.h
Steve Hay [Sat, 22 Aug 2015 22:27:39 +0000]
Disarm patchlevel.h

6 days agoBump version to RC1 v5.20.3-RC1
Steve Hay [Sat, 22 Aug 2015 20:34:18 +0000]
Bump version to RC1

6 days agoPerl 5.20.3-RC1 today
Steve Hay [Sat, 22 Aug 2015 20:27:24 +0000]
Perl 5.20.3-RC1 today

(cherry picked from commit 5b5ceca34e06fac72032a14aa226ccb3f811d615)

6 days agoFinalize perldelta
Steve Hay [Sat, 22 Aug 2015 20:24:55 +0000]
Finalize perldelta

6 days agoModule::CoreList - Remove 5.23.3 stubs
Steve Hay [Sat, 22 Aug 2015 20:20:29 +0000]
Module::CoreList - Remove 5.23.3 stubs

As promised in 2b70db9cb1, this removes the stubs for the as-yet unreleased
5.23.3.

6 days agoUpdate Module-CoreList for 5.20.3-RC1
Steve Hay [Sat, 22 Aug 2015 20:16:59 +0000]
Update Module-CoreList for 5.20.3-RC1

(I missed this in 2b70db9cb1.)

7 days agoadd new release to perlhist
Matthew Horsfall [Thu, 20 Aug 2015 14:25:06 +0000]
add new release to perlhist

(cherry picked from commit c63cfb18199c0f9d7a87bd77521ab087a116d4fe)

7 days agoAdd new release to perlhist
Matthew Horsfall [Mon, 20 Jul 2015 18:56:52 +0000]
Add new release to perlhist

(cherry picked from commit c1883b8b014bf0c1dad3d50b6052ef68120c7247)

7 days agoperlhist: v5.23.0 will be today
Ricardo Signes [Sat, 20 Jun 2015 18:51:41 +0000]
perlhist: v5.23.0 will be today

(cherry picked from commit 69427f15ab5ac28f844341978315de0da82dc75a)

7 days agoupdate perlhist for RC2
Ricardo Signes [Fri, 21 Aug 2015 22:56:46 +0000]
update perlhist for RC2

(manually cherry picked from commit 612a06fa463fb0eb4533e07c8f5179ca7d1d26f3)

7 days agoperlhist: expected perl v5.22.0 release dates
Ricardo Signes [Tue, 19 May 2015 00:38:48 +0000]
perlhist: expected perl v5.22.0 release dates

(cherry picked from commit 8307b1f66420a49e1f6fb4b744626f4a4d87decf)

7 days agoperlhist: add the release data for 5.22
Ricardo Signes [Tue, 12 May 2015 01:44:42 +0000]
perlhist: add the release data for 5.22

Some of this may change, but nothing significantly.

(cherry picked from commit a35a81f56020e8370e9f720efc4b3168b45ea7f5)

7 days ago5.21.11 today
Steve Hay [Mon, 20 Apr 2015 19:40:07 +0000]
5.21.11 today

(cherry picked from commit 79ce1a76a68648f6b503f9be5f59f10e15c2996d)

7 days agoAdd 5.21.10 to perlhist
Steve Hay [Fri, 20 Mar 2015 16:16:07 +0000]
Add 5.21.10 to perlhist

(cherry picked from commit 3f093f9714c81e9442d5e04e641cfc9ade1c7a5c)

7 days agoadd new release to perlhist
Sawyer X [Sat, 21 Feb 2015 04:03:37 +0000]
add new release to perlhist

(cherry picked from commit 9200eb3463082f416cc7f441ae6ec39829d1e46a)

7 days agoperldelta - Add note about new test script
Steve Hay [Fri, 21 Aug 2015 21:54:18 +0000]
perldelta - Add note about new test script

7 days agoperldelta - Correct Module::CoreList version change
Steve Hay [Fri, 21 Aug 2015 21:50:45 +0000]
perldelta - Correct Module::CoreList version change

7 days agoperldelta - Restore Incompatible Changes section
Steve Hay [Fri, 21 Aug 2015 21:46:11 +0000]
perldelta - Restore Incompatible Changes section

7 days agoperldelta for d2fcb1d677
Matthew Horsfall [Fri, 21 Aug 2015 16:21:10 +0000]
perldelta for d2fcb1d677

(manually cherry picked from commit 80e86009a1ba918b82ab94a400855d0168801db3)

7 days ago[perl #125541] Fix crash with %::=(); J->${\"::"}
Father Chrysostomos [Mon, 20 Jul 2015 18:23:49 +0000]
[perl #125541] Fix crash with %::=(); J->${\"::"}

gv_stashpvn does not expect gv_fetchpv to return something that is
not a GV.  If someone has blown away the stash with %::=(), then the
$::{"main::"} entry no longer exists, but gv_fetchpv expects it to be
there.  This patch just makes this case fail somewhat gracefully
instead of crashing:

$  ./miniperl -e '%::=(); J->${\"::"}'
Can't locate object method "" via package "" (perhaps you forgot to load ""?) at -e line 1.

If someone does %::=(), nothing more reasonable should be expected.
At least it does not crash now.

(cherry picked from commit d2fcb1d6773910aef058d59681ff6ae649f68352)

7 days agoRequire civility; aspire to kindness.
Craig A. Berry [Thu, 6 Aug 2015 11:32:44 +0000]
Require civility; aspire to kindness.

Suggestion that we "aspire to kindness" from the ever-kind Tim Bunce.

Signed-off-by: Ricardo Signes <rjbs@cpan.org>
(cherry picked from commit 8764ee632ebcddc73e4e8d0f1cf1a48ac82ec87c)

7 days agoUpdate supported versions in perlpolicy.pod
Matthew Horsfall (alh) [Thu, 26 Mar 2015 20:55:11 +0000]
Update supported versions in perlpolicy.pod

(cherry picked from commit 965d3000a316a5ed367c2ce65d040e1125d5e31d)

7 days agoperldelta - Copy-editing
Steve Hay [Fri, 21 Aug 2015 08:00:29 +0000]
perldelta - Copy-editing

7 days agoperldelta - Remove boilerplate sections except for Acknowledgements
Steve Hay [Fri, 21 Aug 2015 07:22:39 +0000]
perldelta - Remove boilerplate sections except for Acknowledgements

8 days agoUpdate Module-CoreList for 5.20.3 to keep t/porting/corelist.t happy
Steve Hay [Thu, 20 Aug 2015 21:00:40 +0000]
Update Module-CoreList for 5.20.3 to keep t/porting/corelist.t happy

$VERSIONs are tentatively set for release of RC1 on Saturday 22 August.

(Module::CoreList currently also contains stubs for 5.23.3 for easier
syncing with blead. These will be removed before the release of 5.20.3.)

8 days agoBump version to 5.20.3, just ahead of its impending release
Steve Hay [Thu, 20 Aug 2015 20:57:26 +0000]
Bump version to 5.20.3, just ahead of its impending release

8 days agoBump the perl version in Module-CoreList for 5.23.3.
Matthew Horsfall [Thu, 20 Aug 2015 20:54:58 +0000]
Bump the perl version in Module-CoreList for 5.23.3.

(manually cherry picked from commit c0bc77316022ed60ccaa366ddcbc91002acbf40e)

8 days agoUpdate Module::CoreList for 5.23.2
Matthew Horsfall [Thu, 20 Aug 2015 14:06:04 +0000]
Update Module::CoreList for 5.23.2

(cherry picked from commit 7d12bc6afe4ef9745e8a30809af693cf6aaafe94)

9 days agoRevert accidental mode change caused by conflict resolution of previous cherry pick
Steve Hay [Wed, 19 Aug 2015 13:20:06 +0000]
Revert accidental mode change caused by conflict resolution of previous cherry pick

9 days agoUpdates to Module::CoreList per RMG.
Matthew Horsfall [Wed, 19 Aug 2015 13:17:49 +0000]
Updates to Module::CoreList per RMG.

(cherry picked from commit 003900e275f0c45375d4d02ffb0ac0fcd2eacfa2)

9 days agoAdd Module::CoreList stubs for v5.23.2
Matthew Horsfall [Mon, 20 Jul 2015 20:18:32 +0000]
Add Module::CoreList stubs for v5.23.2

(cherry picked from commit 923c264ef19ba3c5a3351e7ae6c73b8bde122801)

9 days agoUpdate Module::CoreList for 5.23.1
Matthew Horsfall [Mon, 20 Jul 2015 18:21:09 +0000]
Update Module::CoreList for 5.23.1

(cherry picked from commit 8656412da8e4f5fd0e75563115e66dc105a29bb3)

9 days agoModule::CoreList->find_version(): refactor for testability.
James E Keenan [Wed, 8 Jul 2015 00:14:58 +0000]
Module::CoreList->find_version(): refactor for testability.

In order to address weaknesses in the documentation of find_version() in
CoreList.pod, we first had to address its lack of unit tests.  It was
previously only exercised inside the 'corelist' utility.  Refactored
function a bit to expose all its branches for testing.  Then added tests
for the function with and without arguments.  Corrected documentation
for find_version() in CoreList.pod.

Documentation subsequently clarified per feedback from Steve Parker.

For: RT # 125563 (1st of 2 problems cited in that ticket).
(cherry picked from commit ba4fc2b447d5c04e1ada54027c446d03452dcb25)

9 days agoClarify that deprecated_in() returns a perl version.
James E Keenan [Tue, 7 Jul 2015 22:59:40 +0000]
Clarify that deprecated_in() returns a perl version.

I.e., a string like 5.010001.  This makes documentation of deprecated_in()
consistent with that of other Module::CoreList functions.

For: RT # 125563 (2nd of two problems raised)
(cherry picked from commit 7f279091ed7e7241570d4e4abce94248caeb8869)

9 days agocorelist: update for v5.23.1
Ricardo Signes [Sat, 20 Jun 2015 20:34:32 +0000]
corelist: update for v5.23.1

(cherry picked from commit b9e156a2f67931c57816e6104aa7bbd916df4ac9)

9 days agoCoreList: update corelist for release of v5.23.0
Ricardo Signes [Wed, 19 Aug 2015 13:15:08 +0000]
CoreList: update corelist for release of v5.23.0

(cherry picked from commit bffade09c83382056b92325e7d71c4926761d613)

9 days agoUpdate M-CL Changes to reflect v5.22.0 release
Chris 'BinGOs' Williams [Mon, 1 Jun 2015 18:33:29 +0000]
Update M-CL Changes to reflect v5.22.0 release

(cherry picked from commit 1ca987e43d1a647d21dcc85688ff1dd9e478d5ee)

9 days ago[PATCH] add changelog entries that were in perl52111delta for this release
Karen Etheridge [Mon, 1 Jun 2015 18:32:32 +0000]
[PATCH] add changelog entries that were in perl52111delta for this release

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
(cherry picked from commit acf7ab33363c847327ff3d389716c4e4c6234da1)

9 days agocorelist: add stubs for v5.23.0
Ricardo Signes [Mon, 1 Jun 2015 18:28:47 +0000]
corelist: add stubs for v5.23.0

(cherry picked from commit 19aba07308a6d7f9feb9fd2f9ea4cb504e2bbd7c)

9 days agofill in tentative release date for v5.22.0
Ricardo Signes [Tue, 19 May 2015 12:09:49 +0000]
fill in tentative release date for v5.22.0

(cherry picked from commit 5b0ac1aab5af3d6c45330ecef0f6c63bd0f43c44)

9 days agocorelist: regenerate the v5.22.0 corelist delta
Ricardo Signes [Tue, 19 May 2015 00:41:35 +0000]
corelist: regenerate the v5.22.0 corelist delta

(cherry picked from commit 38da2237eba18b80fb53f656ed0741131eae32a3)

9 days agobump version of overload in corelist
Ricardo Signes [Fri, 8 May 2015 23:11:49 +0000]
bump version of overload in corelist

(cherry picked from commit 04dc37df4ea598d19f4bab78ca2e09e10c3913b7)

9 days agocorelist for v5.22.0
Ricardo Signes [Wed, 6 May 2015 02:55:42 +0000]
corelist for v5.22.0

(cherry picked from commit bff00388f2dd2eb97cc67045e63380a6c56e22d1)

9 days agocorrect the deprecation data in Module::CoreList
Aristotle Pagaltzis [Fri, 24 Apr 2015 03:04:56 +0000]
correct the deprecation data in Module::CoreList

(cherry picked from commit be59b6aaf8e201fef17a0706e99f6a47556ed1ac)

9 days agoCoreList: eliminate trailing spaces from some versions
Ricardo Signes [Thu, 23 Apr 2015 11:50:53 +0000]
CoreList: eliminate trailing spaces from some versions

reported by perlancar, [perl #124364]

(cherry picked from commit b7c1f088bbb124804cdec44fb11a94109473efed)

9 days agoPrepare Module::CoreList for 5.21.12 (although it's unlikely to happen)
Steve Hay [Wed, 19 Aug 2015 13:11:32 +0000]
Prepare Module::CoreList for 5.21.12 (although it's unlikely to happen)

(cherry picked from commit 6bb5549bc58a4c62b1ee57c2c8a2fa06f7367965)

9 days agoUpdate Module::CoreList for 5.21.11
Steve Hay [Mon, 20 Apr 2015 19:31:25 +0000]
Update Module::CoreList for 5.21.11

(cherry picked from commit 6432c40a7dadf4b8482241ba4160a9fb3a352d2e)

9 days agocorelist: use || not // to run on older perls
Ricardo Signes [Thu, 16 Apr 2015 20:38:01 +0000]
corelist: use || not // to run on older perls

(cherry picked from commit 1e2bda49b56584d987d09abed7850a558584efa4)

9 days agocorelist: bump test count
Ricardo Signes [Wed, 15 Apr 2015 16:41:10 +0000]
corelist: bump test count

(cherry picked from commit 792e46564870a460524a90be0cffedd5dcc9e032)

9 days agocope with versions that do not match x.yyyzzz in corelist
Ricardo Signes [Wed, 15 Apr 2015 16:40:36 +0000]
cope with versions that do not match x.yyyzzz in corelist

Without this, we might be asked about 5.020 but be unable to climb
the delta tree because there is no delta entry for 5.020, only for
5.020.

This is a poor solution for now, because (for example) some versions
are not stored in x.yyyzzz format.  One is eveni n x.yyyzz!  We
should store things in a normalized format, and normalize arguments
on input.

For now, this will do.

(cherry picked from commit 4e70aa16a2f45d85bf4bef335d98c6a13e544bcb)

9 days agofix fencepost error in Module::CoreList is_core
Ricardo Signes [Wed, 15 Apr 2015 16:24:10 +0000]
fix fencepost error in Module::CoreList is_core

(cherry picked from commit cf549c1a873e982a94bf0869209b000ad6a1bd7a)

9 days agoPrepare Module::CoreList for 5.21.11 (if that happens)
Steve Hay [Wed, 19 Aug 2015 13:08:53 +0000]
Prepare Module::CoreList for 5.21.11 (if that happens)

(cherry picked from commit 539023973b95d208601bd10848496eae785dcacc)

9 days agoUpdate Module-CoreList for 5.21.10
Steve Hay [Wed, 19 Aug 2015 13:03:53 +0000]
Update Module-CoreList for 5.21.10

(cherry picked from commit 77dc754dfe5442ecd8d2a898da7a2934f1586698)

9 days agoModule::CoreList: Fix to work on EBCDIC platforms
Karl Williamson [Mon, 1 Dec 2014 06:17:07 +0000]
Module::CoreList: Fix to work on EBCDIC platforms

This creates a sort help that make a '?' always sort after the digits,
which it naturally does on ASCII platforms, but not EBCDIC

(cherry picked from commit 02b4438c0b5715a80520b510dc85b983b605ee2a)

9 days agoOne $VERSION bump missed by 2f553ae1e1
Steve Hay [Wed, 19 Aug 2015 13:01:01 +0000]
One $VERSION bump missed by 2f553ae1e1

(cherry picked from commit 731623ab9836b248099b9e1d42872547270dd8ea)

9 days agotweak version number of Module::CoreList
Sawyer X [Wed, 19 Aug 2015 13:00:02 +0000]
tweak version number of Module::CoreList

(cherry picked from commit 2f553ae1e126e9a08281bcc6d4e6b8ea2afe83a3)

9 days agoadd some dummy entries to Module::CoreList for 5.21.10
Sawyer X [Sat, 21 Feb 2015 06:54:55 +0000]
add some dummy entries to Module::CoreList for 5.21.10

(cherry picked from commit ff4e8df287d7dce3d0a1d4e7156f0abf63c70972)

9 days agoModule::CoreList updates
Sawyer X [Wed, 19 Aug 2015 12:56:50 +0000]
Module::CoreList updates

(manually cherry picked from commit 0939a951332cf6bf55e46953e8d4d5d3313f6a20)

9 days agoUpdate Module::CoreList for 5.21.9
Sawyer X [Sat, 21 Feb 2015 02:03:13 +0000]
Update Module::CoreList for 5.21.9

(cherry picked from commit c02a372258fd426a1e7d69c32b49b27404831120)

9 days agoRevert "Module::CoreList - Remove 5.21.9 stubs"
Steve Hay [Wed, 19 Aug 2015 12:54:25 +0000]
Revert "Module::CoreList - Remove 5.21.9 stubs"

This reverts commit 5767d82a7d7c1c398c653b0d996f58e7d2e49c8a.

9 days agoAdd Lajos Veres to Perl AUTHORS.
Lajos Veres [Wed, 19 Aug 2015 12:51:06 +0000]
Add Lajos Veres to Perl AUTHORS.

(manually cherry picked from commit df99f62f8260e7dbf4d2b00921876ae4cd282136)

9 days agoCorrections to spelling and grammatical errors.
Lajos Veres [Wed, 19 Aug 2015 12:46:50 +0000]
Corrections to spelling and grammatical errors.

(manually cherry picked from commit a9ccbcd7e3e4416b46c5c8cd5e61e7930776a83e)

9 days agoRT #124156: death during unwinding causes crash
David Mitchell [Wed, 19 Aug 2015 07:24:11 +0000]
RT #124156: death during unwinding causes crash

v5.19.3-139-g2537512 changed POPSUB and POPFORMAT so that they also
unwind the relevant portion of the scope stack. This (sensible) change
means that during exception handling, contexts and savestack frames are
popped in lock-step, rather than all the contexts being popped followed by
all the savestack contents.

However, LEAVE_SCOPE() is now called by POPSUB/FORMAT, which can trigger
destructors, tied method calls etc, which themselves may croak. The new
unwinding will see the old sub context still on the context stack and call
POPSUB on it again, leading to double frees etc.

At this late stage in code freeze, the least invasive change is to
use an unused bit in cx->blk_u16 to indicate that POPSUB has already
been called on this context frame.

Sometime later, this whole area of code really needs a thorough overhaul.
The main issue is that if cxstack_ix-- is done too early, then calling
destructors etc can overwrite the current context frame while we're still
using using it; if cxstack_ix-- is done too late, then that stack frame
can end up getting unwound twice.

(cherry picked from commit 1956db7ee60460e5b4a25c19fda4999666c8cbd1)

10 days agoperldelta for bae8cfc69
Father Chrysostomos [Sun, 16 Nov 2014 22:43:01 +0000]
perldelta for bae8cfc69

(cherry picked from commit e5fbfbc138e9c40911618be99d66f85eb2a366a3)

10 days agoperldelta for 46b27d2f2c37
Tony Cook [Tue, 9 Jun 2015 02:19:23 +0000]
perldelta for 46b27d2f2c37

(cherry picked from commit 302ef3d4cab93d9ddf2bebde7e0952908332b8b2)

11 days agoadd new address for kmx
Ricardo Signes [Thu, 21 May 2015 22:34:45 +0000]
add new address for kmx

(cherry picked from commit 6378109479f5b474e8205c8478f484b209078772)

11 days agohandle existing mkstemp() in mingw-w64-v4
KMX [Thu, 14 May 2015 07:20:08 +0000]
handle existing mkstemp() in mingw-w64-v4

(cherry picked from commit f33b2f585292653a3c50ea39cbdab734c3473fcb)

11 days agoDon’t treat setpgrp($nonzero) as setpgrp(1)
Father Chrysostomos [Tue, 11 Nov 2014 02:22:43 +0000]
Don’t treat setpgrp($nonzero) as setpgrp(1)

This was broken inadvertently by 92f2ac5f (5.15.3).

I really have no idea how to test this.  I only confirmed the bug and
its fix via a temporary warn statement in pp_setpgrp (obviously not
included in this commit).

(cherry picked from commit bae8cfc6926f9b04d8adac6a9ee6d563cc18263f)

11 days agodon't fatalize warnings during unwinding (#123398)
Lukas Mai [Thu, 12 Feb 2015 12:29:29 +0000]
don't fatalize warnings during unwinding (#123398)

(cherry picked from commit 46b27d2f2c37f40dde845f9b4743975c69f2cc27)

11 days ago[perl #123711] Fix crash with 0-5x-l{0}
Father Chrysostomos [Mon, 17 Aug 2015 07:13:52 +0000]
[perl #123711] Fix crash with 0-5x-l{0}

perl-5.8.0-117-g6f33ba7, which added the XTERMORDORDOR hack, did not
change the leftbracket code to treat XTERMORDORDOR the same way as
XTERM, so -l {0} and getc {0} (among other ops) were treating {...} as
a block, rather than an anonymous hash.  This was not, however, being
turned into a real block with enter/leave ops to protect the stack,
so the nextstate op was corrupting the stack and possibly freeing mor-
tals in use.

This commit makes the leftbracket code check for XTERMORDORDOR and
treat it like XTERM, so that -l {0} once more creates an anonymous
hash.  There is really no way to get to that hash, though, so all I
can test for is the crash.

(cherry picked from commit 83a85f49e265a458a481a9dc402dd3bdd30ae457)

2 weeks agoperldelta for 0fa70a06a9
David Mitchell [Fri, 14 Aug 2015 16:49:53 +0000]
perldelta for 0fa70a06a9

(manually cherry picked from commit 33ca8d3cbd5926d9f199307cc0f5652557026908)

2 weeks agosimpify and speed up /.*.../ handling
David Mitchell [Fri, 14 Aug 2015 16:34:59 +0000]
simpify and speed up /.*.../ handling

See RT ##123743.

A pattern that starts /.*/ has a fake MBOL or SBOL flag added, along
with PREGf_IMPLICIT.

The idea is that, with /.*.../s, if the NFA don't match when started at
pos 0, then it's not going to match if started at any other position
either; while /.*.../ won't match at any other start position up until
the next \n.

However, the branch in regexec() that implemented this was a bit a mess
(like much in the perl core, it had gradually accreted), and caused
intuit-enabled /.*.../ and /.*...patterns to go quadratic.

The branch looked roughly like:

    if (anchored) {
        if (regtry(s)) goto success;
        if (can_intuit) {
            while (s < end) {
                s = intuit(s+1);
                if (!s) goto fail;
                if (regtry(s)) goto success;
            }
        }
        else {
            while (s < end) {
                s = skip_to_next_newline(s);
                if (regtry(s)) goto success;
            }
        }
    }

The problem is that in the presence of a .* at the start of the pattern,
intuit() will always return either NULL on failure, or the start position,
rather than any later position. So the can_intuit branch above calls
regtry() on every character position.

This commit fixes this by changing the structure of the code to be like
this, where it only tries things on newline boundaries:

    if (anchored) {
        if (regtry(s)) goto success;
        while (1) {
            s = skip_to_next_newline(s);
            if (can_intuit) {
                s = intuit(s+1);
                if (!s) goto fail;
            }
            if (regtry(s)) goto success;
        }
    }

This makes the code a lot simpler, and mostly avoids quadratic behaviour
(you can still get it with a string consisting mainly of newlines).

(cherry picked from commit 0fa70a06a98fc8fa9840d4dbaa31fc2d3b28b99b)

[Edits to t/re/speed.t omitted since t/re/speed.t isn't in maint-5.20]

2 weeks agoperldelta: Correctly order list of updated modules
Steve Hay [Wed, 12 Aug 2015 13:01:34 +0000]
perldelta: Correctly order list of updated modules

2 weeks agoRMG - Manually adding perldelta for Module::CoreList isn't needed
Matthew Horsfall [Tue, 21 Jul 2015 11:53:58 +0000]
RMG - Manually adding perldelta for Module::CoreList isn't needed

(cherry picked from commit 14071f951e2facb2599e25258093b7c4426a2b4a)

2 weeks agoRMG: Note that Porting/cmpVERSION.pl requires -Ilib to run
Matthew Horsfall [Mon, 20 Jul 2015 18:20:47 +0000]
RMG: Note that Porting/cmpVERSION.pl requires -Ilib to run

(cherry picked from commit e89d87ccef460faf57b78f904d5113b01353308b)

2 weeks agoRMG: avoid saying "final" release; gets confused with BLEAD-FINAL
Ricardo Signes [Wed, 12 Aug 2015 12:56:04 +0000]
RMG: avoid saying "final" release; gets confused with BLEAD-FINAL

(cherry picked from commit 251758f752fa1b90bb1529735c01e7c33f0a093e)

2 weeks agoRMG: Encourage use of http://analysis.cpantesters.org/beforemaintrelease
Steve Hay [Mon, 16 Feb 2015 08:50:00 +0000]
RMG: Encourage use of analysis.cpantesters.org/beforemaintrelease

(cherry picked from commit 5c296d48f9e92b825d8b9a00ffdd9a3f8cb087b7)

2 weeks agoperldelta for 816b056ffb99, 3bea78d24634
Tony Cook [Wed, 12 Aug 2015 12:39:08 +0000]
perldelta for 816b056ffb993bea78d24634

(cherry picked from commit 8e0a272fbda1da989d682dceeee7f5e8dee38a7b)

[Altered for maint since the version bump was altered for maint (see
f643b5d806)]

2 weeks agoperldelta: Correction to 6fec9500d3
Steve Hay [Wed, 12 Aug 2015 12:33:18 +0000]
perldelta: Correction to 6fec9500d3

The version bump was altered for maint (see 6410499c35), so the perldelta
entry should have been altered to match.

2 weeks agoperldelta for 3553f4fa11, 4e0341d2ce
Steve Hay [Wed, 12 Aug 2015 12:28:24 +0000]
perldelta for 3553f4fa114e0341d2ce

(manually cherry picked from commit be39acb2d731fef6f575d98c6fb0cf896ab8c72d)

[Altered for maint to refer to 5.20.2 instead of 5.21.4]

2 weeks agoperldelta - Document new test script
Steve Hay [Mon, 20 Apr 2015 07:34:50 +0000]
perldelta - Document new test script

(cherry picked from commit 62ddb7208f70171ac0f6352d4b622f084f3841b0)

2 weeks agouname -r works on MINIX as well
Chris 'BinGOs' Williams [Wed, 14 Jan 2015 14:12:22 +0000]
uname -r works on MINIX as well

(cherry picked from commit 0cf583b0808e2fb2ac90751d506f2b8ff75aed86)

2 weeks agolib/h2ph.t to test generated t/_h2ph_pre.ph instead of the system one
Petr Písař [Tue, 17 Feb 2015 12:11:00 +0000]
lib/h2ph.t to test generated t/_h2ph_pre.ph instead of the system one

The lib/h2ph.t test executes a t/lib/h2ph.pht which requires
'_h2ph_pre.ph'.  This should find and exercise generated t/_h2ph_pre.ph
file. However, it found a loaded _h2ph_pre.ph from system because the
interpreter has the './' directory after the system paths in the @INC by
default.

This patch adds '-I./' to the runperl() invocation to prefer the
_h2ph_pre.ph generated at build time.

Signed-off-by: Petr Písař <ppisar@redhat.com>
(cherry picked from commit 33593911f214382b592d05aa902655301915e666)

2 weeks agoh2ph: correct handling of hex constants for the preamble
Tony Cook [Mon, 16 Feb 2015 04:57:00 +0000]
h2ph: correct handling of hex constants for the preamble

Previously they were treated as identifiers resulting in code
generated like C< &0xFFF >.

We also try to prevent compile-time warnings from large hex integers,
the user isn't responsible for the generated code, so we delay those
warnings to run-time.

(cherry picked from commit 3bea78d24634e630b610f59957e7a019205a67b2)

2 weeks agoFix Errno.pm generation for gcc-5.0
Petr Písař [Wed, 12 Aug 2015 07:35:51 +0000]
Fix Errno.pm generation for gcc-5.0

gcc-5.0 -E interleaves now line numbers with expended macros, so that
the generated errno.c will be preprocessed to

EBFONT => [[
           59
                ]]

which is hard to parse in in line-based reader.

So use -P option with gcc >= 5.0. Global -P usage would break makedepend,
global -ftrack-macro-expansion=0 would break lib/h2ph.t.

RT#123784

(cherry picked from commit 816b056ffb99ae54642320e20dc30a59fd1effef)

[Altered for maint: We can't bump from 1.22 to 1.23 since we're on 1.20_05.
We must bump to 1.20_06 instead.]