platform/upstream/perl.git
11 years agotypo fix for Hash::Util::FieldHash
David Steinbrunner [Tue, 21 May 2013 11:23:10 +0000 (07:23 -0400)]
typo fix for Hash::Util::FieldHash

Bump $VERSION.

11 years agotypo fixes for File::DosGlob
David Steinbrunner [Tue, 21 May 2013 11:22:30 +0000 (07:22 -0400)]
typo fixes for File::DosGlob

Bump $VERSION.

11 years agotypo fixes for Tie::File
David Steinbrunner [Tue, 21 May 2013 11:18:21 +0000 (07:18 -0400)]
typo fixes for Tie::File

Bump $VERSION.

11 years agotypo fixes for Term::ReadLine
David Steinbrunner [Tue, 21 May 2013 11:17:53 +0000 (07:17 -0400)]
typo fixes for Term::ReadLine

Bump $VERSION.

11 years agotypo fix for Module::CoreList
David Steinbrunner [Tue, 21 May 2013 11:17:21 +0000 (07:17 -0400)]
typo fix for Module::CoreList

11 years agotypo fix for Storable
David Steinbrunner [Tue, 21 May 2013 11:16:19 +0000 (07:16 -0400)]
typo fix for Storable

Bump $VERSION.

typo fixes for Math::BigRat

Bump $VERSION.

11 years agotypo fix for IO
David Steinbrunner [Tue, 21 May 2013 11:15:52 +0000 (07:15 -0400)]
typo fix for IO

Bump $VERSION.

11 years agotypo fixes for ExtUtils::Install
David Steinbrunner [Tue, 21 May 2013 11:15:29 +0000 (07:15 -0400)]
typo fixes for ExtUtils::Install

Bump $VERSION.

11 years agotypo fix for ExtUtils::CBuilder
David Steinbrunner [Tue, 21 May 2013 11:14:30 +0000 (07:14 -0400)]
typo fix for ExtUtils::CBuilder

Bump $VERSION.

11 years agotypo fix for Data::Dumper
David Steinbrunner [Tue, 21 May 2013 11:13:58 +0000 (07:13 -0400)]
typo fix for Data::Dumper

Bump $VERSION.

11 years agotypo fix for bigint
David Steinbrunner [Tue, 21 May 2013 11:13:27 +0000 (07:13 -0400)]
typo fix for bigint

Bump $VERSION.

11 years agotypo fixes for B::Depaese
David Steinbrunner [Tue, 21 May 2013 11:13:09 +0000 (07:13 -0400)]
typo fixes for B::Depaese

Bump $VERSION.

11 years agoCorrect bug number comment in test.
Nicholas Clark [Sat, 25 May 2013 10:03:23 +0000 (12:03 +0200)]
Correct bug number comment in test.

11 years agoIn the debugger use local $ENV{MANPATH}, instead of a work around.
Nicholas Clark [Sat, 25 May 2013 09:53:46 +0000 (11:53 +0200)]
In the debugger use local $ENV{MANPATH}, instead of a work around.

local on regular hashes was fixed to delete elements it added by commit
1f5346dc23a1f0ea in Dec 2000. The analogous fix for tied hashes was made by
commit c39e6ab0a7545b7a in May 2002. So the work around can go.

11 years agoRemove the hard-coded list of "perl" manpages from the debugger.
Nicholas Clark [Sat, 25 May 2013 09:30:31 +0000 (11:30 +0200)]
Remove the hard-coded list of "perl" manpages from the debugger.

Instead, use the directory of installed pod files to work out whether the
page name the user typed should have "perl" prepended.

11 years agoIn the debugger's doc command, use man[13]direxp instead of man[13]dir.
Nicholas Clark [Sat, 25 May 2013 09:15:47 +0000 (11:15 +0200)]
In the debugger's doc command, use man[13]direxp instead of man[13]dir.

Without this, the doc command won't work when perl is configured and installed
with a prefix starting with ~

11 years agocanonical.t test for Storable will use Digest::MD5 instead of MD5
Alexandr Ciornii [Fri, 24 May 2013 21:10:25 +0000 (00:10 +0300)]
canonical.t test for Storable will use Digest::MD5 instead of MD5

11 years agoFix the man/perldoc/doc command in the debugger.
Nicholas Clark [Fri, 24 May 2013 18:15:10 +0000 (20:15 +0200)]
Fix the man/perldoc/doc command in the debugger.

This was accidentally broken by commit c7b0c61d36b24841.

11 years agoBump $VERSION.
James E Keenan [Sat, 25 May 2013 03:22:23 +0000 (05:22 +0200)]
Bump $VERSION.

11 years agotypo fixes for Locale::Maketext
David Steinbrunner [Tue, 21 May 2013 11:12:24 +0000 (07:12 -0400)]
typo fixes for Locale::Maketext

11 years agotypo fixes for Cwd
David Steinbrunner [Tue, 21 May 2013 11:11:33 +0000 (07:11 -0400)]
typo fixes for Cwd

Bump $VERSION.

11 years agoanother typo fix for ExtUtils::ParseXS
David Steinbrunner [Tue, 21 May 2013 11:10:50 +0000 (07:10 -0400)]
another typo fix for ExtUtils::ParseXS

Bump $VERSION.

11 years agotypo fixes for ExtUtils::ParseXS
David Steinbrunner [Tue, 21 May 2013 11:08:49 +0000 (07:08 -0400)]
typo fixes for ExtUtils::ParseXS

11 years agotypo fix for Attribute::Handlers
David Steinbrunner [Tue, 21 May 2013 11:08:03 +0000 (07:08 -0400)]
typo fix for Attribute::Handlers

Bump $VERSION.

11 years agolib/perldoc.pod is no longer generated, stop ignoring it
Tony Cook [Sat, 25 May 2013 02:58:04 +0000 (12:58 +1000)]
lib/perldoc.pod is no longer generated, stop ignoring it

This changed with cb1974ba4a430f72 added an ignore for the new
location but didn't remove the old location.

11 years agoTypo fixes for B modules.
David Steinbrunner [Tue, 21 May 2013 11:05:15 +0000 (07:05 -0400)]
Typo fixes for B modules.

Uses of 'optimise' change to 'optimize' to be consistent with
other uses of 'optimize'.

Bump $VERSION.

11 years agotypo fix for perl5db
David Steinbrunner [Tue, 21 May 2013 11:02:52 +0000 (07:02 -0400)]
typo fix for perl5db

Bump $VERSION.

11 years agotypo fix for Thread
David Steinbrunner [Tue, 21 May 2013 11:01:50 +0000 (07:01 -0400)]
typo fix for Thread

Bump $VERSION.

11 years agotypo fix for DB
David Steinbrunner [Tue, 21 May 2013 11:01:35 +0000 (07:01 -0400)]
typo fix for DB

Bump $VERSION.

11 years agotypo fix for _charnames
David Steinbrunner [Tue, 21 May 2013 11:01:16 +0000 (07:01 -0400)]
typo fix for _charnames

Bump $VERSION for charnames.

11 years agoAdd lib/Pod/perldoc.pod to lib/.gitignore.
James E Keenan [Sat, 25 May 2013 02:31:09 +0000 (04:31 +0200)]
Add lib/Pod/perldoc.pod to lib/.gitignore.

11 years agotypo fixes for Benchmark
David Steinbrunner [Tue, 21 May 2013 11:00:56 +0000 (07:00 -0400)]
typo fixes for Benchmark

Bump $VERSION; clean up trailing whitespace.

11 years agotypo fix for File::Find
David Steinbrunner [Tue, 21 May 2013 10:59:07 +0000 (06:59 -0400)]
typo fix for File::Find

Bump $VERSION for File::Find.

11 years agoUpdate HTTP-Tiny to CPAN version 0.029
Chris 'BinGOs' Williams [Fri, 24 May 2013 20:46:26 +0000 (21:46 +0100)]
Update HTTP-Tiny to CPAN version 0.029

  [DELTA]

0.029     2013-04-17 13:49:07 America/New_York

  [FIXED]

  - Checks for new enough OpenSSL library before using SNI (otherwise
    IO::Socket::SSL throws warnings)

0.028     2013-03-05 14:11:57 America/New_York

  [SUPPORT]

  - Fix repository/issue links to reflect proper repo name

0.027     2013-03-05 12:02:58 America/New_York

  [SUPPORT]

  - Changed metadata to point to the chansen github repository
    for code and issues

  [DOCUMENTATION]

  - Added hyperlink for HTTP::CookieJar

0.026     2013-03-04 22:53:39 America/New_York

  [ADDED]

  - Added cookie support if an HTTP::CookieJar object is provided in the
    'cookie_jar' attribute [Edward Zborowski]

11 years agoUpdate Module-Build to CPAN version 0.4005
Chris 'BinGOs' Williams [Fri, 24 May 2013 20:43:09 +0000 (21:43 +0100)]
Update Module-Build to CPAN version 0.4005

  [DELTA]

0.4005 - Thu Apr 25 15:10:14 CEST 2013

  [ENHANCEMENTS]

  - Added --pureperl-only support

  [BUG FIXES]

  - #72176: pod2html will fail with an empty podpath in some cases. [Phillip Moore]

  - Fix links between modules in HTML docs output [Michael Wild, Leon Timmermans]

0.4004 - Fri Mar 29 15:05:00 CET 2013

  [BUG FIXES]

  - Minor VMS fix for @INC [Craig Berry]

  [ENHANCEMENTS]

  - test_requires support has been added [Matsuno Tokuhiro]

11 years agoUpdate Pod-Perldoc to CPAN version 3.20
Chris 'BinGOs' Williams [Fri, 24 May 2013 19:45:36 +0000 (20:45 +0100)]
Update Pod-Perldoc to CPAN version 3.20

  [DELTA]

  3.20 - Sat Apr 27 05:25:30 UTC 2013
    * Make default formatter "ToTerm" instead of "ToMan" for
      better UTF-8 support
    * When dynamically building POD from perlfunc (perlvar)
      make sure we open filehandles with utf8 and add an
      =encoding (RT #80527) (RT #80640)

11 years agoUpdate Pod-Usage to CPAN version 1.62
Chris 'BinGOs' Williams [Fri, 24 May 2013 19:22:20 +0000 (20:22 +0100)]
Update Pod-Usage to CPAN version 1.62

  [DELTA]

1.62 (marekr)
Patches provided by rjbs - many thanks!
- These commits update Pod::Usage to only use Pod::Simple, so that any
  reliance on Pod::Parser is removed, making it easier to remove Pod::Parser
  from core.
- [PATCH 1/4] update Makefile: strict, INSTALLDIR, 5.6
- [PATCH 2/4] we will start to require perl 5.6 from here on out
- [PATCH 3/4] always use Pod::Text as default base class
- [PATCH 4/4] eliminate the branch in which Pod::Parser would be used
  This commit is intended entirely to free Pod::Usage from any reliance on
  Pod::Parser.
  * Usage.pm now defaults to using Pod::Text, rather than checking $] to pick.
  * $Pod::Select::MAX_HEADING_LEVEL is replaced with a local var
  * &Pod::Select::_compile_section_spec is copied into this module
    This isn't the most elegant fix, but it's a bit of a ball of mud. The code
    is written to let you alter @ISA at runtime to something that is derived
    either from Pod::Parser or Pod::Simple. This should probably be more
    explicitly limited to Pod::Simple in future releases.
- CPAN#84031: eliminate branches using Pod::Parser
  removed test suite dependencies on Pod::Parser

11 years agoEnsure that the IV in struct pmop (for ithreads) is aligned properly.
Nicholas Clark [Thu, 23 May 2013 11:46:05 +0000 (13:46 +0200)]
Ensure that the IV in struct pmop (for ithreads) is aligned properly.

The members of struct pmop vary between ithreads and non-ithreads builds.
For ithreads, an IV is used for op_pmoffset. For 32 bit platforms built
with -Duse64bitint, IVs are 64 bits, but pointers (and all other members of
all OP structures) are 32 bits, hence on 32 bit platforms OP structure sizes
can be an odd multiple of 4 bytes. Since the swap to the slab allocator,
this is causing problems on architectures where 8 byte IVs have to be 8
byte aligned, notably sparcs. The long-term fix is to replace the IV with
an appropriate 32 bit type, as it is being used for an array index. However,
for maint-5.18 we need a work around which doesn't change the public headers
and ideally doesn't impose a large speed or memory penalty.

Hence for now, simply avoid using the slab allocator when allocating a
struct pmop. Only do this for 32 bit platforms build with 8 byte IVs and
ithreads.

This is the interim fix for RT #118055.

11 years agoUpdate to CPAN-Meta means META.* need regenerating
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:39:54 +0000 (19:39 +0100)]
Update to CPAN-Meta means META.* need regenerating

11 years agoUpdate File-Temp to CPAN version 0.2301
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:26:56 +0000 (19:26 +0100)]
Update File-Temp to CPAN version 0.2301

  [DELTA]

  0.2301    2013-04-11 16:30:05 Europe/London

        * dist.ini: Managed with Dist::Zilla now; generates Makefile.PL
          to avoid circular dependency when using Build.PL

11 years agoUpdate CPAN-Meta to CPAN version 2.130880
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:22:44 +0000 (19:22 +0100)]
Update CPAN-Meta to CPAN version 2.130880

  [DELTA]

2.130880  2013-03-29 09:51:00 America/New_York

  [BUGFIX]

  - Fix provides 'version' bug introduced in the 2.130870 fix

2.130870  2013-03-28 11:08:50 America/New_York

  [BUGFIX]

  - Don't add 'version' to 'provides' during conversion if one didn't
    exist in the original [Reported by Miyagawa; fixed by David Golden]

11 years agoUpdated Module-Metadata to CPAN version 1.000014
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:19:17 +0000 (19:19 +0100)]
Updated Module-Metadata to CPAN version 1.000014

  [DELTA]

1.000014 - 2014-05-09
  - Remove "now installs to 'site' for perl 5.12+" from last version

1.000013 - 2013-05-08
  - Fix reliance on recent Test::Builder
  - Make tests perl 5.6 compatible
  - now installs to 'site' for perl 5.12+, as per p5p recommendation

1.000012 - 2013-05-04
  - improved package detection heuristics (thanks, Edward Zborowski!)
  - fix ->contains_pod (RT#84932, Tokuhiro Matsuno)
  - fix detection of pod after __END__ (RT79656, Tokuhiro Matsuno)

11 years agoUpdate File-Fetch to CPAN version 0.42
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:17:43 +0000 (19:17 +0100)]
Update File-Fetch to CPAN version 0.42

  [DELTA]

  Changes for 0.42        Fri Apr 12 15:28:34 2013
  =================================================
  * Skip slurp tests for git://

  Changes for 0.40        Fri Apr 12 11:18:52 2013
  =================================================
  * Added git:// url support

11 years agoUpdate perlfaq to CPAN version 5.0150043
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:15:58 +0000 (19:15 +0100)]
Update perlfaq to CPAN version 5.0150043

  [DELTA]

  5.0150043 Sun 12 May 2013 19:40:17 +0100
    * Various typos and URL fixes (dsteinbrunner)
    * Typo (argrath)

11 years agoUpdate Encode to CPAN version 2.51
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:14:08 +0000 (19:14 +0100)]
Update Encode to CPAN version 2.51

  [DELTA]

$Revision: 2.51 $ $Date: 2013/04/29 22:19:11 $
! Encode.xs
  Addressed: Encode.xs doesn't compile with Microsoft C compiler
  https://rt.cpan.org/Public/Bug/Display.html?id=84920
! MANIFEST
  Addressed: t/taint.t missing
  https://rt.cpan.org/Public/Bug/Display.html?id=84919

2.50 2013/04/26 18:30:46
! Encode.xs Unicode/Unicode.xs
  lib/Encode/Unicode/UTF7.pm lib/CN/HZ.pm lib/Encode/GSM0338.pm
  t/taint.t
  Addressed: Encode::encode and Encode::decode
             gratuitously launders tainted data
  Taintedness now propagates as it should.
  https://rt.cpan.org/Ticket/Display.html?id=84879
! encoding.pm
  Addressed: 5.18 deprecation
  https://rt.cpan.org/Ticket/Display.html?id=84709
! bin/piconv
  Applied: Update piconv documentation
  https://rt.cpan.org/Ticket/Display.html?id=84695

11 years agoUpdate Config-Perl-V version in Maintainers.pl
Chris 'BinGOs' Williams [Fri, 24 May 2013 18:12:47 +0000 (19:12 +0100)]
Update Config-Perl-V version in Maintainers.pl

11 years agoUpdate Config-Perl-V to version 0.18
H.Merijn Brand [Fri, 24 May 2013 15:33:07 +0000 (17:33 +0200)]
Update Config-Perl-V to version 0.18

11 years agoAdd NO_TAINT_SUPPORT to S_Internals_V ()
H.Merijn Brand [Fri, 24 May 2013 14:36:55 +0000 (16:36 +0200)]
Add NO_TAINT_SUPPORT to S_Internals_V ()

11 years agotypo fixes for porting scripts
David Steinbrunner [Tue, 21 May 2013 10:56:08 +0000 (06:56 -0400)]
typo fixes for porting scripts

11 years agotypo fixes for version pod
David Steinbrunner [Tue, 21 May 2013 10:57:44 +0000 (06:57 -0400)]
typo fixes for version pod

11 years agoTry to avoid nesting F<$F<...>> in generated Config.pm
David Golden [Thu, 23 May 2013 23:11:23 +0000 (19:11 -0400)]
Try to avoid nesting F<$F<...>> in generated Config.pm

11 years agofix various podcheck nits
David Golden [Thu, 23 May 2013 22:08:48 +0000 (18:08 -0400)]
fix various podcheck nits

11 years agofix various Pod line length warnings
David Golden [Thu, 23 May 2013 20:58:20 +0000 (16:58 -0400)]
fix various Pod line length warnings

11 years agohelp t/podcheck.t skip duplicate pod in utils
David Golden [Thu, 23 May 2013 22:08:24 +0000 (18:08 -0400)]
help t/podcheck.t skip duplicate pod in utils

11 years agostop t/podcheck.t from flagging blockquotes
David Golden [Thu, 23 May 2013 22:07:58 +0000 (18:07 -0400)]
stop t/podcheck.t from flagging blockquotes

11 years agoMake t/podcheck.t less sensitive
David Golden [Thu, 23 May 2013 20:33:09 +0000 (16:33 -0400)]
Make t/podcheck.t less sensitive

The max line length is increased to 100.  This eliminates dozens of
known issues.

The warnings about using F<> and L<> instead of C<> have been removed
on the rationale that they are too opinionated.  They flag stylistic
issues rather than syntactic or structural issues and have minimal
impact on the effectiveness of the resulting documentation.

11 years agotypo fixes for porting modules
David Steinbrunner [Tue, 21 May 2013 10:53:18 +0000 (06:53 -0400)]
typo fixes for porting modules

Bump $VERSION for Porting/Maintainers.pm.

11 years agotypo fixes for porting pod note optimiser
David Steinbrunner [Tue, 21 May 2013 10:52:43 +0000 (06:52 -0400)]
typo fixes for porting pod note optimiser

Change to optimizer to be consistent with other uses of optimizer in todo.
Clear up confusion in regex optimizer entry.

11 years agomaking DOS stand out in dosify
David Steinbrunner [Tue, 21 May 2013 10:50:14 +0000 (06:50 -0400)]
making DOS stand out in dosify

11 years agotypo fix for os2 module
David Steinbrunner [Tue, 21 May 2013 10:49:13 +0000 (06:49 -0400)]
typo fix for os2 module

Bump $VERSION for os2/OS2/OS2-Process/Process.pm.

11 years agotypo fix for util script
David Steinbrunner [Tue, 21 May 2013 10:48:37 +0000 (06:48 -0400)]
typo fix for util script

11 years agotypo fixes for win32 scripts
David Steinbrunner [Tue, 21 May 2013 10:48:17 +0000 (06:48 -0400)]
typo fixes for win32 scripts

11 years agoSync Module-CoreList version in Maintainers.pl
Chris 'BinGOs' Williams [Thu, 23 May 2013 20:52:08 +0000 (21:52 +0100)]
Sync Module-CoreList version in Maintainers.pl

11 years agoRefactor autodoc.pl to read MANIFEST line by line, instead of slurping it.
Nicholas Clark [Tue, 17 Apr 2012 13:59:44 +0000 (15:59 +0200)]
Refactor autodoc.pl to read MANIFEST line by line, instead of slurping it.

11 years agoautodoc.pl now uses regen/embed_lib.pl to parse embed.fnc
Nicholas Clark [Tue, 17 Apr 2012 13:47:13 +0000 (15:47 +0200)]
autodoc.pl now uses regen/embed_lib.pl to parse embed.fnc

Previously it had its own custom parsing code for embed.fnc.

11 years agoRefactor autodoc.pl to use regen_lib.pl to generate file headers & footers.
Nicholas Clark [Sun, 8 Apr 2012 17:44:11 +0000 (19:44 +0200)]
Refactor autodoc.pl to use regen_lib.pl to generate file headers & footers.

This reduces duplication of code that generates '-*- buffer-read-only: t -*-',
'ex: set ro:' etc.

11 years agoIn regen/regen_lib.pl, add 'Pod' as a third supported 'language'.
Nicholas Clark [Sun, 8 Apr 2012 17:36:49 +0000 (19:36 +0200)]
In regen/regen_lib.pl, add 'Pod' as a third supported 'language'.

Pod needs a commenting style distinct from C and Perl. (ie the empty string)

11 years agot/porting/diag.t now uses regen/embed_lib.pl to parse embed.fnc
Nicholas Clark [Sun, 8 Apr 2012 11:28:06 +0000 (13:28 +0200)]
t/porting/diag.t now uses regen/embed_lib.pl to parse embed.fnc

Previously it had its own custom parsing code for embed.fnc.

11 years agoIn t/porting/diag.t, use TestInit to chdir and set up @INC.
Nicholas Clark [Sun, 8 Apr 2012 11:08:28 +0000 (13:08 +0200)]
In t/porting/diag.t, use TestInit to chdir and set up @INC.

Also eliminate the $|=1, as it's really not necessary for tests that neither
fork nor shell out to other processes.

11 years agoAvoid VMS running autodoc.pl twice for no reason.
Nicholas Clark [Sun, 8 Apr 2012 17:56:47 +0000 (19:56 +0200)]
Avoid VMS running autodoc.pl twice for no reason.

Previous descrip_mms.template carried separate rules to build perlintern.pod
and perlapi.pod, each of which caused autodoc.pl to run. autdoc.pl builds
both files when it runs, so this was duplicate work.

11 years agoRefactor the "check categories and severity" logic in diag.t
Nicholas Clark [Wed, 22 May 2013 09:48:03 +0000 (11:48 +0200)]
Refactor the "check categories and severity" logic in diag.t

Move the "todo" bailout as early as possible, before any work is done.
Replace C<use 5.01> [sic] with C<use feature 'state'>, as this makes the
intent much clearer.
Use parenthesis for like() and is() as this is consistent with the rest of the
test, and permits a simplification of the BEGIN handling.

11 years agoProvide alternate email address for jkeenan.
James E Keenan [Thu, 23 May 2013 01:26:55 +0000 (03:26 +0200)]
Provide alternate email address for jkeenan.

11 years agoCorrect known_pod_issues.dat.
James Keenan [Thu, 23 May 2013 01:06:54 +0000 (03:06 +0200)]
Correct known_pod_issues.dat.

11 years agotypo fix for vms script
David Steinbrunner [Tue, 21 May 2013 10:47:33 +0000 (06:47 -0400)]
typo fix for vms script

11 years agotypo fixes for regen scripts
David Steinbrunner [Tue, 21 May 2013 10:47:05 +0000 (06:47 -0400)]
typo fixes for regen scripts

11 years agotypo fixes for root level scripts
David Steinbrunner [Tue, 21 May 2013 10:46:18 +0000 (06:46 -0400)]
typo fixes for root level scripts

Add David Steinbrunner to AUTHORS.
Update pod issues database.

11 years agoperldiag: Describe \g syntax error
Karl Williamson [Wed, 22 May 2013 19:28:07 +0000 (13:28 -0600)]
perldiag: Describe \g syntax error

Commit 779fedd7c3021f013726c8f53cb9e66c54637ebf added a warning,
which is nearly identical to an existing one, but didn't change the
description of the existing one to encompass both.  This rectifies that.

11 years agoregcomp.c: Actually emit proper warning
Karl Williamson [Wed, 20 Mar 2013 17:42:18 +0000 (11:42 -0600)]
regcomp.c: Actually emit proper warning

Before this commit, /\g/ raised the wrong warning
    Reference to invalid group 0
This rearranges the code so that the proper warning is emitted.
    Unterminated \g... pattern

11 years agoMake Unicode::UCD::search_invlist() available
Karl Williamson [Wed, 22 May 2013 02:34:47 +0000 (20:34 -0600)]
Make Unicode::UCD::search_invlist() available

This commit documents this function, removing the initial underscore
from its name.  (And it hardens input checking.)

11 years agoUnicode::UCD Clarifications in pod
Karl Williamson [Wed, 22 May 2013 01:41:44 +0000 (19:41 -0600)]
Unicode::UCD Clarifications in pod

There are no "missing" values in inversion maps; there is a default
value returned for each one.  So change the example variables' names.
Plus another sentence rewording for clarity.

11 years agoUnicode::UCD: Move function in file.
Karl Williamson [Mon, 20 May 2013 18:13:22 +0000 (12:13 -0600)]
Unicode::UCD: Move function in file.

This is in preparation for making this function public, and it should be
listed in the pod later than it otherwise would be.

11 years agoUnicode::UCD: Correct wrong pod info
Karl Williamson [Mon, 20 May 2013 16:41:01 +0000 (10:41 -0600)]
Unicode::UCD: Correct wrong pod info

 This was erroneous.  Extra clarifications are also added.

11 years agoremove a spurious space
Ricardo Signes [Wed, 22 May 2013 13:33:16 +0000 (09:33 -0400)]
remove a spurious space

11 years agoSome more comments describing the slab allocator.
Nicholas Clark [Wed, 22 May 2013 11:56:50 +0000 (13:56 +0200)]
Some more comments describing the slab allocator.

These are based on the description of commit 8be227ab5eaa23f2, but provide
explanations near to the relevant C code.

11 years agoAdd comments describing the operation of S_scan_ident().
Nicholas Clark [Mon, 8 Apr 2013 14:30:18 +0000 (16:30 +0200)]
Add comments describing the operation of S_scan_ident().

11 years agoMore tests for the "Ambiguous use of ... resolved ..." warning S_scan_ident().
Nicholas Clark [Mon, 8 Apr 2013 14:27:19 +0000 (16:27 +0200)]
More tests for the "Ambiguous use of ... resolved ..." warning S_scan_ident().

In particular, test that the special case for reporting $# as @ works.

11 years agoFix typo in Porting/sync-with-cpan
Max Maischein [Tue, 21 May 2013 19:40:21 +0000 (21:40 +0200)]
Fix typo in Porting/sync-with-cpan

I will run `make test_porting` on the correct branch before submitting a patch.
I will run `make test_porting` on the correct branch before submitting a patch.
I will run `make test_porting` on the correct branch before submitting a patch.

11 years agoEliminate external call to tar executable in favour of Archive::Tar
Max Maischein [Tue, 21 May 2013 17:09:47 +0000 (19:09 +0200)]
Eliminate external call to tar executable in favour of Archive::Tar

Archive::Tar has ->extract_archive, which does Just That. This means
we lose immediate support for bzip2 files, but not all
incarnations of `tar` support it either.

Signed-off-by: David Golden <dagolden@cpan.org>
11 years agoAdd new Module::CoreList::Utils to MANIFEST
Chris 'BinGOs' Williams [Tue, 21 May 2013 13:13:52 +0000 (14:13 +0100)]
Add new Module::CoreList::Utils to MANIFEST

11 years agoMerge branch 'smoke-me/coreutils' into blead
Chris 'BinGOs' Williams [Tue, 21 May 2013 12:32:53 +0000 (13:32 +0100)]
Merge branch 'smoke-me/coreutils' into blead

11 years agoRemove 2 superfluous use lines from ExtUtils::CBuilder.
Nicholas Clark [Wed, 24 Apr 2013 15:01:43 +0000 (17:01 +0200)]
Remove 2 superfluous use lines from ExtUtils::CBuilder.

use IO::File was added with the upgrade to 0.23 (commit c3fb68a339256eb3 in
April 2008), but the use of IO::File in the code was eliminated by the
upgrade to 0.2800 (commit 06e8058f27e4269b in Dec 2010), which replaced
the code in question with use of File::Temp. The latter refactoring also
added the use Data::Dumper; line, but did not add any code which uses
Data::Dumper.

11 years agoRefactor 3 tests so that they avoid clearing %:: via list assignment.
Nicholas Clark [Wed, 10 Apr 2013 11:44:07 +0000 (13:44 +0200)]
Refactor 3 tests so that they avoid clearing %:: via list assignment.

For all 3, clearing %:: was intended to expose another bug, not to directly
test the effects of clearing %::

Tested by building the 3 revisions that added the tests, and confirming that
the revised test also triggers the bug that each fixed.

11 years agoTest that caller does not SEGV when the current package is undefined.
Nicholas Clark [Fri, 5 Apr 2013 10:12:53 +0000 (12:12 +0200)]
Test that caller does not SEGV when the current package is undefined.

Prior to commit d4d03940c58a0177 this code would SEGV under ithreads.
Test suggested by Brian Fraser.

11 years agoRemove fakethr.h and eliminate all references to it and FAKE_THREADS
Nicholas Clark [Mon, 20 May 2013 15:55:46 +0000 (17:55 +0200)]
Remove fakethr.h and eliminate all references to it and FAKE_THREADS

fakethr.h and FAKE_THREADS were for a "green" threads implementation of
5005threads. 5005threads itself is long gone, and it's not clear that
-DFAKE_THREADS *ever* built correctly. Certainly it did not work for the
5.005 release, and it did not work at the time of the commits for the initial
checkin. The closest that it seems to have been to working is around commit
c6ee37c52f2ca9e5 (Dec 1997), where the headers no longer contained errors,
but perl.c failed to compile.

11 years agoMerge the refactoring of x2p's Makefile to blead.
Nicholas Clark [Tue, 21 May 2013 05:49:29 +0000 (07:49 +0200)]
Merge the refactoring of x2p's Makefile to blead.

11 years agoSimplify x2p's Makefile.
Nicholas Clark [Wed, 15 May 2013 19:48:12 +0000 (21:48 +0200)]
Simplify x2p's Makefile.

Eliminate plexe and plc, which relate to tests for the compiler and were
added as part of commit 52cebf5efc9883c7 in May 1988. The compiler was
removed by commit de1254415ffeb03b in Sept 2006.

The files a2p.man and s2p.man were removed with Perl 5.000.
The macros 'public', 'private' and 'util' mirror the structure of the top
level Makefile.SH. However, x2p only ever used 'public', so simplify things
by inlining the value of 'public' in the only place that uses it.
'addedbyconf' now only contains the value of 'plextract', so use the latter
directly in the one place that had used 'addedbyconf'.

11 years agoRemove rules to delete *.loadmap and *.prelmap files, generated on VM/ESA
Nicholas Clark [Wed, 15 May 2013 19:34:21 +0000 (21:34 +0200)]
Remove rules to delete *.loadmap and *.prelmap files, generated on VM/ESA

These rules to clean up properly on VM/ESA were added in Oct 1998 by
perforce changes 1961, 1962 and 1963 in the confperl branch. VM/ESA support
was removed by commit 043fec90e88a2e23 in Aug 2012.

11 years agoAdd x2p/Makefile.SH to the *.SH files processed by the top level Makefile.
Nicholas Clark [Wed, 15 May 2013 19:26:59 +0000 (21:26 +0200)]
Add x2p/Makefile.SH to the *.SH files processed by the top level Makefile.

This makes the top level Makefile responsible for deleting x2p/Makefile.
With this, we can eliminate the 'sh' and 'shextract' from x2p's Makefile.

11 years agoRemove the now unused 'shlist' Makefile targets.
Nicholas Clark [Wed, 15 May 2013 19:17:31 +0000 (21:17 +0200)]
Remove the now unused 'shlist' Makefile targets.

11 years agoProgrammatically generate dependencies for all *.SH files.
Nicholas Clark [Wed, 15 May 2013 18:57:37 +0000 (20:57 +0200)]
Programmatically generate dependencies for all *.SH files.

Previously dependencies for Makefile, config.h and makedepend were
explicitly coded into verbatim sections of Makefile.SH, with most of the
others being generated by makedepend.SH