Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d4756df0a5b50be2739c8d596375f2b6ed1c6d93
      
https://github.com/Perl/perl5/commit/d4756df0a5b50be2739c8d596375f2b6ed1c6d93
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/Dumper.pm
    M dist/Data-Dumper/Dumper.xs
    M dist/Data-Dumper/t/dumper.t

  Log Message:
  -----------
  Data::Dumper was erroneously stringifying qr'$foo' as qr/$foo/

qr// vs qr'' only affects whether variable interpolation happens in the
parser. The compiled regex doesn't record which quote style it used. It
turns out that $ always interpolates, unless it is at the end of the string
or followed by ) or |. Otherwise, except in qr'', dollar-anything will
interpolate that punctuation or regular variable. (Possibly violating
strict)

Meaning that if we see an unescaped $ that isn't at the end of the string,
isn't followed by ) and isn't followed by |, then either the regular
expression was written as qr'', *or* there was variable interpolation
where the interpolated value was that literal dollar sign.

We can exploit variable interpolation to generate a regex in qr// form
equivalent to one written without interpolation in qr'' form, which is
very useful as the XS code needs to use \x{} style escapes for non-ASCII
literals in the regex. This approach suggested by Eirik Berg Hanssen.

Bug reported as CPAN #84569


  Commit: 1a1f45bffad42a256f189b88b8d792dc2c2f7925
      
https://github.com/Perl/perl5/commit/1a1f45bffad42a256f189b88b8d792dc2c2f7925
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/Changes
    M dist/Data-Dumper/Dumper.pm

  Log Message:
  -----------
  Bump Data::Dumper's $VERSION and update Changes, for a dev release.


  Commit: 481038139af48e43684b8b3a31c605175c0f78c3
      
https://github.com/Perl/perl5/commit/481038139af48e43684b8b3a31c605175c0f78c3
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/Dumper.xs

  Log Message:
  -----------
  In Data_Dumper_Dumpxs, rename name to name_sv.


  Commit: b188a4d779908b10bb17b176e027059d72643dd6
      
https://github.com/Perl/perl5/commit/b188a4d779908b10bb17b176e027059d72643dd6
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/Dumper.xs
    M dist/Data-Dumper/t/dumper.t

  Log Message:
  -----------
  Refactor the variable name code in Dumpxs to avoid repeated SvPV* calls.

This fixes a really subtle bug whereby Dumpxs would not recognise variable
names if they were generated by references with string overloading, NVs,
and potentially other strange things. Seems that no-one has ever hit this.

Also eliminate the need for a large temporary scratch buffer by using
sv_setpvf().


  Commit: f29156f5bc3d7cbcc790b9a96cb5726162b75a87
      
https://github.com/Perl/perl5/commit/f29156f5bc3d7cbcc790b9a96cb5726162b75a87
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/t/dumper.t

  Log Message:
  -----------
  Change dumper.t to done_testing() from plan() and an explicit test count.

As our minimum perl version is now 5.8.1, that comes with a Test::More that
is new enough to support done_testing(). This avoids frustrations with
cherry-picks between branches ignoring the hunk that updates the test count,
because both "sides" made the same textual change, and hence getting it
"wrong" (make test fails) because both sides meant "+6", not "this new count".

Also fix up some whitespace, and remove a long obsolete XXXif.
(Added by c4cce84862ab583d, but the corresponding close was already removed
by commit 531383e69c1fff07)


  Commit: a504145e7719f51eb6f788abbd275e42bb17b1ed
      
https://github.com/Perl/perl5/commit/a504145e7719f51eb6f788abbd275e42bb17b1ed
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/Changes
    M dist/Data-Dumper/Dumper.pm

  Log Message:
  -----------
  Bump Data::Dumper's $VERSION and update Changes, for a dev release.


  Commit: 5fcc236ead47ad81b99953b9e2f990c1a82c4496
      
https://github.com/Perl/perl5/commit/5fcc236ead47ad81b99953b9e2f990c1a82c4496
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/Changes

  Log Message:
  -----------
  Fix version numbers and attribution in the Data::Dumper changes file.

Neil Bowers spotted that the entries for the two recent development releases
were wrong (my copy paste error).

A couple of previous changes were attributed to me by mistake, because I had
updated the changes file - now fixed. Add attributions for several earlier
changes, based on blead's git history.


  Commit: 712b667820f97ab41da6f621f1bff8b790e158f5
      
https://github.com/Perl/perl5/commit/712b667820f97ab41da6f621f1bff8b790e158f5
  Author: Nicholas Clark <n...@ccl4.org>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M dist/Data-Dumper/Changes
    M dist/Data-Dumper/Dumper.pm

  Log Message:
  -----------
  Data::Dumper 2.183 was released on 2021-07-05.


Compare: https://github.com/Perl/perl5/compare/ee5117509fdb...712b667820f9

Reply via email to