This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
8 years agoRemove an unnecessary right parenthesis
Shlomi Fish [Tue, 2 Jun 2015 08:29:46 +0000 (11:29 +0300)]
Remove an unnecessary right parenthesis

8 years agoUpdate Time-Piece to CPAN version 1.30
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:06:58 +0000 (16:06 +0100)]
Update Time-Piece to CPAN version 1.30

  [DELTA]

1.30    2015-05-16
        - Stable release. Overview from 1.29:
        - Make strftime more portable + fix %z %z
        - Add many more tests
        - Clean inheritance

1.29_05   2015-05-02
        - Combine multiple 'use constant' statements (saves 0.5ms at runtime)
        - Don't leave c_epoch undef
        - deprecate parse() function
        - More constructor tests
        - export() calls Exporter::export

1.29_04   2015-04-09
        - Clean inheritance of Exporter and DynaLoader (Thanks dolmen!)
        - Refactor _strftime to use localtime/gmtime to generate tm struct

1.29_03   2015-04-04
        - Don't mix gmtime and mktime in _strftime
        - Clean whitespace at end of lines
        - Add more tests for DST issues and also strptime parsing

1.29_02   2015-04-04
        - Fix handling of %Z and %z in strftime (hopefully)
        - Remove compile warnings for int cast

1.29_01   2015-03-30
        - Fix handling of %Z and %z in strftime (in progress)
        - Remove unused constants from Time::Seconds (Thanks Xaerxess!)
        - _strftime: use system mktime to better support past/future dates
        - Relicense strptime as BSD 2-clause http://git.io/vfNSg

8 years agoUpdate Socket to CPAN version 2.019
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:05:03 +0000 (16:05 +0100)]
Update Socket to CPAN version 2.019

  [DELTA]

  2.019   2015/04/29 17:05:33
        [BUGFIXES]
         * Provide emulations of inet_ntop/inet_pton on MSWin32 by using
           WSAStringToAddress/WSAAddressToString

8 years agoUpdate ExtUtils-CBuilder to CPAN version 0.280223
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:02:48 +0000 (16:02 +0100)]
Update ExtUtils-CBuilder to CPAN version 0.280223

  [DELTA]

  0.280223 - 2015-06-02

  Fixed:

  - Impose deterministic order on cpp-definition options.
    Heretofore, ExtUtils::CBuilder put cpp-definition options
    into the cc command line in non-deterministic order. This
    produced noise when diffing build logs.
    Make this order deterministic.  (RT #124106)

  Added:

  - Add tests for ascii-betical order in t/04-base.t.

8 years agoModule-CoreList-5.20150520 is on CPAN now
Chris 'BinGOs' Williams [Wed, 3 Jun 2015 15:00:32 +0000 (16:00 +0100)]
Module-CoreList-5.20150520 is on CPAN now

8 years agoperldelta for 0c9375a5ca42
Tony Cook [Wed, 3 Jun 2015 05:29:12 +0000 (15:29 +1000)]
perldelta for 0c9375a5ca42

8 years ago[perl #125115] don't create file GLOB(...) when dupping a closed handle
Tony Cook [Tue, 26 May 2015 06:03:31 +0000 (16:03 +1000)]
[perl #125115] don't create file GLOB(...) when dupping a closed handle

8 years agoperldelta for 0b1fcdcc0341
Tony Cook [Wed, 3 Jun 2015 04:56:05 +0000 (14:56 +1000)]
perldelta for 0b1fcdcc0341

8 years agoFix RT#71678 (-d a command after exit) with a test.
Shlomi Fish [Mon, 25 May 2015 17:56:23 +0000 (20:56 +0300)]
Fix RT#71678 (-d a command after exit) with a test.

Credits to Heiko Eissfeldt for the reported bug, the test program and a
proposed fix.

8 years agofeature.pm remove unused lexicals
Daniel Dragan [Fri, 29 May 2015 05:48:11 +0000 (01:48 -0400)]
feature.pm remove unused lexicals

8 years agorefactor win32_get_*lib() funcs to match rest of PERL_IMPLICIT_SYS API
Daniel Dragan [Thu, 21 May 2015 21:06:27 +0000 (17:06 -0400)]
refactor win32_get_*lib() funcs to match rest of PERL_IMPLICIT_SYS API

The front end of PERL_IMPLICIT_SYS is PerlEnv_*/PerlSock_*/PerlProc_*/etc
macros. These are either macroed to C vtable calls when PERL_IMPLICIT_SYS
is on, or to the backend raw win32_*() functions when PERL_IMPLICIT_SYS
is off.

win32_get_*() were not following this convention. All this code looks like
a hack as if someone didn't have perms to edit perl.c, but they did have
perms to edit /win32, so they devise a scheme of hooking "unhooked"
win32_get_*() functions with win32.h macros for win32_get_*() to call the
Perl*() virutalization macros, and rename the original function bodies in
win32.c to g_win32_get_*() as to not make a macro loop.

Undo all of this hack by having perl.c call correct PerlEnv_* macro. This
refactoring will be useful for a future patch in #123658 to disable
win32 registry lookups.

8 years agolet Visual C 2013 builds run on WinXP
Daniel Dragan [Mon, 18 May 2015 22:07:29 +0000 (18:07 -0400)]
let Visual C 2013 builds run on WinXP

-keep the idea of -subsystem being specified only in the master makefile
 and not in XS building makefiles

8 years agoPerl_croak->croak and misc C optimizing in POSIX.pm
Daniel Dragan [Mon, 11 May 2015 03:45:58 +0000 (23:45 -0400)]
Perl_croak->croak and misc C optimizing in POSIX.pm

On threaded perls, this reduces the overhead of the rarely executed error
branches. croak does not have a context arg, Perl_croak does. This makes
the machine code the error branches slightly smaller.

update the manual xsub registration to use the new newXS_deffile added in
5.21, this saves 1 C stack arg and a hash lookup

factor out ST(1234) from T_OPAQUEPTROBJ typemap entry, the CC must emit
code to calculate ST() twice, due to sv_derived_from function possibly
rewriting the world

POSIX.dll on threaded VC 2003 32bit's .text dropped from 0x6c05 to 0x6b55

8 years agoremove redundant PERL_EXPORT_C and PERL_XS_EXPORT_C macros
Daniel Dragan [Mon, 11 May 2015 03:30:21 +0000 (23:30 -0400)]
remove redundant PERL_EXPORT_C and PERL_XS_EXPORT_C macros

These 2 macros were created for the Symbian port in commit
"Symbian port of Perl" to replace a direct "extern" token. I guess the
author was unaware of PERL_CALLCONV.

PERL_CALLCONV is the official macro to use. PERL_XS_EXPORT_C and
PERL_EXPORT_C have no usage on cpan grep except for modules with direct
copies of core headers. A defect of using PERL_EXPORT_C and
PERL_XS_EXPORT_C instead of PERL_CALLCONV is that win32/win32.h has no
knowledge of the 2 macros and doesn't set them, and os/os2ish.h doesn't
either. On Win32, since the unix defaults are used instead of Win32
specific "__declspec(dllimport)" token, XS modules use indirect function
stubs in each XS module placed by the CC to call into perl5**.dll instead
of directly calls the core C functions. I observed this in in XS-Typemap's
DLL. To simplify the API, and to decrease the amount of macros needing to
implemented to support each platform, just remove the 2 macros.

Since perl.h's fallback defaults for PERL_CALLCONV are very late in perl.h,
they need to be moved up before function declarations start in perlio.h
(perlio.h is included from iperlsys.h).

win32iop.h contains the "PerlIO" and SV" tokens, so perlio.h must be
included before win32iop.h is. Including perlio.h so early in win32.h,
causes PERL_CALLCONV not be defined since Win32 platform uses the
fallback in perl.h, since win32.h doesn't always define PERL_CALLCONV and
sometimes relies on the fallback. Since win32iop.h contains alot of
declarations, it belongs with other declarations such as those in proto.h
so move it from win32.h to perl.h.

the "free" token in struct regexp_engine conflicts with win32iop's
"#define free win32_free" so rename that member.

8 years agoFix quote() function to escape backslashes but not minus signs
Niko Tyni [Sat, 18 Apr 2015 15:59:07 +0000 (18:59 +0300)]
Fix quote() function to escape backslashes but not minus signs

The delimiter character isn't special in character square brackets,
and neither is the backslash. So '\-\' means just a range of backslash
to backslash, and the minus sign isn't included at all.

Substitution tested with GNU Solaris 9 sed programs.

Originally noticed by Kristoffer Grundstr?m.

Bug-Debian: https://bugs.debian.org/754057

8 years agoMake t/run/locale.t survive missing locales masked by LC_ALL
Niko Tyni [Wed, 15 Apr 2015 15:41:57 +0000 (18:41 +0300)]
Make t/run/locale.t survive missing locales masked by LC_ALL

If LC_ALL is set to a valid locale but another LC_* setting like LC_CTYPE
isn't, t/run/locale.t would fail because it explicitly unsets LC_ALL,
unmasking the problem underneath. All the other tests survive such
a scenario.

While this is clearly an error in the build environment, it's easy to make
the test more robust by first clearing all the locale relevant variables.

Bug-Debian: https://bugs.debian.org/782068

8 years agofix XXX on DEBUG_TOP_FLAG comment
Jim Cromie [Sat, 4 Apr 2015 18:49:27 +0000 (12:49 -0600)]
fix XXX on DEBUG_TOP_FLAG comment

DEBUG_TOP_FLAG is ORd into PL_debug when -D option is used, so that
"if (PL_debug)" can be used, w/o also enabling (or requiring) any
specific DEBUG_(.)_FLAGs.  It is used in Perl_runops_debug to
short-circuit several DEBUG_(.)_TESTs.

8 years agoperl_clone_using: Zero -DPERL_TRACE_OPS mem for sub-threads
Jim Cromie [Wed, 3 Dec 2014 17:34:36 +0000 (10:34 -0700)]
perl_clone_using: Zero -DPERL_TRACE_OPS mem for sub-threads

perl_clone_using() is missing Zero init of PL_op_exec_cnt[].  This
causes sub-threads in threaded -DPERL_TRACE_OPS builds to spew
exceedingly large op-counts at destruct.  These counts would print %x
as "ABABABAB", clearly a mem-poison value.

8 years agoperldelta for b4a10d33, 3f185657, 8db29734, 0d2463eb, 669bc510
Tony Cook [Tue, 2 Jun 2015 01:42:22 +0000 (11:42 +1000)]
perldelta for b4a10d333f1856578db297340d2463eb669bc510

8 years agolocale.c: White-space, comment only
Karl Williamson [Sun, 3 May 2015 15:43:23 +0000 (09:43 -0600)]
locale.c: White-space, comment only

Add a comment, indent some nested #if's

8 years agomktables: Under -annotate use dotted circle for combining marks
Karl Williamson [Thu, 28 May 2015 02:35:43 +0000 (20:35 -0600)]
mktables: Under -annotate use dotted circle for combining marks

Previously the NBSP was used, but the dotted circle is what Unicode uses
in their books, and it looks better.  Note that -annotate is not a
default option for mktables.

8 years agoperldelta_template: Add L<> around 2 links
Karl Williamson [Sat, 30 May 2015 16:29:12 +0000 (10:29 -0600)]
perldelta_template: Add L<> around 2 links

8 years agoPATCH: [perl #125291] perlreref misstatement
Karl Williamson [Tue, 2 Jun 2015 03:44:46 +0000 (21:44 -0600)]
PATCH: [perl #125291] perlreref misstatement

This commit fixes this, and makes a few other clarifications to the
document.  Now there is only one definition for white space, so no need
to mention the earlier differences.

8 years agoactually load vars to test its new sideeffect
Reini Urban [Fri, 24 Apr 2015 00:56:08 +0000 (20:56 -0400)]
actually load vars to test its new sideeffect

For: RT # 124369

8 years agoFix bug in Math::BigFloat's bceil() and bint() methods.
Peter John Acklam [Tue, 28 Apr 2015 11:07:43 +0000 (13:07 +0200)]
Fix bug in Math::BigFloat's bceil() and bint() methods.

- When $x is a Math::BigFloat, $x -> bceil() and $x -> bint() for -1 < $x < 0
  returns -0. Negative zero is never used by Math::Big(Int|Float), and care has
  been taken to avoid it, so this bug is surely an oversight.

- This patch fixes CPAN RT #104012.

8 years agoSpeed up Math::BigFloat -> blog().
Peter John Acklam [Fri, 24 Apr 2015 13:13:33 +0000 (15:13 +0200)]
Speed up Math::BigFloat -> blog().

- Intermediate computations in blog() increases the number of digits
  significantly in some cases. Reduce the number of digits by rounding.
  However, keep some extra digits for remaining intermediate computations
  before the final rounding.

- This patch fixes CPAN RT #43924.

8 years agoCorrect Math::BigInt -> new() for non-integer input.
Peter John Acklam [Fri, 17 Apr 2015 19:28:37 +0000 (21:28 +0200)]
Correct Math::BigInt -> new() for non-integer input.

The documentation in Math::BigInt says about input values that "Non-integer
values result in NaN." The actual behaviour doesn't comply with this.

- All input values in the range (-1,1) written as a decimal number, e.g.,
  -0.75 and 0.5, now return NaN, not 0.

- Input values with a large (absolute value) negative exponent, e.g.,
  1e-9999999, now return NaN. The former behaviour was to die with the
  message "Quantifier in {,} bigger than 32766 in regex; marked by ..."

- This patch fixes CPAN RT #61887 and CPAN RT #63038.

8 years agoCorrect bdiv() and bmod() in Math::BigRat
Peter John Acklam [Tue, 14 Apr 2015 18:56:40 +0000 (20:56 +0200)]
Correct bdiv() and bmod() in Math::BigRat

- Added support for bdiv() in list context. Added corresponding tests.

- Changed bmod() so the result corresponds to Perl's % operator, as well as
  the second output argument of bdiv() in list contest. Modified tests
  correspondingly. Now the behaviour of bmod() is consistent between
  Math::BigInt, Math::BigFloat, and Math::BigRat.

- Clearer POD for the bdiv() and bmod() methods.

8 years agoCorrect bdiv() and bmod() in Math::BigInt and Math::BigFloat
Peter John Acklam [Tue, 14 Apr 2015 13:20:14 +0000 (15:20 +0200)]
Correct bdiv() and bmod() in Math::BigInt and Math::BigFloat

- The POD documentation, as well as the comments in the code, say that
  $x->bdiv($y) in list context should return quotient $q and remainder $r
  so that $x = $q * $y + $r, and that the remainder (modulo) $r should
  correspond to Perl's % operator as well as the bmod() method. This has
  not been the actual behaviour. This patch fixes this.

- Clearer POD documentation for the bdiv() and bmod() methods.

- Changed test files to match corrected behaviour.

- Removed some duplicated tests.

8 years agoremove obsolete VOL in S_parse_body
Daniel Dragan [Fri, 27 Mar 2015 07:02:58 +0000 (03:02 -0400)]
remove obsolete VOL in S_parse_body

commit 312caa8e97 removed dJMPENV from perl_parse_body (former perl_parse)
when it created perl_parse_body and perl_parse kept the dJMPENV, but this
commit forgot to remove the VOL tag on var dosearch. Since the VOL is
only required when the function has a setjmp in it, and this function
doesn't have a setjmp in it anymore, remove the VOL tag.

8 years agoHandle fcntl(F_GETPIPE_SZ) failure in t/io/eintr.t
Dagfinn Ilmari Mannsåker [Fri, 20 Mar 2015 17:49:12 +0000 (17:49 +0000)]
Handle fcntl(F_GETPIPE_SZ) failure in t/io/eintr.t

Even if the F_GETPIPE_SZ constant is defined, the fcntl() call can
fail (e.g. with EINVAL), so fall back to the default in that case.

8 years agoImpose deterministic order on cpp-definition options.
Zefram [Wed, 18 Mar 2015 23:49:28 +0000 (19:49 -0400)]
Impose deterministic order on cpp-definition options.

Heretofore, ExtUtils::CBuilder put cpp-definition options into the cc command line in
non-deterministic order. This produced noise when diffing build logs.  Make
this order deterministic.

Add tests for ascii-betical order in t/04-base.t.  Increment $VERSION in three
packages.  Remove commented-out line.

For: RT #124106

8 years agoApply changes for CPAN-Meta-YAML v0.014.
David Golden [Tue, 17 Mar 2015 02:02:00 +0000 (22:02 -0400)]
Apply changes for CPAN-Meta-YAML v0.014.

Held to be applied to blead before perl-5.23.1.

One test failure was corrected: t/Porting/exec-bit.t.
set +x on this executable, as it is in the cpan distribution

Additional patch by Karen Etheridge.

8 years agoepigraphs: the v5.22.0 epigraph
Ricardo Signes [Mon, 1 Jun 2015 19:25:09 +0000 (15:25 -0400)]
epigraphs: the v5.22.0 epigraph

8 years agofeature: add the 5.23 bundle (same as 5.22)
Ricardo Signes [Mon, 1 Jun 2015 18:58:42 +0000 (14:58 -0400)]
feature: add the 5.23 bundle (same as 5.22)

8 years agodrop the perldeltas for 5.21.*
Ricardo Signes [Mon, 1 Jun 2015 18:43:46 +0000 (14:43 -0400)]
drop the perldeltas for 5.21.*

8 years agoUpdate M-CL Changes to reflect v5.22.0 release
Chris 'BinGOs' Williams [Mon, 1 Jun 2015 18:33:29 +0000 (19:33 +0100)]
Update M-CL Changes to reflect v5.22.0 release

8 years ago[PATCH] add changelog entries that were in perl52111delta for this release
Karen Etheridge [Mon, 1 Jun 2015 18:32:32 +0000 (19:32 +0100)]
[PATCH] add changelog entries that were in perl52111delta for this release

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
8 years agocorelist: add stubs for v5.23.0
Ricardo Signes [Mon, 1 Jun 2015 18:28:47 +0000 (14:28 -0400)]
corelist: add stubs for v5.23.0

8 years agoversion bump: make regen and make META.json
Ricardo Signes [Mon, 1 Jun 2015 18:26:47 +0000 (14:26 -0400)]
version bump: make regen and make META.json

8 years agoadd perldelta for 5.23.0
Ricardo Signes [Mon, 1 Jun 2015 18:23:04 +0000 (14:23 -0400)]
add perldelta for 5.23.0

8 years agobump version to v5.23.0
Ricardo Signes [Mon, 1 Jun 2015 18:16:27 +0000 (14:16 -0400)]
bump version to v5.23.0

8 years agoCoro is known broken on blead v5.22.0
Ricardo Signes [Mon, 1 Jun 2015 16:33:26 +0000 (12:33 -0400)]
Coro is known broken on blead

see http://nntp.perl.org/group/perl.perl5.porters/228257

8 years agoMETA.json: this is now a stable release
Ricardo Signes [Sat, 30 May 2015 15:50:01 +0000 (11:50 -0400)]
META.json: this is now a stable release

8 years agoremove the RC marker from patchlevel.h for v5.22.0!
Ricardo Signes [Sat, 30 May 2015 15:45:31 +0000 (11:45 -0400)]
remove the RC marker from patchlevel.h for v5.22.0!

8 years agoperldelta: Tru64: mention also the CPAN failures.
Jarkko Hietaniemi [Mon, 1 Jun 2015 11:51:42 +0000 (07:51 -0400)]
perldelta: Tru64: mention also the CPAN failures.

8 years agoperldelta: Elaborate on the IRIX and Tru64 failures.
Jarkko Hietaniemi [Sun, 31 May 2015 19:38:40 +0000 (15:38 -0400)]
perldelta: Elaborate on the IRIX and Tru64 failures.

8 years agoperldiag: Clarify wording
Karl Williamson [Sat, 30 May 2015 16:14:57 +0000 (10:14 -0600)]
perldiag: Clarify wording

8 years agoperldelta: Fix typos, make clarifications; nits
Karl Williamson [Sat, 30 May 2015 16:13:57 +0000 (10:13 -0600)]
perldelta: Fix typos, make clarifications; nits

8 years agoperldelta: Capitalize perl when it means the language
Karl Williamson [Sat, 30 May 2015 16:12:33 +0000 (10:12 -0600)]
perldelta: Capitalize perl when it means the language

There are plenty of other places in our documentationwhere the
captialization is iffy, but this one was unambiguous to me.

8 years agoperldelta: Add L<> for hyperlinks
Karl Williamson [Sat, 30 May 2015 16:10:55 +0000 (10:10 -0600)]
perldelta: Add L<> for hyperlinks

8 years agoperldelta: Use American instead of UK spelling
Karl Williamson [Sat, 30 May 2015 16:08:52 +0000 (10:08 -0600)]
perldelta: Use American instead of UK spelling

8 years agoperldelta: Rmv unhelpful text
Karl Williamson [Sat, 30 May 2015 16:06:25 +0000 (10:06 -0600)]
perldelta: Rmv unhelpful text

There no longer is any information about this module's changes, so don't
bother to mention it changed.

8 years agoperldelta: Rmv some intra 5.21 changes
Karl Williamson [Sat, 30 May 2015 16:05:34 +0000 (10:05 -0600)]
perldelta: Rmv some intra 5.21 changes

8 years agoperldelta: Add/Rmv C<>
Karl Williamson [Sat, 30 May 2015 15:38:41 +0000 (09:38 -0600)]
perldelta: Add/Rmv C<>

A few things inappropriately were wrapped with C<>, but mostly add them.

8 years agoperldelta: Italicize "e.g.", "i.e."
Karl Williamson [Fri, 29 May 2015 22:26:00 +0000 (16:26 -0600)]
perldelta: Italicize "e.g.", "i.e."

These are now consistent throughout this pod.

8 years agoperldelta: correct the upgraded-to versions in modules section
Ricardo Signes [Sat, 30 May 2015 02:08:14 +0000 (22:08 -0400)]
perldelta: correct the upgraded-to versions in modules section

8 years agoperldelta: Note that the 'locale' warnings category is new
Karl Williamson [Fri, 29 May 2015 21:29:37 +0000 (15:29 -0600)]
perldelta: Note that the 'locale' warnings category is new

The previous commit lost this information.  This adds it back, and in
all places where it is applicable, consistent with the handling of other
new warnings categories.

8 years agoperldelta: Refactor grouped warnings
Karl Williamson [Fri, 29 May 2015 21:27:01 +0000 (15:27 -0600)]
perldelta: Refactor grouped warnings

Several warning messages were in two groups at the end of the warnings
section.  This commit removes them from their groups and places them
individually merged alphabetically with the rest of the messages.

8 years agoperldelta: Add missing warnings categories
Karl Williamson [Fri, 29 May 2015 21:20:16 +0000 (15:20 -0600)]
perldelta: Add missing warnings categories

8 years agoperldelta: Move 'no re' to bug fix section
Karl Williamson [Fri, 29 May 2015 20:58:19 +0000 (14:58 -0600)]
perldelta: Move 'no re' to bug fix section

This really isn't any more of an enhancement than any bug fix is

8 years agoperldelta: Move 2 fatal msgs into that section from warnings section
Karl Williamson [Fri, 29 May 2015 20:54:21 +0000 (14:54 -0600)]
perldelta: Move 2 fatal msgs into that section from warnings section

8 years agoperldelta: close setting $! is a bugfix
Ricardo Signes [Fri, 29 May 2015 22:47:57 +0000 (18:47 -0400)]
perldelta: close setting $! is a bugfix

8 years agoperldelta: remove an obsolete notice
Ricardo Signes [Fri, 29 May 2015 21:06:46 +0000 (17:06 -0400)]
perldelta: remove an obsolete notice

8 years agoupdate epigraphs for v5.22.0 RCs
Ricardo Signes [Fri, 29 May 2015 14:13:08 +0000 (10:13 -0400)]
update epigraphs for v5.22.0 RCs

8 years agoperldelta: add some known problem modules
Ricardo Signes [Fri, 29 May 2015 12:10:23 +0000 (08:10 -0400)]
perldelta: add some known problem modules

based on http://analysis.cpantesters.org/beforemaintrelease?pair=5.20.2:5.22.0%20RC2

8 years agoperldelta: alphabetize module upgrades
Ricardo Signes [Thu, 28 May 2015 23:02:43 +0000 (19:02 -0400)]
perldelta: alphabetize module upgrades

8 years agoperldelta: Add some details for Module changes
Karl Williamson [Thu, 28 May 2015 20:38:56 +0000 (14:38 -0600)]
perldelta: Add some details for Module changes

This needs to be scrubbed before release.

8 years agoperlfunc: Fix confusing entries for splice
Karl Williamson [Thu, 28 May 2015 17:39:59 +0000 (11:39 -0600)]
perlfunc: Fix confusing entries for splice

=item splice ARRAY or EXPR,OFFSET,LENGTH,LIST

is what it used to say.  Is that "or" to be taken literally as the 'or'
operator or what?

Based on irc feedback this was spit into two lines

=item splice ARRAY,OFFSET,LENGTH,LIST
=item splice EXPR,OFFSET,LENGTH,LIST

This is also the method used in the other like-entries in the pod

8 years agoperldelta: Revert erroneous C<> removal for Inf/NaN output
Dagfinn Ilmari Mannsåker [Thu, 21 May 2015 23:29:46 +0000 (00:29 +0100)]
perldelta: Revert erroneous C<> removal for Inf/NaN output

Also clarify the fact that these refer to the literal strings that get
output when stringifying infinite and not-a-numer values, not to the
values themselves.

8 years agoadd new address for kmx v5.22.0-RC2
Ricardo Signes [Thu, 21 May 2015 22:34:45 +0000 (18:34 -0400)]
add new address for kmx

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

8 years agoupdate perlhist and patchlevel for RC2
Ricardo Signes [Thu, 21 May 2015 14:04:28 +0000 (10:04 -0400)]
update perlhist and patchlevel for RC2

8 years agouse ~1 instead of ^ for parent commit
Ricardo Signes [Thu, 21 May 2015 14:00:38 +0000 (10:00 -0400)]
use ~1 instead of ^ for parent commit

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

8 years agoCorrect default for usedevel on VMS.
Craig A. Berry [Thu, 21 May 2015 11:57:35 +0000 (06:57 -0500)]
Correct default for usedevel on VMS.

Before 32cb1fe2e04a1dce it was hard-coded to undef, which wasn't
right but after that commit it was only set for the defined case,
and the omission didn't show up until PERL_VERSION became an even
number in the release candidate.

8 years agoThey're Unicode tables, not UTF-8 tables
Tony Cook [Thu, 21 May 2015 04:32:30 +0000 (14:32 +1000)]
They're Unicode tables, not UTF-8 tables

8 years agopack('f', $NAN) must account for NAN_COMPARE_BROKEN platforms
Daniel Dragan [Tue, 19 May 2015 17:22:40 +0000 (13:22 -0400)]
pack('f', $NAN) must account for NAN_COMPARE_BROKEN platforms

VC6 was returning either packed float +inf or packed float -inf
(I dont remember) instead of packed float NAN in t/op/infnan.t .

This fixes #125203

8 years agoperldelta: Nits, clarifications, wordsmithing
Karl Williamson [Wed, 20 May 2015 03:59:37 +0000 (21:59 -0600)]
perldelta: Nits, clarifications, wordsmithing

This eliminates some redundancies and clarifies some wording.

8 years agoperldelta: Remove 5.21-only changes
Karl Williamson [Wed, 20 May 2015 03:57:13 +0000 (21:57 -0600)]
perldelta: Remove 5.21-only changes

As discussed on irc, the person reading this pod shouldn't be interested
in intra-5.21 changes.

8 years agoperldelta: Don't split =head across lines
Karl Williamson [Wed, 20 May 2015 03:55:55 +0000 (21:55 -0600)]
perldelta: Don't split =head across lines

My perldoc caused these split lines to be output wrongly.

8 years agoperldelta: List more changes in the pods
Karl Williamson [Wed, 20 May 2015 03:53:46 +0000 (21:53 -0600)]
perldelta: List more changes in the pods

I looked at the differences of all pods in /pod, and found a bunch of
ones that I think are significant that weren't listed in perldelta.

8 years agoperldelta: Rmv reference to internal flag
Karl Williamson [Tue, 19 May 2015 20:20:20 +0000 (14:20 -0600)]
perldelta: Rmv reference to internal flag

SCF_DO_SUBSTR is a flag internal to the current implementation of the
regular expression optimizer.  There is no need to proclaim its
existence to the outside world, and is just extraneous noise.

I myself do not understand this flag, and I've spent more time looking
at this code than all but a few people likely to be reading this
perldelta.  If someone who does understand it could explain it to me, I
would add comments to the code (after the freeze) to aid future readers.

8 years agoperldelta: Add, subtract some C<> S<> F<>
Karl Williamson [Mon, 18 May 2015 14:35:56 +0000 (08:35 -0600)]
perldelta: Add, subtract some C<> S<> F<>

8 years agoUse "UTF-8" consistently in perldelta
Dagfinn Ilmari Mannsåker [Wed, 20 May 2015 01:00:59 +0000 (02:00 +0100)]
Use "UTF-8" consistently in perldelta

Except when referring to actual names of things.
Also update the diagnostic description in perldiag.

8 years agoperlapi was updated to refer to Newx, not NewX
Tony Cook [Wed, 20 May 2015 01:40:24 +0000 (11:40 +1000)]
perlapi was updated to refer to Newx, not NewX

8 years agouse the piconv tool to convert source files, not the encoding pragma
Tony Cook [Wed, 20 May 2015 00:22:39 +0000 (10:22 +1000)]
use the piconv tool to convert source files, not the encoding pragma

8 years agoperldelta: re-balance a C<..>
Ricardo Signes [Tue, 19 May 2015 19:52:44 +0000 (15:52 -0400)]
perldelta: re-balance a C<..>

8 years agoremove the temporary perl5220delta from Porting
Ricardo Signes [Tue, 19 May 2015 17:38:50 +0000 (13:38 -0400)]
remove the temporary perl5220delta from Porting

8 years agodocument infnan failure on VC6 as known problem v5.22.0-RC1
Ricardo Signes [Tue, 19 May 2015 12:13:19 +0000 (08:13 -0400)]
document infnan failure on VC6 as known problem

8 years agofill in tentative release date for v5.22.0
Ricardo Signes [Tue, 19 May 2015 12:09:49 +0000 (08:09 -0400)]
fill in tentative release date for v5.22.0

8 years agopatchlevel: we are now releasing v5.22.0 RC1
Ricardo Signes [Tue, 19 May 2015 12:08:30 +0000 (08:08 -0400)]
patchlevel: we are now releasing v5.22.0 RC1

8 years agodont use a 64 bit constant for a 32 bit value
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

8 years agoRevert Windows test watchdog() to kill('KILL', ...)
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

8 years agocorelist: regenerate the v5.22.0 corelist delta
Ricardo Signes [Tue, 19 May 2015 00:41:35 +0000 (20:41 -0400)]
corelist: regenerate the v5.22.0 corelist delta

8 years agoperlhist: expected perl v5.22.0 release dates
Ricardo Signes [Tue, 19 May 2015 00:38:48 +0000 (20:38 -0400)]
perlhist: expected perl v5.22.0 release dates

8 years agoperldelta: the v5.22.0 acknowledgements
Ricardo Signes [Tue, 19 May 2015 00:36:51 +0000 (20:36 -0400)]
perldelta: the v5.22.0 acknowledgements

8 years agoswitch perldelta module diff to "go ask corelist"
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.

8 years agoRevert "stop T_IN/OUT/INOUT/STDIO typemaps leaking"
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

8 years agodavem's perldelta proofreading part 3
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.

8 years agodavem's perldelta proofreading part 2
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.