This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoMerge branch 'blead' into dual/Safe
Rafael Garcia-Suarez [Tue, 25 Aug 2009 07:34:18 +0000 (09:34 +0200)]
Merge branch 'blead' into dual/Safe

14 years agoAdded two removed platforms to the Perl 5.11.0 delta
Jesse Vincent [Mon, 24 Aug 2009 20:34:29 +0000 (16:34 -0400)]
Added two removed platforms to the Perl 5.11.0 delta

14 years agoAdd an encoding line, as the file is in UTF-8.
Nicholas Clark [Mon, 24 Aug 2009 17:32:14 +0000 (18:32 +0100)]
Add an encoding line, as the file is in UTF-8.

14 years agoPod copy editing - whitespace cleanup, and F<>/C<> corrections.
Nicholas Clark [Mon, 24 Aug 2009 17:30:38 +0000 (18:30 +0100)]
Pod copy editing - whitespace cleanup, and F<>/C<> corrections.

14 years agoNote that File::Copy is actually at 2.16, and that cp needs describing.
Nicholas Clark [Mon, 24 Aug 2009 17:14:49 +0000 (18:14 +0100)]
Note that File::Copy is actually at 2.16, and that cp needs describing.

14 years agoconstant has been upgraded to 1.19. Describe the improvements.
Nicholas Clark [Mon, 24 Aug 2009 17:11:02 +0000 (18:11 +0100)]
constant has been upgraded to 1.19. Describe the improvements.

14 years agoThe attrs pragma has been removed, not upgraded.
Nicholas Clark [Mon, 24 Aug 2009 17:07:47 +0000 (18:07 +0100)]
The attrs pragma has been removed, not upgraded.

14 years agoCorrect some 5.10.1s that should be 5.11.0, and one 5.10.2 to 5.11.1.
Nicholas Clark [Mon, 24 Aug 2009 17:00:27 +0000 (18:00 +0100)]
Correct some 5.10.1s that should be 5.11.0, and one 5.10.2 to 5.11.1.

14 years agoNote that the smartmatch changes in 5.11.0 are the same as in 5.10.1.
Nicholas Clark [Mon, 24 Aug 2009 16:59:15 +0000 (17:59 +0100)]
Note that the smartmatch changes in 5.11.0 are the same as in 5.10.1.

14 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Jesse Vincent [Mon, 24 Aug 2009 16:09:21 +0000 (12:09 -0400)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
  Note that linearising C3 MRO is now 40% faster for single inheritance.

14 years agoMore work toward a usable 5.11.0 delta file
Jesse Vincent [Mon, 24 Aug 2009 16:08:44 +0000 (12:08 -0400)]
More work toward a usable 5.11.0 delta file

14 years agoNote that linearising C3 MRO is now 40% faster for single inheritance.
Nicholas Clark [Mon, 24 Aug 2009 15:50:23 +0000 (16:50 +0100)]
Note that linearising C3 MRO is now 40% faster for single inheritance.

14 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Jesse Vincent [Mon, 24 Aug 2009 15:35:55 +0000 (11:35 -0400)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
  Updated CPANPLUS::Dist::Build to CPAN version 0.38

14 years agoForward ported perl 5.10.1 changes into perl5110delta.pod per nicholas
Jesse Vincent [Mon, 24 Aug 2009 15:34:41 +0000 (11:34 -0400)]
Forward ported perl 5.10.1 changes into perl5110delta.pod per nicholas

14 years agoUpdated CPANPLUS::Dist::Build to CPAN version 0.38
Chris 'BinGOs' Williams [Mon, 24 Aug 2009 15:16:52 +0000 (16:16 +0100)]
Updated CPANPLUS::Dist::Build to CPAN version 0.38

Hi,

Attached is a patch to update the CPANPLUS::Dist::Build in core
to the CPAN version 0.38

Highlights from the Changelog:
==============================
0.38 Mon Aug 24 13:59:11 BST 2009
  - Cosmetic change to the test output message so it
    matches CPANPLUS::Dist::MM (bingos)
==============================

Many thanks,

--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================

From 2c3e6d8f82c08a5817d74a8407ebcdbbd86ebb15 Mon Sep 17 00:00:00 2001
From: Chris Williams <chris@bingosnet.co.uk>
Date: Mon, 24 Aug 2009 16:09:47 +0100
Subject: [PATCH] Updated CPANPLUS::Dist::Build to CPAN version 0.38

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agoFix a Deparse bug - constants and PCSs were appearing as subroutine stubs.
Nicholas Clark [Mon, 24 Aug 2009 13:17:11 +0000 (14:17 +0100)]
Fix a Deparse bug - constants and PCSs were appearing as subroutine stubs.

(Because constants and other Proxy Constant Subroutines are stored in the
symbol table as references, and in 5.11.0 RVs merged with IVs, and B::Deparse
knows that an IV in the symbol table is a stub declaration for a subroutine
with no prototype, so B::Deparse "knew" that that's what it was.)

14 years agoRemove the MacOS Classic support from deparse.t (as it's getting in the way).
Nicholas Clark [Mon, 24 Aug 2009 12:37:23 +0000 (13:37 +0100)]
Remove the MacOS Classic support from deparse.t (as it's getting in the way).

14 years agoMerge commit 'shlomif/blead' into blead
Rafael Garcia-Suarez [Mon, 24 Aug 2009 08:24:45 +0000 (10:24 +0200)]
Merge commit 'shlomif/blead' into blead

14 years agoFix URL to Unicode 5.1.0 notable changes
Leon Brocard [Mon, 24 Aug 2009 08:22:44 +0000 (09:22 +0100)]
Fix URL to Unicode 5.1.0 notable changes

14 years agoMinor improvements to perldebug.pod
Tom Hukins [Mon, 24 Aug 2009 08:01:51 +0000 (10:01 +0200)]
Minor improvements to perldebug.pod

Minor improvements to the section on profiling.

Remove suggestions that Devel::DProf might be the most popular
profiler and reference perlperf.pod.

14 years ago[perl #68708] Add "CARP_NOT" section to Carp's POD
Alan Grover [Mon, 24 Aug 2009 07:38:31 +0000 (09:38 +0200)]
[perl #68708] Add "CARP_NOT" section to Carp's POD

I Carp's POD, @CARP_NOT is mentioned but it's use is not clear. It is
particularly not clear that @CARP_NOT is a variable in _your_ package.

I propose adding a section to the POD, before the %Carp::Internal
section.

14 years agorelease_managers_guide: lots of tweaks to post-release tasks
David Mitchell [Sun, 23 Aug 2009 16:41:42 +0000 (17:41 +0100)]
release_managers_guide: lots of tweaks to post-release tasks

14 years agoadd 5.10.1 to perlhist in blead
David Mitchell [Sun, 23 Aug 2009 16:36:42 +0000 (17:36 +0100)]
add 5.10.1 to perlhist in blead

14 years agoadd perl5101delta
David Mitchell [Sun, 23 Aug 2009 16:33:11 +0000 (17:33 +0100)]
add perl5101delta

14 years agoadd Porting/perldelta_template,
David Mitchell [Sun, 23 Aug 2009 15:17:46 +0000 (16:17 +0100)]
add Porting/perldelta_template,
a skeleton outline of a perldelta file

14 years agoFix parsing of readline(FH) [perl #68458]
Rafael Garcia-Suarez [Sun, 23 Aug 2009 13:28:22 +0000 (15:28 +0200)]
Fix parsing of readline(FH) [perl #68458]

This was broken by commit 984f9f66477bc722578262ae8520584e44e881af,
which was committed to solve bug [perl #53806].

Basically, to make everyone happy, we need only to enforce strictures
on barewords that follow the specially parsed keywords "print" and
"exec" (and similar) -- except when they have been already parsed.

14 years agomore release_managers_guide tweaks
David Mitchell [Sat, 22 Aug 2009 22:17:57 +0000 (23:17 +0100)]
more release_managers_guide tweaks

14 years agoUpdate Module::CoreList for 5.10.1
David Mitchell [Sat, 22 Aug 2009 21:51:15 +0000 (22:51 +0100)]
Update Module::CoreList for 5.10.1

14 years agoEliminate *_ALLOCATED_HEAD and *_HEAD macros which are now used only once.
Nicholas Clark [Sat, 18 Jul 2009 18:32:50 +0000 (19:32 +0100)]
Eliminate *_ALLOCATED_HEAD and *_HEAD macros which are now used only once.

14 years agoEliminate the remaining definitions for *_allocated structs.
Nicholas Clark [Sat, 18 Jul 2009 17:34:06 +0000 (18:34 +0100)]
Eliminate the remaining definitions for *_allocated structs.

14 years agomention perlivp in release_managers_guide
David Mitchell [Sat, 22 Aug 2009 19:45:09 +0000 (20:45 +0100)]
mention perlivp in release_managers_guide

14 years agobetter document smart match overloading
David Mitchell [Sat, 22 Aug 2009 19:43:00 +0000 (20:43 +0100)]
better document smart match overloading

14 years agore-apply boilerplate to CGI test files
David Mitchell [Sat, 22 Aug 2009 17:16:24 +0000 (18:16 +0100)]
re-apply boilerplate to CGI test files

14 years agoupgrade GCI from 3.43 to 3.45
David Mitchell [Sat, 22 Aug 2009 17:02:13 +0000 (18:02 +0100)]
upgrade GCI from 3.43 to 3.45

Note that this blows away some local mods:
 * b<> to B<> fixes
 * core boilerplate for upload.t and uploadInfo.t

14 years agoadd the CGI "default_value for popup_menu()" fix from 3.45
David Mitchell [Sat, 22 Aug 2009 16:32:53 +0000 (17:32 +0100)]
add the CGI "default_value for popup_menu()" fix from 3.45

14 years agoIn pp_entersub, replace gv_fetchpv() with gv_fetchpvs().
Nicholas Clark [Sat, 22 Aug 2009 17:08:06 +0000 (18:08 +0100)]
In pp_entersub, replace gv_fetchpv() with gv_fetchpvs().

14 years agoIn Perl_newATTRSUB(), refactor the calls to gv_fetch*(), reducing if blocks.
Nicholas Clark [Sat, 22 Aug 2009 16:28:25 +0000 (17:28 +0100)]
In Perl_newATTRSUB(), refactor the calls to gv_fetch*(), reducing if blocks.

14 years agoIn Perl_newATTRSUB(), we know the lengths, so can avoid gv_fetchpv().
Nicholas Clark [Sat, 22 Aug 2009 15:28:32 +0000 (16:28 +0100)]
In Perl_newATTRSUB(), we know the lengths, so can avoid gv_fetchpv().

Brought to you by the Campaign for the Elimination of strlen().

14 years agogv_efullname3() could return NULL, so mro::_nextcan() must cope (and croak()).
Nicholas Clark [Fri, 21 Aug 2009 21:11:47 +0000 (22:11 +0100)]
gv_efullname3() could return NULL, so mro::_nextcan() must cope (and croak()).

14 years agosv_newmortal() is faster than sv_2mortal(newSV(0))
Nicholas Clark [Fri, 21 Aug 2009 20:50:26 +0000 (21:50 +0100)]
sv_newmortal() is faster than sv_2mortal(newSV(0))

14 years agoEliminate SV leak in mro::_nextcan - hv_store_ent()'s "key" doesn't take a ref.
Nicholas Clark [Fri, 21 Aug 2009 20:28:18 +0000 (21:28 +0100)]
Eliminate SV leak in mro::_nextcan - hv_store_ent()'s "key" doesn't take a ref.

14 years agoFix build warning in mro.c
Jerry D. Hedden [Fri, 21 Aug 2009 14:45:22 +0000 (10:45 -0400)]
Fix build warning in mro.c

14 years agoAdd clear magic to %^H so that the HE chain is reset when you empty it.
Zefram [Thu, 20 Aug 2009 23:49:14 +0000 (01:49 +0200)]
Add clear magic to %^H so that the HE chain is reset when you empty it.

This fixes [perl #68590] : %^H not lexical enough.

14 years agoUse the constant _CAN_PCS to optimise out things that can't happen pre 5.10
Nicholas Clark [Fri, 21 Aug 2009 10:04:06 +0000 (11:04 +0100)]
Use the constant _CAN_PCS to optimise out things that can't happen pre 5.10

14 years agoRemove a refactoring typo - don't post-increment $flush_mro at the sub's end.
Nicholas Clark [Fri, 21 Aug 2009 08:53:47 +0000 (09:53 +0100)]
Remove a refactoring typo - don't post-increment $flush_mro at the sub's end.

14 years agoIn mro_get_linear_isa_c3() optimise even if AvARRAY(isa_lin) is NULL.
Nicholas Clark [Fri, 21 Aug 2009 08:40:03 +0000 (09:40 +0100)]
In mro_get_linear_isa_c3() optimise even if AvARRAY(isa_lin) is NULL.

It can only be NULL if AvFILLp(isa_lin) is -1, and the code in the fast path
block will work cleanly in that case too.

14 years agoincremental improvement in ~~ documentation, already in maint-5.10
Chip Salzenberg [Thu, 20 Aug 2009 21:37:01 +0000 (14:37 -0700)]
incremental improvement in ~~ documentation, already in maint-5.10

14 years agoInstead of trusting mro::get_linear_isa(), test it against the expected output.
Nicholas Clark [Thu, 20 Aug 2009 20:12:44 +0000 (21:12 +0100)]
Instead of trusting mro::get_linear_isa(), test it against the expected output.

14 years agoOptimise mro_get_linear_isa_c3() when there is a single parent. 40% speed up.
Nicholas Clark [Thu, 20 Aug 2009 20:09:03 +0000 (21:09 +0100)]
Optimise mro_get_linear_isa_c3() when there is a single parent. 40% speed up.

Idea blatantly copied from chromatic's analogous change to parrot, r38477.

14 years agoadd -DM flag to track smartmatch resolution
David Mitchell [Thu, 20 Aug 2009 18:29:35 +0000 (19:29 +0100)]
add -DM flag to track smartmatch resolution

14 years agoOptimise S_mro_get_linear_isa_dfs() when dealing with the first parent class.
Nicholas Clark [Thu, 20 Aug 2009 15:02:40 +0000 (16:02 +0100)]
Optimise S_mro_get_linear_isa_dfs() when dealing with the first parent class.

Benchmarking with single inheritance suggests that this is 10% faster.

14 years agoPerl_newHVhv() should copy immortal values as-is, such as PL_sv_undef
Nicholas Clark [Thu, 20 Aug 2009 14:56:18 +0000 (15:56 +0100)]
Perl_newHVhv() should copy immortal values as-is, such as PL_sv_undef

Currently it calls newSVsv() always, which copies the value, but the immortal
SVs are used as much for their addresses as their values. You can't get the
immortals into HVs from Perl-space, except for PL_sv_placeholder, and any hash
with those will take the else block, where the call to Perl_hv_iternext_flags()
won't be returning placeholders anyway. Hence If XS code has gone to the
trouble to get the "impossible" in there, they had a reason for it.

I am assuming that Perl_hv_copy_hints_hv() should stay as-is, as it is
documented that only strings and integers are supported values for %^H.

14 years agoTeach perlivp about the new stucture of the IO::Compress module suite
Vincent Pit [Thu, 20 Aug 2009 08:26:59 +0000 (10:26 +0200)]
Teach perlivp about the new stucture of the IO::Compress module suite

This fixes [perl #68682] : 5.10.1 ( RC1 and RC2 ) perlivp fails IO/Compress

14 years agoAdd PERL_DISABLE_PMC to the list of -V's compile-time options.
Nicholas Clark [Wed, 19 Aug 2009 16:22:28 +0000 (17:22 +0100)]
Add PERL_DISABLE_PMC to the list of -V's compile-time options.

14 years agobump Safe version to 2.18
David Mitchell [Wed, 19 Aug 2009 10:07:43 +0000 (11:07 +0100)]
bump Safe version to 2.18

14 years agobleed and 5.10.1 - documentation fix - README.aix add info the lib gdbm is automatica...
Rainer Tammer [Wed, 19 Aug 2009 06:00:07 +0000 (08:00 +0200)]
bleed and 5.10.1 - documentation fix - README.aix add info the lib gdbm is automatically removed + remove trailing blanks

please could you add this to bleed and maint-5.10 ?
It's only a documentation fix and a formating cleanup... this should not
break anything :-))

Thanks very much.

Bye
  Rainer

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agorelease_managers_guide: minor tweaks
David Mitchell [Wed, 19 Aug 2009 00:04:13 +0000 (01:04 +0100)]
release_managers_guide: minor tweaks

14 years agoUpdated Module::CoreList for 5.10.1-RC2
David Mitchell [Tue, 18 Aug 2009 21:37:16 +0000 (22:37 +0100)]
Updated Module::CoreList for 5.10.1-RC2

14 years agoCorrectly detect NDBM_File availability
H.Merijn Brand [Tue, 18 Aug 2009 17:38:51 +0000 (19:38 +0200)]
Correctly detect NDBM_File availability

14 years agoFlush the MRO cache at the end, rather than the start.
Nicholas Clark [Tue, 18 Aug 2009 11:03:15 +0000 (12:03 +0100)]
Flush the MRO cache at the end, rather than the start.

Vincent notes that doing it at the start is fragile, as it assumes that the
flush doesn't actively build any new caches, merely clear existing caches.
Right now the flush only clears, but why rely on it when not doing so is easy?

14 years agoNo need to flush the package's MRO cache if we've just flushed it.
Nicholas Clark [Tue, 18 Aug 2009 10:36:02 +0000 (11:36 +0100)]
No need to flush the package's MRO cache if we've just flushed it.

14 years agoConvert perl version check in import() from run time to compile time.
Nicholas Clark [Mon, 17 Aug 2009 12:15:58 +0000 (13:15 +0100)]
Convert perl version check in import() from run time to compile time.

14 years agoGenerate perl version-dependent regexps once, rather than every call to import.
Nicholas Clark [Mon, 17 Aug 2009 10:51:39 +0000 (11:51 +0100)]
Generate perl version-dependent regexps once, rather than every call to import.

14 years agoSebastien decided what was the UPSTREAM for his modules
Vincent Pit [Mon, 17 Aug 2009 22:21:07 +0000 (00:21 +0200)]
Sebastien decided what was the UPSTREAM for his modules

14 years agoSkip maintainers.t on VMS.
Craig A. Berry [Sun, 16 Aug 2009 23:43:35 +0000 (18:43 -0500)]
Skip maintainers.t on VMS.

The home-grown glob() only does basic wildcarding, not patterns of
the form foo.{pm,t}, of which there are quite a few in Maintainers.pl.

14 years ago[perl #68530] "version::CLASS" warning in Safe.pm
David Mitchell [Sun, 16 Aug 2009 23:31:45 +0000 (00:31 +0100)]
[perl #68530] "version::CLASS" warning in Safe.pm
If any of the std variables being aliased into the Safe::rootN
package don't actually exist, and if they are not one of the special
"don't warn" variables, then you can get an 'only used once' warning.
So lets not. (Also bumps version number).

14 years agosv_peek(): SvOOK offset is no longer in IVX
David Mitchell [Sun, 16 Aug 2009 15:19:04 +0000 (16:19 +0100)]
sv_peek(): SvOOK offset is no longer in IVX

14 years agoSuppress system messages when op/ref.t calls die on VMS.
Craig A. Berry [Sat, 15 Aug 2009 19:27:09 +0000 (14:27 -0500)]
Suppress system messages when op/ref.t calls die on VMS.

14 years agoquick fix cpan -r
David Golden [Sat, 15 Aug 2009 18:39:39 +0000 (14:39 -0400)]
quick fix cpan -r

14 years agorelease_managers_guide: typo fixes
David Mitchell [Sat, 15 Aug 2009 09:18:45 +0000 (10:18 +0100)]
release_managers_guide: typo fixes

14 years agoExplain that the load_module() import list must be NULL terminated
Jan Dubois [Sat, 15 Aug 2009 00:57:45 +0000 (17:57 -0700)]
Explain that the load_module() import list must be NULL terminated

14 years agoRevert bogus PROCESSOR_ARCHITECTURE fix.
Steve Hay [Sat, 15 Aug 2009 00:40:11 +0000 (01:40 +0100)]
Revert bogus PROCESSOR_ARCHITECTURE fix.

14 years agoImport WIN64 environment variable into makefile.mk
Jan Dubois [Fri, 14 Aug 2009 17:51:06 +0000 (10:51 -0700)]
Import WIN64 environment variable into makefile.mk

nmake.exe will import environment variables as macro definitions
by default, but for dmake.exe we need to import them explicitly.

14 years agoFix PROCESSOR_ARCHITECTURE in dmake builds.
Steve Hay [Fri, 14 Aug 2009 10:37:31 +0000 (11:37 +0100)]
Fix PROCESSOR_ARCHITECTURE in dmake builds.

14 years agoAdd Bob Wilkinson's email address to AUTHORS
David Golden [Fri, 14 Aug 2009 10:19:44 +0000 (06:19 -0400)]
Add Bob Wilkinson's email address to AUTHORS

14 years agorelease_managers_guide: add release compare item,
David Mitchell [Thu, 13 Aug 2009 23:29:30 +0000 (00:29 +0100)]
release_managers_guide: add release compare item,
and expand a couple of sections.

14 years agoInstall arch-dependent files into $archlib.
Andy Dougherty [Thu, 13 Aug 2009 20:45:26 +0000 (16:45 -0400)]
Install arch-dependent files into $archlib.

After the great ext/ renaming, installperl stopped properly parsing the
new directory names, and hence did not properly deduce which files are
architecture-dependent.  This was compounded by Configure's failure to
detect ext/IO-Compress as an architecture-dependent module.  These two
patches fix both of those errors.

14 years agoRevert "Revert "Mention the unit of time""
Abigail [Thu, 13 Aug 2009 19:21:40 +0000 (21:21 +0200)]
Revert "Revert "Mention the unit of time""

This reverts commit e64d4d0a203b6a8764713bd33efa0a1c4a3d1b25.

ext/IO/lib/IO/Socket.pm is maintained by p5p after all.

14 years agoMerge commit 'dromedary/blead' into blead
Vincent Pit [Thu, 13 Aug 2009 12:43:08 +0000 (14:43 +0200)]
Merge commit 'dromedary/blead' into blead

14 years agoUpdated Maintainers.pl to note that p5p/blead is responsible for IO
Jesse Vincent [Thu, 13 Aug 2009 12:38:40 +0000 (08:38 -0400)]
Updated Maintainers.pl to note that p5p/blead is responsible for IO

(source: off-list mail from graham: <C341EDE9-0C5A-41A9-8554-EDF959C5A92C@pobox.com>)

14 years agoMerge the updated perlfaq from the perlfaq repository
Steffen Mueller [Thu, 13 Aug 2009 12:32:00 +0000 (14:32 +0200)]
Merge the updated perlfaq from the perlfaq repository

14 years agoPerl_die_nocontext() is also called with NULL from XS extensions that want to set...
Vincent Pit [Thu, 13 Aug 2009 11:34:48 +0000 (13:34 +0200)]
Perl_die_nocontext() is also called with NULL from XS extensions that want to set $@ themselves.

This commit goes with 52a5bfab8876f302d269f1bfa46eae1998f0d3ca.

14 years agoRevert "Mention the unit of time"
Abigail [Thu, 13 Aug 2009 10:34:36 +0000 (12:34 +0200)]
Revert "Mention the unit of time"

This reverts commit 9af20c7fc2828f1bb72c05b28eb0d37bad14e756.

It's a dual life module. Leave it to the author.

14 years agoMention the unit of time
Abigail [Thu, 13 Aug 2009 10:16:14 +0000 (12:16 +0200)]
Mention the unit of time

14 years agoMark as TODO the failing tests added in cb4bdfcf for the regression of 984f9f66.
Nicholas Clark [Thu, 13 Aug 2009 06:58:46 +0000 (07:58 +0100)]
Mark as TODO the failing tests added in cb4bdfcf for the regression of 984f9f66.

14 years agoAdded a failing test for a bareword parsing regression created in 984f9f66
Slaven Rezic [Tue, 11 Aug 2009 21:20:05 +0000 (23:20 +0200)]
Added a failing test for a bareword parsing regression created in 984f9f66

Date: Tue, 11 Aug 2009 23:20:05 +0200
From: Slaven Rezic <slaven@rezic.de>
To: perl5-porters@perl.org
Subject: Re: 5.10.1: regression regarding bareword in readline()
Reply-to: slaven@rezic.de

On Tue 11.Aug'09 at 23:20:05 +0200, Slaven Rezic wrote:
> > git bisect says that the breakage occurred in
> > 109c3d50375e96ee005ac98a3d457c7da2f5cb08 in the maint-5.10 branch,
> > respective in 984f9f66477bc722578262ae8520584e44e881af in the blead branch.
> >
> > This breaks at least the CPAN distribution MySQL-Backup-0.04.
> >
> > /usr/perl-5.10.0-3220-gf9961a0/bin/perl -c -e 'use strict; readline(STDIN)'
> I found another CPAN distribution with the same problem: Tie-Simple-1.03
>
> And there's another bareword problem, found in Games-Go-GoPair-1.001.>     use strict;
>     my @players;
>     sub _rankCompare { }
>     @players = sort(_rankCompare @players);

14 years agoTypos in perlbug.PL
Jerry D. Hedden [Wed, 12 Aug 2009 18:28:37 +0000 (14:28 -0400)]
Typos in perlbug.PL

14 years agoperlbug.PL assumes patchlevel.h has simple patch lists;
David Mitchell [Wed, 12 Aug 2009 18:11:24 +0000 (19:11 +0100)]
perlbug.PL assumes patchlevel.h has simple patch lists;
but these days it contains macros that expand to patch lists;
for now, just skip these macros. need a proper fix sometime.

14 years agorelease_managers_guide: mention testing perlbug
David Mitchell [Wed, 12 Aug 2009 15:50:09 +0000 (16:50 +0100)]
release_managers_guide: mention testing perlbug

14 years agodocument split in void context in perlfunc.pod
Moritz Lenz [Wed, 12 Aug 2009 12:41:17 +0000 (14:41 +0200)]
document split in void context in perlfunc.pod

14 years agoRemove duplicate entry (from config_heavy.pl)
H.Merijn Brand [Wed, 12 Aug 2009 07:34:28 +0000 (09:34 +0200)]
Remove duplicate entry (from config_heavy.pl)

14 years agoinstall Config_heavy.pl in archlib
David Mitchell [Wed, 12 Aug 2009 00:38:56 +0000 (01:38 +0100)]
install Config_heavy.pl in archlib

commit ae089cc2f4 broke the special-casing of its install dir

14 years agoDon't explicitly link against msvcrt when using MinGW.
Jan Dubois [Tue, 11 Aug 2009 23:56:48 +0000 (16:56 -0700)]
Don't explicitly link against msvcrt when using MinGW.

The latest releases of MinGW generate hard linker errors
when msvcrt is specified explicitly.  It will still link
against this library implicitly anyways, so specifying it
isn't needed.

14 years agoameliorate B::Deparse slowdown
David Mitchell [Wed, 12 Aug 2009 00:01:34 +0000 (01:01 +0100)]
ameliorate B::Deparse slowdown

commit 2990415a45 improved the ability to deparse inlined constants,
but at the cost of having to walk all the symbol tables when each new
B::Deparse object is created. Make this scan instead only happen the first
time its needed.

14 years agoOn Windows normalize $^X using GetLongPathName()
Jan Dubois [Tue, 11 Aug 2009 23:30:32 +0000 (16:30 -0700)]
On Windows normalize $^X using GetLongPathName()

If perl.exe is called with a short pathname, then GetModuleFileName()
will return this short name, and $^X will be set to it.  This in turn
is used to initialize @INC to privlib, sitelib and vendorlib locations
relative to $^X, so they too will end up with the mangled short names.

Perl will also automatically add versioned Perl directories in the
same tree if their names start with the same major and minor Perl
version numbers.  This heuristic can be broken when the pathname
components are using short pathnames.  Therefore $^X and @INC should
all be normalized to use the long pathname format.

See also http://rt.cpan.org/Public/Bug/Display.html?id=47890

14 years agos/PERL5OPTS/PERL5OPTS/ in INSTALL
David Mitchell [Tue, 11 Aug 2009 22:52:38 +0000 (23:52 +0100)]
s/PERL5OPTS/PERL5OPTS/ in INSTALL
spotted by Vincent Pit

14 years agoRemoved '...' ellipses from docs about '...' flip-flop operator
Ken Williams [Tue, 11 Aug 2009 16:25:07 +0000 (11:25 -0500)]
Removed '...' ellipses from docs about '...' flip-flop operator

14 years agoINSTALL: mention that env vars can affect tests
David Mitchell [Tue, 11 Aug 2009 22:09:01 +0000 (23:09 +0100)]
INSTALL: mention that env vars can affect tests

14 years agorelease_managers_guide: mention updating http://www.cpan.org/src/
David Mitchell [Tue, 11 Aug 2009 21:51:16 +0000 (22:51 +0100)]
release_managers_guide: mention updating cpan.org/src/

14 years agoPERL_DONT_CREATE_GVSV was documented in perl589delta
David Mitchell [Tue, 11 Aug 2009 20:43:02 +0000 (21:43 +0100)]
PERL_DONT_CREATE_GVSV was documented in perl589delta
not perl588delta (although it was introduced in 5.8.8).
Fix up old perldelta files to reflect this fact.

This has been a public service by the Ministry of Truth.