platform/upstream/perl.git
14 years agoConvert I18N::Langinfo to XSLoader from DynaLoader.
Nicholas Clark [Tue, 19 Oct 2010 15:46:16 +0000 (17:46 +0200)]
Convert I18N::Langinfo to XSLoader from DynaLoader.

14 years agoUse inlineable proxy constant subs for I18N::Langinfo
Nicholas Clark [Tue, 19 Oct 2010 13:28:52 +0000 (15:28 +0200)]
Use inlineable proxy constant subs for I18N::Langinfo

Also remove all the "fallback" code, as I18N::Langinfo is core only, and the
core always has ExtUtils::Constant.

14 years agofix indentation for prototype switch statements
David Golden [Tue, 19 Oct 2010 15:10:03 +0000 (11:10 -0400)]
fix indentation for prototype switch statements

14 years agoRemove unused variable len from code generated by ExtUtils::Constant::ProxySubs
Nicholas Clark [Tue, 19 Oct 2010 12:19:28 +0000 (13:19 +0100)]
Remove unused variable len from code generated by ExtUtils::Constant::ProxySubs

This was missed from change 575f055216d48b9f.

14 years agoStop 'use v5.8' leaking memory. Fixes #78436.
Nicholas Clark [Tue, 19 Oct 2010 11:26:19 +0000 (13:26 +0200)]
Stop 'use v5.8' leaking memory. Fixes #78436.

Based on a patch proposed by Niko Tyni.

14 years agoMake Fcntl::AUTOLOAD's error messages consistent with croak() using modules.
Nicholas Clark [Tue, 19 Oct 2010 10:34:20 +0000 (12:34 +0200)]
Make Fcntl::AUTOLOAD's error messages consistent with croak() using modules.

Fcntl avoids using Carp::croak(), but its code was adding a full stop at the
end of all error messages. Other modules are using croak(), which has no full
stop between the line number and the newline.

Add a test for the error messages from Fcntl::AUTOLOAD.

14 years agoFcntl, POSIX and Socket can all use Proxy Constant Subs unconditionally.
Nicholas Clark [Tue, 19 Oct 2010 10:13:52 +0000 (12:13 +0200)]
Fcntl, POSIX and Socket can all use Proxy Constant Subs unconditionally.

Previously each Makefile.PL had conditional code to only use them post 5.9.2,
so that the code would not diverge between blead and maint-5.8. That isn't an
important consideration any longer, whereas removing the conditional code here
will allow their AUTOLOAD routines to be simplified.

14 years agoImprove the generated C code for $xs_subname for Proxy Constant Subroutines.
Nicholas Clark [Tue, 19 Oct 2010 09:14:25 +0000 (11:14 +0200)]
Improve the generated C code for $xs_subname for Proxy Constant Subroutines.

14 years agoFix file permissions after CPAN upgrade to 1.94_61
Nicholas Clark [Tue, 19 Oct 2010 08:02:37 +0000 (09:02 +0100)]
Fix file permissions after CPAN upgrade to 1.94_61

(To keep the releases process sane, execute permission in the repository is
kept consistent with the distribution)

14 years agoFixed typo (double "with the") in release_managers_guide.pod
Tatsuhiko Miyagawa [Tue, 19 Oct 2010 07:52:38 +0000 (16:52 +0900)]
Fixed typo (double "with the") in release_managers_guide.pod

14 years agoFix C++ build for Fcntl.xs.
Nicholas Clark [Tue, 19 Oct 2010 07:42:25 +0000 (08:42 +0100)]
Fix C++ build for Fcntl.xs.

96d24b8ce2ce0411 wasn't C++ friendly.

14 years agoUpdate CPAN to CPAN version 1.94_61
Chris 'BinGOs' Williams [Tue, 19 Oct 2010 07:24:35 +0000 (08:24 +0100)]
Update CPAN to CPAN version 1.94_61

  [DELTA]

  2010-10-03  Andreas J. Koenig  <andk@cpan.org>

  * release 1.94_61

  * address RT #61735: stop talking about sending test reports by email (Schwern)

  * prevent the use of old versions of Parse::CPAN::Meta which caused test failures

  * bandaid for native solaris patch program to actually do patching

  2010-09-28  Andreas J. Koenig  <andk@cpan.org>

  * release 1.94_60

  * improvements to find_perl() by David Golden

  * test fixes to address the issues demonstrated by some cpantesters

  2010-09-26  Andreas J. Koenig  <andk@cpan.org>

  * release 1.94_59

  * address RT #61607: make the FTP download code more robust  (Reini Urban)

  * omit useless arithmetic in CPAN::Version to possibly help netbsd
  (reported by Nigel Horne and suggested David Golden)

  * address RT #59216: make sure $builddir exists before calling tempdir
  (Lee Goddard)

  * a couple of new distropref files

  2010-06-24  Andreas J. Koenig  <andk@cpan.org>

  * release 1.94_58

  * bugfix: Non-English locales got no diagnostics on a failed locking due
  to permissions (reported by Frank Wiegand)

  * chasing test failures with test fixes.

14 years agobumped GDBM_File version per da4061d and added perldelta for it
Tatsuhiko Miyagawa [Tue, 19 Oct 2010 07:18:58 +0000 (16:18 +0900)]
bumped GDBM_File version per da4061d and added perldelta for it

14 years agoBumped B::Deparse version and added perldelta entry for it per a539498
Tatsuhiko Miyagawa [Tue, 19 Oct 2010 07:15:00 +0000 (16:15 +0900)]
Bumped B::Deparse version and added perldelta entry for it per a539498

14 years agoUpdate miyagawa's email address
Jesse Vincent [Tue, 19 Oct 2010 04:01:43 +0000 (13:01 +0900)]
Update miyagawa's email address

14 years agoFix typo in how_to_write_a_perldelta.pod
Tatsuhiko Miyagawa [Tue, 19 Oct 2010 02:14:38 +0000 (11:14 +0900)]
Fix typo in how_to_write_a_perldelta.pod

14 years agoFix issues with the podlators update
Chris 'BinGOs' Williams [Mon, 18 Oct 2010 23:28:43 +0000 (00:28 +0100)]
Fix issues with the podlators update

Upstream removed the wrappers from the scripts pod2man and pod2text which
will require some re-engineering. I've reinstated the wrappers until after
v5.13.6 ships.

Added perlpodstyle to pod.lst

14 years agoSet Data::Dumper’s release date to that of perl 5.13.6
Father Chrysostomos [Mon, 18 Oct 2010 23:25:55 +0000 (16:25 -0700)]
Set Data::Dumper’s release date to that of perl 5.13.6

just in case 5.13.6 is released before the next CPAN release of DD.

14 years agoAdd keys(@a) and values(@a) to perldelta
Zsbán Ambrus [Mon, 18 Oct 2010 23:22:52 +0000 (16:22 -0700)]
Add keys(@a) and values(@a) to perldelta
since it was missed in 5.12.0

14 years agoDon't use "dllimport" for code in perl5xx.dll
Jan Dubois [Mon, 18 Oct 2010 22:56:04 +0000 (15:56 -0700)]
Don't use "dllimport" for code in perl5xx.dll

This makes a difference for extensions that are "statically"
linked into the Perl library, like DynaLoader and Win32CORE.
The MinGW compiler/linker cannot resolve symbols that have
been annotated as "dllimport" but are actually defined inside
the same library.

An exception is needed for the ext/re extension, which
redefines core APIs internally, so these functions must
not be marked as "dllimport" either.

This commit is a fix/enhancement to commit ad6ab6c5.

14 years ago[perl #78334] keys(@x) should be in perl5120delta.pod
Zsbán Ambrus [Mon, 18 Oct 2010 21:46:58 +0000 (14:46 -0700)]
[perl #78334] keys(@x) should be in perl5120delta.pod

14 years agoExpress @Fcntl::EXPORT_OK in terms of %Fcntl::EXPORT_TAGS.
Nicholas Clark [Mon, 18 Oct 2010 19:31:10 +0000 (21:31 +0200)]
Express @Fcntl::EXPORT_OK in terms of %Fcntl::EXPORT_TAGS.

This reduces quite a lot of repetition of symbol names.

Note that '&SUBNAME' and 'SUBNAME' are interchangeable to Exporter.

14 years agoConvert Fcntl::S_IFMT to XS.
Nicholas Clark [Mon, 18 Oct 2010 18:31:00 +0000 (20:31 +0200)]
Convert Fcntl::S_IFMT to XS.

This removes the requirement to call XSLoader::load() at BEGIN time, which
simplifies the Perl code further.

14 years agoConvert Fcntl::S_IMODE to XS.
Nicholas Clark [Mon, 18 Oct 2010 18:10:39 +0000 (20:10 +0200)]
Convert Fcntl::S_IMODE to XS.

14 years agoConvert Fcntl::S_IS{LNK,SOCK,BLK,CHR,FIFO,WHT,ENFMT} to XS.
Nicholas Clark [Mon, 18 Oct 2010 17:30:12 +0000 (19:30 +0200)]
Convert Fcntl::S_IS{LNK,SOCK,BLK,CHR,FIFO,WHT,ENFMT} to XS.

This reduces the memory usage of Fcntl by quite a bit, as the same XSUB is used
by all 9 S_IS* functions.

14 years agoConvert Fcntl::{S_ISREG,S_ISDIR} to XS.
Nicholas Clark [Mon, 18 Oct 2010 14:01:00 +0000 (16:01 +0200)]
Convert Fcntl::{S_ISREG,S_ISDIR} to XS.

I estimate that this saves 294 bytes in Perl space (per thread, or per-process
if memory pages become unshared after forking), but costs only 232 bytes in the
shared object (should always remain shared between threads and processes).

Oh, and it's XS code, and avoids 2 Perl subroutine calls.

14 years agoTweak t/porting/dual-life.t for the file renames in 463da0ac9e3d63ff.
Nicholas Clark [Mon, 18 Oct 2010 17:20:24 +0000 (18:20 +0100)]
Tweak t/porting/dual-life.t for the file renames in 463da0ac9e3d63ff.

podlators 2.4.0 renamed scripts/pod2*.PL to scripts/pod2*

14 years agoUpdate Compress-Raw-Bzip2 to CPAN version 2.031
Chris 'BinGOs' Williams [Mon, 18 Oct 2010 15:37:43 +0000 (16:37 +0100)]
Update Compress-Raw-Bzip2 to CPAN version 2.031

  [DELTA]

  2.031 21 September 2010

      * Updated to use bzip2 1.0.6

14 years agoUpdate podlators to CPAN version 2.4.0
Chris 'BinGOs' Williams [Mon, 18 Oct 2010 14:00:04 +0000 (15:00 +0100)]
Update podlators to CPAN version 2.4.0

  The new perlpodstyle.pod has been located to pod/

  Changes were necessary to mkppport because of a new dependency on
  Encode in podlators that stopped it being built before Encode was built.

  [DELTA]

  2010-10-10  Russ Allbery  <rra@stanford.edu>

  * VERSION: podlators 2.4.0 released.

  * scripts/pod2man: Remove the code to generate the #! line and
  supporting code and instead rely on ExtUtils::MakeMaker to handle
  that during package build.
  * scripts/pod2text: Likewise.
  * scripts/pod2man.PL: Renamed to pod2man.
  * scripts/pod2text.PL: Renamed to pod2text.
  * Makefile.PL: Remove PL_FILES section.

  * pod/perlpodstyle.pod: New style guide for POD documentation,
  split mostly from the NOTES section of the pod2man man page.
  * scripts/pod2man.PL: Remove NOTES section, now maintained as the
  separate perlpodstyle document.
  * Makefile.PL: Add perlpodstyle.1 to the generated man pages.

  * lib/Pod/Man.pm (cmd_para): Do not strip escaped trailing
  whitespace, such as that created by S<> at the end of a line,
  since the backslash is then taken by *roff as escaping the
  newline.  Thanks, Kevin Ryde.
  * t/man.t: Test S<> at the end of lines.

  * lib/Pod/Man.pm (output): If the utf8 option is given, encode
  output in UTF-8 if there is no encoding layer.  Now requires the
  Encode module.
  (start_document): Rather than forcibly change the PerlIO encoding
  layer, probe the PerlIO layers with protection for Perl versions
  without PerlIO and set a flag indicating whether to encode on the
  fly on output.
  * lib/Pod/Text.pm: Likewise.
  * Makefile.PL: Mark Encode as required.
  * t/man-perlio.t: Test Pod::Man output to a file handle with a
  PerlIO encoding layer already applied.
  * t/text-perlio.t: Likewise for Pod::Text.

14 years agoFix Fcntl::S_ISENFMT(), which could never have worked before.
Nicholas Clark [Mon, 18 Oct 2010 13:04:32 +0000 (15:04 +0200)]
Fix Fcntl::S_ISENFMT(), which could never have worked before.

S_ISENFMT() and S_ISWHT() were added in 2000 as part of commit ca6e1c26e8ac218f.
1a16747c2ea1992d (2 weeks later) intended to fix the copy/paste error in that
previous commit which would prevent either from working. It did fix S_ISWHT().
However, there was a second error in the definition of S_ISEMFMT() which was
never picked up - S_ENFMT(), not S_IFENFMT().

14 years agoConvert File::Glob::import to $Exporter::ExportLevel and grep.
Nicholas Clark [Mon, 18 Oct 2010 08:55:15 +0000 (10:55 +0200)]
Convert File::Glob::import to $Exporter::ExportLevel and grep.

Previously it was using goto & and splice, and was not as simple to read.

14 years agoConvert File::Glob::import to use given/when.
Nicholas Clark [Mon, 18 Oct 2010 08:22:44 +0000 (10:22 +0200)]
Convert File::Glob::import to use given/when.

14 years agoRemove MacOS classic support from File::Glob's tests.
Nicholas Clark [Mon, 18 Oct 2010 07:47:12 +0000 (09:47 +0200)]
Remove MacOS classic support from File::Glob's tests.

14 years agoMention symbol shortening on VMS in perldelta.
Craig A. Berry [Mon, 18 Oct 2010 03:42:57 +0000 (22:42 -0500)]
Mention symbol shortening on VMS in perldelta.

14 years agoperldelta entries
Ævar Arnfjörð Bjarmason [Sun, 17 Oct 2010 20:45:37 +0000 (13:45 -0700)]
perldelta entries

with tweaks from the committer

14 years agoRemove mention of cb525dbe88 from the perldelta comment
Father Chrysostomos [Sun, 17 Oct 2010 20:24:54 +0000 (13:24 -0700)]
Remove mention of cb525dbe88 from the perldelta comment

14 years agoParentheses in compiler flags are legal on VMS.
Craig A. Berry [Sun, 17 Oct 2010 20:23:08 +0000 (15:23 -0500)]
Parentheses in compiler flags are legal on VMS.

And sometimes required.  Removing them was causing Embed.t to fail
when compiler options with lists were in use, such as
/NAMES=(AS_IS,SHORTENED).

14 years agoClean up the name mangler database on VMS.
Craig A. Berry [Sun, 17 Oct 2010 20:18:02 +0000 (15:18 -0500)]
Clean up the name mangler database on VMS.

This is created when compiling with /NAMES=SHORTENED.

Already committed upstream at:

http://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/8f164a59

14 years ago* perlfaq4: perlreftut is no longer upcoming, it's come
brian d foy [Sun, 17 Oct 2010 04:43:50 +0000 (23:43 -0500)]
* perlfaq4: perlreftut is no longer upcoming, it's come

14 years agoUpdate Unicode-Collate to CPAN version 0.63
Chris 'BinGOs' Williams [Sat, 16 Oct 2010 23:37:58 +0000 (00:37 +0100)]
Update Unicode-Collate to CPAN version 0.63

  [DELTA]

  0.63  Sun Oct 10 22:13:21 2010
    - supported suppress contractions (see 'suppress' in POD).
    - internal for hangul_terminator in getSortKey().
    - U::C::Locale newly supports locales: be, bg, kk, mk, ru, sr.
    - added tailoring with U+0340 or U+0341 instead of U+0300 or U+0301.
        (affected locales: hr, is, pl, se, to, wo)

14 years agoAdd Mike Kelly to AUTHORS
Father Chrysostomos [Sat, 16 Oct 2010 05:52:30 +0000 (22:52 -0700)]
Add Mike Kelly to AUTHORS

14 years agodist/IO: fix a few typos
Mike Kelly [Sat, 16 Oct 2010 00:40:45 +0000 (17:40 -0700)]
dist/IO: fix a few typos

14 years agoAdd Ali Polatel to AUTHORS
Father Chrysostomos [Sat, 16 Oct 2010 00:40:22 +0000 (17:40 -0700)]
Add Ali Polatel to AUTHORS

14 years agodist/IO: Always bind to localhost in tests.
Ali Polatel [Sat, 16 Oct 2010 00:15:34 +0000 (17:15 -0700)]
dist/IO: Always bind to localhost in tests.

This is necessary on Exherbo, at least, because of the network
sandboxing that is done by 'sydbox'. And, in general, tests shouldn't be
listening on all interfaces.

14 years agoUse __declspec(dllimport) for XS code on Windows
Jan Dubois [Fri, 15 Oct 2010 21:48:38 +0000 (14:48 -0700)]
Use __declspec(dllimport) for XS code on Windows

By default C compilers will generate direct call instructions that the
linker will have to route trhough a call thunk if the call site is not
available at link time.  By annotating all imported symbols the compiler
is able to generate a indirect call instruction directly.

This should improve performance minimally, but will also make sure the
Perl API functions have the same addresses inside the core and inside
XS modules.  The ext/XS-APItest/t/call_checker.t tests rely on being able
to compare function addresses.

14 years agoUpdate regen targets on VMS.
Craig A. Berry [Fri, 15 Oct 2010 19:56:58 +0000 (14:56 -0500)]
Update regen targets on VMS.

14 years agoBand-aid to handle long API symbol on VMS.
Craig A. Berry [Fri, 15 Oct 2010 19:38:53 +0000 (14:38 -0500)]
Band-aid to handle long API symbol on VMS.

For the first time we now have a symbol longer than 31 characters
in the API, not just internally or generated in xsubs.  That means
we have to provide the shortened name in the linker options file
used to produce the shareable image, but the documentation on the
CRC used to produce the short name is incomplete.  For a more
general solution, we may have to root through the demangler
database or parse the output of CC/WARN=ENABLE=NAMESHORTENED.

14 years agoMake splice invoke set magic
Florian Ragwitz [Fri, 15 Oct 2010 17:34:52 +0000 (19:34 +0200)]
Make splice invoke set magic

14 years agoSubject: [perl #58182] partial: Add uni \s,\w matching
Karl Williamson [Fri, 24 Sep 2010 05:36:40 +0000 (23:36 -0600)]
Subject: [perl #58182] partial: Add uni \s,\w matching

This commit causes regex sequences \b, \s, and \w (and complements) to
match in the latin1 range in the scope of feature 'unicode_strings' or
with the /u regex modifier.

It uses the previously unused flags field in the respective regnodes to
indicate the type of matching, and in regexec.c, uses that to decide
which of the handy.h macros to use, native or Latin1.

I chose this for now rather than create new nodes for each type of
match.  An earlier version of this patch did that, and in every case the
switch case: statements were adjacent, offering no performance
advantage.  If regexec were modified to use in-line functions or more
macros for various short section of it, then it would be faster to have
new nodes rather than using the flags field.  But, using that field
simplified things, as this change flies under the radar in a number of
places where it would not if separate nodes were used.

14 years agoperlre.pod: slight rewording
Karl Williamson [Thu, 23 Sep 2010 15:35:53 +0000 (09:35 -0600)]
perlre.pod: slight rewording

14 years agoSubject: unicode_strings.t: Imprv test output
Karl Williamson [Thu, 23 Sep 2010 13:57:02 +0000 (07:57 -0600)]
Subject: unicode_strings.t: Imprv test output

This improves the phrasing of the output of the tests

14 years agoSubject: unicode_strings.t: rmv trail blanks
Karl Williamson [Thu, 23 Sep 2010 13:55:15 +0000 (07:55 -0600)]
Subject: unicode_strings.t: rmv trail blanks

14 years agoSubject: regcomp.h: Add macro to get regnode flags
Karl Williamson [Thu, 23 Sep 2010 13:53:10 +0000 (07:53 -0600)]
Subject: regcomp.h: Add macro to get regnode flags

14 years agoSubject: [PATCH] regexec.c: make macros fit 80 cols
Karl Williamson [Thu, 23 Sep 2010 13:51:09 +0000 (07:51 -0600)]
Subject: [PATCH] regexec.c: make macros fit 80 cols

Certain multi-line macros had their continuation backslashes way out.
One line of each is longer than 80 chars, but no point in makeing all
the lines that long.

14 years agoSubject: [PATCH] regexec.c: add and refactor macros
Karl Williamson [Thu, 23 Sep 2010 13:49:37 +0000 (07:49 -0600)]
Subject: [PATCH] regexec.c: add and refactor macros

Add macros that will have unicode semantics; these share much code in
common with ones that don't.  So factor out that common code.

These might be good candidates for inline functions.

14 years agoregcomp.c: Fix white space, cuddled else
Karl Williamson [Thu, 23 Sep 2010 13:18:12 +0000 (07:18 -0600)]
regcomp.c: Fix white space, cuddled else

14 years agoperlrebackslash: Fix poor grammar
Karl Williamson [Thu, 23 Sep 2010 13:15:36 +0000 (07:15 -0600)]
perlrebackslash: Fix poor grammar

14 years agoremove some broken markup from release_schedule
Jesse Vincent [Fri, 15 Oct 2010 14:12:05 +0000 (23:12 +0900)]
remove some broken markup from release_schedule

14 years agoAdd another victim, get a 2011 heading
Jesse Vincent [Fri, 15 Oct 2010 14:11:45 +0000 (23:11 +0900)]
Add another victim, get a 2011 heading

14 years agoUpdate our victim list through spring
Jesse Vincent [Fri, 15 Oct 2010 14:04:19 +0000 (23:04 +0900)]
Update our victim list through spring

14 years agosign myself up for a blead release and the 5.14 RC0
Jesse Vincent [Fri, 15 Oct 2010 13:53:21 +0000 (22:53 +0900)]
sign myself up for a blead release and the 5.14 RC0

14 years agoImplement File::Glob::GLOB_CSH in XS instead of perl.
Nicholas Clark [Fri, 15 Oct 2010 13:42:47 +0000 (14:42 +0100)]
Implement File::Glob::GLOB_CSH in XS instead of perl.

14 years agoUse inlineable proxy constant subs for File::Glob
Nicholas Clark [Fri, 15 Oct 2010 13:11:44 +0000 (14:11 +0100)]
Use inlineable proxy constant subs for File::Glob

14 years agoExpress @File::Glob::EXPORT_OK in terms of %File::Glob::EXPORT_TAGS.
Nicholas Clark [Fri, 15 Oct 2010 10:29:53 +0000 (11:29 +0100)]
Express @File::Glob::EXPORT_OK in terms of %File::Glob::EXPORT_TAGS.

This reduces duplication.

14 years agoFile::Glob::GLOB_ERROR is a real subroutine, not a constant().
Nicholas Clark [Fri, 15 Oct 2010 10:00:27 +0000 (11:00 +0100)]
File::Glob::GLOB_ERROR is a real subroutine, not a constant().

Previously it was bodged as a constant(), with an explicit wrapper subroutine
in Glob.pm to call each time to get the value.

14 years agoNothing autoloaded in Sys::Hostname or I18N::Langinfo, so don't use AutoLoader;
Nicholas Clark [Fri, 15 Oct 2010 08:53:28 +0000 (09:53 +0100)]
Nothing autoloaded in Sys::Hostname or I18N::Langinfo, so don't use AutoLoader;

14 years agoRemove erroneous references to AutoLoader from File::Glob.
Nicholas Clark [Fri, 15 Oct 2010 08:52:54 +0000 (09:52 +0100)]
Remove erroneous references to AutoLoader from File::Glob.

14 years agoDocument that av_delete and hv_delete make their return values mortal.
Chip Salzenberg [Fri, 15 Oct 2010 00:50:10 +0000 (17:50 -0700)]
Document that av_delete and hv_delete make their return values mortal.

14 years agoMake cpan/CGI/t/http.t (hopefully) compatible with VMS
Father Chrysostomos [Thu, 14 Oct 2010 21:04:55 +0000 (14:04 -0700)]
Make cpan/CGI/t/http.t (hopefully) compatible with VMS

I will submit a similar patch upstream in a few days.

14 years agoperldelta: Missing a C from C<>
Father Chrysostomos [Thu, 14 Oct 2010 20:45:13 +0000 (13:45 -0700)]
perldelta: Missing a C from C<>

14 years agoConvert modules in ext/ to pass minimal arguments to XSLoader::load().
Nicholas Clark [Thu, 14 Oct 2010 20:44:08 +0000 (21:44 +0100)]
Convert modules in ext/ to pass minimal arguments to XSLoader::load().

14 years agoXSLoader::load() with no arguments can use caller to find a default package.
Nicholas Clark [Thu, 14 Oct 2010 20:30:16 +0000 (21:30 +0100)]
XSLoader::load() with no arguments can use caller to find a default package.

In the case of dynamic linking, it's already using caller to get a filename, so
this isn't usually any extra work.

14 years agoperldelta: delete $+{...} was in the wrong section
Father Chrysostomos [Thu, 14 Oct 2010 20:37:18 +0000 (13:37 -0700)]
perldelta: delete $+{...} was in the wrong section

14 years agoperldelta up to 97a3247
Father Chrysostomos [Thu, 14 Oct 2010 20:34:15 +0000 (13:34 -0700)]
perldelta up to 97a3247

14 years agoCorrect threads version
Father Chrysostomos [Thu, 14 Oct 2010 20:02:40 +0000 (13:02 -0700)]
Correct threads version

14 years agoUpdate .gitignore for the Tie::Hash::NamedCapture move
Florian Ragwitz [Thu, 14 Oct 2010 16:55:52 +0000 (18:55 +0200)]
Update .gitignore for the Tie::Hash::NamedCapture move

14 years agoChange the perl version mentioned in threads.pm concerning dirhandles
Father Chrysostomos [Thu, 14 Oct 2010 16:33:01 +0000 (09:33 -0700)]
Change the perl version mentioned in threads.pm concerning dirhandles
as this may change before 5.14.

14 years agoRemove the code for file exclusions from Maintainers.pm - nothing needs it now.
Nicholas Clark [Thu, 14 Oct 2010 14:30:47 +0000 (15:30 +0100)]
Remove the code for file exclusions from Maintainers.pm - nothing needs it now.

14 years agoSince c440907b, Maintainers.pl doesn't need exclusions for XSLoader's files.
Nicholas Clark [Thu, 14 Oct 2010 13:39:15 +0000 (14:39 +0100)]
Since c440907b, Maintainers.pl doesn't need exclusions for XSLoader's files.

Previously, XSLoader and DynaLoader shared a directory (ext/DynaLoader).
The ownership lists for core files was expressed as ext/DynaLoader, with
specific exclusions for XSLoader's files. These are now superfluous.

14 years agoMove remaining Tie::Hash::NamedCapture XS code to NamedCapture.xs
Nicholas Clark [Thu, 14 Oct 2010 14:34:03 +0000 (15:34 +0100)]
Move remaining Tie::Hash::NamedCapture XS code to NamedCapture.xs

Now all the support code for %+ and %- is contained in the module in ext/

14 years agoMove Tie::Hash::NamedCapture::{FIRST,NEXT}KEY to NamedCapture.xs
Nicholas Clark [Thu, 14 Oct 2010 13:09:15 +0000 (14:09 +0100)]
Move Tie::Hash::NamedCapture::{FIRST,NEXT}KEY to NamedCapture.xs

14 years agoConvert lib/Tie/Hash/NamedCapture.pm to an XS module in ext/
Nicholas Clark [Thu, 14 Oct 2010 12:29:22 +0000 (13:29 +0100)]
Convert lib/Tie/Hash/NamedCapture.pm to an XS module in ext/

Initially move only Tie::Hash::NamedCapture::flags from universal.c to it.

14 years agoMerge XS_Tie_Hash_NamedCapture_{FIRSTK,NEXTK} into S_named_capture_iter_common.
Nicholas Clark [Thu, 14 Oct 2010 10:41:50 +0000 (11:41 +0100)]
Merge XS_Tie_Hash_NamedCapture_{FIRSTK,NEXTK} into S_named_capture_iter_common.

14 years agoMerge XS_Tie_Hash_NamedCapture_STORE into S_named_capture_common.
Nicholas Clark [Thu, 14 Oct 2010 10:17:35 +0000 (11:17 +0100)]
Merge XS_Tie_Hash_NamedCapture_STORE into S_named_capture_common.

14 years agoMerge XS_Tie_Hash_NamedCapture_CLEAR into S_named_capture_common.
Nicholas Clark [Thu, 14 Oct 2010 10:04:51 +0000 (11:04 +0100)]
Merge XS_Tie_Hash_NamedCapture_CLEAR into S_named_capture_common.

14 years agoMerge XS_Tie_Hash_NamedCapture_DELETE into S_named_capture_common.
Nicholas Clark [Thu, 14 Oct 2010 09:44:15 +0000 (10:44 +0100)]
Merge XS_Tie_Hash_NamedCapture_DELETE into S_named_capture_common.

14 years agoMerge XS_Tie_Hash_NamedCapture_SCALAR into S_named_capture_common.
Nicholas Clark [Thu, 14 Oct 2010 09:24:45 +0000 (10:24 +0100)]
Merge XS_Tie_Hash_NamedCapture_SCALAR into S_named_capture_common.

14 years agoMerge XS_Tie_Hash_NamedCapture_{FETCH,EXISTS} into S_named_capture_common.
Nicholas Clark [Thu, 14 Oct 2010 09:08:08 +0000 (10:08 +0100)]
Merge XS_Tie_Hash_NamedCapture_{FETCH,EXISTS} into S_named_capture_common.

14 years agoExpand CALLREG_NAMED_BUFF* macros in XS_Tie_Hash_NamedCapture_*
Nicholas Clark [Thu, 14 Oct 2010 08:47:57 +0000 (09:47 +0100)]
Expand CALLREG_NAMED_BUFF* macros in XS_Tie_Hash_NamedCapture_*

This reveals even more similarity between the routines' bodies.

14 years agoFix x2p and utils dependencies for static builds
Andy Dougherty [Wed, 13 Oct 2010 17:27:12 +0000 (13:27 -0400)]
Fix x2p and utils dependencies for static builds

The x2p and utils .PL extractions use the Cwd module, which is not
available in miniperl in a static build.  (For a dynamic build, miniperl
only loads the pure perl portion of Cwd, but building the whole extension
ensures that the pure perl part is correctly built and available.  It might
be cleaner just to always require the full perl.)

14 years agoRemove or update pod references to regexp reëntrance.
Father Chrysostomos [Thu, 14 Oct 2010 06:41:38 +0000 (23:41 -0700)]
Remove or update pod references to regexp reëntrance.

14 years agowarnings.pl -> regen/warnings.pl
Father Chrysostomos [Thu, 14 Oct 2010 06:29:57 +0000 (23:29 -0700)]
warnings.pl -> regen/warnings.pl

14 years agoregcomp.pl -> regen/regcomp.pl
Father Chrysostomos [Thu, 14 Oct 2010 06:28:48 +0000 (23:28 -0700)]
regcomp.pl -> regen/regcomp.pl

14 years agoreentr.pl -> regen/reentr.pl
Father Chrysostomos [Thu, 14 Oct 2010 06:26:14 +0000 (23:26 -0700)]
reentr.pl -> regen/reentr.pl

14 years agooverload.pl -> regen/overload.pl
Father Chrysostomos [Thu, 14 Oct 2010 06:24:22 +0000 (23:24 -0700)]
overload.pl -> regen/overload.pl

14 years agoopcode.pl -> regen/opcode.pl
Father Chrysostomos [Thu, 14 Oct 2010 06:18:36 +0000 (23:18 -0700)]
opcode.pl -> regen/opcode.pl

14 years agokeywords.pl -> regen/keywords.pl
Father Chrysostomos [Thu, 14 Oct 2010 06:22:56 +0000 (23:22 -0700)]
keywords.pl -> regen/keywords.pl

14 years agoembed.pl -> regen/embed.pl
Father Chrysostomos [Thu, 14 Oct 2010 06:15:06 +0000 (23:15 -0700)]
embed.pl -> regen/embed.pl

so newcomers can find it more easily

14 years agoaf00134636ffe4172cbffeaed3bbad802e58d8a0 broke regen_perly.
Zefram [Thu, 14 Oct 2010 05:34:15 +0000 (22:34 -0700)]
af00134636ffe4172cbffeaed3bbad802e58d8a0 broke regen_perly.

14 years agoperldelta up to 825563b9
Father Chrysostomos [Thu, 14 Oct 2010 05:31:59 +0000 (22:31 -0700)]
perldelta up to 825563b9