This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Daniel Dragan [Tue, 19 May 2015 05:23:29 +0000 (01:23 -0400)]
dont use a 64 bit constant for a 32 bit value
Perl on MSVC6 doesnt support 64 bit ints (p5p choice not to support it)
so this macro isn't defined on MSVC6 builds, commit
e59642234e hid this
mistake from non-DEBUGGING builds. The mistake is a copy paste mistake
from commit
eacbb37937 . Miniperl fails at VC6 link time due to UINT64_C
symboil not being found.
..\pad.c(165) : warning C4013: 'UINT64_C' undefined; assuming extern
returning int
..\pad.c(165) : warning C4018: '!=' : signed/unsigned mismatch
Steve Hay [Mon, 18 May 2015 17:13:33 +0000 (18:13 +0100)]
Revert Windows test watchdog() to kill('KILL', ...)
There are suspicions that the process tree kill('-KILL', ...) might be
nuking too much. It was only done to kill the cmd.exe+perl.exe tree that
was unexpectedly launched by system(1, $cmd), but by switching to
system({$perl} 1, $perl, '-e', $prog) we can avoid the intermediate cmd.exe
and thus revert to normal process kill('KILL', ...) instead to kill the
perl.exe that is now launched directly.
See http://www.nntp.perl.org/group/perl.perl5.porters/2015/05/msg227859.html
Ricardo Signes [Tue, 19 May 2015 00:41:35 +0000 (20:41 -0400)]
corelist: regenerate the v5.22.0 corelist delta
Ricardo Signes [Tue, 19 May 2015 00:38:48 +0000 (20:38 -0400)]
perlhist: expected perl v5.22.0 release dates
Ricardo Signes [Tue, 19 May 2015 00:36:51 +0000 (20:36 -0400)]
perldelta: the v5.22.0 acknowledgements
Ricardo Signes [Tue, 19 May 2015 00:16:12 +0000 (20:16 -0400)]
switch perldelta module diff to "go ask corelist"
We may yet restore a summary of important changes, but for now,
this is it.
David Mitchell [Sun, 17 May 2015 18:38:44 +0000 (19:38 +0100)]
Revert "stop T_IN/OUT/INOUT/STDIO typemaps leaking"
This reverts commit
50e5165b9638b94be310f15477b42935c79e82d5.
That commit fixed the leak too well and instead introduced a potential
premature free.
This re-introduces the long-standing leak, which will be addressed post
5.22 release.
See RT #124181
David Mitchell [Mon, 18 May 2015 16:23:06 +0000 (17:23 +0100)]
davem's perldelta proofreading part 3
These are my changes from between
=head1 Selected Bug Fixes
inclusive up to EOF.
Some notes.
The C<$lexical = chr $foo> optimisations were added and then removed
during 5.21.x, so I've removed all references to them.
Ditto readline after <<>> was added.
Ditto "Only stringy classnames are now shared".
Ditto "two assertion failures introduced into C<-DPERL_OP_PARENT>"
The size overflow stuff of 123554 was mentioned in two parts; now
consolidated into one.
Moved the two flip-flop items to be next to each other.
David Mitchell [Mon, 18 May 2015 12:18:28 +0000 (13:18 +0100)]
davem's perldelta proofreading part 2
These are my changes from between
=head1 Modules and Pragmata
inclusive up to (but not including)
=head1 Selected Bug Fixes
Some specific comments:
I moved "Missing or undefined argument to require" from "changed diags"
to "new diags": the behaviour has changed, but its a completely new diag
message.
"<B> now compiles again on Windows" I assume was only broken within the
5.21.x series.
The headline description of Perl_sv_get_backrefs() made it sound like it
returns a boolean. The more detailed description I've deleted, since
people can get that from the api doc.
I've merged the two entries for cv_name.
David Mitchell [Mon, 18 May 2015 11:39:12 +0000 (12:39 +0100)]
clarify apidoc for Perl_sv_get_backrefs
Steve Hay [Mon, 18 May 2015 08:05:33 +0000 (09:05 +0100)]
PerlIO::via::QuotedPrint finally has a new release which synchronizes it with blead
David Mitchell [Sun, 17 May 2015 19:48:39 +0000 (20:48 +0100)]
perdelta tweaks based on bulk88 feedback.
See http://nntp.perl.org/group/perl.perl5.porters/228010
David Mitchell [Sun, 17 May 2015 18:48:25 +0000 (19:48 +0100)]
bump utf8 version after doc fix
Rafael Garcia-Suarez [Sun, 17 May 2015 08:03:11 +0000 (10:03 +0200)]
Fix a doc typo in the spelling of EBCDIC
James E Keenan [Sat, 16 May 2015 23:41:06 +0000 (19:41 -0400)]
Small grammatical correction in documentation of C<each>.
David Mitchell [Sat, 16 May 2015 20:22:55 +0000 (21:22 +0100)]
a few perldelta nits
Aaron Crane [Sat, 16 May 2015 16:05:42 +0000 (17:05 +0100)]
perldelta: typo fixes and wordsmithing
Herbert Breunung [Sat, 16 May 2015 12:05:03 +0000 (08:05 -0400)]
note that .. can also create string ranges
David Mitchell [Fri, 8 May 2015 13:46:01 +0000 (14:46 +0100)]
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.
Tony Cook [Fri, 15 May 2015 04:14:05 +0000 (14:14 +1000)]
perldelta for
5cd35aacb089
Tony Cook [Fri, 15 May 2015 04:06:45 +0000 (14:06 +1000)]
[perl #123998] prevent a missing chcp causing failures and noise on Win32
Tony Cook [Fri, 15 May 2015 01:47:11 +0000 (11:47 +1000)]
bump all of the EUMM module versions to avoid confusion
and the customized housekeeping to match
Tony Cook [Thu, 14 May 2015 03:09:36 +0000 (13:09 +1000)]
backport
37c49881 from the EUMM repository
Tony Cook [Wed, 13 May 2015 00:28:22 +0000 (10:28 +1000)]
backport
1e2f0871 from the EUMM repository
Aaron Crane [Thu, 14 May 2015 16:52:02 +0000 (17:52 +0100)]
perldelta: add obituary entry for Brian McCauley
This borrows heavily from Barbie's longer obituary:
http://blogs.perl.org/users/barbie/2015/05/brian-mccauley-1967-2015.html
David Mitchell [Thu, 14 May 2015 15:21:35 +0000 (16:21 +0100)]
davem's perldelta proofreading part 1
These are my changes up to (but not including)
=head1 Modules and Pragmata
I've expanded on things mainly where I personally was confused by what the
entry was trying to say, and where I had to refer back to the src or RT
ticket.
Some specific stuff:
"qr/foo/x> now ignores any Unicode pattern white space" appeared under
both "Core Enhancements" and "Incompatible Changes"; I've consolidated
both entries into one, in the latter section.
\C now in fact warns; it was already deprecated in an earlier release.
Performance efactoring of pp_tied and pp_ref is really a minor internal
detail not significant enough for a perldelta.
"Pathtools doesn't try to load XS on miniperl" - I've moved this from
"performance" to "build", since it doesn't affect the performance of perl
binary, but only how long it takes to build that binary.
"A typo fix reduces the size of the C<< OP >> structure." - this both
broke and was fixed within 5.21.x, so I've removed the entry.
Tony Cook [Thu, 14 May 2015 02:01:55 +0000 (12:01 +1000)]
make minitest on win32
Tony Cook [Thu, 14 May 2015 01:41:09 +0000 (11:41 +1000)]
test-prep-gcc was broken and fixed within 5.21
Tony Cook [Thu, 14 May 2015 01:37:24 +0000 (11:37 +1000)]
list form of pipe open didn't work on Win32 at all in 5.20
Tony Cook [Thu, 14 May 2015 00:32:14 +0000 (10:32 +1000)]
add the second variation of the "unable to close" warning, and the description
David Mitchell [Wed, 13 May 2015 11:13:34 +0000 (12:13 +0100)]
perldelta tweaks
Based on feedback by Shlomi Fish.
David Mitchell [Wed, 13 May 2015 07:29:35 +0000 (08:29 +0100)]
update known issues for recent perldelta update
links to external modules fail t/porting/podcheck.t unless exempted.
Karl Williamson [Wed, 13 May 2015 03:39:27 +0000 (21:39 -0600)]
perldelta: Highlight some 5.21 areas; fix others
I added XXX to lines where the text for this perldelta look like it
ought to change somewhat due to this being the delta from 5.20.2 to
5.22.0, instead of from one 5.21 release to another. I believe, but am
uncertain that several of these should just be deleted; while others
require rewording. Rather than not call out attention to them, I am
marking them to draw attention to them for people more expert in these
areas to adddress.
Several areas seemed clear to me that a bug introduced in some 5.21
version was fixed in a later 5.21 version, so has zero relevance for
making the jump from 5.20 to 5.22. I just deleted those.
And I had minor rewording in others, where it mentioned 5.21. We've
decided not to talk about development releases in the pods.
Karl Williamson [Wed, 13 May 2015 03:45:53 +0000 (21:45 -0600)]
perldelta: Add a couple more C<>'s
Ricardo Signes [Wed, 13 May 2015 02:56:38 +0000 (22:56 -0400)]
perldelta: invoker v0.34 known to need fixes for blead
Ricardo Signes [Wed, 13 May 2015 02:54:46 +0000 (22:54 -0400)]
perldelta: NgxQueue v0.02 known broken with blead
Karl Williamson [Wed, 13 May 2015 02:08:59 +0000 (20:08 -0600)]
perlapi: Remove extraneous ">"
Karl Williamson [Tue, 12 May 2015 18:04:43 +0000 (12:04 -0600)]
perldelta: Combine some text; delete outdated; add new
Karl Williamson [Tue, 12 May 2015 18:04:08 +0000 (12:04 -0600)]
perldelta: Nits
Karl Williamson [Tue, 12 May 2015 18:01:09 +0000 (12:01 -0600)]
perldelta: Add a bunch of C<> and S<>
It also removes some C<> that were in verbatim sections; reorders some
wording
Matthew Horsfall [Tue, 12 May 2015 14:43:58 +0000 (10:43 -0400)]
perldelta: Minor consistency / grammar fixes.
Matthew Horsfall [Tue, 12 May 2015 13:38:36 +0000 (09:38 -0400)]
perldelta: Reword entry about double-diamond operator.
Matthew Horsfall [Tue, 12 May 2015 13:34:07 +0000 (09:34 -0400)]
perldelta: Update release order for consistency
Steve Hay [Tue, 12 May 2015 12:21:00 +0000 (13:21 +0100)]
Fix a few perldelta typos
Steve Hay [Tue, 12 May 2015 08:23:51 +0000 (09:23 +0100)]
perldelta - Fill in missing rt.perl.org links
David Mitchell [Tue, 12 May 2015 12:22:32 +0000 (13:22 +0100)]
perldelata: consolate PERL_OP_PARENT stuff
The PERL_OP_PARENT stuff was introduced in 5.21.2, updated in 5.21.7, then
considerably revised in 5.21.11. Consolidate the three sets of perldelta
entries into one coherent whole.
Ricardo Signes [Tue, 12 May 2015 01:44:42 +0000 (21:44 -0400)]
perlhist: add the release data for 5.22
Some of this may change, but nothing significantly.
Karl Williamson [Mon, 11 May 2015 18:13:14 +0000 (12:13 -0600)]
perlapi: Use UVCHR_SKIP not UNI_SKIP
This new name is more consistent with other uses in the API.
Karl Williamson [Mon, 11 May 2015 01:39:58 +0000 (19:39 -0600)]
perlfunc: Slight clarification
Karl Williamson [Sun, 10 May 2015 17:12:37 +0000 (11:12 -0600)]
PATCH: [perl #125145] perlrun: Fix typo
Philippe Bruhat (BooK) [Tue, 5 May 2015 20:22:48 +0000 (22:22 +0200)]
perlperf: fix some apostrophes and add a C<>
Steve Hay [Sat, 9 May 2015 13:49:11 +0000 (14:49 +0100)]
Do not use bareword TERM or KILL in kill() call in test watchdog process
Karl Williamson [Sat, 9 May 2015 04:15:25 +0000 (22:15 -0600)]
perlebcdic: Document v5.22 EBCDIC bugs
Karl Williamson [Sat, 9 May 2015 04:14:21 +0000 (22:14 -0600)]
perlunicode: Fix small misstatement
Karl Williamson [Sat, 9 May 2015 03:02:37 +0000 (21:02 -0600)]
perlapi: Add 2 links to other parts of the pod
Karl Williamson [Sat, 9 May 2015 02:34:24 +0000 (20:34 -0600)]
perldelta: Fix some podcheck pedantic errors
Karl Williamson [Sat, 9 May 2015 02:21:52 +0000 (20:21 -0600)]
perlport: Add notes about EBCDIC
Ricardo Signes [Sat, 9 May 2015 00:37:00 +0000 (20:37 -0400)]
podcheck: add known link target Devel::Spy
Ricardo Signes [Sat, 9 May 2015 00:19:54 +0000 (20:19 -0400)]
Bump perl version to v5.22.0-RC0
Ricardo Signes [Fri, 8 May 2015 23:12:01 +0000 (19:12 -0400)]
perldelta: Devel-Spy known to be broken
Ricardo Signes [Fri, 8 May 2015 23:11:49 +0000 (19:11 -0400)]
bump version of overload in corelist
Ricardo Signes [Fri, 8 May 2015 23:11:40 +0000 (19:11 -0400)]
document that we may add more overloaded ops over time
Ricardo Signes [Fri, 8 May 2015 23:05:15 +0000 (19:05 -0400)]
perldelta: prefer "CPAN" to "cpan"
Ricardo Signes [Wed, 6 May 2015 12:13:30 +0000 (08:13 -0400)]
perldelta/perldiag: make a pod cross-reference pass tests
Why is this change needed?
Ricardo Signes [Wed, 6 May 2015 12:12:58 +0000 (08:12 -0400)]
describe errors with no description, delete obsolete warnings
Ricardo Signes [Wed, 6 May 2015 11:42:32 +0000 (07:42 -0400)]
perldelta is now the perl5220delta
Ricardo Signes [Wed, 6 May 2015 02:55:42 +0000 (22:55 -0400)]
corelist for v5.22.0
Ricardo Signes [Wed, 6 May 2015 02:43:39 +0000 (22:43 -0400)]
bump version: make regen
Ricardo Signes [Wed, 6 May 2015 02:35:00 +0000 (22:35 -0400)]
...but actually we are RC0
Ricardo Signes [Wed, 6 May 2015 01:37:59 +0000 (21:37 -0400)]
bump version to v5.22.0 with Porting/bump-perl-version
Ricardo Signes [Sat, 9 May 2015 00:07:07 +0000 (20:07 -0400)]
POSIX.pm: bump version
Aristotle Pagaltzis [Thu, 7 May 2015 14:59:36 +0000 (16:59 +0200)]
POSIX: revert exported functions to 5.20.2 state
This patch does 3 things. For the purposes of bisectability it is
unfortunately not feasible to split them up into separate patches.
They are as follows:
1. Revert the list of default exports in t/export.t to what it was
in the commit tagged v5.20.2, but take the opportunity to retab
it since the blame log is messed up anyway. (This can be verified
with a whitespace-ignoring diff.) Then add the new exports in new,
separate sections.
2. In POSIX.pm, remove the new fenv_h tag from default exports and
revert the math_h and stdlib_h tags to their state in Perl 5.20.2.
3. Add infrastructure for adding export tags that will not automatically
get added into @EXPORT when it is generated, and use this to add new
tags for the stuff added since 5.20.2. Since tags named after math_h
and stdlib_h already exist, duplicate them as stdlib_h_c99/math_h_c99
with their new additions included.
Karl Williamson [Fri, 8 May 2015 23:47:49 +0000 (17:47 -0600)]
Add note to EBCDIC README's, asking for input
I asked on perl-mvs for help in updating these files, but got no advice;
so noting in the files themselves that they are out-of-date, and asking
any reader for help.
David Mitchell [Wed, 6 May 2015 10:56:47 +0000 (11:56 +0100)]
allow undef as an arg to '&' prototype
RT #123475
Commit
e41e9865be5555 (to fix [perl #123062]) restricted the types of
args allowed for a function with a '&' prototype - previously it allowed
array refs and the like. It also removed undef, so this was now a
compile-time error:
sub foo (&) {...}
foo(undef)
However, some CPAN code used the idiom register_callback(undef) to
explicitly disable a registered callback.
So re-allow an explicit undef.
Karl Williamson [Thu, 7 May 2015 23:09:18 +0000 (17:09 -0600)]
perlop: Don't use bitwise string ops on UTF-8
The behavior is likely to change
Karl Williamson [Thu, 7 May 2015 23:08:30 +0000 (17:08 -0600)]
perlop: Make correction
This recipe has the same result under both EBCDIC and ASCII
Karl Williamson [Thu, 7 May 2015 23:07:16 +0000 (17:07 -0600)]
perlguts: Add links to perlunicode
Karl Williamson [Thu, 7 May 2015 22:58:51 +0000 (16:58 -0600)]
perlunicode: Revamp
I've always had problems understanding the point of some of the
discussion of this pod, so I've finally rewritten parts to bring it
up-to-date with modern Unicode support and clarify things.
In particular the "byte" vs "character" semantics didn't make sense to
me. Perl has always used character semantics (outside of a few places
noted in both pod versions); it's just that the advent of Unicode made
'byte' and 'character' no longer synonymous. So I've split that section
of the old pod, with the added section entitled "ASCII rules vs Unicode
rules", which I think is more clear.
Karl Williamson [Thu, 7 May 2015 22:53:34 +0000 (16:53 -0600)]
perlunicode: Nits, minor fixes
Karl Williamson [Thu, 7 May 2015 19:00:00 +0000 (13:00 -0600)]
perluniintro: Add note
Unicode ranges don't currently work in tr///
Karl Williamson [Thu, 7 May 2015 18:56:50 +0000 (12:56 -0600)]
perlunitut: Add note
Karl Williamson [Thu, 7 May 2015 18:54:32 +0000 (12:54 -0600)]
perlrun: Note existence of -DL
Karl Williamson [Thu, 7 May 2015 18:53:45 +0000 (12:53 -0600)]
perlrebackslash: Note \b{sb} is subject to change
The Unicode algorithm has big issues, and may change.
Karl Williamson [Thu, 7 May 2015 18:48:22 +0000 (12:48 -0600)]
perlebcdic: Move text from perlunicode
This consolidates the EBCDIC problems into one place
Karl Williamson [Thu, 7 May 2015 16:58:02 +0000 (10:58 -0600)]
perlapi: Clearer wording in intro
Karl Williamson [Thu, 7 May 2015 03:10:39 +0000 (21:10 -0600)]
perlapi: Add intro text to Unicode section
Karl Williamson [Thu, 7 May 2015 03:07:33 +0000 (21:07 -0600)]
perlunicode: Refer to perlguts for XS handling
Don't redescribe things here. Also refer to perlapi.
Karl Williamson [Thu, 7 May 2015 03:05:19 +0000 (21:05 -0600)]
perlguts: Add/update text about handling Unicode
Karl Williamson [Thu, 7 May 2015 03:02:16 +0000 (21:02 -0600)]
perlguts: Add EBCDIC info
Karl Williamson [Thu, 7 May 2015 03:01:32 +0000 (21:01 -0600)]
perlguts: Nits, corrections and clarifications
Karl Williamson [Thu, 7 May 2015 02:42:15 +0000 (20:42 -0600)]
perlapi: Document some functions
These are mentioned in some other pods. It's best to bring them into
perlapi, and refer to them from the other pods.
Karl Williamson [Thu, 7 May 2015 02:47:15 +0000 (20:47 -0600)]
utf8.h: Add a #define
The name UVCHR... parallels the usage of various functions uvchr...
It's less confusing to keep the same name form for the same type of
functionality
Dave Rolsky [Thu, 7 May 2015 19:59:49 +0000 (14:59 -0500)]
Add a missing word in perlobj
Aristotle Pagaltzis [Thu, 7 May 2015 18:00:28 +0000 (20:00 +0200)]
POSIX: discourage use of default exports
Aristotle Pagaltzis [Thu, 7 May 2015 13:35:20 +0000 (15:35 +0200)]
POSIX/t/math.t: skip fpclassify where unsupported
Aristotle Pagaltzis [Thu, 7 May 2015 12:07:42 +0000 (14:07 +0200)]
POSIX: document the new C99 math constants
Craig A. Berry [Tue, 5 May 2015 02:25:05 +0000 (21:25 -0500)]
Fix unixify when beginning with current directory.
VMS::Filespec::unixify has been truncating its return value and
returning early when the input begins with [] meaning the current
directory. If there was nothing else, we've been getting the right
answer:
[] --> ./
but if there was a file portion of the name it's been getting
omitted:
[]foo.txt --> ./
which is now fixed. Looks like it's been broken since inception
in 5.002, though only with the specific [] case and not if there
was an explicit device or directory name.
Karl Williamson [Wed, 6 May 2015 01:57:45 +0000 (19:57 -0600)]
perlvar: Mention literal cntrls are deprecated in var names
Ricardo Signes [Wed, 6 May 2015 01:16:11 +0000 (21:16 -0400)]
Merge branch 'perldelta' into blead
Ricardo Signes [Mon, 27 Apr 2015 00:45:17 +0000 (20:45 -0400)]
perldelta: sort changed warnings