Nicholas Clark [Mon, 31 Aug 2009 09:51:28 +0000]
Remove an extraneous aTHX_ added in
f0e3f042f14b, which broke threaded builds.
Chip Salzenberg [Sun, 30 Aug 2009 22:21:10 +0000]
finish more implementing -DB vs. -Dx
Chip Salzenberg [Sun, 30 Aug 2009 22:14:00 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/perl into blead
Chip Salzenberg [Sun, 30 Aug 2009 22:13:26 +0000]
finish implementing -DB vs. -Dx
Vincent Pit [Sun, 30 Aug 2009 21:31:31 +0000]
Revert "Build Text::Tabs before running mktables, as it needs it"
This is no longer needed after reverting
4f87fa576f174a31e6d8fdb08cae76e644395db0.
This reverts commit
8d6e18f2d838bb62bb3431d103b145a05cf94e4a.
Vincent Pit [Sun, 30 Aug 2009 21:30:09 +0000]
Revert "Move Text::Tabs/Text::Wrap from lib to ext"
The mktables failure wasn't the only issue : ExtUtils::Constant also requires
Text::Tabs. Since that makes it effectively toolchain, it's best kept it in
lib/ for now.
This reverts commit
4f87fa576f174a31e6d8fdb08cae76e644395db0.
Vincent Pit [Sun, 30 Aug 2009 21:11:00 +0000]
Build Text::Tabs before running mktables, as it needs it
A Makefile hack courtesy of Nicholas.
Steffen Mueller [Sun, 30 Aug 2009 20:27:58 +0000]
Text::ParseWords depends on Scalar::Util
Add hack to Makefile.SH to specify an explicit dependency of
Text::ParseWords on Scalar::Util.
Steffen Mueller [Sun, 30 Aug 2009 20:18:42 +0000]
Fix Test::ParseWords' test (remove PERL_CORE boilerplate)
Steffen Mueller [Sun, 30 Aug 2009 18:21:31 +0000]
Move Text::Tabs/Text::Wrap from lib to ext
It'll live in ext/Text-Tabs for now to make the Makefile.PL generation
happy.
Steffen Mueller [Sun, 30 Aug 2009 18:13:58 +0000]
Move Text::ParseWords from lib to ext
Rafael Garcia-Suarez [Sun, 30 Aug 2009 20:46:14 +0000]
Remove old "EXCLUDED" entry for base.pm in Maintainers.pl
Rafael Garcia-Suarez [Sun, 30 Aug 2009 20:35:43 +0000]
Update Porting scripts and docs for the new path of Module::CoreList
Rafael Garcia-Suarez [Sun, 30 Aug 2009 20:31:21 +0000]
Adapt Maintainers.pl for Module::CoreList move
Rafael Garcia-Suarez [Sun, 30 Aug 2009 20:18:08 +0000]
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.
Rafael Garcia-Suarez [Sun, 30 Aug 2009 19:54:15 +0000]
Add missing files from the base.pm CPAN distribution
Rafael Garcia-Suarez [Sun, 30 Aug 2009 19:44:11 +0000]
gitignore adjustments
All Makefile.PL ignores are moved to ext/.gitignore, and
duplicates are removed
Nicholas Clark [Sun, 30 Aug 2009 18:21:53 +0000]
Move Net::Ping from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 17:58:39 +0000]
Move I18N::LangTags from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 17:40:39 +0000]
Move Filter::Simple from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 16:25:03 +0000]
Update Text::Balanced to 2.02
At the same time, remove PERL_CORE boilerplate from the test scripts.
Steffen Mueller [Sun, 30 Aug 2009 16:15:52 +0000]
Move Text::Balanced from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 17:16:34 +0000]
Move base from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 13:43:35 +0000]
Update .gitignores in ext and lib to reflect recent moving activity
Steffen Mueller [Sun, 30 Aug 2009 13:43:09 +0000]
Move Term::UI from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 12:48:53 +0000]
Move Term::Cap from lib to ext
Remove PERL_CORE boilerplate in Term::Cap tests
Nicholas Clark [Sun, 30 Aug 2009 14:59:17 +0000]
Remove the $ENV{PERL_CORE} boilerplate from Attribute::Handler's tests.
Nicholas Clark [Sun, 30 Aug 2009 14:27:18 +0000]
Remove the $ENV{PERL_CORE} boilerplate from I18N::Langinfo's tests.
Craig A. Berry [Sun, 30 Aug 2009 13:27:25 +0000]
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.
Rafael Garcia-Suarez [Sun, 30 Aug 2009 14:29:27 +0000]
Fix Safe tests under PERL_CORE and make safeops.t run again
Nicholas Clark [Sun, 30 Aug 2009 14:24:26 +0000]
Sort MANIFEST.
Nicholas Clark [Sun, 30 Aug 2009 14:09:19 +0000]
Remove the $ENV{PERL_CORE} boilerplate from Hash::Util::FieldHash's tests.
Nicholas Clark [Sun, 30 Aug 2009 13:52:02 +0000]
Remove the $ENV{PERL_CORE} boilerplate from Hash::Util's tests.
Nicholas Clark [Sun, 30 Aug 2009 13:24:57 +0000]
Remove the $ENV{PERL_CORE} boilerplate from DynaLoader's tests.
Rafael Garcia-Suarez [Sun, 30 Aug 2009 14:09:50 +0000]
Additions in the gitignore files
Rafael Garcia-Suarez [Sun, 30 Aug 2009 13:54:31 +0000]
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.)
Rafael Garcia-Suarez [Sun, 30 Aug 2009 13:37:02 +0000]
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.
Rafael Garcia-Suarez [Sun, 30 Aug 2009 13:07:20 +0000]
Add missing files from the Safe CPAN distribution
This allows to remove the .gitignore file there.
Rafael Garcia-Suarez [Sun, 30 Aug 2009 12:54:28 +0000]
Add missing files from the Switch CPAN distribution
Nicholas Clark [Sun, 30 Aug 2009 13:09:05 +0000]
Remove the $ENV{PERL_CORE} boilerplate from Data::Dumper's tests.
Nicholas Clark [Sun, 30 Aug 2009 12:44:40 +0000]
Correct 2 UPSTREAM mistakes added in
e1466347d2d91d81b58b.
Nicholas Clark [Sun, 30 Aug 2009 12:42:44 +0000]
Remove the $ENV{PERL_CORE} boilerplate from B's tests.
Nicholas Clark [Sun, 30 Aug 2009 11:43:28 +0000]
Break out B::Debug into its own directory in ext.
Nicholas Clark [Sun, 30 Aug 2009 11:35:10 +0000]
Break out B::Deparse into its own directory in ext.
Nicholas Clark [Sun, 30 Aug 2009 11:30:40 +0000]
Break out B::Lint into its own directory in ext.
Nicholas Clark [Sun, 30 Aug 2009 11:27:18 +0000]
Correctly munge the path of $^X when running interactively, and set PERL5LIB.
David Nicol [Sun, 30 Aug 2009 12:41:21 +0000]
Document better what is allowed as regex delimiters
Identifier characters are allowed. Also add a test
Steffen Mueller [Sun, 30 Aug 2009 10:53:53 +0000]
Move Term::ANSIColor from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 10:43:13 +0000]
Remove the $ENV{PERL_CORE} boilerplate from Storable's tests.
Steffen Mueller [Sun, 30 Aug 2009 10:33:46 +0000]
Remove remaining 'in-core' boilerplate from Shell
Steffen Mueller [Sun, 30 Aug 2009 10:31:42 +0000]
Move Shell from lib to ext
Nicholas Clark [Sun, 30 Aug 2009 10:16:40 +0000]
Move TestInit.pm to the top level of the distribution, to make it easier to use.
Nicholas Clark [Sun, 30 Aug 2009 09:22:51 +0000]
TestInit now also sets up the CWD and @INC for tests in ext.
Nicholas Clark [Sun, 30 Aug 2009 08:25:11 +0000]
Move Switch from lib to ext.
Nicholas Clark [Sun, 30 Aug 2009 07:08:19 +0000]
Tidy up comments.
Nicholas Clark [Sun, 30 Aug 2009 06:43:36 +0000]
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.
Steve Hay [Sun, 30 Aug 2009 02:48:59 +0000]
Fix typo in TestInit and revert workaround.
Nicholas Clark [Sat, 29 Aug 2009 20:31:45 +0000]
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.
Nicholas Clark [Sat, 29 Aug 2009 10:10:00 +0000]
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.)
Abhijit Menon-Sen [Sat, 29 Aug 2009 07:38:46 +0000]
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/.
Nicholas Clark [Fri, 28 Aug 2009 21:16:31 +0000]
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.
Nicholas Clark [Fri, 28 Aug 2009 21:23:35 +0000]
Remove the function mn(), made redundant by runnig the tsts from inside ext/
Craig A. Berry [Fri, 28 Aug 2009 19:18:37 +0000]
Use ../../t/perl rather than ../../perl, as the latter doesn't always exist.
(For example, when perl is built for the VMS debugger.)
Frank Wiegand [Fri, 28 Aug 2009 09:12:59 +0000]
Add ~~ and // to perlcheat.pod
Rafael Garcia-Suarez [Fri, 28 Aug 2009 08:33:31 +0000]
There is no longer an "err" low-prec version of //, so remove it from B::Deparse
Nicholas Clark [Thu, 27 Aug 2009 23:44:15 +0000]
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.
Nicholas Clark [Thu, 27 Aug 2009 19:37:49 +0000]
Don't use t/TEST to test a "read only file", repeatedly chmod-ing it a-w.
David Golden [Thu, 27 Aug 2009 15:41:10 +0000]
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]
Nicholas Clark [Thu, 27 Aug 2009 13:26:20 +0000]
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.
Nicholas Clark [Thu, 27 Aug 2009 12:23:38 +0000]
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.
Vincent Pit [Thu, 27 Aug 2009 09:13:09 +0000]
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.
Vincent Pit [Thu, 27 Aug 2009 08:38:34 +0000]
delimcopy(), ibcmp(), ibcmp_locale(), instr(), ninstr() and rninstr() from util.c don't need the interpreter as well
Reini Urban [Thu, 27 Aug 2009 08:19:26 +0000]
B - The Perl Compiler (wrong name)
The Perl Compilers are for some time in B::C and not B. B is only the
backend.
Vincent Pit [Wed, 26 Aug 2009 22:11:38 +0000]
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
Chip Salzenberg [Wed, 26 Aug 2009 22:17:55 +0000]
fix threaded build after
8ff3e83b
Chip Salzenberg [Wed, 26 Aug 2009 21:33:15 +0000]
In C<use utf8; a=>'b'>, do not set utf8 flag on 'a' [perl #68812]
Chip Salzenberg [Wed, 26 Aug 2009 21:05:15 +0000]
set utf8 bit on inferred method names when C<use utf8>
Chip Salzenberg [Wed, 26 Aug 2009 20:26:49 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/perl into blead
Chip Salzenberg [Wed, 26 Aug 2009 20:25:52 +0000]
New debugging flag -DB now dumps subroutine definitions,
leaving -Dx for its original purpose of dumping syntax trees.
Nicholas Clark [Wed, 26 Aug 2009 19:55:36 +0000]
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.)
Nicholas Clark [Wed, 26 Aug 2009 19:43:11 +0000]
Break out the code that finds tests in MANIFEST into _tests_from_manifest().
Nicholas Clark [Wed, 26 Aug 2009 18:39:20 +0000]
%OVER was removed in October 2001 with
6ff868ee and 73ddec28.
Nicholas Clark [Wed, 26 Aug 2009 18:06:55 +0000]
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.
Nicholas Clark [Wed, 26 Aug 2009 17:42:29 +0000]
Ensure $ENV{PERL_CORE} is always set, but correctly tainted.
Hopefully a better solution than
a19106168e3a7e2a. (change 19964)
Rafael Garcia-Suarez [Wed, 26 Aug 2009 13:44:44 +0000]
Cargo-cult addition of op_say to the MAD code
(and make some more TODO tests pass)
Rafael Garcia-Suarez [Wed, 26 Aug 2009 13:39:03 +0000]
This MAD test now passes here, so unmark it as TODO
Rafael Garcia-Suarez [Wed, 26 Aug 2009 13:30:35 +0000]
Make MAD understand the "..." operator
Rafael Garcia-Suarez [Wed, 26 Aug 2009 12:32:22 +0000]
Use less constness in MAD code
This suppresses warnings, because sometimes the constness was taken away
Rafael Garcia-Suarez [Wed, 26 Aug 2009 09:56:00 +0000]
Note the change to Socket in perldelta.
Rafael Garcia-Suarez [Wed, 26 Aug 2009 09:53:15 +0000]
Bump version of Socket.pm
Lubomir Rintel [Tue, 25 Aug 2009 15:09:53 +0000]
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>
John P. Linderman [Wed, 26 Aug 2009 07:14:13 +0000]
Improve perlhack instructions about gprof
Nicholas Clark [Tue, 25 Aug 2009 21:06:28 +0000]
abd39864 broke t/harness when $ENV{TEST_JOBS} was not set. Oops. Fixed.
Michael G. Schwern [Wed, 4 Mar 2009 04:42:55 +0000]
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.]
Michael G. Schwern [Tue, 3 Mar 2009 00:12:33 +0000]
Document the purpose of TestInit
[Ammended with a grammar fix]
Michael G. Schwern [Tue, 3 Mar 2009 00:11:25 +0000]
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.
Michael G. Schwern [Tue, 3 Mar 2009 00:09:21 +0000]
There's no reason to load TestInit in TEST.
Since TestInit executes code on loading can be actively bad.
Michael G. Schwern [Tue, 3 Mar 2009 00:08:38 +0000]
Quote "strict"->import and "warnings"->import to quiet warnings.
[Ammended slightly to invert the change in
3fd4b35989]
Michael G. Schwern [Mon, 2 Mar 2009 01:03:55 +0000]
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.
Michael G. Schwern [Mon, 2 Mar 2009 00:55:01 +0000]
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]