This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoRename ext/Module/Pluggable to ext/Module-Pluggable
Nicholas Clark [Mon, 9 Feb 2009 18:45:18 +0000 (18:45 +0000)]
Rename ext/Module/Pluggable to ext/Module-Pluggable

15 years agoRename ext/Math/BigInt/FastCalc to ext/Math-BigInt-FastCalc
Nicholas Clark [Mon, 9 Feb 2009 16:54:14 +0000 (16:54 +0000)]
Rename ext/Math/BigInt/FastCalc to ext/Math-BigInt-FastCalc

15 years agoRename ext/MIME/Base64 to ext/MIME-Base64
Nicholas Clark [Mon, 9 Feb 2009 16:40:56 +0000 (16:40 +0000)]
Rename ext/MIME/Base64 to ext/MIME-Base64

15 years agoRename ext/List/Util as ext/List-Util
Nicholas Clark [Mon, 9 Feb 2009 16:20:28 +0000 (16:20 +0000)]
Rename ext/List/Util as ext/List-Util

15 years agoRename ext/I18N/Langinfo to ext/I18N-Langinfo
Nicholas Clark [Mon, 9 Feb 2009 16:04:26 +0000 (16:04 +0000)]
Rename ext/I18N/Langinfo to ext/I18N-Langinfo

15 years agoRename ext/Hash/Util to ext/Hash-Util
Nicholas Clark [Mon, 9 Feb 2009 15:40:02 +0000 (15:40 +0000)]
Rename ext/Hash/Util to ext/Hash-Util

15 years agoRename ext/Hash/Util/FieldHash to ext/Hash-Util-FieldHash
Nicholas Clark [Mon, 9 Feb 2009 15:22:27 +0000 (15:22 +0000)]
Rename ext/Hash/Util/FieldHash to ext/Hash-Util-FieldHash

15 years agoRename ext/Filter/Util/Call to ext/Filter-Util-Call
Nicholas Clark [Mon, 9 Feb 2009 14:41:51 +0000 (14:41 +0000)]
Rename ext/Filter/Util/Call to ext/Filter-Util-Call

15 years agoRename ext/File/Glob to ext/File-Glob
Nicholas Clark [Mon, 9 Feb 2009 13:32:21 +0000 (13:32 +0000)]
Rename ext/File/Glob to ext/File-Glob

15 years agoRename ext/Digest/SHA to ext/Digest-SHA
Nicholas Clark [Mon, 9 Feb 2009 12:58:18 +0000 (12:58 +0000)]
Rename ext/Digest/SHA to ext/Digest-SHA

15 years agoRename ext/Digest/MD5 to ext/Digest-MD5
Nicholas Clark [Mon, 9 Feb 2009 11:50:04 +0000 (11:50 +0000)]
Rename ext/Digest/MD5 to ext/Digest-MD5

15 years agoRename ext/Devel/Peek to ext/Devel-Peek
Nicholas Clark [Mon, 9 Feb 2009 11:33:59 +0000 (11:33 +0000)]
Rename ext/Devel/Peek to ext/Devel-Peek

15 years agoRename ext/Devel/PPPort to ext/Devel-PPPort
Nicholas Clark [Mon, 9 Feb 2009 11:19:11 +0000 (11:19 +0000)]
Rename ext/Devel/PPPort to ext/Devel-PPPort
It has its tentacles in many other places.

15 years agoRename ext/Devel/DProf to ext/Devel-DProf
Nicholas Clark [Mon, 9 Feb 2009 09:27:52 +0000 (09:27 +0000)]
Rename ext/Devel/DProf to ext/Devel-DProf

15 years agoIn The Grand Trek, Filter::Util::Call's call.t didn't trek far enough.
Nicholas Clark [Mon, 9 Feb 2009 13:44:32 +0000 (13:44 +0000)]
In The Grand Trek, Filter::Util::Call's call.t didn't trek far enough.

15 years agoRename ext/Data/Dumper to ext/Data-Dumper
Nicholas Clark [Mon, 9 Feb 2009 09:14:40 +0000 (09:14 +0000)]
Rename ext/Data/Dumper to ext/Data-Dumper

15 years agoRename ext/Compress/Zlib to ext/Compress-Zlib
Nicholas Clark [Mon, 9 Feb 2009 08:53:52 +0000 (08:53 +0000)]
Rename ext/Compress/Zlib to ext/Compress-Zlib

15 years agoRename ext/Compress/Raw/Zlib to ext/Compress-Raw-Zlib
Nicholas Clark [Mon, 9 Feb 2009 08:23:25 +0000 (08:23 +0000)]
Rename ext/Compress/Raw/Zlib to ext/Compress-Raw-Zlib

15 years agoGoodbye, make_ext.com; make_ext.pl will take over now.
Craig A. Berry [Mon, 9 Feb 2009 01:15:41 +0000 (19:15 -0600)]
Goodbye, make_ext.com; make_ext.pl will take over now.

But thanks for 7 1/2 years of faithful service.

15 years agoRename ext/Win32API/File to ext/Win32API-File
Nicholas Clark [Sun, 8 Feb 2009 22:28:04 +0000 (22:28 +0000)]
Rename ext/Win32API/File to ext/Win32API-File

15 years agoadd link for those who look at overload for overriding
Yitzchak Scott-Thoennes [Sun, 8 Feb 2009 22:13:19 +0000 (14:13 -0800)]
add link for those who look at overload for overriding

15 years agoFix some thread context mistakes that snuck in with b94a8c495f3a28de7de57070f1a1089de...
Craig A. Berry [Sun, 8 Feb 2009 19:27:36 +0000 (13:27 -0600)]
Fix some thread context mistakes that snuck in with b94a8c495f3a28de7de57070f1a1089de672ecba.

15 years agoSkip tests for flattened extensions that weren't built.
Craig A. Berry [Sun, 8 Feb 2009 19:20:07 +0000 (13:20 -0600)]
Skip tests for flattened extensions that weren't built.

Foo/Bar may live under ext/Foo-Bar, but if we didn't build it, we
still need to skip its tests.

15 years agoUse make_ext.pl on VMS to build, clean, and realclean extensions.
Craig A. Berry [Sun, 8 Feb 2009 01:32:40 +0000 (19:32 -0600)]
Use make_ext.pl on VMS to build, clean, and realclean extensions.

15 years agoData-Dumper --> Data/Dumper for VMS extension list as well.
Nicholas Clark [Sun, 8 Feb 2009 01:25:38 +0000 (19:25 -0600)]
Data-Dumper --> Data/Dumper for VMS extension list as well.

Revised slightly and the effects of dash versus slash changed in the
list of exclusions.

Message-ID: <20090206211641.GA39741@plum.flirble.org>

15 years agoPort make_ext.pl to VMS.
Craig A. Berry [Sat, 7 Feb 2009 22:00:44 +0000 (16:00 -0600)]
Port make_ext.pl to VMS.

15 years agoFix Exporter test for 2770a1ce2934f4277de13f4f795ba41c86bf1646. Silly me.
Nicholas Clark [Sat, 7 Feb 2009 20:34:55 +0000 (20:34 +0000)]
Fix Exporter test for 2770a1ce2934f4277de13f4f795ba41c86bf1646. Silly me.

15 years agoCarp 1.05 shipped with 5.8.8. Remove work-around for pre 1.05.
Nicholas Clark [Sat, 7 Feb 2009 15:47:15 +0000 (15:47 +0000)]
Carp 1.05 shipped with 5.8.8. Remove work-around for pre 1.05.

15 years agorequire warnings; as late as possible, to avoid a new side effect of
Nicholas Clark [Sat, 7 Feb 2009 15:00:33 +0000 (15:00 +0000)]
require warnings; as late as possible, to avoid a new side effect of
use UNIVERSAL;

15 years agopp_send() doesn't need to allocate 1000 stack slots for syswrite $tiedhandle, $buf
Vincent Pit [Sat, 7 Feb 2009 14:17:04 +0000 (15:17 +0100)]
pp_send() doesn't need to allocate 1000 stack slots for syswrite $tiedhandle, $buf

15 years agoAdd test for previous patch (deprecation of UNIVERSAL->import)
Rafael Garcia-Suarez [Sat, 7 Feb 2009 14:31:49 +0000 (15:31 +0100)]
Add test for previous patch (deprecation of UNIVERSAL->import)

15 years agodeprecate UNIVERSAL->import
Ricardo SIGNES [Mon, 26 Jan 2009 15:07:12 +0000 (10:07 -0500)]
deprecate UNIVERSAL->import

15 years agoSkip the 0oX... mode copying tests when chmod fails to set the mode on files.
Nicholas Clark [Sat, 7 Feb 2009 14:20:15 +0000 (14:20 +0000)]
Skip the 0oX... mode copying tests when chmod fails to set the mode on files.

15 years agorelocate "warnings" section of UNIVERSAL man page
Ricardo SIGNES [Mon, 26 Jan 2009 14:54:57 +0000 (09:54 -0500)]
relocate "warnings" section of UNIVERSAL man page

15 years agopare down docs of UNIVERSAL in perlobj
Ricardo SIGNES [Mon, 26 Jan 2009 14:53:51 +0000 (09:53 -0500)]
pare down docs of UNIVERSAL in perlobj

15 years agoext/Sys-Syslog/t/constants.t needs to find macros.all in the new place
Vincent Pit [Sat, 7 Feb 2009 13:48:06 +0000 (14:48 +0100)]
ext/Sys-Syslog/t/constants.t needs to find macros.all in the new place

15 years agoUpdate Module::Load to 0.16
Jos I. Boumans [Sat, 7 Feb 2009 13:32:56 +0000 (14:32 +0100)]
Update Module::Load to 0.16

This is a mere test-suite tweak to work around a bug in perl 5.8.[45],
but submitted to keep CPAN & core in sync.

15 years agoThe correct name of PERL_UTF8_magic is PERL_MAGIC_utf8, so use it in sv.c apidocs
Vincent Pit [Sat, 7 Feb 2009 11:19:01 +0000 (12:19 +0100)]
The correct name of PERL_UTF8_magic is PERL_MAGIC_utf8, so use it in sv.c apidocs

15 years agoRemove duplicate code from dynamic_ext(), static_ext() and nonxs_ext(),
Nicholas Clark [Sat, 7 Feb 2009 11:52:43 +0000 (11:52 +0000)]
Remove duplicate code from dynamic_ext(), static_ext() and nonxs_ext(),
extensions() and known_extensions().

15 years agoFindExt matches on extension name, not directory name, so IPC-SysV not SysV.
Nicholas Clark [Sat, 7 Feb 2009 09:44:08 +0000 (09:44 +0000)]
FindExt matches on extension name, not directory name, so IPC-SysV not SysV.
(Diagnosed by Max Maischein)

15 years agoRename ext/Sys/Syslog to ext/Sys-Syslog and ext/IPC/SysV to ext/IPC-SysV
Nicholas Clark [Fri, 6 Feb 2009 23:04:29 +0000 (23:04 +0000)]
Rename ext/Sys/Syslog to ext/Sys-Syslog and ext/IPC/SysV to ext/IPC-SysV
(the missed parts)

15 years agoRename ext/Sys/Syslog to ext/Sys-Syslog
Nicholas Clark [Fri, 6 Feb 2009 22:55:02 +0000 (22:55 +0000)]
Rename ext/Sys/Syslog to ext/Sys-Syslog

15 years agoRename ext/IPC/SysV to ext/IPC-SysV
Nicholas Clark [Fri, 6 Feb 2009 22:44:22 +0000 (22:44 +0000)]
Rename ext/IPC/SysV to ext/IPC-SysV

15 years agoCope with new-style ext/Data-Dumper as well as old-style ext/Data/Dumper
Nicholas Clark [Fri, 6 Feb 2009 18:28:47 +0000 (18:28 +0000)]
Cope with new-style ext/Data-Dumper as well as old-style ext/Data/Dumper

15 years agoUse an ordinary paragraph to reference sv.h.
Matt Kraai [Fri, 6 Feb 2009 09:22:00 +0000 (10:22 +0100)]
Use an ordinary paragraph to reference sv.h.

15 years ago"wide character" warnings are severe
Slaven Rezic [Thu, 5 Feb 2009 11:47:53 +0000 (12:47 +0100)]
"wide character" warnings are severe

15 years agoExclude VMS extensions on non-VMS.
Nicholas Clark [Thu, 5 Feb 2009 14:14:53 +0000 (14:14 +0000)]
Exclude VMS extensions on non-VMS.

15 years agoMove XSSymSet.pm to lib/ExtUtils/, but only install it on VMS.
Nicholas Clark [Thu, 5 Feb 2009 13:55:07 +0000 (13:55 +0000)]
Move XSSymSet.pm to lib/ExtUtils/, but only install it on VMS.
This reduces the number of places with special-casing logic.

15 years agoWhen normalising @extspec, use the result of s/// in if() rather than m//
Nicholas Clark [Wed, 4 Feb 2009 20:46:25 +0000 (20:46 +0000)]
When normalising @extspec, use the result of s/// in if() rather than m//

15 years agoRemove the / from the end of the extension directory. Change the quantifiers on
Nicholas Clark [Wed, 4 Feb 2009 19:52:00 +0000 (19:52 +0000)]
Remove the / from the end of the extension directory. Change the quantifiers on
the regexp from * to +.

15 years agoSome refactoring in the loop that constructs parameters for build_extension().
Nicholas Clark [Wed, 4 Feb 2009 19:28:06 +0000 (19:28 +0000)]
Some refactoring in the loop that constructs parameters for build_extension().

15 years agoUpgrade to Pod-Parser-1.37.
Steve Hay [Wed, 4 Feb 2009 16:45:11 +0000 (16:45 +0000)]
Upgrade to Pod-Parser-1.37.

Two local changes remain:

part of the change to t/pod/pod2usage2.t in
http://perl5.git.perl.org/perl.git/commitdiff/767c16a

part of the change to lib/Pod/t/contains_pod.t in
http://perl5.git.perl.org/perl.git/commitdiff/fb59f97

15 years agoAlso cope with extension directory names of the form ext/Data-Dumper/...
Nicholas Clark [Wed, 4 Feb 2009 17:13:30 +0000 (17:13 +0000)]
Also cope with extension directory names of the form ext/Data-Dumper/...

15 years agoClearer variable names. Add a mode line coda.
Nicholas Clark [Wed, 4 Feb 2009 12:15:19 +0000 (12:15 +0000)]
Clearer variable names. Add a mode line coda.
Because a substantial amount of this file is about to be refactored, I decided
that we should expand tabs to spaces.

15 years agoA test for FindExt, not run by make test. (Useful for refactoring FindExt.)
Nicholas Clark [Wed, 4 Feb 2009 10:08:11 +0000 (10:08 +0000)]
A test for FindExt, not run by make test. (Useful for refactoring FindExt.)

15 years agosetpgrp() should extend the stack before modifying it
Niko Tyni [Mon, 26 Jan 2009 12:14:36 +0000 (14:14 +0200)]
setpgrp() should extend the stack before modifying it

As reported by Marcin Owsiany in <http://bugs.debian.org/512796>,
invoking setpgrp without any arguments could corrupt the stack.

15 years agolong-ago h2xs changes
Yitzchak Scott-Thoennes [Wed, 4 Feb 2009 04:37:23 +0000 (20:37 -0800)]
long-ago h2xs changes

15 years agovms rename Unix mode fixes
John Malmberg [Mon, 2 Feb 2009 14:23:49 +0000 (08:23 -0600)]
vms rename Unix mode fixes

Here are the fixes for the rename() wrapper to support Unix mode better.

Removed calls to pathify/vmsify that were redundant because of
flex_lstat() calls.

Support option to unlink all versions on rename.

Message-id: <498701F5.5040906@gmail.com>

15 years agovms kill_file / rmdir updates
John Malmberg [Mon, 2 Feb 2009 05:07:30 +0000 (23:07 -0600)]
vms kill_file / rmdir updates

This updates vms kill_file and rmdir routines to do fewer calls of vmsify
and pathify as the flex_lstat() already does these operations and caches
the result.

Fix kill_file so that option to unlink all versions works.

Message-id: <49867F92.7080508@gmail.com>

15 years agoRefactor to avoid changing directory, and avoid needing getcwd().
Nicholas Clark [Tue, 3 Feb 2009 23:07:36 +0000 (23:07 +0000)]
Refactor to avoid changing directory, and avoid needing getcwd().

15 years agoOops. Missed these two files from commit 200cbd6aa595a0743f2aa115148750c075df3f97.
Steve Hay [Tue, 3 Feb 2009 17:56:38 +0000 (17:56 +0000)]
Oops. Missed these two files from commit 200cbd6aa595a0743f2aa115148750c075df3f97.

15 years agoFollow-up to commit 4adc95e616bac7eea015e9e47e439b063c1132d5 suggested by
Steve Hay [Tue, 3 Feb 2009 17:39:06 +0000 (17:39 +0000)]
Follow-up to commit 4adc95e616bac7eea015e9e47e439b063c1132d5 suggested by
Jan Dubois:

Subject: RE: [perl #61492] ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically linked
From: "Jan Dubois" <jand@activestate.com>
Date: Fri, 19 Dec 2008 10:07:07 -0800
Message-ID: <013d01c96204$9b211e80$d1635b80$@com>

15 years agoConvert the last few references from buildext.pl to make_ext.pl
Nicholas Clark [Mon, 2 Feb 2009 21:56:38 +0000 (21:56 +0000)]
Convert the last few references from buildext.pl to make_ext.pl

15 years agoFold win32/buildext.pl into make_ext.pl
Nicholas Clark [Mon, 2 Feb 2009 21:42:33 +0000 (21:42 +0000)]
Fold win32/buildext.pl into make_ext.pl

15 years agoMake t/pod/pod2usage2.t work on case insensitive file systems.
Jerry D. Hedden [Mon, 2 Feb 2009 21:25:38 +0000 (21:25 +0000)]
Make t/pod/pod2usage2.t work on case insensitive file systems.

pod_where() checks the current dir when looking for PODs
when the -dirs option is not specified.  Because of
case-insensitivity under Cygwin, this causes t/pod/usage.pod
to get found before lib/Pod/Usage.pm.

The fix is to set -dir=>[] in pod_where() when testing in
CORE under Cygwin.  The attached patch does this.

15 years agoext/DB_File needs a ppport.h
Nicholas Clark [Mon, 2 Feb 2009 20:31:27 +0000 (20:31 +0000)]
ext/DB_File needs a ppport.h

15 years agoAdd missed file ext/DB_File/config.in and update ext/DB_File/Changes, both
Nicholas Clark [Mon, 2 Feb 2009 20:17:59 +0000 (20:17 +0000)]
Add missed file ext/DB_File/config.in and update ext/DB_File/Changes, both
accidentally omitted from d8bf0b8cc0654f404eb597a952c50e72976fd4fa.

15 years agoBump version of PerlIO::via after previous change
Rafael Garcia-Suarez [Mon, 2 Feb 2009 16:01:10 +0000 (17:01 +0100)]
Bump version of PerlIO::via after previous change

15 years agoWhen loading a PerlIO::via layer, first look in the PerlIO::via namespace
Rafael Garcia-Suarez [Mon, 2 Feb 2009 14:56:13 +0000 (15:56 +0100)]
When loading a PerlIO::via layer, first look in the PerlIO::via namespace

Previously an open "via(Foo)" was first looking for the Foo namespace,
then for PerlIO::via::Foo. That could cause loading problems if both Foo
and PerlIO::via::Foo namespaces existed, and when the latter was
required. The workaround of loading "via(PerlIO::via::Foo)" being rather
ugly, it's preferable to look first for the fully qualified namespace
in order to avoid side-effects depending of what namespaces are
instanciated in the interpreter.

15 years agoRestore broken clean target in win32/makefile.mk
Steve Hay [Mon, 2 Feb 2009 13:18:34 +0000 (13:18 +0000)]
Restore broken clean target in win32/makefile.mk

Commit aaaf44d72fce5980564533b9072da6e594d91d81 accidentally missed a --all
argument for buildext.pl, which resulted in the extensions not getting
"dmake realclean" run in them.

15 years agoUpdate CPAN.pm to 1.93_03
Andreas J. Koenig [Mon, 2 Feb 2009 09:11:30 +0000 (09:11 +0000)]
Update CPAN.pm to 1.93_03

Message-ID: <87vdrumeds.fsf@k75.linux.bogus>

15 years agoUpgrade to Encode-2.29.
Steve Hay [Mon, 2 Feb 2009 08:59:11 +0000 (08:59 +0000)]
Upgrade to Encode-2.29.

15 years agoUpgrade DB_File to 1.818.
Steve Hay [Mon, 2 Feb 2009 08:54:00 +0000 (08:54 +0000)]
Upgrade DB_File to 1.818.

15 years agoPut parentheses around macro arguments
Rafael Garcia-Suarez [Sun, 1 Feb 2009 21:52:13 +0000 (22:52 +0100)]
Put parentheses around macro arguments

15 years agoCast result to character size before array indexed
Karl [Sat, 31 Jan 2009 19:03:42 +0000 (12:03 -0700)]
Cast result to character size before array indexed

15 years agovms stat patches (take 2)
John Malmberg [Sun, 1 Feb 2009 02:36:55 +0000 (20:36 -0600)]
vms stat patches (take 2)

Conversion of Perl_flex_stat_int() to tolerate a null thread context,
and updates to better handle Unix Format or Extended File System
character sets.

vms_fid_to_name() now understands stat/lstat for properly handling
symbolic links, and uses a similar algorithm as Perl_flex_stat_int() for
consistency.  Will now optionally return the mode bits from the stat
operation.

(The parts of the patch that worked around null thread context when
checking vmsish hints are omitted since that's been handled somewhat
differently by a520a2c43dd549df0ebed1f073e13cc4564380db).

Message-id: <49850AC7.1020906@gmail.com>

15 years agoFor the vmsish pragma, make sure there is a thread context if needed.
Craig A. Berry [Sun, 1 Feb 2009 21:09:25 +0000 (15:09 -0600)]
For the vmsish pragma, make sure there is a thread context if needed.

The hints are interpreter-specific, and we check them in some
pretty low-level routines, such as time(), gmtime(), and stat(),
where it's possible thread context may not have been initialized
yet (or may have already been torn down).

15 years agoMake Time/HiRes/Makefile.PL produce a Makefile if one is needed
Max Maischein [Sat, 31 Jan 2009 13:50:34 +0000 (14:50 +0100)]
Make Time/HiRes/Makefile.PL produce a Makefile if one is needed

15 years agoReplacing system $scalar with system @list requires splitting $MAKE on spaces.
Nicholas Clark [Sun, 1 Feb 2009 14:37:21 +0000 (14:37 +0000)]
Replacing system $scalar with system @list requires splitting $MAKE on spaces.

15 years agoLoop over @extspec, calling build_extension() on each.
Nicholas Clark [Sun, 1 Feb 2009 11:38:31 +0000 (11:38 +0000)]
Loop over @extspec, calling build_extension() on each.

15 years agoThe $@ was actually a botched conversion from $make $targ, rather than an
Nicholas Clark [Sun, 1 Feb 2009 10:23:54 +0000 (10:23 +0000)]
The $@ was actually a botched conversion from $make $targ, rather than an
attempt to output a literal $

15 years agoCorrectly escape $ in debug statement
Rafael Garcia-Suarez [Sun, 1 Feb 2009 09:53:25 +0000 (10:53 +0100)]
Correctly escape $ in debug statement

15 years agoUpdate Makefile-cross-SH with 07f3cc2a611daebb9d83f869d36ef63cf4fa2565 and
Nicholas Clark [Sat, 31 Jan 2009 21:34:49 +0000 (21:34 +0000)]
Update Makefile-cross-SH with 07f3cc2a611daebb9d83f869d36ef63cf4fa2565 and
61edc68382f612a884a3181266d6220ea3a727eb

15 years agoMove the static/dynamic/nonxs LINKTYPE logic from make_ext.pl to Makefile.SH
Nicholas Clark [Sat, 31 Jan 2009 20:16:43 +0000 (20:16 +0000)]
Move the static/dynamic/nonxs LINKTYPE logic from make_ext.pl to Makefile.SH
This simplifies make_ext.pl considerably. Given that the first use of 'passthru'
was in 40000a8c37c35cc00114329ca0add46bca36a0ec in 1995, possibly we should have
done this particular refactoring a little while ago.

15 years agoUse the build_extension() routine from win32/buildext.pl
Nicholas Clark [Sat, 31 Jan 2009 17:16:21 +0000 (17:16 +0000)]
Use the build_extension() routine from win32/buildext.pl
Swap from $passthru to @pass_through, and $run to @run.
Use the list form of system everywhere.
Hard code 'Makefile' as it does not vary.
Correct the perlism 'chdir' in the *clean.sh writing code.

15 years agoCreate build_extension() to encapsulate the per-extension logic.
Nicholas Clark [Sat, 31 Jan 2009 17:12:40 +0000 (17:12 +0000)]
Create build_extension() to encapsulate the per-extension logic.
Use @pass_through to hold extra VARIABLE=value assignments.
Add @run to hold optional build-time run prefix.
Use the list form of system for everything.
Always call a target - default to 'all' if not is passed in.
Merge the alternate logic for selecting -MCross from make_ext.pl

15 years agoMake dir and target --options to buildext.pl. Update the documentation.
Nicholas Clark [Sat, 31 Jan 2009 13:56:28 +0000 (13:56 +0000)]
Make dir and target --options to buildext.pl. Update the documentation.

15 years agoMake lib/Config_heavy.pl part of $(CONFIGPM) as the build ordering is now sane.
Nicholas Clark [Sat, 31 Jan 2009 13:39:04 +0000 (13:39 +0000)]
Make lib/Config_heavy.pl part of $(CONFIGPM) as the build ordering is now sane.
Effectively $(CONFIGPM_EXTRA) becomes $(CONFIGPM) and $(CONFIGPM) becomes
$(CONFIGPM_FROM_CONFIG_SH). Mention lib/Config_heavy.pl as something that
is built by running make_patchnum.pl
Hopefully this avoids warnings from Config.pm during the build.

15 years agoThe hack to write out realclean.sh and veryclean.sh is for Unix only.
Nicholas Clark [Sat, 31 Jan 2009 12:20:26 +0000 (12:20 +0000)]
The hack to write out realclean.sh and veryclean.sh is for Unix only.

15 years agoMove the target generic logic above the extension specific logic.
Nicholas Clark [Fri, 30 Jan 2009 23:39:15 +0000 (23:39 +0000)]
Move the target generic logic above the extension specific logic.
This will make it easier to refactor to converge on the Win32 (and VMS)
equivalents, which set things up, then loop around all appropriate extensions.

15 years agoThe logic to set $makefile to 'Makefile.old' can't work, so remove it.
Nicholas Clark [Fri, 30 Jan 2009 23:12:24 +0000 (23:12 +0000)]
The logic to set $makefile to 'Makefile.old' can't work, so remove it.
(Makefile.old is created by running make clean in an extension, and make clean
at the top level removes ./miniperl, so there won't be a miniperl to run
make_ext.pl. The Makefile.old logic was valid for the shell script version.
Remove $makeopts, which was missed from the make command in the transcription
from shell to Perl.

15 years agoEliminate $makeargs by prepending its contents to $passthru.
Nicholas Clark [Fri, 30 Jan 2009 22:52:50 +0000 (22:52 +0000)]
Eliminate $makeargs by prepending its contents to $passthru.

15 years agoUse Config; rather than parsing config.sh and pushing it into %ENV, a literal
Nicholas Clark [Fri, 30 Jan 2009 20:45:48 +0000 (20:45 +0000)]
Use Config; rather than parsing config.sh and pushing it into %ENV, a literal
transcription of the make_ext shell script. (We'll soon see if anything we
called was using its environment rather than Config.pm)

15 years agoFix paths on new pod2usage2 tests to work in the core.
Nicholas Clark [Fri, 30 Jan 2009 19:20:08 +0000 (19:20 +0000)]
Fix paths on new pod2usage2 tests to work in the core.

15 years agoReplace the one file timestamp dependency check with a call to 'make config'
Nicholas Clark [Fri, 30 Jan 2009 17:53:45 +0000 (17:53 +0000)]
Replace the one file timestamp dependency check with a call to 'make config'
The timestamp check was from the original checkin of buidlext.pl in 2001
(17af6fb0658e86e2f4a472e3392fc688e0c25b43) by Nick I-S.
The 'make config' approach of make_ext was in the 5.000 release.

15 years agoPod correction for ExtUtils::XSSymSet.
Craig A. Berry [Fri, 30 Jan 2009 16:08:19 +0000 (10:08 -0600)]
Pod correction for ExtUtils::XSSymSet.

15 years agoUpgrade to Pod-Parser-1.36.
Steve Hay [Fri, 30 Jan 2009 10:27:25 +0000 (10:27 +0000)]
Upgrade to Pod-Parser-1.36.

Three local changes remain in blead:

Blank lines "between" verbatim sections are now acceptible:
http://perl5.git.perl.org/perl.git/commitdiff/caa547d

Be less picky about what constitutes "numeric lists" in Pod:
http://perl5.git.perl.org/perl.git/commitdiff/4df4f5d

Changes made to contains_pod.t when upgrading to 1.34:
http://perl5.git.perl.org/perl.git/commitdiff/fb59f97

15 years agoTweaks to pod/perlrepository.pod
Gisle Aas [Thu, 29 Jan 2009 16:23:50 +0000 (17:23 +0100)]
Tweaks to pod/perlrepository.pod

Mention the github mirror early.
Document the perl5.git.perl.org:/perl.git repository url form.
Use 'git commit -a -m ...' throughout.
Mention that 'git commit -a --amend' is very useful.
The easiest way to inspect the last commit is 'git show HEAD'.
Mention 'git checkout -f' as the way to revert all your edits.

15 years agowin32/ext was removed by change 30379 in 2007, so no need to check for it in the
Nicholas Clark [Thu, 29 Jan 2009 20:00:48 +0000 (20:00 +0000)]
win32/ext was removed by change 30379 in 2007, so no need to check for it in the
Makefiles.

15 years agoAdd --options with arguments to make_ext.pl. Pass $target as --target=...
Nicholas Clark [Thu, 29 Jan 2009 21:13:01 +0000 (21:13 +0000)]
Add --options with arguments to make_ext.pl. Pass $target as --target=...
Treat all arguments that /=/ as passthrough, the rest being extensions.
This will converge the argument passing conventions for make_ext.pl and
win32/buildext.pl