15 years agoCorrupt filename when setting %INC entry in a @INC hook
Salvador Ortiz Garcia [Sun, 6 Sep 2009 21:41:57 +0000]
Corrupt filename when setting %INC entry in a @INC hook

The code in pp_ctl.c after calling an @INC hook blindly assumes that the
SV setted by the user in %INC is an SVPV (SvPOK true) for setting the
filename. So when the user uses other scalar types, the output of
__FILE__, warn, die, caller, etc. shows random garbage.

15 years agoRemove redundant parameters to build_extension().
Nicholas Clark [Sun, 6 Sep 2009 17:50:13 +0000]
Remove redundant parameters to build_extension().

$ext isn't used. $return_dir is just $up, and $up can be calculated from
$ext_dir. $lib_dir and the default for $perl can be inferred from $up.

15 years agoRemove support for building in vms/ext, as it's not needed post 26dd53a23187.
Nicholas Clark [Sun, 6 Sep 2009 17:19:28 +0000]
Remove support for building in vms/ext, as it's not needed post 26dd53a23187.

15 years agoFix [perl #66970] Incorrect coderef in MODIFY_CODE_ATTRIBUTES
Zefram [Sun, 6 Sep 2009 15:29:43 +0000]
Fix [perl #66970] Incorrect coderef in MODIFY_CODE_ATTRIBUTES

Attribute handlers being applied to a temporary CV has actually been
reported as a bug, #66970.  The attached patch fixes the bug, by
changing the order in which things happen: attributes are now applied
after the temporary CV has been merged into the existing CV or has
otherwise been added to the appropriate GV.

The change breaks part of Attribute::Handlers.  Part of A:H searches the
package to find the name of the sub to which a :ATTR attribute is being
applied, and the correct time at which to launch that search depends
crucially on the order in which the CV construction events occur. So
this patch also includes a change to A:H, to make it detect which way
things happen.  The resulting A:H works either way, which is essential
for its dual-life nature.

15 years agoRemove spaces in MANIFEST
Rafael Garcia-Suarez [Sun, 6 Sep 2009 15:10:27 +0000]
Remove spaces in MANIFEST

15 years agoAdd new Unicode files to MANIFEST
Rafael Garcia-Suarez [Sun, 6 Sep 2009 14:10:37 +0000]
Add new Unicode files to MANIFEST

15 years agoMerge commit 'khwilliamson/U5.1' into blead
Rafael Garcia-Suarez [Sun, 6 Sep 2009 14:09:00 +0000]
Merge commit 'khwilliamson/U5.1' into blead

15 years agolearning curves++ Had neglected to update the util generators for ptar* scripts.
Chris Williams [Sun, 6 Sep 2009 11:44:04 +0000]
learning curves++ Had neglected to update the util generators for ptar* scripts.

15 years agoMove Archive::Tar from lib/ to ext/
Chris Williams [Sun, 6 Sep 2009 11:34:34 +0000]
Move Archive::Tar from lib/ to ext/

15 years agoNeglected to rename all the changed Archive::Extract test files in the MANIFEST....
Chris Williams [Sun, 6 Sep 2009 10:55:03 +0000]
Neglected to rename all the changed Archive::Extract test files in the MANIFEST. Done so.

15 years agoThe Archive::Extract non-packed src files were ignored due to a .gitignore file....
Chris Williams [Sun, 6 Sep 2009 10:51:41 +0000]
The Archive::Extract non-packed src files were ignored due to a .gitignore file. Fixed.

15 years agoMove Archive::Extract from lib/ to ext/
Chris Williams [Sun, 6 Sep 2009 10:49:21 +0000]
Move Archive::Extract from lib/ to ext/

15 years agoSet @INC to ../lib if we're running in t, else modules can't be required.
Nicholas Clark [Sat, 5 Sep 2009 19:23:14 +0000]
Set @INC to ../lib if we're running in t, else modules can't be required.

(Either explicity, or the possible implicit require utf8; inside the regexp
engine.)

15 years agoRename batch log file more reliably in configure.com.
Craig A. Berry [Sat, 5 Sep 2009 19:17:28 +0000]
Rename batch log file more reliably in configure.com.

Thanks to Carl Friedberg for the suggestion.

15 years agoIn PERL_CORE under ext, the %INC path for strict changes if you reload it.
Nicholas Clark [Sat, 5 Sep 2009 17:43:07 +0000]
In PERL_CORE under ext, the %INC path for strict changes if you reload it.

I'm guessing that it's loaded as a side effect of the "relative-to-absoulte"
code in TestInit, before paths are forced to be absolute. Changing the test to
use a module that hasn't been loaded (less) makes it pass reliably.

15 years agoconvert a bunch of duplicated mortalization logic in sv.c into a private file level...
Yves Orton [Sat, 5 Sep 2009 12:45:50 +0000]
convert a bunch of duplicated mortalization logic in sv.c into a private file level macro

15 years agoOutput failures in an always printable form
Karl Williamson [Sat, 5 Sep 2009 03:32:27 +0000]
Output failures in an always printable form

15 years agoadd a note about the previous patches from gfx
Yves Orton [Sat, 5 Sep 2009 11:23:01 +0000]
add a note about the previous patches from gfx

15 years agocall_method() uses newSVpvn_flags(), instead of sv_2mortal(newSVpv(...)), because...
gfx [Sat, 5 Sep 2009 07:46:34 +0000]
call_method() uses newSVpvn_flags(), instead of sv_2mortal(newSVpv(...)), because newSVpvn_flags() is now optimized.

Signed-off-by: Yves Orton <demerphq@gemini.(none)>

15 years agoRemove an unnecessary NULL check, which is already checked other places
gfx [Sat, 5 Sep 2009 07:33:08 +0000]
Remove an unnecessary NULL check, which is already checked other places

Signed-off-by: Yves Orton <demerphq@gemini.(none)>

15 years agonewSVpvn_flags() does mortalization in place, instead of calling sv_2mortal()
gfx [Sat, 5 Sep 2009 07:26:42 +0000]
newSVpvn_flags() does mortalization in place, instead of calling sv_2mortal()

Signed-off-by: Yves Orton <demerphq@gemini.(none)>

15 years agoRemove PERL_CORE boilerplate from IO::Zlib's tests.
Nicholas Clark [Fri, 4 Sep 2009 16:36:31 +0000]
Remove PERL_CORE boilerplate from IO::Zlib's tests.

(Without this they don't pass in their new location in ext.)

15 years agoAcknowledge that Dijkmat BV funded the TPF grant.
Nicholas Clark [Fri, 4 Sep 2009 15:33:58 +0000]
Acknowledge that Dijkmat BV funded the TPF grant.

Remove 5.10.1 specific statement that isn't right for 5.11.0.

15 years agoMove IO::Zlib from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 16:01:47 +0000]
Move IO::Zlib from lib/ to ext/

15 years agoMove Params::Check from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 15:16:24 +0000]
Move Params::Check from lib/ to ext/

15 years agoMove Object::Accessor from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 15:05:05 +0000]
Move Object::Accessor from lib/ to ext/

15 years agoMoved Module::Load from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 14:52:27 +0000]
Moved Module::Load from lib/ to ext/

15 years agoMove Module::Load::Conditional from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 14:34:13 +0000]
Move Module::Load::Conditional from lib/ to ext/

15 years agoMoved Module::Loaded from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 14:26:15 +0000]
Moved Module::Loaded from lib/ to ext/

15 years agoAdjust the Maintainers.pl after IPC-Cmd move
Chris Williams [Fri, 4 Sep 2009 14:12:15 +0000]
Adjust the Maintainers.pl after IPC-Cmd move

15 years agoMoved IPC::Cmd from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 14:08:58 +0000]
Moved IPC::Cmd from lib/ to ext/

15 years agoMoved Log::Message et al from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 13:59:53 +0000]
Moved Log::Message et al from lib/ to ext/

15 years agoMoved Log::Message::Simple from lib/ to ext/
Chris Williams [Fri, 4 Sep 2009 13:20:17 +0000]
Moved Log::Message::Simple from lib/ to ext/

15 years agoFix bad test output of IPC::Open2 in ext
Steffen Mueller [Fri, 4 Sep 2009 12:20:00 +0000]
Fix bad test output of IPC::Open2 in ext

15 years agocleanup of the Devel-SelfStubber tests to run in ext
Steffen Mueller [Fri, 4 Sep 2009 12:19:41 +0000]
cleanup of the Devel-SelfStubber tests to run in ext

15 years agoFirst step to de-coreifying the Devel::SelfStubber tests
Steffen Mueller [Fri, 4 Sep 2009 11:34:59 +0000]
First step to de-coreifying the Devel::SelfStubber tests

15 years agoMove Devel::SelfStubber from lib to ext
Steffen Mueller [Fri, 4 Sep 2009 10:42:38 +0000]
Move Devel::SelfStubber from lib to ext

15 years agostrip trailing whitespace in IPC::Open3 tests
Steffen Mueller [Fri, 4 Sep 2009 10:48:35 +0000]
strip trailing whitespace in IPC::Open3 tests

15 years agoAttempt to fix core-specific logic in IPC::Open3 tests
Steffen Mueller [Fri, 4 Sep 2009 10:47:33 +0000]
Attempt to fix core-specific logic in IPC::Open3 tests

15 years agoMove IPC::Open3 from lib to ext
Steffen Mueller [Fri, 4 Sep 2009 10:23:42 +0000]
Move IPC::Open3 from lib to ext

15 years agoTest::More'ify the IPC::Open2 tests
Steffen Mueller [Fri, 4 Sep 2009 11:06:55 +0000]
Test::More'ify the IPC::Open2 tests

15 years agoAttempt to fix core-specific logic in IPC::Open2 tests
Steffen Mueller [Fri, 4 Sep 2009 10:47:24 +0000]
Attempt to fix core-specific logic in IPC::Open2 tests

15 years agoMove IPC::Open2 from lib to ext
Steffen Mueller [Fri, 4 Sep 2009 10:20:01 +0000]
Move IPC::Open2 from lib to ext

15 years ago354c724e failed to update MANIFEST. Fail. *Always* run a clean build & tests.
Nicholas Clark [Fri, 4 Sep 2009 10:54:03 +0000]
354c724e failed to update MANIFEST. Fail. *Always* run a clean build & tests.

15 years agoReplace system by print in strictures/parsing regression test
Rafael Garcia-Suarez [Fri, 4 Sep 2009 10:36:27 +0000]
Replace system by print in strictures/parsing regression test

(so we're not annoyed by shell messages)

15 years ago354c724e8ab7 should only have renamed the directories. Not the typemap file.
Nicholas Clark [Fri, 4 Sep 2009 10:09:27 +0000]
354c724e8ab7 should only have renamed the directories. Not the typemap file.

15 years agoOS/2 hadn't been updated to cope with the ext/ restructuring.
Nicholas Clark [Fri, 4 Sep 2009 10:04:30 +0000]
OS/2 hadn't been updated to cope with the ext/ restructuring.

I don't have OS/2, so I can't test this, but the code in Configure will assume
flat directories, because ext/File-Glob is present, and hence not search
recursively and not find the OS/2 extensions if they are copied into ext/OS2/*

I believe that without this change OS/2 will not have been building since the
change to flattened ext. This change may not be sufficient to get OS/2
building again, but it is in the right direction.

15 years agoUse alternative URLs for links which are now broken (link rot)
Leon Brocard [Fri, 4 Sep 2009 07:48:45 +0000]
Use alternative URLs for links which are now broken (link rot)

15 years agoEntity-encode E<0xNNNN> and E<0NNN> correctly
Abhijit Menon-Sen [Fri, 4 Sep 2009 07:11:56 +0000]
Entity-encode E<0xNNNN> and E<0NNN> correctly

Fixes bug #68964 reported by samv, where pod2html encoded E<0x2070> to
&0x2070 and not &#x2070. perlpodspec says E<0x2070> should work, but the
code in Pod::Html accepted only E<x2070>. The new code accepts both, and
processes octal entities correctly as well.

Signed-off-by: Abhijit Menon-Sen <ams@toroid.org>

15 years agoReduce #ifdefs in Perl_ck_shift
Bo Borgerson [Thu, 3 Sep 2009 19:31:34 +0000]
Reduce #ifdefs in Perl_ck_shift

15 years agoWork hard to skip VMS-specific extensions on Win32.
Craig A. Berry [Thu, 3 Sep 2009 23:17:17 +0000]
Work hard to skip VMS-specific extensions on Win32.

Follow-up to 26dd53a231877708d84e7376aa20e4e8e561fe4e.

15 years agoMake configure.com aware that ext/Thread no longer exists.
Craig A. Berry [Thu, 3 Sep 2009 22:48:14 +0000]
Make configure.com aware that ext/Thread no longer exists.

15 years agoMove vms/ext/DCLsym and vms/ext/Stdio to ext/VMS-DCLsym and ext/VMS-Stdio.
Craig A. Berry [Thu, 3 Sep 2009 15:20:19 +0000]
Move vms/ext/DCLsym and vms/ext/Stdio to ext/VMS-DCLsym and ext/VMS-Stdio.

15 years agoRemoved extra lines
Karl Williamson [Thu, 3 Sep 2009 17:38:03 +0000]
Removed extra lines

15 years agoAdd missing files from Unicode 5.1 Character Database
Karl Williamson [Thu, 3 Sep 2009 17:29:30 +0000]
Add missing files from Unicode 5.1 Character Database

15 years agoMove Tie::Memoize from lib to ext
Steffen Mueller [Thu, 3 Sep 2009 15:29:56 +0000]
Move Tie::Memoize from lib to ext

15 years agoMove FileCache from lib to ext
Steffen Mueller [Thu, 3 Sep 2009 15:10:25 +0000]
Move FileCache from lib to ext

At the same time, remove PERL_CORE logic from tests and convert tests to
use Test::More instead of t/test.pl.

15 years agoMove autouse from lib to ext
Steffen Mueller [Thu, 3 Sep 2009 12:22:07 +0000]
Move autouse from lib to ext

15 years agoSilence more deprecation warnings in compatibility tests for Getopt::Long
Steffen Mueller [Thu, 3 Sep 2009 08:45:17 +0000]
Silence more deprecation warnings in compatibility tests for Getopt::Long

15 years agoSuppress deprecation warnings from test output
Jerry D. Hedden [Thu, 3 Sep 2009 07:47:41 +0000]
Suppress deprecation warnings from test output

Minor modification of the original patch:
Added comments, skipped the change to Time/Local.t which has been
handled by 8ff19c00d111fa650b32e95778b91c8d7afe47f7.

15 years agoRemove useless tests from lib/Time/Local.t
Steffen Mueller [Wed, 2 Sep 2009 21:11:02 +0000]
Remove useless tests from lib/Time/Local.t

timelocal.pl simply uses Time::Local. No point in testing that.

15 years agoDeprecate termcap.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:04:40 +0000]
Deprecate termcap.pl with a warning

15 years agoDeprecate tainted.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:04:31 +0000]
Deprecate tainted.pl with a warning

15 years agoDeprecate stat.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:04:23 +0000]
Deprecate stat.pl with a warning

15 years agoDeprecate shellwords.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:04:13 +0000]
Deprecate shellwords.pl with a warning

15 years agoDeprecate pwd.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:04:03 +0000]
Deprecate pwd.pl with a warning

15 years agoDeprecate open3.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:03:53 +0000]
Deprecate open3.pl with a warning

15 years agoDeprecate open2.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:03:48 +0000]
Deprecate open2.pl with a warning

15 years agoDeprecate newgetopt.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:03:31 +0000]
Deprecate newgetopt.pl with a warning

15 years agoDeprecate look.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 21:03:20 +0000]
Deprecate look.pl with a warning

15 years agoDeprecate lib/find{,depth}.pl with a warning
Abhijit Menon-Sen [Wed, 2 Sep 2009 18:39:44 +0000]
Deprecate lib/find{,depth}.pl with a warning

15 years agoupdate perlre and perldelta to document change in behaviour of \w and \d and POSIX...
Yves Orton [Wed, 2 Sep 2009 18:29:13 +0000]
update perlre and perldelta to document change in behaviour of \w and \d and POSIX charclasses

15 years agoDeprecate importenv.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 18:14:52 +0000]
Deprecate importenv.pl with a warning

15 years agoDeprecate hostname.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 18:14:40 +0000]
Deprecate hostname.pl with a warning

15 years agoDeprecate getopts.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 18:02:47 +0000]
Deprecate getopts.pl with a warning

15 years agoDeprecate getopt.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 18:02:43 +0000]
Deprecate getopt.pl with a warning

15 years agoDeprecate getcwd.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 18:02:32 +0000]
Deprecate getcwd.pl with a warning

15 years agoDeprecate flush.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 18:02:21 +0000]
Deprecate flush.pl with a warning

15 years agoDeprecate fastcwd.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 18:02:13 +0000]
Deprecate fastcwd.pl with a warning

15 years agoMove File::Fetch from lib to ext
Chris 'BinGOs' Williams [Wed, 2 Sep 2009 17:53:47 +0000]
Move File::Fetch from lib to ext

15 years agoDeprecate exceptions.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:45:23 +0000]
Deprecate exceptions.pl with a warning

15 years agoDeprecate ctime.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:43:10 +0000]
Deprecate ctime.pl with a warning

15 years agoDeprecate complete.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:40:37 +0000]
Deprecate complete.pl with a warning

15 years agoDeprecate cacheout.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:39:36 +0000]
Deprecate cacheout.pl with a warning

15 years agoDeprecate bigrat.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:38:03 +0000]
Deprecate bigrat.pl with a warning

15 years agoDeprecate bigint.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:36:27 +0000]
Deprecate bigint.pl with a warning

15 years agoDeprecate bigfloat.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:34:53 +0000]
Deprecate bigfloat.pl with a warning

15 years agoDeprecate assert.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:32:53 +0000]
Deprecate assert.pl with a warning

15 years agoDeprecate abbrev.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:30:10 +0000]
Deprecate abbrev.pl with a warning

15 years agoDeprecate dotsh.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:27:23 +0000]
Deprecate dotsh.pl with a warning

15 years agoDeprecate timelocal.pl with a warning
Steffen Mueller [Wed, 2 Sep 2009 16:17:15 +0000]
Deprecate timelocal.pl with a warning

15 years agode-TODO a regexp test that was probably fixed with 7a68ade9729
Yves Orton [Wed, 2 Sep 2009 16:23:01 +0000]
de-TODO a regexp test that was probably fixed with 7a68ade9729

left the todo line as a comment so it is easy to back out if it turns out this was premature

15 years agoset PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS to 0 and enable proper POSIX char class...
Yves Orton [Wed, 2 Sep 2009 15:37:48 +0000]
set PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS to 0 and enable proper POSIX char class matching

This also alters which Unicode properties that the POSIX character
class and the Perl "special" character classes, like \w and \d map
to. At the same time it allows a number of tests for POSIX character
class behaviour to be switched from todo to non todo. Legacy testing
is still available by changing the define and setting the
PERL_TEST_LEGACY_POSIX_CC value to true.

15 years agoMove Tie::File from lib to ext
Steffen Mueller [Wed, 2 Sep 2009 15:07:18 +0000]
Move Tie::File from lib to ext

15 years agoMove Package::Constants from lib to ext
Steffen Mueller [Wed, 2 Sep 2009 14:51:05 +0000]
Move Package::Constants from lib to ext

15 years agoUpdate link info. HP moved from ActiveState to OpenSource.
H.Merijn Brand [Wed, 2 Sep 2009 13:35:38 +0000]
Update link info. HP moved from ActiveState to OpenSource.

15 years agoUse alternative URLs for links which are now broken (link rot)
Leon Brocard [Tue, 1 Sep 2009 15:00:36 +0000]
Use alternative URLs for links which are now broken (link rot)

15 years agoAddress update by Richard Foley
Abigail [Tue, 1 Sep 2009 13:52:03 +0000]
Address update by Richard Foley

15 years ago_run_test() doesn't need to conform to TAP::Harness exec callback interface anymore
Vincent Pit [Tue, 1 Sep 2009 10:59:31 +0000]
_run_test() doesn't need to conform to TAP::Harness exec callback interface anymore

15 years agoFix include path for utf8 tests
Vincent Pit [Tue, 1 Sep 2009 10:58:10 +0000]
Fix include path for utf8 tests