This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
11 years agoFinalise perldelta with updated module information v5.17.9
Chris 'BinGOs' Williams [Wed, 20 Feb 2013 19:15:46 +0000 (19:15 +0000)]
Finalise perldelta with updated module information

11 years agoAdd new release to perlhist
Chris 'BinGOs' Williams [Wed, 20 Feb 2013 18:44:20 +0000 (18:44 +0000)]
Add new release to perlhist

11 years agoUpdated Module::CoreList for v5.17.9
Chris 'BinGOs' Williams [Wed, 20 Feb 2013 18:42:29 +0000 (18:42 +0000)]
Updated Module::CoreList for v5.17.9

11 years agoUpdated ACKNOWLEDGEMENTS in perldelta
Chris 'BinGOs' Williams [Wed, 20 Feb 2013 18:26:11 +0000 (18:26 +0000)]
Updated ACKNOWLEDGEMENTS in perldelta

11 years agosuppress "experimental" warnings for my $_
Ricardo Signes [Wed, 20 Feb 2013 17:00:26 +0000 (12:00 -0500)]
suppress "experimental" warnings for my $_

11 years agoput an experimental warning on lexical topic
Ricardo Signes [Wed, 20 Feb 2013 16:40:45 +0000 (11:40 -0500)]
put an experimental warning on lexical topic

11 years agoupdate release schedule for a volunteer
Ricardo Signes [Wed, 20 Feb 2013 16:34:06 +0000 (11:34 -0500)]
update release schedule for a volunteer

11 years agoRemove more perldelta boilerplate
Chris 'BinGOs' Williams [Wed, 20 Feb 2013 16:46:34 +0000 (16:46 +0000)]
Remove more perldelta boilerplate

11 years agoPerldelta note for undeprecating my $_
Rafael Garcia-Suarez [Wed, 20 Feb 2013 15:58:55 +0000 (16:58 +0100)]
Perldelta note for undeprecating my $_

11 years agoUn-deprecate the support for lexical $_
Rafael Garcia-Suarez [Tue, 19 Feb 2013 14:53:10 +0000 (15:53 +0100)]
Un-deprecate the support for lexical $_

11 years agoRemove boilerplate from perldelta
Chris 'BinGOs' Williams [Wed, 20 Feb 2013 15:32:21 +0000 (15:32 +0000)]
Remove boilerplate from perldelta

11 years ago[perl #72892] Perl should support PERLmmnnLIB environment variable
Andy Dougherty [Wed, 20 Feb 2013 13:58:49 +0000 (08:58 -0500)]
[perl #72892] Perl should support PERLmmnnLIB environment variable

This patch to perlrun.pod expands the documentation of the directory
hierarchy searched under the locations specified by PERL5LIB.  It now
explicitly mentions the version- and architecture-specific directories
added, and also notes that $Config{inc_version_list} directories are
added.  These additions were suggested by Damon Atkins.

11 years agoSilence irrelevant stderr output from op/magic.t
Steve Hay [Wed, 20 Feb 2013 13:28:46 +0000 (13:28 +0000)]
Silence irrelevant stderr output from op/magic.t

Some 'set' commands in this test are intended to verify that an environment
variable is not set, which causes the command to send a warning message to
stderr.

11 years agoFix failing op/magic.t test 157
Steve Hay [Wed, 20 Feb 2013 13:25:41 +0000 (13:25 +0000)]
Fix failing op/magic.t test 157

Change 888a67f6b9 added manipulation of __NoNeSuCh2, but it gets
accidentally picked up by the 'set' command looking for __NoNeSuCh in test
157 because 'set' will display the value of *all* variables whose prefix
matches the name given to the command.

11 years agoEliminate 'swap' from struct regexp_internal.
Nicholas Clark [Tue, 19 Feb 2013 13:35:49 +0000 (14:35 +0100)]
Eliminate 'swap' from struct regexp_internal.

It's been unused since commit e9105d30edfbaa7f in July 2009.

11 years agoRemove the check for SVt_BIND from SvOK().
Nicholas Clark [Tue, 19 Feb 2013 10:43:08 +0000 (11:43 +0100)]
Remove the check for SVt_BIND from SvOK().

The original plan to use SVt_BIND to implement read-only aliases to
read-write values is unlikely to happen. More importantly, it's not going
to happen within a maint branch, so there's no reason to have the code
"just in case" it does. The code can easily be re-instated in blead if it
is needed in future. Nothing on CPAN is relying on this code. (Almost no
code on CPAN even references SVt_BIND.)

This effectively reverts part of commit 1cb9cd5016282146 from Dec 2006.

11 years ago[perl #116865] Upgrade to Thread::Queue 3.02
Jerry D. Hedden [Tue, 19 Feb 2013 20:23:46 +0000 (12:23 -0800)]
[perl #116865] Upgrade to Thread::Queue 3.02

Attached patch updates Thread::Queue to v3.0.2 in preparation for a
CPAN release.

Adds a new method to Thread::Queue to dequeue items with a timeout
feature.  This addition was suggested by Andreas Huber.

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
11 years agore/charset.t, re/fold_grind.t: Note C locale can match 128-255
Karl Williamson [Tue, 19 Feb 2013 20:56:20 +0000 (13:56 -0700)]
re/charset.t, re/fold_grind.t: Note C locale can match 128-255

Craig Berry pointed out that an implementation can have the C locale
give meanings to the above-ASCII code points.  (I had thought this was
an error.)  Change label name and comments in these .t files
correspondingly.

11 years agore/charset.t: Make sure locale is loaded at compile time
Karl Williamson [Sun, 17 Feb 2013 19:27:03 +0000 (12:27 -0700)]
re/charset.t: Make sure locale is loaded at compile time

Commit 569f7fc5d4ec06501b46a72075ff434fe1bf4332 caused this test file
to start failing on VMS.  The reason is that the test for locale became
run-time.  This patch restores the test to compile time, by using the
'if' module.

The reason 'if' wasn't used in the original patch was to reduce reliance
on possibly untested modules, but it makes things easier.  We hope to
get a resolution on p5p on which test groups in the suite can use things
like 'if', but since 5.17.9 is due out momentarily, I'm using 'if' for
now so that VMS will pass its tests again.

11 years agoUpdate Win32 to CPAN version 0.46
Jan Dubois [Tue, 19 Feb 2013 21:06:24 +0000 (13:06 -0800)]
Update Win32 to CPAN version 0.46

  [DELTA]

    0.46    [2013-02-19]
            - add Win2012/Win8 detection (thanks to Michiel Beijen) [rt#82572]
              [perl#116352]

11 years agoAdd some text on the interoperability of Moose & Moo to perlootut
Dave Rolsky [Tue, 19 Feb 2013 20:56:35 +0000 (14:56 -0600)]
Add some text on the interoperability of Moose & Moo to perlootut

11 years agoAdd a note to the future that they should read the latest perlootut
Dave Rolsky [Tue, 19 Feb 2013 20:51:08 +0000 (14:51 -0600)]
Add a note to the future that they should read the latest perlootut

11 years agoRun podtidy on perlootut
Dave Rolsky [Tue, 19 Feb 2013 20:50:30 +0000 (14:50 -0600)]
Run podtidy on perlootut

11 years agoRename PL_interp_size_5_16_0 to PL_interp_size_5_18_0.
Nicholas Clark [Tue, 19 Feb 2013 18:47:14 +0000 (19:47 +0100)]
Rename PL_interp_size_5_16_0 to PL_interp_size_5_18_0.

11 years agoRe-order intrpvar.h to minimise holes in the interpreter struct.
Nicholas Clark [Tue, 19 Feb 2013 15:49:34 +0000 (16:49 +0100)]
Re-order intrpvar.h to minimise holes in the interpreter struct.

Holes were created by commit f59909ab8dad6ceb (April 2012) which removed
PL_reginterp_cnt, commit 7dc8663964c66a69 (Nov 2012) which removed
PL_rehash_seed_set, and commit 8936b48a49448f4e (Dec 2012) which removed
PL_glob_index.

There is still an unavoidable U16 sized hole on the default threaded
configuration on x86_64. (U8 if PERL_SAWAMPERSAND is defined).

11 years agoFix [perl #116523] Configure is confused by '=' in output from uname -a
Andy Dougherty [Mon, 18 Feb 2013 14:33:09 +0000 (09:33 -0500)]
Fix [perl #116523] Configure is confused by '=' in output from uname -a

Previously, Configure used to try to post-process the output of uname -a.
This was to support Xenix, which gave output like this:
    sysname=XENIX
    nodename=whatever
    release=2.3.2 .. etc...

Configure attempted to parse that output and build up a $myuname variable
that resembled those generated on traditional Unix systems.
More recently, a user reported uname -a output on a CVS checkout
of NetBSD that also included information such as

       root=username@hostname:/dirname module=src branch=HEAD

The Configure code misparsed that and ended up throwing most of it away.
This patch takes the simplest approach and just skips the attempt to
process the Xenix output.

This is based on commit 05a827803ab3908a795df94f6ed3890e24a6df2 in the
metaconfig repository.

11 years agoSilence encoding.pm deprecation warnings in the core test suite
Rafael Garcia-Suarez [Tue, 19 Feb 2013 08:59:09 +0000 (09:59 +0100)]
Silence encoding.pm deprecation warnings in the core test suite

11 years agoUpdated Changes for Module-CoreList
Chris 'BinGOs' Williams [Tue, 19 Feb 2013 08:50:09 +0000 (08:50 +0000)]
Updated Changes for Module-CoreList

11 years agoperldelta for #116322 and #112244
Karl Williamson [Tue, 19 Feb 2013 05:02:33 +0000 (22:02 -0700)]
perldelta for #116322 and #112244

11 years agodist/IO/IO.xs: Silence compiler warning
Karl Williamson [Sat, 2 Feb 2013 15:41:39 +0000 (08:41 -0700)]
dist/IO/IO.xs: Silence compiler warning

This variable is unused, doesn't need to be declared.

11 years agoTests for [perl #116322]
Karl Williamson [Sun, 17 Feb 2013 21:59:39 +0000 (14:59 -0700)]
Tests for [perl #116322]

11 years agoPATCH: [perl #116322]: getc() and ungetc() with unicode failure
Christian Hansen [Sun, 17 Feb 2013 21:50:30 +0000 (14:50 -0700)]
PATCH: [perl #116322]: getc() and ungetc() with unicode failure

ungetc() had no knowledge of UTF-8.  This patch adds it.

The committer fleshed out the author's code to make a patch, making
a few small changes.

11 years agoSome tests for [perl #112244]
Karl Williamson [Sun, 17 Feb 2013 21:46:29 +0000 (14:46 -0700)]
Some tests for [perl #112244]

Leon Timmermans is short of tuits right now, so I added these tests for
his patch.  Since I don't really know what I'm doing here, other tests
should eventually be added by someone who does know.

11 years agoPATCH [perl #112244]
Leon Timmermans [Thu, 5 Jul 2012 14:17:44 +0000 (16:17 +0200)]
PATCH [perl #112244]

:crlf currently doesn't fall back on :pending the way :perlio
does when the unread data doesn't fit into its own buffer. Instead it
just rejects them. This patch resolves that.  Tests are coming in a
future commit

The committer added a cast to get it to compile on Win32, and silence a
gcc warning on Linux

11 years agostart making entries for 5.19 releases
Ricardo Signes [Fri, 15 Feb 2013 20:37:05 +0000 (15:37 -0500)]
start making entries for 5.19 releases

11 years agoDocument d8a821fe in perldelta
Chris 'BinGOs' Williams [Mon, 18 Feb 2013 20:11:05 +0000 (20:11 +0000)]
Document d8a821fe in perldelta

11 years ago[perl #116809] Upstream status in corelist
Alexandr Ciornii [Mon, 18 Feb 2013 20:03:14 +0000 (20:03 +0000)]
[perl #116809] Upstream status in corelist

First patch explains in corelist output that deprecation means that
module will be CPAN-only.
Second patch adds new option, -u (upstream information). Shows if
module is primarily maintained in perl core or on CPAN and bug tracker
URL. Module::CoreList already contains this data, only output will be
added.

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
11 years agoDocument 721fe537 in perldelta
Chris 'BinGOs' Williams [Mon, 18 Feb 2013 19:04:21 +0000 (19:04 +0000)]
Document 721fe537 in perldelta

11 years agoDocument 0f87678 in perldelta
Chris 'BinGOs' Williams [Mon, 18 Feb 2013 18:57:51 +0000 (18:57 +0000)]
Document 0f87678 in perldelta

11 years agoDocument encoding deprecation in perldelta
Chris 'BinGOs' Williams [Mon, 18 Feb 2013 18:39:15 +0000 (18:39 +0000)]
Document encoding deprecation in perldelta

11 years agoUpdate Encode to CPAN version 2.48
Chris 'BinGOs' Williams [Mon, 18 Feb 2013 08:08:25 +0000 (08:08 +0000)]
Update Encode to CPAN version 2.48

  [DELTA]

  $Revision: 2.48 $ $Date: 2013/02/18 02:23:56 $
  ! encoding.pm
    t/Mod_EUCJP.pm t/enc_data.t t/enc_eucjp.t t/enc_module.t t/enc_utf8.t
    t/encoding.t t/jperl.t
    [PATCH] Deprecate encoding.pm
    https://rt.cpan.org/Ticket/Display.html?id=81255
  ! Encode/Supported.pod
    Fixed: Pod errors
    https://rt.cpan.org/Ticket/Display.html?id=81426
  ! Encode.pm t/Encode.t
    [PATCH] Fix for shared hash key scalars
    https://rt.cpan.org/Ticket/Display.html?id=80608
  ! Encode.pm
    Fixed: Uninitialized value warning from Encode->encodings()
    https://rt.cpan.org/Ticket/Display.html?id=80181
  ! Makefile.PL
    Install to 'site' instead of 'perl' when perl version is 5.11+
    https://rt.cpan.org/Ticket/Display.html?id=78917
  ! Encode/Makefile_PL.e2x
    find enc2xs.bat if it works on windows.
    https://github.com/dankogai/p5-encode/pull/7
  ! t/piconv.t
    Fix finding piconv in t/piconv.t
    https://github.com/dankogai/p5-encode/pull/6

11 years agoRemove two spaces after periods to keep the document consistent
Dave Rolsky [Mon, 18 Feb 2013 01:43:42 +0000 (19:43 -0600)]
Remove two spaces after periods to keep the document consistent

11 years agoRemove two superfluous commas in perlobj
Dave Rolsky [Mon, 18 Feb 2013 01:38:34 +0000 (19:38 -0600)]
Remove two superfluous commas in perlobj

11 years agoVery small tweak to perlobj in dereferencing method call example
Dave Rolsky [Mon, 18 Feb 2013 01:37:24 +0000 (19:37 -0600)]
Very small tweak to perlobj in dereferencing method call example

11 years agoReplace Mouse with Moo in perlootut
Dave Rolsky [Sun, 17 Feb 2013 23:55:16 +0000 (17:55 -0600)]
Replace Mouse with Moo in perlootut

11 years agoutf8_heavy.pl: Add 'use re "/aa"'
Karl Williamson [Sun, 17 Feb 2013 21:17:27 +0000 (14:17 -0700)]
utf8_heavy.pl: Add 'use re "/aa"'

This would speed up compilation and execution by a trivial amount, but
makes sure that no regular expression even tries to compile in Unicode,
which could cause recursive invocation of this.  Before this construct
was invented, special care had to be taken to keep that from happening;
those measures remain in effect, but this gives added insurance.

11 years agoAdd Kent Fredric to AUTHORS
Father Chrysostomos [Sun, 17 Feb 2013 22:43:18 +0000 (14:43 -0800)]
Add Kent Fredric to AUTHORS

11 years agomg.c : revert ENV{x} = undef behaviour to be empty string, not key deletion
Kent Fredric [Sat, 16 Feb 2013 17:07:59 +0000 (06:07 +1300)]
mg.c : revert ENV{x} = undef behaviour to be empty string, not key deletion

pod/perldelta.pod: document reversion of ENV{foo} = undef behaviour  in delta
t/op/magic.t: add a test for ENV{foo} = undef

11 years agoAdded Lucas Holt to AUTHORS
Chris 'BinGOs' Williams [Sun, 17 Feb 2013 14:10:55 +0000 (14:10 +0000)]
Added Lucas Holt to AUTHORS

11 years ago[perl #116785] libc_r was removed from recent versions of MidnightBSD and older versi...
Lucas Holt [Sat, 16 Feb 2013 21:18:58 +0000 (13:18 -0800)]
[perl #116785] libc_r was removed from recent versions of MidnightBSD and older versions work better with -pthread

This corrects build errors with threading enabled on MidnightBSD 0.4-CURRENT

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
11 years ago[perl #116587] Data::Dumper intermittently fails tests on 5.8.*
Steffen Mueller [Sun, 17 Feb 2013 12:02:23 +0000 (13:02 +0100)]
[perl #116587] Data::Dumper intermittently fails tests on 5.8.*

In a nutshell, we don't care enough about 5.8 to try really hard to fix
(obscure) vstring problems there. But we care enough not to make DD fail
its tests because of such a corner case. We don't want to screw all
users that are trapped in the last decade.

Thus, skip certain tests pre-5.10.

11 years agoIn warnings.pm, delete a hash slice, instead of using a loop.
Nicholas Clark [Sun, 17 Feb 2013 08:16:01 +0000 (09:16 +0100)]
In warnings.pm, delete a hash slice, instead of using a loop.

Deleting a hash slice compiles 5 fewer ops, and executes 21 fewer than
looping over the keys to delete each in turn. Whilst this is arguably a
micro-optimisation, it does not increase obfuscation and is in code loaded
by nearly every Perl program, so feels worthwhile.

11 years agoperldelta for 012528a99df1906d6fe.
Craig A. Berry [Sat, 16 Feb 2013 23:43:59 +0000 (17:43 -0600)]
perldelta for 012528a99df1906d6fe.

11 years agoImplement useversionedarchname in configure.com.
Craig A. Berry [Sat, 16 Feb 2013 21:33:50 +0000 (15:33 -0600)]
Implement useversionedarchname in configure.com.

If this ever becomes the default, we should really remove the
versioned subdirectory from archlib that we've always had.
As of now, using this feature on VMS gives us redundancies such as:

archlib='perl_root:[lib.VMS_IA64-5_17_9.5_17_9]'

11 years agoAllow VMS features to differ from Perl's defaults.
Craig A. Berry [Sat, 16 Feb 2013 21:25:55 +0000 (15:25 -0600)]
Allow VMS features to differ from Perl's defaults.

Since we now enable some features that are not the CRTL's defaults,
we should allow them to be explicitly disabled in the environment
if someone wants the old behavior.

11 years agoUpdates to perldelta
Chris 'BinGOs' Williams [Sat, 16 Feb 2013 20:23:32 +0000 (20:23 +0000)]
Updates to perldelta

11 years agocharnames.pm: Nit in pod
Karl Williamson [Sat, 16 Feb 2013 18:04:17 +0000 (11:04 -0700)]
charnames.pm: Nit in pod

11 years agoUnicode::UCD: Add examples to pod
Karl Williamson [Sat, 16 Feb 2013 16:34:09 +0000 (09:34 -0700)]
Unicode::UCD: Add examples to pod

11 years agoDocument in perldelta, new diag and Configure option.
Chris 'BinGOs' Williams [Sat, 16 Feb 2013 14:26:24 +0000 (14:26 +0000)]
Document in perldelta, new diag and Configure option.

11 years agoUpdate Archive-Extract to CPAN version 0.68
Chris 'BinGOs' Williams [Sat, 16 Feb 2013 08:09:03 +0000 (08:09 +0000)]
Update Archive-Extract to CPAN version 0.68

  [DELTA]

  Changes for 0.68    Fri Feb 15 22:57:09 2013
  ============================================
  * Solaris' tar doesn't like some archives on
    CPAN, prefer gtar if it is available

11 years agoutf8.h, utfebcdic.h: Add, fix comments
Karl Williamson [Thu, 7 Feb 2013 20:43:21 +0000 (13:43 -0700)]
utf8.h, utfebcdic.h: Add, fix comments

11 years agolib/Unicode/UCD.pm: Clarify pod
Karl Williamson [Fri, 8 Feb 2013 04:38:59 +0000 (21:38 -0700)]
lib/Unicode/UCD.pm: Clarify pod

11 years agoINSTALL: Fix pod verbatim lines
Karl Williamson [Thu, 14 Feb 2013 17:07:51 +0000 (10:07 -0700)]
INSTALL: Fix pod verbatim lines

These are fixed to correctly line up and to fit into 79 columns

11 years agouse_versioned_archname => versionedarchname
H.Merijn Brand [Fri, 15 Feb 2013 14:14:54 +0000 (15:14 +0100)]
use_versioned_archname => versionedarchname

(now synced with meta)

11 years agoExtend t/porting/diag.t to cover code in DynaLoader.
Nicholas Clark [Wed, 13 Feb 2013 16:06:59 +0000 (17:06 +0100)]
Extend t/porting/diag.t to cover code in DynaLoader.

This seems a reasonable extension to cover, as it's arguably part of the
core, because it has to be linked into the perl executable, and handled
differently from everything else, even "static" extensions.

This reveals that DynaLoader can generate a previously undocumented warning,
so document this.

11 years agoExtend t/porting/diag.t to cover various other C-like files.
Nicholas Clark [Wed, 13 Feb 2013 15:28:13 +0000 (16:28 +0100)]
Extend t/porting/diag.t to cover various other C-like files.

Specifically C++ source, and files related to perly.y and x2p/a2p.y
This catches an error in an XS module embedded into the (moribund) Symbian
port, which we need to skip.

11 years agot/porting/diag.t now reads files from MANIFEST, instead of scanning the disk.
Nicholas Clark [Wed, 13 Feb 2013 14:34:04 +0000 (15:34 +0100)]
t/porting/diag.t now reads files from MANIFEST, instead of scanning the disk.

This does less work, and avoids both files duplicated by the build system,
and false positives due to temporary files left by developers.

11 years agoUpdate File::Temp layout
Steve Hay [Fri, 15 Feb 2013 08:52:47 +0000 (08:52 +0000)]
Update File::Temp layout

The latest tarball has moved Temp.pm into a lib/ folder, so we may as well
do likewise to keep Maintainers.pl happy. Also correct the tarball filename
listed there.

11 years agoList files excluded from Config::Perl::V
Steve Hay [Fri, 15 Feb 2013 08:33:32 +0000 (08:33 +0000)]
List files excluded from Config::Perl::V

11 years agoMake extended filename syntax the default on VMS.
Craig A. Berry [Fri, 15 Feb 2013 03:27:26 +0000 (21:27 -0600)]
Make extended filename syntax the default on VMS.

This feature has been available for over a decade but is still not
the default for the CRTL.  It seems time to make it the default
for Perl.  It means that directory names can have dots in them,
and filenames can contain multiple dots as well as spaces and
generally characters from the top row of the keyboard while the
shift key is held down.

Filenames with native syntax must escape characters in the so-called
extended character set with a caret ("^"), but filenames in Unix
syntax must not have the escapes.  Conversions between native and
Unix syntax will, respectively, add and remove these escapes.

Supporting Unicode in filenames depends on this feature but has
not yet been investigated.

11 years agoMake readdir on VMS only unixify when asked.
Craig A. Berry [Fri, 15 Feb 2013 00:10:55 +0000 (18:10 -0600)]
Make readdir on VMS only unixify when asked.

We've been making our home-grown readdir implementation convert
all its results to Unix format since a096370a74e8.  Since readdir
returns relative paths, the usual volume and directory syntax
differences that distinguish VMS and Unix paths don't really apply.

But what does apply is whether the escaping of extended characters
is passed through or removed, and converting to Unix syntax removes
those escapes.  In order to enable extended filename syntax, though,
we're really going to need the escapes.  For example, rmdir will
not be able to remove a directory foo.bar if it's referred to as
[.foo.bar] because a dot is the traditional directory delimiter.
The directory needs to be specified as [.foo^.bar] for rmdir to
delete it successfully.

So make readdir return filespecs in native format unless explicitly
requested to report all filenames in Unix format.

11 years agoHelp ExtUtils::Manifest deal with VMS extended filespecs.
Craig A. Berry [Fri, 15 Feb 2013 00:03:10 +0000 (18:03 -0600)]
Help ExtUtils::Manifest deal with VMS extended filespecs.

For one thing, if we're cleaning up filenames, lets put that code
in the sub called 'clean_up_filename' rather than in manifind.  And
since the language of the MANIFEST is really Unix-format filespecs,
convert to those.  This becomes especially important in handling
extended filespecs because unixification also unescapes escaped
characters.

11 years agoMake unixify unescape filespecs already in Unix format.
Craig A. Berry [Thu, 14 Feb 2013 23:28:38 +0000 (17:28 -0600)]
Make unixify unescape filespecs already in Unix format.

Sometimes filename components get pasted together in ways that put
a component with caret escapes proper to Extended Filename Syntax
(EFS) for native filespecs into a Unix-format filespec. An example
would be /a/b/foo^_bar, where the '^_' sequence indicates a space
in a native filespec but is technically invalid in a Unix
filespec.

But it doesn't really cost much more to remove the escapes since
we're copying the whole string anyway, so go ahead and do that.
This could theoretically cause trouble if we get Unix-format paths
that have literal carets in them, but that theoretical trouble is
currently less troubling than the practical trouble that crops up
various places in the test suite if we don't do this.

11 years agoMinor doc fix: pp_addr => op_ppaddr
Steffen Mueller [Thu, 14 Feb 2013 16:36:54 +0000 (17:36 +0100)]
Minor doc fix: pp_addr => op_ppaddr

11 years agoThe rpeepp and peepp functions need a THX
Steffen Mueller [Tue, 12 Feb 2013 17:26:44 +0000 (18:26 +0100)]
The rpeepp and peepp functions need a THX

11 years agoGive Config a version number
David Golden [Thu, 14 Feb 2013 02:09:45 +0000 (21:09 -0500)]
Give Config a version number

11 years agoTest that call checkers are copied with actual closures.
Nicholas Clark [Wed, 13 Feb 2013 14:11:16 +0000 (15:11 +0100)]
Test that call checkers are copied with actual closures.

This relates to the tests added by commit 09fb282d08ec6c01.

11 years agoMake File::DosGlob handle VMS extended filespecs.
Craig A. Berry [Wed, 13 Feb 2013 02:01:40 +0000 (20:01 -0600)]
Make File::DosGlob handle VMS extended filespecs.

11 years agoAdd Midnight BSD to perlport
Chris 'BinGOs' Williams [Tue, 12 Feb 2013 21:27:29 +0000 (21:27 +0000)]
Add Midnight BSD to perlport

11 years agoCustom ops may be experimental, but sure aren't new
Steffen Mueller [Tue, 12 Feb 2013 13:42:51 +0000 (14:42 +0100)]
Custom ops may be experimental, but sure aren't new

Are they still experimental?

11 years agoUpdate CPAN to CPAN version 2.00-TRIAL
Chris 'BinGOs' Williams [Tue, 12 Feb 2013 09:58:59 +0000 (09:58 +0000)]
Update CPAN to CPAN version 2.00-TRIAL

  [DELTA]

  2013-02-06  k  <k@k83.linux.bogus>

    * release 2.00-TRIAL

    * import App::Cpan 0.60_02 from brian d foy

    * RT#82589 doc fix thanks to Zefram

    * several portability fixes for 5.6.2

    * RT#83042 workaround for current circular dependency in CPANPLUS and
      CPANPLUS::Dist::Build

11 years agoAdd entry for update to Data::Dumper.
James E Keenan [Tue, 12 Feb 2013 00:23:26 +0000 (19:23 -0500)]
Add entry for update to Data::Dumper.

11 years agoregcomp.c: Fully parenthesize macro expansions formal parameter
Karl Williamson [Mon, 11 Feb 2013 19:07:35 +0000 (12:07 -0700)]
regcomp.c: Fully parenthesize macro expansions formal parameter

11 years agoinline_invlist.c, regcomp.c: Comments-onlys, white-space
Karl Williamson [Mon, 11 Feb 2013 18:31:16 +0000 (11:31 -0700)]
inline_invlist.c, regcomp.c: Comments-onlys, white-space

inline_invlist.c had comments that are from a different file.  Update
them.  Also corrects the name in a #error line in regcomp.c

11 years agodiag.t: Validate severity of ck warn routines better
Father Chrysostomos [Sun, 10 Feb 2013 22:30:20 +0000 (14:30 -0800)]
diag.t: Validate severity of ck warn routines better

In the case of Perl_ck_warner and other _ck_ functions, we can tell
whether it is a severe/default warning or no by the _d suffix (or the
presence of ‘dep’ in the name for regcomp.c’s ckWARN* functions).

This caught one incorrect severity in perldiag.pod, which is also cor-
rected here.

11 years agoSync Config-Perl-V version in Maintainers.pl with CPAN
Chris 'BinGOs' Williams [Sun, 10 Feb 2013 20:30:12 +0000 (20:30 +0000)]
Sync Config-Perl-V version in Maintainers.pl with CPAN

11 years agoDeal with spaces in patch descriptions
H.Merijn Brand [Sun, 10 Feb 2013 20:06:45 +0000 (21:06 +0100)]
Deal with spaces in patch descriptions

To be sure, I also allowed "Compile time options" to have spaces
Using \0 as a new separator seems a sane choice, as the values returned
from internal functions are pure C strings, so they end with \0

patches can have spaces:
#          $got->{build}{patches}[0] = 'SAVEARGV0'
#     $expected->{build}{patches}[0] = 'SAVEARGV0 - disable magic open in <ARGV>'
#          $got->{build}{patches}[0] = 'ActivePerl'
#     $expected->{build}{patches}[0] = 'ActivePerl Build 1602 [296513]'
#          $got->{build}{patches}[0] = 'DEBPKG:debian/arm_thread_stress_timeout'
#     $expected->{build}{patches}[0] = 'DEBPKG:debian/arm_thread_stress_timeout - http://bugs.debian.org/501970 Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts'
#          $got->{build}{patches}[0] = 'Bug#55162'
#     $expected->{build}{patches}[0] = 'Bug#55162 File::Spec::case_tolerant performance'

11 years agoRT-116192 - If a directory in @INC already has a trailing '/', don't add another.
Matthew Horsfall (alh) [Thu, 27 Dec 2012 15:38:08 +0000 (10:38 -0500)]
RT-116192 - If a directory in @INC already has a trailing '/', don't add another.

11 years agoMention inclusion of both META files, in perldelta
Chris 'BinGOs' Williams [Sun, 10 Feb 2013 19:55:17 +0000 (19:55 +0000)]
Mention inclusion of both META files, in perldelta

11 years agoperl.pod: Squash double space
Father Chrysostomos [Sun, 3 Feb 2013 21:42:18 +0000 (13:42 -0800)]
perl.pod: Squash double space

inadventently (presumably :) added in commit c1264fa8ede.

11 years agoperldiag.pod: Remove regexp cat from \b{ \B{ message
Father Chrysostomos [Sun, 3 Feb 2013 20:35:56 +0000 (12:35 -0800)]
perldiag.pod: Remove regexp cat from \b{ \B{ message

It is no longer in that category as of 147508a29c9.

11 years agopp.c: White-space only
Karl Williamson [Tue, 5 Feb 2013 17:36:56 +0000 (10:36 -0700)]
pp.c: White-space only

This moves some things so lines fit in an 80 column window

11 years agoEnable perl core tests to pass when locale support is not available.
Jess Robinson [Fri, 8 Feb 2013 12:30:05 +0000 (12:30 +0000)]
Enable perl core tests to pass when locale support is not available.

use locale - this will now die if $Config{d_setlocale} is not true.
All tests that use locale will skip if $Config{d_setlocale} is not true.
This enables us to pass tests on Android which uses ICU instead of locales.

The committer removed trailing white space

11 years agoAdd Jess Robinson to AUTHORS
Karl Williamson [Sun, 10 Feb 2013 03:07:38 +0000 (20:07 -0700)]
Add Jess Robinson to AUTHORS

11 years agoDocument corelist change in perldelta
Chris 'BinGOs' Williams [Sat, 9 Feb 2013 21:06:52 +0000 (21:06 +0000)]
Document corelist change in perldelta

11 years agoMake corelist --feature a >= v5.9.5 option
Chris 'BinGOs' Williams [Sat, 9 Feb 2013 20:22:14 +0000 (20:22 +0000)]
Make corelist --feature a >= v5.9.5 option

11 years agoReport feature availability via corelist -f
Thomas Sibley [Sat, 9 Feb 2013 19:44:13 +0000 (19:44 +0000)]
Report feature availability via corelist -f

> regen/feature.pl contains the data below, which could be used to add
> information to Module::CoreList to show what feature was available
> since what perl version
>
> $ corelist -f switch
> Data for 2013-01-20
> feature switch was first released with perl v5.9.5
>
> Any takers?

I reached for this the other day and was sad it didn't already exist.
Patch attached.

As suggested by H.Merijn Brand.

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
11 years agoUpdate Archive-Extract to CPAN version 0.66
Chris 'BinGOs' Williams [Sat, 9 Feb 2013 18:58:03 +0000 (18:58 +0000)]
Update Archive-Extract to CPAN version 0.66

  [DELTA]

  Changes for 0.66    Sat Feb  9 18:21:52 2013
  ============================================
  * Treat midnightbsd the same as freebsd for
    the purposes of finding Info-ZIP unzip

11 years agoStandardize removal of escapes in unixify.
Craig A. Berry [Sat, 9 Feb 2013 15:23:09 +0000 (09:23 -0600)]
Standardize removal of escapes in unixify.

When converting VMS format file specification to Unix format, we
need to translate sequences escaped with a caret in the VMS format
name into an unescaped form in the resulting Unix name.  We have
a function to do just that, but weren't using it in three of the
most important places that need it.  Using the function gets us
handling more cases than the simple versions we had inline.

11 years agoChange pods to not refer to av_len()
Karl Williamson [Sat, 2 Feb 2013 17:18:45 +0000 (10:18 -0700)]
Change pods to not refer to av_len()

This name for the function is misleading; don't encourage its use.