This is a live mirror of the Perl 5 development currently hosted at
11 years agoFix pthread include error for Time::Piece
H.Merijn Brand [Thu, 1 Jul 2010 17:05:03 +0000 (19:05 +0200)]
Fix pthread include error for Time::Piece

Oh, um, lovely. Did I really want to look at that code? I can only assume
that in *BSD the API for _strptime() is fixed. But it's static for us, so
it doesn't need to be fixed.

Does the appended patch fix it?

Nicholas Clark

Signed-off-by: H.Merijn Brand <>
11 years agoadd cherrymaint and git-deltatool to MANIFEST
David Golden [Thu, 1 Jul 2010 16:04:06 +0000 (12:04 -0400)]
add cherrymaint and git-deltatool to MANIFEST

11 years agoConvert zlib src from K&R functions declarations to ANSI C.
Nicholas Clark [Thu, 1 Jul 2010 15:54:10 +0000 (16:54 +0100)]
Convert zlib src from K&R functions declarations to ANSI C.

K&R declarations aren't valid C++, hence C++ builds choke. zlib defaults to
K&R (I infer for maximum portability), but helpfully the zlib distribution
provides a zlib2ansi script to convert the declarations.

11 years agoConvert subs.t to use t/lib/
Nicholas Clark [Thu, 1 Jul 2010 12:59:26 +0000 (13:59 +0100)]
Convert subs.t to use t/lib/

11 years agoConvert charnames.t to use t/lib/
Nicholas Clark [Thu, 1 Jul 2010 11:08:33 +0000 (12:08 +0100)]
Convert charnames.t to use t/lib/

11 years agoConvert strict.t to use t/lib/
Nicholas Clark [Thu, 1 Jul 2010 10:13:34 +0000 (11:13 +0100)]
Convert strict.t to use t/lib/

11 years agoConvert gmtime.t, localtime.t and overloading.t to Test::More.
Nicholas Clark [Thu, 1 Jul 2010 09:54:33 +0000 (10:54 +0100)]
Convert gmtime.t, localtime.t and overloading.t to Test::More.

11 years agoConvert DirHandle's tests to Test::More.
Nicholas Clark [Thu, 1 Jul 2010 09:32:03 +0000 (10:32 +0100)]
Convert DirHandle's tests to Test::More.

Remove a vestigial reference to MacOS.

11 years agoAdd additional notes regarding srand and forking
Brian Phillips [Wed, 30 Jun 2010 15:31:25 +0000 (10:31 -0500)]
Add additional notes regarding srand and forking

perldoc -f srand states that typical use requires no srand() to be
called.  This is true with the exception of forking where you may not
want the same seed across various child processes (i.e. mod_perl).
This patch simply adds a note reminding the reader of this fact and
more specifically states that srand should only be called once per
*process* (instead of the previous language of once per *script*).

Signed-off-by: Brian Phillips <>
11 years agoConvert Fcntl and PerlIO::encoding's tests to Test::More.
Nicholas Clark [Wed, 30 Jun 2010 19:30:14 +0000 (20:30 +0100)]
Convert Fcntl and PerlIO::encoding's tests to Test::More.

Remove one vestigial mention of MacOS.

11 years agoConvert POSIX's test to Test::More.
Nicholas Clark [Wed, 30 Jun 2010 18:58:53 +0000 (19:58 +0100)]
Convert POSIX's test to Test::More.

11 years agoFix MANIFEST to include new Test-Harness files added in 6d3136644eb73f7a0727d341c9093...
Andy Dougherty [Wed, 30 Jun 2010 17:10:15 +0000 (13:10 -0400)]
Fix MANIFEST to include new Test-Harness files added in 6d3136644eb73f7a0727d341c90937f4234835bf

11 years agoConvert Devel::Peek's test to Test::More.
Nicholas Clark [Wed, 30 Jun 2010 16:24:56 +0000 (17:24 +0100)]
Convert Devel::Peek's test to Test::More.

The flag change from 0x0 to 0x4 is because Test::More sets autoflush on STDOUT.

11 years agoMake the change to source_handler.t conditional on $ENV{PERL_CORE}.
Nicholas Clark [Wed, 30 Jun 2010 14:31:45 +0000 (15:31 +0100)]
Make the change to source_handler.t conditional on $ENV{PERL_CORE}.

175dcccfb62b30fa wrongly added '-I../../lib' unconditionally.

11 years agoUpdate IO-Compress to CPAN version 2.027
Chris 'BinGOs' Williams [Wed, 30 Jun 2010 09:06:53 +0000 (10:06 +0100)]
Update IO-Compress to CPAN version 2.027


  2.027 24 April 2010

      * Compress::Zlib
        Remove autoload code from
        [perl #74088]

  2.026 7 April 2010

      * IO::Uncompress::Zip
        - Some updates to IO::Compress::Zip documentation.
        - Fixed default setting for ExtAttr.

  2.025 27 March 2010

      * IO::Uncompress::Unzip
        The "Name" option wasn't documented.

      * Allow zlib version check to be disabled by setting
        TEST_SKIP_VERSION_CHECK environment variable.
        [RT #54510]

  2.024 7 January 2010

      * Compress::Zlib
        Get memGunzip & memGzip to set $gzerrno
        [RT# 47283]

      * Compress::Zlib
        Export memGunzip, memGzip and zlib_version on demand
        [RT# 52992]

      * examples/io/anycat
        This sample was using IO::Uncompress::AnyInflate. Much better to
        use IO::Uncompress::AnyUncompress.

  2.023 9 November 2009

      * IO::Compress::AnyUncompress
        Added support for lzma_alone & xz.

  2.022 9 October 2009

      * IO::Compress - Makefile.PL
        Fix for core.

11 years agoUpdate Compress-Raw-Bzip2 to CPAN version 2.027
Chris 'BinGOs' Williams [Wed, 30 Jun 2010 09:03:06 +0000 (10:03 +0100)]
Update Compress-Raw-Bzip2 to CPAN version 2.027


  2.027 24 April 2010

      * No Changes

  2.026 7 April 2010

      * No Changes

  2.025 27 March 2010

      * Documented the unused "verbosity" option in
        [RT# 54425]

  2.023 9 November 2009

      * Removed redundant bzip2 source files from the bzip2-src directory.
        [RT# 47225]

      * Fixed instance where $[ should have been $] in t/01bzip2.t
        Thanks to Robin Barker and zefram [RT #50764] for independantly
        spotting the issue.

11 years agoUpdate Compress-Raw-Zlib to CPAN version 2.027
Chris 'BinGOs' Williams [Wed, 30 Jun 2010 08:56:41 +0000 (09:56 +0100)]
Update Compress-Raw-Zlib to CPAN version 2.027


  2.027 24 April 2010

      * Updated to include zlib 1.2.5

  2.026 7 April 2010

      * Fixed definition of Z_TREES in Makefile.PL
        [RT #65293]

      * Fixed build issue with definition of off64_t not found on Solaris
        by modifying the zlib source - changed the symbol
        _LARGEFILE64_SOURCE to _LARGEFILE64_SOURCE_dummy in zconf.h,
        zlib.h and zutil.h
        [RT #56108]

  2.025 27 March 2010

      * Updated to include zlib 1.2.4

      * Allow zlib version check to be disabled by setting
        TEST_SKIP_VERSION_CHECK environment variable.
        [RT #54510]

  2.023 9 November 2009

      * fixed instance where $[ should have been $] in t/02zlib.t
        Thanks to Robin Barker and zefram [RT #50765] for independantly
        spotting the issue.

11 years agoStore xio_ifp in sv_u in the SV head, reducing XPVIO by 1 pointer.
Nicholas Clark [Wed, 30 Jun 2010 09:46:09 +0000 (10:46 +0100)]
Store xio_ifp in sv_u in the SV head, reducing XPVIO by 1 pointer.

When accessing a file handle for reading, this reduces pointer dereferences by
1, which will reduce CPU cache pressure.

As SVt_PVIO is also the default type provided to source filters, the code needs
to allow them to continue to use the sv_u for SvPVX(). Re-use the existing
IOf_FAKE_DIRP to signal this, as it's only set when a source filter is added.

11 years agoIn Perl_filter_del(), no need to NULL IoANY(datasv).
Nicholas Clark [Tue, 29 Jun 2010 21:15:45 +0000 (22:15 +0100)]
In Perl_filter_del(), no need to NULL IoANY(datasv).

Perl_sv_clear() understands the IOf_FAKE_DIRP flag, and when set won't treat
IoANY() as a a pointer to a directory handle that needs closing.

11 years agoOnly allow SvPVX() on SVt_PVIO when IOf_FAKE_DIRP is set.
Nicholas Clark [Mon, 28 Jun 2010 16:14:45 +0000 (17:14 +0100)]
Only allow SvPVX() on SVt_PVIO when IOf_FAKE_DIRP is set.

11 years agoNeeded cast to malloc return value in Piece.xs.
Craig A. Berry [Wed, 30 Jun 2010 03:30:12 +0000 (22:30 -0500)]
Needed cast to malloc return value in Piece.xs.

g++ said:

  Piece.xs:906: error: invalid conversion from  void*  to  char*

Reported by George Greer in:

Message-ID: <>

11 years agoupdate release manager instructions for a new perldelta
David Golden [Wed, 30 Jun 2010 02:40:03 +0000 (22:40 -0400)]
update release manager instructions for a new perldelta

11 years agorefresh vms/descrip_mms.template with buildtoc
David Golden [Wed, 30 Jun 2010 02:24:50 +0000 (22:24 -0400)]
refresh vms/descrip_mms.template with buildtoc

11 years agoretitle old perlXXXdelta files
David Golden [Wed, 30 Jun 2010 02:21:40 +0000 (22:21 -0400)]
retitle old perlXXXdelta files

11 years agoAdd perl5121delta to MANIEST and other files
David Golden [Wed, 30 Jun 2010 02:18:42 +0000 (22:18 -0400)]
Add perl5121delta to MANIEST and other files

Cherry picking this from 5.12.1 would lose all the 5.13.X additions, so
these edits have been made by hand.

11 years agoNote that we now include 2.27
Jesse Vincent [Thu, 13 May 2010 19:55:40 +0000 (15:55 -0400)]
Note that we now include 2.27
(cherry picked from commit 7ecbc3da3c049655fce6b77e81d08f2025e54c57)

Signed-off-by: David Golden <>
11 years agoAdded known issues section to 5121 perldelta
Jesse Vincent [Thu, 13 May 2010 17:02:10 +0000 (13:02 -0400)]
Added known issues section to 5121 perldelta
(cherry picked from commit 9c65d57d2684045468e94068812e5c2344f3fbd2)

Signed-off-by: David Golden <>
11 years agoTypo in perldelta spotted by Robin Smidsrød
Jesse Vincent [Mon, 10 May 2010 17:40:01 +0000 (13:40 -0400)]
Typo in perldelta spotted by Robin Smidsrød
(cherry picked from commit d54920628df719d2fc3f377ff487b3905b633c1a)

Signed-off-by: David Golden <>
11 years agominor perldelta improvements for 5.12.1
David Golden [Mon, 10 May 2010 02:24:15 +0000 (22:24 -0400)]
minor perldelta improvements for 5.12.1
(cherry picked from commit ed9a37359c07a6d8b582c6c1dead720366ae1533)

Signed-off-by: David Golden <>
11 years agoperldelta updates for 5.12.1
Jesse Vincent [Mon, 10 May 2010 01:47:11 +0000 (21:47 -0400)]
perldelta updates for 5.12.1
(cherry picked from commit 8615356d76c331b7754ec660c69a0632c60fc00c)

Signed-off-by: David Golden <>
11 years agoFirst full draft of the 5.12.1 perldelta
Jesse Vincent [Fri, 7 May 2010 19:31:07 +0000 (15:31 -0400)]
First full draft of the 5.12.1 perldelta
(cherry picked from commit 189604b10ea23a1742e336089a5819d6900287d5)

Signed-off-by: David Golden <>
11 years agoFirst draft of the 5.12.1 perldelta
Jesse Vincent [Fri, 7 May 2010 14:55:19 +0000 (10:55 -0400)]
First draft of the 5.12.1 perldelta

(really just a git log extract through

(cherry picked just pod/perl5121delta.pod from

Signed-off-by: David Golden <>
11 years agoImprove git-deltatool UI and support cherrymaint
David Golden [Wed, 30 Jun 2010 01:28:24 +0000 (21:28 -0400)]
Improve git-deltatool UI and support cherrymaint

Allows going 'back' from a section submenu to the main menu for each

Adds support for calling Porting/cherrymaint to recommend cherrypicking
while reviewing commits for perldelta.

One must recommend cherrymaint before specifying other actions in either
the assign or review modes.  This is hack-ish, but should work well enough
to capture cherrymaint nominations while the release manager is
reviewing commits anyway.

11 years agoAdd command line tool to update cherrymaint
David Golden [Tue, 29 Jun 2010 23:49:03 +0000 (19:49 -0400)]
Add command line tool to update cherrymaint


  # to vote +1 to cherry pick the SHA1 'deadbeef'
  $ perl Porting/cherrymaint deadbeef

  # to mark as cherry picked
  $ perl Porting/cherrymaint --picked deadbeef

The commit ID can be any valid git revision reference, e.g. HEAD

The ssh tunnel from localhost:3000 to must
already exist.

LWP::UserAgent is required.

12 years agoSuppress deprecation warnings from test output for perl4 era libs.
Nicholas Clark [Tue, 29 Jun 2010 19:32:33 +0000 (20:32 +0100)]
Suppress deprecation warnings from test output for perl4 era libs.

A tweak to the pattern used by 96471c6b3e9cad6e, to match the current warning.

12 years agoIn pp_require, improve the code generating the exception when no file is found.
Nicholas Clark [Tue, 29 Jun 2010 18:57:51 +0000 (19:57 +0100)]
In pp_require, improve the code generating the exception when no file is found.

Make more use of DIE()'s ability to take a *printf formatter and argument list,
hence avoiding most use of SVs as temporary buffers, and building up SVs
section by section.

12 years agoAllow the "diag_listed_as" annotation to work on multi-line function calls.
Nicholas Clark [Tue, 29 Jun 2010 18:54:50 +0000 (19:54 +0100)]
Allow the "diag_listed_as" annotation to work on multi-line function calls.

Previously it would only work if the comment was on the line immediately
preceding the closing /\);/, which was fine for croak()/die()/etc function
calls all on one line, but not so useful for longer calls.

12 years agoWhen testing in core, ensure that the local $ENV{HOME} is absolute.
Nicholas Clark [Tue, 29 Jun 2010 17:25:29 +0000 (18:25 +0100)]
When testing in core, ensure that the local $ENV{HOME} is absolute.

Without this ppm.t and xs.t fail with ccache, because it can't create

12 years agoReinstate require error messages for .h and .ph
Nicholas Clark [Tue, 29 Jun 2010 16:23:41 +0000 (17:23 +0100)]
Reinstate require error messages for .h and .ph

These had been present since 5.000, but were inadvertently removed by the
refactoring b8f04b1b779ce1df.

Yes, files matching /.*.h\z/ get two pieces of advice in the error message, but
this was the exact behaviour pre-b8f04b1b779ce1df.

12 years agoIn pp_require, avoid changing PL_compiling if we're not about to compile.
Nicholas Clark [Tue, 29 Jun 2010 15:17:19 +0000 (16:17 +0100)]
In pp_require, avoid changing PL_compiling if we're not about to compile.

The original code order has existed since 5.000, and I think the change around
perl-5.003_97h to C<tryrsfp ? tryname : name> cured symptoms rather than the
underlying cause.

12 years agoIn pp_require and code refs in @INC, avoid using memory after free().
Nicholas Clark [Tue, 29 Jun 2010 13:29:23 +0000 (14:29 +0100)]
In pp_require and code refs in @INC, avoid using memory after free().

d8723a6a74b2c12e wasn't perfect, as the char * returned by SvPV*() can be
a temporary, freed at the next FREETMPS. There is a FREETMPS in pp_require,
so move the SvPV*() after it.

12 years agoUpdate to point to Dave Golden's guide to updating Module-Build in...
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 15:08:48 +0000 (16:08 +0100)]
Update to point to Dave Golden's guide to updating Module-Build in core

12 years agoUpdate Module-Build to CPAN version 0.3607
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 14:14:15 +0000 (15:14 +0100)]
Update Module-Build to CPAN version 0.3607


      0.3607 - Thu Apr  1 11:27:16 EDT 2010

        Bug fixes:

        - The 'dist' action now always ensures a clean dist directory before
          creating the tarball [David Golden]

      0.36_06 - Thu Apr  1 01:23:58 EDT 2010


        - Migrated repository to git and updated META.yml to match

        - Removed bugtracker URL (let use default)

        - Disabled SIGNATURE generation

      0.3605 - Wed Mar 31 12:05:11 EDT 2010

        - No changes from 0.36_04

      0.36_04 - Tue Mar 16 21:41:41 EDT 2010

      Bug fixes:

        - Added missing newline to "Changing sharpbang" messages under verbose
          output (RT#54474) [David Golden]

        - Added 'beos' to list of Unix-like os types (RT#53876) [Nigel Horne]

        - Sets $ENV{HOME} to a temporary directory during testing [David Golden]

        - For VMS: fixed prefix handling plus other test fixes [Craig Berry]

        - Support anonymous array of directories for c_source [Alberto Sim<C3><B5>es]

        - Small POD formatting fix [James Keenan]

12 years agoFix 3 remaining Test::Harness tests to work in core.
Nicholas Clark [Tue, 29 Jun 2010 14:52:27 +0000 (15:52 +0100)]
Fix 3 remaining Test::Harness tests to work in core.

12 years agoFixed up Test-Harness tests to work under core. There are still three outstanding...
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 13:27:34 +0000 (14:27 +0100)]
Fixed up Test-Harness tests to work under core. There are still three outstanding will ask AndyA to investigate

12 years agoRemove alloca() use from Time::Piece for portability.
Craig A. Berry [Tue, 29 Jun 2010 12:14:39 +0000 (07:14 -0500)]
Remove alloca() use from Time::Piece for portability.

In 1.17, T::P started using its own strptime (almost) everywhere,
and this _strptime contains a single reference to alloca().  The
Linux and BSD man pages recommend against using alloca(), the
function  doesn't exist on HP-UX or VMS, and it's impossible to
error check it.  So replace it here with malloc().

If getting three or four bytes from the heap instead of the stack
is considered a problem, an alternative would be researching the
maximum length of a timezone name and using an automatic variable
to hold it.

12 years agoFix the MANIFEST back after reverting the Module-Build commit
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 11:20:52 +0000 (12:20 +0100)]
Fix the MANIFEST back after reverting the Module-Build commit

12 years agoRevert "Update Module-Build to CPAN version 0.3607"
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 11:18:50 +0000 (12:18 +0100)]
Revert "Update Module-Build to CPAN version 0.3607"

This reverts commit 8f4d46e2e6b66d00df1e347dab564fd9799c8d94.

Way too much breakage for me to sanely resolve. Will leave it to
Dave Golden to try and integrate it

Signed-off-by: Chris 'BinGOs' Williams <>
12 years agoFix MANIFEST for files that have been removed with the previous updates for Module...
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 09:26:10 +0000 (10:26 +0100)]
Fix MANIFEST for files that have been removed with the previous updates for Module-Build and Test-Harness

12 years agoUpdate Test-Harness to CPAN version 3.21
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 09:16:45 +0000 (10:16 +0100)]
Update Test-Harness to CPAN version 3.21

  Mark UPSTREAM as 'cpan' in


  3.21    2010-01-30
        - Add test to ensure we're not depending on a module we no
          longer ship.
        - Fix up skip counts for Windows case - tests were failing
          on Windows.

  3.20    2010-01-22
        - Remove references / dependency on TAP::Parser::Source::Perl

  3.19    2010-01-20
        - Avoid depending on Module::Build. The resulting circular
          dependency made it impossible to install Test::Harness and/or
          Module::Build in some cases.

  3.18    2010-01-19
        - Handle the case where the filename of the perl executable
          contains space. Thanks to kmx.
        - Various documentation fixes.

  3.17_04 2010-01-04
        - Fix failures due to unknown location of Perl in t/source_handler.t.
        - Use EUMM style shebang magic to produce an executable 'psql'
          for t/source_handler.t.

  3.17_03 2009-11-19
        - Fix failures due to over-strict assertions in t/source.t.

  3.17_02 2009-11-17
        - Merge in Steve's missing changes. Oops.

  3.17_01 2009-11-17
        - Re-engineered source handling API to allow users to configure how
          TAP is sourced by the parser.  Introduced a new 'sources' param to
          TAP::Harness, and new options to prove, eg:

              prove --source XYZ --xyz-option foo=bar

          The new TAP::Parser::SourceHandler API makes it much easier to
          write plugins.  This breaks backwards compatibility for plugins &
          extenstions that rely on the following APIs:

              TAP::Parser, specifically:
                new: 'source' & 'tap' params

          Please see the TAP::Parser docs for more details.
          [Steve Purkis & David Wheeler]
        - Removed dependency on File::Spec [Schwern]
        - Made it possible to pass different args to each test [Lee Johnson]
        - Added HARNESS_SUBCLASS option to Test::Harness
        - Added TAP::Parser::SourceHandler::File which lets you to stream TAP
          from a text file (eg: *.tap).
        - Added TAP::Parser::SourceHandler::pgTAP. All the source handlers are
          new, but this is the only one to add major new functioality: the
          ability to run pgTAP tests (

12 years agoUpdate Module-Build to CPAN version 0.3607
Chris 'BinGOs' Williams [Tue, 29 Jun 2010 08:41:30 +0000 (09:41 +0100)]
Update Module-Build to CPAN version 0.3607


  0.3607 - Thu Apr  1 11:27:16 EDT 2010

    Bug fixes:

    - The 'dist' action now always ensures a clean dist directory before
      creating the tarball [David Golden]

  0.36_06 - Thu Apr  1 01:23:58 EDT 2010


    - Migrated repository to git and updated META.yml to match

    - Removed bugtracker URL (let use default)

    - Disabled SIGNATURE generation

  0.3605 - Wed Mar 31 12:05:11 EDT 2010

    - No changes from 0.36_04

  0.36_04 - Tue Mar 16 21:41:41 EDT 2010

  Bug fixes:

    - Added missing newline to "Changing sharpbang" messages under verbose
      output (RT#54474) [David Golden]

    - Added 'beos' to list of Unix-like os types (RT#53876) [Nigel Horne]

    - Sets $ENV{HOME} to a temporary directory during testing [David Golden]

    - For VMS: fixed prefix handling plus other test fixes [Craig Berry]

    - Support anonymous array of directories for c_source [Alberto Sim<C3><B5>es]

    - Small POD formatting fix [James Keenan]

12 years agoStop leaking temporary version objects from XS
gfx [Wed, 5 May 2010 10:54:11 +0000 (06:54 -0400)]
Stop leaking temporary version objects from XS

12 years agoPrevent object methods called as class methods
John Peacock [Wed, 24 Mar 2010 02:34:26 +0000 (22:34 -0400)]
Prevent object methods called as class methods

There are a number of object methods which make absolutely
no sense when called as class methods.  In addition, with
Perl 5.11.5/5.12.0, there are asserts which will trigger
SEGV's when you do that.

So we check in the XS code and refuse to continue if an
object method is called as a class method.

12 years agoDeprecate no space after s/a/b/ and keyword
Karl Williamson [Sat, 26 Jun 2010 23:41:40 +0000 (17:41 -0600)]
Deprecate no space after s/a/b/ and keyword

Pattern replacements need to have the deprecation added; the prior patch
on this ticket only changed m/a/keyword; this adds the s/a/b/keyword

12 years agoFix broken link in perlglossary.pod
Karl Williamson [Wed, 23 Jun 2010 16:02:31 +0000 (10:02 -0600)]
Fix broken link in perlglossary.pod

12 years agoperlrun.pod: Specify -0400 behavior
Karl Williamson [Tue, 22 Jun 2010 22:03:02 +0000 (16:03 -0600)]
perlrun.pod: Specify -0400 behavior

All values -0400 through -0777 have the same effect, even though
previously -0777 was the only one mentioned..

12 years agoPrefer 3 digit octal character constants
Karl Williamson [Tue, 22 Jun 2010 21:01:01 +0000 (15:01 -0600)]
Prefer 3 digit octal character constants

By example and a few wording changes, show that 3 digit octal character
constants have less ambiguity.

12 years agoNit in perlrebackslash.pod
Karl Williamson [Tue, 22 Jun 2010 20:47:29 +0000 (14:47 -0600)]
Nit in perlrebackslash.pod

12 years agoAdd perltodo entry for 0odddd, octal constant
Karl Williamson [Tue, 22 Jun 2010 20:44:53 +0000 (14:44 -0600)]
Add perltodo entry for 0odddd, octal constant

12 years agoChange to use a link in perltodo
Karl Williamson [Tue, 22 Jun 2010 20:44:00 +0000 (14:44 -0600)]
Change to use a link in perltodo

12 years agoperlre: Add heading to separate unrelated paragraphs
Karl Williamson [Tue, 22 Jun 2010 20:40:17 +0000 (14:40 -0600)]
perlre: Add heading to separate unrelated paragraphs

I don't know where the text for the stuff below this new heading should
go, but it clearly doesn't belon with what came before, so add a heading
to separate them, perhaps rearranging things later

12 years agoPrefer \g1 over \1 in pods
Karl Williamson [Tue, 22 Jun 2010 20:29:10 +0000 (14:29 -0600)]
Prefer \g1 over \1 in pods

\g was added to avoid ambiguities that \digit causes.  This updates the
pod documentation to use \g in examples, and to prefer it when
explaining the concepts.  Some non-symmetrical outlined text dealing
with it was also cleaned up.

12 years agoStandardize on use of 'capture group' over 'buffer'
Karl Williamson [Tue, 22 Jun 2010 15:45:23 +0000 (09:45 -0600)]
Standardize on use of 'capture group' over 'buffer'

Both terms 'capture group' and 'capture buffer' are used in the
documentation.  This patch changes most uses of the latter to the
former, as they are referenced using "\g".

12 years agoNits in perlre.pod
Karl Williamson [Tue, 22 Jun 2010 15:10:20 +0000 (09:10 -0600)]
Nits in perlre.pod

12 years agoAdd clarifying comment to toke.c
Karl Williamson [Tue, 22 Jun 2010 15:01:38 +0000 (09:01 -0600)]
Add clarifying comment to toke.c

12 years agoAdd the policy on compatibility and deprecation to perlpolicy.pod,
Jesse Vincent [Mon, 28 Jun 2010 23:16:21 +0000 (19:16 -0400)]
Add the policy on compatibility and deprecation to perlpolicy.pod,
aloing with definitions of terms like "deprecation"

12 years agodeprecation warning on deprecated-in-core .pl libs
Zefram [Sat, 17 Apr 2010 14:25:10 +0000 (15:25 +0100)]
deprecation warning on deprecated-in-core .pl libs

This is a mandatory warning, not obeying -X or lexical warning bits.
To make it behave like an internal deprecation warning would be a lot
of hassle to do in pure Perl.

The warning is modelled on that supplied by for
deprecated-in-core .pm libraries.  It points to the specific CPAN
distribution that contains the .pl libraries.  The CPAN version, of
course, does not generate the warning.

12 years agoUpdate: re pragma is lexically scoped since Perl 5.9.5.
Nick Johnston [Thu, 17 Jun 2010 13:13:18 +0000 (14:13 +0100)]
Update: re pragma is lexically scoped since Perl 5.9.5.

12 years agoAdd cautionary comment to .t
Karl Williamson [Sun, 30 May 2010 13:17:52 +0000 (07:17 -0600)]
Add cautionary comment to .t

12 years agoRemove BUG report from pod that is now fixed
Karl Williamson [Sat, 29 May 2010 19:34:55 +0000 (13:34 -0600)]
Remove BUG report from pod that is now fixed

viacode now works correctly for 0.

12 years agoFix charnames::viacode not accepting U+... param
Karl Williamson [Sat, 29 May 2010 19:29:53 +0000 (13:29 -0600)]
Fix charnames::viacode not accepting U+... param

The commit e10d7780a27dcfeb9c50ab28b66f2df8763d8016 introduced a bug in
which a parameter to viacode of the form U+... no longer worked.  This
is fixed, as well as tests added.

12 years agoUpdate charnames.t to modern style
Karl Williamson [Sat, 29 May 2010 19:25:43 +0000 (13:25 -0600)]
Update charnames.t to modern style

This now uses to define subroutines that make it easier to

12 years agoEliminate macro _XPVIO_TAIL by inlining it within struct xpvio.
Nicholas Clark [Mon, 28 Jun 2010 15:45:01 +0000 (16:45 +0100)]
Eliminate macro _XPVIO_TAIL by inlining it within struct xpvio.

_XPVIO_TAIL was added in 167f2c4d08e1e800, but has only been used in 1 location
since xpvio_allocated was removed in b6f609162799aa49. This restores the header
layout to the situation as it was before 167f2c4d08e1e800, although there are
changes to the structure itself.

12 years agoUpdated the Archive-Tar tests to remove PERL_CORE specific chdir() code.
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 21:36:01 +0000 (22:36 +0100)]
Updated the Archive-Tar tests to remove PERL_CORE specific chdir() code.

12 years agoAdded Archive-Tar update to perl5133delta
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 21:17:18 +0000 (22:17 +0100)]
Added Archive-Tar update to perl5133delta

12 years agoUpdate Archive-Tar to CPAN version 1.62
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 21:06:53 +0000 (22:06 +0100)]
Update Archive-Tar to CPAN version 1.62


  Important changes since 1.54 include: compatibility with busybox
  implementations of tar which was added by Mark Swayne; a fix so
  that write() and create_archive() close only handles
  they opened by Darrell K.; and a bug was fixed regarding the exit code
  of extract_archive which was spotted by and upstreamed from RedHat by
  Martin Cermak.

12 years agoAdded Archive-Extract update to perl5133delta
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 19:02:51 +0000 (20:02 +0100)]
Added Archive-Extract update to perl5133delta

12 years agoUpdate Archive-Extract to CPAN version 0.42
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 18:53:51 +0000 (19:53 +0100)]
Update Archive-Extract to CPAN version 0.42


  Updates since 0.38 include: a safe print method that Michael Schwern
  contributed, that guards Archive::Extract from changes to $\; a
  fix to the tests when run in core perl from Robin Barker; and
  support for TZ files contributed by Paul Marquess, who also supplied a
  modification for the lzma logic to favour IO::Uncompress::Unlzma

12 years agoRefactor loops in S_hsplit(), Perl_hv_ksplit() and Perl_ptr_table_split().
Nicholas Clark [Sun, 27 Jun 2010 21:38:58 +0000 (22:38 +0100)]
Refactor loops in S_hsplit(), Perl_hv_ksplit() and Perl_ptr_table_split().

Change from for() to do ... while() loops. Move variable initialisation to
variable declaration. Avoid needing to use the comma operator to allow
multiple statements in for(). Avoid using a continue statement where it
isn't actually needed to change flow control. Avoid relying on the optimiser
to know that the for loop conditional doesn't need testing on the first pass.

A current gcc's optimiser produces identical code despite these changes.
However, for the reasons given I consider the code to be much clearer.

12 years agoMove variable declarations inwards in S_hsplit() and Perl_hv_ksplit().
Nicholas Clark [Sun, 27 Jun 2010 21:19:37 +0000 (22:19 +0100)]
Move variable declarations inwards in S_hsplit() and Perl_hv_ksplit().

12 years agoAdded IPC-SysV update to perl5133delta
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 13:32:19 +0000 (14:32 +0100)]
Added IPC-SysV update to perl5133delta

12 years agoUpdate IPC-SysV to CPAN version 2.03
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 13:30:25 +0000 (14:30 +0100)]
Update IPC-SysV to CPAN version 2.03


  2.03 - 2010-05-23

    * fix CPAN #57530: IPC::Msg Documentation Bug
      (thanks to Jonathan Hartzog for spotting this)

  2.02 - 2010-03-07

    * fix CPAN #50762: mistaken use of $[
      (thanks to Zefram for spotting this)
    * no need to specify an empty MAN3PODS in the core anymore
      (thanks to Nicholas Clark for providing a patch)

12 years agoAdded Module-Load update to perl5133delta
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 10:56:24 +0000 (11:56 +0100)]
Added Module-Load update to perl5133delta

12 years agoUpdate the version of Pod-Simple listed in to be the actual version...
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 10:51:55 +0000 (11:51 +0100)]
Update the version of Pod-Simple listed in to be the actual version we have in core

12 years agoUpdate Module-Load to CPAN version 0.18
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 10:46:01 +0000 (11:46 +0100)]
Update Module-Load to CPAN version 0.18


  Changes for 0.18    Tue Mar  2 15:54:30 2010
  * Documentation fix from Michael Schwern RT #55123

12 years agoPOD fix
Rafael Garcia-Suarez [Mon, 28 Jun 2010 10:25:13 +0000 (12:25 +0200)]
POD fix

12 years agoAdded Digest-SHA update to the perl5133delta
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 09:14:28 +0000 (10:14 +0100)]
Added Digest-SHA update to the perl5133delta

12 years agoUpdate Digest-SHA to CPAN version 5.48
Chris 'BinGOs' Williams [Mon, 28 Jun 2010 09:09:36 +0000 (10:09 +0100)]
Update Digest-SHA to CPAN version 5.48


  5.48  Mon Jan  4 16:32:52 MST 2010
        - fixed "shasum -a0" option (ref. #53319)
                -- incorrectly accepted 0 as a valid algorithm
                        -- thanks to Zefram for patch
        - updated URL for NIST test vectors
                -- ref. files t/nistbit.t, t/nistbyte.t
                        -- thanks to Leon Brocard for patch

12 years agoadd first batch of updates to perl5133delta
David Golden [Mon, 28 Jun 2010 04:59:18 +0000 (00:59 -0400)]
add first batch of updates to perl5133delta

12 years agoAdd more templates to git-deltatool
David Golden [Mon, 28 Jun 2010 04:42:27 +0000 (00:42 -0400)]
Add more templates to git-deltatool

Also fixes some docs and adds TODO notes

12 years agoUpdate perl5133delta to reflect the new template
David Golden [Mon, 28 Jun 2010 04:29:42 +0000 (00:29 -0400)]
Update perl5133delta to reflect the new template

12 years agorevise and reorder the perldelta template
David Golden [Mon, 28 Jun 2010 04:26:07 +0000 (00:26 -0400)]
revise and reorder the perldelta template

The re-ordering is intended to cluster similar things together based
on a potential audience.  I've consolidated and and rolled up some
things for better structure and clarity.  This work was done based on
some analysis of the various outlines used for perldeltas in the past

12 years agominor improvements to git-deltatool
David Golden [Mon, 28 Jun 2010 03:01:49 +0000 (23:01 -0400)]
minor improvements to git-deltatool

Refactors comment stripping to be sure it always is applied before
committing the note to git

Adds some white space between commits for easier reading

12 years agoimprove =item template for git-deltatool
David Golden [Mon, 28 Jun 2010 02:00:19 +0000 (22:00 -0400)]
improve =item template for git-deltatool

12 years agoAdd a tool for writing a perldelta using git notes
David Golden [Thu, 24 Jun 2010 18:26:35 +0000 (14:26 -0400)]
Add a tool for writing a perldelta using git notes

I've written this tool to help me annotate commits for perldelta.
It scans back through commits, prompting for a perldelta section
for each commit (or to ignore the commit).  It then opens up an
editor to write a perldelta snippet into a git note on the commit.

It also supports some very primative workflow, including reviewing
existing annotations and "rendering" annotations properly grouped
by section to cut/paste into perldelta.

It does have some non-core dependencies including Git::Wrapper and
Term::ReadKey, so is intended to be run using an installed perl with
these module from CPAN, not the freshly built one.

Documentation is sparse.

N.B. Git notes are *local* -- they are kept in a detached branch and
will not be pushed upstream.  This makes them well-suited for a
release manager to keep working notes (as for perldelta) that will
become irrelevant over time.  It's not clear whether they have broader

12 years agoResort MANIFEST.
Nicholas Clark [Sun, 27 Jun 2010 22:10:34 +0000 (00:10 +0200)]

12 years agoUpdate Unicodee-Collate to CPAN version 0.53
Chris 'BinGOs' Williams [Sun, 27 Jun 2010 19:06:30 +0000 (20:06 +0100)]
Update Unicodee-Collate to CPAN version 0.53


  0.53  Sun Feb 14 20:46:27 2010
    - Now UCA Revision 18 (based on Unicode 5.1.0).
    - DUCET is also upgrated (for Unicode 5.1.0) as Collate/allkeys.txt,
      which is not required to test this module.
    ! Please notice that allkeys.txt will be overwritten if you have had
      other allkeys.txt already.
    - U+9FBC..U+9FC3 are new CJK Unified Ideographs.

12 years agoUpdate Unicode-Normalize to CPAN release 1.06
Chris 'BinGOs' Williams [Sun, 27 Jun 2010 18:51:20 +0000 (19:51 +0100)]
Update Unicode-Normalize to CPAN release 1.06


  1.06  Thu Feb 11 16:19:54 2010
    - Pure Perl/mkheader: fixed the internal _getHexArray() for perl 5.11.3
      changes (Bug #53197).

  1.05  Mon Sep 28 21:43:17 2009
    - normalize_partial() and NFX_partial(). { NFX =~ /^NFK?[CD]\z/ }
    - added partial1.t for NFX_partial().
    - added partial2.t for normalize_partial().

  1.04  Wed Sep 23 22:32:57 2009
    - doc: splitOnLastStarter() since 0.24 is now documented.
    - test: some new tests are added to split.t.

12 years agoAdd Perl_croak_no_modify() to implement Perl_croak("%s", PL_no_modify).
Nicholas Clark [Sun, 27 Jun 2010 12:06:12 +0000 (13:06 +0100)]
Add Perl_croak_no_modify() to implement Perl_croak("%s", PL_no_modify).

This reduces object code size, reducing CPU cache pressure on the non-exception

12 years agoReturn DIE(...) to *return*ing Perl_die(...).
Nicholas Clark [Sun, 27 Jun 2010 17:34:36 +0000 (18:34 +0100)]
Return DIE(...) to *return*ing Perl_die(...).

Much simplification ensues - witness the diffstat.

Changes Perl_die_unwind() to use Perl_croak() rather than DIE().

Reverses an unwise part of bb4c52e023e0fcad.
Reverts 9e95c6350a60744d and 805bf316c58ab2d7.