This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agochange non-char warning message from malformed
Karl Williamson [Sun, 20 Dec 2009 21:25:13 +0000 (14:25 -0700)]
change non-char warning message from malformed

14 years agoRemove spurious case of warning "Use of %s without parentheses is ambiguous"
Rafael Garcia-Suarez [Sun, 20 Dec 2009 21:38:53 +0000 (22:38 +0100)]
Remove spurious case of warning "Use of %s without parentheses is ambiguous"

Eric Brine pointed out that this warning doesn't apply to ".",
as in C<rand . 1>, that shouldn't warn since C<. 1> cannot be
mistaken for a floating point number.

14 years agomore perldelta updates
Jesse Vincent [Sun, 20 Dec 2009 21:35:00 +0000 (16:35 -0500)]
more perldelta updates

14 years agodescribe new CPAN.pm, ExtUtils::MakeMaker and Module:Build
David Golden [Sun, 20 Dec 2009 20:49:15 +0000 (15:49 -0500)]
describe new CPAN.pm, ExtUtils::MakeMaker and Module:Build

14 years agoSmall fixups from corion
Jesse Vincent [Sun, 20 Dec 2009 20:46:49 +0000 (15:46 -0500)]
Small fixups from corion

14 years agoupdate perldelta with module and pragma version updates
David Golden [Sun, 20 Dec 2009 20:36:30 +0000 (15:36 -0500)]
update perldelta with module and pragma version updates

14 years agoAdd 5.11.3 to perlhist.
Jesse Vincent [Sun, 20 Dec 2009 20:35:46 +0000 (15:35 -0500)]
Add 5.11.3 to perlhist.

14 years agoRemove Roman numerals from README.vms after confirmation from Craig that it's not...
Jesse Vincent [Sun, 20 Dec 2009 20:32:45 +0000 (15:32 -0500)]
Remove Roman numerals from README.vms after confirmation from Craig that it's not actually important

14 years agoUpdate AUTHORS file for 5.11.3
Jesse Vincent [Sun, 20 Dec 2009 20:21:29 +0000 (15:21 -0500)]
Update AUTHORS file for 5.11.3

14 years agoUpdate Module::CoreList for Module::Build update to 0.36
David Golden [Sun, 20 Dec 2009 20:27:58 +0000 (15:27 -0500)]
Update Module::CoreList for Module::Build update to 0.36

14 years agoUpdated Module::Build to 0.36
David Golden [Sun, 20 Dec 2009 20:18:32 +0000 (15:18 -0500)]
Updated Module::Build to 0.36

0.36 - Sun Dec 20 15:02:38 EST 2009

No changes from 0.35_15 other than the version number.

Summary of major changes since 0.35:

 Enhancements:

 - Added 'Build installdeps' action to install needed dependencies via
   a user-configurable command line program.  (Defaults to 'cpan'.)

 - Command line options may be set via the PERL_MB_OPT environment
   variable (similar to PERL_MM_OPT in ExtUtils::MakeMaker)

 - Generates MYMETA.yml during Build.PL (new standard protocol for
   communicating configuration results between toolchain components)

 - Reduced amount of console output under normal operation (use --verbose
   to see all output)

 - Added experimental inc/ bundling; see Module::Build::Bundling for
   details.

 New or changed properties:

 - Added 'share_dir' property to provide File::ShareDir support;
   File::ShareDir automatically added to 'requires' if 'share_dir' is set

 - Added 'needs_compiler' property.  Defaults to true if XS or c_source
   exist.  If true, ExtUtils::CBuilder is also added to build_requires.

 - 'C_support' is no longer an optional feature.  Modern ExtUtils::CBuilder
   and ExtUtils::ParseXS added to the 'requires' list.  This ensures that
   upgrading Module::Build will upgrade these critical modules.

 - Clarified that 'apache' in the license attribute indicates the Apache
   License 2.0 and added 'apache_1_1' for the older version of the license
   (RT#50614)

 Deprecations:

 - Module::Build::Compat 'passthrough' style has been deprecated.  Using
   'passthrough' will issue warnings on Makefile.PL generation.  See
   Module::Build::Compat documentation for rationale.

 Internals:

 - Replaced use of YAML.pm with YAML::Tiny; Module::Build::YAML is now
   based on YAML::Tiny as well

 - A new get_metadata() method has been added as a simpler wrapper around
   the old, kludgy prepare_metadata() API.

 - Replaced guts of new_from_context().  Build.PL is now executed in a
   separate process before resume() is called.  (This is generally only of
   interest to Module::Build or toolchain developers) (RT#49350)

 - Add support for 'package NAME VERSION' syntax added in Perl 5.11.1

 Notable bug fixes:

 - The "test" action now dies when using the 'use_tap_harness'
   option and tests fail, matching the behavior under Test::Harness.
   (RT#49080) [initial patch from David Wheeler; revised by David Golden]

 - Updated PPM generation to PPM v4 (RT#49600) [Olivier Mengue]

 - When module_name is not supplied, no packlist was being written; fixed
   by guessing module_name from dist_version_from or the directory name
   (just like ExtUtils::Manifest does without NAME) [David Golden]

 - Failure to detect a compiler will now warn during Build.PL and be a
   fatal error when trying to compile during Build. (RT#48918) [David
   Golden]

 - Auto-detection of abstract and author fixed for mixed-case POD headers
   (RT#51117) [David Wheeler]

 - resume() was not restoring additions to @INC added in Build.PL
   (RT#50145) [David Golden]

 - When tarball paths are less than 100 characters, disables 'prefix'
   mode of Archive::Tar for maximum compatibility (RT#50571) [David Golden]

 - Merging 'requires' and 'build_requires' in Module::Build::Compat could
   lead to duplicate PREREQ_PM entries; now the highest version is used
   for PREREQ_PM. (RT#50948) [David Golden]

 - Module::Build::Compat will now die with an error if advanced,
   non-numeric prerequisites are given, as these are not supported by
   ExtUtils::MakeMaker in PREREQ_PM [David Golden]

14 years agoupdate perldetla instructions to mention the new test-file autogenerater
Jesse Vincent [Sun, 20 Dec 2009 20:12:03 +0000 (15:12 -0500)]
update perldetla instructions to mention the new test-file autogenerater

14 years agoUpdate perldelta with newly added tests, using corion++'s new automation
Jesse Vincent [Sun, 20 Dec 2009 20:09:31 +0000 (15:09 -0500)]
Update perldelta with newly added tests, using corion++'s new automation

14 years agoGenerate a stub for newly added tests since the last release (2nd try, with fixed...
Max Maischein [Sun, 20 Dec 2009 19:48:08 +0000 (20:48 +0100)]
Generate a stub for newly added tests since the last release (2nd try, with fixed pod)

14 years agoRegenerate Module::CoreList and bump to 2.24 for Perl 5.11.3
Jesse Vincent [Sun, 20 Dec 2009 19:53:46 +0000 (14:53 -0500)]
Regenerate Module::CoreList and bump to 2.24 for Perl 5.11.3

14 years agoMinor updates to our corelist update tool
Jesse Vincent [Sun, 20 Dec 2009 19:49:33 +0000 (14:49 -0500)]
Minor updates to our corelist update tool

14 years agoBump to 5.11.3
Jesse Vincent [Sun, 20 Dec 2009 19:15:33 +0000 (14:15 -0500)]
Bump to 5.11.3

14 years agoAdded a todo about some releng automation we could use
Jesse Vincent [Sun, 20 Dec 2009 19:15:15 +0000 (14:15 -0500)]
Added a todo about some releng automation we could use

14 years agoPOSIX.pm - minor change to POSIX.xs since 5.11.2 - bump the version
Jesse Vincent [Sun, 20 Dec 2009 19:02:46 +0000 (14:02 -0500)]
POSIX.pm - minor change to POSIX.xs since 5.11.2 - bump the version

14 years agoBumped File::Find's version since it's changed since 5.11.2
Jesse Vincent [Sun, 20 Dec 2009 19:00:40 +0000 (14:00 -0500)]
Bumped File::Find's version since it's changed since 5.11.2

14 years agomention Porting/corelist-perldelta.pl in perldelta instructions
David Golden [Sun, 20 Dec 2009 17:29:04 +0000 (12:29 -0500)]
mention Porting/corelist-perldelta.pl in perldelta instructions

14 years agoVarious perldelta consistency edits and other cleanup
David Golden [Sun, 20 Dec 2009 16:53:11 +0000 (11:53 -0500)]
Various perldelta consistency edits and other cleanup

14 years agoAllow U+0FFFF in regex
Karl Williamson [Fri, 18 Dec 2009 03:07:32 +0000 (20:07 -0700)]
Allow U+0FFFF in regex

14 years agoNote legacy.pm changes in perldelta
Rafael Garcia-Suarez [Sun, 20 Dec 2009 15:32:12 +0000 (16:32 +0100)]
Note legacy.pm changes in perldelta

14 years agoIntroduce C<use feature "unicode_strings">
Rafael Garcia-Suarez [Sun, 20 Dec 2009 15:23:36 +0000 (16:23 +0100)]
Introduce C<use feature "unicode_strings">

This turns on the unicode semantics for uc/lc/ucfirst/lcfirst
operations on strings without the UTF8 bit set but with ASCII
characters higher than 127. This replaces the "legacy" pragma
experiment.

Note that currently this feature sets both a bit in $^H and
a (unused) key in %^H. The bit in $^H could be replaced by
a flag on the uc/lc/etc op. It's probably not feasible to
test a key in %^H in pp_uc in friends each time we want to
know which semantics to apply.

14 years agoSpeed-up notice for bisects (skip Encode)
H.Merijn Brand [Sun, 20 Dec 2009 14:11:43 +0000 (15:11 +0100)]
Speed-up notice for bisects (skip Encode)

14 years agoExtUtils::MakeMaker changes for perl5113delta.pod
Alexandr Ciornii [Sun, 20 Dec 2009 13:46:36 +0000 (08:46 -0500)]
ExtUtils::MakeMaker changes for perl5113delta.pod

14 years agoAdd lchown to POSIX.pod
Daniel Frederick Crisman [Wed, 16 Dec 2009 19:28:20 +0000 (14:28 -0500)]
Add lchown to POSIX.pod

14 years agoMake eval {} compile directly to OP_ENTERTRY
Rafael Garcia-Suarez [Sun, 20 Dec 2009 10:01:34 +0000 (11:01 +0100)]
Make eval {} compile directly to OP_ENTERTRY

This way, it's correctly caught and blocked by Safe, separately
from eval "".

14 years agoFix Pod errors in perl5113delta.pod.
Nicholas Clark [Sun, 20 Dec 2009 10:23:26 +0000 (10:23 +0000)]
Fix Pod errors in perl5113delta.pod.

14 years agoFix version number we are different from
Leon Brocard [Sun, 20 Dec 2009 09:14:53 +0000 (09:14 +0000)]
Fix version number we are different from

14 years agoflesh out doc updates
Ricardo Signes [Sat, 19 Dec 2009 23:36:50 +0000 (18:36 -0500)]
flesh out doc updates

14 years agoFurther paring down of perldelta
Jesse Vincent [Sat, 19 Dec 2009 22:52:37 +0000 (17:52 -0500)]
Further paring down of perldelta

14 years agoMore pruning of the perl 5.11.3 delta file
Jesse Vincent [Sat, 19 Dec 2009 22:08:28 +0000 (17:08 -0500)]
More pruning of the perl 5.11.3 delta file

14 years agoRename VMS-unfriendly multi-dot files.
Craig A. Berry [Sat, 19 Dec 2009 17:12:33 +0000 (11:12 -0600)]
Rename VMS-unfriendly multi-dot files.

14 years agoRun t/porting/diag.t from the top-level directory.
Nicholas Clark [Sat, 19 Dec 2009 16:19:43 +0000 (16:19 +0000)]
Run t/porting/diag.t from the top-level directory.

The home-grown glob on VMS does not properly handle relative paths
containing C<../> so this test has been failing for reasons having
nothng to do with what's being tested.  For now, just avoid the
problem by running from one level up.

Message-id: <20091219161943.GQ2582@plum.flirble.org>

14 years agorunperl may modify arguments passed to it.
Craig A. Berry [Sat, 19 Dec 2009 16:05:12 +0000 (10:05 -0600)]
runperl may modify arguments passed to it.

So be cautious about reusing them.  In this case, filenames acquired
quotes in them, which are not legal in filenames on VMS.

14 years agoTT is not a terminal for non-interactive processes.
Craig A. Berry [Sat, 19 Dec 2009 15:33:32 +0000 (09:33 -0600)]
TT is not a terminal for non-interactive processes.

-t correctly does not report true in this case, but the test was
assuming it would.  Since there is no equivalent to F$MODE() in
Perl, rely on the fact that in batch TT is a logical name pointing
to _NLA0:.

14 years ago* Synced the perlfaq
brian d foy [Sat, 19 Dec 2009 10:27:31 +0000 (04:27 -0600)]
* Synced the perlfaq

The latest commit in https://github.com/briandfoy/perlfaq is

    4e2e0c9bcb3404e0b09d2e61e23ba6a6095b1

dated Sat Dec 19 04:17:11 2009 -0600

14 years ago* Update perlport examples for modern Perl style
brian d foy [Sat, 19 Dec 2009 10:27:24 +0000 (04:27 -0600)]
* Update perlport examples for modern Perl style

14 years agoSorting MANIFEST
Jesse Vincent [Fri, 18 Dec 2009 22:31:44 +0000 (17:31 -0500)]
Sorting MANIFEST

14 years agoUpgrade to Pod::Simple 3.13 from CPAN to fix a regression (in 3.08) that broke html...
Jesse Vincent [Fri, 18 Dec 2009 22:05:45 +0000 (17:05 -0500)]
Upgrade to Pod::Simple 3.13 from CPAN to fix a regression (in 3.08) that broke html output

14 years agoFirst pass at cutting down the git log as a 5.11.3 changelog
Jesse Vincent [Fri, 18 Dec 2009 21:27:09 +0000 (16:27 -0500)]
First pass at cutting down the git log as a 5.11.3 changelog

14 years agoUpdate MANIFEST for the latest changes to CPAN.pm
Jesse Vincent [Fri, 18 Dec 2009 18:49:01 +0000 (13:49 -0500)]
Update MANIFEST for the latest changes to CPAN.pm

14 years agomanicheck's complaints about missing files are now closer to the form
Jesse Vincent [Fri, 18 Dec 2009 18:46:35 +0000 (13:46 -0500)]
manicheck's complaints about missing files are now closer to the form
you might want to paste into a MANIFEST

14 years agoDetabify manicheck
Jesse Vincent [Fri, 18 Dec 2009 18:45:07 +0000 (13:45 -0500)]
Detabify manicheck

14 years agoWhen discarding a token free the op associated with it
Gerard Goossen [Fri, 18 Dec 2009 17:41:00 +0000 (18:41 +0100)]
When discarding a token free the op associated with it

When discarding a token free the op associated with it.

Fixes memory leak in comp/parser.t

Gerard Goossen

From 7694ec023ec8856f34964b5eeea58f1b588c89bc Mon Sep 17 00:00:00 2001
From: Gerard Goossen <gerard@ggoossen.net>
Date: Fri, 18 Dec 2009 18:32:11 +0100
Subject: [PATCH 4/4] When discarding a token free the op associated with it.
Status: O
Content-Length: 438
Lines: 20

Fixes memory leak in comp/parser.t

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agoBring up ExtUtils::MakeMaker to 6.56 - no functional changes from 6.55_03
Jesse Vincent [Fri, 18 Dec 2009 18:07:04 +0000 (13:07 -0500)]
Bring up ExtUtils::MakeMaker to 6.56 - no functional changes from 6.55_03

14 years agoImport CPAN.pm 1.94_53 from CPAN
Jesse Vincent [Fri, 18 Dec 2009 17:47:08 +0000 (12:47 -0500)]
Import CPAN.pm 1.94_53 from CPAN

14 years agoFree the PL_scopestack_name
Gerard Goossen [Fri, 18 Dec 2009 14:11:25 +0000 (15:11 +0100)]
Free the PL_scopestack_name

Free the PL_scopestack_name

Gerard Goossen

From 4652807944b1b7efc8a66b3fe8d7562d23a2189f Mon Sep 17 00:00:00 2001
From: Gerard Goossen <gerard@ggoossen.net>
Date: Fri, 18 Dec 2009 15:09:49 +0100
Subject: [PATCH 2/2] Free the PL_scopestack_name

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agoExport PL_curinterp symbol for MULTIPLICITY without USE_ITHREADS
Jan Dubois [Fri, 18 Dec 2009 02:28:16 +0000 (18:28 -0800)]
Export PL_curinterp symbol for MULTIPLICITY without USE_ITHREADS

This is necessary for XS extensions that define PERL_CORE.  In that
situation PERL_GET_CONTEXT will resolve to PL_curinterp, which is
normally not exported (extensions call Perl_Gcurinterp_ptr() to get a
pointer to PL_curinterp instead). With USE_ITHREADS defined
PERL_GET_CONTEXT will expand to Perl_get_context() even inside the
core because the context needs to be fetched from threadlocal storage.

14 years agoCorrect some #ifdef USE_ITHREADS / USE_MULTI
Max Maischein [Thu, 17 Dec 2009 22:22:39 +0000 (23:22 +0100)]
Correct some #ifdef USE_ITHREADS / USE_MULTI

14 years agoUpdated Module::Build to 0.35_15
David Golden [Thu, 17 Dec 2009 22:59:27 +0000 (17:59 -0500)]
Updated Module::Build to 0.35_15

This is just to sync with CPAN -- these changes should not impact
blead.

0.35_15 - Thu Dec 17 17:51:22 EST 2009

 Bug fixes:

 - Make sure PPM tests are skipped if IO::File is too old [David Golden]

14 years agoUpdated Module::Build to 0.35_14
David Golden [Thu, 17 Dec 2009 21:08:09 +0000 (16:08 -0500)]
Updated Module::Build to 0.35_14

0.35_14 - Thu Dec 17 16:02:14 EST 2009

 Bug fixes:

 - If not set, the 'module_name' is detected from 'dist_version_from'
   or from 'dist_name'.  The directory is no longer used. [David Golden]

 - The 'share_dir' property no longer defaults to 'share' and must be
   explicitly set instead; this fixes problems for CPAN distributions that
   already have a 'share' directory for whatever reason [David Golden]

 - Change t/00-compile.t test for more portability [David Golden]

 - Skip ppm.t if Pod::Html is not available [David Goldenj]

 - Changed guts of inc::latest to work properly on older versions of Perl
   [David Golden]

 - Ensure bundle_inc.t doesn't accidentally uninstall the installed M::B
   during testing if the user had 'uninst=1' set during Build.PL
   [David Golden]

0.35_13 - Sat Dec  5 11:26:36 EST 2009

 Bug fixes:

 - Protect against tempfile errors when checking ExtUtils::Installed
   [David Golden]

0.35_12 - Fri Dec  4 23:06:49 EST 2009

 Bug fixes:

 - Protect inc/ bundling tests against broken ExtUtils::Installed
   [David Golden]

0.35_11 - Thu Dec  3 11:07:44 EST 2009

 *** API CHANGE ***

 - The old API for prepare_metadata() has been restored to avoid breaking
   distributions that were overriding it (e.g. BioPerl), but the method
   has been marked deprecated and may be made private or may disappear in
   some future version of Module::Build. [David Golden]

 - A new get_metadata() method has been added as a simpler wrapper around
   the old, kludgy prepare_metadata() API. [David Golden]

0.35_10 - Tue Nov 24 22:49:19 EST 2009

 Bug fixes:

 - bundle_inc.t is more careful about permissions and open filehandles
   to avoid failures/skips on Win32 [David Golden]

 - Fix compilation error in Module::Build::Platform::VMS (RT#51766)
   [David Golden]

 - Don't generate a MANIFEST.SKIP during distclean and add any generated
   MANIFEST.SKIP to cleanup list [reported by Zefram, fixed by David Golden]

 - Module::Build::ModuleInfo version parsing would fail if a module sets
   its $VERSION from another module, but the other module is not installed.
   We now try to detect such failures, prepend 'lib' to @INC and try again.
   [David Golden]

 - MYMETA.yml used to be generated from scratch, overriding any
   customizations used to create META.yml.  Now, if META.yml exists, that
   will be used as the base for MYMETA and only prereq fields will be
   updated (to reflect any dynamic configuration); also, 'dynamic_config'
   will be set to false and 'generated_by' will be updated [David Golden]

0.35_09 - Thu Nov 19 01:30:42 EST 2009

 Bug fixes:

 - The DB package should not be included in 'provides' in META files
   [David Golden]

 - Fixed t/xs.t build failures in bleadperl for noexec temp directories
   [Nicholas Clark]

 - Adjusted order of @INC in resume() (fixes par.t, ppm.t, xs.t fails):
   @INC = @new_additions_to_inc, @saved_additions_to_inc, @default_inc
   [David Golden]

 - Skip bundle_inc.t tests if bundled Module::Build for test can't be
   tweaked (Works around test crashes on Win2) [David Golden]

 Other:

 - 'C_support' is no longer an optional feature.  Modern ExtUtils::CBuilder
   and ExtUtils::ParseXS added to the 'requires' list.  This ensures that
   upgrading Module::Build will upgrade this critical modules.
   ExtUtils::CBuilder no longer requires a compiler, so it is "safe" to
   require.

14 years agoUpdated CPANPLUS to cpan release 0.90
Chris Williams [Thu, 17 Dec 2009 22:08:48 +0000 (22:08 +0000)]
Updated CPANPLUS to cpan release 0.90

  Changes for 0.90        Thu Dec 17 21:40:13 2009
  ================================================
  * Version bump

14 years agoImplement win32_isatty()
Jan Dubois [Thu, 17 Dec 2009 19:15:38 +0000 (11:15 -0800)]
Implement win32_isatty()

Commit 827da6a38 added a custom isatty() implementation
in win32/perlhost.h, but that code will only be used when
perl is compiled with -DPERL_IMPLICIT_SYS.  This change
makes sure that the custom implementation will be used
on Windows for all choices of build options.

14 years ago-t should only return TRUE for file handles connected to a TTY
Jan Dubois [Wed, 16 Dec 2009 23:42:19 +0000 (15:42 -0800)]
-t should only return TRUE for file handles connected to a TTY

The Microsoft C version of isatty() returns TRUE for all
character mode devices, including the /dev/null style "nul"
device and printers like "lpt1".

The included test has only been tested on Windows and Linux;
the device names for OS/2 and VMS are just best guesses...

14 years agoDocument issues when using named captures in combination with a branch reset pattern...
Abigail [Wed, 16 Dec 2009 13:01:32 +0000 (14:01 +0100)]
Document issues when using named captures in combination with a branch reset pattern (see also #71136)

14 years agoFix casting warnings
Rafael Garcia-Suarez [Wed, 16 Dec 2009 09:20:27 +0000 (10:20 +0100)]
Fix casting warnings

14 years agoAdd a test that "eval" does not create additional reference to ouside variables.
Gerard Goossen [Wed, 9 Dec 2009 16:23:00 +0000 (17:23 +0100)]
Add a test that "eval" does not create additional reference to ouside variables.

14 years agoStore the PL_compcv instead of the the PL_comppad in parser stack, and make it refere...
Gerard Goossen [Tue, 8 Dec 2009 19:41:28 +0000 (20:41 +0100)]
Store the PL_compcv instead of the the PL_comppad in parser stack, and make it reference counted. Properly solves [perl #66094]

14 years agotweak to pp_ctl.c gives smaller object code
Alex Davies [Wed, 16 Dec 2009 08:42:12 +0000 (09:42 +0100)]
tweak to pp_ctl.c gives smaller object code

14 years agoUpdate File::Copy tests to skip on OpenBSD, as it mounts too many filesystems nosuid.
Jesse Vincent [Wed, 16 Dec 2009 02:08:40 +0000 (21:08 -0500)]
Update File::Copy tests to skip on OpenBSD, as it mounts too many filesystems nosuid.

[perl #71334] is the TODO for a better fix for this

14 years agoAllow override of PERL5OPT etc in t/TEST
Tim Bunce [Tue, 15 Dec 2009 23:04:11 +0000 (23:04 +0000)]
Allow override of PERL5OPT etc in t/TEST

14 years agoDon't make C<use legacy> die on unknown legacy names
Rafael Garcia-Suarez [Tue, 15 Dec 2009 23:04:34 +0000 (00:04 +0100)]
Don't make C<use legacy> die on unknown legacy names

So we can use C<use legacy "qubits"> to avoid the new "qubit" behaviour,
without worrying about perls that didn't have qubit support at all. :)

14 years ago[perl #22977] Bug in format/write
Zefram [Tue, 15 Dec 2009 10:48:31 +0000 (11:48 +0100)]
[perl #22977] Bug in format/write

14 years ago[perl #68640] Wrong error for undef constant name
Zefram [Tue, 15 Dec 2009 10:17:35 +0000 (11:17 +0100)]
[perl #68640] Wrong error for undef constant name

14 years agomore regex folding tests
Karl Williamson [Mon, 14 Dec 2009 16:18:29 +0000 (09:18 -0700)]
more regex folding tests

14 years ago[perl #70171] 5.10.0 -> 5.10.1 Regression in fafafbaf70 (Big slowdown in 5.10 @_...
Father Chrysostomos [Mon, 14 Dec 2009 15:15:51 +0000 (16:15 +0100)]
[perl #70171] 5.10.0 -> 5.10.1 Regression in fafafbaf70 (Big slowdown in 5.10 @_ parameter passing)

In this case my %x = %$x assigns a hash to itself. This causes the
hv_clear in pp_aassign to wipe away the hash before it can be copied.
The ‘panic: attempt to copy freed scalar’ error is triggered by this
line, which copies the value:
    sv_setsv(tmpstr,*relem);        /* value */

The solution is to make sure the OPpASSIGN_COMMON flag is on in such
cases, so that pp_aassign copies everything before doing the assignment.

14 years agofix bug 67156: overload: nomethod(..., '!') return value inverted
Michael Breen [Fri, 11 Dec 2009 17:48:51 +0000 (17:48 +0000)]
fix bug 67156: overload: nomethod(..., '!') return value inverted

14 years ago[perl #71204] diagnostics.pm suppresses 'Use of uninitialized value in range (or...
Gene Sullivan [Mon, 14 Dec 2009 13:07:27 +0000 (14:07 +0100)]
[perl #71204] diagnostics.pm suppresses 'Use of uninitialized value in range (or flip)' warning

(and bump version of diagnostics.pm)

14 years agocygwin IPv6 since 1.7
Reini Urban [Mon, 14 Dec 2009 12:04:37 +0000 (13:04 +0100)]
cygwin IPv6 since 1.7

Use g++ as default linker
IPv6 support for 1.7

14 years ago[perl #70764] $' fails to initialized for pre-compiled regular expression matches
Father Chrysostomos [Mon, 14 Dec 2009 11:19:35 +0000 (12:19 +0100)]
[perl #70764] $' fails to initialized for pre-compiled regular expression matches

The match vars are associated with the regexp that last matched
successfully. In the case of $str =~ $qr or /$qr/, since the $qr could
be used in multiple scopes that need their own sets of match vars, the
$qr is cloned by Perl_reg_temp_copy as of change 30677/28d8d7f. This
happens in pp_regcomp before pp_match has stringified the LHS, hence the
bug. In short, /$gror/ is not equivalent to
($which = !$which) ? /$gror/ : /$gror/, which is weird.

Attached is a patch, which admittedly is a hack, but fixes this
particular side effect of what is probably a bad design, by stringifying
the LHS in pp_regcomp, and having pp_match skip get-magic in such cases.
A real fix far exceeds my capabalities, and would also be very intrusive
according to
<http://www.nntp.perl.org/group/perl.perl5.porters/2007/03/msg122415.html>.

14 years agoFix compile failure introduced in 37e2e78edfe0a224b8a615820f46db879584f523.
Craig A. Berry [Mon, 14 Dec 2009 04:17:13 +0000 (22:17 -0600)]
Fix compile failure introduced in 37e2e78edfe0a224b8a615820f46db879584f523.

Solaris, VMS, and Win32 all failed to build after this change.  In C99's
description of:

   do statement while ( expression ) ;

the trailing semicolon does not appear to be optional.  And at least
three compilers from three vendors agree.

14 years agoEliminate OP_SETSTATE from cop.h header
Reini Urban [Sun, 13 Dec 2009 07:06:43 +0000 (08:06 +0100)]
Eliminate OP_SETSTATE from cop.h header

It had been added with change 3728 to track linenumbers in
optimized else, disabled by change 4309,
and removed with change 33072.

Bump copyright, latest change was "Fix MULTICALL in List-Util" 2009-03-07
with commit 1bbbfc50

14 years agoMake new is_utf8_X_* functions public
Rafael Garcia-Suarez [Sun, 13 Dec 2009 14:47:45 +0000 (15:47 +0100)]
Make new is_utf8_X_* functions public

14 years agoDoc nits
Rafael Garcia-Suarez [Sat, 12 Dec 2009 14:57:28 +0000 (15:57 +0100)]
Doc nits

14 years agoMerge commit 'khwilliamson/x' into blead
Rafael Garcia-Suarez [Sat, 12 Dec 2009 08:33:51 +0000 (09:33 +0100)]
Merge commit 'khwilliamson/x' into blead

14 years agoNotes on why PathTools is in Cwd/
Jesse Vincent [Thu, 10 Dec 2009 18:20:27 +0000 (13:20 -0500)]
Notes on why PathTools is in Cwd/

14 years agoUpdate Cwd / PathTools to 3.31 to get us a non-devel version number based on a chat...
Jesse Vincent [Thu, 10 Dec 2009 18:14:24 +0000 (13:14 -0500)]
Update Cwd / PathTools to 3.31 to get us a non-devel version number based on a chat with Steffen. No code changes.

14 years agoUpdated to Pod::Simple 3.11 from CPAN [perl #71004]
Jesse Vincent [Thu, 10 Dec 2009 16:44:26 +0000 (11:44 -0500)]
Updated to Pod::Simple 3.11 from CPAN [perl #71004]

14 years agoUpdate CPANPLUS to cpan version 0.89_12
Chris Williams [Thu, 10 Dec 2009 12:24:16 +0000 (12:24 +0000)]
Update CPANPLUS to cpan version 0.89_12

  Changes for 0.89_12     Mon Dec  7 13:33:16 2009
  ================================================
  * Resolve RT #52348 Duplicate test output, reported by Apocalypse
  * Fixed typo in Shell::Default, RT #52376, reported by Apocalypse

  Changes for 0.89_11     Tue Dec  1 13:14:24 2009
  ================================================
  * Fixed RT #52287 reported by Apocalypse regarding
    Test::Reporter barfing on send()
  * Change SQLite to AutoCommit, resolves RT #52308,
    reported by Apocalypse

  Changes for 0.89_10     Sat Nov 28 23:20:09 2009
  ================================================
  * Resolve RT #51516 setting conf options which
    include spaces.
  * Explicitly use Cwd's chdir in _chdir()

Update to allow various perl smokers test before update to 0.90

14 years agoUpdate Archive::Extract to cpan version 0.36
Chris Williams [Thu, 10 Dec 2009 12:16:57 +0000 (12:16 +0000)]
Update Archive::Extract to cpan version 0.36

  Changes for 0.36    Tue Nov 24 10:27:16 2009
  ============================================
  * Explicitly use Cwd's chdir

Required for CPANPLUS update

14 years agoOS/2 doesn't support inplace editing without backups
Jan Dubois [Wed, 9 Dec 2009 23:55:09 +0000 (15:55 -0800)]
OS/2 doesn't support inplace editing without backups

14 years agoUpdated docpointer for illguts
Reini Urban [Wed, 9 Dec 2009 22:45:44 +0000 (17:45 -0500)]
Updated docpointer for illguts

14 years agoFix for [perl #70910] wrong line number in syntax error message
Zefram [Wed, 9 Dec 2009 22:40:05 +0000 (17:40 -0500)]
Fix for [perl #70910] wrong line number in syntax error message

14 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Andy Dougherty [Tue, 8 Dec 2009 16:53:14 +0000 (11:53 -0500)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

14 years agoDocument config_args limitations reported in [perl #70912]
Andy Dougherty [Tue, 8 Dec 2009 16:36:54 +0000 (11:36 -0500)]
Document config_args limitations reported in [perl #70912]

14 years agoproper error on "grep $x (1,2,3)". Solves [perl #37314]
Gerard Goossen [Tue, 8 Dec 2009 11:42:58 +0000 (12:42 +0100)]
proper error on "grep $x (1,2,3)". Solves [perl #37314]

14 years ago[perl #70802] -i'*' refuses to work
Tony Cook [Tue, 8 Dec 2009 11:48:59 +0000 (12:48 +0100)]
[perl #70802] -i'*' refuses to work

Add regression tests
(the bug was fixed by commit c9930541bfa04399c3b648e83c9b750cee1154fb)

14 years agoundef $! before running the errno tests
Bram [Sat, 1 Aug 2009 20:11:22 +0000 (22:11 +0200)]
undef $! before running the errno tests

14 years agolegalize =begin foo bar
Ricardo Signes [Mon, 7 Dec 2009 23:24:59 +0000 (18:24 -0500)]
legalize =begin foo bar

14 years agomore aggressively deprecate L<section> and L<"section">
Ricardo Signes [Mon, 7 Dec 2009 23:21:44 +0000 (18:21 -0500)]
more aggressively deprecate L<section> and L<"section">

14 years agoremove prohibition against L<text|href>
Ricardo Signes [Mon, 7 Dec 2009 23:19:28 +0000 (18:19 -0500)]
remove prohibition against L<text|href>

14 years agoAdd latest test file to MANIFEST
Rafael Garcia-Suarez [Tue, 8 Dec 2009 08:29:11 +0000 (09:29 +0100)]
Add latest test file to MANIFEST

14 years agoutf8cache test: Hugo asks, and I provide. Merry Christmas
Chip Salzenberg [Tue, 8 Dec 2009 08:17:05 +0000 (00:17 -0800)]
utf8cache test: Hugo asks, and I provide. Merry Christmas

14 years agoThrow away uncleanable scopes when exiting a pseudo-forked process.
Jan Dubois [Tue, 8 Dec 2009 01:19:18 +0000 (17:19 -0800)]
Throw away uncleanable scopes when exiting a pseudo-forked process.

Commit adab9969 tried to clean up those additional scopes, but failed
because some of the memory was allocated from a different pool. To
avoid triggering the assert() in perl_destruct() this change instead
moves the one remaining scope back to the root of the stack, effectively
discarding the additional frames without any further processing.

14 years agoThe deep arrays for testing ~~ were not deep enough
Rafael Garcia-Suarez [Mon, 7 Dec 2009 16:51:16 +0000 (17:51 +0100)]
The deep arrays for testing ~~ were not deep enough

Without commit 6bc991bfb3c34a5d286a1202fcc0d740d72dcee7, this test
would now segfault.

14 years agoFix a test that wasn’t testing was it purported to be testing
Rafael Garcia-Suarez [Mon, 7 Dec 2009 14:03:48 +0000 (15:03 +0100)]
Fix a test that wasn’t testing was it purported to be testing

(noticed by Father Chrysostomos, further modified to avoid using
too much overloaded names like foo and Foo.)

14 years ago[perl #71076] sort with active sub (5.10 regression)
Father Chrysostomos [Mon, 7 Dec 2009 13:58:40 +0000 (14:58 +0100)]
[perl #71076] sort with active sub (5.10 regression)

One of the tests in sort.t causes a bus error (or sometimes ‘Undefined
subroutine called’) if run multiple times. This is because sort
decreases the refcount of an active sub used as a comparison routine.

Ironically enough, this test was added by the very change that broke it
(25953/9850bf2).