This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
12 years agoAdd a little POD
James E. Keenan [Mon, 15 Mar 2010 01:55:03 +0000 (21:55 -0400)]
Add a little POD

12 years agoMore variable renaming and comments
James E. Keenan [Mon, 15 Mar 2010 01:36:33 +0000 (21:36 -0400)]
More variable renaming and comments

1. Rename another instance of $name to $iface_name to further reduce
confusion.
2. Write inline comments at two locations where $name appears to be
previously undeclared global.
3. Correct some indentation.

12 years agoMore variable and code shuffling to improve maintainability
James E. Keenan [Mon, 15 Mar 2010 01:27:27 +0000 (21:27 -0400)]
More variable and code shuffling to improve maintainability

1. Move creation of read filehandle closer to its first point of use.

2. Move code for population of %targetable into subroutine and place that sub,
make_targetable, in EU::PXS::Utilities (for the time being).

3. Rename one instance of $name to $len_name to (start to) reduce confusion.

Note: Munged by Steffen to fix problem with order of chdir() and open()
calls.

12 years agoMove code handling processing of typemap files to Utilities.pm.
James E. Keenan [Sun, 14 Mar 2010 15:50:06 +0000 (11:50 -0400)]
Move code handling processing of typemap files to Utilities.pm.

12 years agoChange $ALIAS from 'my' to 'our'
James E. Keenan [Sun, 14 Mar 2010 14:39:48 +0000 (10:39 -0400)]
Change $ALIAS from 'my' to 'our'

This is not because I think it really should be changed but because
declaring it as 'my' produces change in resulting C code -- albeit
probably a desirable change. Include summary of debugging as inline
comment.

12 years agoChange ValidProtoString() to valid_proto_string()
James E. Keenan [Sun, 6 Feb 2011 10:53:59 +0000 (11:53 +0100)]
Change ValidProtoString() to valid_proto_string()

and move its definition to Utilities.pm

12 years agoRevise some of the placements into EU::PXS::Constants.
James E. Keenan [Sun, 14 Mar 2010 04:13:50 +0000 (23:13 -0500)]
Revise some of the placements into EU::PXS::Constants.

12 years agoShuffle more functions and variables around
James E. Keenan [Sun, 14 Mar 2010 03:02:23 +0000 (22:02 -0500)]
Shuffle more functions and variables around

Move sub C_string() to Utilities.pm. Eliminate some 'my' variables
inside process_file() that can be handled equally well by %args elements.

12 years agoMove EU::ParseXS::CountLines to its own file to simplify editing
James E. Keenan [Sun, 6 Feb 2011 10:49:34 +0000 (11:49 +0100)]
Move EU::ParseXS::CountLines to its own file to simplify editing

12 years agoImplement use strict 'subs' and 'refs'
James E. Keenan [Sat, 13 Mar 2010 17:41:29 +0000 (12:41 -0500)]
Implement use strict 'subs' and 'refs'

With two understandable exceptions for use strict 'refs'.

12 years agoCorrect ambiguous regex capture syntax.
James E. Keenan [Sat, 13 Mar 2010 15:31:15 +0000 (10:31 -0500)]
Correct ambiguous regex capture syntax.

12 years agoTighten scope of more variables
James E. Keenan [Sat, 13 Mar 2010 14:24:51 +0000 (09:24 -0500)]
Tighten scope of more variables

Move $pname from global to 'our'. Move $clean_func_name from global
to 'my'. Declare our $bal in separate statement.

12 years agoMove about 9 global variables into 'our' status.
James E. Keenan [Sat, 13 Mar 2010 04:40:45 +0000 (23:40 -0500)]
Move about 9 global variables into 'our' status.

12 years agoLexicalize more variables
James E. Keenan [Sat, 13 Mar 2010 03:41:02 +0000 (22:41 -0500)]
Lexicalize more variables

Move 6 more variables out of 'our' status and into 'my' status
inside process_file().

12 years agoContinue renaming confusing variables
James E. Keenan [Sat, 13 Mar 2010 03:20:07 +0000 (22:20 -0500)]
Continue renaming confusing variables

Remove an unused variable called $line_no (which should reduce
confusion with @line_no). Rename another $line_no within
Warn() to $warn_line_number. %targetable becomes 'my' variable
inside subroutine.

12 years agoEU::ParseXS Version bump
James E. Keenan [Sat, 13 Mar 2010 03:00:57 +0000 (22:00 -0500)]
EU::ParseXS Version bump

Also nuke one more unused variable and fix a typo.

12 years agoStart to remove unused variables
James E. Keenan [Sat, 13 Mar 2010 02:40:26 +0000 (21:40 -0500)]
Start to remove unused variables

Also identify 'our' variables which are used only within the scope of
process_file() and which therefore can be changed into 'my' variables.

12 years agoMove TidyType() to Utilities::tidy_type()
James E. Keenan [Sun, 6 Feb 2011 10:38:11 +0000 (11:38 +0100)]
Move TidyType() to Utilities::tidy_type()

Create test file for it.

12 years agoChange TrimWhitespace() to trim_whitespace()
James E. Keenan [Sun, 6 Feb 2011 10:34:31 +0000 (11:34 +0100)]
Change TrimWhitespace() to trim_whitespace()

and place it in ParseXS::Utilities.  Write a file to test it.
Update MANIFEST.

12 years agoMove POD for internal sub from ParseXS.pod to Utilities.pm
Steffen Mueller [Sun, 6 Feb 2011 10:31:06 +0000 (11:31 +0100)]
Move POD for internal sub from ParseXS.pod to Utilities.pm

Create file to test standard_typemap_locations().
Update MANIFEST.

12 years agoSeparate POD file and ExtUtils::ParseXS::Utilities
Steffen Mueller [Sun, 6 Feb 2011 10:19:58 +0000 (11:19 +0100)]
Separate POD file and ExtUtils::ParseXS::Utilities

Create separate file to hold POD and introduce
ExtUtils::ParseXS::Utilities to hold non-object-oriented functions
refactored out of ExtUtils::ParseXS; first instance:
standard_typemap_locations().

12 years agoContinue tidying up the code, range lines 1000-end
James E. Keenan [Fri, 12 Mar 2010 02:54:57 +0000 (21:54 -0500)]
Continue tidying up the code, range lines 1000-end

Uncuddle all '} elsif' and '} else' statements.
Switch to 'use Exporter' rather than 'require' (for consistency).

12 years agoChange from 'use vars' to 'our', which was introduced in Perl 5.6.0.
James E. Keenan [Fri, 12 Mar 2010 02:13:10 +0000 (21:13 -0500)]
Change from 'use vars' to 'our', which was introduced in Perl 5.6.0.

12 years agoBegin to uncuddle 'elsif' and 'else'. Rationalize indentation. Completed thru line...
James E. Keenan [Wed, 10 Mar 2010 03:49:17 +0000 (22:49 -0500)]
Begin to uncuddle 'elsif' and 'else'. Rationalize indentation. Completed thru line 1000.

12 years agoEliminate whitespace before final semicolon.
James E. Keenan [Wed, 10 Mar 2010 03:21:07 +0000 (22:21 -0500)]
Eliminate whitespace before final semicolon.

12 years agoChange all hard tabs to 4-spaces. Eliminate trailing whitespace.
James E. Keenan [Wed, 10 Mar 2010 03:16:18 +0000 (22:16 -0500)]
Change all hard tabs to 4-spaces. Eliminate trailing whitespace.

12 years agoRename EU::PXS test files to include digits
Steffen Mueller [Sun, 6 Feb 2011 10:09:01 +0000 (11:09 +0100)]
Rename EU::PXS test files to include digits

12 years agoRevert "Moved prototype check to XS code, allowing the .pm file change from yesterday"
Steffen Mueller [Sun, 6 Feb 2011 16:57:21 +0000 (17:57 +0100)]
Revert "Moved prototype check to XS code, allowing the .pm file change from yesterday"

This reverts commit d16d4b10300b35e2d4d858a3e23cff975bc713fe. It
requires the _ prototype support in ExtUtils::ParseXS and we need to
temporarily disable that. Will be reapplied later.

12 years agoRevert EU::ParseXS part of 1e8125c621275d18c74bc8dae3bfc3c03929fe1e
Steffen Mueller [Sun, 6 Feb 2011 10:05:22 +0000 (11:05 +0100)]
Revert EU::ParseXS part of 1e8125c621275d18c74bc8dae3bfc3c03929fe1e

This is in order to be able to apply Jim Keenan's work on
ExtUtils::ParseXS. This change will be reapplied later.

12 years agoRevert the EU::ParseXS part of c4a6f826b3676d1fdbd9972a9d0a8f11c02d003d
Steffen Mueller [Sun, 6 Feb 2011 09:59:58 +0000 (10:59 +0100)]
Revert the EU::ParseXS part of c4a6f826b3676d1fdbd9972a9d0a8f11c02d003d

This is in order to apply Jim Keenan's work to EU::PXS. It is planned to
re-apply this change later.

12 years agoRevert EU::ParseXS part of c33e8be1506a75e393304af89d64e3f46e0ca7cb
Steffen Mueller [Sat, 5 Feb 2011 16:06:29 +0000 (17:06 +0100)]
Revert EU::ParseXS part of c33e8be1506a75e393304af89d64e3f46e0ca7cb

This is necessary in order to apply Jim Keenan's work on
ExtUtils::ParseXS. The plan is to reapply this change later.

... also bump version.

12 years agoAdd an email alias for James Keenan
Steffen Mueller [Sun, 6 Feb 2011 17:36:14 +0000 (18:36 +0100)]
Add an email alias for James Keenan

12 years agoUpdate CPANPLUS to CPAN version 0.9107
Chris 'BinGOs' Williams [Tue, 12 Jul 2011 15:04:46 +0000 (16:04 +0100)]
Update CPANPLUS to CPAN version 0.9107

  [DELTA]

  Changes for 0.9107      Tue Jul 12 15:22:14 2011
  ================================================
  * Add support for v-strings and x.y.z versions, using the version module.
  * Resolve [rt.cpan.org #69420] "type checking for CPANPLUS::Backend::RV::new is incorrect"
  * Resolve [rt.cpan.org #69203] "custom sources ignores timeout config option"

12 years agoI, for one, welcome our new DTrace overlord
Florian Ragwitz [Tue, 12 Jul 2011 14:37:32 +0000 (16:37 +0200)]
I, for one, welcome our new DTrace overlord

12 years agoregenerate known_pod_issues
Father Chrysostomos [Tue, 12 Jul 2011 14:06:42 +0000 (07:06 -0700)]
regenerate known_pod_issues

12 years agoDocument and test the phase-change probe
Shawn M Moore [Tue, 12 Jul 2011 12:49:10 +0000 (08:49 -0400)]
Document and test the phase-change probe

12 years agoLoad modules only after setting up @INC
Florian Ragwitz [Tue, 12 Jul 2011 09:35:09 +0000 (11:35 +0200)]
Load modules only after setting up @INC

12 years agoMake Porting/makerel create smaller archives with 7z and advdef
Leon Brocard [Tue, 12 Jul 2011 08:08:57 +0000 (09:08 +0100)]
Make Porting/makerel create smaller archives with 7z and advdef

It automatically will use these to create archives ~5% smaller,
otherwise falls back to gzip and bzip2.

Also, document in Porting/release_managers_guide.pod.

12 years agobuildtoc, known_pod_issues
Father Chrysostomos [Tue, 12 Jul 2011 04:41:32 +0000 (21:41 -0700)]
buildtoc, known_pod_issues

This just does the general bookkeeping necessary when a new pod
(like the one in the previous commit) is added.

12 years agoNew document for perldtrace
Shawn M Moore [Tue, 12 Jul 2011 00:49:25 +0000 (20:49 -0400)]
New document for perldtrace

12 years agoNew test file that exercises Perl's DTrace support
Shawn M Moore [Mon, 11 Jul 2011 20:24:07 +0000 (16:24 -0400)]
New test file that exercises Perl's DTrace support

12 years agoAdd a phase-change DTrace probe
Shawn M Moore [Thu, 7 Jul 2011 02:35:47 +0000 (22:35 -0400)]
Add a phase-change DTrace probe

12 years agoFactor out a PERL_SET_PHASE macro
Shawn M Moore [Thu, 7 Jul 2011 02:34:49 +0000 (22:34 -0400)]
Factor out a PERL_SET_PHASE macro

This is the first step in adding a dtrace probe for global phase change

12 years agoA not X for was_lvalue_sub in embed.fnc.
Craig A. Berry [Tue, 12 Jul 2011 00:13:41 +0000 (19:13 -0500)]
A not X for was_lvalue_sub in embed.fnc.

7b70e8177801df4e142684870ce037d584f72e7b was my (wrong) suggestion,
and it made the symbol only visible when PERL_CORE was defined,
which it isn't in List::Util.

12 years agoStorable: Restore 5.6 compatibility
Father Chrysostomos [Mon, 11 Jul 2011 20:25:35 +0000 (13:25 -0700)]
Storable: Restore 5.6 compatibility

12 years agoStorable: Restore 5.8.2 compatibility
Father Chrysostomos [Mon, 11 Jul 2011 20:21:28 +0000 (13:21 -0700)]
Storable: Restore 5.8.2 compatibility

12 years agoFix a Storable test to work in 5.8.9-
Father Chrysostomos [Mon, 11 Jul 2011 20:10:03 +0000 (13:10 -0700)]
Fix a Storable test to work in 5.8.9-

This test only passes in 5.10.0+ because of a nasty bug in Hash::Util,
or perhaps Internals::SvREADONLY.

lock_hash is supposed to lock values as well as keys, but it doesn’t
always in 5.10.0+, leading me to believe that it was the right func-
tion to use.  (Fixing that is for another commit.)

12 years agouse a flag to signal a stacking filetests instead of peeking at the next op.
Gerard Goossen [Mon, 17 Jan 2011 21:12:53 +0000 (22:12 +0100)]
use a flag to signal a stacking filetests instead of peeking at the next op.

Preparation for the codegeneration changes where the next op isn't accessible.

12 years agoAdd tests for wrapping formats in B objects
Florian Ragwitz [Mon, 11 Jul 2011 19:55:44 +0000 (21:55 +0200)]
Add tests for wrapping formats in B objects

12 years agoIn sv.c, remove comments with structure sizes from bodies_by_type[].
Nicholas Clark [Mon, 11 Jul 2011 13:48:44 +0000 (15:48 +0200)]
In sv.c, remove comments with structure sizes from bodies_by_type[].

On balance, the "typical" sizes seem to be more of a liability than an asset,
as they (by necessity) can only be correct for one particular combination of
UV size, pointer size, NV alignment, etc, which means more likely than not
they *aren't* correct for the platform you're building on. And that's for the
best case scenario, that the comments are updated if the structures are
updated.

12 years agoExport Perl_was_lvalue_sub
Father Chrysostomos [Mon, 11 Jul 2011 00:06:58 +0000 (17:06 -0700)]
Export Perl_was_lvalue_sub

As Craig Berry pointed out, the multicall API uses the PUSHSUB macro,
so anything it calls must be exported.

12 years agoAdd support for Unicode's Script_Extension property
Karl Williamson [Sun, 10 Jul 2011 21:01:27 +0000 (15:01 -0600)]
Add support for Unicode's Script_Extension property

This property is an improved version of Script.

12 years agomktables: Suppress certain expected debug msgs
Karl Williamson [Sun, 10 Jul 2011 20:59:32 +0000 (14:59 -0600)]
mktables: Suppress certain expected debug msgs

mktables has a mode for quicker debugging to skip processing some
input files.  When this is done, it is to be expected that the output
will be incomplete, so don't bother warning in this case.

12 years agoUnicode::UCD: nits in comments and pod
Karl Williamson [Sun, 10 Jul 2011 20:29:37 +0000 (14:29 -0600)]
Unicode::UCD: nits in comments and pod

12 years agoperlunicode: nits
Karl Williamson [Sun, 10 Jul 2011 20:28:26 +0000 (14:28 -0600)]
perlunicode: nits

12 years agoperlrecharclass: nit
Karl Williamson [Sun, 10 Jul 2011 20:26:58 +0000 (14:26 -0600)]
perlrecharclass: nit

12 years agomktables: Move test to added class member
Karl Williamson [Sun, 10 Jul 2011 00:13:10 +0000 (18:13 -0600)]
mktables: Move test to added class member

Early Unicode releases didn't specify all possible property values,
but newer ones do, with some exceptions.  As an error check, on a newer
relese, a warning is raised if an unexpected property value is raised.
This member allows properties to be handled in new releases that
Unicode doesn't list the property values for.  (Each property value
corresponds to a mapping.)  The previous test that had a hard-coded
value is amended to use the member's value instead.

12 years agomktables: New method on properties to delete tables
Karl Williamson [Sun, 10 Jul 2011 00:09:44 +0000 (18:09 -0600)]
mktables: New method on properties to delete tables

This method will be used in a future commit.

12 years agoperlgit: C<<...>> -> C<< ... >>
Father Chrysostomos [Sun, 10 Jul 2011 13:15:58 +0000 (06:15 -0700)]
perlgit: C<<...>> -> C<< ... >>

12 years agoSquelch warning in deparse.t
Father Chrysostomos [Sun, 10 Jul 2011 13:07:56 +0000 (06:07 -0700)]
Squelch warning in deparse.t

12 years agoB::Deparse misdeparses qq(@,)
Hojung Youn [Sun, 10 Jul 2011 08:41:13 +0000 (17:41 +0900)]
B::Deparse misdeparses qq(@,)

This commit changes the signature of stash_variable() in B::Deparse.
stash_variable() takes $cx value additionally to know whether or not
it is in the interpolation context.

Punctuation arrays such as @* are usually interpolated only if the
name is enclosed in braces @{*}, but the arrays @_, @+, @- are
interpolated even without braces.

related issue: #93990

12 years agoperlref: update bareword bracketing discussion, mention new auto-dereferencing
Phil Monsen [Sun, 10 Jul 2011 02:15:40 +0000 (21:15 -0500)]
perlref: update bareword bracketing discussion, mention new auto-dereferencing

12 years agoUpdate Pod-Simple to CPAN version 3.17
Chris 'BinGOs' Williams [Sun, 10 Jul 2011 09:13:39 +0000 (10:13 +0100)]
Update Pod-Simple to CPAN version 3.17

  [DELTA]

  2011-07-09   David E. Wheeler <david@justatheory.org>
  * Release 3.17

  Documented tertiary methods. Patch from Shawn H Corey.

  Added "backlink" option to Pod::Simple::XHTML. Thanks to Marc
  Green/Google Summer of Code for the pull request.

  Typos fixed in Pod::Simple::HTMLBatch. Reported by Shawn H Corey.

  Fixed quoting of value returned by a "strip_verbatim_indent()"
  code reference so that regex meta characters are properly escaped.

  Added "anchor_items" option to Pod::Simple::XHMTL. This allows
  text items (which are output as <dt> elements) to have IDs that
  can be referenced in the "#" part of a URL. Marc Green/Google
  Summer of Code.

  Added "recurse" option to Pod::Simple::Search. It's enabled by
  default; disable it to turn off recursion into subdirectories.
  Marc Green/Google Summer of Code.

  Added documentation to clarify the behavior of the "content_seen"
  method. Thanks to Olaf Alders for the pull request.

12 years agoUpdate perldoc.pod with URL support
Father Chrysostomos [Sun, 10 Jul 2011 05:22:43 +0000 (22:22 -0700)]
Update perldoc.pod with URL support

12 years agoAdd crude support to perldoc for viewing PODs via HTTP(s)
Claes Jakobsson [Wed, 6 Jul 2011 16:51:45 +0000 (18:51 +0200)]
Add crude support to perldoc for viewing PODs via HTTP(s)

12 years agoPropagate (non-)lvalue context through nested calls
Father Chrysostomos [Sun, 10 Jul 2011 02:18:45 +0000 (19:18 -0700)]
Propagate (non-)lvalue context through nested calls

Before this commit, this code would fail:

$foo = "foo";
sub foo :lvalue{ return index "foo","o" }
sub bar :lvalue { foo }
$x = bar;

(It would fail for ‘return $]’ as well.  Whether it’s a PADTMP or a
read-only scalar makes no difference.)

foo would think it was being called in true lvalue context, because
the entersub op that called it (in bar) was marked that way, bar being
an lvalue sub as well.

The PUSHSUB macro in cop.h needed to be modified to account for
dynamic, or indetermine, context (i.e., indeterminable at compile
time).  This happens when an entersub op is an argument to return or
the last statement in a subroutine.  In those cases it has to propa-
gate the context from the caller.

So what we now do is this: Both lvalue and in-args flags are turned on
for an entersub op when op_lvalue is called with OP_LEAVESUBLV as the
type.  Then PUSHSUB copies into the context stack only those flags
that are set both on the current entersub op and in the context stack
for the previous sub call.

12 years agoperlrecharclass: slight reword
Karl Williamson [Fri, 8 Jul 2011 17:38:36 +0000 (11:38 -0600)]
perlrecharclass: slight reword

12 years agoS_return_lvalues: collapse duplicated code
Father Chrysostomos [Sat, 9 Jul 2011 13:18:24 +0000 (06:18 -0700)]
S_return_lvalues: collapse duplicated code

12 years agoS_return_lvalues: microöptimisation
Father Chrysostomos [Sat, 9 Jul 2011 13:16:36 +0000 (06:16 -0700)]
S_return_lvalues: microöptimisation

This jumps over an if() condition when we know it’s going to be true.

12 years agoFree temps on recursive scalar lvalue sub exit
Father Chrysostomos [Sat, 9 Jul 2011 12:50:04 +0000 (05:50 -0700)]
Free temps on recursive scalar lvalue sub exit

See the thread starting at
<83877DD1-4624-4497-B784-0F8DA25DB4A8@cpan.org>.

I still don’t know why this does not apply to list context.

As with most lvalue sub fixes, this involves deleting code.

12 years agoFix grammar in perldelta
Father Chrysostomos [Sat, 9 Jul 2011 12:44:01 +0000 (05:44 -0700)]
Fix grammar in perldelta

One less, not one fewer.  Less is singular; fewer is plural.

12 years agoSynchronise Math::BigInt::FastCalc to CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise Math::BigInt::FastCalc to CPAN

12 years agoSynchronise bignum to CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise bignum to CPAN

12 years agoSynchronise Math::BigRat with CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise Math::BigRat with CPAN

12 years agoSynchronise I18N::Collate to CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise I18N::Collate to CPAN

12 years agoSynchronise File::CheckTree to CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise File::CheckTree to CPAN

12 years agoSynchronise Env to CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise Env to CPAN

12 years agoSynchronise Dumpvalue to CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise Dumpvalue to CPAN

12 years agoSynchronise B::Lint to CPAN
Florian Ragwitz [Sat, 9 Jul 2011 09:03:13 +0000 (11:03 +0200)]
Synchronise B::Lint to CPAN

12 years agoconstant-1.22 is not on CPAN yet
Florian Ragwitz [Sat, 9 Jul 2011 08:49:35 +0000 (10:49 +0200)]
constant-1.22 is not on CPAN yet

12 years agoUpdate CGI to CPAN version 3.55
Chris 'BinGOs' Williams [Sat, 9 Jul 2011 07:56:13 +0000 (08:56 +0100)]
Update CGI to CPAN version 3.55

  [DELTA]

  Version 3.55 June 3rd, 2011

    [THINGS THAT MAY BREAK YOUR CODE]
    url() was fixed to return "PATH_INFO" when it is explicitly requested
    with either the path=>1 or path_info=>1 flag.

    If your code is running under mod_rewrite (or compatible) and you are calling self_url() or
    you are calling url() and passing path_info=>1, These methods will actually be
    returning PATH_INFO now, as you have explicitly requested, or has self_url()
    has requested on your behalf.

    The PATH_INFO has been omitted in such URLs since the issue was introduced
    in the 3.12 release in December, 2005.

    This bug is so old your application may have come to depend on it or
    workaround it. Check for application before upgrading to this release.

    Examples of affected method calls:

     $q->url(-absolute => 1, -query => 1, -path_info => 1 )
     $q->url(-path=>1)
     $q->url(-full=>1,-path=>1)
     $q->url(-rewrite=>1,-path=>1)
     $q->self_url();

12 years agoSynchronise Maintainers.pl with what is actually in dist/ and cpan/
Chris 'BinGOs' Williams [Sat, 9 Jul 2011 07:31:02 +0000 (08:31 +0100)]
Synchronise Maintainers.pl with what is actually in dist/ and cpan/

12 years agoUse makedef.pl on VMS to feed vms/gen_shrfls.pl.
Craig A. Berry [Fri, 8 Jul 2011 19:28:05 +0000 (14:28 -0500)]
Use makedef.pl on VMS to feed vms/gen_shrfls.pl.

This replaces the latter's long-standing method of running
perl.h through the C preprocessor and parsing the output in
order to see what symbols need exporting in the linker options
file.

vms/gen_shrfls.pl remains part of the process for now since it
knows various things about generating linker options files on
different architectures and other VMS-specific gotchas such as
symbol case sensitivity and long symbol shortening.  These
features could be added to makedef.pl but are unlike anything
currently done there.

This should slightly increase the chances that folks can modify
the API without breaking the build, and it should make us a bit
stricter about only exporting the symbols we intend to, but the
result is still far from optimal.  It replaces one set of
heuristics and manually-maintained inclusion and exclusion lists
with different heuristics and even longer lists of inclusions and
exclusions.

12 years agoIn win32_start_child(), remove tmpgv, unused since 0e21945565eb4664.
Nicholas Clark [Tue, 5 Jul 2011 20:58:33 +0000 (22:58 +0200)]
In win32_start_child(), remove tmpgv, unused since 0e21945565eb4664.

12 years agoIncrease $diagnostics::VERSION
Father Chrysostomos [Fri, 8 Jul 2011 16:09:59 +0000 (09:09 -0700)]
Increase $diagnostics::VERSION

12 years agoAllow items in perldiag.pod to match warnings when they have periods at the end
Matthew Horsfall [Fri, 8 Jul 2011 03:58:03 +0000 (23:58 -0400)]
Allow items in perldiag.pod to match warnings when they have periods at the end

12 years agoAdd prototypes for __FILE__ &c.
Father Chrysostomos [Fri, 8 Jul 2011 15:39:58 +0000 (08:39 -0700)]
Add prototypes for __FILE__ &c.

Before this commit, prototype("CORE::__FILE__") would die with ‘Can’t
find an op number...’.

That __FILE__ does not have an op number whereas time() does is an
implementation detail that should not be exposed to the user.

So this commit adds prototypes for __FILE__, __LINE__ and __PACKAGE__.

12 years agoperlfaq's pod syntax test shouldn't be in blead
Florian Ragwitz [Fri, 8 Jul 2011 10:07:52 +0000 (12:07 +0200)]
perlfaq's pod syntax test shouldn't be in blead

12 years agoDual-life perlfaq
Florian Ragwitz [Thu, 7 Jul 2011 20:02:29 +0000 (22:02 +0200)]
Dual-life perlfaq

12 years agopodcheck: Note new linked-to modules
Karl Williamson [Thu, 7 Jul 2011 23:59:38 +0000 (17:59 -0600)]
podcheck: Note new linked-to modules

12 years agoregexec.c: Nits in comments
Karl Williamson [Thu, 7 Jul 2011 23:45:22 +0000 (17:45 -0600)]
regexec.c: Nits in comments

12 years agoutf8_heavy: Fail on binary/non- mismatch
Karl Williamson [Thu, 7 Jul 2011 23:42:09 +0000 (17:42 -0600)]
utf8_heavy: Fail on binary/non- mismatch

If the user asks for a binary property, but passes a name that
is a non-binary property, fail.

12 years agoMove perldoc.pod to the dist it belongs to
Florian Ragwitz [Thu, 7 Jul 2011 21:13:23 +0000 (23:13 +0200)]
Move perldoc.pod to the dist it belongs to

12 years agoAllow buildtoc to handle files outside of pod/
Florian Ragwitz [Thu, 7 Jul 2011 21:13:18 +0000 (23:13 +0200)]
Allow buildtoc to handle files outside of pod/

12 years agoExpand "git co" in pod/perlhack.pod
brian greenfield [Thu, 7 Jul 2011 15:13:30 +0000 (16:13 +0100)]
Expand "git co" in pod/perlhack.pod

12 years agoAdd Brian Greenfield to AUTHORS
brian greenfield [Thu, 7 Jul 2011 15:43:47 +0000 (16:43 +0100)]
Add Brian Greenfield to AUTHORS

12 years agoRemove old perltodo
Matthew Horsfall [Thu, 7 Jul 2011 19:52:26 +0000 (12:52 -0700)]
Remove old perltodo

12 years agoAdd name to AUTHORS
Matthew Horsfall [Thu, 7 Jul 2011 19:52:10 +0000 (12:52 -0700)]
Add name to AUTHORS

12 years agofix smart match docs for lhs undef
Jesse Luehrs [Thu, 7 Jul 2011 08:21:16 +0000 (03:21 -0500)]
fix smart match docs for lhs undef

undef ~~ 0 is false, but undef == 0 is true - this one is falling under
the undef ~~ Any case, not the Any ~~ Num case.

12 years agoAdd doy to AUTHORS
Florian Ragwitz [Thu, 7 Jul 2011 19:56:06 +0000 (21:56 +0200)]
Add doy to AUTHORS