2 years agoone more place to get rid of win32/config*.gc64nox v5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 03:49:43 +0000]
one more place to get rid of win32/config*.gc64nox

2 years agoupdate perlhist for 5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 03:14:48 +0000]
update perlhist for 5.17.1

2 years agoupdate Module::CoreList for 5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 03:05:19 +0000]
update Module::CoreList for 5.17.1

2 years agoformatting
Jesse Luehrs [Wed, 20 Jun 2012 02:46:22 +0000]
formatting

2 years agoadd acknowledgements
Jesse Luehrs [Wed, 20 Jun 2012 02:46:13 +0000]
add acknowledgements

2 years agobump version to 5.17.1
Jesse Luehrs [Wed, 20 Jun 2012 02:01:44 +0000]
bump version to 5.17.1

2 years agocomments in bump-perl-version
Jesse Luehrs [Tue, 19 Jun 2012 23:42:11 +0000]
comments in bump-perl-version

2 years agoperldelta for 5c0877fa4ac0 (VMS include files).
Craig A. Berry [Tue, 19 Jun 2012 23:56:44 +0000]
perldelta for 5c0877fa4ac0 (VMS include files).

2 years agoperlhacktips: long lines
Father Chrysostomos [Tue, 19 Jun 2012 19:48:56 +0000]
perlhacktips: long lines

2 years agomore proofreading
Jesse Luehrs [Tue, 19 Jun 2012 19:45:51 +0000]
more proofreading

2 years agoperlhacktips: add AddressSanitizer
Reini Urban [Mon, 11 Jun 2012 15:42:10 +0000]
perlhacktips: add AddressSanitizer

[amended to fix a typo, and add an exception to the podcheck database]

2 years agowe seem to have been using L<> rather than C<> here recently
Jesse Luehrs [Tue, 19 Jun 2012 17:54:11 +0000]
we seem to have been using L<> rather than C<> here recently

2 years agonone of this is important
Jesse Luehrs [Tue, 19 Jun 2012 17:31:45 +0000]
none of this is important

2 years agoadd module updates to perldelta
Jesse Luehrs [Tue, 19 Jun 2012 17:31:12 +0000]
add module updates to perldelta

2 years agochange this synopsis to something that actually works
Jesse Luehrs [Tue, 19 Jun 2012 15:36:39 +0000]
change this synopsis to something that actually works

2 years agonote existing smoke failures
Jesse Luehrs [Tue, 19 Jun 2012 15:03:58 +0000]
note existing smoke failures

2 years agothe known problems section is also for platform specific things
Jesse Luehrs [Tue, 19 Jun 2012 14:49:42 +0000]
the known problems section is also for platform specific things

2 years agoUse ll rather than I64 for win32/config*.gc64 format strings
Steve Hay [Tue, 19 Jun 2012 16:59:29 +0000]
Use ll rather than I64 for win32/config*.gc64 format strings

The corresponding types are long long rather than __int64 so this makes
more sense and matches proposed diffs from the land of Strawberry Perl
for supporting 32-bit builds with 64-bit ints on Windows (hopefully
coming up soon...).

2 years agoAdd missing dlltool default to win32/config.gc
Steve Hay [Tue, 19 Jun 2012 16:54:18 +0000]
Add missing dlltool default to win32/config.gc

ExtUtils::MakeMaker and ExtUtils::CBuilder both default to this anyway,
but it's good to be explicit, and reduces diffs with the .gc64 file.

2 years agoperldelta updates
Jesse Luehrs [Tue, 19 Jun 2012 14:25:46 +0000]
perldelta updates

2 years agoperldelta for 186a5ba82d58
Father Chrysostomos [Tue, 19 Jun 2012 13:29:50 +0000]
perldelta for 186a5ba82d58

This entry is only for the user-visible changes.

2 years agoremove bogus $remainder variable from perlfunc/split
Lukas Mai [Tue, 19 Jun 2012 13:03:19 +0000]
remove bogus $remainder variable from perlfunc/split

As reported by Anša Vernerová:

| Calling the third argument $remainer is simply wrong - the remainder is
| the fourth argument, which is not assigned to anything.

2 years agooverloading: make qr fallback to "" better
David Mitchell [Mon, 18 Jun 2012 21:40:25 +0000]
overloading: make qr fallback to "" better

With the re_eval jumbo fix, the behaviour of overloaded objects in
runtime patterns, such /^$overloaded/ has changed, such that the stringify
overload ("") no longer avoids the need for 'use re "eval"': for example,

    use overload "" => sub { qr/(??{1})/ }
    my $o = bless [];
    "1" =~ /^$o/;

works in 5.16.0, but dies with "Eval-group not allowed" in blead.

Change this back to the former behaviour, such that if qr and concat
ops aren't overloaded, then use "" overloading, and if the return from
that is a qr object, extract any code blocks from it.

This is achieved by:
* moving the concat/stringify code ahead of the regex block extraction
  code,
* making the overloaded stringify call be explicit (rather than
  being invoked implicitly by sv_catsv()),
* looping to re-apply overloading to any object returned by "".
* applying those last two steps in the case of a single arg too

This is a partial fix for
[perl #113682] Bleadperl v5.17.0-424-gd24ca0c breaks
    ABIGAIL/Regexp-Common-2011121001.tar.gz

2 years agoIn cflags.SH trim the case statement of file basenames.
Nicholas Clark [Wed, 28 Mar 2012 15:15:15 +0000]
In cflags.SH trim the case statement of file basenames.

Add examples showing how to use cflags.SH to tweak the compiler flags used
for individual object files.

Previously cflags.SH contained a somewhat stale pre-canned list of file
basenames including removed files such as usersub (deleted before 5.000
shipped), and a partial list of 5.000 XS extensions. Whilst it's possible
to generate the correct list in cflags by parsing MANIFEST (and adding a few
fixups), it's still not actually *useful*, as cflags gets overwritten as
soon as config.sh changes. Hence the most end-user useful solution with
minimal maintenance is to eliminate the list entirely, and document how the
user should add to it as necessary.

2 years agoIn pp_iter, handle end of range at IV_MAX without undefined behaviour.
Nicholas Clark [Mon, 16 Apr 2012 05:51:49 +0000]
In pp_iter, handle end of range at IV_MAX without undefined behaviour.

The previous code assumed that incrementing a signed integer value wraps.
We're lucky that it has (so far), as it's undefined behaviour in C.
So refactor to code which doesn't assume anything.

2 years agoIn t/op/arith.t, tryeq_sloppy() wasn't correctly handling negative values.
Nicholas Clark [Mon, 18 Jun 2012 19:49:39 +0000]
In t/op/arith.t, tryeq_sloppy() wasn't correctly handling negative values.

The code was treating any negative value as "ok", rather than only those
within 1e-9 of the expected value. This bug has been present since
tryeq_sloppy() was added by commit 800e6488b45c59f1 in Oct 2001.

2 years agothis is already mentioned at the end (and that is more correct)
Jesse Luehrs [Tue, 19 Jun 2012 07:15:38 +0000]
this is already mentioned at the end (and that is more correct)

2 years agoremove some boilerplate
Jesse Luehrs [Tue, 19 Jun 2012 07:10:34 +0000]
remove some boilerplate

2 years agotodo
Jesse Luehrs [Tue, 19 Jun 2012 07:05:20 +0000]
todo

2 years agoconsistency
Jesse Luehrs [Tue, 19 Jun 2012 06:27:21 +0000]
consistency

2 years agocombine sections
Jesse Luehrs [Tue, 19 Jun 2012 06:06:00 +0000]
combine sections

2 years agobump Filter::Util::Call to CPAN version 1.45
Jesse Luehrs [Tue, 19 Jun 2012 05:32:26 +0000]
bump Filter::Util::Call to CPAN version 1.45

2 years agofix inadvertent removal during editing
Jesse Luehrs [Tue, 19 Jun 2012 05:20:28 +0000]
fix inadvertent removal during editing

2 years agoperldelta copyediting
Jesse Luehrs [Tue, 19 Jun 2012 05:07:03 +0000]
perldelta copyediting

2 years agoRevert perlfilter part of 318b791f053
Father Chrysostomos [Tue, 19 Jun 2012 03:43:03 +0000]
Revert perlfilter part of 318b791f053

The CPAN release has an old version.

2 years agowhoops, should be using $new_version here
Jesse Luehrs [Mon, 18 Jun 2012 22:44:04 +0000]
whoops, should be using $new_version here

2 years agouse the right default for MAP
Jesse Luehrs [Mon, 18 Jun 2012 22:30:07 +0000]
use the right default for MAP

2 years agomake sure podlators is skipped, it won't be handled correctly
Jesse Luehrs [Mon, 18 Jun 2012 22:25:18 +0000]
make sure podlators is skipped, it won't be handled correctly

2 years agobump Filter::Util::Call to CPAN version 1.44
Jesse Luehrs [Mon, 18 Jun 2012 22:03:26 +0000]
bump Filter::Util::Call to CPAN version 1.44

2 years agoteach sync-with-cpan how to update Maintainers.pl
Jesse Luehrs [Mon, 18 Jun 2012 21:39:25 +0000]
teach sync-with-cpan how to update Maintainers.pl

2 years agoupdate sync-with-cpan to handle dists with MAPped files
Jesse Luehrs [Mon, 18 Jun 2012 21:20:43 +0000]
update sync-with-cpan to handle dists with MAPped files

2 years agoensure 'make' updates all necessary files
Jesse Luehrs [Mon, 18 Jun 2012 21:17:33 +0000]
ensure 'make' updates all necessary files

moving files around doesn't change the mtime, and tarballs store the
mtime to use when untarring, so it's possible to end up with an updated
file with an mtime before the corresponding file in lib/

2 years agoget the dir name from the tarball filename
Jesse Luehrs [Mon, 18 Jun 2012 20:57:41 +0000]
get the dir name from the tarball filename

Filter::Util::Call comes from Filter-x.yz.tar.gz for instance, which
untars to Filter-x.yz, not Filter-Util-Call-x.yz as it was previously
assuming

2 years agoallow overriding version in this branch too
Jesse Luehrs [Mon, 18 Jun 2012 20:57:18 +0000]
allow overriding version in this branch too

2 years agonot sure why this is necessary
Jesse Luehrs [Mon, 18 Jun 2012 20:56:48 +0000]
not sure why this is necessary

2 years agoRemove some 5.002 and 5.003 compatibility code from Class::Struct.
Nicholas Clark [Mon, 18 Jun 2012 15:36:47 +0000]
Remove some 5.002 and 5.003 compatibility code from Class::Struct.

2 years agoAdd tests for all the error paths in Class::Struct.
Nicholas Clark [Mon, 18 Jun 2012 15:13:49 +0000]
Add tests for all the error paths in Class::Struct.

2 years agoAdd tests for Class::Struct constructors called with initialiser lists.
Nicholas Clark [Mon, 18 Jun 2012 14:24:23 +0000]
Add tests for Class::Struct constructors called with initialiser lists.

2 years agouse ppport.h for Storable on Perl 5.8.9
Zefram [Mon, 18 Jun 2012 13:31:24 +0000]
use ppport.h for Storable on Perl 5.8.9

Storable.xs requires a definition of dVAR, which on 5.8.9 is only supplied
by ppport.h.

2 years agoMerge fixes for Porting tests when building with -Dmksymlinks.
Nicholas Clark [Mon, 18 Jun 2012 12:30:52 +0000]
Merge fixes for Porting tests when building with -Dmksymlinks.

2 years agoAvoid tests converting @INC to abs paths where no longer necessary.
Nicholas Clark [Tue, 5 Jun 2012 14:07:40 +0000]
Avoid tests converting @INC to abs paths where no longer necessary.

As find_git_or_skip() no longer changes directory, no need to make paths in
@INC absolute in the various tests that use it.

2 years agoSet GIT_DIR instead of changing directory in find_git_or_skip() in test.pl
Nicholas Clark [Tue, 5 Jun 2012 13:55:22 +0000]
Set GIT_DIR instead of changing directory in find_git_or_skip() in test.pl

Return the directory of the source tree, so that tests can change directory
to it if necessary. Modify t/porting/cmp_version.t to change directory.

This gets t/porting/utils.t passing again under -Dmksymlinks, without breaking
t/porting/cmp_version.t. The former needs to run in the build tree as it
inspects various build products. The latter needs to run in the (real)
checkout tree, else it thinks that every single file has changed (into a
symlink).

2 years agoTeach Porting/cmpVERSION.pl about .pm files extracted from .pm_PL files.
Nicholas Clark [Sun, 3 Jun 2012 14:39:58 +0000]
Teach Porting/cmpVERSION.pl about .pm files extracted from .pm_PL files.

Previously these were overlooked - the generated .pm file corresponding to
an .xs file would be found on disk, but as that file was not in git, the
original $VERSION could not be determined and it would be skipped. Now the
correct master file is checked, and failed if it is not updated.

Without this change, t/porting/cmp_version.t currently fails for a build
using -Dmksymlinks, due to ext/DynaLoader/dl_vms.xs having recent changes.
The test changes directory to the original git checkout, and if that
checkout is clean, there is *no* ext/DynaLoader.pm file there, which meant
that the previous version of pm_file_from_xs() would die because it could
not figure out which Perl file relates to dl_vms.xs

2 years agoUpdate DynaLoader's VERSION after commit 7d08496d81c138d9.
Nicholas Clark [Sun, 3 Jun 2012 14:34:40 +0000]
Update DynaLoader's VERSION after commit 7d08496d81c138d9.

2 years agoIn Porting/cmpVERSION.pl, treat undefined versions more rigorously.
Nicholas Clark [Sun, 3 Jun 2012 14:04:47 +0000]
In Porting/cmpVERSION.pl, treat undefined versions more rigorously.

For any changed module, if the old version is undefined or unparseable, treat
it as a SKIP, not an OK. If the old version *was* parseable, but the current
version is not, treat that as a FAIL - moving from a parseable to an
unparseable version is a regression.

2 years agoIn Porting/cmpVERSION.pl, increment $count in one place, unconditionally.
Nicholas Clark [Sun, 3 Jun 2012 13:57:20 +0000]
In Porting/cmpVERSION.pl, increment $count in one place, unconditionally.

Previously it was only incremented if it was being used (as part of generating
TAP output). However, this was done as ++$count, necessitating using a printf
statement. By moving the increment to one place we can use print instead,
which is simpler, and avoid the risk of forgetting to increment $count if we
add a new block for different test output.

2 years agoSync Maintainers.pl with CPAN for Carp
Chris 'BinGOs' Williams [Mon, 18 Jun 2012 11:44:39 +0000]
Sync Maintainers.pl with CPAN for Carp

2 years agoUpdated podlators to CPAN version 2.4.2
Chris 'BinGOs' Williams [Thu, 7 Jun 2012 18:52:53 +0000]
Updated podlators to CPAN version 2.4.2

  [DELTA]

2012-06-01  Russ Allbery  <rra@stanford.edu>

  * VERSION: podlators 2.4.2 released.

  * t/text-encoding.t: Remove the test of a POD document without an
  encoding.  We previously tested that this interpreted the document
  as ISO 8859-1, but Pod::Simple behavior has changed so that the
  test started failing, plus Pod::Simple now warns about a missing
  =encoding.  (#77553)

2012-05-30  Russ Allbery  <rra@stanford.edu>

  * VERSION: podlators 2.4.1 released.

  * lib/Pod/Man.pm (parse_file): Override the Pod::Simple method to
  set output_fh to STDOUT if it's not already set.  (#77530)
  * lib/Pod/Text.pm (parse_file): Likewise.

2 years agoAdd perldelta entry for commit 4f46e52b00
Steve Hay [Mon, 18 Jun 2012 07:46:16 +0000]
Add perldelta entry for commit 4f46e52b00

Also wrap a long line.

2 years agoperldelta update
Father Chrysostomos [Mon, 18 Jun 2012 01:21:31 +0000]
perldelta update

2 years agobump version in Maintainers.pl to match what is in core
Jesse Luehrs [Mon, 18 Jun 2012 01:59:07 +0000]
bump version in Maintainers.pl to match what is in core

2 years agotypo fix
Jesse Luehrs [Mon, 18 Jun 2012 01:14:59 +0000]
typo fix

2 years agoupdate the core-cpan-diff section a bit
Jesse Luehrs [Mon, 18 Jun 2012 01:11:57 +0000]
update the core-cpan-diff section a bit

2 years agouse 'undef' instead of 'UNKNOWN' for -u
Jesse Luehrs [Mon, 18 Jun 2012 01:04:23 +0000]
use 'undef' instead of 'UNKNOWN' for -u

2 years agocheck upstreams with -x too
Jesse Luehrs [Mon, 18 Jun 2012 00:57:17 +0000]
check upstreams with -x too

2 years agoRevert "bump Pod::Simple to CPAN version 3.22"
Jesse Luehrs [Mon, 18 Jun 2012 00:36:24 +0000]
Revert "bump Pod::Simple to CPAN version 3.22"

This reverts commit 74216f0477933a6ab02c6e6041e0dc98eb109017.

this update breaks podlators and Pod::HTML, so reverting it until i
figure out how to get those updated

2 years agobump Pod::Simple to CPAN version 3.22
Jesse Luehrs [Mon, 18 Jun 2012 00:07:40 +0000]
bump Pod::Simple to CPAN version 3.22

2 years agobump HTTP::Tiny to CPAN version 0.022
Jesse Luehrs [Mon, 18 Jun 2012 00:01:52 +0000]
bump HTTP::Tiny to CPAN version 0.022

2 years agobump Archive::Tar to CPAN version 1.88
Jesse Luehrs [Sun, 17 Jun 2012 23:55:30 +0000]
bump Archive::Tar to CPAN version 1.88

2 years agofix error message
Jesse Luehrs [Sun, 17 Jun 2012 23:53:45 +0000]
fix error message

2 years agoadd use strict to perl -d
Shlomi Fish [Sun, 17 Jun 2012 21:05:28 +0000]
add use strict to perl -d

2 years agoUpdated PerlIO-via-QuotedPrint to CPAN version 0.07
Chris 'BinGOs' Williams [Fri, 8 Jun 2012 12:42:18 +0000]
Updated PerlIO-via-QuotedPrint to CPAN version 0.07

  [DELTA]

0.07  5 April 2012
  Brought up to date with current code esthetics.  Verified it runs on
  5.14.2, threaded and unthreaded.

  28 January 2004
  Made sure the test-suite cleans up on multi-versioned systems.

2 years agoUpdated Memoize to CPAN version 1.03
Chris 'BinGOs' Williams [Fri, 8 Jun 2012 12:39:20 +0000]
Updated Memoize to CPAN version 1.03

  [DELTA]

  1.03  Sun, 22 Apr 2012 17:11:16 -0400
    * Clarified MERGE cache options and fixed bug
    * Documentation fixes

2 years agoUpdated Term-ANSIColor to CPAN version 3.02
Chris 'BinGOs' Williams [Fri, 8 Jun 2012 12:35:48 +0000]
Updated Term-ANSIColor to CPAN version 3.02

  [DELTA]

  2012-03-18  Russ Allbery  <rra@stanford.edu>

  * ANSIColor.pm: Version 3.02 released.

  * ANSIColor.pm (AUTOLOAD): Only return pass-through behavior if
  the function that was called was one of our constants, rather than
  turning every unknown function in the Term::ANSIColor namespace
  into a passthrough join function when colors are disabled.
  * t/basic.t: Test proper error reporting with colors disabled.

  * ANSIColor.pm (AUTOLOAD): Preserve an existing value of $@ when
  generating a constant sub and restore it afterwards.  Diagnose
  errors in creating the constant sub and die instead of ignoring
  them.
  * t/eval.t: New test for $@ preservation.

  * ANSIColor.pm: Add italic and the ITALIC constant.  Document that
  the support for it is rare.
  * t/basic.t: Test italic and ITALIC support.

  * ANSIColor.pm: Add "mistyped" as a stopword, required by the
  latest aspell on Debian.

2 years agoUpdated Digest-MD5 to CPAN version 2.52
Chris 'BinGOs' Williams [Fri, 8 Jun 2012 12:33:46 +0000]
Updated Digest-MD5 to CPAN version 2.52

  [DELTA]

  2012-06-08   Gisle Aas <gisle@ActiveState.com>

   Gisle Aas (3):
      Wrong version number in the changelog
      The t/threads.t was missing from the MANIFEST
      Update expected digests for files

   Andrew Fresh (1):
      Remove double the

   Lyle Hopkins (1):
      Digest::Perl::MD5 OO fallback didn't work [RT#66634]

   Peter J. Acklam (1):
      Fix typos (spelling errors) in cpan/Digest-MD5/*

   Shlomi Fish (1):
      Modernize the code in the POD.

   Zefram (1):
      Makes Digest::MD5 work on Perl 5.6 [RT#75032]

2 years agoUpdated autodie to CPAN version 2.11
Chris 'BinGOs' Williams [Fri, 8 Jun 2012 12:30:42 +0000]
Updated autodie to CPAN version 2.11

  [DELTA]

  2.11
        * DOCS: Explicitly documented that autodie is context
          unaware.  (Thanks to chromatic.)

        * TEST: Multi-arg open tests are skipped on VMS.
          (Thanks to Craig A. Berry.)

        * TEST BUGFIX recv.t shouldn't assume STDIN is a file handle.
          (Thanks to Todd Rinaldo)

        * TEST: Fixed compatibility with Carp 1.25.
          (Thanks to Olivier Mengué.)

        * INTERNAL: Exception classes are loaded more safely.
          (Thanks to Schwern)

2 years agoUpdated Safe to CPAN release 2.33
Chris 'BinGOs' Williams [Fri, 8 Jun 2012 12:20:11 +0000]
Updated Safe to CPAN release 2.33

  [DELTA]

2.33 Tue Apr  3 2012
    - Don't eval code under 'no strict' (Father Chrysostomos)

2.32 Sat Mar 31 2012
    - Make Safe play nice with Devel::Cover

2 years agoUpdated Search-Dict to CPAN release 1.07
Chris 'BinGOs' Williams [Fri, 8 Jun 2012 12:16:58 +0000]
Updated Search-Dict to CPAN release 1.07

  [DELTA]

1.07 2012-04-11

  - install into sitelib for Perl 5.12+
  - use Tie::Handle to get Tie::StdHandle for older Perls
  - avoid using fc() in v5.15.0 - v5.15.7
  - fix tests for older Perls

1.06 2012-03-31

  - suppress stat() warnings on tied filehandles

1.05  2012-03-31

  - no longer requires stat() on filehandle
  - tests use Test::More
  - case folds with fc() on Perl 5.15+

2 years agoRevert "B::Deparse: loopexes have list prec"
Father Chrysostomos [Sun, 17 Jun 2012 20:18:55 +0000]
Revert "B::Deparse: loopexes have list prec"

This reverts commit 6a31dbf44ee919c340a3372c95b28d581979d165.

It turns out to be wrong.  Loopexes do have low precedence, but not
as low as I thought.  Their precedence level is actually their own,
undocumented in perlop:

diff --git a/pod/perlop.pod b/pod/perlop.pod
index 3edeabd..c9a1adf 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -49,6 +49,7 @@ values only, not array values.
     nonassoc   ..  ...
     right      ?:
     right      = += -= *= etc.
+    nonassoc   loop exits (last, next, goto)
     left       , =>
     nonassoc   list operators (rightward)
     right      not

I am reverting this for now, till we decide what it is that
needs fixing.

2 years agoperlop: Fit some verbatim lines into 79 cols
Karl Williamson [Sun, 17 Jun 2012 19:47:20 +0000]
perlop: Fit some verbatim lines into 79 cols

2 years agonumeric.c: Fix typo, clarify comment
Karl Williamson [Sun, 17 Jun 2012 19:46:17 +0000]
numeric.c: Fix typo, clarify comment

2 years agoFixup for bigint docs
Hugo van der Sanden [Sun, 17 Jun 2012 08:32:49 +0000]
Fixup for bigint docs

Some copy/paste and insertion errors in bignum 0.19 left the docs in
a confusing state.

2 years agoensure correctness if sv_2mortal modifies errno
Jesse Luehrs [Sun, 17 Jun 2012 17:24:03 +0000]
ensure correctness if sv_2mortal modifies errno

2 years agorequire should die if a file exists but can't be read.
Brian Fraser [Sat, 2 Jun 2012 17:15:34 +0000]
require should die if a file exists but can't be read.

See [perl #113422]. If a file exists but there's an error opening it,
we throw an exception and disregard the rest of @INC.

2 years agoperldelta: entry for qr/\87/ bug fix
Karl Williamson [Sun, 17 Jun 2012 17:41:49 +0000]
perldelta: entry for qr/\87/ bug fix

2 years agot/re/re_tests: Clarify comment
Karl Williamson [Sun, 17 Jun 2012 17:23:53 +0000]
t/re/re_tests: Clarify comment

2 years agoregcomp.c: Warn and don't emit a NUL for e.g. /\87/
Karl Williamson [Sun, 17 Jun 2012 17:20:39 +0000]
regcomp.c: Warn and don't emit a NUL for e.g. /\87/

/\87/ when there are fewer than 87 capture groups was being read as
/\00087/, with no warning.

2 years agoregcomp.c: Add comments
Karl Williamson [Sun, 17 Jun 2012 17:17:05 +0000]
regcomp.c: Add comments

The main part of this commit summarizes a huge switch statement, that I
never fully understood until I wrote the comment.

2 years agotoke.c: Combine macro calls
Karl Williamson [Sat, 5 May 2012 17:16:50 +0000]
toke.c: Combine macro calls

Replace a combination of macro calls with a single one that means the
 same thing

2 years agopp_hot.c: Combine macro calls
Karl Williamson [Sat, 5 May 2012 14:11:21 +0000]
pp_hot.c: Combine macro calls

Replace a combination of macro calls with a single one that means the
same thing

2 years agowalk.c: Combine macro calls
Karl Williamson [Sat, 5 May 2012 14:09:41 +0000]
walk.c: Combine macro calls

Replace combinations of macro calls with single ones that mean the same
thing.

2 years agoa2py.c: Use isWORDCHAR() instead of individ components
Karl Williamson [Sat, 5 May 2012 14:04:39 +0000]
a2py.c: Use isWORDCHAR() instead of individ components

isWORDCHAR() is a single macro (and array lookup) that is the equivalent
of the OR of the three macros previously used.

2 years agohandy.h: Add comment
Karl Williamson [Sat, 5 May 2012 14:04:15 +0000]
handy.h: Add comment

2 years agoperlipc typo fixes, reported by Linda Walsh (RT#113556)
Jesse Luehrs [Sun, 17 Jun 2012 16:44:29 +0000]
perlipc typo fixes, reported by Linda Walsh (RT#113556)

2 years agotypo fix, reported by Joaquin Ferrero (RT#113616)
Jesse Luehrs [Sun, 17 Jun 2012 16:26:39 +0000]
typo fix, reported by Joaquin Ferrero (RT#113616)

2 years agoadd note about minicpan mirrors and core-cpan-diff
Jesse Luehrs [Sun, 17 Jun 2012 16:22:59 +0000]
add note about minicpan mirrors and core-cpan-diff

2 years agopp_hot.c: Add -Dr messages
Karl Williamson [Sun, 17 Jun 2012 14:28:51 +0000]
pp_hot.c: Add -Dr messages

This announces, when run with the appropriate debug levels, when regex
matching is skipped because we know up-front that it can't possibly
match.

2 years agoPATCH: [perl #113640] Typo in perlop.pod: bignum pragma
Martin Hasch [Sun, 17 Jun 2012 13:42:34 +0000]
PATCH: [perl #113640] Typo in perlop.pod: bignum pragma

There is no 'bitfloat' pragma

2 years agofix paren unwinding with CURLYN, CURLYM
David Mitchell [Sat, 16 Jun 2012 12:56:50 +0000]
fix paren unwinding with CURLYN, CURLYM

Historically, CURLYN and CURLYM didn't restore lastparen ($+) nor
invalidate higher numbered paren slots (reg->offs[n].end = -1)
when backtracking.

Recent commit f6033a9d6c91e0c29d5aa5049361a529b5d7cdc4 fixed the lastparen
issue, but then exposed the offs[n].end issue, which had previously been
masked by the too-high lastparen value causing a previous state (such as a
branch) to conveniently wipe out the offending parens on further
backtracking.

Or to put it another way, each backtracker should be expected to clean up
his own mess, not hope that someone previous to him will do it for him.

Fix this by doing the .end = 1 stuff on CURLYN,M failure as well as
BRANCH/TRIE. For consistency, define a new macro to do it.

2 years agominicpan doesn't set up the by-authors symlink
Jesse Luehrs [Fri, 15 Jun 2012 22:15:19 +0000]
minicpan doesn't set up the by-authors symlink