perl.git
10 years agoMerge Attribute::Handlers 0.82 into core
Steffen Mueller [Wed, 11 Mar 2009 17:12:01 +0000 (18:12 +0100)] 
Merge Attribute::Handlers 0.82 into core

(cherry picked from commit b92436812dba82a303a5ce29c1862e80f80ef47e)

10 years agoFix a printf compilation warning
Rafael Garcia-Suarez [Tue, 10 Mar 2009 12:29:48 +0000 (13:29 +0100)] 
Fix a printf compilation warning

(cherry picked from commit edd52d85e45405ef42b088035525f7cacc2fab77)

10 years agolib/Text/TabsWrap/t/dnsparks.t should skip under TEST too, so remove it.
Nicholas Clark [Sun, 8 Mar 2009 21:06:56 +0000 (21:06 +0000)] 
lib/Text/TabsWrap/t/dnsparks.t should skip under TEST too, so remove it.
(It's not a "regular" test, and purposefully doesn't output well-formed TAP.)

(cherry picked from commit af6492bf9e9f3e5024e49941789a1c85db7d4906)

10 years agoRemove declaration of XS_Internals_inc_sub_generation
Rafael Garcia-Suarez [Sun, 8 Mar 2009 15:19:50 +0000 (16:19 +0100)] 
Remove declaration of XS_Internals_inc_sub_generation

The function Internals::inc_sub_generation() was removed
in commit 41892db1963e88b547da12808d8e5630cc1edb59

(cherry picked from commit e276a45bf13960190ccecce3c92cbff3d6840b01)

10 years agoFix synchronization of Getopt::Long CHANGES file to 2.37
Steffen Mueller [Sun, 8 Mar 2009 12:39:35 +0000 (13:39 +0100)] 
Fix synchronization of Getopt::Long CHANGES file to 2.37

(cherry picked from commit a4876a67e7306b223739a3f572d8a5cfe380e599)

10 years agosynchronize Getopt::Long CHANGES file to the corresponding CHANGES file in the curren...
Steffen Mueller [Sun, 8 Mar 2009 12:02:11 +0000 (13:02 +0100)] 
synchronize Getopt::Long CHANGES file to the corresponding CHANGES file in the current stable CPAN release 2.37

(cherry picked from commit 6b3d80d96dabea375ff3bbdab42ec146622664dc)

10 years agoCwd and File::Spec are maintained as part of PathTools in svn.perl.org
Steffen Mueller [Sun, 8 Mar 2009 11:25:41 +0000 (12:25 +0100)] 
Cwd and File::Spec are maintained as part of PathTools in svn.perl.org

(cherry picked from commit 7cae69c7f0df9276936ff7bb0114cf503d8b98f8)

10 years agoMake DynaLoader clone its private data under threads.
Craig A. Berry [Sat, 7 Mar 2009 20:33:04 +0000 (14:33 -0600)] 
Make DynaLoader clone its private data under threads.

(cherry picked from commit 8c472fc1d477ec4a43d02ce6fc6458f4004c738d)

10 years agoUpdate to Encode 2.32
Rafael Garcia-Suarez [Sat, 7 Mar 2009 13:55:32 +0000 (14:55 +0100)] 
Update to Encode 2.32

(cherry picked from commit 4e71788c753f3f1e3668bcc2e7eae57e95c676e8)

10 years agoNeed to -I../lib explicitly, as TAP::Parser no longer parses $ENV{PERL5LIB}.
Nicholas Clark [Sun, 8 Mar 2009 15:06:35 +0000 (15:06 +0000)] 
Need to -I../lib explicitly, as TAP::Parser no longer parses $ENV{PERL5LIB}.

(cherry picked from commit a5e72d97a7641e18e17299bc095006f04eb2791a)

10 years agoUpdate t/harness to reflect behaviour changes in TAP::Harness 3.16
Nicholas Clark [Sun, 8 Mar 2009 14:52:56 +0000 (14:52 +0000)] 
Update t/harness to reflect behaviour changes in TAP::Harness 3.16
Explicitly add -I../lib to the switches, rather than rely on TAP::Harness or
Test::Harness picking -I../lib up from $ENV{PERL5LIB}. (Test::Harness hasn't
changed, but TAP::Harness has). Test::Harness does, however, spot that we've
altered our own @INC, and passes this on to tests. So there is no need to set
$ENV{PERL5LIB} to effect changes to @INC in tests. So don't set $ENV{PERL5LIB}
to -I../lib. Instead set it to '', to avoid contamination from our environment.

(cherry picked from commit e8fb11d7f7d16f6c0b6f3a98e09e713284cbe555)

10 years agoFix test failure with t/TEST
Rafael Garcia-Suarez [Sat, 7 Mar 2009 13:47:18 +0000 (14:47 +0100)] 
Fix test failure with t/TEST

(because of a lack of perl search path for non installed modules)

(cherry picked from commit 9f5407a9b9bbda87458e495847d46c9474a63563)

10 years agoAdd a bunch of missing files to the MANIFEST
Rafael Garcia-Suarez [Sat, 7 Mar 2009 11:21:51 +0000 (12:21 +0100)] 
Add a bunch of missing files to the MANIFEST

(cherry picked from commit 3f8c823a283afa6d9b3be3ef140cbd63676a82f9)

10 years agoUpgrade to Test-Harness-3.16
Steve Hay [Fri, 6 Mar 2009 15:22:23 +0000 (15:22 +0000)] 
Upgrade to Test-Harness-3.16

But keep Test/Harness -> Test-Harness changes from commit f715bbfb20b232d289d3eddf42aec434ddd9dd4c
and do likewise in new files file.t and harness-bailout.t too.

(cherry picked from commit bdaf8c65d37b1e4fb9dee9eed906961f41184db9)

10 years agoUpgrade to Module-Build-0.32
Steve Hay [Fri, 6 Mar 2009 11:54:02 +0000 (11:54 +0000)] 
Upgrade to Module-Build-0.32

But keep cd5cc49dbc0e5ee748252c2da8b435855908e6d2 (Module::Build on VMS, #42724)
and the MBTest.pm tweak from 66e531b6b23122113bed8498baac1ef25a958d57.

(cherry picked from commit 2645075aa05e530ac7f2ed965bbfaef588edc22b)

10 years agoFixing the cast for the result of (getgrent())->gr_gid
David M. Syzdek [Fri, 6 Mar 2009 23:03:40 +0000 (14:03 -0900)] 
Fixing the cast for the result of (getgrent())->gr_gid

The gr_gid member of struct group is being cast as an int even if
system uses an unsigned int. This patch tests for the use of an
unsigned int for the gr_gid member and casts the value as appropiate.

Created with Arthur Corliss <corliss@corliss@digitalmages.com>.

Signed-off-by: David M. Syzdek <david@syzdek.net>
(cherry picked from commit f325df1b4578ec6fa0ef2a8b824f93439fcce816)

10 years agoUpgrade Text::Tabs+Text::Wrap to version 2009.0305
Steffen Mueller [Fri, 6 Mar 2009 13:56:03 +0000 (14:56 +0100)] 
Upgrade Text::Tabs+Text::Wrap to version 2009.0305

(cherry picked from commit 69e34dac306d4c474199dd63fa07c93e2e08570a)

10 years agofix a couple of comments that annoyingly look like merge conflict markers
David Mitchell [Fri, 6 Mar 2009 01:20:53 +0000 (01:20 +0000)] 
fix a couple of comments that annoyingly look like merge conflict markers

(cherry picked from commit 3e8320ccc2dd886d20b1a97fa344ac108baef38f)

10 years agoIn dl_vms.xs, treat dl_last_error like the SV that it is.
Craig A. Berry [Thu, 5 Mar 2009 23:28:13 +0000 (17:28 -0600)] 
In dl_vms.xs, treat dl_last_error like the SV that it is.

We apparently missed the memo back at 591022fb18ce8ae85902133bbbfe8e1de05216b1.

(cherry picked from commit ec6cc21dee082f68c9c168d6e9b7712a5e7e7ccf)

10 years agoUpdate Archive::Tar to 1.46
Jos I. Boumans [Thu, 5 Mar 2009 16:24:05 +0000 (17:24 +0100)] 
Update Archive::Tar to 1.46

(cherry picked from commit bef46b70a2ecc24f7978a352079836f3e02b53bd)

10 years agoUpdated MANIFEST for autodie 1.999
Paul Fenwick [Tue, 3 Mar 2009 23:58:25 +0000 (10:58 +1100)] 
Updated MANIFEST for autodie 1.999

(cherry picked from commit 86840a9d37bad06010aafcf6aa5b64c692196f0d)

10 years agoMerge of autodie 1.999 into blead.
Paul Fenwick [Mon, 2 Mar 2009 05:06:59 +0000 (16:06 +1100)] 
Merge of autodie 1.999 into blead.

(cherry picked from commit db4e6d0949c40ede9013b33870ab2645f54ed664)

10 years agoFix installation of 'autodie'
Jerry D. Hedden [Tue, 3 Mar 2009 20:03:55 +0000 (15:03 -0500)] 
Fix installation of 'autodie'

(cherry picked from commit cad0fd6e0f3f4a76a732131ae043d68c84e2c2fd)

10 years agoFix MULTICALL in List-Util
Alex Vandiver [Sat, 7 Mar 2009 07:44:40 +0000 (02:44 -0500)] 
Fix MULTICALL in List-Util

Add a new stack frame; the MULTICALL code in pp_return assumes there
is a clean stack, and blindly changes the top-most stack value.  This
change brings cop.h more in line with the "poor-man's MULTICALL"
provided in ext/List-Util/multicall.h, which also always pushes a new
stack.

(cherry picked from commit 1bbbfc5065f1f4b15e64694ca559c8dbefbb69d2)

10 years agoAdd a failing test for stack corruption with MULTICALL
Alex Vandiver [Wed, 4 Mar 2009 07:54:26 +0000 (02:54 -0500)] 
Add a failing test for stack corruption with MULTICALL

(cherry picked from commit 8f42c23d2851857a4516e15c2711e93ce4cfa1cd)

10 years agoUpdate Parse::CPAN::Meta to 0.04_01
Steffen Mueller [Tue, 3 Mar 2009 20:18:30 +0000 (21:18 +0100)] 
Update Parse::CPAN::Meta to 0.04_01

(cherry picked from commit c59d1bfa1963d67385282b3086f8882458918630)

10 years agoAdd Parse::CPAN::Meta to Porting/Maintainers.pl
Steffen Mueller [Tue, 3 Mar 2009 20:25:27 +0000 (21:25 +0100)] 
Add Parse::CPAN::Meta to Porting/Maintainers.pl

(cherry picked from commit 32a618150c45210060f67f2c088de206ddb5fa07)

10 years agoAdd contact info for Simon Wistow in Porting/Maintainers.pl
Steffen Mueller [Tue, 3 Mar 2009 20:19:59 +0000 (21:19 +0100)] 
Add contact info for Simon Wistow in Porting/Maintainers.pl

(cherry picked from commit 8d4c519e13179aee28d6fb896f74f73bdfb36094)

10 years agoBump versions to 0.12 to sync with CPAN version
Rafael Garcia-Suarez [Mon, 2 Mar 2009 14:05:40 +0000 (15:05 +0100)] 
Bump versions to 0.12 to sync with CPAN version

(cherry picked from commit 4ec613fc9ea24805f53c42982fd74a869cd3674a)

10 years agoIntegrate Parse::CPAN::Meta 0.04 into core
Steffen Mueller [Tue, 6 Jan 2009 18:49:01 +0000 (19:49 +0100)] 
Integrate Parse::CPAN::Meta 0.04 into core

(cherry picked from commit be96f5c3c1a80cfc38af146c5d5dc928a7022577)

10 years agoBump versions to 0.10 for CPAN sync
Rafael Garcia-Suarez [Mon, 2 Mar 2009 09:44:54 +0000 (10:44 +0100)] 
Bump versions to 0.10 for CPAN sync

(cherry picked from commit b6be863a9cf5bbc527bcd449f58168fbf06e381a)

10 years agoMake util.c compile on systems without getcwd()
Rafael Garcia-Suarez [Sun, 1 Mar 2009 23:13:34 +0000 (00:13 +0100)] 
Make util.c compile on systems without getcwd()

(cherry picked from commit f56ed502c9950029115cee628809882d9174d69f)

10 years agoBetter gitignore file for Compress-Raw-Bzip2
Rafael Garcia-Suarez [Sun, 1 Mar 2009 23:05:03 +0000 (00:05 +0100)] 
Better gitignore file for Compress-Raw-Bzip2

(cherry picked from commit 1c058b48febcd9109f3c815ca5b3653e08c9818a)

10 years agoRemove the MANIFEST from Compress-Raw-Bzip2
Rafael Garcia-Suarez [Tue, 3 Mar 2009 15:57:06 +0000 (16:57 +0100)] 
Remove the MANIFEST from Compress-Raw-Bzip2

(it wasn't the same in the CPAN distribution anyway)

(cherry picked from commit 985e6bb7f582fbd8ae8c68fdd797123ac06f7105)

10 years agoAdd Compress-Raw-Bzip2, by Paul Marquess
Rafael Garcia-Suarez [Sun, 1 Mar 2009 22:37:53 +0000 (23:37 +0100)] 
Add Compress-Raw-Bzip2, by Paul Marquess

(cherry picked from commit bdb7fd9ff27337264f70f75183d41d2995ccc57c)

10 years agoMark modules upgraded today as "upstream from CPAN"
Rafael Garcia-Suarez [Sun, 1 Mar 2009 22:17:35 +0000 (23:17 +0100)] 
Mark modules upgraded today as "upstream from CPAN"

(cherry picked from commit 223ddb2fc03e891f3a0b0780dab3cb2b4a0bb763)

10 years agoUpdate CPANPLUS::Dist::Build to 0.08
Chris 'BinGOs' Williams [Sun, 1 Mar 2009 21:27:17 +0000 (22:27 +0100)] 
Update CPANPLUS::Dist::Build to 0.08

(cherry picked from commit e83ba0bd96fd498c8594fb8a8ceeb10f76fabdfc)

10 years agoUpdate to Term::ANSIColor 2.00
Rafael Garcia-Suarez [Sun, 1 Mar 2009 16:30:21 +0000 (17:30 +0100)] 
Update to Term::ANSIColor 2.00

(cherry picked from commit c23d81736995c0f5ea5ee41a9dba3478b20156fc)

10 years agoHash::Util::FieldHash 1.03 leaks SVs which are used as object IDs stored in mg->mg_obj
Goro Fuji [Sat, 28 Feb 2009 10:21:38 +0000 (11:21 +0100)] 
Hash::Util::FieldHash 1.03 leaks SVs which are used as object IDs stored in mg->mg_obj

(cherry picked from commit f72763ca64e82790f7457efc913f314774e50590)

10 years agoRemove spurious TODO indicators
Rafael Garcia-Suarez [Thu, 26 Feb 2009 10:00:40 +0000 (11:00 +0100)] 
Remove spurious TODO indicators

By definition, the first test in a series for testing a
leak should always succeed

(cherry picked from commit ac62bc6fc9af2f4dca6b1ec668aab128962700d8)

10 years ago6c0ec79a2e9c445ac9999df2 failed to build from distclean - also tweak make_ext.pl
Nicholas Clark [Thu, 26 Feb 2009 22:31:39 +0000 (22:31 +0000)] 
6c0ec79a2e9c445ac9999df2 failed to build from distclean - also tweak make_ext.pl

(cherry picked from commit 57df1c468e05e45edf53d40e2f69405d00856909)

10 years agoCorrect the paths for the nonxs_ext targets, following the ext flattening.
Nicholas Clark [Thu, 26 Feb 2009 08:34:36 +0000 (09:34 +0100)] 
Correct the paths for the nonxs_ext targets, following the ext flattening.
(Static and dynamic each build a target in lib/auto, which was unchanged.
nonxs_ext use a target inside the extension's directory, which was moved, but
Makefile.SH had not been updated to reflect this.)

(cherry picked from commit 6c0ec79a2e9c445ac9999df23a0fa5e23183bb7e)

10 years agoRemove needless sed line added with 4318d5a0158916acc059aa8e6af84037cb7296b9.
Nicholas Clark [Thu, 26 Feb 2009 08:16:39 +0000 (09:16 +0100)] 
Remove needless sed line added with 4318d5a0158916acc059aa8e6af84037cb7296b9.

(cherry picked from commit 3aa396043e0ba4a20f755d9c4fb3c08204dbae18)

10 years agoMake non-blocking mode work on Windows in IO::Socket::INET
Yasuhiro Matsumoto [Thu, 26 Feb 2009 08:09:33 +0000 (09:09 +0100)] 
Make non-blocking mode work on Windows in IO::Socket::INET

CPAN RT bug #43573

(cherry picked from commit 20caf59dc5a2137cdf1de6dae458da063417a8d2)

10 years agoUpdate Filter::Util::Call to 1.08
Paul Marquess [Wed, 25 Feb 2009 23:20:05 +0000 (00:20 +0100)] 
Update Filter::Util::Call to 1.08

(cherry picked from commit d9e167fc3a2d8fd65ae4ea5f68829988c35acb53)

10 years agofix typo in pod/perlperf.pod
David Mitchell [Wed, 25 Feb 2009 22:32:37 +0000 (22:32 +0000)] 
fix typo in pod/perlperf.pod

(cherry picked from commit e4866e2e9b3d73de0e43d811485034a7bfa1f364)

10 years agoMakeMaker is first-come in Maintainers.pl.
Craig A. Berry [Wed, 25 Feb 2009 13:43:23 +0000 (07:43 -0600)] 
MakeMaker is first-come in Maintainers.pl.

Says Schwern in Message-ID: <49A5290F.1060400@pobox.com>.

(cherry picked from commit 851e29585b5eff13e6d5a12328bfeebffdf7375d)

10 years agoFix line number test for scalar attribute handlers
Rafael Garcia-Suarez [Tue, 24 Feb 2009 09:21:09 +0000 (10:21 +0100)] 
Fix line number test for scalar attribute handlers

Un-TODO the tests for bleadperl and above

(cherry picked from commit 7ffb7798185e72d66b671d7209f888cedcf783be)

10 years agoadd-package.pl fixup
Jos I. Boumans [Wed, 25 Feb 2009 08:31:02 +0000 (09:31 +0100)] 
add-package.pl fixup

Sometimes, using find, add-package.pl will construct filenames with 2
consecutive slashes, ie:

 Package-Name/bin//script.pl

As this literal string isn't in the MANIFEST yet, it'll be added
erroneously. The below patch fixes this.

(cherry picked from commit 15e5e8668b86d4e43615103f790f9c1a736045dd)

10 years agoFix to installing non-xs ext's in priv lib
Jerry D. Hedden [Mon, 23 Feb 2009 17:37:16 +0000 (12:37 -0500)] 
Fix to installing non-xs ext's in priv lib

(cherry picked from commit b925ea3bf397b0f1251c08d6e6991be69033baef)

10 years agoUpgrade to threads::shared 1.28
Jerry D. Hedden [Mon, 23 Feb 2009 19:43:46 +0000 (14:43 -0500)] 
Upgrade to threads::shared 1.28

(cherry picked from commit c6cab44f0319b8b2283aefda7c82cb4f2e783aea)

10 years agoUpgrade to threads 1.72
Jerry D. Hedden [Mon, 23 Feb 2009 20:11:01 +0000 (15:11 -0500)] 
Upgrade to threads 1.72

(cherry picked from commit e301958b4a047f87d3a6999ce873534a3429eec3)

10 years agotodays merging activity
David Mitchell [Tue, 14 Apr 2009 23:50:33 +0000 (00:50 +0100)] 
todays merging activity

10 years agofileno() was failing when passed a NULL. I'm guessing that we don't really need...
Steve Peters [Mon, 23 Feb 2009 19:25:33 +0000 (13:25 -0600)] 
fileno() was failing when passed a NULL.  I'm guessing that we don't really need to increase the refcount on a NULL fd.

(cherry picked from commit 40596bc538f0e2be42b50d80f46887e76a4a3b33)

10 years agoRe-apply cd5cc49dbc0e5ee748252c2da8b435855908e6d2 (Module::Build on VMS, #42724)
Nicholas Clark [Mon, 23 Feb 2009 14:43:09 +0000 (14:43 +0000)] 
Re-apply cd5cc49dbc0e5ee748252c2da8b435855908e6d2 (Module::Build on VMS, #42724)

(cherry picked from commit 86bddcbfaf2555223ec8fc596416d13d7a1a1118)

10 years agoUpdate to Module::Build 0.31_04 (with a tweak to MBTest.pm)
Nicholas Clark [Mon, 23 Feb 2009 14:15:49 +0000 (14:15 +0000)] 
Update to Module::Build 0.31_04 (with a tweak to MBTest.pm)

(cherry picked from commit 66e531b6b23122113bed8498baac1ef25a958d57)

10 years agoTemporarily reverse out change cd5cc49dbc0e5ee748252c2da8b435855908e6d2.
Nicholas Clark [Mon, 23 Feb 2009 13:23:30 +0000 (13:23 +0000)] 
Temporarily reverse out change cd5cc49dbc0e5ee748252c2da8b435855908e6d2.

(cherry picked from commit 97b85144d809e3866fb88a144a1ac0245a7ac16b)

10 years agoModule::Build Changes from 0.31012, which hadn't been updated.
Nicholas Clark [Mon, 23 Feb 2009 12:29:31 +0000 (12:29 +0000)] 
Module::Build Changes from 0.31012, which hadn't been updated.

(cherry picked from commit 4cdcc1f2a15e3bb9b8629020ade3ee97fbcf8cc9)

10 years agovms.c - Remove .DIR; in UNIX mode.
John Malmberg [Sun, 22 Feb 2009 18:23:29 +0000 (12:23 -0600)] 
vms.c - Remove .DIR; in UNIX mode.

When doing a readdir() or glob() with DECC$FILENAME_UNIX_REPORT active,
the ".DIR" suffix needs to be removed for directories.

(cherry picked from commit f785e3a13bdb70150178a2baa433614531998f17)

10 years agotime_t is unsigned 32-bit on VMS; pick sGMTIME_max and sLOCALTIME_max accordingly.
Craig A. Berry [Mon, 23 Feb 2009 00:28:13 +0000 (18:28 -0600)] 
time_t is unsigned 32-bit on VMS; pick sGMTIME_max and sLOCALTIME_max accordingly.

(cherry picked from commit d83484c23e05e78c2e20b0a32d272cc03ff628bc)

10 years agoRe-apply changes 4adc95e616bac7ee and 200cbd6aa595a074 (RT #61492)
Nicholas Clark [Sat, 21 Feb 2009 08:41:14 +0000 (08:41 +0000)] 
Re-apply changes 4adc95e616bac7ee and 200cbd6aa595a074 (RT #61492)
(ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically
linked)(We'd failed to send this one upstream. Bad us.)

(cherry picked from commit 2f30d0d0af5b459d5c0f4734d92d4b55e9dcc9b7)

10 years agoUpgrade to ExtUtils::MakeMaker 6.49_01
Nicholas Clark [Sat, 21 Feb 2009 08:11:13 +0000 (08:11 +0000)] 
Upgrade to ExtUtils::MakeMaker 6.49_01

(cherry picked from commit 1487aac67a72b9f87b24113f65b4d878401bee33)

10 years agoAvoid VMS long filename support on older systems that don't have it.
Craig A. Berry [Fri, 20 Feb 2009 23:43:08 +0000 (17:43 -0600)] 
Avoid VMS long filename support on older systems that don't have it.

(cherry picked from commit 778e045f833ee66ca20193bc17889f482b3beab6)

10 years agoMove redefinition of lstat above its first use in vms/vms.c.
Craig A. Berry [Fri, 20 Feb 2009 23:37:47 +0000 (17:37 -0600)] 
Move redefinition of lstat above its first use in vms/vms.c.

(cherry picked from commit 58472d87a6411bd16d06056451ba52c7e4c8af54)

10 years agoMore smartmatch tests
Rafael Garcia-Suarez [Fri, 20 Feb 2009 23:06:22 +0000 (00:06 +0100)] 
More smartmatch tests

This includes a TODO for overloaded objects.
Tests will need to be augmented and better organized.

(cherry picked from commit 73aec0b1ca3a8f9cc9e8876daf42d8fbbee360a0)

10 years agoText::Wrap maintained via the CPAN release
Steffen Mueller [Fri, 20 Feb 2009 18:22:57 +0000 (19:22 +0100)] 
Text::Wrap maintained via the CPAN release

(cherry picked from commit fd2c5c6c3907b40a30d10beb189791226562c647)

10 years agoCheck for thread failure in prime number example
Jerry D. Hedden [Fri, 20 Feb 2009 14:45:41 +0000 (09:45 -0500)] 
Check for thread failure in prime number example

(cherry picked from commit db6dbf6ec91c24de93c8a1ac0e50e87382b7291f)

10 years agoWonky example in perlthrtut
Alex Davies [Fri, 20 Feb 2009 08:39:29 +0000 (09:39 +0100)] 
Wonky example in perlthrtut

Fix at least the syntax of the example.
See : Message-ID: <F00A81D78228413FBED223C3919BE75B@Amelie>

(cherry picked from commit 9732edbb486f42c348817d585e1a7e8533f152fe)

10 years agoRemove the -x from the cherry pick and show how to merge the whole branch (suggested...
Leon Brocard [Fri, 20 Feb 2009 08:30:59 +0000 (16:30 +0800)] 
Remove the -x from the cherry pick and show how to merge the whole branch (suggested by rgs)

(cherry picked from commit 2bab0636fd7890b7f252b039f74b158a58919c44)

10 years agoReorder and complete tests for smart matching with objects
Rafael Garcia-Suarez [Tue, 17 Feb 2009 12:56:43 +0000 (13:56 +0100)] 
Reorder and complete tests for smart matching with objects

(cherry picked from commit 4cbab0e90c8cb27eaf6e77be6ce33165799f92df)

10 years agoFix {%hash} ~~ %hash test
Rafael Garcia-Suarez [Tue, 17 Feb 2009 07:22:44 +0000 (08:22 +0100)] 
Fix {%hash} ~~ %hash test

This was not parsed as a smart match, because {%hash} was taken
as a block, not a an anonymous hash.

Also, avoid to construct an anonymous hash with an odd number of
elements.

(cherry picked from commit fceebc475db7280476c58dcfb36c7e1cd6795eec)

10 years agoBetter diagnostics for the ~~ test
Rafael Garcia-Suarez [Tue, 17 Feb 2009 06:50:16 +0000 (07:50 +0100)] 
Better diagnostics for the ~~ test

Read from DATA line per line, so warnings are reported from the correct
line. Make test names and error reports more readable.

(cherry picked from commit 9e079acef3281a4f29fb1913eeef734bf70ba393)

10 years agoRemove an extra space
Leon Brocard [Fri, 20 Feb 2009 08:25:18 +0000 (16:25 +0800)] 
Remove an extra space

(cherry picked from commit 5c9c28c6793ca919087c2d34fbac700aa9375ff7)

10 years agoAdd a section on merging from a branch via GitHub
Leon Brocard [Fri, 20 Feb 2009 08:22:23 +0000 (16:22 +0800)] 
Add a section on merging from a branch via GitHub

(cherry picked from commit c26da522aaf6714d47fed964a12b0a1f27012339)

10 years agoFixed missing word in Text::Wrap POD
Dan Dascalescu [Fri, 20 Feb 2009 06:48:09 +0000 (06:48 +0000)] 
Fixed missing word in Text::Wrap POD
(cherry picked from commit 7e8acedc1c377e0e0cc1a6fe4d1acce5f69323f2)

10 years ago[PATCH] DB_File 1.819
Paul Marquess [Thu, 19 Feb 2009 09:15:01 +0000 (09:15 +0000)] 
[PATCH] DB_File 1.819

Small change to t/db-recno.t [RT# 43288]

Message-ID: <00ad01c99214$89f5fa50$9de1eef0$@Marquess@ntlworld.com>

(cherry picked from commit 4300f93b02bb2e0a466478acdc265d15a6154f4c)

10 years agoIn runenv.t, break apart running perl and testing the output into two functions.
Nicholas Clark [Tue, 17 Feb 2009 20:18:39 +0000 (20:18 +0000)] 
In runenv.t, break apart running perl and testing the output into two functions.

(cherry picked from commit d5226c4c8f9a293280b320d06c082073daeb75b1)

10 years agoGet $ENV{PERL5LIB} into a known consistent state under TEST - delete it!
Nicholas Clark [Tue, 17 Feb 2009 17:11:25 +0000 (17:11 +0000)] 
Get $ENV{PERL5LIB} into a known consistent state under TEST - delete it!
(It doesn't strike me as good that t/TEST and t/harness are inconsistent -
the former runs every test with -MTestInit; the latter sets $ENV{PERL5LIB} to
'../lib'; and on the gripping hand, we have boilerplate in every test to set
@INC. No choice seems ideal.

(cherry picked from commit 104393a727efd8bd71ca6d7f9b0d20a5b92fde48)

10 years agoMove PERL_VERSION_STRING from patchlevel.h to perl.h
Nicholas Clark [Mon, 16 Feb 2009 23:55:58 +0000 (23:55 +0000)] 
Move PERL_VERSION_STRING from patchlevel.h to perl.h
(and revert a89d24b9fe54d44395806c16ac1c19f3c678cbbb)
It's getting too complex to work around some versions of awk which don't want
to implement the regular expressions that they are documented to implement.

(cherry picked from commit d94216564938cd42af43fa553fe0ab9651fe48c9)

10 years agoIgnore #defines in in patchlevel.h that end the line with backslash.
Nicholas Clark [Mon, 16 Feb 2009 22:47:54 +0000 (22:47 +0000)] 
Ignore #defines in in patchlevel.h that end the line with backslash.
(Otherwise config.sh ends up with part of PERL_VERSION_STRING, and the build
chokes to a stop.)

(cherry picked from commit a89d24b9fe54d44395806c16ac1c19f3c678cbbb)

10 years agoBy spliting PERL_ARCH_FMT into PERL_ARCH_FMT_PREFIX and SUFFIX, we can replace
Nicholas Clark [Mon, 16 Feb 2009 22:21:15 +0000 (22:21 +0000)] 
By spliting PERL_ARCH_FMT into PERL_ARCH_FMT_PREFIX and SUFFIX, we can replace
two more Perl_sv_setpvf()s with sv_setsv()/sv_catpvs() pairs.

(cherry-picked from commit 96e4a957123c0888bec702f32e27a3e1dfbdc767)

10 years agoAs PERL_ARCH_FMT_PATH is a compile time constant, can simplify one sv_setpvf()
Nicholas Clark [Mon, 16 Feb 2009 22:03:35 +0000 (22:03 +0000)] 
As PERL_ARCH_FMT_PATH is a compile time constant, can simplify one sv_setpvf()
to sv_setsv() and sv_catpvs().

(cherry-picked from commit bdb1cbf7b53e27466d3d9ba865b3b0e74998bf89)

10 years agoPERL_FS_VER_FMT is only used with the current perl version, which is known at
Nicholas Clark [Mon, 16 Feb 2009 22:00:14 +0000 (22:00 +0000)] 
PERL_FS_VER_FMT is only used with the current perl version, which is known at
compile time, so replace it with PERL_FS_VERSION, a compile time constant.

(cherry-picked from commit b79b76e09d4ebd270b9df34cc7e92494ba4df212)

10 years agoAbolish PERL_AV_SUFFIX_FMT, which was rendered obsolescent 8 years ago with
Nicholas Clark [Mon, 16 Feb 2009 21:42:54 +0000 (21:42 +0000)] 
Abolish PERL_AV_SUFFIX_FMT, which was rendered obsolescent 8 years ago with
084592ab0b76f3cbd4d089afb08ccea7ba1c9dd8.

(cherry picked from commit e50b42d3b9d4d5466150b00299d8145beabd33df)

10 years agoReplace *printf "%d.%d.%d", PERL_REVISION, PERL_VERSION, PERL_SUBVERSION
Nicholas Clark [Mon, 16 Feb 2009 21:16:21 +0000 (21:16 +0000)] 
Replace *printf "%d.%d.%d", PERL_REVISION, PERL_VERSION, PERL_SUBVERSION
with PERL_VERSION_STRING, which can be determined at compile time, as a
constant string.

(cherry picked from commit e8e3635e321a3d3ac3b355d31c5d04e1a479615f)

10 years agoUpdate copyright years. 2008 sneaks in because of 46807d8e809cc127621bf85d9e9
Nicholas Clark [Mon, 16 Feb 2009 21:15:17 +0000 (21:15 +0000)] 
Update copyright years. 2008 sneaks in because of 46807d8e809cc127621bf85d9e9

(cherry picked from commit eb3b8c7b72e00b81a8275631f24b2ce779cfa8f0)

10 years agoUse tempfile() in tests
Bram [Mon, 16 Feb 2009 15:07:19 +0000 (16:07 +0100)] 
Use tempfile() in tests

(cherry picked from commit 1ab9acc5e047d5b80c252fe3d5e4d905e6367701)

10 years agoUpgrade to Encode 2.31
Dan Kogai [Mon, 16 Feb 2009 10:45:53 +0000 (11:45 +0100)] 
Upgrade to Encode 2.31

(cherry picked from commit 40bed538bd6707bb5804c5afb3f7d8bd26c2bddb)

10 years agoExtra regex tests
Bram [Mon, 16 Feb 2009 10:22:40 +0000 (11:22 +0100)] 
Extra regex tests

Message-ID: <20090215185207.gsnhhqdegckws0co@horde.wizbit.be>
Message-ID: <20090215210634.u02f15b284ogc4s4@horde.wizbit.be>

(cherry picked from commit e120390b47b92e593603cc4ff24ccd2b882000d6)

10 years agoadd placeholder test to op/pat.t to match rejected 609122bd05
David Mitchell [Tue, 14 Apr 2009 21:24:04 +0000 (22:24 +0100)] 
add placeholder test to op/pat.t to match rejected 609122bd05

10 years agoYves states that patches to ExtUtils::Install should go to blead first
Rafael Garcia-Suarez [Mon, 16 Feb 2009 10:09:12 +0000 (11:09 +0100)] 
Yves states that patches to ExtUtils::Install should go to blead first

(cherry picked from commit bf63da66ae0bd08722dab0532a17102e04c0c211)

10 years agoClear Module::Build smoke on VMS while waiting for upstream.
Craig A. Berry [Sat, 14 Feb 2009 19:08:33 +0000 (13:08 -0600)] 
Clear Module::Build smoke on VMS while waiting for upstream.

Except for the version bump, this is the same as:

https://rt.cpan.org/Public/Bug/Display.html?id=42724

(cherry picked from commit cd5cc49dbc0e5ee748252c2da8b435855908e6d2)

10 years agoAdd git_version.h to private so that make distclean deletes it.
Nicholas Clark [Sat, 14 Feb 2009 18:53:32 +0000 (18:53 +0000)] 
Add git_version.h to private so that make distclean deletes it.
(It was already in a different target that caused make clean to delete it.)

(cherry picked from commit 9f937944c5272f2c948edeff3fe3a479bb7466a5)

10 years agoIgnore the OS X GNUmakefile*s, and t/test_state.
Nicholas Clark [Sat, 14 Feb 2009 18:30:02 +0000 (18:30 +0000)] 
Ignore the OS X GNUmakefile*s, and t/test_state.

(cherry picked from commit 89b2b9f7f6c8f99f7999c5b3fe437be2abac4340)

10 years agoIgnore lib/NDBM_File.pm
Nicholas Clark [Sat, 14 Feb 2009 18:29:37 +0000 (18:29 +0000)] 
Ignore lib/NDBM_File.pm

(cherry picked from commit aeda4cd8e5bd38c317d9b1b6e645f568556380c8)

10 years agoMake git-find-p4-change only find changes done under perforce.
David Mitchell [Sat, 14 Feb 2009 17:26:11 +0000 (17:26 +0000)] 
Make git-find-p4-change only find changes done under perforce.
That way, later cherry-picking that happens to copy the 'p4raw-id:'
text won't be located by mistake.

(cherry picked from commit f3b6b452d54f2aa5778906efb1c7c6e0267baeeb)

10 years agoMore tests for coderefs and smart match
Rafael Garcia-Suarez [Fri, 13 Feb 2009 23:16:20 +0000 (00:16 +0100)] 
More tests for coderefs and smart match

(cherry picked from commit 18d11902f69001065b3cb2a89f68f91321020f07)

10 years agoRemove code that has never been used in any test
Rafael Garcia-Suarez [Fri, 13 Feb 2009 22:20:11 +0000 (23:20 +0100)] 
Remove code that has never been used in any test

(cherry picked from commit 911225b602e6a79e5b60349f8bb0a58272efaba7)

10 years agoHandle uninitialized interpreter when performing vmsish pragma checks.
Craig A. Berry [Fri, 13 Feb 2009 21:26:00 +0000 (15:26 -0600)] 
Handle uninitialized interpreter when performing vmsish pragma checks.

(cherry picked from commit 43a65c285fbf2e4cbdd04646c4bf348523419825)

10 years ago$object ~~ undef should always test for definedness
Rafael Garcia-Suarez [Fri, 13 Feb 2009 21:08:06 +0000 (22:08 +0100)] 
$object ~~ undef should always test for definedness

(even if $object hasn't overloaded the ~~ operator)

(cherry picked from commit 33570f8ba08e966c4572bcd9146cb9580efcac82)