This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Steve Hay [Tue, 28 Jun 2016 13:01:47 +0000 (14:01 +0100)]
Upgrade Test::Simple from version 1.302026 to 1.302035
Steve Hay [Tue, 28 Jun 2016 12:46:07 +0000 (13:46 +0100)]
We're in sync with CPAN version 2.14
Steve Hay [Tue, 28 Jun 2016 12:40:31 +0000 (13:40 +0100)]
We're closer to being in sync with XSLoader 0.20 than with 0.16
(This just drops the module off the list of modules that are "behind" the
latest CPAN release. We're actually slightly *ahead* of CPAN.)
Steve Hay [Tue, 28 Jun 2016 12:35:10 +0000 (13:35 +0100)]
Upgrade Perl::OSType from version 1.009 to 1.010
David Mitchell [Tue, 28 Jun 2016 09:50:41 +0000 (10:50 +0100)]
Add test for RT #128252
was already fixed by v5.25.2-53-g36efb5a
Steve Hay [Tue, 28 Jun 2016 07:54:25 +0000 (08:54 +0100)]
Upgrade Math::BigRat from version 0.260802 to 0.260804
(This removes the blead customization, which is now incorporated with minor
changes.)
Steve Hay [Tue, 28 Jun 2016 07:46:30 +0000 (08:46 +0100)]
Upgrade Math::BigInt::FastCalc from version 0.40 to 0.42
Steve Hay [Tue, 28 Jun 2016 07:42:36 +0000 (08:42 +0100)]
Upgrade from Math::BigInt version 1.999715 to 1.999724
Steve Hay [Tue, 28 Jun 2016 07:30:41 +0000 (08:30 +0100)]
We're in sync with Locale::Maketext 1.27
Steve Hay [Tue, 28 Jun 2016 07:28:07 +0000 (08:28 +0100)]
We're in sync with Getopt::Long 2.49.1
Steve Hay [Tue, 28 Jun 2016 07:26:38 +0000 (08:26 +0100)]
Upgrade Encode from version 2.80 to 2.84
This retains the customizations to Byte/Makefile.PL (not yet assimilated)
and encoding.pm (can't be removed without a $VERSION++, which would be a
customization again!).
David Mitchell [Mon, 27 Jun 2016 13:56:09 +0000 (14:56 +0100)]
S_lvref() OP_[AH]SLICE => OP_LVREFSLICE flag issue
RT #128252 Assert fail in op.c
In S_lvref(), when it's converting an OP_ASLICE or OP_HSLICE into a
OP_LVREFSLICE op, it clears all private flags except those supported by
both ops. Except that it got it wrong. OPpLVREF_ELEM isn't a valid flag
for OP_[AH]SLICE (that bit corresponds to OPpSLICEWARNING for [ah]slice)
and that bit isn't valid for OP_LVREFSLICE. So don't preserve that bit.
David Mitchell [Mon, 27 Jun 2016 06:58:01 +0000 (07:58 +0100)]
pp_aelemfast: always extend stack
my previous commit split pp_aelemfast() into two branches; but the
new branch wasn't extending the stack before pushing the result.
Father Chrysostomos [Mon, 27 Jun 2016 04:45:22 +0000 (21:45 -0700)]
[perl #128478] Restore former "$foo::$bar" parsing
The function scan_word, in toke.c, is used to parse barewords. The
scan_ident function is used to scan an identifier after a sigil.
Prior to v5.17.9-108-g07f7264, both functions had their own parsing
loops, and scan_ident actually had two, one for $foo and another
for ${foo}.
The state purpose of 07f7264 was to fix discrepancies in the parsing
of $foo vs ${foo}, by making the two forms use the same parsing code.
In accomplishing this, the commit in question merged not only the
two loops in scan_ident, but all three loops, including the one in
scan_word, by introducing a new function, parse_ident, that the
others call.
One result was that some logic appropriate only to scan_word started
to be applied also to scan_ident; namely, that ::$ would be explicitly
checked for and disallowed (the parsing would stop before the ::), for
the sake of the “Bad name after Foo::” error.
The consequence was that "$foo::$bar" started to be parsed as
$foo."::".$bar, instead of $foo:: . $bar, as previously.
Now, "$foo::@bar" was unaffected, so by fixing one form of inconsis-
tency we ended up form, including B::Deparse bugs (because B::Deparse
was not consistent with the core).
This commit restores the previous behaviour by giving parse_ident an
extra parameter, making the ::$ check optional.
Steve Hay [Mon, 27 Jun 2016 13:17:13 +0000 (14:17 +0100)]
Update t/porting/customized.dat following Porting/Maintainers.pl updates
Steve Hay [Mon, 27 Jun 2016 13:06:11 +0000 (14:06 +0100)]
Porting/Maintainers.pl - version's vperl/vpp.pm is now excluded
so the old mapping to cpan/version/lib/version/ is no longer required
Steve Hay [Mon, 27 Jun 2016 13:00:40 +0000 (14:00 +0100)]
Test-Simple: Remove files left over from old CPAN releases
and fix EXCLUDED files list in Porting/Maintainers.pl
Steve Hay [Mon, 27 Jun 2016 12:51:45 +0000 (13:51 +0100)]
Fix perlpodstyle.pod file name in Porting/Maintainers.pl
Steve Hay [Mon, 27 Jun 2016 12:49:01 +0000 (13:49 +0100)]
Four Pod-Checker test files have EOL differences compared to CPAN
(They're all LF only in core but CRLF on CPAN.)
Steve Hay [Mon, 27 Jun 2016 12:44:04 +0000 (13:44 +0100)]
Module-Metadata was customized by
9ec93952bf
David Mitchell [Sun, 26 Jun 2016 22:13:00 +0000 (23:13 +0100)]
pp_aelemfast: skip av_fetch() for simple cases
Where the av is non magic and has a positive key, try fetching
the array element directly rather than calling av_fetch().
This reduces the number of cycles required to run the nbody benchmark by
about 5%.
Father Chrysostomos [Sun, 26 Jun 2016 17:57:26 +0000 (10:57 -0700)]
perlunicode typo
Karl Williamson [Sun, 26 Jun 2016 04:37:38 +0000 (22:37 -0600)]
Update perlunicode
This fixes a couple of nits, but mostly it updates the text to
correspond with changes in Unicode UTS#18, concerning regular
expressions, and Perl compatibility with what it says.
Note that though this Unicode document's text is written as if it were
imposing requirements, it is not technically a part of the Unicode
standard, so its "requirements" are merely suggestions or guidelines.
It turns out that several of the "requirements" that Perl didn't meet
have been retracted by Unicode (as effectively unimplementable), so the
Perl Unicode support is actually better than it appeared, and in fact,
is almost complete at the first 2 (of 3) levels of support discussed in
UTS#18.
Karl Williamson [Sun, 26 Jun 2016 04:37:21 +0000 (22:37 -0600)]
perlunicode: Fix mistatement
v5.24 reinstated the ability to compile any earlier version of the
Unicode standard into Perl, but this pod did not get updated.
Craig A. Berry [Sat, 25 Jun 2016 20:47:43 +0000 (15:47 -0500)]
Skip EUMM subdirscomplex test on VMS.
This tracks the upstream commit at:
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/
2725f2d850ba1bf545f19317f4407c0909fb16b7
Karl Williamson [Wed, 15 Jun 2016 04:22:31 +0000 (22:22 -0600)]
perluniprops: Fix pod
Commit
3d6c5fec8cb3579a30be60177e31058bc31285d7 changed mktables to
change to slightly less nice pod in order to remove a warning that was a
bug in Pod::Checker. Pod::Checker has now been fixed, and the current
commit reinstates the old pod.
Lukas Mai [Fri, 24 Jun 2016 08:15:37 +0000 (10:15 +0200)]
perlnewmod: more updates
- hyperlink WWW::Mechanize
- direct to metacpan.org, not search.cpan.org
- changes should go in Changes, not README
- mention 'make distcheck'
- mention 'cpan-upload'
- remove paragraph about announcing to the modules list and registering
a namespace
- hyperlink some urls
Father Chrysostomos [Fri, 24 Jun 2016 04:57:09 +0000 (21:57 -0700)]
[perl #128238] Crash with non-stash in stash
This is a follow-up to
e7acdfe976f. Even if the name of the stash
entry ends with ::, it may not itself contain a real stash (though
this only happens with code that assigns directly to stash entries,
which has undefined behaviour according to perlmod), so skip hashes
that are not stashes.
Father Chrysostomos [Fri, 24 Jun 2016 01:23:27 +0000 (18:23 -0700)]
stash.t: Remove tyrone::slothrop
etc.
Leftovers left behind by
e35475de.
Todd Rinaldo [Wed, 22 Jun 2016 23:58:29 +0000 (19:58 -0400)]
Sync CPAN Locale::Maketext 1.27 with blead
Father Chrysostomos [Thu, 23 Jun 2016 22:23:21 +0000 (15:23 -0700)]
Fix stupid test in 9uninit
I was wondering why the warnings were being triggered backwards.
Different output handles. Duh.
Father Chrysostomos [Thu, 23 Jun 2016 20:32:28 +0000 (13:32 -0700)]
Preserve 64-bit array offsets in uninit warnings
This was brought up in ticket #128189.
The main change is that Perl_varname now takes a SSize_t parameter
instead of I32. I changed various other uses of I32 at the same
time in case some code really does have an array with more than
2**31 entries (or whatever the exact number is).
Craig A. Berry [Tue, 21 Jun 2016 02:10:47 +0000 (21:10 -0500)]
svpeek.t: $? is localized now.
So it's no longer upgraded to PVLV on VMS like it would be if it
had magic from COMPLEX_STATUS.
This is a follow-up to
b4514920cd5cabcc.
Aristotle Pagaltzis [Thu, 23 Jun 2016 12:55:47 +0000 (14:55 +0200)]
Module::CoreList: cut TieHashDelta out of everybody’s life
Aristotle Pagaltzis [Thu, 23 Jun 2016 12:46:53 +0000 (14:46 +0200)]
Module::CoreList: prepare for better legibility of upcoming patch
Yves Orton [Tue, 21 Jun 2016 07:07:48 +0000 (09:07 +0200)]
change manisort to produce a more intuitive order
Dictionary sort order on filenames is very counter-intuitive, and
produces surprising sort orders.
What this patch does is sort things so that the following should
always be true:
1. Case insensitive textual order
Eg: Foo and foo and FOO should sort together in ascibetical order
2. Shorter dirs go before longer dirs with a common prefix
Eg: lib/Foo/ should go before lib/Foo-Thing/
3. Base filename goes before dir of the same name
Eg: lib/Foo.pm should sort before lib/Foo/Bar.pm
This also refactors the MANIFEST sort code in Porting/manisort and
Porting/pod_rules.pm files into Porting/pod_lib.pl
Yves Orton [Mon, 20 Jun 2016 20:51:38 +0000 (22:51 +0200)]
Change scalar(%hash) to be the same as 0+keys(%hash)
This subject has a long history see [perl #114576] for more discussion.
https://rt.perl.org/Public/Bug/Display.html?id=114576
There are a variety of reasons we want to change the return signature of
scalar(%hash). One is that it leaks implementation details about our
associative array structure. Another is that it requires us to keep track
of the used buckets in the hash, which we use for no other purpose but
for scalar(%hash). Another is that it is just odd. Almost nothing needs to
know these values. Perhaps debugging, but we have several much better
functions for introspecting the internals of a hash.
By changing the return signature we can remove all the logic related
to maintaining and updating xhv_fill_lazy. This should make hot code
paths a little faster, and maybe save some memory for traversed hashes.
In order to provide some form of backwards compatibility we adds three
new functions to the Hash::Util namespace: bucket_ratio(), num_buckets()
and used_buckets(). These functions are actually implemented in
universal.c, and thus always available even if Hash::Util is not loaded.
This simplifies testing. At the same time Hash::Util contains backwards
compatible code so that the new functions are available from it should
they be needed in older perls.
There are many tests in t/op/hash.t that are more or less obsolete after
this patch as they test that xhv_fill_lazy is correctly set in various
situations. However since we have a backwards compat layer we can just
switch them to use bucket_ratio(%hash) instead of scalar(%hash) and keep
the tests, just in case they are actually testing something not tested
elsewhere.
Yves Orton [Mon, 20 Jun 2016 20:43:40 +0000 (22:43 +0200)]
Add a perldelta entry for recursive subpattern screwup in 5.24
Yves Orton [Mon, 20 Jun 2016 20:43:11 +0000 (22:43 +0200)]
Add perldelta for POSIX memory leak fix
Karl Williamson [Tue, 21 Jun 2016 15:39:59 +0000 (09:39 -0600)]
perldelta for Unicode 9.0
Unicode Consortium [Thu, 9 Jun 2016 22:28:27 +0000 (16:28 -0600)]
Use Unicode 9.0
This includes regenerating the files that depend on the Unicode 9 data
files
Karl Williamson [Thu, 16 Jun 2016 17:59:24 +0000 (11:59 -0600)]
Prepare for Unicode 9.0
The major code changes needed to support Unicode 9.0 are to changes in
the boundary (break) rules, for things like \b{lb}, \b{wb}.
regen/mk_invlists.pl creates two-dimensional arrays for all these
properties. To see if a given point in the target string is a break or
not, regexec.c looks up the entry in the property's table whose row
corresponds to the code point before the potential break, and whose
column corresponds to the one after. Mostly this is completely
determining, but for some cases, extra context is required, and the
array entry indicates this, and there has to be specially crafted code
in regexec.c to handle each such possibility. When a new release comes
along, mk_invlists.pl has to be changed to handle any new or changed
rules, and regexec.c has to be changed to handle any changes to the
custom code.
Unfortunately this is not a mature area of the Standard, and changes are
fairly common in new releases. In part, this is because new types of
code points come along, which need new rules. Sometimes it is because
they realized the previous version didn't work as well as it could. An
example of the latter is that Unicode now realizes that Regional
Indicator (RI) characters come in pairs, and that one should be able to
break between each pair, but not within a pair. Previous versions
treated any run of them as unbreakable. (Regional Indicators are a
fairly recent type that was added to the Standard in 6.0, and things are
still getting shaken out.)
The other main changes to these rules also involve a fairly new type of
character, emojis. We can expect further changes to these in the next
Unicode releases.
\b{gcb} for the first time, now depends on context (in rarely
encountered cases, like RI's), so the function had to be changed from a
simple table look-up to be more like the functions handling the other
break properties.
Some years ago I revamped mktables in part to try to make it require as
few manual interventions as possible when upgrading to a new version of
Unicode. For example, a new data file in a release requires telling
mktables about it, but as long as it follows the format of existing
recent files, nothing else need be done to get whatever properties it
describes to be included.
Some of changes to mktables involved guessing, from existing limited
data, what the underlying paradigm for that data was. The problem with
that is there may not have been a paradigm, just something they did ad
hoc, which can change at will; or I didn't understand their unstated
thinking, and guessed wrong.
Besides the boundary rule changes, the only change that the existing
mktables couldn't cope with was the addition of the Tangut script, whose
character names include the code point, like CJK UNIFIED IDEOGRAPH-3400
has always done. The paradigm for this wasn't clear, since CJK was the
only script that had this characteristic, and so I hard-coded it into
mktables. The way Tangut is structured may show that there is a
paradigm emerging (but we only have two examples, and there may not be a
paradigm at all), and so I have guessed one, and changed mktables to
assume this guessed paradigm. If other scripts like this come along,
and I have guessed correctly, mktables will cope with these
automatically without manual intervention.
Karl Williamson [Thu, 16 Jun 2016 17:48:28 +0000 (11:48 -0600)]
Tell mktables what Unicode version mk_invlist.pl handles
A downside of supporting the Unicode break properties like \b{gcb},
\b{lb} is that these aren't very mature in the Standard, and so code
likely has to change when updating Perl to support a new version of the
Standard.
And the new rules may not be backwards compatible. This commit creates
a mechanism to tell mktables the Unicode version that the rules are
written for. If that is not the same version as being compiled, the
test file marks any failing boundary tests as TODO, and outputs a
warning if the compiled version is later than the code expects, to
alert you to the fact that the code needs to be updated.
Karl Williamson [Thu, 9 Jun 2016 21:55:39 +0000 (15:55 -0600)]
regexec.c: Add a const to a function parameter
This value isn't changed by the function
Karl Williamson [Thu, 9 Jun 2016 21:35:15 +0000 (15:35 -0600)]
t/re/uniprops.t: Add more description for \b{} tests
mktables generates a file of tests used in t/re/uniprops.t.
The tests furnished by Unicode for the boundaries like \b{gcb} have
comments that indicate the rules each test is testing. These are useful
in debugging. This commit changes things so the generated file that
includes these Unicode-supplied tests also has the corresponding
comments which are output as part of the test descriptions.
Alex Vandiver [Sat, 21 May 2016 08:21:29 +0000 (01:21 -0700)]
RT now imports new tags automatically
New perl releases are detected via an every-hour cron job, which will
update the relevant custom fields. This step is thus now unnecessary.
Matthew Horsfall [Tue, 21 Jun 2016 17:31:37 +0000 (13:31 -0400)]
Sort @def before generating $warnings::DEFAULT.
This makes the comment easier to read.
David Mitchell [Tue, 21 Jun 2016 16:06:52 +0000 (17:06 +0100)]
only treat stash entries with .*:: as sub-stashes
RT #128238
%: = 0 would cause an assertion failure in Perl_gv_check(), since when
it searched a stash for substashes, it assumed anything ending in ':' was
a substash, whereas substashes end in '::'. So check for a double colon
before recursing.
David Mitchell [Tue, 21 Jun 2016 14:48:57 +0000 (15:48 +0100)]
Revert "Update Time-HiRes to CPAN version 1.9735"
This reverts commit
e6da2a9c4c0cecea6bf21f8ae47d78bdbe8bcbce.
This was hanging parallel testing on my Linux box.
Cause not yest investigated, but revert for now.
David Mitchell [Tue, 21 Jun 2016 14:23:20 +0000 (15:23 +0100)]
uninit warning from $h{\const} coredumped
The code that printed the the name and subscript of a hash element
in an "uninitialized variable" warning assumed that a constant
hash subscript would be SvPOK. Something like \1 is a constant,
but is ROK, not POK. SEGVs ensured.
Chris 'BinGOs' Williams [Tue, 21 Jun 2016 13:59:03 +0000 (14:59 +0100)]
Update Time-HiRes to CPAN version 1.9735
[DELTA]
1.9735 [2016-07-21]
- Time::HiRes should override `utime` to allow setting hires
(use futimens and utimensat to implement subsecond utime)
[rt.perl.org #114809]
- the utime patch uses IS_SAFE_PATHNAME() which isn't available in
too old Perls, so emulate (in case the Devel::PPPort is too old)
- make it so that only one value is set for -DTIME_HIRES_STAT
even on systems that support many options
1.9734 [2016-07-17]
- fix Darwins with clock_gettime: blead
2d41a263
[rt.perl.org #128427]
Chris 'BinGOs' Williams [Tue, 21 Jun 2016 13:57:44 +0000 (14:57 +0100)]
Fix Maintainers.pl after
94e22bd6
Matthew Horsfall [Tue, 21 Jun 2016 13:33:24 +0000 (09:33 -0400)]
Correct comment in t/porting/manifest.
There is no 'make manifest' but there is a 'make manisort'.
Matthew Horsfall [Tue, 21 Jun 2016 12:21:32 +0000 (08:21 -0400)]
Update Devel-PPPort to CPAN version 3.35
[DELTA]
3.35 - 2016-06-17
* Fix compilation in bleadperl by removing a bad test.
3.34 - 2016-06-04
* Fix compilation on Windows with certain compilers.
(__attribute__ not recognized. (#GH 36))
David Mitchell [Tue, 21 Jun 2016 13:22:16 +0000 (14:22 +0100)]
Perl_my_vsnprintf: avoid compiler warning
in the usequadmath branch, gcc is too clever for its own good:
PERL_UNUSED_ARG(ap);
gives:
util.c:5299:18: warning: ‘sizeof’ on array function parameter ‘ap’ will
return size of ‘__va_list_tag *’ [-Wsizeof-array-argument]
Stick in a void* cast to shut it up.
David Mitchell [Tue, 21 Jun 2016 12:28:19 +0000 (13:28 +0100)]
PerlIO-encoding/t/fallback.t: test for warning
The previous commit fixed a typo that had been present since this test
script was created: WARN_ON_ERR misspelt as WARN_ON_ERROR. This means
that one of the tests is now (correctly) issuing a warning. Rather than
that spilling out onto STDERR, capture it and test it instead.
Salvador Fandino [Thu, 12 May 2016 12:40:24 +0000 (14:40 +0200)]
Fix Encode constant name usage: WARN_ON_ERROR --> WARN_ON_ERR
Tony Cook [Tue, 21 Jun 2016 04:23:16 +0000 (14:23 +1000)]
(perl #128359) prevent a const-ness warning on Cygwin
Matthew Horsfall [Mon, 20 Jun 2016 21:51:31 +0000 (17:51 -0400)]
Bump Module::CoreList version for 5.25.3
Matthew Horsfall [Mon, 20 Jun 2016 21:39:46 +0000 (17:39 -0400)]
Bump the perl version in various places for 5.25.3
Matthew Horsfall [Mon, 20 Jun 2016 21:29:25 +0000 (17:29 -0400)]
Add new perldelta
Matthew Horsfall [Mon, 20 Jun 2016 21:24:38 +0000 (17:24 -0400)]
Update release announcement template for 5.26 in 2017.
Matthew Horsfall [Mon, 20 Jun 2016 21:19:19 +0000 (17:19 -0400)]
Tick off release in release_schedule.pod
Matthew Horsfall [Mon, 20 Jun 2016 21:18:40 +0000 (17:18 -0400)]
Update epigraphs.pod after release
Matthew Horsfall [Mon, 20 Jun 2016 20:30:49 +0000 (16:30 -0400)]
Finalize perldelta
Matthew Horsfall [Mon, 20 Jun 2016 20:21:35 +0000 (16:21 -0400)]
add new release to perlhist
Matthew Horsfall [Mon, 20 Jun 2016 20:20:40 +0000 (16:20 -0400)]
Update module versions in perldelta
Matthew Horsfall [Mon, 20 Jun 2016 20:10:00 +0000 (16:10 -0400)]
Update Module::CoreList for 5.25.2
Matthew Horsfall [Mon, 20 Jun 2016 19:57:14 +0000 (15:57 -0400)]
Add acknowledgements to perldelta
Lukas Mai [Mon, 20 Jun 2016 18:55:37 +0000 (20:55 +0200)]
perldelta for
323565712651fc (RT #128200)
Dan Collins [Wed, 8 Jun 2016 19:42:11 +0000 (15:42 -0400)]
Remove references to USENET from ext/
Dan Collins [Wed, 8 Jun 2016 19:41:34 +0000 (15:41 -0400)]
Remove most references to USENET from docs
Matthew Horsfall [Mon, 20 Jun 2016 13:22:18 +0000 (09:22 -0400)]
Prep perldelta for release
Matthew Horsfall [Mon, 20 Jun 2016 12:48:27 +0000 (08:48 -0400)]
Update INSTALL to mention correct versions.
David Mitchell [Mon, 20 Jun 2016 10:48:35 +0000 (11:48 +0100)]
t/harness: avoid tests outside the src tree
[perl #124050] t/harness can mistakenly run tests outside of the perl
source tree
cfa562529cf24 made t/harness prepend '../' to test filenames if such a
file existed. This allowed things like
./perl t/harness cpan/foo/t/foo.t
to work even after harness had done a chdir("t"). However, it was then
picking up a ../cpan/foo/t/foo.t file outside the src tree in preference
to the one inside.
Add belt-and-brace conditions: only modify the filename if the unmodified
file doesn't exist, and only only if it doesn't already start with ../.
Based on an earlier patch by Matthew Horsfall
David Mitchell [Mon, 20 Jun 2016 07:20:12 +0000 (08:20 +0100)]
update AUTHORS
Misty De Meo [Fri, 17 Jun 2016 19:49:44 +0000 (12:49 -0700)]
Time::HiRes: fix Darwins with clock_gettime
Not all of the Darwin time code was guarded by the same set of #ifdefs,
leading to bugs on Darwin platforms with clock_gettime where a struct
would not be defined but would still be used elsewhere.
Karl Williamson [Tue, 14 Jun 2016 20:05:49 +0000 (14:05 -0600)]
regexes, Slight refactor, but mostly fix comments,
Also some white space changes.
This reinstates some refactoring that was done in the reverted commit
c29dfc6a6c45f86648c51f961304254cc3c449b9. This was the part of the
commit that didn't lead to problems. Instead, it makes the code
slightly simpler, with fewer instructions needed (disregarding any
compiler optimizations).
But mostly this commit rewords and amplifies some comments. I
discovered I didn't fully understand things (as the algorithm was taken
from a book), and wrote the comments to be wrong or at least misleading.
David Mitchell [Sun, 19 Jun 2016 19:57:51 +0000 (20:57 +0100)]
perldelta entry for
0bac45c8ec730e2f
Father Chrysostomos [Sun, 19 Jun 2016 07:46:15 +0000 (00:46 -0700)]
perldelta for
79409ac835 / #128260
Father Chrysostomos [Sun, 19 Jun 2016 07:43:28 +0000 (00:43 -0700)]
Father Chrysostomos [Sun, 19 Jun 2016 07:40:14 +0000 (00:40 -0700)]
perldelta for
e7127e21a1 / #128307
Father Chrysostomos [Sun, 19 Jun 2016 07:36:27 +0000 (00:36 -0700)]
perldelta for
76734a3218e / #128204
Father Chrysostomos [Sun, 19 Jun 2016 07:33:29 +0000 (00:33 -0700)]
perldelta for
ffd2521e4c1d
Father Chrysostomos [Sun, 19 Jun 2016 07:27:54 +0000 (00:27 -0700)]
perldelta for
a50cb9d2d (lex sub acceptance)
mostly based on
1c2511e0acc.
Father Chrysostomos [Sun, 19 Jun 2016 07:24:21 +0000 (00:24 -0700)]
perldelta for
a061ab0bf and
738155d2f
Father Chrysostomos [Sun, 19 Jun 2016 07:19:36 +0000 (00:19 -0700)]
Dan Collins [Fri, 17 Jun 2016 23:40:57 +0000 (19:40 -0400)]
Add tests for regex recursion
d5a00e4af introduced a bug in reginsert that was fixed by
da7cf1cc7,
originally documented in [perl #128109]. This patch adds two
regression tests for the testcase reported by Jan Goyvaerts in
[perl #128420].
Karl Williamson [Fri, 17 Jun 2016 21:17:43 +0000 (15:17 -0600)]
Revert "regcomp.c: Add shortcuts to some inversion list ops"
This reverts commit
c29dfc6a6c45f86648c51f961304254cc3c449b9.
But it also removes the XXX suggesting that the things that commit did
should be done. It turns out that I didn't fully understand this, that
the shortcuts weren't found as frequently as I expected, and in fact
happened when they shouldn't have, creating bugs. The only bugs I found
had to do with displaying what the regex compiled into under -Dr, but I
imagine there are others out there. I did try to create some test cases
that showed the bugs, based on understanding how the code works, but
various things prevented them from actually being bugs.
To correctly decide to take the shortcut requires adding tests inside a
loop, and the shortcut is just to possibly save some work after the
loop. That isn't a good tradeoff.
Karl Williamson [Fri, 17 Jun 2016 18:02:13 +0000 (12:02 -0600)]
Regen podcheck.t db following perlmodlib fixes
Commit
9ed2d9d9590c246380663caa818775c693b29fb0 fixed some over-long
verbatime lines.
Karl Williamson [Fri, 10 Jun 2016 03:25:46 +0000 (21:25 -0600)]
Add missing deprecation message for unescaped '{' in regexes
The use of literal '{' without being escaped has been deprecated since
5.16, and warned on since 5.20. In 5.24, this has been made illegal,
with a bunch of CPAN modules broken by it, in spite of the long
deprecation period. See
https://rt.perl.org/Ticket/Display.html?id=128139
Unfortunately, I overlooked a code path, and not all instances that
should have warned did so in fact. This was spotted by Tom Wyant in
https://rt.perl.org/Ticket/Display.html?id=128213
This commit adds that warning, and rewords the fatal one slightly, and
clarifies the whole thing in perldiag.
Karl Williamson [Wed, 15 Jun 2016 18:51:39 +0000 (12:51 -0600)]
diagnostics.pm; Enhance to accept nested lists
Prior to this patch, this module assumed every =item was for a
diagnostic. Now it keeps track, and so a given diagnostic can have a
list within it.
Karl Williamson [Fri, 10 Jun 2016 03:22:34 +0000 (21:22 -0600)]
op/stat.t: Skip test if environment not suitable.
Subtly, if this test is run in a directory containing a file named '2',
it will fail. It's simplest to just skip the test for this rare event.
Chris 'BinGOs' Williams [Fri, 17 Jun 2016 18:10:16 +0000 (19:10 +0100)]
Mention
9ed2d9d9 in perldelta
Matthew Horsfall [Fri, 17 Jun 2016 16:52:30 +0000 (12:52 -0400)]
Some perldelta updates for the upcoming release.
David Mitchell [Fri, 17 Jun 2016 16:53:00 +0000 (17:53 +0100)]
perl.c: comment that it's also perlmini.c
David Mitchell [Fri, 17 Jun 2016 16:27:31 +0000 (17:27 +0100)]
better document Miniperl.pm, (mini)perlmain.c
ExtUtils::Miniperl is used to generate both miniperlmain.c and perlmain.c,
but in different ways (via regen and via make respectively).
Update the pod in Miniperl.pm to explain this more clearly, and
imporve the header comment it emits in miniperlmain.c and perlmain.c.
Ivan Pozdeev [Fri, 17 Jun 2016 15:11:34 +0000 (16:11 +0100)]
Makefile.SH: -Ilib is already in $MINIPERL's defn
So '$(MINIPERL) -Ilib' is redundant.
Ed Avis [Fri, 17 Jun 2016 14:01:06 +0000 (15:01 +0100)]
docs: clarify flag constants in File::Glob
See [perl #126239].
David Mitchell [Fri, 17 Jun 2016 12:28:11 +0000 (13:28 +0100)]
perl -V: make configuration one per line
For improved readability, change:
Platform:
osname=linux, osvers=4.4.11-200.fc22.x86_64, archname=x86_64-linux-thread-multi
...
to
Platform:
osname=linux
osvers=4.4.11-200.fc22.x86_64
archname=x86_64-linux-thread-multi
....