This is a live mirror of the Perl 5 development currently hosted at
10 years agoAdd new hdr op_reg_common to Makefile.SH
Karl Williamson [Thu, 29 Jul 2010 17:52:52 +0000 (11:52 -0600)]
Add new hdr op_reg_common to Makefile.SH

I believe this is required for dependencies to be calculated properly

10 years agoTests to check if FETCH of a tied variable isn't called more
Abigail [Fri, 30 Jul 2010 00:21:52 +0000 (02:21 +0200)]
Tests to check if FETCH of a tied variable isn't called more
than once. See also Bug 76814.

10 years agoPeek.t: better identify failing tests
David Mitchell [Thu, 29 Jul 2010 18:37:16 +0000 (19:37 +0100)]
Peek.t: better identify failing tests

10 years agoDump didn't display CVf_ISXSUB flag
David Mitchell [Thu, 29 Jul 2010 18:11:32 +0000 (19:11 +0100)]
Dump didn't display CVf_ISXSUB flag

10 years agoPerl_do_sv_dump didn't increase nesting for magic
David Mitchell [Thu, 29 Jul 2010 18:06:02 +0000 (19:06 +0100)]
Perl_do_sv_dump didn't increase nesting for magic

10 years agoPerl_do_sv_dump: alert when skipping elements
David Mitchell [Thu, 29 Jul 2010 17:57:11 +0000 (18:57 +0100)]
Perl_do_sv_dump: alert when skipping elements

When dumping an HV, we skip dumping the elements if the iterator is
already in use. Explain this in the dump output so people like me aren't
left wondering why the elements have vanished.

10 years agoexpand the xhv_backreferences code notes
David Mitchell [Thu, 29 Jul 2010 16:56:24 +0000 (17:56 +0100)]
expand the xhv_backreferences code notes

(so that I don't get so confused when I revisit this code in 5 years time)

10 years agore-apply some xhv_backreferences notes and stuff
David Mitchell [Thu, 29 Jul 2010 12:55:39 +0000 (13:55 +0100)]
re-apply some xhv_backreferences notes and stuff

re-apply some of the small doc fixes and a couple of minor code tweaks that
were part of the reverted commit 044d8c24fa9214cf0fe9c6fc8a44e03f3f5374d7,
but which didn't need reverting

10 years agoRevert "process xhv_backreferences early in S_hfreeentries"
David Mitchell [Thu, 29 Jul 2010 12:33:19 +0000 (13:33 +0100)]
Revert "process xhv_backreferences early in S_hfreeentries"

This reverts commit 044d8c24fa9214cf0fe9c6fc8a44e03f3f5374d7.



That commit tried to simply the xhv_backreferences processing, but
was totally wrong and broke ordinary weak refs to hashes (see #76716).

10 years agoRevert "make it an error to look for magic hv backref"
David Mitchell [Thu, 29 Jul 2010 12:23:22 +0000 (13:23 +0100)]
Revert "make it an error to look for magic hv backref"

This reverts commit 64345bb5cdba725a5e2af06c99aa36d8a1b8b873.

10 years agoHash assignment can zap weak references to the hash
Father Chrysostomos (via RT) [Sun, 25 Jul 2010 19:46:06 +0000 (12:46 -0700)]
Hash assignment can zap weak references to the hash

[perl #76716]

commits 044d8c24f and 64345bb broke backrefs to hashes that are merely
cleared or undeffed, but not freed. Spotted by Father Chrysostomos.
Test for it here (fixes coming next)

10 years agoRefactor common parts of op.h, regexp.h into new .h
Karl Williamson [Tue, 20 Jul 2010 04:26:43 +0000 (22:26 -0600)]
Refactor common parts of op.h, regexp.h into new .h

op.h and regexp.h share common elements in their data structures.  They
have had to manually be kept in sync.  This patch makes it easier by
putting those common parts into a common header #included by the two.

To do this, it seemed easiest to change the symbol definitions to use
left shifts to generate the flag bits.  But this meant that
and axt/B/defsubs_h.PL had to be taught to recognize those forms of
expressions, done in separate commits

10 years agoext/B/defsubs_h.PL: teach to allow exprs with <<
Karl Williamson [Tue, 20 Jul 2010 03:51:32 +0000 (21:51 -0600)]
ext/B/defsubs_h.PL: teach to allow exprs with <<

Allow #defines which have left shift operators in them.

10 years Teach to handle wider range of exprs
Karl Williamson [Tue, 20 Jul 2010 03:46:49 +0000 (21:46 -0600)] Teach to handle wider range of exprs

In particular teach it to handle definitions using <<, e.g.
    #define SYMBOL (1<<3)
and to remember previous symbol definitons in the file so that symbol
can be  used in later definitions.

10 years agoext/B/defsubs_h.PL: add explanatory comment
Karl Williamson [Mon, 19 Jul 2010 23:18:03 +0000 (17:18 -0600)]
ext/B/defsubs_h.PL: add explanatory comment

10 years agodefsubs_h.PL: Use correct variable in error msg
Karl Williamson [Mon, 19 Jul 2010 23:15:51 +0000 (17:15 -0600)]
defsubs_h.PL: Use correct variable in error msg

10 years agoregexp.h: Add some comments
Karl Williamson [Mon, 19 Jul 2010 19:06:19 +0000 (13:06 -0600)]
regexp.h: Add some comments

10 years agoop.h: Fix comments in #defines that cross lines
Karl Williamson [Mon, 19 Jul 2010 18:22:16 +0000 (12:22 -0600)]
op.h: Fix comments in #defines that cross lines

It is not good form to have comments in a #define continue onto the next
line, especially not with a \ ending each continuation line.  People
preferred that the comment be placed before the #define

10 years agoMake srand() return "0 but true" for 0, for backwards compatible behaviour.
Nicholas Clark [Wed, 28 Jul 2010 10:01:51 +0000 (11:01 +0100)]
Make srand() return "0 but true" for 0, for backwards compatible behaviour.

10 years agoAdd a test for srand's return value
Rafael Garcia-Suarez [Wed, 28 Jul 2010 08:25:47 +0000 (10:25 +0200)]
Add a test for srand's return value

10 years agosrand: change to return its seed
Karl Williamson [Tue, 27 Jul 2010 14:18:25 +0000 (08:18 -0600)]
srand: change to return its seed

This commit changes srand to to return the seed instead of always
returning 1.  The motivation behind this is to allow applications to not
have to come up with their own pseudo-random generator if they want
repeatable results.

The previous return behavior has never been documented.  Note that it is
possible, but very unlikely, for the seed to end up being 0, which means
that if someone were relying on the undocumented previous behavior of
srand returning true, that in very rare instances it would return 0,
failing, and the next time they ran it, it would succeed, possibly
leading to puzzlement and very rare unexplained failures.

10 years agoremove misleading comment about CXINC; it's fine
Chip Salzenberg [Wed, 28 Jul 2010 06:42:49 +0000 (23:42 -0700)]
remove misleading comment about CXINC; it's fine

10 years agoRevert "Fix off-by-one: avoid allocating an extra context"
Chip Salzenberg [Wed, 28 Jul 2010 06:40:56 +0000 (23:40 -0700)]
Revert "Fix off-by-one: avoid allocating an extra context"
This reverts commit 395b8e2d02eadc9b0639534410c39c530bc8a33d.
The fencepost error is coming from inside the programmer!

10 years agoFix off-by-one: avoid allocating an extra context
Chip Salzenberg [Wed, 28 Jul 2010 03:45:41 +0000 (20:45 -0700)]
Fix off-by-one: avoid allocating an extra context
(patch req by Nicholas)

10 years agoBump $ExtUtils::ParseXS::VERSION to non-dev version
Florian Ragwitz [Tue, 27 Jul 2010 12:05:42 +0000 (14:05 +0200)]
Bump $ExtUtils::ParseXS::VERSION to non-dev version

It's upstream => blead now.

10 years agoMove ExtUtils::ParseXS from cpan/ to dist/
Florian Ragwitz [Tue, 27 Jul 2010 12:02:15 +0000 (14:02 +0200)]
Move ExtUtils::ParseXS from cpan/ to dist/

Both Ken and David agree with this.

10 years agoDocument in perldelta Karl's work I just merged
Rafael Garcia-Suarez [Tue, 27 Jul 2010 08:42:29 +0000 (10:42 +0200)]
Document in perldelta Karl's work I just merged

The original branch was putting this paragraph in perl5133delta.pod.

10 years agoMerge remote branch 'khwilliamson/ncharnames' into blead
Rafael Garcia-Suarez [Tue, 27 Jul 2010 08:31:34 +0000 (10:31 +0200)]
Merge remote branch 'khwilliamson/ncharnames' into blead


10 years agoChange function signature of grok_bslash_o
Karl Williamson [Sun, 25 Jul 2010 19:13:10 +0000 (13:13 -0600)]
Change function signature of grok_bslash_o

The previous return value where NULL meant OK is outside-the-norm.

10 years agoCorrect pod in numeric.c
Karl Williamson [Sun, 25 Jul 2010 17:48:05 +0000 (11:48 -0600)]
Correct pod in numeric.c

10 years agoCorrect comment in toke.c
Karl Williamson [Sun, 25 Jul 2010 17:46:45 +0000 (11:46 -0600)]
Correct comment in toke.c

10 years agoembed.fnc: correct comments
Karl Williamson [Sun, 25 Jul 2010 17:18:39 +0000 (11:18 -0600)]
embed.fnc: correct comments

10 years agoMark grok_bslash functions as intfce changeable
Karl Williamson [Sun, 25 Jul 2010 17:15:56 +0000 (11:15 -0600)]
Mark grok_bslash functions as intfce changeable

10 years agoKeep test output pretty by actually using skip_all()'s message...
George Greer [Tue, 27 Jul 2010 03:11:42 +0000 (23:11 -0400)]
Keep test output pretty by actually using skip_all()'s message...

10 years agoMSWin32's "-x" checks file extension, so it isn't useful for exec-bit.t
George Greer [Tue, 27 Jul 2010 03:02:40 +0000 (23:02 -0400)]
MSWin32's "-x" checks file extension, so it isn't useful for exec-bit.t

10 years agoAdd filename with spurious +x bit to diag in t/porting/exec-bit.t
George Greer [Tue, 27 Jul 2010 02:56:44 +0000 (22:56 -0400)]
Add filename with spurious +x bit to diag in t/porting/exec-bit.t

This is for the benefit of smoke logs where the "not ok" aren't
shown but the diag() output is.

10 years agoBump $ExtUtils::ParseXS::VERSION
Florian Ragwitz [Mon, 26 Jul 2010 20:42:37 +0000 (22:42 +0200)]
Bump $ExtUtils::ParseXS::VERSION

10 years agoMove B::Lint from cpan/ to dist/
Florian Ragwitz [Mon, 26 Jul 2010 17:20:47 +0000 (19:20 +0200)]
Move B::Lint from cpan/ to dist/

Josh confirmed that blead should be upstream.

10 years agoperldelta up to d6fa5a34
Florian Ragwitz [Mon, 26 Jul 2010 15:43:02 +0000 (17:43 +0200)]
perldelta up to d6fa5a34

10 years agoResort MANIFEST.
Nicholas Clark [Mon, 26 Jul 2010 14:35:43 +0000 (15:35 +0100)]

10 years agoRestore errno if signal handler changes it
Lubomir Rintel [Mon, 26 Jul 2010 14:05:05 +0000 (16:05 +0200)]
Restore errno if signal handler changes it

It's way too easy to forget to "local $!" in signal handlers and
changing $! when signal hits between two ops is probably never useful.

10 years agoCheck API compatibility when loading xs modules
Florian Ragwitz [Tue, 20 Jul 2010 20:58:24 +0000 (22:58 +0200)]
Check API compatibility when loading xs modules

This adds PL_apiversion, allowing the API version of a running interpreter to be
introspected. It is used in the new XS_APIVERSION_BOOTCHECK macro, which is
added to the _boot function of every XS module, to compare it against the API
version the module has been compiled against. If the versions do not match, an
exception is thrown.

This doesn't fully prevent binary incompatible extensions to be loaded. It
merely compares PERL_API_* between compile- and runtime, and does not attempt to
solve the problem of identifying binary incompatible perls with the same API
version (i.e. the same perl version configured with and without DEBUGGING).

10 years agoUpdate AUTHORS
Florian Ragwitz [Mon, 26 Jul 2010 13:47:43 +0000 (15:47 +0200)]

10 years agoMore perldelta
Florian Ragwitz [Mon, 26 Jul 2010 13:02:03 +0000 (15:02 +0200)]
More perldelta

10 years agoclarify how to enable -DPERL_USE_SAFE_PUTENV
Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 [Wed, 21 Jul 2010 08:53:50 +0000 (10:53 +0200)]
clarify how to enable -DPERL_USE_SAFE_PUTENV

10 years agoperlhack: Add -Dusedevel to gcov Configure line
Ævar Arnfjörð Bjarmason) (via RT [Sun, 25 Jul 2010 13:13:11 +0000 (06:13 -0700)]
perlhack: Add -Dusedevel to gcov Configure line

# New Ticket Created by  (Ævar Arnfjörð Bjarmason)
# Please include the string:  [perl #76710]
# in the subject line of all future correspondence about this issue.
# <URL: >

Building blead doesn't work without -Dusedevel most of the time.

10 years agogitignore: Ignore gcov files
Ævar Arnfjörð Bjarmason) (via RT [Sun, 25 Jul 2010 13:13:13 +0000 (06:13 -0700)]
gitignore: Ignore gcov files

# New Ticket Created by  (Ævar Arnfjörð Bjarmason)
# Please include the string:  [perl #76712]
# in the subject line of all future correspondence about this issue.
# <URL: >

Ignore the gcov files that are generated when following "GCC gcov
Profiling" in perlhack.

10 years agoUpdated Archive-Tar to CPAN version 1.66
Chris 'BinGOs' Williams [Mon, 26 Jul 2010 09:59:37 +0000 (10:59 +0100)]
Updated Archive-Tar to CPAN version 1.66


  * important changes in version 1.66 26/07/2010
  - Applied a patch from Alexandr Ciornii [RT#59699] to Makefile.PL which produces better META.yml
  - Apply a patch from Alexandr Ciornii to ptar [RT#59700]:

    Adds option -C to allow archives created with ptar to be uploaded to
    PAUSE in case of Windows or world +w permissions on unix.

10 years agoAdd ext/XS-APItest/t/peep.t to MANIFEST
Florian Ragwitz [Mon, 26 Jul 2010 09:36:32 +0000 (11:36 +0200)]
Add ext/XS-APItest/t/peep.t to MANIFEST

10 years agoRT#75762: In CURLYX->CURLYM optimization, check before removing parentheses.
George Greer [Sun, 4 Jul 2010 23:15:06 +0000 (19:15 -0400)]
RT#75762: In CURLYX->CURLYM optimization, check before removing parentheses.

10 years ago[perl #75656] lvalue subs don't copy on write
Father Chrysostomos [Mon, 26 Jul 2010 08:52:48 +0000 (10:52 +0200)]
[perl #75656] lvalue subs don't copy on write

The attached patch teaches pp_leavesublv about kine.

For the record, a binary search points its digit at:

From: Nicholas Clark <>
Date: Mon, 6 Jun 2005 09:08:45 +0000 (+0000)
Subject: Shared hash key scalars can be safely copied as shared hash key scalars

Shared hash key scalars can be safely copied as shared hash key scalars all the time.

10 years agoFix for RT#1804: Anonymous glob breaks when assigned through
Father Chrysostomos [Sat, 10 Jul 2010 19:09:51 +0000 (15:09 -0400)]
Fix for RT#1804: Anonymous glob breaks when assigned through

The problem here is that globs are scalars and the = operator can only
distinguish between scalar and glob assignments by the flags on the
glob. It only sees the return value of *{}, not the *{} itself. We can
fix this by having the pp_sassign look for a rv2gv (*{}) on its LHS,
to decide what type of assignment to do.

10 years agoMake the success and failure messages of t/porting/diag.t more clear, and add comments
James Mastros [Thu, 8 Jul 2010 21:07:48 +0000 (22:07 +0100)]
Make the success and failure messages of t/porting/diag.t more clear, and add comments

10 years agoRemove "at - line 3" from the end of a perldiag entry.
James Mastros [Thu, 8 Jul 2010 20:41:27 +0000 (21:41 +0100)]
Remove "at - line 3" from the end of a perldiag entry.

10 years agoDocument "Ambiguous use of -%s resolved as -&%s()"
James Mastros [Wed, 2 Jun 2010 17:32:19 +0000 (18:32 +0100)]
Document "Ambiguous use of -%s resolved as -&%s()"

10 years agoDocument "Ambiguous use of %c{%s%s} resolved to %c%s%s"
James Mastros [Wed, 2 Jun 2010 17:27:48 +0000 (18:27 +0100)]
Document "Ambiguous use of %c{%s%s} resolved to %c%s%s"

10 years agoDocument "Ambiguous use of %c{%s} resolved to %c%s"
James Mastros [Wed, 2 Jun 2010 16:44:45 +0000 (17:44 +0100)]
Document "Ambiguous use of %c{%s} resolved to %c%s"

10 years agoDocument "Ambiguous use of %c resolved as operator %c"
James Mastros [Wed, 2 Jun 2010 16:35:22 +0000 (17:35 +0100)]
Document "Ambiguous use of %c resolved as operator %c"

10 years agoStick a comment in t/porting/diag.t begging people not to abuse the ignore list
James Mastros [Wed, 2 Jun 2010 16:22:59 +0000 (17:22 +0100)]
Stick a comment in t/porting/diag.t begging people not to abuse the ignore list

10 years agoNormalize formatting of "Ambiguous call resolved as CORE::%s(), qualify as such or...
James Mastros [Wed, 2 Jun 2010 16:22:36 +0000 (17:22 +0100)]
Normalize formatting of "Ambiguous call resolved as CORE::%s(), qualify as such or use &" in toke.c, so t/porting/diag.t can find it.

10 years agoperlop.pod: Reword escapes that have ordinals
Karl Williamson [Mon, 26 Jul 2010 07:59:02 +0000 (09:59 +0200)]
perlop.pod: Reword escapes that have ordinals

10 years Silence perl compiler warnings
Karl Williamson [Sat, 24 Jul 2010 16:46:45 +0000 (10:46 -0600)] Silence perl compiler warnings was trying to read two beyond the end of an array.

10 years agoadd print.t with testing of implicit printing of $_
Gerard Goossen [Thu, 19 Nov 2009 10:21:52 +0000 (11:21 +0100)]
add print.t with testing of implicit printing of $_

10 years agoAdd more advantages of a perl.def file.
Reini Urban [Sat, 24 Jul 2010 13:26:52 +0000 (15:26 +0200)]
Add more advantages of a perl.def file.

10 years agoUnbreak cherrymaint for actions other than vote
Florian Ragwitz [Sun, 25 Jul 2010 18:33:12 +0000 (20:33 +0200)]
Unbreak cherrymaint for actions other than vote

10 years agoMake address for Porting/cherrymaint configurable
Florian Ragwitz [Sun, 25 Jul 2010 18:23:38 +0000 (20:23 +0200)]
Make address for Porting/cherrymaint configurable

Still defaults to localhost:3000, but can now be overwritten on the cli and with
`git config cherrymaint.address host:port'.

10 years agoPod formatting fix for perl5132delta
Florian Ragwitz [Sun, 25 Jul 2010 17:49:00 +0000 (19:49 +0200)]
Pod formatting fix for perl5132delta

10 years agoperldelta up to 65bfe90c
Florian Ragwitz [Sun, 25 Jul 2010 17:03:29 +0000 (19:03 +0200)]
perldelta up to 65bfe90c

10 years agoMake the peep recurse via PL_peepp
Florian Ragwitz [Fri, 23 Jul 2010 06:38:13 +0000 (08:38 +0200)]
Make the peep recurse via PL_peepp

Also allows extensions, when delegating to Perl_peep, to specify what function
it should use when recursing into a part of the op tree.

The usecase for this are extensions like namespace::alias, which need to hook
into the peep to do their thing. With this change they can stop copying the
whole peep only to add tiny bits of new behaviour to it, allowing them to work
easier on a large variety of perls, without having to maintain one peep which
works on all of them (which is HARD!).

10 years agoperldelta up to 34edcf0c
Florian Ragwitz [Sun, 25 Jul 2010 12:37:29 +0000 (14:37 +0200)]
perldelta up to 34edcf0c

10 years agoIgnore some more test byproducts
Florian Ragwitz [Sun, 25 Jul 2010 12:30:03 +0000 (14:30 +0200)]
Ignore some more test byproducts

10 years agoUpdate B-Lint from version 1.11 to 1.12
Florian Ragwitz [Sun, 25 Jul 2010 12:01:47 +0000 (14:01 +0200)]
Update B-Lint from version 1.11 to 1.12

10 years agoPort dual-life.t to VMS.
Craig A. Berry [Sat, 24 Jul 2010 15:25:20 +0000 (10:25 -0500)]
Port dual-life.t to VMS.

The utils have a .com extension and filename case may not be

10 years agoCompress::Raw::{Bzip2,Zlib} have CPAN as upstream
Florian Ragwitz [Sat, 24 Jul 2010 15:53:53 +0000 (17:53 +0200)]
Compress::Raw::{Bzip2,Zlib} have CPAN as upstream

10 years agoperldelta up to a095c4ee
Florian Ragwitz [Sat, 24 Jul 2010 15:24:49 +0000 (17:24 +0200)]
perldelta up to a095c4ee

10 years agoUpdate for the Compress modules
Florian Ragwitz [Sat, 24 Jul 2010 14:55:58 +0000 (16:55 +0200)]
Update for the Compress modules

10 years agoCompress 2.030
Paul [Sat, 24 Jul 2010 12:07:29 +0000 (13:07 +0100)]
Compress 2.030

10 years agosmall code tweak in Perl_gv_init
David Mitchell [Sat, 24 Jul 2010 15:11:12 +0000 (16:11 +0100)]
small code tweak in Perl_gv_init

(follow-up to previous commit, fix for #76540)

10 years ago[perl #76540] "print CONSTANT," gives double-free
David Mitchell [Sat, 24 Jul 2010 14:41:19 +0000 (15:41 +0100)]
[perl #76540] "print CONSTANT," gives double-free

gv_init() has name and len args, but newCONSTSUB() (which it calls)
doesn't have a len arg, so any trailing garbage in name gets used by

In the test case, this means that we end up attaching the const CV
to both the "FOO" and qq{FOO, "\\n";\n} GVs. So it gets freed twice.

10 years agoSkip epigraphs.pod when bumping the version
Florian Ragwitz [Sat, 24 Jul 2010 13:35:24 +0000 (15:35 +0200)]
Skip epigraphs.pod when bumping the version

10 years agoGlobal executable bit cleanup
David Golden [Sat, 24 Jul 2010 07:44:40 +0000 (00:44 -0700)]
Global executable bit cleanup

When porting/makerel runs, all files copied into the directory for the
tarball have the executable bit stripped and then only a specific set of
files have the executable bit restored.

There are many files in the repo that have the executable bit set in the
repo that will be stripped.  So that the state of files in the repo is
as close as possible to the state of files in the release tarball, the
executable bit has been stripped from such files.

In one recent case, a file added from a dual-life module needed the
executable bit set.  Because it had the bit in the repo but was
not listed in makerel to get an executable bit, tests using it
passed in the repo and failed in the tarball.

This commit refactors the list into a new file, Porting/exec-bit.txt
and add tests to detect a mismatch between files listed there
and actual executable bits in the repo.

10 years agoMove PathTools from cpan/ to dist/
Florian Ragwitz [Sat, 24 Jul 2010 06:12:56 +0000 (08:12 +0200)]
Move PathTools from cpan/ to dist/

10 years ago[perl #76478] silence compiler warning
David Mitchell [Fri, 23 Jul 2010 22:24:11 +0000 (23:24 +0100)]
[perl #76478] silence compiler warning

Intel's icc compiler is too clever for its own good.
Silence a false positive 'may be used undefined' warning.

10 years agoClarify core module directories for UPSTREAM => undef modules
Florian Ragwitz [Fri, 23 Jul 2010 13:56:08 +0000 (15:56 +0200)]
Clarify core module directories for UPSTREAM => undef modules

10 years agoperldelta up to 2ea2ea91
Florian Ragwitz [Wed, 21 Jul 2010 02:11:45 +0000 (04:11 +0200)]
perldelta up to 2ea2ea91

10 years agoBump API subversion
Florian Ragwitz [Thu, 22 Jul 2010 15:37:21 +0000 (17:37 +0200)]
Bump API subversion

10 years agoFor blead, bump-perl-version should consider SUBVERSION as API_SUBVERSION
Florian Ragwitz [Thu, 22 Jul 2010 15:37:20 +0000 (17:37 +0200)]
For blead, bump-perl-version should consider SUBVERSION as API_SUBVERSION

This makes the API version of a blead release equivalent to its full version
number. For example, for 5.13.3, the API version was 5.13.0 before, and is
5.13.0 now.

This does not change anything for stable releases. The API version of 5.14.1
will still be 5.14.0.

Blead releases don't guarantee API stability. While they don't introduce API
breakage on every release, they do so often enough to want to err on the safe
side instead of making false claims in PERL_API_*.

10 years agoFix POD formatting in perlrepository.pod
Florian Ragwitz [Fri, 23 Jul 2010 02:46:13 +0000 (04:46 +0200)]
Fix POD formatting in perlrepository.pod

=for is just for one paragraph, not until the next command or anything like

10 years agoBump the version of Module-CoreList in
Chris 'BinGOs' Williams [Fri, 23 Jul 2010 08:58:02 +0000 (09:58 +0100)]
Bump the version of Module-CoreList in

10 years agoIgnore *.i
Florian Ragwitz [Fri, 23 Jul 2010 08:53:06 +0000 (10:53 +0200)]
Ignore *.i

These files are generated, upon request, by the macro expansion targets.

10 years agoBump File::Spec version.
Craig A. Berry [Fri, 23 Jul 2010 00:18:20 +0000 (19:18 -0500)]
Bump File::Spec version.

10 years agoAssorted File::Spec::VMS fixes.
Craig A. Berry [Thu, 22 Jul 2010 23:32:01 +0000 (18:32 -0500)]
Assorted File::Spec::VMS fixes.

  - Make catpath return an empty directory rather than the current
    directory if the directory name is empty.  This allows catpath
    to play nice with non-rooted logical names, as in

       catpath('sys$login:', '', '');

  - Fix abs2rel bug in handling a Unix-style input.

  - Assorted clarification and simplification of the documentation.

Also submitted upstream at:


10 years agoColon delimiter and escaped delimiters for File::Spec::VMS.
Craig A. Berry [Thu, 22 Jul 2010 20:31:02 +0000 (15:31 -0500)]
Colon delimiter and escaped delimiters for File::Spec::VMS.

Still awaiting upstream integration after 15 months at:


10 years agoUpdate debugger changelog
Josh ben Jore [Thu, 22 Jul 2010 16:46:03 +0000 (09:46 -0700)]
Update debugger changelog

10 years agoDebugger prints lines to the remote port when it forks and openes a new port
Josh ben Jore [Thu, 22 Jul 2010 16:42:00 +0000 (09:42 -0700)]
Debugger prints lines to the remote port when it forks and openes a new port

10 years agoAdd static inline config variables to VMS
Andy Dougherty [Thu, 22 Jul 2010 16:20:14 +0000 (12:20 -0400)]
Add static inline config variables to VMS
This assumes all VMS compilers that build perl will
support 'static inline'.

10 years agoUpdate "canned" files for static inline.
Andy Dougherty [Thu, 22 Jul 2010 16:00:51 +0000 (12:00 -0400)]
Update "canned" files for static inline.
Unless the file explicitly lists a gcc version I know
to work, I picked safe default values for the new
d_static_inline and perl_static_inline variables.

10 years agoAdd a Configure probe for static inline.
Andy Dougherty [Thu, 22 Jul 2010 15:14:47 +0000 (11:14 -0400)]
Add a Configure probe for static inline.

This patch enables Configure to probe for C99-style 'static inline'.
(That is, functions may be inlined, but will not be externally visible.)
The initial idea is that some common code in messy macros inside headers
might be simplified using inline functions.  If the compiler does not
support 'static inline', then a plain 'static' is used instead, along
with the consequent implications of a function call (though the compiler
may optimize away the function call and inline the function anyway).
In either case, you simply use  PERL_STATIC_INLINE.

This patch does not *use* this facility at all yet.  It is merely a
Configure patch to make the facility availble for others to experiment

VMS and Windows files will still need to be manually updated.

Finally, before actually converting anything to inline functions, please
try to carefully evaluate the performance implications of any proposed
changes.  Compilers vary in what they will and will not convert to inline
functions, so it's worth proceeding slowly and carefully.

This patch results from a single new metaconfig unit, d_static_inline.U,
which I will separately upload to the metaconfig repository.

10 years agoLooser filename matching for new Carp.t tests.
Craig A. Berry [Thu, 22 Jul 2010 13:27:40 +0000 (08:27 -0500)]
Looser filename matching for new Carp.t tests.

10 years agoFix leaks in XS_VERSION_BOOTCHECK
Florian Ragwitz [Thu, 22 Jul 2010 04:27:04 +0000 (06:27 +0200)]

The SV holding XS_VERSION, and the version object created from it were
leaked. Also, if the version from perl space wasn't a version object already,
the one that got created leaked.

Additionally, in case of an error, the two SVs returned by vstringify were