Nicholas Clark [Sat, 24 Oct 2009 09:25:28 +0000 (10:25 +0100)]
Make defined %hash on a non-lexical (also) generate a deprecated warning.
Tk has been fixed, and no longer uses defined %stash:: to determine if a package
has been loaded.
Nicholas Clark [Sat, 24 Oct 2009 09:23:05 +0000 (10:23 +0100)]
Add perl5112delta, and change 5111delta from being "the" perldelta.
Nicholas Clark [Fri, 23 Oct 2009 20:30:43 +0000 (21:30 +0100)]
In Locale::Maketext, avoid using defined @array and defined %hash.
Nicholas Clark [Fri, 23 Oct 2009 20:33:27 +0000 (21:33 +0100)]
In I18N::LangTags::Detect, avoid using defined @array and defined %hash.
Nicholas Clark [Fri, 23 Oct 2009 20:30:18 +0000 (21:30 +0100)]
Avoid using defined @array in core tests.
Nicholas Clark [Fri, 23 Oct 2009 20:29:49 +0000 (21:29 +0100)]
Avoid using defined %hash in core code and tests.
Chris Williams [Fri, 23 Oct 2009 21:00:37 +0000 (22:00 +0100)]
Updated Module::Load::Conditional to cpan version 0.32
Vincent Pit [Fri, 23 Oct 2009 20:34:04 +0000 (22:34 +0200)]
Cap the exit code of the bisecting script
Segfaults cause $? to be set to 139 on my machine, which stops the bisect
process.
Vincent Pit [Fri, 23 Oct 2009 20:26:57 +0000 (22:26 +0200)]
"-x ./foo" isn't a shell command, but "[ -x ./foo ]" is
Nicholas Clark [Fri, 23 Oct 2009 19:58:28 +0000 (20:58 +0100)]
Convert the 2 Storable tests that use Test to use Test::More.
Nicholas Clark [Fri, 23 Oct 2009 19:52:39 +0000 (20:52 +0100)]
Convert the Pod::Perldoc tests from Test to Test::More.
Not that they test much, other than require of the various modules.
Nicholas Clark [Fri, 23 Oct 2009 19:44:42 +0000 (20:44 +0100)]
Convert the odd Locale::Maketext test out from Test to Test::More.
All the others were using Test::More already.
Nicholas Clark [Fri, 23 Oct 2009 18:37:25 +0000 (19:37 +0100)]
Convert File/CheckTree.t from Test to Test::More.
Nicholas Clark [Fri, 23 Oct 2009 17:32:22 +0000 (18:32 +0100)]
Convert tests in ext/ from Test to Test::More.
Nicholas Clark [Fri, 23 Oct 2009 15:54:10 +0000 (16:54 +0100)]
S_run_user_filter() can use the filter GV itself for the cache buffer.
This saves allocating an extra SV head and body.
Nicholas Clark [Fri, 23 Oct 2009 14:44:16 +0000 (15:44 +0100)]
S_utf16_textfilter() can use the filter GV itself for an SV buffer.
This saves allocating an extra SV head and body.
Chris Williams [Fri, 23 Oct 2009 11:33:09 +0000 (12:33 +0100)]
Updated CPANPLUS to cpan version 0.89_04
Changes for 0.89_04 Fri Oct 23 11:12:57 2009
================================================
* Added deprecated dual-life module support which
requires newer versions of Module::CoreList and
Module::Load::Conditional
Chris Williams [Fri, 23 Oct 2009 11:30:26 +0000 (12:30 +0100)]
Updated Module::Load::Conditional to cpan version 0.31_01
Changes for 0.31_01 Fri Oct 23 09:47:12 BST 2009
=================================================
* Added DEPRECATED and support for determining if
a core module is loaded from perl lib path and
setting uptodate accordingly.
Zefram [Fri, 23 Oct 2009 09:13:21 +0000 (11:13 +0200)]
a2p match() faulty
While I was doing the $[ thing, I discovered a bug in a2p's handling of
the match() operator. It uses a comma operator, which has unintended
behaviour in list context (e.g., in a print statement). It also returns
empty string for a non-match, rather than the required 0.
Rafael Garcia-Suarez [Fri, 23 Oct 2009 07:52:12 +0000 (09:52 +0200)]
CPAN release of Switch 2.16
H.Merijn Brand [Fri, 23 Oct 2009 06:23:12 +0000 (08:23 +0200)]
ExtUtils-Install tests need abs_path @INC for utf8
Zefram [Thu, 22 Oct 2009 23:27:42 +0000 (00:27 +0100)]
a2p generates code using $[
I missed earlier that the a2p documentation mentions $[. Patch attached.
The same doc section has a couple of other paragraphs that look like
they need updating, but I'm not sure what to do with them: one refers
to keys() not applying to arrays, and one is about $#.
-zefram
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Zefram [Thu, 22 Oct 2009 22:27:57 +0000 (00:27 +0200)]
[perl #69838] a2p generates code using $[
Rafael Garcia-Suarez [Thu, 22 Oct 2009 22:22:16 +0000 (00:22 +0200)]
[perl #69903] 5.10.1 perlretut section "A bit of magic: executing Perl code in a regular expression" documentation
The docs were now wrong, due to new optimisations to the regexp engine.
Ben Morrow [Wed, 21 Oct 2009 14:33:55 +0000 (15:33 +0100)]
Let SvRX(OK) recognise a bare REGEXP.
This means that re::is_regexp(${qr/x/}) will now return true.
Ben Morrow [Thu, 22 Oct 2009 21:17:51 +0000 (23:17 +0200)]
RT#69616: regexp SVs lose regexpness in assignment
It uses reg_temp_copy to copy the REGEXP onto the destination SV without
needing to copy the underlying pattern structure. This means changing
the prototype of reg_temp_copy, so it can copy onto a passed-in SV, but
it isn't API (and probably shouldn't be exported) so I don't think this
is a problem.
Rafael Garcia-Suarez [Thu, 22 Oct 2009 21:04:14 +0000 (23:04 +0200)]
Remove the venerable fatal error "Runaway format"
This solves bug "[perl #69927] wrong runaway error for write",
which is a link to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=77707
Rafael Garcia-Suarez [Thu, 22 Oct 2009 20:39:45 +0000 (22:39 +0200)]
Remove file t/0 added by last commit
Make the test create it instead
Brad Gilbert [Thu, 22 Oct 2009 20:03:40 +0000 (22:03 +0200)]
Bare readdir in while loop now sets $_
Rafael Garcia-Suarez [Thu, 22 Oct 2009 19:57:00 +0000 (21:57 +0200)]
POD link fix
Nicholas Clark [Thu, 22 Oct 2009 19:17:54 +0000 (20:17 +0100)]
In S_utf16_textfilter() replace sv_chop() with code, as we move 1 byte at most.
Nicholas Clark [Thu, 22 Oct 2009 18:39:30 +0000 (19:39 +0100)]
S_utf16_textfilter() needs to avoid splitting UTF-16 surrogate pairs.
Easier said than done.
Nicholas Clark [Thu, 22 Oct 2009 15:39:38 +0000 (16:39 +0100)]
Test requiring files with non-BMP characters (encoded as surrogate pairs).
Nicholas Clark [Thu, 22 Oct 2009 14:28:47 +0000 (15:28 +0100)]
Tests for UTF-16 characters > 256, including those containing the octet 10.
H.Merijn Brand [Thu, 22 Oct 2009 14:15:29 +0000 (16:15 +0200)]
../lib isn't valid after a chdir "..";
Nicholas Clark [Thu, 22 Oct 2009 12:30:03 +0000 (13:30 +0100)]
Perl_utf16_to_utf8() should treat "\0" like any every other odd-length input.
The "be understanding" bodge to not panic, introduced in
1de9afcdf18cf98b, is
no longer needed now that
c28d61051c446453 fixes the underlying problem.
Nicholas Clark [Thu, 22 Oct 2009 10:50:40 +0000 (11:50 +0100)]
Re-write S_utf16_textfilter() to correctly handle partial reads of UTF-16.
Treat any (and all) octects after the BOM (or all, if there was no BOM) as
initial read data for the filter, and call it to convert them to the first
line, reading more if necessary. This correctly handles the "problem" that
UTF-16LE read as a line, on the assumption that it's ASCII/ISO-8859-*/UTF-8/etc
will be truncated after the first octect of the "\n\0" pair that is "\n"
encoded as UTF-16LE. This fixes bug #69678.
Read from the upstream filter in block mode, rather than line mode.
Nicholas Clark [Thu, 22 Oct 2009 08:26:58 +0000 (09:26 +0100)]
Remove the "hack" that removes SVt_UTF8 in the UTF16 filter, by fixing t/TEST
Given that t/TEST already had code to add -I../lib when testing UTF-8 with
-utf8, do likewise for testing UTF-16 with -utf16.
Chris Williams [Thu, 22 Oct 2009 09:25:33 +0000 (10:25 +0100)]
Added 2.21 changes to the Module::CoreList Changes file
Chris Williams [Thu, 22 Oct 2009 09:18:05 +0000 (10:18 +0100)]
Updated Changes file for Module::CoreList
Rafael Garcia-Suarez [Wed, 21 Oct 2009 17:34:06 +0000 (19:34 +0200)]
Bump base and fields versions to 2.15
Rafael Garcia-Suarez [Wed, 21 Oct 2009 17:07:09 +0000 (19:07 +0200)]
Fix built-in prototype of each, keys, and values
Since those keywords can now compile to two different ops each,
the usual inspection of opflags is not sufficient for perl to
return a meaningful prototype. So we hardcode the correct return
value for 5.12 : \[@%]
David Golden [Thu, 22 Oct 2009 03:25:49 +0000 (23:25 -0400)]
Install Switch from CPAn into 'site', not 'perl'
Nicholas Clark [Wed, 21 Oct 2009 19:28:36 +0000 (20:28 +0100)]
Refactor S_utf16_textfilter() to use a second SV for the UTF-16 input.
Re-use the same SV for each call. Store it in IoTOP_GV(filter).
Nicholas Clark [Wed, 21 Oct 2009 17:42:57 +0000 (18:42 +0100)]
Perl_utf16_to_utf8() should return the correct length when being "understanding"
("be understanding" being a bodge added in
1de9afcdf18cf98b, which will soon go
when I fix the underlying cause of the bugs it works around.)
Nicholas Clark [Wed, 21 Oct 2009 20:40:06 +0000 (21:40 +0100)]
Remove the PERLIO * argument to S_filter_gets(), as it's always PL_rsfp
Conceptually it's also wrong, as if there are source filters, the passed-in
file handle is not passed up the stack of filters for the topmost filter to
use to read from. It was in the parameter list from the first creation of
filter_gets() in
16d20bd98cd29be76029ebf04027a7edd34d817b, when calls to
sv_gets() were replaced by it.
Jan Dubois [Wed, 21 Oct 2009 18:07:35 +0000 (11:07 -0700)]
Fix off-by-one error in
e92c6be8349ad1d36d6df1dcb526fd37421e9970.
This solves the curious crashes in op/fork.t that I'm seeing on *some*
Windows machines. After locating the problem I'm surprised that not
more machines run into these crashes, especially the smoke testers
running on Windows 2000.
Abhijit Menon-Sen [Wed, 21 Oct 2009 15:53:24 +0000 (21:23 +0530)]
Fix (comment) typo pointed out by Robin Barker
David Golden [Wed, 21 Oct 2009 15:24:48 +0000 (11:24 -0400)]
Fix uninitialized warnings in Pod::Perldoc
Nicholas Clark [Wed, 21 Oct 2009 14:19:12 +0000 (15:19 +0100)]
S_utf16_textfilter() needs FILTER_DATA() to get the filter's state SV.
aa6dbd607b0a3d8a wrongly assumed that the filter's state SV was the SV passed
in as an argument to the filter read function.
David Golden [Wed, 21 Oct 2009 11:49:40 +0000 (07:49 -0400)]
Fix documentation of Module::CoreList::is_deprecated
Nicholas Clark [Wed, 21 Oct 2009 11:41:21 +0000 (12:41 +0100)]
S_utf16_textfilter() was failing honour error returns from FILTER_READ()
Nicholas Clark [Wed, 21 Oct 2009 10:59:05 +0000 (11:59 +0100)]
panic if S_utf16_textfilter() is called in block mode.
Nicholas Clark [Wed, 21 Oct 2009 10:06:43 +0000 (11:06 +0100)]
Make filter_read() in block mode create a well-formed SV with a trailing '\0'
Nicholas Clark [Wed, 21 Oct 2009 09:10:05 +0000 (10:10 +0100)]
Fix precedence error in Module::CoreList's test, which was causing it to fail.
David Golden [Tue, 20 Oct 2009 01:42:28 +0000 (21:42 -0400)]
Revised Module::CoreList::is_deprecated
The is_deprecated() function now expects to be called as a function,
not a method to be consistent with other Module::CoreList functions.
The %deprecated hash now is versioned by Perl version, so tests
and is_deprecated are revised accordingly.
David Golden [Wed, 21 Oct 2009 03:25:40 +0000 (23:25 -0400)]
Auto-generate deprecation list via corelist.pl
Chris Williams [Tue, 20 Oct 2009 23:01:18 +0000 (00:01 +0100)]
Module::CoreList, implemented is_deprecated() and added tests for it.
Module::CoreList->is_deprecated( 'Switch' ); # assumes $]
Module::CoreList->is_deprecated( 'Switch', 5.01000 );
Jesse Vincent [Tue, 20 Oct 2009 15:59:03 +0000 (11:59 -0400)]
release manager guide notes updates
Jesse Vincent [Tue, 20 Oct 2009 15:56:54 +0000 (11:56 -0400)]
pod nits from nicholas and zefram
Jesse Vincent [Tue, 20 Oct 2009 15:55:07 +0000 (11:55 -0400)]
set the release date for 5.11.1
Jesse Vincent [Tue, 20 Oct 2009 15:48:58 +0000 (11:48 -0400)]
Module::CoreList version bump for 5.11.1 release
Jesse Vincent [Tue, 20 Oct 2009 15:46:56 +0000 (11:46 -0400)]
Module::CoreList updated for 5.11.1
Jesse Vincent [Tue, 20 Oct 2009 15:35:09 +0000 (11:35 -0400)]
make regen; make regen_perly
Jesse Vincent [Tue, 20 Oct 2009 15:31:09 +0000 (11:31 -0400)]
Acknowledgments in perldelta
Jesse Vincent [Tue, 20 Oct 2009 15:17:55 +0000 (11:17 -0400)]
perldelta formatting
Jesse Vincent [Tue, 20 Oct 2009 15:10:54 +0000 (11:10 -0400)]
perl5111delta now includes all changes between 5.11.0 and 5.11.1 and has been lightly copyedited
Jesse Vincent [Tue, 20 Oct 2009 15:03:10 +0000 (11:03 -0400)]
perldelta cleanup
Jesse Vincent [Tue, 20 Oct 2009 14:54:38 +0000 (10:54 -0400)]
release manager guide notes updated
Jesse Vincent [Tue, 20 Oct 2009 14:52:07 +0000 (10:52 -0400)]
suidperl is no longer available. INSTALL should not say it is
Jesse Vincent [Tue, 20 Oct 2009 14:49:51 +0000 (10:49 -0400)]
Bump 5.11.0 -> 5.11.1 in all sorts of places it's (oh so unfortunately) hardcoded
Jesse Vincent [Tue, 20 Oct 2009 14:30:20 +0000 (10:30 -0400)]
We should not bump the perl version in the release schedule as part of releng
Jesse Vincent [Tue, 20 Oct 2009 14:24:05 +0000 (10:24 -0400)]
ExtUitls::Install had changes since 5.11.0 - bump its version
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
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
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
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
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
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
Jesse Vincent [Tue, 20 Oct 2009 14:09:14 +0000 (10:09 -0400)]
Revert accidental executability of several pod files
Jesse Vincent [Tue, 20 Oct 2009 13:57:48 +0000 (09:57 -0400)]
Updated perlport.pod with notes on VMS support from Craig Berry
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"
Rafael Garcia-Suarez [Tue, 20 Oct 2009 12:41:43 +0000 (14:41 +0200)]
Update Switch version in Maintainers.pl after CPAN upload
Rafael Garcia-Suarez [Tue, 20 Oct 2009 12:35:28 +0000 (14:35 +0200)]
Bump version of Switch to 2.15 for CPAN release
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()
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().
David Golden [Tue, 20 Oct 2009 01:36:50 +0000 (21:36 -0400)]
Merge branch 'corelist-deprecated' into blead
David Golden [Tue, 20 Oct 2009 01:36:16 +0000 (21:36 -0400)]
formally mark deprecations in Maintainers.pl
Jesse Vincent [Tue, 20 Oct 2009 01:24:39 +0000 (21:24 -0400)]
Revert part of d1eb317 which broke ./Configure -des -Dusedevel;make
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
Jesse Vincent [Mon, 19 Oct 2009 21:04:50 +0000 (17:04 -0400)]
Maintainers.pl updates to better match reality
Jesse Vincent [Mon, 19 Oct 2009 20:17:28 +0000 (16:17 -0400)]
piconv.t from Encode isn't excluded. Fix Maintainers.pl
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.
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
Jan Dubois [Mon, 19 Oct 2009 20:50:54 +0000 (13:50 -0700)]
Perl builds fine on Windows 7
Jan Dubois [Mon, 19 Oct 2009 20:50:12 +0000 (13:50 -0700)]
The term 'winsock' is an implementation detail.
Jesse Vincent [Mon, 19 Oct 2009 20:00:54 +0000 (16:00 -0400)]
CPANPLUS was upgraded without bumping the version in Porting/Maintainers.pl
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
Jesse Vincent [Mon, 19 Oct 2009 19:37:17 +0000 (15:37 -0400)]
Make core-cpan-diff more aware of the new world order
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