platform/upstream/perl.git
13 years agoUpdate Term-UI to CPAN version 0.22
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 23:38:05 +0000 (23:38 +0000)]
Update Term-UI to CPAN version 0.22

  [DELTA]

  Changes for 0.22        Fri Jan  7 21:55:38 GMT  2011
  =====================================================
  * Apply blead patch from Peter Acklam

13 years agoUpdate Params-Check to CPAN version 0.28
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 23:23:45 +0000 (23:23 +0000)]
Update Params-Check to CPAN version 0.28

  [DELTA]

  Changes for 0.28    Fri Jan  7 21:52:28 2011
  ============================================
  * Apply blead patch from Peter Acklam

13 years agodiag.t: Remove printf conversion modifiers from msgs
Karl Williamson [Sat, 8 Jan 2011 23:04:24 +0000 (16:04 -0700)]
diag.t: Remove printf conversion modifiers from msgs

The user doesn't need to know that the message was formatted with, eg., and
'ld' vs just a 'd'

13 years agodiag.t: Check that TODOs haven't been done
Karl Williamson [Sat, 8 Jan 2011 22:43:55 +0000 (15:43 -0700)]
diag.t: Check that TODOs haven't been done

If a TODO diagnostic message is added to perldiag.pod, this patch makes
sure that it warns to remove the TODO.

13 years agodiag.t: Remove TODOs that have been done
Karl Williamson [Sat, 8 Jan 2011 22:40:12 +0000 (15:40 -0700)]
diag.t: Remove TODOs that have been done

13 years agodiag.t: Ignore formatting precisions in messages
Karl Williamson [Sat, 8 Jan 2011 22:33:54 +0000 (15:33 -0700)]
diag.t: Ignore formatting precisions in messages

Neither the user looking up an error message, nor a developer adding it to
perldiag.pod cares about the particular formatting things like whether it has
leading zeros or a field width.  So remove them from both the messages in the
pod and the messages diag.t extracts from the Perl source

13 years agodiag.t: Add checks that pod msgs have severity
Karl Williamson [Sat, 8 Jan 2011 22:10:08 +0000 (15:10 -0700)]
diag.t: Add checks that pod msgs have severity

Also, there were errors in the processing of messages and syntax checking for
message class, such as not accepting digits, so the 'utf8' class was not
accepted.

13 years agodiag.t: Use variable for pod name
Karl Williamson [Sat, 8 Jan 2011 22:07:51 +0000 (15:07 -0700)]
diag.t: Use variable for pod name

13 years agoperldiag.pod: Add missing message severities
Karl Williamson [Sat, 8 Jan 2011 21:44:05 +0000 (14:44 -0700)]
perldiag.pod: Add missing message severities

13 years agoUpdate Object-Accessor to CPAN version 0.38
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 23:09:04 +0000 (23:09 +0000)]
Update Object-Accessor to CPAN version 0.38

  [DELTA]

  Changes for 0.38    Fri Jan  7 21:47:51 GMT  2011
  =================================================
  * Apply blead patch from Peter Acklam

13 years agoUpdate Module-Load-Conditional to CPAN version 0.40
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 22:50:48 +0000 (22:50 +0000)]
Update Module-Load-Conditional to CPAN version 0.40

  [DELTA]

  Changes for 0.40    Fri Jan  7 21:45:01 GMT 2011
  =================================================
  * Apply blead patch from Peter Acklam

13 years agoRemove references to pp.sym from makedef.pl, unused since 2000.
Nicholas Clark [Sat, 8 Jan 2011 20:08:51 +0000 (20:08 +0000)]
Remove references to pp.sym from makedef.pl, unused since 2000.

954c1994944eafa7 removed the only user of pp.sym, but not the code to
manipulate the filename.

13 years agoRemove MacOS (classic) code from makedef.pl.
Nicholas Clark [Sat, 8 Jan 2011 19:53:46 +0000 (19:53 +0000)]
Remove MacOS (classic) code from makedef.pl.

13 years agoIn pp_send, assign to io earlier, and use op_type instead of PL_op->op_type.
Nicholas Clark [Sat, 8 Jan 2011 15:38:16 +0000 (15:38 +0000)]
In pp_send, assign to io earlier, and use op_type instead of PL_op->op_type.

On this platform, this doesn't change the size of the object code, suggesting
that there are all transformations that the optimiser had already spotted.
However, the code is now clearer for humans.

13 years agoIn pp_send, transpose the blocks for OP_SYSWRITE and OP_SEND
Nicholas Clark [Sat, 8 Jan 2011 14:29:08 +0000 (14:29 +0000)]
In pp_send, transpose the blocks for OP_SYSWRITE and OP_SEND

13 years agoUpdate Log-Message to CPAN version 0.04
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 18:51:36 +0000 (18:51 +0000)]
Update Log-Message to CPAN version 0.04

  [DELTA]

  Changes for 0.04    Fri Jan  7 21:41:00 GMT 2011
  =================================================
  * Apply blead patch from Peter Acklam

13 years agoUpdate IPC-Cmd to CPAN version 0.68
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 14:43:40 +0000 (14:43 +0000)]
Update IPC-Cmd to CPAN version 0.68

  [DELTA]

  Changes for 0.68    Fri Jan  7 21:08:58 GMT 2011
  =================================================
  * Apply blead patch from Peter Acklam

13 years agotest append to SV initialized by folded constant
Gerard Goossen [Tue, 21 Dec 2010 13:08:28 +0000 (14:08 +0100)]
test append to SV initialized by folded constant

13 years agoadd a taint test to catch codegen bug
Gerard Goossen [Tue, 21 Dec 2010 12:57:34 +0000 (13:57 +0100)]
add a taint test to catch codegen bug

New test covers something previously done wrong in the experimental
code-generation patch.

13 years agoadd test for split without a pattern
Gerard Goossen [Tue, 21 Dec 2010 12:55:19 +0000 (13:55 +0100)]
add test for split without a pattern

13 years agomore while tests
Gerard Goossen [Thu, 16 Dec 2010 21:12:33 +0000 (22:12 +0100)]
more while tests

Add some while tests, about the context of the last statement in a block
and about reinitializaiton of lexical variables.

13 years agomodernise t/cmd/while.t
Gerard Goossen [Thu, 12 Nov 2009 11:42:37 +0000 (12:42 +0100)]
modernise t/cmd/while.t

Add t/base/while.t testing the basic of a while loop with minimal
dependencies.  Change t/cmd/while.t into a non-base test using "test.pl".

(Includes bugfixes by Zefram over Gerard's original patch.)

13 years agoUpdate File-Fetch to CPAN version 0.30
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 13:06:28 +0000 (13:06 +0000)]
Update File-Fetch to CPAN version 0.30

  [DELTA]

  Changes for 0.30        Fri Jan  7 21:00:27 2011
  =================================================
  * Apply blead patches from Peter Acklam

13 years agoUpdate Archive-Tar to CPAN version 1.76
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 11:59:56 +0000 (11:59 +0000)]
Update Archive-Tar to CPAN version 1.76

  [DELTA]

  * important changes in version 1.76 07/01/2011
  - upstream blead patches from Peter Acklam

13 years agoUpdate Archive-Extract to CPAN version 0.48
Chris 'BinGOs' Williams [Sat, 8 Jan 2011 11:56:25 +0000 (11:56 +0000)]
Update Archive-Extract to CPAN version 0.48

  [DELTA]

  Changes for 0.48    Fri Jan  7 20:45:37 2011
  ============================================
  * upstream blead patches from Peter Acklam

13 years agoutf8_heavy.pl: Remove unused variable declaration
Michael Parker [Fri, 7 Jan 2011 17:38:07 +0000 (10:38 -0700)]
utf8_heavy.pl: Remove unused variable declaration

13 years agoUpdate the policy on doc patches to maint
Jesse Vincent [Fri, 7 Jan 2011 16:14:29 +0000 (00:14 +0800)]
Update the policy on doc patches to maint

13 years agoIn Perl_swash_init(), use call_sv() directly instead of call_method().
Nicholas Clark [Fri, 7 Jan 2011 15:46:57 +0000 (15:46 +0000)]
In Perl_swash_init(), use call_sv() directly instead of call_method().

This gives a small space saving on this platform, likely due to code being
shared with the other call to call_sv(). (It also removes a level of function
call at runtime.)

13 years agoIn Perl_swash_init(), reuse any non-NULL return value from Perl_gv_fetchmeth().
Nicholas Clark [Fri, 7 Jan 2011 14:39:58 +0000 (14:39 +0000)]
In Perl_swash_init(), reuse any non-NULL return value from Perl_gv_fetchmeth().

Historically Perl_swash_init() called Perl_gv_fetchmeth() simply to determine
if the requested package was loaded, and if not, attempt to load it. However,
Perl_gv_fetchmeth() is actually making the same lookup as Perl_call_method()
uses to get a pointer to the relevant method. Hence if we get a non-NULL
return from Perl_gv_fetchmeth() we can pass it directly to Perl_call_sv(), and
save duplicated work.

13 years agoLast typo missed in regen
H.Merijn Brand [Fri, 7 Jan 2011 13:34:09 +0000 (14:34 +0100)]
Last typo missed in regen

13 years agoRe-generated Configure after the spell-check fixes from Peter J. Acklam
H.Merijn Brand [Fri, 7 Jan 2011 13:31:29 +0000 (14:31 +0100)]
Re-generated Configure after the spell-check fixes from Peter J. Acklam

1. re-generate Configure and config_h.SH
2. update Porting/config_H, which was very outdated

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
13 years agoRun make regen after 486ec47ab73770ab updated regcomp.sym.
Nicholas Clark [Fri, 7 Jan 2011 12:50:18 +0000 (12:50 +0000)]
Run make regen after 486ec47ab73770ab updated regcomp.sym.

13 years agoFix typos (spelling errors) in hints/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:35 +0000 (23:12 -0800)]
Fix typos (spelling errors) in hints/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81884]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81884 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Fri, 7 Jan 2011 12:05:25 +0000 (13:05 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

13 years agoFix typos (spelling errors) in utils/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:33 +0000 (23:14 -0800)]
Fix typos (spelling errors) in utils/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81914]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81914 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in qnx/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:10 +0000 (23:14 -0800)]
Fix typos (spelling errors) in qnx/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81908]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81908 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in Cross/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:11:55 +0000 (23:11 -0800)]
Fix typos (spelling errors) in Cross/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81880]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81880 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in cpan/Params-Check/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:10:05 +0000 (23:10 -0800)]
Fix typos (spelling errors) in cpan/Params-Check/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81844]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81844 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/Archive*.
Peter J. Acklam [Fri, 7 Jan 2011 07:06:01 +0000 (23:06 -0800)]
Fix typos (spelling errors) in cpan/Archive*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81776]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81776 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/Term-UI/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:10:58 +0000 (23:10 -0800)]
Fix typos (spelling errors) in cpan/Term-UI/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81862]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81862 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/Object-Accessor/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:10:00 +0000 (23:10 -0800)]
Fix typos (spelling errors) in cpan/Object-Accessor/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81842]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81842 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/Module-Load-Conditional/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:09:46 +0000 (23:09 -0800)]
Fix typos (spelling errors) in cpan/Module-Load-Conditional/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81836]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81836 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/Log-Message/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:09:21 +0000 (23:09 -0800)]
Fix typos (spelling errors) in cpan/Log-Message/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81828]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81828 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/IPC-Cmd/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:08:43 +0000 (23:08 -0800)]
Fix typos (spelling errors) in cpan/IPC-Cmd/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81814]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81814 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/File-Fetch/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:08:02 +0000 (23:08 -0800)]
Fix typos (spelling errors) in cpan/File-Fetch/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81802]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81802 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/CPANPLUS-Dist-Build/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:07:05 +0000 (23:07 -0800)]
Fix typos (spelling errors) in cpan/CPANPLUS-Dist-Build/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81790]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81790 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in cpan/CPANPLUS/*.
Peter J. Acklam [Fri, 7 Jan 2011 07:07:02 +0000 (23:07 -0800)]
Fix typos (spelling errors) in cpan/CPANPLUS/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81788]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81788 >

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos (spelling errors) in Porting/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:14 +0000 (23:14 -0800)]
Fix typos (spelling errors) in Porting/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81910]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81910 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in os2/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:20 +0000 (23:13 -0800)]
Fix typos (spelling errors) in os2/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81900]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81900 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in install files.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:36 +0000 (23:12 -0800)]
Fix typos (spelling errors) in install files.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81886]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81886 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in lib/*
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:59 +0000 (23:12 -0800)]
Fix typos (spelling errors) in lib/*

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81890]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81890 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Fri, 7 Jan 2011 10:31:48 +0000 (11:31 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

13 years agoFix typos (spelling errors) in misc. files.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:03 +0000 (23:13 -0800)]
Fix typos (spelling errors) in misc. files.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81894]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81894 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in MANIFEST.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:01 +0000 (23:13 -0800)]
Fix typos (spelling errors) in MANIFEST.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81892]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81892 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in dist/*
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:42 +0000 (23:12 -0800)]
Fix typos (spelling errors) in dist/*

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81888]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81888 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in x2p/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:50 +0000 (23:14 -0800)]
Fix typos (spelling errors) in x2p/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81920]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81920 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in vms/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:48 +0000 (23:14 -0800)]
Fix typos (spelling errors) in vms/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81918]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81918 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years ago[PATCH] Minor problem in cookie.t
Rainer Tammer [Fri, 7 Jan 2011 10:14:27 +0000 (10:14 +0000)]
[PATCH] Minor problem in cookie.t

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
13 years agoFix typos in pod/*
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:00 +0000 (23:14 -0800)]
Fix typos in pod/*

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81906]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81906 >

13 years agoFix typos (spelling errors) in t/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:45 +0000 (23:14 -0800)]
Fix typos (spelling errors) in t/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81916]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81916 >

13 years agoFix typos (spelling errors) in README*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:14:20 +0000 (23:14 -0800)]
Fix typos (spelling errors) in README*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81912]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81912 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in Perl sources.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:56 +0000 (23:13 -0800)]
Fix typos (spelling errors) in Perl sources.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81904]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81904 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in plan9/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:43 +0000 (23:13 -0800)]
Fix typos (spelling errors) in plan9/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81902]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81902 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in NetWare/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:17 +0000 (23:13 -0800)]
Fix typos (spelling errors) in NetWare/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81898]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81898 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in mpeix/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:13:09 +0000 (23:13 -0800)]
Fix typos (spelling errors) in mpeix/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81896]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81896 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in ext/*.
Peter J. Acklam) (via RT [Fri, 7 Jan 2011 07:12:20 +0000 (23:12 -0800)]
Fix typos (spelling errors) in ext/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81882]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81882 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoFix typos (spelling errors) in beos/*.
Peter J. Acklam) (via RT [Thu, 6 Jan 2011 21:38:10 +0000 (13:38 -0800)]
Fix typos (spelling errors) in beos/*.

# New Ticket Created by  (Peter J. Acklam)
# Please include the string:  [perl #81746]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81746 >

Signed-off-by: Abigail <abigail@abigail.be>
13 years agoUpdate Module::Metadata to 1.000003
David Golden [Fri, 7 Jan 2011 02:38:00 +0000 (21:38 -0500)]
Update Module::Metadata to 1.000003

13 years agoAdd Module::Metadata as a dual-life core module
David Golden [Thu, 6 Jan 2011 03:47:41 +0000 (22:47 -0500)]
Add Module::Metadata as a dual-life core module

This commit adds Module::Metadata 1.000002 as a dual-life module.  It
gathers package and POD information from Perl module files.  It is a
standalone module based on Module::Build::ModuleInfo for use by other
module installation toolchain components.  Module::Build::ModuleInfo
has been deprecated in favor of this module instead.

13 years agoupdate version.pm in Maintainers.pl
David Golden [Fri, 7 Jan 2011 02:07:19 +0000 (21:07 -0500)]
update version.pm in Maintainers.pl

13 years agoSync with version 0.88 on CPAN
John Peacock [Fri, 7 Jan 2011 01:02:37 +0000 (20:02 -0500)]
Sync with version 0.88 on CPAN

13 years agoUpdate to Win32-0.42 from CPAN
Jan Dubois [Fri, 7 Jan 2011 00:07:40 +0000 (16:07 -0800)]
Update to Win32-0.42 from CPAN

13 years agoUpdate K&R-style function declarations in dl_vms.xs.
Craig A. Berry [Thu, 6 Jan 2011 23:48:41 +0000 (17:48 -0600)]
Update K&R-style function declarations in dl_vms.xs.

13 years agoBuild json_pp.com on VMS.
Craig A. Berry [Thu, 6 Jan 2011 23:42:37 +0000 (17:42 -0600)]
Build json_pp.com on VMS.

13 years agoMake newline on last record explicit.
Craig A. Berry [Thu, 6 Jan 2011 01:14:06 +0000 (19:14 -0600)]
Make newline on last record explicit.

On VMS, the last line written to a file will get a trailing newline
willy nilly.  This has its advantages insofar as you never get the
"no newline at end of file" warnings from various utilities, but
reality conflicts with expectations when you explicitly test for
the last (or only) line *not* ending with newline, which is what
the recent addtion to ref.t (5e3072707906cc4cb8a364c4cf7c487df0300caa)
was doing.  Adding an explicit newline makes everyone happy.

13 years agoRemove cc_runtime.h from the VMS build.
Craig A. Berry [Thu, 6 Jan 2011 00:34:18 +0000 (18:34 -0600)]
Remove cc_runtime.h from the VMS build.

Follow-up to 1daf3b755691d9e2e52b73fcc1111714808c874a.

13 years agoAdd Perl::OSType as a dual-life core module
David Golden [Thu, 6 Jan 2011 03:25:23 +0000 (22:25 -0500)]
Add Perl::OSType as a dual-life core module

This commit adds Perl::OSType 1.002 as a dual-life module.  It maps Perl
operating system names (e.g. 'dragonfly' or 'MSWin32') to more generic
types with standardized names (e.g.  "Unix" or "Windows").  It has been
refactored out of Module::Build and ExtUtils::CBuilder and consolidates
such mappings into a single location for easier maintenance.

c.f.
http://www.nntp.perl.org/group/perl.perl5.porters/2010/05/msg160280.html

13 years agoUpdate CGI to CPAN version 3.51
Chris 'BinGOs' Williams [Wed, 5 Jan 2011 23:35:15 +0000 (23:35 +0000)]
Update CGI to CPAN version 3.51

  [DELTA]

  Version 3.51

  [NEW FEATURES]
  - A new option to set $CGI::Carp::TO_BROWSER = 0, allows you to explicitly
    exclude a particular scope from triggering printing to the browser when
    fatatlsToBrowser is set. (RT#62783, Thanks to papowell)
  - The <script> tag now supports the "charset" attribute.
    (RT#62907, Thanks to Fabrice Metge)
  - In CGI::Cookie, "Max-Age" is now supported for better spec compliance.
    (Mark Stosberg)

  [BUG FIXES]
  - Setting charset() now works for all content types, not just "text/*".
    (RT#57945, Thanks to Yanick and Gerv.)
  - support for user temporary directories ($HOME/tmp) was commented out
    in 2.61 but the documentation wasn't updated (Peter Gervai, Niko Tyni)
  - setting $CGITempFile::TMPDIRECTORY before loading CGI.pm has been
    working but undocumented since 3.12 (which listed it in Changes as
    $CGI::TMPDIRECTORY) (Peter Gervai, Niko Tyni)
  - unfortunately the previous change broke the runtime check for looking
    for a new temporary directory if the current one suddenly became
    unwritable (Peter Gervai, Niko Tyni)
  - A bug was fixed in CGI::Carp triggered by certain death cases in
    the BEGIN phase of parent classes.
    (RT#57224, Thanks to UNERA, Yanick Champoux, Mark Stosberg)
  - CGI::Cookie->new() now follows the documentation and returns undef
    if the -name and -value args aren't provided. This new behavior is also
    consistent with the docs and code of CGI::Simple::Cookie. (Mark Stosberg)
  - CGI::Cookie->parse() now trims leading and trailing whitespace from cookie
    elements as intended. The change also makes this part of the parsing
    identical to CGI::Simple::Cookie (Mark Stosberg)
  - Temp file handling was improved (RT#62762)

  [SECURITY]
  - Further improvements have been made to guard against newline injections
    in headers. (Thanks to Max Kanat-Alexander, Yanick Champoux, Mark Stosberg)

  [PERFORMANCE]
  - Make EBCDIC a compile-time constant so there's zero overhead (and less
    compiled code) in subroutines that test for it. (Tim Bunce)
  - If you just want to use CGI::Cookie, CGI.pm will no longer be loaded
    unless you call the bake() method, which requires it. (Mark Stosberg)

  [DOCUMENTATION]
  - quit referring to the <link> tag as being "rarely used".  (Victor Sanders)
  - typo and whitespace fixes (RT#62785, thanks to  scop@cpan.org)
  - The -dtd argument to start_html() is now documented
    (RT#60473, Thanks to giecrilj and steve@fisharerojo.org)
  - CGI::Carp doc are updated to reflect that it can work with mod_perl 2.0.
  - when creating a temporary file in the directory fails, the error message
    could indicate the root of the problem better (Peter Gervai, Niko Tyni)

  [INTERNALS]
  - Re-fixing https test in http.t. (RT#54768, thanks to SPROUT)
  - param_fetch no longer triggers a warning when called with no arguments (ysth, Mark Stosberg)

13 years agoCalling "PRINT" on a tied STDERR can use G_DISCARD, as the result is ignored.
Nicholas Clark [Wed, 5 Jan 2011 16:39:50 +0000 (16:39 +0000)]
Calling "PRINT" on a tied STDERR can use G_DISCARD, as the result is ignored.

13 years agoDevel-Peek/Peek.pm: update example outputs in pod
David Mitchell [Wed, 5 Jan 2011 18:39:30 +0000 (18:39 +0000)]
Devel-Peek/Peek.pm: update example outputs in pod

Quite a lot has changed since those examples were written:
the RV body type no longer exists, the indentation is different,
the address of the SV as well as its body is now displayed,
and various fields are no longer displayed by default.

Also, as per https://rt.cpan.org/Public/Bug/Display.html?id=56286,
the 2-element array example had the wrong FILL/MAX.

13 years agoutf8.h: Add macros for problematic code points
Karl Williamson [Wed, 5 Jan 2011 17:11:49 +0000 (10:11 -0700)]
utf8.h: Add macros for problematic code points

Surrogates, non-character code points, and non-Unicode code points are
problematic in some contexts.  These macros allow easy determination if
a code point is in one of these classes.  There are versions both for
UVs, and utf8-encoded.

13 years agoConvert tied READLINE to using Perl_tied_method()
Nicholas Clark [Wed, 5 Jan 2011 15:47:44 +0000 (15:47 +0000)]
Convert tied READLINE to using Perl_tied_method()

13 years agoperlrepository: Add example of why tests need running
Karl Williamson [Mon, 3 Jan 2011 23:52:53 +0000 (16:52 -0700)]
perlrepository: Add example of why tests need running

13 years agoConvert tied PRINT to using Perl_tied_method()
Nicholas Clark [Wed, 5 Jan 2011 13:19:50 +0000 (13:19 +0000)]
Convert tied PRINT to using Perl_tied_method()

Add a flag TIED_METHOD_SAY to Perl_tied_method(), to allow tied PRINT to
effect C<local $\ = "\n";> within the ENTER/LEAVE pair of Perl_tied_method().

13 years agoConvert tied SPLICE to using Perl_tied_method()
Nicholas Clark [Wed, 5 Jan 2011 12:39:53 +0000 (12:39 +0000)]
Convert tied SPLICE to using Perl_tied_method()

13 years agoRename tied_handle_method() to tied_method(), and make it non-static.
Nicholas Clark [Wed, 5 Jan 2011 11:43:58 +0000 (11:43 +0000)]
Rename tied_handle_method() to tied_method(), and make it non-static.

It can be used for (at least) the call to "SPLICE" from pp_splice.

13 years agoIn pp_sys.c, rename the macro tied_handle_method() to tied_handle_method0()
Nicholas Clark [Wed, 5 Jan 2011 11:07:22 +0000 (11:07 +0000)]
In pp_sys.c, rename the macro tied_handle_method() to tied_handle_method0()

This makes it clear that it's not a direct aTHX_ wrapper for
S_tied_handle_method().

13 years agoThe mg parameter to S_tied_handle_method() can be const MG *
Nicholas Clark [Wed, 5 Jan 2011 10:58:03 +0000 (10:58 +0000)]
The mg parameter to S_tied_handle_method() can be const MG *

13 years agoSplit the flags and argc parameters to S_tied_handle_method().
Nicholas Clark [Wed, 5 Jan 2011 09:47:09 +0000 (09:47 +0000)]
Split the flags and argc parameters to S_tied_handle_method().

Previously they were combined into one numeric value, using a bitshift. This
was a false economy.

13 years agoremove cc_runtime.h from core
David Mitchell [Wed, 5 Jan 2011 11:56:15 +0000 (11:56 +0000)]
remove cc_runtime.h from core

It was only needed for B::CC, which was removed from core
in 5.10.0

13 years agoSupport emulation of AI_NUMERICSERV even though it's not strictly RFC 2553, because...
Paul "LeoNerd" Evans [Tue, 4 Jan 2011 17:04:47 +0000 (17:04 +0000)]
Support emulation of AI_NUMERICSERV even though it's not strictly RFC 2553, because most OSes support it anyway, and it's easy to do

13 years agoperlfaq1: less "more faster"
brian d foy [Wed, 5 Jan 2011 05:00:30 +0000 (23:00 -0600)]
perlfaq1: less "more faster"

13 years agomktables: Small performance enhancement
Karl Williamson [Wed, 5 Jan 2011 00:01:09 +0000 (17:01 -0700)]
mktables: Small performance enhancement

Instead of generating a separate list of missing ranges in a table, it's
less work to use the fill-in the missing ranges feature.

13 years agomktables: white space-only change
Karl Williamson [Tue, 4 Jan 2011 23:59:45 +0000 (16:59 -0700)]
mktables: white space-only change

A previous commit removed the 'if' around this code, so can outdent it.

13 years agomktables: remove unneeded test
Karl Williamson [Tue, 4 Jan 2011 23:56:55 +0000 (16:56 -0700)]
mktables: remove unneeded test

When I was originally writing this code, I thought it was faster to do
an extra substr to avoid a regex match.  I have since found out that is
not true.

13 years agomktables: typos in comments
Karl Williamson [Tue, 4 Jan 2011 23:56:31 +0000 (16:56 -0700)]
mktables: typos in comments

13 years agomktables: improve debug statement
Karl Williamson [Tue, 4 Jan 2011 23:53:13 +0000 (16:53 -0700)]
mktables: improve debug statement

Don't output an empty list.

13 years agomktables: Add error check
Karl Williamson [Tue, 4 Jan 2011 23:50:04 +0000 (16:50 -0700)]
mktables: Add error check

This makes sure that in certain cases when adding to a table that we
know should not have elements in the area that it actually does.

13 years agoUse Zero() rather than rely on C99 struct initialiser behaviour
Paul "LeoNerd" Evans [Tue, 4 Jan 2011 16:38:08 +0000 (16:38 +0000)]
Use Zero() rather than rely on C99 struct initialiser behaviour

Signed-off-by: Ævar Arnfjörð Bjarmason <avar@cpan.org>
13 years agoConvert tied WRITE to using S_tied_handle_method()
Nicholas Clark [Tue, 4 Jan 2011 16:59:46 +0000 (16:59 +0000)]
Convert tied WRITE to using S_tied_handle_method()