Front page | perl.perl5.porters |
Postings from February 2011
[PATCH/RFC] pod/perldelta.pod: WIP perldelta from v5.13.9..356123f144
Thread Next
From:
Ævar Arnfjörð Bjarmason
Date:
February 14, 2011 14:38
Subject:
[PATCH/RFC] pod/perldelta.pod: WIP perldelta from v5.13.9..356123f144
Message ID:
1297723108-29580-1-git-send-email-avar@cpan.org
Update the perldelta for commits that I went through with
git-deltatool from v5.13.9..356123f144 aside from these commits which
I'm still not sure about:
$ perl Porting/git-deltatool --mode summary --type blocking
Scanning for blocking commits since v5.13.9...
692dce0 Fix symbol table associations in VMS::DCLsym
fac4827 exporting a static function doesnt work
2f65c56 regexec.c: Handle sharp s in middle of backref
6e326e8 regcomp.c: Handle more cases of tricky fold chars
b1e3e56 regexec.c: Give context for ANYOFV call
4e8910e regexec.c: Give context for ANYOFV call
a5d74e1 regcomp.c: Remove special handling for U+00DF
8e3094e regcomp.c: tell regexec more about multi-char folds
d18bf9d regcomp.c: Synthetic start class should include ord >255 folds
43322ea regcomp.c: Be more precise about ANYOF matching flag
4c9daa0 regcomp.c: Put two static functions in embed.fnc
17a3df4 Fix up \cX for 5.14
0cd14f2 Minor bugfixes to Socket::getaddrinfo
d1de25c Add supplied tests from perl #83194.
c95ca9b fix a s/non-utf8/is-utf8/ bit of nastiness
33fb6f3 Make Perl_sv_utf8_upgrade* respect nomg
4b8811a pp_subtr: preserve UTF8 flag in rare cases
ff6e92e pp_subst: exit as soon as !match
6012dc8 allow wrap-around of PL_cop_seqmax
d1bfb64 many string evals cause eventual scope issues
b9d2ea5 Two Safefree() changes to make -DPERL_POISON builds work again.
a12c501 In IPC::Open3's fd.t, correct the code added in 1f563db471aa8a00.
ad01be2 Rearrange global.sym according to 'make regen'
67bd0bf Two more swash inversion list exports necessary for build on Win32.
db2e1fb [perl #83406] Library compatibility and API documentation (v1.991).
9c9388a export the functions required by re
88c8c96 l1_char_class_tab.h: Remove multi-char fold targets
33d9abf code points above 0x7fff_ffff problematic
1bd9dc9 Add PL_foldable - a list of chars that participate in folds
d764b54 Add initial inversion list object
2f833f5 regcomp.c: Generate different property for /i matching
6c29054 bmodpow() fails when GMP library is used.
There's also things that should probably not be here, specifically the
documentation section which I did earlien in the process and was
probably way too inclusive.
Additionally I've skipped every patch by Father Chrysostomos due to
this note in private E-Mail:
I plan to write perldelta entries for everything I committed that
is worthy of note. I do not think I’ll have time to do the
rest. I’m just letting you know, so our work does not overlap.
Some of these entries also need better POD-ification.
---
pod/perldelta.pod | 219 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 219 insertions(+), 0 deletions(-)
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 2a9bff9..8c57c38 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -86,6 +86,32 @@ C</i> must change to read the new boolean parameter passed it which is
non-zero if case-insensitive matching is in effect; 0 if not. See
L<perluniprops/User-Defined Character Properties>.
+=head2 _swash_inversion_hash is no longer exported as part of the API
+
+This function shouldn't be called from XS code. (4c2e113)
+
+=head2 [perl #82996] Use the user's from address as return-path in perlbug
+
+Many systems thesedays don't have a valid internet domain name and
+perlbug@perl.org does not accept email with a return-path that does not
+resolve. Therefore pass the user's address to sendmail so it's less
+likely to get stuck in a mail queue somewhere. (019cfd2)
+
+=head2 regex: \p{} in pattern implies Unicode semantics
+
+Now, a Unicode property match specified in the pattern will indicate
+that the pattern is meant for matching according to Unicode rules
+(e40e74f)
+
+=head2 add GvCV_set() and GvGP_set() macros and change GvGP()
+
+This allows a future commit to eliminate some backref magic between GV
+and CVs, which will require complete control over assignment to the
+gp_cv slot.
+
+If you've been using GvGP() in lvalue context this change will break
+your code, you should use GvGP_set() instead. (c43ae56)
+
=head1 Deprecations
XXX Any deprecated features, syntax, modules etc. should be listed here.
@@ -194,6 +220,10 @@ module to the XS version.`
=item *
+C<CPAN> has been upgraded from version1.94_63 to 1.94_64.
+
+=item *
+
XXX
=back
@@ -246,6 +276,66 @@ The perlrepository document has been renamed to L<perlgit>. This new document
is just a how-to on using git with the Perl source code. Any other content
that used to be in perlrepository has been moved to perlhack.
+=item *
+
+perldoc improvements for map (f947627)
+
+=item *
+
+Add info to L<perlhist> for 5.12.{2,3} (ee37b3b)
+
+=item *
+
+The NAME section in L<Carp> is now valid, and will show up correctly on search.cpan.org
+and other POD renderers. (aaca3d9)
+
+=item *
+
+[RT #76604] Fix regex examples in L<perlretut> and L<perlrequick> (c2ac899)
+
+=item *
+
+[perl #82730] Fix filename reference to perldelta_template. (236a53f)
+
+=item *
+
+[perl #82722] Give more filenames and urls LE<lt>E<gt> (f391b66)
+
+=item *
+
+[perl #82718] Improve English and add some LE<lt>E<gt> around http links (2179af5)
+
+=item *
+
+[perl #82712] Pod link fixes to use correct markup. (e843f77)
+
+=item *
+
+[perl #82710] Fix incorrect pod link markup. (1b2010d)
+
+=item *
+
+[perl #82708] Fix unescaped chars in LE<lt>E<gt>. (a0bbd6f)
+
+=item *
+
+[perl #82706] Tidy up README.win32 pod. (42d76a8)
+
+Surround http:// links with LE<lt>E<gt> and tidying up lists slightly.
+
+=item *
+
+[perl #82704] Change bare link in pod to LE<gt>...E<lt> (21b40ab)
+
+=item *
+
+[perl #82702] Fix commit message internal link. (3f76dde)
+
+=item *
+
+RT #75870 update description about tied hash in scalar context in
+L<perldata> (6e4c470)
+
=back
=head1 Diagnostics
@@ -272,6 +362,11 @@ XXX Newly added diagnostic messages go here
Use of an unescaped "{" immediately following a C<\b> or C<\B> is now
deprecated so as to reserve its use for Perl itself in a future release.
+=item regcomp: Add warning if \p is used under locale. (fb2e24c)
+
+\p implies Unicode matching rules, which are likely going to be
+different than the locale's.
+
=back
@@ -283,6 +378,20 @@ XXX Changes (i.e. rewording) of diagnostic messages go here
=item *
+The warning message about regex unrecognized escapes passed through is
+changed to include any literal '{' following the 2-char escape. e.g.,
+"\q{" will include the { in the message as part of the escape
+(216bfc0).
+
+=item * C<binmode $fh, ':scalar'> no longer warns (8250589)
+
+Perl will now no longer produce this warning:
+
+ $ perl -we 'open my $f, ">", \my $x; binmode $f, "scalar"'
+ Use of uninitialized value in binmode at -e line 1.
+
+=item *
+
XXX
=back
@@ -337,6 +446,37 @@ that they represent may be covered elsewhere.
=item *
+[perl #83018] commit 95ea86d5 also fixes sprintf("%.2f") (8bdb331)
+
+Add a test for more sprintf cases that 95ea86d5 fixed.
+
+=item * Tests for RT #3516
+
+Add tests for C<\G> in a C<m//g> as suggested in RT #76706 by George
+Greer. (99ca48e)
+
+=item * make reg_eval_scope.t TODOs consistently fail (daaf7ac)
+
+Some of the TODO tests in reg_eval_scope.t spuriously passed under
+non-threaded builds. Make the tests harder so they always fail.
+
+Since one of the key bugs in (?{..}) is the trashing of the parent pad,
+add some extra lexical vars to the parent scope and check they're still
+there at the end.
+
+=item *
+
+Exchange dist/Env/t/{array,env}.t, which were transposed by b695f709e8a342e3 (2a2d6a0)
+
+=item *
+
+Stop EU::CBuilder's tests from failing in parallel (cbf59d5)
+
+It used to use the same paths for temporary files in all tests. This
+blew up randomly when the tests were run in parallel.
+
+=item *
+
XXX
=back
@@ -395,6 +535,26 @@ F<t/porting/buildtoc.t> test to run successfully.
=back
+=item MirBSD
+
+=over 4
+
+=item *
+
+[perl #82988] Skip hanging taint.t test on MirBSD 10 (1fb83d0)
+
+Skip a hanging test under MirBSD that was already being skipped under
+OpenBSD.
+
+=item *
+
+Previously if you build perl with a shared libperl.so on MirBSD (the
+default config), it will work up to the installation; however, once
+installed, it will be unable to find libperl. Treat rpath handling
+like in the other BSD dialects.
+
+=back
+
=back
=head1 Internal Changes
@@ -409,6 +569,38 @@ be noted as well.
=item *
+L<Carp> is now strict and warnings safe. (01ca8b6)
+
+=item * Fix harmless invalid read in Perl_re_compile() (f6d9469)
+
+[perl #2460] described a case where electric fence reported an invalid
+read. This could be reproduced under valgrind with blead and -e'/x/',
+but only on a non-debugging build.
+
+This was because it was checking for certain pairs of nodes (e.g. BOL + END)
+and wasn't allowing for EXACT nodes, which have the string at the next
+node position when using a naive NEXTOPER(first). In the non-debugging
+build, the nodes aren't initialised to zero, and a 1-char EXACT node isn't
+long enough to spill into the type field of the "next node".
+
+Fix this by only using NEXTOPER(first) when we know the first node is
+kosher.
+
+=item * Break out the generated function Perl_keywords() into F<keywords.c>, a new file. (26ea9e1)
+
+As it and Perl_yylex() both need FEATURE_IS_ENABLED, feature_is_enabled() is
+no longer static, and the two macro definitions move from toke.c to perl.h
+
+Previously, one had to cut and paste the output of perl_keywords.pl into the
+middle of toke.c, and it was not clear that it was generated code.
+
+=item *
+
+A lot of tests have been ported from Test to Test::More, e.g. in
+3842ad6.
+
+=item *
+
XXX
=back
@@ -428,6 +620,33 @@ L</Modules and Pragmata>.
A Unicode C<\p{}> property match in a regular rexpression pattern will
now force Unicode rules for the rest of the regular expression
+=item *
+
+[perl #38456] binmode FH, ":crlf" only modifies top crlf layer (7826b36)
+
+When pushed on top of the stack, crlf will no longer enable crlf layers
+lower in the stack. This will prevent unexpected results.
+
+=item *
+
+Fix 'raw' layer for RT #80764 (ecfd064)
+
+Made a ':raw' open do what it advertises to do (first open the file,
+then binmode it), instead of leaving off the top layer.
+
+=item *
+
+Use PerlIOBase_open for pop, utf8 and bytes layers (c0888ac)
+
+Three of Perl's builtin PerlIO layers (C<:pop>, C<:utf8> and
+C<:bytes>) didn't allow stacking when opening a file. For example
+this:
+
+ open FH, '>:pop:perlio', 'some.file' or die $!;
+
+Would throw an error: "Invalid argument". This has been fixed in this
+release.
+
=back
=head1 Known Problems
--
1.7.2.3
Thread Next
-
[PATCH/RFC] pod/perldelta.pod: WIP perldelta from v5.13.9..356123f144
by Ævar Arnfjörð Bjarmason