This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoExtUitls::Install had changes since 5.11.0 - bump its version
Jesse Vincent [Tue, 20 Oct 2009 14:24:05 +0000 (10:24 -0400)]
ExtUitls::Install had changes since 5.11.0 - bump its version

14 years agoBump OS2::DLL's version since it differs from what was shipped in 5.11.0
Jesse Vincent [Tue, 20 Oct 2009 14:17:45 +0000 (10:17 -0400)]
Bump OS2::DLL's version since it differs from what was shipped in 5.11.0

14 years agoBump OS2::Process's version since it differs from the version in 5.11.0
Jesse Vincent [Tue, 20 Oct 2009 14:16:50 +0000 (10:16 -0400)]
Bump OS2::Process's version since it differs from the version in 5.11.0

14 years agoBump overload.pm's version since it differs from the version in 5.11.0
Jesse Vincent [Tue, 20 Oct 2009 14:16:17 +0000 (10:16 -0400)]
Bump overload.pm's version since it differs from the version in 5.11.0

14 years agoBump Carp.pm's version number since it differs from the version in 5.11.0
Jesse Vincent [Tue, 20 Oct 2009 14:15:05 +0000 (10:15 -0400)]
Bump Carp.pm's version number since it differs from the version in 5.11.0

14 years agoBump mro's version number and copyright year, since it differs from 5.11.0
Jesse Vincent [Tue, 20 Oct 2009 14:14:23 +0000 (10:14 -0400)]
Bump mro's version number and copyright year, since it differs from 5.11.0

14 years agoBump B::Consise's version number since it's changed since 5.11.0
Jesse Vincent [Tue, 20 Oct 2009 14:13:16 +0000 (10:13 -0400)]
Bump B::Consise's version number since it's changed since 5.11.0

14 years agoRevert accidental executability of several pod files
Jesse Vincent [Tue, 20 Oct 2009 14:09:14 +0000 (10:09 -0400)]
Revert accidental executability of several pod files

14 years agoUpdated perlport.pod with notes on VMS support from Craig Berry
Jesse Vincent [Tue, 20 Oct 2009 13:57:48 +0000 (09:57 -0400)]
Updated perlport.pod with notes on VMS support from Craig Berry

14 years agoAdded perldelta notes for yves' regex semantics fixups and W2k and VMS "known issues"
Jesse Vincent [Tue, 20 Oct 2009 13:56:04 +0000 (09:56 -0400)]
Added perldelta notes for yves' regex semantics fixups and W2k and VMS "known issues"

14 years agoUpdate Switch version in Maintainers.pl after CPAN upload
Rafael Garcia-Suarez [Tue, 20 Oct 2009 12:41:43 +0000 (14:41 +0200)]
Update Switch version in Maintainers.pl after CPAN upload

14 years agoBump version of Switch to 2.15 for CPAN release
Rafael Garcia-Suarez [Tue, 20 Oct 2009 12:35:28 +0000 (14:35 +0200)]
Bump version of Switch to 2.15 for CPAN release

14 years agoPull out filter setup code from S_swallow_bom() into S_add_utf16_textfilter()
Nicholas Clark [Tue, 20 Oct 2009 08:48:38 +0000 (09:48 +0100)]
Pull out filter setup code from S_swallow_bom() into S_add_utf16_textfilter()

14 years agoMAD-only code in S_swallow_bom() duplicated the actions of sv_setpvn()
Nicholas Clark [Tue, 20 Oct 2009 07:11:07 +0000 (08:11 +0100)]
MAD-only code in S_swallow_bom() duplicated the actions of sv_setpvn()

Remove it. All its writes were byte-for-byte identical with the memory they
overwrote. The bugs it attempts to fix are real, but caused by the design and
implementation of other parts of this routine and S_utf16_textfilter().

14 years agoMerge branch 'corelist-deprecated' into blead
David Golden [Tue, 20 Oct 2009 01:36:50 +0000 (21:36 -0400)]
Merge branch 'corelist-deprecated' into blead

14 years agoformally mark deprecations in Maintainers.pl
David Golden [Tue, 20 Oct 2009 01:36:16 +0000 (21:36 -0400)]
formally mark deprecations in Maintainers.pl

14 years agoRevert part of d1eb317 which broke ./Configure -des -Dusedevel;make
Jesse Vincent [Tue, 20 Oct 2009 01:24:39 +0000 (21:24 -0400)]
Revert part of d1eb317 which broke ./Configure -des -Dusedevel;make

14 years agoUpdating Win32 0.39 to have the same line-endings as CPAN
Jesse Vincent [Mon, 19 Oct 2009 21:18:11 +0000 (17:18 -0400)]
Updating Win32 0.39 to have the same line-endings as CPAN

14 years agoMaintainers.pl updates to better match reality
Jesse Vincent [Mon, 19 Oct 2009 21:04:50 +0000 (17:04 -0400)]
Maintainers.pl updates to better match reality

14 years agopiconv.t from Encode isn't excluded. Fix Maintainers.pl
Jesse Vincent [Mon, 19 Oct 2009 20:17:28 +0000 (16:17 -0400)]
piconv.t from Encode isn't excluded. Fix Maintainers.pl

14 years agorevert to 5.8.x semantics for \s \w and \d
Yves Orton [Mon, 19 Oct 2009 20:49:53 +0000 (22:49 +0200)]
revert to 5.8.x semantics for \s \w and \d

revert ba9ac1759cb6e7a5e6883c85edd0b450061b5ccb

Changing the semantics of \w \s and \d breaks too much
and Jesse wants to do a rollout. This disables the new
semantics until we can get all the details worked out.

14 years agosomewhat fix failing regex tests. but break lots of other stuff at the same time
Yves Orton [Sat, 17 Oct 2009 20:47:20 +0000 (22:47 +0200)]
somewhat fix failing regex tests. but break lots of other stuff at the same time

14 years agoPerl builds fine on Windows 7
Jan Dubois [Mon, 19 Oct 2009 20:50:54 +0000 (13:50 -0700)]
Perl builds fine on Windows 7

14 years agoThe term 'winsock' is an implementation detail.
Jan Dubois [Mon, 19 Oct 2009 20:50:12 +0000 (13:50 -0700)]
The term 'winsock' is an implementation detail.

14 years agoCPANPLUS was upgraded without bumping the version in Porting/Maintainers.pl
Jesse Vincent [Mon, 19 Oct 2009 20:00:54 +0000 (16:00 -0400)]
CPANPLUS was upgraded without bumping the version in Porting/Maintainers.pl

14 years agoMaintainers.pl had a number of MAP errors due to the ext->cpan reorg
Jesse Vincent [Mon, 19 Oct 2009 19:52:19 +0000 (15:52 -0400)]
Maintainers.pl had a number of MAP errors due to the ext->cpan reorg

14 years agoMake core-cpan-diff more aware of the new world order
Jesse Vincent [Mon, 19 Oct 2009 19:37:17 +0000 (15:37 -0400)]
Make core-cpan-diff more aware of the new world order

14 years agoPorting/core-cpan-diff now tells us who the upstream is for dual-lifed modules
Jesse Vincent [Mon, 19 Oct 2009 19:18:35 +0000 (15:18 -0400)]
Porting/core-cpan-diff now tells us who the upstream is for dual-lifed modules

14 years agoUpdate CPANPLUS to CPAN version 0.89_03
Chris Williams [Mon, 19 Oct 2009 19:17:54 +0000 (20:17 +0100)]
Update CPANPLUS to CPAN version 0.89_03

  Changes for 0.89_03     Mon Oct 19 20:06:03 2009
  ================================================
  * Work out if a prereq is a core module and only warn if we can't
    satisfy the required version.

14 years ago* Synced the perlfaq
brian d foy [Mon, 19 Oct 2009 18:19:51 +0000 (13:19 -0500)]
* Synced the perlfaq

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

    aa2b30a3bcbf1ac69f000fe363b0c384fbc44723

dated Thu Oct 15 20:01:45 2009 -0500

14 years agomacroify how we run perl from within the Makefile.
Jesse Vincent [Mon, 19 Oct 2009 17:03:40 +0000 (13:03 -0400)]
macroify how we run perl from within the Makefile.

14 years agoAdd Cygwin to supported platforms list
Jerry D. Hedden [Mon, 19 Oct 2009 14:20:49 +0000 (10:20 -0400)]
Add Cygwin to supported platforms list

14 years agoPorting/makerel no longer massages win32 files during the final tarball build process
Jesse Vincent [Mon, 19 Oct 2009 16:45:21 +0000 (12:45 -0400)]
Porting/makerel no longer massages win32 files during the final tarball build process

I _believe_ that this change will mean that our shipped tarball will
contain all files exactly as they are in the repo - The only difference
will be in file permissions.

I'm told that git can version the execute bit on files. If I'm feeling
especially adventurous, I may write a porting test to ensure that the
right files (and only the right files?) are marked +x in git and then
remove that bit from Porting/makerel. I wouldn't mind it if someone beat
me to that.

14 years agoadd a test_porting target which runs basic porting tests to verify pod, manifest...
Jesse Vincent [Mon, 19 Oct 2009 15:16:02 +0000 (11:16 -0400)]
add a test_porting target which runs basic porting tests to verify pod, manifest, etc

14 years agoConsistent spelling of HP-UX
H.Merijn Brand [Mon, 19 Oct 2009 14:43:52 +0000 (16:43 +0200)]
Consistent spelling of HP-UX

14 years agoRemove the entry about removing Perl_deprecate()
Nicholas Clark [Mon, 19 Oct 2009 14:18:32 +0000 (15:18 +0100)]
Remove the entry about removing Perl_deprecate()

As a minor C function, I feel that at most it should be in "changed internals".
However, as it was not part of the public API, and searches showed that nothing
was using it, likely nothing is going to break if it goes. And if any naughty
code does break:
a: It will be at link time
b: It will be easy to find the cause from git log

I also feel that it's worth removing it, as existing perldeltas are the most
obvious guide for new volunteers in terms of "write something like this".
So having bad examples isn't going to help educate future authors.

14 years agoFix minor pod formatting error in perl5111delta.pod
Nicholas Clark [Mon, 19 Oct 2009 14:17:10 +0000 (15:17 +0100)]
Fix minor pod formatting error in perl5111delta.pod

14 years agoupdate perl5111delta to mark our current release point.
Jesse Vincent [Mon, 19 Oct 2009 14:14:21 +0000 (10:14 -0400)]
update perl5111delta to mark our current release point.

14 years agoperldelta editing
Jesse Vincent [Mon, 19 Oct 2009 14:09:19 +0000 (10:09 -0400)]
perldelta editing

14 years agoHP/UX should have been HP-UX
Jesse Vincent [Mon, 19 Oct 2009 14:08:16 +0000 (10:08 -0400)]
HP/UX should have been HP-UX

14 years agoFirst pass at updating perlport.pod with data from p5p for 5.12
Jesse Vincent [Mon, 19 Oct 2009 14:00:43 +0000 (10:00 -0400)]
First pass at updating perlport.pod with data from p5p for 5.12

14 years agoAdd two (U8 *) casts to placate C++.
Nicholas Clark [Mon, 19 Oct 2009 10:04:54 +0000 (11:04 +0100)]
Add two (U8 *) casts to placate C++.

14 years agoIn utf16_to_utf8(), fix off-by-one errors for the range of valid surrogates.
Nicholas Clark [Sun, 18 Oct 2009 21:09:14 +0000 (22:09 +0100)]
In utf16_to_utf8(), fix off-by-one errors for the range of valid surrogates.

Both high ends were one too low.

14 years agoutf16_to_utf8() should croak on encountering a bare low surrogate.
Nicholas Clark [Sun, 18 Oct 2009 21:01:49 +0000 (22:01 +0100)]
utf16_to_utf8() should croak on encountering a bare low surrogate.

14 years agoutf16_to_utf8() should croak if the buffer ends without the second surrogate.
Nicholas Clark [Sun, 18 Oct 2009 20:55:52 +0000 (21:55 +0100)]
utf16_to_utf8() should croak if the buffer ends without the second surrogate.

14 years agoutf16_to_utf8_reversed() should croak early when passed an odd byte length.
Nicholas Clark [Sun, 18 Oct 2009 20:30:41 +0000 (21:30 +0100)]
utf16_to_utf8_reversed() should croak early when passed an odd byte length.

Rather than transposing n + 1 bytes, including 1 it was not passed, before
calling utf16_to_utf8() and having that croak.
e 69422~

14 years agoExpose utf16_to_utf8{,reversed} via XS::APItest, and provide some basic tests.
Nicholas Clark [Sun, 18 Oct 2009 20:06:06 +0000 (21:06 +0100)]
Expose utf16_to_utf8{,reversed} via XS::APItest, and provide some basic tests.

14 years agoAnother pass at getting the perldelta for 5.11.1 in shape
Jesse Vincent [Sun, 18 Oct 2009 20:21:32 +0000 (16:21 -0400)]
Another pass at getting the perldelta for 5.11.1 in shape

14 years agoEviscerate README.macos to match the state of the world
Jesse Vincent [Sun, 18 Oct 2009 19:05:50 +0000 (15:05 -0400)]
Eviscerate README.macos to match the state of the world

14 years agoRemove Mac OS Classic caveats from perlport.pod as Perl is no longer portable to...
Jesse Vincent [Sun, 18 Oct 2009 18:34:30 +0000 (14:34 -0400)]
Remove Mac OS Classic caveats from perlport.pod as Perl is no longer portable to Mac OS Classic

14 years agoAdded four new AUTHORS who hadn't yet been acknowledged
Jesse Vincent [Sun, 18 Oct 2009 18:22:19 +0000 (14:22 -0400)]
Added four new AUTHORS who hadn't yet been acknowledged

14 years agoRan into Bert Dvornik at a cafe - updated his AUTHORS file address
Jesse Vincent [Sun, 18 Oct 2009 18:12:04 +0000 (14:12 -0400)]
Ran into Bert Dvornik at a cafe - updated his AUTHORS file address

14 years agoMerge S_utf16_textfilter and S_utf16rev_textfilter().
Nicholas Clark [Sun, 18 Oct 2009 16:47:10 +0000 (17:47 +0100)]
Merge S_utf16_textfilter and S_utf16rev_textfilter().

Use IoLINES() on the filter's SV to determine which encoding is in use.

14 years agoNote why S_pending_ident's prototype can't be generated by embed.fnc
Nicholas Clark [Sun, 18 Oct 2009 16:10:02 +0000 (17:10 +0100)]
Note why S_pending_ident's prototype can't be generated by embed.fnc

14 years agoGenerate prototypes for utf16_textfilter and utf16rev_textfilter using embed.fnc
Nicholas Clark [Sun, 18 Oct 2009 16:06:55 +0000 (17:06 +0100)]
Generate prototypes for utf16_textfilter and utf16rev_textfilter using embed.fnc

14 years agoUse gmtime() instead of localtime(), as timezones hinder testing strtime().
Nicholas Clark [Sun, 18 Oct 2009 16:41:19 +0000 (17:41 +0100)]
Use gmtime() instead of localtime(), as timezones hinder testing strtime().

(Specifically negative timezones on operating systems without tzset(). Coming
from Washington State, you would have thought that they would have thought of
this.)

14 years agoFirst pass of weeding commit meesages from "git log v5.11.0..blead" into a perldelta.
Jesse Vincent [Sun, 18 Oct 2009 06:27:11 +0000 (02:27 -0400)]
First pass of weeding commit meesages from "git log v5.11.0..blead" into a perldelta.

perl5111delta.pod is synced up to 704e1b1ec3309aeb0e2629c93331ffd4c18c8183
but needs heavy editing and organization

14 years agoUpdate CPANPLUS to CPAN version 0.89_02
Chris Williams [Sat, 17 Oct 2009 15:37:54 +0000 (16:37 +0100)]
Update CPANPLUS to CPAN version 0.89_02

  Changes for 0.89_02     Sat Oct 17 13:04:59 2009
  ================================================
  * Core module prereqs should be dealt with correctly now.

  Changes for 0.89_01     Fri Oct 16 10:22:43 2009
  ================================================
  * Corrected spelling mistake in CPANPLUS::Configure documentation
  * Fixed a problem with the core module detection when sending
    NA reports
  * Internals::Report will use Parse::CPAN::Meta instead of
    YAML::Tiny for parsing CPAN Test report data
  * Address #50428 Fixed edge-case in the arbitary paths support in
    parse_module(), reported by Robert Krimen
  * Address #49104 Fixed the SYNOPSIS in CPANPLUS::Module::Author::Fake
    reported by Tyler MacDonald
  * Address #47820 Don't try to update custom sources if they are disabled
    in configuration, reported by Curtis Jewell

14 years agoUpgrade to threads::shared 1.32
Jerry D. Hedden [Fri, 16 Oct 2009 17:24:11 +0000 (13:24 -0400)]
Upgrade to threads::shared 1.32

Message-ID: <1ff86f510910161058y554bc05cra48c0c3decd60738@mail.gmail.com>

14 years agoHelp ExtUtils::Install's tests find PERL_SRC on VMS.
Craig A. Berry [Fri, 16 Oct 2009 21:24:35 +0000 (16:24 -0500)]
Help ExtUtils::Install's tests find PERL_SRC on VMS.

We're testing from one level deeper than when we were in lib/.

14 years agorefactor the special CC code in reg_try()
Yves Orton [Fri, 16 Oct 2009 18:52:58 +0000 (20:52 +0200)]
refactor the special CC code in reg_try()

this is a precursor step to fixing the re/pat_special_cc.t failures.

14 years agoEnable deprecation warnings by default.
Nicholas Clark [Tue, 13 Oct 2009 15:04:18 +0000 (16:04 +0100)]
Enable deprecation warnings by default.

14 years agolocked is deprecated, so use :lvalue instead.
Nicholas Clark [Tue, 13 Oct 2009 15:02:05 +0000 (16:02 +0100)]
locked is deprecated, so use :lvalue instead.

14 years agoCan't use C<shift INC> to avoid @ in a commandline now, so use eval and octal.
Nicholas Clark [Tue, 13 Oct 2009 14:59:58 +0000 (15:59 +0100)]
Can't use C<shift INC> to avoid @ in a commandline now, so use eval and octal.

14 years agoshift with barewords is deprecated, so this test from perl 1 needs updating.
Nicholas Clark [Tue, 13 Oct 2009 14:37:12 +0000 (15:37 +0100)]
shift with barewords is deprecated, so this test from perl 1 needs updating.

14 years agopush and pop on barewords are deprecated, so need no warnings 'deprecated';
Nicholas Clark [Tue, 13 Oct 2009 14:36:14 +0000 (15:36 +0100)]
push and pop on barewords are deprecated, so need no warnings 'deprecated';

14 years agoOpening dirhandle DIR also as a file needs no warnings 'deprecated';
Nicholas Clark [Tue, 13 Oct 2009 14:35:15 +0000 (15:35 +0100)]
Opening dirhandle DIR also as a file needs no warnings 'deprecated';

14 years agodefined @array and defined %hash need no warnings 'deprecated';
Nicholas Clark [Tue, 13 Oct 2009 14:33:16 +0000 (15:33 +0100)]
defined @array and defined %hash need no warnings 'deprecated';

14 years agolocalisation of $[ is deprecated, so needs no warnings 'deprecated';
Nicholas Clark [Tue, 13 Oct 2009 14:32:03 +0000 (15:32 +0100)]
localisation of $[ is deprecated, so needs no warnings 'deprecated';

14 years ago:locked is deprecated, so use :lvalue instead.
Nicholas Clark [Tue, 13 Oct 2009 15:39:16 +0000 (16:39 +0100)]
:locked is deprecated, so use :lvalue instead.

14 years agoTests for barewords and hash operators need no warnings 'deprecated';
Nicholas Clark [Tue, 13 Oct 2009 14:26:32 +0000 (15:26 +0100)]
Tests for barewords and hash operators need no warnings 'deprecated';

14 years agodo subname() is deprecated, so tests for it need no warnings 'deprecated';
Nicholas Clark [Tue, 13 Oct 2009 14:25:03 +0000 (15:25 +0100)]
do subname() is deprecated, so tests for it need no warnings 'deprecated';

14 years agodo subname() is deprecated, so update this hunk of test dating from perl 1.
Nicholas Clark [Tue, 13 Oct 2009 14:16:53 +0000 (15:16 +0100)]
do subname() is deprecated, so update this hunk of test dating from perl 1.

14 years agoBracket deprecated features with no warnings 'deprecated';
Nicholas Clark [Tue, 13 Oct 2009 14:16:16 +0000 (15:16 +0100)]
Bracket deprecated features with no warnings 'deprecated';

14 years agodo subname() is deprecated, so this test from perl 3 needs updating.
Nicholas Clark [Tue, 13 Oct 2009 14:14:12 +0000 (15:14 +0100)]
do subname() is deprecated, so this test from perl 3 needs updating.

14 years agoMove tests for $[ from comp/hints.t to op/array_base.t
Nicholas Clark [Tue, 13 Oct 2009 14:10:40 +0000 (15:10 +0100)]
Move tests for $[ from comp/hints.t to op/array_base.t

Tests in t/comp/ are too early to rely on pragmata working.

14 years agoMove tests for $[ from comp/parser.t to op/array_base.t
Nicholas Clark [Tue, 13 Oct 2009 13:33:38 +0000 (14:33 +0100)]
Move tests for $[ from comp/parser.t to op/array_base.t

Tests in t/comp/ are too early to rely on pragmata working.

14 years agodo subname() is deprecated, so this test from perl 1 needs updating.
Nicholas Clark [Tue, 13 Oct 2009 12:56:06 +0000 (13:56 +0100)]
do subname() is deprecated, so this test from perl 1 needs updating.

14 years agoMove the test for the deprecated feature <<; out of t/base/lext.t
Nicholas Clark [Tue, 13 Oct 2009 12:44:50 +0000 (13:44 +0100)]
Move the test for the deprecated feature <<; out of t/base/lext.t

Tests in base can't utilise pragmata, specifically no warnings 'deprecated';

14 years agoAdd no warnings 'deprecated' to a test that assigns to $[
Nicholas Clark [Tue, 13 Oct 2009 12:32:50 +0000 (13:32 +0100)]
Add no warnings 'deprecated' to a test that assigns to $[

14 years agoMake the watchdog create a valid command for spawning.
Craig A. Berry [Fri, 16 Oct 2009 15:58:43 +0000 (10:58 -0500)]
Make the watchdog create a valid command for spawning.

It was inserting a newline in the command string, which
causes a syntax error (at least on VMS).

14 years agoConvert sv_2mortal(newSVpvn()) to newSVpvn_flags(), for 5.11.0 and later.
Nicholas Clark [Fri, 16 Oct 2009 10:59:48 +0000 (11:59 +0100)]
Convert sv_2mortal(newSVpvn()) to newSVpvn_flags(), for 5.11.0 and later.

14 years agoConvert sv_2mortal(newSVpvn_utf8(...)) to newSVpvn_flags()
Nicholas Clark [Fri, 16 Oct 2009 10:41:10 +0000 (11:41 +0100)]
Convert sv_2mortal(newSVpvn_utf8(...)) to newSVpvn_flags()

14 years agoConvert sv_2mortal(newSVpvn(...)) to newSVpvs_flags(..., SVs_TEMP)
Nicholas Clark [Fri, 16 Oct 2009 09:47:14 +0000 (10:47 +0100)]
Convert sv_2mortal(newSVpvn(...)) to newSVpvs_flags(..., SVs_TEMP)

Optionally use ppport.h to provide it for us.

14 years agoAdd missing MANIFEST entries
Steve Hay [Fri, 16 Oct 2009 09:11:16 +0000 (10:11 +0100)]
Add missing MANIFEST entries

Missed by commit 55b77936aef50881a71470fd06e66edffd66d9de

14 years agoRestore 8d2345e02f493825c3e22467caf8508ee3a19450.
Craig A. Berry [Thu, 15 Oct 2009 23:05:50 +0000 (18:05 -0500)]
Restore 8d2345e02f493825c3e22467caf8508ee3a19450.

Also reported upstream this time (oops):

https://rt.cpan.org/Ticket/Display.html?id=50542

14 years agoSkip testing the be_BY.CP1131 locale on Darwin 10, as it's still buggy.
Nicholas Clark [Thu, 15 Oct 2009 22:37:41 +0000 (23:37 +0100)]
Skip testing the be_BY.CP1131 locale on Darwin 10, as it's still buggy.

Correct infelicities in the regexp used to identify buggy locales on Darwin 8
and 9.

14 years agoReplace sv_2mortal(newSVpvn(...)) with newSVpvn_flags(..., SVs_TEMP)
Nicholas Clark [Thu, 15 Oct 2009 22:17:02 +0000 (23:17 +0100)]
Replace sv_2mortal(newSVpvn(...)) with newSVpvn_flags(..., SVs_TEMP)

14 years agoUse newSVpvn(), newSVpvs() and gv_fetchpvs(), the later with proper arguments.
Nicholas Clark [Thu, 15 Oct 2009 19:02:51 +0000 (20:02 +0100)]
Use newSVpvn(), newSVpvs() and gv_fetchpvs(), the later with proper arguments.

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

14 years agoUse gv_stashsv() and gv_fetchpvs(), the later with proper arguments.
Nicholas Clark [Thu, 15 Oct 2009 18:38:08 +0000 (19:38 +0100)]
Use gv_stashsv() and gv_fetchpvs(), the later with proper arguments.

Brought to you by the Campaign for the Elimination of strlen().
(And the elimination of accidental bugs due to typos in lenghts of constants,
and the elimination of abuse of boolean constants for parameters with more than
2 values.)

14 years agoUse sv_catpvs(), newSVpvs(), newSVpvn(), newSVhek(), gv_stashpvs() and the
Nicholas Clark [Thu, 15 Oct 2009 17:51:16 +0000 (18:51 +0100)]
Use sv_catpvs(), newSVpvs(), newSVpvn(), newSVhek(), gv_stashpvs() and the
return value of sprintf().

Brought to you by the Campaign for the Elimination of strlen().
(And the elimination of accidental bugs due to typos in lengths of constant
strings.)

14 years agoIn strftime(), save a malloc()/free() by using sv_usepvn_flags().
Nicholas Clark [Thu, 15 Oct 2009 15:26:51 +0000 (16:26 +0100)]
In strftime(), save a malloc()/free() by using sv_usepvn_flags().

14 years agoPOSIX::strftime() should be able to handle Unicode characters in the format
Nicholas Clark [Thu, 15 Oct 2009 16:09:12 +0000 (17:09 +0100)]
POSIX::strftime() should be able to handle Unicode characters in the format
string.

(Restore the intent of 9e8c01f558a03902ff2f54935fd7e6dcc7ec656c, but with non-
buggy tests. Improve the implementation so that it doesn't always upgrade the
format string to UTF-8.)

14 years agoFix 2 pod errors in perlvms.pod.
Craig A. Berry [Thu, 15 Oct 2009 16:01:33 +0000 (11:01 -0500)]
Fix 2 pod errors in perlvms.pod.

14 years agoMake p_tainted.t find its tests on VMS.
Craig A. Berry [Thu, 15 Oct 2009 15:59:09 +0000 (10:59 -0500)]
Make p_tainted.t find its tests on VMS.

Reported upstream at:

https://rt.cpan.org/Ticket/Display.html?id=50528

14 years agoHmmm... this may be a heisenbug. Works on some terminals but not
Steve Peters [Thu, 15 Oct 2009 14:50:42 +0000 (09:50 -0500)]
Hmmm... this may be a heisenbug.  Works on some terminals but not
others.

This reverts commit 9e8c01f558a03902ff2f54935fd7e6dcc7ec656c.

14 years agoMerge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead
Steve Peters [Thu, 15 Oct 2009 14:14:47 +0000 (09:14 -0500)]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead

14 years agoPOSIX::strftime() should be able to handle Unicode characters in the
Steve Peters [Thu, 15 Oct 2009 14:12:57 +0000 (09:12 -0500)]
POSIX::strftime() should be able to handle Unicode characters in the
format string the same as ASCII ones.

14 years agoMove the boolkeys op to the group of hash ops.
Nicholas Clark [Thu, 15 Oct 2009 14:12:49 +0000 (15:12 +0100)]
Move the boolkeys op to the group of hash ops.

This breaks binary compatibility.

14 years agoOptimise if (%foo) to be faster than if(keys %foo)
demerphq [Thu, 15 Oct 2009 13:27:30 +0000 (14:27 +0100)]
Optimise if (%foo) to be faster than if(keys %foo)

Thread was "[PATCH] Make if (%hash) {} act the same as if (keys %hash) {}"
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-11/msg00432.html
but the implementation evolved from the approach described in the subject, to
instead add a new opcode pp_boolkeys, to exactly preserve the existing
behaviour.

Various conflicts with the passage of time resolved, 'register' removed, and a
$VERSION bump.