platform/upstream/perl.git
14 years agotest stash_name in less.pm
Ricardo Signes [Tue, 12 Jan 2010 16:12:47 +0000 (11:12 -0500)]
test stash_name in less.pm

14 years agocatch the one $class instance missed in less.pm
Ricardo Signes [Tue, 12 Jan 2010 16:09:34 +0000 (11:09 -0500)]
catch the one $class instance missed in less.pm

14 years agoDocument UNIVERSAL->import deprecation in perldelta
Rafael Garcia-Suarez [Tue, 12 Jan 2010 07:29:35 +0000 (08:29 +0100)]
Document UNIVERSAL->import deprecation in perldelta

14 years agoMention name of C constant in feature.pm for greppability
Rafael Garcia-Suarez [Tue, 12 Jan 2010 07:10:01 +0000 (08:10 +0100)]
Mention name of C constant in feature.pm for greppability

14 years agoThe new lvalue warning should not be turned on by default
Rafael Garcia-Suarez [Tue, 12 Jan 2010 07:03:58 +0000 (08:03 +0100)]
The new lvalue warning should not be turned on by default

A check for the warning category was missing from commit
885ef6f56b61fd750ef3b1fa614d11480baac635. Also, document
the warning category in perldiag.

14 years agoDocument new lvalue warning in perldelta
Rafael Garcia-Suarez [Tue, 12 Jan 2010 06:56:28 +0000 (07:56 +0100)]
Document new lvalue warning in perldelta

14 years agoThe "illegalproto" warning category is new in 5.11.4, not 5.11.3
Rafael Garcia-Suarez [Tue, 12 Jan 2010 06:52:53 +0000 (07:52 +0100)]
The "illegalproto" warning category is new in 5.11.4, not 5.11.3

14 years agoNits in perldelta template
Rafael Garcia-Suarez [Tue, 12 Jan 2010 06:50:09 +0000 (07:50 +0100)]
Nits in perldelta template

14 years agoAdd perl5114delta.pod
Rafael Garcia-Suarez [Tue, 12 Jan 2010 06:48:11 +0000 (07:48 +0100)]
Add perl5114delta.pod

14 years agoWith $PERL_UNICODE we still need to find utf8.pm
H.Merijn Brand [Tue, 12 Jan 2010 07:44:14 +0000 (08:44 +0100)]
With $PERL_UNICODE we still need to find utf8.pm

14 years agofix for [perl #65582] anon globs segfaulting
David Mitchell [Tue, 12 Jan 2010 00:14:41 +0000 (00:14 +0000)]
fix for [perl #65582] anon globs segfaulting

The following code has had differing behaviours:

    my $io_ref = *STDOUT{IO};
    my $glob = *$io_ref;

          defined($glob)    "$glob"
          --------------    -------
5.8.8       false           "" with uninit warning
5.10.0      true            (coredump)
this commit true            ""

$glob is essentially an anonymous typeglob (no NAME, EGV or GvSTASH).
It shouldn't register as undefined since it's clearly a valid GV with a
valid IO slot; Stringifying to "" seems to be the right thing, and not
warning seems right too, since its not undef.

14 years agofix for [perl #61976] Errno ($!) not evaluated to a error message string
David Mitchell [Mon, 11 Jan 2010 21:42:07 +0000 (21:42 +0000)]
fix for [perl #61976] Errno ($!) not evaluated to a error message string
(5.10.0 in taint mode)

Change 27176 / 2a509ed3c095f7d712013e653f68821f6bb2d6db fixed a taint
bug, which as a side effect, meant that $! used within a tainted expression
failed to have a string value.

This quick fix just makes sure the POK flag is set (prior to it being
shifted back to pPOK).

14 years agoAdd note to .pod for compound form perl extensions
Karl Williamson [Sun, 27 Dec 2009 02:36:51 +0000 (19:36 -0700)]
Add note to .pod for compound form perl extensions

14 years agoBump less' version
Rafael Garcia-Suarez [Mon, 11 Jan 2010 21:41:17 +0000 (22:41 +0100)]
Bump less' version

14 years agoallow indirection between less and its hints stash name
Ricardo Signes [Mon, 11 Jan 2010 18:52:30 +0000 (13:52 -0500)]
allow indirection between less and its hints stash name

14 years agoRemove [[:posix:]] references because changes not going into 5.12
Karl Williamson [Mon, 11 Jan 2010 17:01:55 +0000 (18:01 +0100)]
Remove [[:posix:]] references because changes not going into 5.12

14 years agofix for [perl #41138] $_ leaks under threads
David Mitchell [Mon, 11 Jan 2010 12:09:12 +0000 (12:09 +0000)]
fix for [perl #41138] $_ leaks under threads

It's possible for an interpreter to get cloned with an SV copied that ends
up only linked from @_. For example, local $x causes a link to the
original $x SV to be added to the save stack, but when cloning a thread
the save stack isn't copied. If the old $x was also in someone's @_,
then it gets copied, but because @_'s elements  aren't normally reference
counted, old $x ends up with a refcount of zero, and you get a "leaked"
warning when the thread exits.

The workaround is to reify any reify-able AVs in the cloned interpreter
during cloning.

Also fixes [perl #70602], [perl #70974]

14 years agoPATCH: perlfunc cleanup, part 1
Tom Christiansen [Mon, 11 Jan 2010 10:04:08 +0000 (11:04 +0100)]
PATCH: perlfunc cleanup, part 1

So I started tidying up the C<delete> and C<each> documentation,
but ended up diddling the file pretty much all over.  There are
some typo corrections, but most of this is just smoothing out
infelicitous wording.  I did add one brief example to C<glob>.

I've made no warnings about delete and slices with negative
indices; I'm hoping that may be fixed, as David has suggested
be done.  It's not a political edit, just a copy-edit.

This is obviously only the first portion of the file, but the
tweaks were getting extensive enough I thought I'd better send
in a checkpoint.  I'll finish it up over the next several days.

14 years ago[perl #71788] Skip $) test when NGROUPS_MAX is too small or when on darwin
Josh ben Jore [Sat, 9 Jan 2010 15:15:52 +0000 (07:15 -0800)]
[perl #71788] Skip $) test when NGROUPS_MAX is too small or when on darwin

14 years agoRemove an extraneous space
Josh ben Jore [Sun, 10 Jan 2010 17:32:08 +0000 (09:32 -0800)]
Remove an extraneous space

14 years agoRe: [perl #71852] Warning "/* within comment" in Win32 config.h-related files
kmx [Mon, 11 Jan 2010 00:38:33 +0000 (00:38 +0000)]
Re: [perl #71852] Warning "/* within comment" in Win32 config.h-related files

(Applied patch and regenerated canned config files)

Message-ID: <4B44FB2B.8080509@volny.cz>

14 years agoRetain builtin attributes from pre-declaration. Fixes [perl #68758].
Gerard Goossen [Sun, 27 Dec 2009 17:02:37 +0000 (18:02 +0100)]
Retain builtin attributes from pre-declaration. Fixes [perl #68758].

14 years agoIgnore a lvalue attribute after the subroutine has been defined, and warn about it...
Gerard Goossen [Sun, 27 Dec 2009 16:24:28 +0000 (17:24 +0100)]
Ignore a lvalue attribute after the subroutine has been defined, and warn about it. Fixes part of [perl #68758].

14 years ago[perl #71924] shmget/semget may return zero as valid id
Rafael Garcia-Suarez [Sun, 10 Jan 2010 22:27:41 +0000 (23:27 +0100)]
[perl #71924] shmget/semget may return zero as valid id

Documentation in perlipc thus fixed by using // instead of ||

14 years agoCompletely avoid autovivification of CORE::GLOBAL::caller
Rafael Garcia-Suarez [Sun, 10 Jan 2010 22:22:35 +0000 (23:22 +0100)]
Completely avoid autovivification of CORE::GLOBAL::caller

(by using symbolic references as suggested by Vincent)

14 years agoTypo fix : caller:: isn't caller
Rafael Garcia-Suarez [Sun, 10 Jan 2010 21:49:31 +0000 (22:49 +0100)]
Typo fix : caller:: isn't caller

(Noticed by Aaron Crane)

14 years agoAdd new prototype warning test file to MANIFEST
Rafael Garcia-Suarez [Sun, 10 Jan 2010 14:44:53 +0000 (15:44 +0100)]
Add new prototype warning test file to MANIFEST

14 years agoPerldelta presentation nits
Rafael Garcia-Suarez [Sun, 10 Jan 2010 14:34:44 +0000 (15:34 +0100)]
Perldelta presentation nits

14 years agoMove prototype parsing related warnings from the 'syntax' top level warnings category...
Matt S Trout [Thu, 10 Dec 2009 18:59:45 +0000 (18:59 +0000)]
Move prototype parsing related warnings from the 'syntax' top level warnings category to a new 'illegalproto' subcategory.

Two warnings can be emitted when parsing a prototype -

  Illegal character in prototype for %s : %s
  Prototype after '%c' for %s : %s

The first one is emitted when any invalid character is found, the latter
when further prototype-type stuff is found after a slurpy entry (i.e. valid
character but in such a place as to be a no-op, and therefore likely a bug).

These warnings are distinct from those emitted when a sub is overwritten by
one with a different prototype, and when calls are made to subroutines with
prototypes - those are in the pre-existing sub-category 'prototype'.

Since modules such as signatures.pm and Web::Simple only need to disable
the warnings during parsing, I chose to add a new category containing only
these. Moving these warnings into the 'prototype' sub-category would have
forced authors to disable more warnings than they intended, and the entire
raison d'etre of this patch is to allow the specific warnings involved to
be disabled.

In order to maintain compatibility with existing code, the new location
needed to be a sub-category of 'syntax' - this means that

  no warnings 'syntax';

will continue to work as expected - even in cases like Web::Simple where all
subcategories extant prior to this patch are re-enabled (this is another
reason why a move into the 'protoype' category would not achieve the desired
goal).

The category name 'illegalproto' was chosen because the most common warning
to encounter is the "Illegal character" one, and therefore 'illegalproto'
while minorly inaccurate by ignoring the (relatively recent and unknown)
second warning is an easy name to spot on an initial skim of perllexwarn
and will behave as expected by also disabling the case of an unusual prototype
that happens to look like a normal one.

This patch updates pod/perllexwarn.pod, perldiag.pod and perl5113delta.pod
to document the new category, toke.c and warnings.pl to create and implement
the new category, and a new test t/op/protowarn.t that verifies the new
behaviour in a number of cases. It also includes the files generated by
regen.pl that are found in the repo - notably warnings.h and lib/warnings.pm.

14 years ago2.024
paul [Sat, 9 Jan 2010 18:32:51 +0000 (18:32 +0000)]
2.024

14 years ago[perl #71948] Documentation error for (*MARK)
Philip Hazel [Sun, 10 Jan 2010 13:47:50 +0000 (14:47 +0100)]
[perl #71948] Documentation error for (*MARK)

The NAME portion of (*MARK:NAME) is not optional.

14 years agoUpdate skip count in perlio.t.
Craig A. Berry [Sat, 9 Jan 2010 22:34:19 +0000 (16:34 -0600)]
Update skip count in perlio.t.

Follow-up to af9379e9ed4daaed65ba42baa492afc842917dd5.

14 years agoPL_sv_serial only exists ifdef DEBUG_LEAKING_SCALARS
David Mitchell [Sat, 9 Jan 2010 11:08:26 +0000 (11:08 +0000)]
PL_sv_serial only exists ifdef DEBUG_LEAKING_SCALARS

Fix for 4149198fba64273f3fea8fc073ccb5d080059f4a which broke
debugging build. Whoops!

14 years agoUpdate Archive-Extract to cpan version 0.38
Chris Williams [Sat, 9 Jan 2010 09:37:30 +0000 (09:37 +0000)]
Update Archive-Extract to cpan version 0.38

  Changes for 0.38    Wed Jan  6 23:48:52 2010
  ============================================
  * Apply a patch from Michael G Schwern RT #53246
    extract() is vulnerable to print globals.

14 years agofix for [perl #66108] Leaked scalars
David Mitchell [Fri, 8 Jan 2010 23:31:45 +0000 (23:31 +0000)]
fix for [perl #66108] Leaked scalars

@DB::args is a hack: it gets set with non-refcounted aliases of the
caller's @_ elements.

Once the sub that ran caller() has exited, @DB::args will contain garbage:
elements will be SVs that have been freed, re-assigned etc.

So as a minimum, when cloning an interpreter, skip cloning @DB::args.

14 years agoreset sv_serial for each new interpreter
David Mitchell [Fri, 8 Jan 2010 19:58:06 +0000 (19:58 +0000)]
reset sv_serial for each new interpreter

to a value of 0 + 1000000*interpreter_number
where interpreter_number is currently just a dirty hash of my_perl

14 years agoin perl_clone() move common code outside ifdef/else blocks
David Mitchell [Fri, 8 Jan 2010 19:30:14 +0000 (19:30 +0000)]
in perl_clone() move common code outside ifdef/else blocks

e diff looks confusing, but basically it changes:

    #ifdef PERL_IMPLICIT_SYS
      ...
      COMMON_BLOCK
    #else
      ...
      COMMON_BLOCK
    #end

into
    #ifdef PERL_IMPLICIT_SYS
      ...
    #else
      ...
    #end
    COMMON_BLOCK

14 years agoin perl_clone() shuffle some ifdefs about a bit
David Mitchell [Fri, 8 Jan 2010 19:22:36 +0000 (19:22 +0000)]
in perl_clone() shuffle some ifdefs about a bit

No change in logic.

14 years agounify #ifdef indent on both sides of PERL_IMPLICIT_SYS in perl_clone()
David Mitchell [Fri, 8 Jan 2010 19:16:07 +0000 (19:16 +0000)]
unify #ifdef indent on both sides of PERL_IMPLICIT_SYS in perl_clone()

14 years agoinclude sv_debug_serial field in debugging output
David Mitchell [Fri, 8 Jan 2010 17:53:29 +0000 (17:53 +0000)]
include sv_debug_serial field in debugging output

14 years agoAvoid race conditions with files in /tmp, by explicitly checking dev & inode.
Nicholas Clark [Thu, 7 Jan 2010 15:54:07 +0000 (15:54 +0000)]
Avoid race conditions with files in /tmp, by explicitly checking dev & inode.

(Concerns raised by and the form of the solution suggested by Bram.)

14 years agoCorrect errors in the use of multiple targets, which could break parallel make.
Nicholas Clark [Thu, 7 Jan 2010 15:17:15 +0000 (15:17 +0000)]
Correct errors in the use of multiple targets, which could break parallel make.

Where a single script (or program) generates multiple files, the Makefile rule
was written with those multiple files as targets on the same line. This would
be correct if that syntax meant "these $n things are built by these commands".

However it doesn't - it means "to build any of these targets, run these
commands", and hence to run them once for each of the targets. This can result
in race conditions with parallel makes, with files being trampled on and
strange failure modes.

Hence the correct style is to give one of the targets on the rule, and rules
that make all the other targets that are generated depend on that target.

14 years agoUnlink PerlIO's tempfiles for the case of no -T, but bogus $ENV{TMPDIR}
Nicholas Clark [Thu, 7 Jan 2010 14:22:39 +0000 (14:22 +0000)]
Unlink PerlIO's tempfiles for the case of no -T, but bogus $ENV{TMPDIR}

When -T is enabled, or when $ENV{TMPDIR} is bogus, perlio.c used a pathname
matching </tmp/PerlIO_??????>. However, it was only correctly unlinking the
file for the case of -T enabled.

14 years agoCleanup PerlIO temp files
Rafael Garcia-Suarez [Thu, 7 Jan 2010 11:12:49 +0000 (12:12 +0100)]
Cleanup PerlIO temp files

14 years ago[perl #71870] Use of uninitialized value in bitwise and B::Deparse
Vincent Pit [Wed, 6 Jan 2010 18:13:27 +0000 (19:13 +0100)]
[perl #71870] Use of uninitialized value in bitwise and B::Deparse

It's better to just silence it in Deparse rather than stopping
B::PMOP::reflags from returning undef because of a non-constant regexp.
That way, we keep the possibility to test for this situation, and it stays
in line with B::PMOP::pregcomp.

Also bump $B::Deparse::VERSION.

14 years agoFix typo in reference
Abigail [Wed, 6 Jan 2010 17:24:14 +0000 (18:24 +0100)]
Fix typo in reference

14 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Wed, 6 Jan 2010 17:20:27 +0000 (18:20 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

14 years agoDocument that interpolating a '(??{ code })' construct in a regular
Abigail [Wed, 6 Jan 2010 17:19:11 +0000 (18:19 +0100)]
Document that interpolating a '(??{ code })' construct in a regular
expression also requires "use re 'eval'", just as '(?{ code })' does.

14 years agoFix a couple of typos and standardize on using 'regexp' instead of
Abigail [Wed, 6 Jan 2010 17:11:37 +0000 (18:11 +0100)]
Fix a couple of typos and standardize on using 'regexp' instead of
using a 'regex'/'regexp' mash.

14 years agovaproto for the other OS's
H.Merijn Brand [Wed, 6 Jan 2010 07:51:20 +0000 (08:51 +0100)]
vaproto for the other OS's

Follow-up to d03b3b00ac22f32af87a752669a46d9d06ae1561

14 years agoIncrease default pipe buffer size on VMS to 8192 on 64-bit systems.
Craig A. Berry [Wed, 6 Jan 2010 04:06:03 +0000 (22:06 -0600)]
Increase default pipe buffer size on VMS to 8192 on 64-bit systems.

As Charles Lane's piping code reaches its 10-year anniversary, it's
time to bump up the default to something slightly more appropriate
for modern systems.  In addition to other benefits, this fixes test
failures when a test script outputs a large amount of text on one
line (e.g., t/re/reg_posixcc.t).

14 years agovaproto for VMS.
Craig A. Berry [Wed, 6 Jan 2010 03:18:14 +0000 (21:18 -0600)]
vaproto for VMS.

Follow-up to d03b3b00ac22f32af87a752669a46d9d06ae1561, which broke
the build.

14 years ago[perl #71748] Bleadperl f0e67a1 breaks CPAN: Template::Plugin::YAML::Encode 0.02
Zefram [Tue, 5 Jan 2010 21:57:36 +0000 (22:57 +0100)]
[perl #71748] Bleadperl f0e67a1 breaks CPAN: Template::Plugin::YAML::Encode 0.02

Unsurprisingly, the nature of the bug is that I accidentally changed
the logic of one of the several types of space skipping.  Fix attached.

14 years agoAvoid a possible race condition where a parallel make might
Andy Dougherty [Tue, 5 Jan 2010 16:28:39 +0000 (11:28 -0500)]
Avoid a possible race condition where a parallel make might
attempt to update git_version.h and lib/Config_git.pl in
concurrent processes.

14 years agoSort the initialisers to non_bincompat_options[], and fix a whitespace "error".
Nicholas Clark [Tue, 5 Jan 2010 14:23:52 +0000 (14:23 +0000)]
Sort the initialisers to non_bincompat_options[], and fix a whitespace "error".

14 years agoAdd USE_ATTRIBUTES_FOR_PERLIO to the list of -V's compile-time options.
Nicholas Clark [Tue, 5 Jan 2010 13:56:31 +0000 (13:56 +0000)]
Add USE_ATTRIBUTES_FOR_PERLIO to the list of -V's compile-time options.

14 years agoTie::Hash::NamedCapture::* shouldn't abort if passed bad input [RT #71828]
Nicholas Clark [Tue, 5 Jan 2010 10:58:06 +0000 (10:58 +0000)]
Tie::Hash::NamedCapture::* shouldn't abort if passed bad input [RT #71828]

14 years agoNote which t/ subdirs are not suitable for test.pl use
Rafael Garcia-Suarez [Tue, 5 Jan 2010 08:56:58 +0000 (09:56 +0100)]
Note which t/ subdirs are not suitable for test.pl use

14 years agoFD 4 is not (yet) open at this stage.
H.Merijn Brand [Tue, 5 Jan 2010 08:36:19 +0000 (09:36 +0100)]
FD 4 is not (yet) open at this stage.

Regenerated after backporting 88a6f4fc380d30c40
Please *do* remember to notify the metaconfig folk when directly patching Configure
Bring back Missing parts

14 years agoPATCH: minor typo cleanup of pod/ directory
Tom Christiansen [Tue, 5 Jan 2010 03:32:51 +0000 (20:32 -0700)]
PATCH: minor typo cleanup of pod/ directory

These are all in the pod/ directory, and only the first is a code fix.
There was also a single lingering ISO 8859-1 encoding that missed the
UTF-8 upconvert.  The rest are cleanups for typos, some of which seem
to have been around for a rather long time: spelling errors, incorrect
possessives, and extra, missing, or duplicated words.

If you actually read through, I bet you'll realize what sparked this. :)

--tom

Signed-off-by: Abigail <abigail@abigail.be>
14 years agoperlguts: mutli-threaded typo
Reini Urban [Mon, 4 Jan 2010 18:39:00 +0000 (18:39 +0000)]
perlguts: mutli-threaded typo

--
Reini Urban
http://phpwiki.org/           http://murbreak.at/

From 76ebe81f50d97e606c4243d5060d4749f7408deb Mon Sep 17 00:00:00 2001
From: Reini Urban <rurban@x-ray.at>
Date: Mon, 4 Jan 2010 18:09:25 +0000
Subject: [PATCH 1/2] perlguts: mutli-threaded typo

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agoperlguts: B::Generate already works
Reini Urban [Mon, 4 Jan 2010 18:39:44 +0000 (18:39 +0000)]
perlguts: B::Generate already works

--
Reini Urban
http://phpwiki.org/           http://murbreak.at/

From 520f6e768bdf71ad35740698df2d4c7f0bb7ae9e Mon Sep 17 00:00:00 2001
From: Reini Urban <rurban@x-ray.at>
Date: Mon, 4 Jan 2010 18:16:14 +0000
Subject: [PATCH 2/2] perlguts: B::Generate already works

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agoA mechanism for inlineable OP equivalents of XSUBs is a TODO.
Nicholas Clark [Mon, 4 Jan 2010 13:03:31 +0000 (13:03 +0000)]
A mechanism for inlineable OP equivalents of XSUBs is a TODO.

14 years agoFollowing fd909433c7437296, check that {sub f} correctly stubs the subroutine.
Nicholas Clark [Mon, 4 Jan 2010 11:23:55 +0000 (11:23 +0000)]
Following fd909433c7437296, check that {sub f} correctly stubs the subroutine.

14 years agoAllow "{sub f}" to compile
Vincent Pit [Sun, 3 Jan 2010 15:33:35 +0000 (16:33 +0100)]
Allow "{sub f}" to compile

14 years agoBump version of UNIVERSAL.pm
Rafael Garcia-Suarez [Sun, 3 Jan 2010 14:47:35 +0000 (15:47 +0100)]
Bump version of UNIVERSAL.pm

14 years agodial back warnings on UNIVERSAL->import
Ricardo Signes [Tue, 29 Dec 2009 13:16:24 +0000 (08:16 -0500)]
dial back warnings on UNIVERSAL->import

still warn on UNIVERSAL->import(@args)
do not warn on UNIVERSAL->import; this means "use UNIVERSAL;" is
still accepted without warning (for better or worse)

14 years agoadvice regarding make regen changes
Jim Cromie [Thu, 31 Dec 2009 05:09:03 +0000 (00:09 -0500)]
advice regarding make regen changes

14 years agoCC compiler updates for >=5.10
Reini Urban [Sun, 3 Jan 2010 12:09:02 +0000 (12:09 +0000)]
CC compiler updates for >=5.10

    PP_EVAL: nullify the string loop, analog to the old retstack.
             pp_leaveeval sets: retop = cx->blk_eval.retop
    PP_ENTERTRY: See PERL_FLEXIBLE_EXCEPTIONS in cop.h

14 years agoTT is not a terminal in lots of situations.
Craig A. Berry [Thu, 31 Dec 2009 03:43:43 +0000 (21:43 -0600)]
TT is not a terminal in lots of situations.

d1585ceaf66a98c6f5f3520ecf3dec4ccc98a1d6 didn't go far enough.  TT may
be a mailbox when we're in a subprocess, for example.  So skip on VMS
unless TT translates to one of the more common terminal device names.

14 years agos/text message/text editor/ in the last change to perlrepository.pod
Vincent Pit [Wed, 30 Dec 2009 22:53:22 +0000 (23:53 +0100)]
s/text message/text editor/ in the last change to perlrepository.pod

Spotted by David E. Wheeler.

14 years agoUpdate perlrepository.pod with new guidelines on commit messages and patches.
Jesse Vincent [Tue, 29 Dec 2009 01:47:19 +0000 (20:47 -0500)]
Update perlrepository.pod with new guidelines on commit messages and patches.

Karl Williamson pointed out to me that our existing guidelines on
commit messages in 'perlrepository.pod' were somewhat less than ideal.

This commit improves our documentation for commit messages, though it
may want cleanup or further improvement.

14 years agoCorrect \p{print} to not match LINE SEPARATOR nor PARAGRAPH SEPARATOR
Karl Williamson [Tue, 29 Dec 2009 23:38:38 +0000 (16:38 -0700)]
Correct \p{print} to not match LINE SEPARATOR nor PARAGRAPH SEPARATOR

The Unicode Standard defines (as a recommendation) that Print be based on
graphical characters and blank characters (minus controls).  Perl's has been
based on space rather than blank. The only practical effect this has is that
Perl erroneously matches the LINE SEPARATOR and PARAGRAPH SEPARATOR, which
clearly are not printable characters.

Signed-off-by: Abigail <abigail@abigail.be>
14 years agoAdd a usage scenario and common use pattern to perldoc -f quotemeta
Shlomi Fish [Wed, 30 Dec 2009 11:18:23 +0000 (12:18 +0100)]
Add a usage scenario and common use pattern to perldoc -f quotemeta

14 years agoPATCH: correct grammatical error in perlunicode.pod
karl williamson [Tue, 29 Dec 2009 20:13:18 +0000 (13:13 -0700)]
PATCH: correct grammatical error in perlunicode.pod

Attached

From 75bb462da5f7ea844447dfdd7d9aadfe15f6dcf3 Mon Sep 17 00:00:00 2001
From: Karl Williamson <khw@khw-desktop.(none)>
Date: Tue, 29 Dec 2009 13:08:28 -0700
Subject: [PATCH] Correct grammatical error in perlunicode.pod

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agoGuard open.t against Encode not being available
H.Merijn Brand [Tue, 29 Dec 2009 16:17:21 +0000 (17:17 +0100)]
Guard open.t against Encode not being available

Similar changes should/could be made to cpan/CGI/t/utf8.t
and ext/XS-APItest/t/utf16_to_utf8.t

Reasoning is my smokes being built without Encode, because
it takes too long.

14 years agoPATCH: document all Perl Unicode \p{} extensions
karl williamson [Mon, 28 Dec 2009 16:16:27 +0000 (09:16 -0700)]
PATCH: document all Perl Unicode \p{} extensions

This also changes some C<> constructs.

From d01b049b3aa9bc3a394adb30d6db735f5dd52321 Mon Sep 17 00:00:00 2001
From: Karl Williamson <khw@khw-desktop.(none)>
Date: Mon, 28 Dec 2009 09:14:48 -0700
Subject: [PATCH] Document all perl Unicode \p extensions

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years agoPATCH: Makefile in lib/unicore shouldn't clean .t file
karl williamson [Mon, 28 Dec 2009 03:31:56 +0000 (20:31 -0700)]
PATCH: Makefile in lib/unicore shouldn't clean .t file

Attached.

From 35eb2eee53740951b4f3dd7e96dc030d38e84ba7 Mon Sep 17 00:00:00 2001
From: Karl Williamson <khw@khw-desktop.(none)>
Date: Sun, 27 Dec 2009 20:30:00 -0700
Subject: [PATCH] make clean shouldn't remove .t file

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
14 years ago* fix a perlop fix from debian: http://bugs.debian.org/514814
brian d foy [Sun, 27 Dec 2009 10:01:57 +0000 (11:01 +0100)]
* fix a perlop fix from debian: bugs.debian.org/514814

The original said

     C<< <I<filehandle>> >>

The italic is probably meant for "filehandle", which is a stand-in
for a concrete filehandle. The italic should not apply to the
syntax for the line input operator.

The fix turned it inside out and brought back the ugly interior
sequences:

     I< C< E<lt>filehandleE<gt> > >

It's much better without worrying about the italic face.

14 years agoUpdate pods
Karl Williamson [Fri, 25 Dec 2009 17:40:56 +0000 (10:40 -0700)]
Update pods

Signed-off-by: Abigail <abigail@abigail.be>
14 years agoUpdate .pods
Karl Williamson [Fri, 25 Dec 2009 05:54:58 +0000 (22:54 -0700)]
Update .pods

Signed-off-by: Abigail <abigail@abigail.be>
14 years ago[perl #70748] threads panic in del_backref
Father Chrysostomos [Tue, 22 Dec 2009 13:03:49 +0000 (14:03 +0100)]
[perl #70748] threads panic in del_backref

This was caused by change 34210/41fae7a, which simply reveals a bug that
already existed.

A sub returned from a thread brings a lot of baggage with it, including
some globs. There is this comment near the top of Perl_sv_dup in the
if(param->flags & CLONEf_JOIN_IN) block that reads:
        /** don't clone stashes if they already exist **/

Then later on, under case SVt_PVGV:
        /* Don't call sv_add_backref here as it's going to be
           created as part of the magic cloning of the symbol
           table. */

So what’s happening is that there is a glob with no back-reference in its
stash, which glob is sometimes freed after the stash, so it induces the
panic.

14 years agoFix up pods for \X
Karl Williamson [Mon, 21 Dec 2009 18:44:35 +0000 (11:44 -0700)]
Fix up pods for \X

14 years agoexpand-macro.pl was printing the header include to STDOUT by mistake.
Nicholas Clark [Mon, 21 Dec 2009 11:48:38 +0000 (11:48 +0000)]
expand-macro.pl was printing the header include to STDOUT by mistake.

This stopped it expanding macros in header files not directly or indirectly
included via perl.h or EXTERN.h

The bug was introduced with change 4784c5e80ccedd3734ce162e02ed1c7e25e60c01.

14 years agoThe use of PTH will be unsupported in perl-5.12 for HP-UX 10.20
H.Merijn Brand [Mon, 21 Dec 2009 11:17:57 +0000 (12:17 +0100)]
The use of PTH will be unsupported in perl-5.12 for HP-UX 10.20

14 years agohave corelist-perldelta.pl generate add'l sections
David Golden [Mon, 21 Dec 2009 05:06:11 +0000 (00:06 -0500)]
have corelist-perldelta.pl generate add'l sections

14 years agofix CPAN.pm test broken by hotfixes
David Golden [Mon, 21 Dec 2009 04:03:30 +0000 (23:03 -0500)]
fix CPAN.pm test broken by hotfixes

14 years agolocal version number bumps for CPAN.pm hotfixes
David Golden [Mon, 21 Dec 2009 03:53:57 +0000 (22:53 -0500)]
local version number bumps for CPAN.pm hotfixes

14 years agonote CPAN hotfixes in perldelta
David Golden [Mon, 21 Dec 2009 03:45:05 +0000 (22:45 -0500)]
note CPAN hotfixes in perldelta

14 years agohotfix CPAN.pm to force only ftp URLs
David Golden [Mon, 21 Dec 2009 03:38:26 +0000 (22:38 -0500)]
hotfix CPAN.pm to force only ftp URLs

CPAN::FTP has problems with curl and other command line
programs.  Having mirror autoconfig prefer http URLs was
triggering these bugs for any bootstrap installation without
LWP.

This hotfix forces only ftp URLs from autoconfig which
hides the problem for now until CPAN::FTP can be fixed
upstream.

14 years agohotfix App::Cpan
David Golden [Mon, 21 Dec 2009 02:51:41 +0000 (21:51 -0500)]
hotfix App::Cpan

Suppresses uninitialized warnings and NullLogger output.  Changes
have already been submitted to upstream repos.

14 years agofix pod typo in how_to_write_a_perldelta.pod
David Golden [Sun, 20 Dec 2009 23:18:34 +0000 (18:18 -0500)]
fix pod typo in how_to_write_a_perldelta.pod

14 years agoUpdate Module::CoreList for the new Encode (and seeming missing updates from M::B...
Jesse Vincent [Sun, 20 Dec 2009 22:57:02 +0000 (17:57 -0500)]
Update Module::CoreList for the new Encode (and seeming missing updates from M::B update)

14 years agoFirst pass at noting the update to Encode 2.39 rgs applied
Jesse Vincent [Sun, 20 Dec 2009 22:54:11 +0000 (17:54 -0500)]
First pass at noting the update to Encode 2.39 rgs applied

14 years agoFull initial pass at perldelta. ready for sanity checking
Jesse Vincent [Sun, 20 Dec 2009 22:50:07 +0000 (17:50 -0500)]
Full initial pass at perldelta. ready for sanity checking

14 years agoMerge branch 'blead' of git+ssh://perl5.git.perl.org/perl into blead
Jesse Vincent [Sun, 20 Dec 2009 22:39:02 +0000 (17:39 -0500)]
Merge branch 'blead' of git+ssh://perl5.git.perl.org/perl into blead

* 'blead' of git+ssh://perl5.git.perl.org/perl:
  Unicode documentation updates

14 years agoNote U+0FFFF regex support in perldelta
Jesse Vincent [Sun, 20 Dec 2009 22:38:47 +0000 (17:38 -0500)]
Note U+0FFFF regex support in perldelta

14 years agoUnicode documentation updates
Karl Williamson [Sun, 20 Dec 2009 22:33:56 +0000 (23:33 +0100)]
Unicode documentation updates

14 years agoMerge branch 'blead' of git+ssh://perl5.git.perl.org/perl into blead
Jesse Vincent [Sun, 20 Dec 2009 22:27:15 +0000 (17:27 -0500)]
Merge branch 'blead' of git+ssh://perl5.git.perl.org/perl into blead

* 'blead' of git+ssh://perl5.git.perl.org/perl:
  Upgrade to Encode 2.39

14 years agofurther perldelta triage
Jesse Vincent [Sun, 20 Dec 2009 22:20:43 +0000 (17:20 -0500)]
further perldelta triage