perl.git
9 years agoAdapt Maintainers.pl for Module::CoreList move
Rafael Garcia-Suarez [Sun, 30 Aug 2009 20:31:21 +0000 (22:31 +0200)] 
Adapt Maintainers.pl for Module::CoreList move

9 years agoMove Module::CoreList to ext/
Rafael Garcia-Suarez [Sun, 30 Aug 2009 20:18:08 +0000 (22:18 +0200)] 
Move Module::CoreList to ext/

and add missing files from the CPAN distribution.
Also adjust utils/corelist.PL to look for the corelist utility in the
new directory.

9 years agoAdd missing files from the base.pm CPAN distribution
Rafael Garcia-Suarez [Sun, 30 Aug 2009 19:54:15 +0000 (21:54 +0200)] 
Add missing files from the base.pm CPAN distribution

9 years agogitignore adjustments
Rafael Garcia-Suarez [Sun, 30 Aug 2009 19:44:11 +0000 (21:44 +0200)] 
gitignore adjustments

All Makefile.PL ignores are moved to ext/.gitignore, and
duplicates are removed

9 years agoMove Net::Ping from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 18:21:53 +0000 (19:21 +0100)] 
Move Net::Ping from lib to ext

9 years agoMove I18N::LangTags from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 17:58:39 +0000 (18:58 +0100)] 
Move I18N::LangTags from lib to ext

9 years agoMove Filter::Simple from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 17:40:39 +0000 (18:40 +0100)] 
Move Filter::Simple from lib to ext

9 years agoUpdate Text::Balanced to 2.02
Steffen Mueller [Sun, 30 Aug 2009 16:25:03 +0000 (18:25 +0200)] 
Update Text::Balanced to 2.02

At the same time, remove PERL_CORE boilerplate from the test scripts.

9 years agoMove Text::Balanced from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 16:15:52 +0000 (18:15 +0200)] 
Move Text::Balanced from lib to ext

9 years agoMove base from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 17:16:34 +0000 (18:16 +0100)] 
Move base from lib to ext

9 years agoUpdate .gitignores in ext and lib to reflect recent moving activity
Steffen Mueller [Sun, 30 Aug 2009 13:43:35 +0000 (15:43 +0200)] 
Update .gitignores in ext and lib to reflect recent moving activity

9 years agoMove Term::UI from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 13:43:09 +0000 (15:43 +0200)] 
Move Term::UI from lib to ext

9 years agoMove Term::Cap from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 12:48:53 +0000 (14:48 +0200)] 
Move Term::Cap from lib to ext

Remove PERL_CORE boilerplate in Term::Cap tests

9 years agoRemove the $ENV{PERL_CORE} boilerplate from Attribute::Handler's tests.
Nicholas Clark [Sun, 30 Aug 2009 14:59:17 +0000 (15:59 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from Attribute::Handler's tests.

9 years agoRemove the $ENV{PERL_CORE} boilerplate from I18N::Langinfo's tests.
Nicholas Clark [Sun, 30 Aug 2009 14:27:18 +0000 (15:27 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from I18N::Langinfo's tests.

9 years agoMake io_tell.t use a file that's always there even when the build utility is not...
Craig A. Berry [Sun, 30 Aug 2009 13:27:25 +0000 (08:27 -0500)] 
Make io_tell.t use a file that's always there even when the build utility is not make.

It used to use t/TEST in the core before 2adbc9b6919cad1240a834325b355e9b2d5efd67.

9 years agoFix Safe tests under PERL_CORE and make safeops.t run again
Rafael Garcia-Suarez [Sun, 30 Aug 2009 14:29:27 +0000 (16:29 +0200)] 
Fix Safe tests under PERL_CORE and make safeops.t run again

9 years agoSort MANIFEST.
Nicholas Clark [Sun, 30 Aug 2009 14:24:26 +0000 (15:24 +0100)] 
Sort MANIFEST.

9 years agoRemove the $ENV{PERL_CORE} boilerplate from Hash::Util::FieldHash's tests.
Nicholas Clark [Sun, 30 Aug 2009 14:09:19 +0000 (15:09 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from Hash::Util::FieldHash's tests.

9 years agoRemove the $ENV{PERL_CORE} boilerplate from Hash::Util's tests.
Nicholas Clark [Sun, 30 Aug 2009 13:52:02 +0000 (14:52 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from Hash::Util's tests.

9 years agoRemove the $ENV{PERL_CORE} boilerplate from DynaLoader's tests.
Nicholas Clark [Sun, 30 Aug 2009 13:24:57 +0000 (14:24 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from DynaLoader's tests.

9 years agoAdditions in the gitignore files
Rafael Garcia-Suarez [Sun, 30 Aug 2009 14:09:50 +0000 (16:09 +0200)] 
Additions in the gitignore files

9 years agoRemove test boilerplate from Safe tests
Rafael Garcia-Suarez [Sun, 30 Aug 2009 13:54:31 +0000 (15:54 +0200)] 
Remove test boilerplate from Safe tests

(except safeops.t, which needs to have the perl sources available,
so it must be skipped when run from the CPAN distribution. However
it's currently skipped under a core build too.)

9 years agoDon't install Safe in arch directory if this is a core build or if we're >= 5.11.0
Rafael Garcia-Suarez [Sun, 30 Aug 2009 13:37:02 +0000 (15:37 +0200)] 
Don't install Safe in arch directory if this is a core build or if we're >= 5.11.0

The first condition is to allow to install properly on perls <= 5.10.1
from CPAN, while remaining buildable when the ext/ reorganisation is
integrated in maint-5.10.

9 years agoAdd missing files from the Safe CPAN distribution
Rafael Garcia-Suarez [Sun, 30 Aug 2009 13:07:20 +0000 (15:07 +0200)] 
Add missing files from the Safe CPAN distribution

This allows to remove the .gitignore file there.

9 years agoAdd missing files from the Switch CPAN distribution
Rafael Garcia-Suarez [Sun, 30 Aug 2009 12:54:28 +0000 (14:54 +0200)] 
Add missing files from the Switch CPAN distribution

9 years agoRemove the $ENV{PERL_CORE} boilerplate from Data::Dumper's tests.
Nicholas Clark [Sun, 30 Aug 2009 13:09:05 +0000 (14:09 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from Data::Dumper's tests.

9 years agoCorrect 2 UPSTREAM mistakes added in e1466347d2d91d81b58b.
Nicholas Clark [Sun, 30 Aug 2009 12:44:40 +0000 (13:44 +0100)] 
Correct 2 UPSTREAM mistakes added in e1466347d2d91d81b58b.

9 years agoRemove the $ENV{PERL_CORE} boilerplate from B's tests.
Nicholas Clark [Sun, 30 Aug 2009 12:42:44 +0000 (13:42 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from B's tests.

9 years agoBreak out B::Debug into its own directory in ext.
Nicholas Clark [Sun, 30 Aug 2009 11:43:28 +0000 (12:43 +0100)] 
Break out B::Debug into its own directory in ext.

9 years agoBreak out B::Deparse into its own directory in ext.
Nicholas Clark [Sun, 30 Aug 2009 11:35:10 +0000 (12:35 +0100)] 
Break out B::Deparse into its own directory in ext.

9 years agoBreak out B::Lint into its own directory in ext.
Nicholas Clark [Sun, 30 Aug 2009 11:30:40 +0000 (12:30 +0100)] 
Break out B::Lint into its own directory in ext.

9 years agoCorrectly munge the path of $^X when running interactively, and set PERL5LIB.
Nicholas Clark [Sun, 30 Aug 2009 11:27:18 +0000 (12:27 +0100)] 
Correctly munge the path of $^X when running interactively, and set PERL5LIB.

9 years agoDocument better what is allowed as regex delimiters
David Nicol [Sun, 30 Aug 2009 12:41:21 +0000 (14:41 +0200)] 
Document better what is allowed as regex delimiters

Identifier characters are allowed. Also add a test

9 years agoMove Term::ANSIColor from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 10:53:53 +0000 (12:53 +0200)] 
Move Term::ANSIColor from lib to ext

9 years agoRemove the $ENV{PERL_CORE} boilerplate from Storable's tests.
Nicholas Clark [Sun, 30 Aug 2009 10:43:13 +0000 (11:43 +0100)] 
Remove the $ENV{PERL_CORE} boilerplate from Storable's tests.

9 years agoRemove remaining 'in-core' boilerplate from Shell
Steffen Mueller [Sun, 30 Aug 2009 10:33:46 +0000 (12:33 +0200)] 
Remove remaining 'in-core' boilerplate from Shell

9 years agoMove Shell from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 10:31:42 +0000 (12:31 +0200)] 
Move Shell from lib to ext

9 years agoMove TestInit.pm to the top level of the distribution, to make it easier to use.
Nicholas Clark [Sun, 30 Aug 2009 10:16:40 +0000 (11:16 +0100)] 
Move TestInit.pm to the top level of the distribution, to make it easier to use.

9 years agoTestInit now also sets up the CWD and @INC for tests in ext.
Nicholas Clark [Sun, 30 Aug 2009 09:22:51 +0000 (10:22 +0100)] 
TestInit now also sets up the CWD and @INC for tests in ext.

9 years agoMove Switch from lib to ext.
Nicholas Clark [Sun, 30 Aug 2009 08:25:11 +0000 (09:25 +0100)] 
Move Switch from lib to ext.

9 years agoTidy up comments.
Nicholas Clark [Sun, 30 Aug 2009 07:08:19 +0000 (08:08 +0100)] 
Tidy up comments.

9 years agoAs well as PERL5LIB, remove PERLLIB and PERL5OPT from the environment.
Nicholas Clark [Sun, 30 Aug 2009 06:43:36 +0000 (07:43 +0100)] 
As well as PERL5LIB, remove PERLLIB and PERL5OPT from the environment.

Remove the (now) redundant delete $ENV{PERL5LIB} from harness - requiring TEST
gets us that delete for free.

9 years agoFix typo in TestInit and revert workaround.
Steve Hay [Sun, 30 Aug 2009 02:48:59 +0000 (03:48 +0100)] 
Fix typo in TestInit and revert workaround.

9 years agoUse ../../perl instead of ../../t/perl on Win32, as the latter doesn't work.
Nicholas Clark [Sat, 29 Aug 2009 20:31:45 +0000 (21:31 +0100)] 
Use ../../perl instead of ../../t/perl on Win32, as the latter doesn't work.

There seems to be some problem when paths that contain a directory named t are
make absolute, then fed to the command shell to be executed. I'm suspicious
that \t is getting interpolated as a tab by something, but there is no
confirmed diagnosis yet.

9 years agoOptimise IPC::Open3 with a compile-time constant, eliminating OS-specific code.
Nicholas Clark [Sat, 29 Aug 2009 10:10:00 +0000 (11:10 +0100)] 
Optimise IPC::Open3 with a compile-time constant, eliminating OS-specific code.

($^O isn't going to change at run time, so why carry a lot of code that is
never going to get called on the platform you're running on.)

9 years agoBackslash-escape /s in the target of a generated s/// expression
Abhijit Menon-Sen [Sat, 29 Aug 2009 07:38:46 +0000 (13:08 +0530)] 
Backslash-escape /s in the target of a generated s/// expression

Fixes #68840 reported by Guglielmo Bondioni, where a2p incorrectly
translated sub(/foo/,"bar/baz") into s/foo/bar/baz/.

9 years agoUse & function-call notation to disable prototype checking on dl_load_file()
Nicholas Clark [Fri, 28 Aug 2009 21:16:31 +0000 (22:16 +0100)] 
Use & function-call notation to disable prototype checking on dl_load_file()

This causes the test for insufficient arguments to work on Win32 too, where
(for some reason) DynaLoader.xs is built *with* prototypes on the XS code.
On *nix, where it is build by MakeMaker in ext/DynaLoader/, it is built without
prototypes on the XS code, so the check on the number of parameters for
dl_load_file() is purely run-time, which is what the test script used to assume.

9 years agoRemove the function mn(), made redundant by runnig the tsts from inside ext/
Nicholas Clark [Fri, 28 Aug 2009 21:23:35 +0000 (22:23 +0100)] 
Remove the function mn(), made redundant by runnig the tsts from inside ext/

9 years agoUse ../../t/perl rather than ../../perl, as the latter doesn't always exist.
Craig A. Berry [Fri, 28 Aug 2009 19:18:37 +0000 (20:18 +0100)] 
Use ../../t/perl rather than ../../perl, as the latter doesn't always exist.

(For example, when perl is built for the VMS debugger.)

9 years agoAdd ~~ and // to perlcheat.pod
Frank Wiegand [Fri, 28 Aug 2009 09:12:59 +0000 (11:12 +0200)] 
Add ~~ and // to perlcheat.pod

9 years agoThere is no longer an "err" low-prec version of //, so remove it from B::Deparse
Rafael Garcia-Suarez [Fri, 28 Aug 2009 08:33:31 +0000 (10:33 +0200)] 
There is no longer an "err" low-prec version of //, so remove it from B::Deparse

9 years agoMake extensions in ext run their tests from the extension's own directory.
Nicholas Clark [Thu, 27 Aug 2009 23:44:15 +0000 (00:44 +0100)] 
Make extensions in ext run their tests from the extension's own directory.

Inspired by, and in parts borrows from, Schwern's branch on github, but takes a
slightly different approach in places.

Not quite perfect yet - ext/File-Glob still runs from t, at least one FIXME
needs fixing, and the changes to dual-life modules' tests need to be filtered
back upstream, and possibly modified to suit their respective authors.

But it works.

9 years agoDon't use t/TEST to test a "read only file", repeatedly chmod-ing it a-w.
Nicholas Clark [Thu, 27 Aug 2009 19:37:49 +0000 (20:37 +0100)] 
Don't use t/TEST to test a "read only file", repeatedly chmod-ing it a-w.

9 years agoUpdate Module::Build to 0.35
David Golden [Thu, 27 Aug 2009 15:41:10 +0000 (11:41 -0400)] 
Update Module::Build to 0.35

0.35 - Thu Aug 27 09:12:02 EDT 2009

 Bug fixes:
 - Fix t/destinations.t segfault on 5.6.2

0.34_06 - Sat Aug 22 21:58:26 EDT 2009

 Bug fixes:
 - Multiple test fixes for OS2 [Ilya Zakharevich]
 - Generated.ppd files use :utf8 if possible (RT#48827) [Olivier Mengue]
 - Fixed preservation of custom install_paths on resume (RT#41166)
   [David Golden]
 - Warn instead of crashing when Pod::Man tries to create files with
   colons on vfat partitions on unix (RT#45544) [David Golden]

0.34_05 - Sun Aug  9 22:31:37 EDT 2009

 Bug fixes:
 - When auto_configure_requires is true (the default), Module::Build will
   only add last 'major' version of Module:Build (e.g. 0.XX) to
   configure_requires to avoid specifying a minor development release not
   available on CPAN [David Golden]

0.34_04 - Sat Aug  8 11:02:24 EDT 2009

 Other:
 - Added documentation warning that 'get_options' should be capitalized
   to avoid conflicting with future Module::Build options and changed
   the examples accordingly.

0.34_03 - Sat Aug  8 07:39:16 EDT 2009

 Bug fixes:
 - Fixed failing xs.t if /tmp is mounted noexec (RT#47331) [David Golden]
 - Fixed failing debug.t on VMS (RT#48362) [Craig Berry]
 - Prevent par.t from dying on error in .zip extraction [David Golden]
 - Fixed potential runthrough.t failure on 5.6.2 [David Golden]

 Other:
 - Archive::Tar changed from 'requires' to 'recommends' so non-authors
   without IO::Zlib can still use Module::Build to install modules
   [reported by Matt Trout, fix by David Golden]

9 years agot/harness and t/TEST can both use the same _run_test() to invoke tests.
Nicholas Clark [Thu, 27 Aug 2009 13:26:20 +0000 (14:26 +0100)] 
t/harness and t/TEST can both use the same _run_test() to invoke tests.

Now the logic to invoke tests is in exactly one place, we can refactor it with
impunity.

9 years agoShare common code in t/TEST and t/harness, by having harness require ./TEST
Nicholas Clark [Thu, 27 Aug 2009 12:23:38 +0000 (13:23 +0100)] 
Share common code in t/TEST and t/harness, by having harness require ./TEST

The logical way to do this would be to have the common code in a file both
require or use. However, t/TEST needs to still work, to generate test results,
even if require isn't working, so we cannot do that. t/harness has no such
restriction, so it is quite acceptable to have it require t/TEST.

9 years agoSpeed up repeatcpy() by at least 40% for 1-char or numerous repeats
Vincent Pit [Thu, 27 Aug 2009 09:13:09 +0000 (11:13 +0200)] 
Speed up repeatcpy() by at least 40% for 1-char or numerous repeats

And don't make it receive the interpreter anymore.

For 1-char repeats, use memset(). Otherwise, use the old implementation up
to some (small) length, and then use memcpy() in a binary manner, based on
what we previously copied.

Note that we use memcpy() so both strings shouldn't overlap. The previous
implementation didn't allow this as well. This would be a good place to use
the restrict keyword from C99. I'm not sure if Configure has a probe for it.

9 years agodelimcopy(), ibcmp(), ibcmp_locale(), instr(), ninstr() and rninstr() from util.c...
Vincent Pit [Thu, 27 Aug 2009 08:38:34 +0000 (10:38 +0200)] 
delimcopy(), ibcmp(), ibcmp_locale(), instr(), ninstr() and rninstr() from util.c don't need the interpreter as well

9 years agoB - The Perl Compiler (wrong name)
Reini Urban [Thu, 27 Aug 2009 08:19:26 +0000 (10:19 +0200)] 
B - The Perl Compiler (wrong name)

The Perl Compilers are for some time in B::C and not B. B is only the
backend.

9 years agoDon't pass the the interpreter to is_ascii_string(), is_utf8_char(), is_utf8_string...
Vincent Pit [Wed, 26 Aug 2009 22:11:38 +0000 (00:11 +0200)] 
Don't pass the the interpreter to is_ascii_string(), is_utf8_char(), is_utf8_string(), is_utf8_string_loclen() as they don't need it

9 years agofix threaded build after 8ff3e83b
Chip Salzenberg [Wed, 26 Aug 2009 22:17:55 +0000 (15:17 -0700)] 
fix threaded build after 8ff3e83b

9 years agoIn C<use utf8; a=>'b'>, do not set utf8 flag on 'a' [perl #68812]
Chip Salzenberg [Wed, 26 Aug 2009 21:33:15 +0000 (14:33 -0700)] 
In C<use utf8; a=>'b'>, do not set utf8 flag on 'a' [perl #68812]

9 years agoset utf8 bit on inferred method names when C<use utf8>
Chip Salzenberg [Wed, 26 Aug 2009 21:05:15 +0000 (14:05 -0700)] 
set utf8 bit on inferred method names when C<use utf8>

9 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/perl into blead
Chip Salzenberg [Wed, 26 Aug 2009 20:26:49 +0000 (13:26 -0700)] 
Merge branch 'blead' of ssh://perl5.git.perl.org/perl into blead

9 years agoNew debugging flag -DB now dumps subroutine definitions,
Chip Salzenberg [Wed, 26 Aug 2009 20:25:52 +0000 (13:25 -0700)] 
New debugging flag -DB now dumps subroutine definitions,
 leaving -Dx for its original purpose of dumping syntax trees.

9 years agoNo need to use File::Spec, as all names remain internal to perl.
Nicholas Clark [Wed, 26 Aug 2009 19:55:36 +0000 (20:55 +0100)] 
No need to use File::Spec, as all names remain internal to perl.

(This will make merging the code in t/TEST and t/harness easier.)

9 years agoBreak out the code that finds tests in MANIFEST into _tests_from_manifest().
Nicholas Clark [Wed, 26 Aug 2009 19:43:11 +0000 (20:43 +0100)] 
Break out the code that finds tests in MANIFEST into _tests_from_manifest().

9 years ago%OVER was removed in October 2001 with 6ff868ee and 73ddec28.
Nicholas Clark [Wed, 26 Aug 2009 18:39:20 +0000 (19:39 +0100)] 
%OVER was removed in October 2001 with 6ff868ee and 73ddec28.

9 years agot/TEST shouldn't use -M options until we've tested that they work.
Nicholas Clark [Wed, 26 Aug 2009 18:06:55 +0000 (19:06 +0100)] 
t/TEST shouldn't use -M options until we've tested that they work.

Also, t/TEST doesn't need to set $ENV{PERL_CORE} as t/TestInit.pm does this.
t/TestInit.pm should also add '.' to @INC (except under tainting) to correctly
emulate the include path of this perl binary once it and its libraries are
installed.

Fix t/run/cloexec.t to not rely on -I../lib being passed as a command-line
arguments. t/run/*.t *test* that command line arguments work, so they can't
be called with command line arguments that are mandatory for them to work.

9 years agoEnsure $ENV{PERL_CORE} is always set, but correctly tainted.
Nicholas Clark [Wed, 26 Aug 2009 17:42:29 +0000 (18:42 +0100)] 
Ensure $ENV{PERL_CORE} is always set, but correctly tainted.

Hopefully a better solution than a19106168e3a7e2a. (change 19964)

9 years agoCargo-cult addition of op_say to the MAD code
Rafael Garcia-Suarez [Wed, 26 Aug 2009 13:44:44 +0000 (15:44 +0200)] 
Cargo-cult addition of op_say to the MAD code

(and make some more TODO tests pass)

9 years agoThis MAD test now passes here, so unmark it as TODO
Rafael Garcia-Suarez [Wed, 26 Aug 2009 13:39:03 +0000 (15:39 +0200)] 
This MAD test now passes here, so unmark it as TODO

9 years agoMake MAD understand the "..." operator
Rafael Garcia-Suarez [Wed, 26 Aug 2009 13:30:35 +0000 (15:30 +0200)] 
Make MAD understand the "..." operator

9 years agoUse less constness in MAD code
Rafael Garcia-Suarez [Wed, 26 Aug 2009 12:32:22 +0000 (14:32 +0200)] 
Use less constness in MAD code

This suppresses warnings, because sometimes the constness was taken away

9 years agoNote the change to Socket in perldelta.
Rafael Garcia-Suarez [Wed, 26 Aug 2009 09:56:00 +0000 (11:56 +0200)] 
Note the change to Socket in perldelta.

9 years agoBump version of Socket.pm
Rafael Garcia-Suarez [Wed, 26 Aug 2009 09:53:15 +0000 (11:53 +0200)] 
Bump version of Socket.pm

9 years agoAdd support for Abstract namespace sockets
Lubomir Rintel [Tue, 25 Aug 2009 15:09:53 +0000 (17:09 +0200)] 
Add support for Abstract namespace sockets

Abstract namespace sockets are Linux-specific socket type that live in
AF_UNIX family, slightly abusing it to be able to use arbitrary
character arrays as addresses: They start with nul byte and are not
terminated by nul byte, but with the length passed to the socket()
system call.

Added regression test for the correct address length computation.

Signed-off-by: Lubomir Rintel <lkundrak@fedoraproject.org>
9 years agoImprove perlhack instructions about gprof
John P. Linderman [Wed, 26 Aug 2009 07:14:13 +0000 (09:14 +0200)] 
Improve perlhack instructions about gprof

9 years agoabd39864 broke t/harness when $ENV{TEST_JOBS} was not set. Oops. Fixed.
Nicholas Clark [Tue, 25 Aug 2009 21:06:28 +0000 (22:06 +0100)] 
abd39864 broke t/harness when $ENV{TEST_JOBS} was not set. Oops. Fixed.

9 years agoRefactor t/harness to always use TAP::Harness.
Michael G. Schwern [Wed, 4 Mar 2009 04:42:55 +0000 (20:42 -0800)] 
Refactor t/harness to always use TAP::Harness.

No reason to screw around with half Test::Harness, half TAP::Harness.
This normalization will make it easier to adapt the ext/Module tests.

[Edited to remove the code related to the fork option, which was dropped from
TAP::Harness with version 3.17. The now-unknown fork argument to a constructor
generates an error.]

9 years agoDocument the purpose of TestInit
Michael G. Schwern [Tue, 3 Mar 2009 00:12:33 +0000 (16:12 -0800)] 
Document the purpose of TestInit

[Ammended with a grammar fix]

9 years agoRefactoring to consoldate some hard coded paths.
Michael G. Schwern [Tue, 3 Mar 2009 00:11:25 +0000 (16:11 -0800)] 
Refactoring to consoldate some hard coded paths.

I was going to do more extensive work here but it wasn't necessary.  Left
the refactorings in.

9 years agoThere's no reason to load TestInit in TEST.
Michael G. Schwern [Tue, 3 Mar 2009 00:09:21 +0000 (16:09 -0800)] 
There's no reason to load TestInit in TEST.

Since TestInit executes code on loading can be actively bad.

9 years agoQuote "strict"->import and "warnings"->import to quiet warnings.
Michael G. Schwern [Tue, 3 Mar 2009 00:08:38 +0000 (16:08 -0800)] 
Quote "strict"->import and "warnings"->import to quiet warnings.

[Ammended slightly to invert the change in 3fd4b35989]

9 years agoRefactor the code to run the test into _run_test()
Michael G. Schwern [Mon, 2 Mar 2009 01:03:55 +0000 (17:03 -0800)] 
Refactor the code to run the test into _run_test()

Also turn $valgrind_log into $Valgrind_Log, because it's really a global config variable.

9 years agoRefactoring to move the code to read the test for special options into its own function.
Michael G. Schwern [Mon, 2 Mar 2009 00:55:01 +0000 (16:55 -0800)] 
Refactoring to move the code to read the test for special options into its own function.

Get the hell out of the way so I can read this mess.

[ammended slightly by Nicholas Clark to keep require strict commented out]

9 years agoThis is reading the first line of the test, not running it.
Michael G. Schwern [Mon, 2 Mar 2009 00:40:59 +0000 (16:40 -0800)] 
This is reading the first line of the test, not running it.

9 years agoPurge 3 items of documentation change, which are insufficiently noteworthy.
Nicholas Clark [Tue, 25 Aug 2009 14:13:57 +0000 (15:13 +0100)] 
Purge 3 items of documentation change, which are insufficiently noteworthy.

9 years agoSyle nit - we're not marking things (XS).
Nicholas Clark [Tue, 25 Aug 2009 14:10:31 +0000 (15:10 +0100)] 
Syle nit - we're not marking things (XS).

9 years agoTidy up some more Pod nits.
Nicholas Clark [Tue, 25 Aug 2009 14:03:57 +0000 (15:03 +0100)] 
Tidy up some more Pod nits.

9 years agoRun t/run/*.t before t/cmd/*.t, making the order base, cmd, run, and note why.
Nicholas Clark [Tue, 25 Aug 2009 09:38:41 +0000 (10:38 +0100)] 
Run t/run/*.t before t/cmd/*.t, making the order base, cmd, run, and note why.

base first, as TEST bails out if that can't run
then comp, to validate that require works
then run, to validate that -M works
then we know we can -MTestInit for everything else, making life simpler)

9 years agoRemove File::Spec from t/TEST - VMS is fine without it. Win32 doesn't use it.
Nicholas Clark [Tue, 25 Aug 2009 08:31:44 +0000 (09:31 +0100)] 
Remove File::Spec from t/TEST - VMS is fine without it. Win32 doesn't use it.

Also remove one complex alternation regexp, and replace it with a hash lookup.
At this stage do we trust the regexp engine that much?

[Really TEST shouldn't be relying on require working, and hence being able to
pull in modules to do essential parts of its work. And modules that rely on
OO dispatch - :-(]

9 years agoString with NULL auto-increment bug fix
Bo Borgerson [Sun, 16 Aug 2009 15:07:39 +0000 (11:07 -0400)] 
String with NULL auto-increment bug fix

Check position relative to end of string length rather than whether
char is NULL at end of initial alphanumerics in Perl_sv_inc

9 years agoBump Safe version to 2.19
Rafael Garcia-Suarez [Tue, 25 Aug 2009 07:36:42 +0000 (09:36 +0200)] 
Bump Safe version to 2.19

9 years agoMerge branch 'blead' into dual/Safe
Rafael Garcia-Suarez [Tue, 25 Aug 2009 07:34:18 +0000 (09:34 +0200)] 
Merge branch 'blead' into dual/Safe

9 years agoAdded two removed platforms to the Perl 5.11.0 delta
Jesse Vincent [Mon, 24 Aug 2009 20:34:29 +0000 (16:34 -0400)] 
Added two removed platforms to the Perl 5.11.0 delta

9 years agoAdd an encoding line, as the file is in UTF-8.
Nicholas Clark [Mon, 24 Aug 2009 17:32:14 +0000 (18:32 +0100)] 
Add an encoding line, as the file is in UTF-8.

9 years agoPod copy editing - whitespace cleanup, and F<>/C<> corrections.
Nicholas Clark [Mon, 24 Aug 2009 17:30:38 +0000 (18:30 +0100)] 
Pod copy editing - whitespace cleanup, and F<>/C<> corrections.

9 years agoNote that File::Copy is actually at 2.16, and that cp needs describing.
Nicholas Clark [Mon, 24 Aug 2009 17:14:49 +0000 (18:14 +0100)] 
Note that File::Copy is actually at 2.16, and that cp needs describing.