This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
10 years agoFix -Wwrite-string warnings in cygwin.c
Jerry D. Hedden" (via RT) [Mon, 23 Aug 2010 15:37:07 +0000 (08:37 -0700)]
Fix -Wwrite-string warnings in cygwin.c

[perl #77376]
Fix the following build warnings that are now being
generated because -Wwrite-string has been turned on:

cygwin.c: In function `do_aspawn':
cygwin.c:69: warning: assignment discards qualifiers from pointer target type
cygwin.c: In function `do_spawn':
cygwin.c:91: warning: initialization discards qualifiers from pointer
target type
cygwin.c: In function `init_os_extras':
cygwin.c:544: warning: initialization discards qualifiers from pointer
target type

10 years agoTests for bug 77414
Abigail [Wed, 25 Aug 2010 15:36:45 +0000 (17:36 +0200)]
Tests for bug 77414

10 years agoMark regcurly as experimental
karl williamson (via RT) [Wed, 18 Aug 2010 18:33:36 +0000 (11:33 -0700)]
Mark regcurly as experimental

Even though it isn't in the public API, some worry that we shouldn't
change it, as it's currently public, but may be made into an in-line
function known only to the two .c files that should call it.

10 years agoupdate AUTHORS
David Mitchell [Wed, 25 Aug 2010 13:20:46 +0000 (14:20 +0100)]
update AUTHORS

10 years agoConfig.pm: report perl path in version conflict.
alex [Wed, 25 Aug 2010 12:38:28 +0000 (13:38 +0100)]
Config.pm: report perl path in version conflict.

When Config.pm dies with a perl/library version mismatch error, include
the path of the perl executable in the error message.

This helps avoid confusion during perl build when a cc wrapper written in
perl is used (such as colorgcc)

10 years agoexclude autodoc.pl from pod checks
David Mitchell [Wed, 25 Aug 2010 13:16:26 +0000 (14:16 +0100)]
exclude autodoc.pl from pod checks

This script contains snippets of pod in here-doc sections which
gives false positives

10 years agoperlpod.api: improve the prose
David Mitchell [Wed, 25 Aug 2010 12:10:45 +0000 (13:10 +0100)]
perlpod.api: improve the prose

Tweak the text of the previous commit that describes the status of
undocumented functions in the public API.

10 years agoautodoc.pl: Clarify use of undocumented fcns
Karl Williamson [Wed, 25 Aug 2010 11:58:34 +0000 (12:58 +0100)]
autodoc.pl: Clarify use of undocumented fcns

perlapi.pod was changed to list all the undocumented functions.  The
introductory text was not updated at that time.  Now every public API
function is at least listed in this pod.  Clarify that functions not
listed are not public and should not be used, and add a plea for
documenting the ones which are missing theirs.

10 years agodon't taint $DB::sub
David Mitchell [Wed, 25 Aug 2010 11:15:41 +0000 (12:15 +0100)]
don't taint $DB::sub

[perl #76872] showed a case where code like the following, run under -d,
would cause $DB::sub to get set:

    $tainted_expression && func()

The tainted expression sets PL_tainted, so calling func() under -d, which
sets $DB::sub, causes it to get tainted.

Consequently any further sub calls would set PL_tainted while getting the
old value of $DB::sub (and cause the new value to be tainted too), and if
the sub was XS, then its code would be executed with PL_tainted set.
It isn't an issue with perl subs as the first nextstate op resets
PL_tainted.

10 years agodetaint paths added by blib.pm
David Mitchell [Tue, 24 Aug 2010 22:55:58 +0000 (23:55 +0100)]
detaint paths added by blib.pm

10 years agoUpdate ExtUtils-MakeMaker to CPAN version 6.57_01
Chris 'BinGOs' Williams [Tue, 24 Aug 2010 18:21:23 +0000 (19:21 +0100)]
Update ExtUtils-MakeMaker to CPAN version 6.57_01

  [DELTA]

  6.57_01  Tue Aug 24 01:36:20 PDT 2010
    Improvements
    * parse_abstract() is more robust supporting "Package.pm" and multiple
      dashes and spaces. [rt.perl.org 74438]

    Bug Fixes
    * Recognize .so files in AIX. [rt.cpan.org 41360] (Jens Rehsack)
    * Remove manual image-base generation on Win32/gcc [rt.cpan.org 47138]
      (Yasuhiro Matsumoto)
    * Use the bundled versions of our dependencies if they're not installed.
    * Eliminate use of foreach qw() which will be deprecated in 5.14.
      [rt.cpan.org 57124] (Zefram)

    Test Fixes
    * Guard against old versions of YAML::Tiny that worked differently.
      [rt.cpan.org 55500]

10 years agoIgnore more editor droppings
Dagfinn Ilmari Mannsåker [Tue, 24 Aug 2010 06:58:32 +0000 (08:58 +0200)]
Ignore more editor droppings

10 years agoUpdate Unicode-Collate to CPAN version 0.57
Chris 'BinGOs' Williams [Mon, 23 Aug 2010 16:07:51 +0000 (17:07 +0100)]
Update Unicode-Collate to CPAN version 0.57

  [DELTA]

  0.57  Sun Aug 22 22:39:58 2010
    - Unicode::Collate::Locale newly supports locales: ca, et, fi, lv, sk, sl.

10 years agoIn bodies_by_type in sv.c, no need to store for values for HEs.
Nicholas Clark [Mon, 23 Aug 2010 15:46:32 +0000 (16:46 +0100)]
In bodies_by_type in sv.c, no need to store for values for HEs.

HEs use 0th root for their arenas, as SVt_NULL doesn't need an arena. But no
code in sv.c needs to know the size details for HEs, because values are all
passed in explicitly from S_new_he() in hv.c

10 years agotypo in perlport
Philippe Bruhat (BooK) [Mon, 23 Aug 2010 13:28:18 +0000 (15:28 +0200)]
typo in perlport

10 years agofix rt75680 - when working with utf8 strings one must always use s+=UTF8SKIP(s) to...
Yves Orton [Mon, 23 Aug 2010 12:36:37 +0000 (14:36 +0200)]
fix rt75680 - when working with utf8 strings one must always use s+=UTF8SKIP(s) to move to the next char

Most of the regex code where do the two types of increments are wrapped up in macros.

Unfortunately these macros arent suitable in this case because we use goto to jump
inside the loop under some situations, and since this is a one-off case I figured the
modest C&P associated was better than creating a new macro just for this case.

There is still a possible bug here marked by an XXX, which will need to be fixed
once I find out the correct way to simulate strptr--. Additionally I havent found
a test case that actually exposes this form of the bug.

Moral of the story, utf8 makes string scanning awkward... And slow...

10 years agodocument several optree construction functions
Zefram [Sun, 22 Aug 2010 20:55:36 +0000 (21:55 +0100)]
document several optree construction functions

10 years agoIn makedef.pl, remove a redundant check for MULTIPLICITY.
Nicholas Clark [Mon, 23 Aug 2010 09:14:09 +0000 (10:14 +0100)]
In makedef.pl, remove a redundant check for MULTIPLICITY.

Originally the else block was taken when MULTIPLICITY was defined, the if block
being taken for PERL_OBJECT. 6f4183fe04888927 (change 4878) made the if true
for PERL_OBJECT or MULTIPLICITY, rendering this check for MULTIPLICITY
vestigial.

10 years agoAdd vaproto and charbits entries to win32/config.gc64(nox)?
Curtis Jewell [Sun, 22 Aug 2010 18:43:26 +0000 (12:43 -0600)]
Add vaproto and charbits entries to win32/config.gc64(nox)?

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
10 years agoMake win32/config.gc64(nox)? match win32/config.gc.
Curtis Jewell [Sat, 21 Aug 2010 22:31:28 +0000 (16:31 -0600)]
Make win32/config.gc64(nox)? match win32/config.gc.

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
10 years agoEnlighten Porting/checkcfgvar.pl about win32/config.gc64(nox)? files
Curtis Jewell [Sun, 22 Aug 2010 10:18:18 +0000 (04:18 -0600)]
Enlighten Porting/checkcfgvar.pl about win32/config.gc64(nox)? files

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
10 years agoAdd missing space in perltrap
Florian Ragwitz [Sun, 22 Aug 2010 03:52:56 +0000 (05:52 +0200)]
Add missing space in perltrap

It looks as though a space was inadvertently removed. The example makes no sense
without it.

10 years agoadd lex_stuff_pvs()
Zefram [Sun, 15 Aug 2010 20:36:11 +0000 (21:36 +0100)]
add lex_stuff_pvs()

New macro lex_stuff_pvs(), wrapping lex_stuff_pvn() for literal strings.

10 years agoStop installing manpages for XS::APItest*
Florian Ragwitz [Sat, 21 Aug 2010 08:27:28 +0000 (10:27 +0200)]
Stop installing manpages for XS::APItest*

We don't install the modules anyway, so there's no need to have confusing docs
installed for them.

10 years agoRemove CALL_FPTR and CPERLscope.
Ben Morrow [Sat, 14 Aug 2010 01:07:09 +0000 (02:07 +0100)]
Remove CALL_FPTR and CPERLscope.

These are left from PERL_OBJECT, which was an implementation of
multiplicity using C++ objects. PERL_OBJECT was removed in 5.8, but the
macros seem to have been cargo-culted all over the core (including in
places where they would have been inappropriate originally). Since they
now do exactly nothing, it's cleaner to remove them.

I have left the definitions in perl.h, under #ifndef PERL_CORE, since
some CPAN XS code uses them (also often incorrectly). I have also left
STATIC alone, since it seems potentially more useful and is much more
ingrained.

The only appearance of these macros this patch doesn't touch is in
Devel-PPPort, because that's a CPAN module.

10 years agoFix my $x = 3; $x = length(undef);.
Ben Morrow [Fri, 20 Aug 2010 17:35:58 +0000 (18:35 +0100)]
Fix my $x = 3; $x = length(undef);.

Assignment of length() to a lexical is optimized by passing the
assigned-to variable as TARG, avoiding a pp_padsv and pp_sassign.
9f621b which changed length(undef) to return undef didn't take this into
account, and used SETs (which doesn't set TARG), so the code above left
$x == 3.

10 years agoMove the declaration for more_bodies outside of an #if defined(PERL_IN_SV_C)
Nicholas Clark [Fri, 20 Aug 2010 19:44:39 +0000 (20:44 +0100)]
Move the declaration for more_bodies outside of an #if defined(PERL_IN_SV_C)

It used to be a static function, hence the location, and I failed to spot that
I needed to move it, when I edited it to be non-static.

Problem spotted by Jerry D. Hedden.

10 years agowhile_readdir.t needs a private directory to run in.
Nicholas Clark [Fri, 20 Aug 2010 19:22:45 +0000 (21:22 +0200)]
while_readdir.t needs a private directory to run in.

It assumes that it can read the contents twice and get the same result.
It's running in parallel with tests which do sometimes write in t/ so if it
runs at that level, it will sometimes fail due to race conditions.

10 years agoIn sv.c, tidy up body allocation code.
Nicholas Clark [Fri, 20 Aug 2010 16:05:12 +0000 (17:05 +0100)]
In sv.c, tidy up body allocation code.

Move the definition of del_body() closer to where it is used.
Inline del_body_allocated() into its only remaining user, del_XPVGV().
Coalesce adjacent C comments.

10 years agoInline S_get_arena() into Perl_more_bodies(), its only caller.
Nicholas Clark [Fri, 20 Aug 2010 14:54:28 +0000 (15:54 +0100)]
Inline S_get_arena() into Perl_more_bodies(), its only caller.

10 years agoExpose more_bodies(), and use it to replace S_more_he().
Nicholas Clark [Fri, 20 Aug 2010 14:31:42 +0000 (15:31 +0100)]
Expose more_bodies(), and use it to replace S_more_he().

Convert get_arena() to be static, as now its only user is Perl_more_bodies().

Perl_get_arena() was not in the public API, and neither Google codesearch
nor an upacked CPAN show anything to be using it.

10 years agoIn sv.c, pass in values to S_more_bodies, instead of using bodies_by_type.
Nicholas Clark [Fri, 20 Aug 2010 13:14:34 +0000 (14:14 +0100)]
In sv.c, pass in values to S_more_bodies, instead of using bodies_by_type.

Also fix one value passed to the debugging *_printf() in the #else block.

10 years agoRefactor the loop of S_more_bodies() to be (hopefully) clearer.
Nicholas Clark [Fri, 20 Aug 2010 10:25:50 +0000 (11:25 +0100)]
Refactor the loop of S_more_bodies() to be (hopefully) clearer.

10 years agoCorrect the size calculations for FIT_ARENA for SVt_REGEXP.
Nicholas Clark [Fri, 20 Aug 2010 09:44:40 +0000 (10:44 +0100)]
Correct the size calculations for FIT_ARENA for SVt_REGEXP.

This should have been done as part of commit 601dfd0af0604fa7. Its omission
did not cause bugs; it merely resulted in slightly less effective arena sizing.

10 years ago Bump the version of Module-CoreList in Maintainers.pl
Florian Ragwitz [Fri, 20 Aug 2010 16:30:54 +0000 (18:30 +0200)]
 Bump the version of Module-CoreList in Maintainers.pl

10 years agoMention Florian under THE KEEPERS OF THE PUMPKIN
Abigail [Fri, 20 Aug 2010 16:23:21 +0000 (18:23 +0200)]
Mention Florian under THE KEEPERS OF THE PUMPKIN

10 years agoupdate TOC and perldelta references
Florian Ragwitz [Wed, 18 Aug 2010 02:17:01 +0000 (04:17 +0200)]
update TOC and perldelta references

10 years agoretitle perl5134delta.pod
Florian Ragwitz [Wed, 18 Aug 2010 02:08:09 +0000 (04:08 +0200)]
retitle perl5134delta.pod

10 years agocreate perl5135delta.pod
Florian Ragwitz [Wed, 18 Aug 2010 02:13:35 +0000 (04:13 +0200)]
create perl5135delta.pod

10 years agoAdd 5.13.4 epigraph
Florian Ragwitz [Mon, 16 Aug 2010 22:00:36 +0000 (00:00 +0200)]
Add 5.13.4 epigraph

10 years agoDisable regeneration of regcharclass.h on win32 v5.13.4
Florian Ragwitz [Fri, 20 Aug 2010 04:13:06 +0000 (06:13 +0200)]
Disable regeneration of regcharclass.h on win32

There's really no need to do this on the user side, as regcharclass.h is a real
file in the repository. Having this rule, while maybe handy for regexp
developers working on win32, otherwise only causes trouble if regcharclass.pl
changes in a way that doesn't require regcharclass.h to change.

10 years agoAdd 5.13.4 to perlhist
Florian Ragwitz [Tue, 17 Aug 2010 02:02:41 +0000 (04:02 +0200)]
Add 5.13.4 to perlhist

10 years agoUpdate Module::Corelist for 5.13.4
Florian Ragwitz [Wed, 18 Aug 2010 22:49:00 +0000 (00:49 +0200)]
Update Module::Corelist for 5.13.4

10 years agoUpdate Changes for 5.13.4
Florian Ragwitz [Tue, 17 Aug 2010 01:15:27 +0000 (03:15 +0200)]
Update Changes for 5.13.4

10 years agoBump the perl version to 5.13.4
Florian Ragwitz [Tue, 17 Aug 2010 01:15:07 +0000 (03:15 +0200)]
Bump the perl version to 5.13.4

10 years agoImprove perldelta formatting
Florian Ragwitz [Fri, 20 Aug 2010 01:53:52 +0000 (03:53 +0200)]
Improve perldelta formatting

10 years agoFinish up perl5134delta
Florian Ragwitz [Wed, 18 Aug 2010 02:33:11 +0000 (04:33 +0200)]
Finish up perl5134delta

10 years agoFix stack corruption by unsupported filetests
Jan Dubois [Fri, 20 Aug 2010 01:43:59 +0000 (18:43 -0700)]
Fix stack corruption by unsupported filetests

Commit c410dd6ad7 indiscriminately pops elements from the stack
even when nothing has been pushed: file tests without arguments
(testing $_) and stacked filetests don't have anything on the
stack that needs to be removed.

The general idea is that we need to have the same side effects
as if we had called my_stat_flags(), so we shall only call POPs
under the same conditions as the code in my_stat_flags().

10 years agoWe break Switch
Florian Ragwitz [Fri, 20 Aug 2010 01:30:41 +0000 (03:30 +0200)]
We break Switch

10 years agoHTML::Parser is fixed already
Florian Ragwitz [Thu, 19 Aug 2010 23:54:16 +0000 (01:54 +0200)]
HTML::Parser is fixed already

10 years agoperldelta t/re/overload.t
Florian Ragwitz [Thu, 19 Aug 2010 23:47:55 +0000 (01:47 +0200)]
perldelta t/re/overload.t

10 years agoAdd t/re/overload.t to MANIFEST
Florian Ragwitz [Thu, 19 Aug 2010 23:46:19 +0000 (01:46 +0200)]
Add t/re/overload.t to MANIFEST

10 years ago*.t and test.pl don't need to be executable
Florian Ragwitz [Thu, 19 Aug 2010 21:24:24 +0000 (23:24 +0200)]
*.t and test.pl don't need to be executable

10 years agoTest for +x bits for all the files in exec-bit.txt
Florian Ragwitz [Thu, 19 Aug 2010 21:23:29 +0000 (23:23 +0200)]
Test for +x bits for all the files in exec-bit.txt

The globbing only works when done in the right directory.

10 years agoMake everything exec-bit.txt lists executable
Florian Ragwitz [Thu, 19 Aug 2010 21:20:52 +0000 (23:20 +0200)]
Make everything exec-bit.txt lists executable

All these files used to be executable in the release tarballs. Apparently things
also work without that in the repository, but I'd rather add this possibly
unecessary change to blead instead of breaking the upcoming release. This should
probably be looked into again afterwards.

10 years agoSilence a warning in time64.c. Need to downgrade a const char *
Steve Peters [Thu, 19 Aug 2010 19:47:41 +0000 (14:47 -0500)]
Silence a warning in time64.c.  Need to downgrade a const char *
to a char *.

10 years agoMoved prototype check to XS code, allowing the .pm file change from yesterday
Steve Peters [Thu, 19 Aug 2010 18:20:59 +0000 (13:20 -0500)]
Moved prototype check to XS code, allowing the .pm file change from yesterday
to be removed.  Thanks to Rafael for pointing out prototypes in XS.

10 years agoAdded a test for bug #77084.
Abigail [Thu, 19 Aug 2010 16:37:11 +0000 (18:37 +0200)]
Added a test for bug #77084.

10 years agoSome nits picked on the 5.13.4 delta.
Steve Peters [Thu, 19 Aug 2010 05:04:59 +0000 (00:04 -0500)]
Some nits picked on the 5.13.4 delta.

10 years agoUpdate META.yml
Florian Ragwitz [Thu, 19 Aug 2010 03:08:29 +0000 (05:08 +0200)]
Update META.yml

10 years agoPorting/mergelog is no more
Florian Ragwitz [Thu, 19 Aug 2010 03:05:39 +0000 (05:05 +0200)]
Porting/mergelog is no more

We're using cherrymaint on camel now.

10 years agoCoreList, not Corelist
Florian Ragwitz [Thu, 19 Aug 2010 03:00:35 +0000 (05:00 +0200)]
CoreList, not Corelist

10 years agoGet perl5134delta into a mostly finished state
Florian Ragwitz [Wed, 18 Aug 2010 02:33:11 +0000 (04:33 +0200)]
Get perl5134delta into a mostly finished state

10 years agoperldelta up to 41f69a9
Florian Ragwitz [Wed, 18 Aug 2010 22:12:36 +0000 (00:12 +0200)]
perldelta up to 41f69a9

10 years agoRevert "Version bump Module-CoreList to 2.37 for a CPAN release"
Chris 'BinGOs' Williams [Wed, 18 Aug 2010 22:07:13 +0000 (23:07 +0100)]
Revert "Version bump Module-CoreList to 2.37 for a CPAN release"

This reverts commit d98a0e0610723630e3a6cf6f1de20f87701b22bc.

  Yeah, I'm an idiot.

10 years agoVersion bump Module-CoreList to 2.37 for a CPAN release
Chris 'BinGOs' Williams [Wed, 18 Aug 2010 21:57:24 +0000 (22:57 +0100)]
Version bump Module-CoreList to 2.37 for a CPAN release

10 years agoEnsure Filespec wont't show up in Module::Corelist
Florian Ragwitz [Wed, 18 Aug 2010 21:36:20 +0000 (23:36 +0200)]
Ensure Filespec wont't show up in Module::Corelist

10 years agoThere never was a `Filespec.pm'
Florian Ragwitz [Wed, 18 Aug 2010 21:10:30 +0000 (23:10 +0200)]
There never was a `Filespec.pm'

A bug in Porting/corelist.pl made Module::Corelist think the VMS::Filespec
module was called Filespec. This bug was fixed in
f4ccb67a0c5b6089da1ebe8b42943cf67d6c087a. This change updates all the old
corelist entries accordingly.

10 years agofix 'might be used uninitialized' in PerlIO_tmpfile
David Mitchell [Wed, 18 Aug 2010 21:31:49 +0000 (22:31 +0100)]
fix 'might be used uninitialized' in PerlIO_tmpfile

sv can't actually be used uninitialized, but set it to zero to
shut up stupid compilers

10 years agofix 'might be used uninitialized' in S_regmatch
David Mitchell [Wed, 18 Aug 2010 21:11:01 +0000 (22:11 +0100)]
fix 'might be used uninitialized' in S_regmatch

Strictly speaking charid would only get used uninitialized in debugging
output with a trie state machine that has no entries, but initialise it
to zero just to keep everyone happy.

10 years agoIt's `VMS::Filespec', not `Filespec'
Florian Ragwitz [Wed, 18 Aug 2010 21:00:57 +0000 (23:00 +0200)]
It's `VMS::Filespec', not `Filespec'

10 years agoIgnore xsubpp temp files
Florian Ragwitz [Wed, 18 Aug 2010 20:46:05 +0000 (22:46 +0200)]
Ignore xsubpp temp files

10 years agoMake perl is not enough
Florian Ragwitz [Wed, 18 Aug 2010 20:44:56 +0000 (22:44 +0200)]
Make perl is not enough

corelist.pl also needs a few modules that aren't built by just `make perl'.

10 years agoMerge branch 'blead' of ssh://stevep@perl5.git.perl.org/perl into blead
Steve Peters [Wed, 18 Aug 2010 20:52:50 +0000 (15:52 -0500)]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/perl into blead

10 years agoMake I18N::Langinfo::langinfo take $_ as an argument if none is specified as
Steve Peters [Wed, 18 Aug 2010 20:50:17 +0000 (15:50 -0500)]
Make I18N::Langinfo::langinfo take $_ as an argument if none is specified as
its documentation advertises.  Bump version for this change.

10 years agoKarl convinced me this isn't revelant
Florian Ragwitz [Wed, 18 Aug 2010 18:21:33 +0000 (20:21 +0200)]
Karl convinced me this isn't revelant

They've always been sort of private, even tho the symbols are exported.

10 years agoperldelta up to ff7894f
Florian Ragwitz [Wed, 18 Aug 2010 18:21:29 +0000 (20:21 +0200)]
perldelta up to ff7894f

10 years agoUpdate Archive-Tar to CPAN version 1.68
Chris 'BinGOs' Williams [Wed, 18 Aug 2010 10:20:06 +0000 (11:20 +0100)]
Update Archive-Tar to CPAN version 1.68

  [DELTA]

  * important changes in version 1.68 17/08/2010
  - Apply a patch from Colin Newell that checks whether long files can be created or
    not in 02_methods.t. Hopefully resolves RT #57312 and RT #56163

  Most importantly it should resolve test failures when building on encrypted
  filesystems.

10 years agoNote the HTML::Parser breakage
Florian Ragwitz [Wed, 18 Aug 2010 02:44:21 +0000 (04:44 +0200)]
Note the HTML::Parser breakage

Also fix a link to substr().

10 years agoIgnore *.old files
Florian Ragwitz [Wed, 18 Aug 2010 02:20:40 +0000 (04:20 +0200)]
Ignore *.old files

We already ignored a couple of them, but there's many more of them showing up
every now and then, especially because of some of the porting tools.

10 years agoSteal some rewording from perl5122delta
Florian Ragwitz [Wed, 18 Aug 2010 00:14:36 +0000 (02:14 +0200)]
Steal some rewording from perl5122delta

10 years agoperldelta up to a8a2f4f
Florian Ragwitz [Wed, 18 Aug 2010 00:00:54 +0000 (02:00 +0200)]
perldelta up to a8a2f4f

10 years agoRe-sort MANIFEST and use tabs for new entry.
George Greer [Tue, 17 Aug 2010 23:10:13 +0000 (19:10 -0400)]
Re-sort MANIFEST and use tabs for new entry.

MANIFEST is in "dictionary order" (ignore-case and consider whitespace
and alphanumeric only) so it can be surprising at times

10 years agoMake sure the stack is balanced in the case that we fake the result of unsupported...
Andy Armstrong [Sun, 15 Aug 2010 11:05:23 +0000 (12:05 +0100)]
Make sure the stack is balanced in the case that we fake the result of unsupported filetests.

This time with an appropriate comment on the test. And with that I'll
attempt to stop spamming P5P, at least for today, and go and do
something less risky. Running with scissors perhaps.

10 years agoMove POSIX.pm to lib/POSIX.pm to fix autosplitter problem
Jerry D. Hedden [Tue, 17 Aug 2010 17:17:11 +0000 (13:17 -0400)]
Move POSIX.pm to lib/POSIX.pm to fix autosplitter problem

10 years agoFix building with PERL_GLOBAL_STRUCT defined.
Nicholas Clark [Tue, 17 Aug 2010 16:28:03 +0000 (17:28 +0100)]
Fix building with PERL_GLOBAL_STRUCT defined.

Presumably this compilation option was broken when Perl_clone_params_del
and Perl_clone_params_new were added in f7abe70be985cb91.

10 years agoAdd an -X option to expand-macro.pl to show how XSUBs see the macro.
Nicholas Clark [Tue, 17 Aug 2010 15:54:12 +0000 (16:54 +0100)]
Add an -X option to expand-macro.pl to show how XSUBs see the macro.

The default is to show macros as seen by the core.

10 years agoperldelta Eric's lvalue/TARG changes
Florian Ragwitz [Tue, 17 Aug 2010 07:13:47 +0000 (09:13 +0200)]
perldelta Eric's lvalue/TARG changes

10 years agoRemove DATE section from README.aix
Florian Ragwitz [Tue, 17 Aug 2010 05:01:29 +0000 (07:01 +0200)]
Remove DATE section from README.aix

The date in there requires a manual edit for every release, which seems silly
for a bit of information that's also in various other places like perlhist.

Instead, only mention the perl version the document refers to somewhere at the
top. Porting/bump-perl-version can update that automatically for us.

10 years agoPERL_API_* doesn't need to be maintained manually
Florian Ragwitz [Mon, 16 Aug 2010 23:22:27 +0000 (01:22 +0200)]
PERL_API_* doesn't need to be maintained manually

10 years agoRelease managers need to be careful in INSTALL
Florian Ragwitz [Mon, 16 Aug 2010 23:06:29 +0000 (01:06 +0200)]
Release managers need to be careful in INSTALL

Everything is binary incompatible with each other, except for maint releases
from the same maint branch.

10 years agoUpdate INSTALL regarding binary compatibility
Florian Ragwitz [Mon, 16 Aug 2010 23:06:09 +0000 (01:06 +0200)]
Update INSTALL regarding binary compatibility

10 years agoperldelta up to d5da2b2
Florian Ragwitz [Mon, 16 Aug 2010 22:34:24 +0000 (00:34 +0200)]
perldelta up to d5da2b2

10 years agoBump $feature::VERSION
Florian Ragwitz [Mon, 16 Aug 2010 22:09:43 +0000 (00:09 +0200)]
Bump $feature::VERSION

It hasn't seen many changes since 5.13.3, but it was changed slightly in the
docs, and cmpVERSION.pl kindly asked me to bump the verion even for that.

10 years agoOnly copy op.c to opmini.c if op.c is a symlink, else use a symlink.
Nicholas Clark [Mon, 16 Aug 2010 21:12:13 +0000 (23:12 +0200)]
Only copy op.c to opmini.c if op.c is a symlink, else use a symlink.

Similarly for perl.c to perlmini.c

This avoids the work of a file copy if a symlink would do the job, but ensures
that we don't create a symlink to a symlink to a file, which (comments suggest)
upsets gcc.

10 years agoUse a loop to generate the Makefile rules for opmini.c and perlmini.c.
Nicholas Clark [Mon, 16 Aug 2010 19:43:19 +0000 (21:43 +0200)]
Use a loop to generate the Makefile rules for opmini.c and perlmini.c.

10 years agoFor both opmini.o and perlmini.o define PERL_EXTERNAL_GLOB and PERL_IS_MINIPERL
Nicholas Clark [Mon, 16 Aug 2010 19:22:44 +0000 (21:22 +0200)]
For both opmini.o and perlmini.o define PERL_EXTERNAL_GLOB and PERL_IS_MINIPERL

Previously only opmini.o was compiled with -DPERL_EXTERNAL_GLOB, and only
perlmini.o with -DPERL_IS_MINIPERL. Add "PERL_EXTERNAL_GLOB" to the output
of (mini)perl -V if it is defined.

10 years agoperldelta up to b474a1b
Florian Ragwitz [Mon, 16 Aug 2010 20:54:10 +0000 (22:54 +0200)]
perldelta up to b474a1b

10 years agoCorrected typo in documentation for glob().
Chris 'BinGOs' Williams [Mon, 16 Aug 2010 16:05:41 +0000 (17:05 +0100)]
Corrected typo in documentation for glob().

10 years agoUpdate Test-Harness to CPAN version 3.22
Chris 'BinGOs' Williams [Mon, 16 Aug 2010 16:04:27 +0000 (17:04 +0100)]
Update Test-Harness to CPAN version 3.22

  [DELTA]

  3.22    2010-08-14
        - Allow TAP::Parser to recognize a nested BAIL_OUT directive.
        - Add brief HOWTO for creating and running pgTAP tests to
          TAP::Parser::SourceHandler::pgTAP.
        - Fix trailing plan + embedded YAML + TAP 13 case. Thanks to
          Steffen Schwigon. #54518.
        - Numerous spelling fixes. Thanks to Ville Skytt<C3><A4>.
        - Add new option --tapversion for prove to set the default
          assumed TAP version. Thanks to Steffen Schwigon.
        - Fixed tests to run successfully under Devel::Cover. Thanks to
          Phillipe Bruhat.
        - Fixed injection of test args to work with general executables
          as well as Perl scripts (#59186).
        - Allow multiple --ext=.foo arguments to prove, to allow running
          different types of tests in the same prove run.
        - App::Prove::extension() is now App::Prove::extensions(), and
          returns an arrayref of extensions, rather than a single scalar.
          The same change has been made to App::Prove::State::extension().
        - Preserve old semantics for test scripts with a shebang line
          by favouring Perl as the intepreter for any file with a
          shebang (#59457).
        - Add --trap (summary on Ctrl-C) option to prove (#59427).
        - Removed TAP::Parser::SourceHandler::pgTAP. Find it in its own
          distribution on CPAN.
        - Source options to prove can now be specified so as to be passed to
          the source as a hash reference, eg:

              prove --source XYZ --xyz-option pset=foo=bar

          Ths "pset" option will be passed as a hash reference with the key
          "foo" and the value "bar".