diff options
author | Peter Martini <PeterCMartini@GMail.com> | 2014-08-21 02:02:48 -0400 |
---|---|---|
committer | Peter Martini <PeterCMartini@GMail.com> | 2014-08-21 07:24:46 -0400 |
commit | 39c4a6cffea9850b73821f0162a8caaafbe90804 (patch) | |
tree | f5caca9593f3aa84dec81dc69add0472c3683a40 | |
parent | 1b66bb7481f41f0a02c43aaf233bbf0d74464732 (diff) | |
download | perl-39c4a6cffea9850b73821f0162a8caaafbe90804.tar.gz |
New perldelta.
-rw-r--r-- | MANIFEST | 1 | ||||
-rwxr-xr-x | Makefile.SH | 8 | ||||
-rw-r--r-- | pod/.gitignore | 2 | ||||
-rw-r--r-- | pod/perl.pod | 1 | ||||
-rw-r--r-- | pod/perl5213delta.pod | 422 | ||||
-rw-r--r-- | pod/perldelta.pod | 374 | ||||
-rw-r--r-- | vms/descrip_mms.template | 2 | ||||
-rw-r--r-- | win32/Makefile | 4 | ||||
-rw-r--r-- | win32/makefile.mk | 4 | ||||
-rw-r--r-- | win32/pod.mak | 4 |
10 files changed, 622 insertions, 200 deletions
@@ -4451,6 +4451,7 @@ pod/perl5200delta.pod Perl changes in version 5.20.0 pod/perl5210delta.pod Perl changes in version 5.21.0 pod/perl5211delta.pod Perl changes in version 5.21.1 pod/perl5212delta.pod Perl changes in version 5.21.2 +pod/perl5213delta.pod Perl changes in version 5.21.3 pod/perl561delta.pod Perl changes in version 5.6.1 pod/perl56delta.pod Perl changes in version 5.6 pod/perl581delta.pod Perl changes in version 5.8.1 diff --git a/Makefile.SH b/Makefile.SH index cbeed004ab..665ff688b3 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -489,7 +489,7 @@ mini_obj = $(minindt_obj) $(MINIDTRACE_O) ndt_obj = $(obj0) $(obj1) $(obj2) $(obj3) $(ARCHOBJS) obj = $(ndt_obj) $(DTRACE_O) -perltoc_pod_prereqs = extra.pods pod/perl5213delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod +perltoc_pod_prereqs = extra.pods pod/perl5214delta.pod pod/perlapi.pod pod/perlintern.pod pod/perlmodlib.pod pod/perluniprops.pod generated_pods = pod/perltoc.pod $(perltoc_pod_prereqs) generated_headers = uudmap.h bitcount.h mg_data.h @@ -999,9 +999,9 @@ pod/perlintern.pod: $(MINIPERL_EXE) autodoc.pl embed.fnc pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST $(MINIPERL) pod/perlmodlib.PL -q -pod/perl5213delta.pod: pod/perldelta.pod - $(RMS) pod/perl5213delta.pod - $(LNS) perldelta.pod pod/perl5213delta.pod +pod/perl5214delta.pod: pod/perldelta.pod + $(RMS) pod/perl5214delta.pod + $(LNS) perldelta.pod pod/perl5214delta.pod extra.pods: $(MINIPERL_EXE) -@test ! -f extra.pods || rm -f `cat extra.pods` diff --git a/pod/.gitignore b/pod/.gitignore index 63b25c41c6..48857fe4af 100644 --- a/pod/.gitignore +++ b/pod/.gitignore @@ -53,7 +53,7 @@ /roffitall # generated -/perl5213delta.pod +/perl5214delta.pod /perlapi.pod /perlintern.pod *.html diff --git a/pod/perl.pod b/pod/perl.pod index 5599bc29d5..44adb8e9a5 100644 --- a/pod/perl.pod +++ b/pod/perl.pod @@ -179,6 +179,7 @@ aux a2p c2ph h2ph h2xs perlbug pl2pm pod2html pod2man s2p splain xsubpp perlhist Perl history records perldelta Perl changes since previous version + perl5213delta Perl changes in version 5.21.3 perl5212delta Perl changes in version 5.21.2 perl5211delta Perl changes in version 5.21.1 perl5210delta Perl changes in version 5.21.0 diff --git a/pod/perl5213delta.pod b/pod/perl5213delta.pod new file mode 100644 index 0000000000..58b86a2a47 --- /dev/null +++ b/pod/perl5213delta.pod @@ -0,0 +1,422 @@ +=encoding utf8 + +=head1 NAME + +perl5213delta - what is new for perl v5.21.3 + +=head1 DESCRIPTION + +This document describes differences between the 5.21.2 release and the 5.21.3 +release. + +If you are upgrading from an earlier release such as 5.21.1, first read +L<perl5212delta>, which describes differences between 5.21.1 and 5.21.2. + +=head1 Core Enhancements + +=head2 C<defined(@array = LIST)> is no longer fatal + +In 5.21.1, C<defined(@array)> was made fatal. This has been relaxed +to not die if the argument is assigning to an array. + +=head2 Floating point parsing has been improved + +Parsing and printing of floating point values has been improved. + +As a completely new feature, hexadecimal floating point literals +(like 0x1.23p-4) are now supported, and they can be output with +C<printf %a>. + +=head1 Security + +=head2 The L<Safe> module could allow outside packages to be replaced + +Critical bugfix: outside packages could be replaced. L<Safe> has +been patched to 2.38 to address this. + +=head1 Incompatible Changes + +=head2 S<C<use UNIVERSAL '...'>> is now a fatal error + +Importing functions from C<UNIVERSAL> has been deprecated since v5.12, and +is now a fatal error. S<C<"use UNIVERSAL">> without any arguments is still +allowed. + +=head1 Modules and Pragmata + +=head2 Updated Modules and Pragmata + +=over 4 + +=item * + +L<B::Debug> has been upgraded from version 1.19 to 1.21. + +=item * + +L<Config::Perl::V> has been upgraded from version 0.20 to 0.22. + +=item * + +L<CPAN::Meta> has been upgraded from version 2.141520 to 2.142060. + +=item * + +L<CPAN::Meta::Requirements> has been upgraded from version 2.125 to 2.126. + +=item * + +L<ExtUtils::CBuilder> was moved from F<dist> to F<cpan>. + +=item * + +L<ExtUtils::CBuilder> has been upgraded from version 0.280216 to 0.280217. + +=item * + +L<ExtUtils::Install> was moved from F<dist> to F<cpan>. + +=item * + +L<ExtUtils::Manifest> has been upgraded from version 1.64 to 1.65. +It was also moved from F<dist> to F<cpan>. + +=item * + +L<HTTP::Tiny> has been upgraded from version 0.043 to 0.047. + +=item * + +L<IPC::Open3> has been upgraded from version 1.17 to 1.18. + +=item * + +L<Module::CoreList> has been upgraded from version 5.021002 to 5.021003. + +=item * + +L<Opcode> has been upgraded from version 1.27 to 1.28. + +=item * + +L<perl5db.pl> has been upgraded from version 1.45 to 1.46. + +=item * + +L<perlfaq> has been upgraded from version 5.0150044 to 5.0150045. + +=item * + +L<POSIX> has been upgraded from version 1.41 to 1.42. + +=item * + +L<Safe> has been upgraded from version 2.37 to 2.38. + +=item * + +L<Socket> has been upgraded from version 2.014 to 2.015. + +=item * + +L<Sys::Hostname> has been upgraded from version 1.18 to 1.19 + +=item * + +L<UNIVERSAL> has been upgraded from version 1.11 to 1.12. + +=back + +=head1 Documentation + +=head2 Changes to Existing Documentation + +=head3 L<perlexperiment> + +=over 4 + +=item * + +Added reference to L<feature>. + +=back + +=head3 L<perlguts> + +=over 4 + +=item * + +Details on C level symbols and libperl.t added. + +=back + +=head3 L<perlhacktips> + +=over 4 + +=item * + +Recommended replacements for tmpfile, atoi, strtol, and strtoul added. + +=back + +=head3 L<perlop> + +=over 4 + +=item * + +ASCII v. EBCDIC clarifications added. + +=back + +=head3 L<perlsec> + +=over 4 + +=item * + +Comments added on algorithmic complexity and tied hashes. + +=back + +=head3 L<perlvms> + +=over 4 + +=item * + +Updated documentation on environment and shell interaction in VMS. + +=back + +=head1 Diagnostics + +The following additions or changes have been made to diagnostic output, +including warnings and fatal error messages. For the complete list of +diagnostic messages, see L<perldiag>. + +=head2 New Diagnostics + +=head3 New Errors + +=over 4 + +=item * + +L<Hexadecimal float: internal error|perldiag/"Hexadecimal float: internal error"> + +(F) Something went horribly bad in hexadecimal float handling. + +=item * + +L<Hexadecimal float: unsupported long double format|perldiag/"Hexadecimal float: unsupported long double format"> + +(F) You have configured Perl to use long doubles but +the internals of the long double format are unknown, +therefore the hexadecimal float output is impossible. + +=back + +=head3 New Warnings + +=over 4 + +=item * + +L<Hexadecimal float: exponent overflow|perldiag/"Hexadecimal float: exponent overflow"> + +(W overflow) The hexadecimal floating point has larger exponent +than the floating point supports. + +=item * + +L<Hexadecimal float: exponent underflow|perldiag/"Hexadecimal float: exponent underflow"> + +(W overflow) The hexadecimal floating point has smaller exponent +than the floating point supports. + +=item * + +L<Hexadecimal float: mantissa overflow|perldiag/"Hexadecimal float: mantissa overflow"> + +(W overflow) The hexadecimal floating point literal had more bits in +the mantissa (the part between the 0x and the exponent, also known as +the fraction or the significand) than the floating point supports. + +=item * + +L<Hexadecimal float: precision loss|perldiag/"Hexadecimal float: precision loss"> + +(W overflow) The hexadecimal floating point had internally more +digits than could be output. This can be caused by unsupported +long double formats, or by 64-bit integers not being available +(needed to retrieve the digits under some configurations). + +=back + +=head2 Changes to Existing Diagnostics + +=over 4 + +=item * + +C<require> with no argument or undef used to warn about a Null filename; now +it dies with C<Missing or undefined argument to require>. + +=back + +=head1 Configuration and Compilation + +=over 4 + +=item * + +MurmurHash64A and MurmurHash64B can now be configured as the internal hash +function. + +=back + +=head1 Platform Support + +=head2 Platform-Specific Notes + +=over 4 + +=item Android + +Build support has been improved for cross-compiling in general and for +Android in particular. + +=item Solaris + +C<c99> options have been cleaned up, hints look for C<solstudio> +as well as C<SUNWspro>, and support for native C<setenv> has been added. + +=item VMS + +C<finite>, C<finitel>, and C<isfinite> detection has been added to +C<configure.com>, environment handling has had some minor changes, and +a fix for legacy feature checking status. + +=item Windows + +C<%I64d> is now being used instead of C<%lld> for MinGW. + +=back + +=head1 Internal Changes + +=over 4 + +=item * + +Added L<perlapi/sync_locale>. +Changing the program's locale should be avoided by XS code. Nevertheless, +certain non-Perl libraries called from XS, such as C<Gtk> do so. When this +happens, Perl needs to be told that the locale has changed. Use this function +to do so, before returning to Perl. + +=item * + +Added L<perlapi/grok_atou> as a safer replacement for atoi and strtol. + +=back + +=head1 Selected Bug Fixes + +=over 4 + +=item * + +Failing to compile C<use Foo> in an eval could leave a spurious +C<BEGIN> subroutine definition, which would produce a "Subroutine +BEGIN redefined" warning on the next use of C<use>, or other C<BEGIN> +block. [perl #122107] + +=item * + +C<method { BLOCK } ARGS> syntax now correctly parses the arguments if they +begin with an opening brace. [perl #46947] + +=item * + +External libraries and Perl may have different ideas of what the locale is. +This is problematic when parsing version strings if the locale's numeric +separator has been changed. Version parsing has been patched to ensure +it handles the locales correctly. [perl #121930] + +=item * + +A bug has been fixed where zero-length assertions and code blocks inside of a +regex could cause C<pos> to see an incorrect value. [perl #122460] + +=back + +=head1 Acknowledgements + +Perl 5.21.3 represents approximately 4 weeks of development since Perl 5.21.2 +and contains approximately 21,000 lines of changes across 250 files from 25 +authors. + +Excluding auto-generated files, documentation and release tools, there were +approximately 18,000 lines of changes to 160 .pm, .t, .c and .h files. + +Perl continues to flourish into its third decade thanks to a vibrant community +of users and developers. The following people are known to have contributed the +improvements that became Perl 5.21.3: + +Aaron Crane, Abigail, Alberto Simões, Andy Dougherty, Brian Fraser, Chad +Granum, Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsåker, +Daniel Dragan, David Mitchell, Father Chrysostomos, H.Merijn Brand, James E +Keenan, Jan Dubois, Jarkko Hietaniemi, Karen Etheridge, Karl Williamson, Lukas +Mai, Peter Martini, Rafael Garcia-Suarez, syber, Tony Cook, Vladimir Marek, +Yves Orton. + +The list above is almost certainly incomplete as it is automatically generated +from version control history. In particular, it does not include the names of +the (very much appreciated) contributors who reported issues to the Perl bug +tracker. + +Many of the changes included in this version originated in the CPAN modules +included in Perl's core. We're grateful to the entire CPAN community for +helping Perl to flourish. + +For a more complete list of all of Perl's historical contributors, please see +the F<AUTHORS> file in the Perl source distribution. + +=head1 Reporting Bugs + +If you find what you think is a bug, you might check the articles recently +posted to the comp.lang.perl.misc newsgroup and the perl bug database at +https://rt.perl.org/ . There may also be information at +http://www.perl.org/ , the Perl Home Page. + +If you believe you have an unreported bug, please run the L<perlbug> program +included with your release. Be sure to trim your bug down to a tiny but +sufficient test case. Your bug report, along with the output of C<perl -V>, +will be sent off to perlbug@perl.org to be analysed by the Perl porting team. + +If the bug you are reporting has security implications, which make it +inappropriate to send to a publicly archived mailing list, then please send it +to perl5-security-report@perl.org. This points to a closed subscription +unarchived mailing list, which includes all the core committers, who will be +able to help assess the impact of issues, figure out a resolution, and help +co-ordinate the release of patches to mitigate or fix the problem across all +platforms on which Perl is supported. Please only use this address for +security issues in the Perl core, not for modules independently distributed on +CPAN. + +=head1 SEE ALSO + +The F<Changes> file for an explanation of how to view exhaustive details on +what changed. + +The F<INSTALL> file for how to build Perl. + +The F<README> file for general stuff. + +The F<Artistic> and F<Copying> files for copyright information. + +=cut diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 8ed52b7438..7af6a923b5 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -2,389 +2,383 @@ =head1 NAME -perldelta - what is new for perl v5.21.3 +[ this is a template for a new perldelta file. Any text flagged as XXX needs +to be processed before release. ] + +perldelta - what is new for perl v5.21.4 =head1 DESCRIPTION -This document describes differences between the 5.21.2 release and the 5.21.3 +This document describes differences between the 5.21.3 release and the 5.21.4 release. -If you are upgrading from an earlier release such as 5.21.1, first read -L<perl5212delta>, which describes differences between 5.21.1 and 5.21.2. - -=head1 Core Enhancements +If you are upgrading from an earlier release such as 5.21.2, first read +L<perl5213delta>, which describes differences between 5.21.2 and 5.21.3. -=head2 C<defined(@array = LIST)> is no longer fatal +=head1 Notice -In 5.21.1, C<defined(@array)> was made fatal. This has been relaxed -to not die if the argument is assigning to an array. +XXX Any important notices here -=head2 Floating point parsing has been improved +=head1 Core Enhancements -Parsing and printing of floating point values has been improved. +XXX New core language features go here. Summarize user-visible core language +enhancements. Particularly prominent performance optimisations could go +here, but most should go in the L</Performance Enhancements> section. -As a completely new feature, hexadecimal floating point literals -(like 0x1.23p-4) are now supported, and they can be output with -C<printf %a>. +[ List each enhancement as a =head2 entry ] =head1 Security -=head2 The L<Safe> module could allow outside packages to be replaced +XXX Any security-related notices go here. In particular, any security +vulnerabilities closed should be noted here rather than in the +L</Selected Bug Fixes> section. -Critical bugfix: outside packages could be replaced. L<Safe> has -been patched to 2.38 to address this. +[ List each security issue as a =head2 entry ] =head1 Incompatible Changes -=head2 S<C<use UNIVERSAL '...'>> is now a fatal error +XXX For a release on a stable branch, this section aspires to be: -Importing functions from C<UNIVERSAL> has been deprecated since v5.12, and -is now a fatal error. S<C<"use UNIVERSAL">> without any arguments is still -allowed. + There are no changes intentionally incompatible with 5.XXX.XXX + If any exist, they are bugs, and we request that you submit a + report. See L</Reporting Bugs> below. -=head1 Modules and Pragmata +[ List each incompatible change as a =head2 entry ] -=head2 Updated Modules and Pragmata +=head1 Deprecations -=over 4 +XXX Any deprecated features, syntax, modules etc. should be listed here. -=item * - -L<B::Debug> has been upgraded from version 1.19 to 1.21. - -=item * +=head2 Module removals -L<Config::Perl::V> has been upgraded from version 0.20 to 0.22. +XXX Remove this section if inapplicable. -=item * +The following modules will be removed from the core distribution in a +future release, and will at that time need to be installed from CPAN. +Distributions on CPAN which require these modules will need to list them as +prerequisites. -L<CPAN::Meta> has been upgraded from version 2.141520 to 2.142060. +The core versions of these modules will now issue C<"deprecated">-category +warnings to alert you to this fact. To silence these deprecation warnings, +install the modules in question from CPAN. -=item * +Note that these are (with rare exceptions) fine modules that you are encouraged +to continue to use. Their disinclusion from core primarily hinges on their +necessity to bootstrapping a fully functional, CPAN-capable Perl installation, +not usually on concerns over their design. -L<CPAN::Meta::Requirements> has been upgraded from version 2.125 to 2.126. +=over -=item * +=item XXX -L<ExtUtils::CBuilder> was moved from F<dist> to F<cpan>. +XXX Note that deprecated modules should be listed here even if they are listed +as an updated module in the L</Modules and Pragmata> section. -=item * +=back -L<ExtUtils::CBuilder> has been upgraded from version 0.280216 to 0.280217. +[ List each other deprecation as a =head2 entry ] -=item * +=head1 Performance Enhancements -L<ExtUtils::Install> was moved from F<dist> to F<cpan>. +XXX Changes which enhance performance without changing behaviour go here. +There may well be none in a stable release. -=item * +[ List each enhancement as a =item entry ] -L<ExtUtils::Manifest> has been upgraded from version 1.64 to 1.65. -It was also moved from F<dist> to F<cpan>. +=over 4 =item * -L<HTTP::Tiny> has been upgraded from version 0.043 to 0.047. +XXX -=item * +=back -L<IPC::Open3> has been upgraded from version 1.17 to 1.18. +=head1 Modules and Pragmata -=item * +XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> +go here. If Module::CoreList is updated, generate an initial draft of the +following sections using F<Porting/corelist-perldelta.pl>. A paragraph summary +for important changes should then be added by hand. In an ideal world, +dual-life modules would have a F<Changes> file that could be cribbed. -L<Module::CoreList> has been upgraded from version 5.021002 to 5.021003. +[ Within each section, list entries as a =item entry ] -=item * +=head2 New Modules and Pragmata -L<Opcode> has been upgraded from version 1.27 to 1.28. +=over 4 =item * -L<perl5db.pl> has been upgraded from version 1.45 to 1.46. - -=item * +XXX -L<perlfaq> has been upgraded from version 5.0150044 to 5.0150045. +=back -=item * +=head2 Updated Modules and Pragmata -L<POSIX> has been upgraded from version 1.41 to 1.42. +=over 4 =item * -L<Safe> has been upgraded from version 2.37 to 2.38. - -=item * +L<XXX> has been upgraded from version A.xx to B.yy. -L<Socket> has been upgraded from version 2.014 to 2.015. +=back -=item * +=head2 Removed Modules and Pragmata -L<Sys::Hostname> has been upgraded from version 1.18 to 1.19 +=over 4 =item * -L<UNIVERSAL> has been upgraded from version 1.11 to 1.12. +XXX =back =head1 Documentation -=head2 Changes to Existing Documentation +XXX Changes to files in F<pod/> go here. Consider grouping entries by +file and be sure to link to the appropriate page, e.g. L<perlfunc>. -=head3 L<perlexperiment> +=head2 New Documentation -=over 4 +XXX Changes which create B<new> files in F<pod/> go here. -=item * +=head3 L<XXX> -Added reference to L<feature>. +XXX Description of the purpose of the new file here -=back +=head2 Changes to Existing Documentation -=head3 L<perlguts> +XXX Changes which significantly change existing files in F<pod/> go here. +However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> +section. + +=head3 L<XXX> =over 4 =item * -Details on C level symbols and libperl.t added. +XXX Description of the change here =back -=head3 L<perlhacktips> +=head1 Diagnostics -=over 4 +The following additions or changes have been made to diagnostic output, +including warnings and fatal error messages. For the complete list of +diagnostic messages, see L<perldiag>. -=item * +XXX New or changed warnings emitted by the core's C<C> code go here. Also +include any changes in L<perldiag> that reconcile it to the C<C> code. -Recommended replacements for tmpfile, atoi, strtol, and strtoul added. +=head2 New Diagnostics -=back +XXX Newly added diagnostic messages go under here, separated into New Errors +and New Warnings -=head3 L<perlop> +=head3 New Errors =over 4 =item * -ASCII v. EBCDIC clarifications added. +XXX L<message|perldiag/"message"> =back -=head3 L<perlsec> +=head3 New Warnings =over 4 =item * -Comments added on algorithmic complexity and tied hashes. +XXX L<message|perldiag/"message"> =back -=head3 L<perlvms> +=head2 Changes to Existing Diagnostics + +XXX Changes (i.e. rewording) of diagnostic messages go here =over 4 =item * -Updated documentation on environment and shell interaction in VMS. +XXX Describe change here =back -=head1 Diagnostics +=head1 Utility Changes -The following additions or changes have been made to diagnostic output, -including warnings and fatal error messages. For the complete list of -diagnostic messages, see L<perldiag>. +XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here. +Most of these are built within the directory F<utils>. -=head2 New Diagnostics +[ List utility changes as a =head2 entry for each utility and =item +entries for each change +Use L<XXX> with program names to get proper documentation linking. ] -=head3 New Errors +=head2 L<XXX> =over 4 =item * -L<Hexadecimal float: internal error|perldiag/"Hexadecimal float: internal error"> - -(F) Something went horribly bad in hexadecimal float handling. - -=item * +XXX -L<Hexadecimal float: unsupported long double format|perldiag/"Hexadecimal float: unsupported long double format"> +=back -(F) You have configured Perl to use long doubles but -the internals of the long double format are unknown, -therefore the hexadecimal float output is impossible. +=head1 Configuration and Compilation -=back +XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools +go here. Any other changes to the Perl build process should be listed here. +However, any platform-specific changes should be listed in the +L</Platform Support> section, instead. -=head3 New Warnings +[ List changes as a =item entry ]. =over 4 =item * -L<Hexadecimal float: exponent overflow|perldiag/"Hexadecimal float: exponent overflow"> +XXX -(W overflow) The hexadecimal floating point has larger exponent -than the floating point supports. - -=item * - -L<Hexadecimal float: exponent underflow|perldiag/"Hexadecimal float: exponent underflow"> +=back -(W overflow) The hexadecimal floating point has smaller exponent -than the floating point supports. +=head1 Testing -=item * +XXX Any significant changes to the testing of a freshly built perl should be +listed here. Changes which create B<new> files in F<t/> go here as do any +large changes to the testing harness (e.g. when parallel testing was added). +Changes to existing files in F<t/> aren't worth summarizing, although the bugs +that they represent may be covered elsewhere. -L<Hexadecimal float: mantissa overflow|perldiag/"Hexadecimal float: mantissa overflow"> +[ List each test improvement as a =item entry ] -(W overflow) The hexadecimal floating point literal had more bits in -the mantissa (the part between the 0x and the exponent, also known as -the fraction or the significand) than the floating point supports. +=over 4 =item * -L<Hexadecimal float: precision loss|perldiag/"Hexadecimal float: precision loss"> - -(W overflow) The hexadecimal floating point had internally more -digits than could be output. This can be caused by unsupported -long double formats, or by 64-bit integers not being available -(needed to retrieve the digits under some configurations). +XXX =back -=head2 Changes to Existing Diagnostics - -=over 4 +=head1 Platform Support -=item * +XXX Any changes to platform support should be listed in the sections below. -C<require> with no argument or undef used to warn about a Null filename; now -it dies with C<Missing or undefined argument to require>. +[ Within the sections, list each platform as a =item entry with specific +changes as paragraphs below it. ] -=back +=head2 New Platforms -=head1 Configuration and Compilation +XXX List any platforms that this version of perl compiles on, that previous +versions did not. These will either be enabled by new files in the F<hints/> +directories, or new subdirectories and F<README> files at the top level of the +source tree. =over 4 -=item * +=item XXX-some-platform -MurmurHash64A and MurmurHash64B can now be configured as the internal hash -function. +XXX =back -=head1 Platform Support +=head2 Discontinued Platforms -=head2 Platform-Specific Notes +XXX List any platforms that this version of perl no longer compiles on. =over 4 -=item Android +=item XXX-some-platform -Build support has been improved for cross-compiling in general and for -Android in particular. +XXX -=item Solaris +=back -C<c99> options have been cleaned up, hints look for C<solstudio> -as well as C<SUNWspro>, and support for native C<setenv> has been added. +=head2 Platform-Specific Notes -=item VMS +XXX List any changes for specific platforms. This could include configuration +and compilation changes or changes in portability/compatibility. However, +changes within modules for platforms should generally be listed in the +L</Modules and Pragmata> section. -C<finite>, C<finitel>, and C<isfinite> detection has been added to -C<configure.com>, environment handling has had some minor changes, and -a fix for legacy feature checking status. +=over 4 -=item Windows +=item XXX-some-platform -C<%I64d> is now being used instead of C<%lld> for MinGW. +XXX =back =head1 Internal Changes -=over 4 +XXX Changes which affect the interface available to C<XS> code go here. Other +significant internal changes for future core maintainers should be noted as +well. -=item * +[ List each change as a =item entry ] -Added L<perlapi/sync_locale>. -Changing the program's locale should be avoided by XS code. Nevertheless, -certain non-Perl libraries called from XS, such as C<Gtk> do so. When this -happens, Perl needs to be told that the locale has changed. Use this function -to do so, before returning to Perl. +=over 4 =item * -Added L<perlapi/grok_atou> as a safer replacement for atoi and strtol. +XXX =back =head1 Selected Bug Fixes +XXX Important bug fixes in the core language are summarized here. Bug fixes in +files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>. + +[ List each fix as a =item entry ] + =over 4 =item * -Failing to compile C<use Foo> in an eval could leave a spurious -C<BEGIN> subroutine definition, which would produce a "Subroutine -BEGIN redefined" warning on the next use of C<use>, or other C<BEGIN> -block. [perl #122107] +XXX -=item * +=back -C<method { BLOCK } ARGS> syntax now correctly parses the arguments if they -begin with an opening brace. [perl #46947] +=head1 Known Problems -=item * +XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any +tests that had to be C<TODO>ed for the release would be noted here. Unfixed +platform specific bugs also go here. -External libraries and Perl may have different ideas of what the locale is. -This is problematic when parsing version strings if the locale's numeric -separator has been changed. Version parsing has been patched to ensure -it handles the locales correctly. [perl #121930] +[ List each fix as a =item entry ] + +=over 4 =item * -A bug has been fixed where zero-length assertions and code blocks inside of a -regex could cause C<pos> to see an incorrect value. [perl #122460] +XXX =back -=head1 Acknowledgements +=head1 Errata From Previous Releases -Perl 5.21.3 represents approximately 4 weeks of development since Perl 5.21.2 -and contains approximately 21,000 lines of changes across 250 files from 25 -authors. +=over 4 + +=item * -Excluding auto-generated files, documentation and release tools, there were -approximately 18,000 lines of changes to 160 .pm, .t, .c and .h files. +XXX Add anything here that we forgot to add, or were mistaken about, in +the perldelta of a previous release. -Perl continues to flourish into its third decade thanks to a vibrant community -of users and developers. The following people are known to have contributed the -improvements that became Perl 5.21.3: +=back + +=head1 Obituary -Aaron Crane, Abigail, Alberto Simões, Andy Dougherty, Brian Fraser, Chad -Granum, Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsåker, -Daniel Dragan, David Mitchell, Father Chrysostomos, H.Merijn Brand, James E -Keenan, Jan Dubois, Jarkko Hietaniemi, Karen Etheridge, Karl Williamson, Lukas -Mai, Peter Martini, Rafael Garcia-Suarez, syber, Tony Cook, Vladimir Marek, -Yves Orton. +XXX If any significant core contributor has died, we've added a short obituary +here. -The list above is almost certainly incomplete as it is automatically generated -from version control history. In particular, it does not include the names of -the (very much appreciated) contributors who reported issues to the Perl bug -tracker. +=head1 Acknowledgements -Many of the changes included in this version originated in the CPAN modules -included in Perl's core. We're grateful to the entire CPAN community for -helping Perl to flourish. +XXX Generate this with: -For a more complete list of all of Perl's historical contributors, please see -the F<AUTHORS> file in the Perl source distribution. + perl Porting/acknowledgements.pl v5.21.3..HEAD =head1 Reporting Bugs diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index 514945866f..b665af8c99 100644 --- a/vms/descrip_mms.template +++ b/vms/descrip_mms.template @@ -307,7 +307,7 @@ utils : $(utils1) $(utils2) $(utils3) $(utils4) $(utils5) extra.pods : miniperl @ @extra_pods.com -PERLDELTA_CURRENT = [.pod]perl5213delta.pod +PERLDELTA_CURRENT = [.pod]perl5214delta.pod $(PERLDELTA_CURRENT) : [.pod]perldelta.pod Copy/NoConfirm/Log $(MMS$SOURCE) $(PERLDELTA_CURRENT) diff --git a/win32/Makefile b/win32/Makefile index 27d0d0514e..85943edd08 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1155,7 +1155,7 @@ utils: $(PERLEXE) ..\utils\Makefile copy ..\README.tw ..\pod\perltw.pod copy ..\README.vos ..\pod\perlvos.pod copy ..\README.win32 ..\pod\perlwin32.pod - copy ..\pod\perldelta.pod ..\pod\perl5213delta.pod + copy ..\pod\perldelta.pod ..\pod\perl5214delta.pod cd ..\win32 $(PERLEXE) $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. @@ -1250,7 +1250,7 @@ distclean: realclean -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS -cd $(PODDIR) && del /f *.html *.bat roffitall \ - perl5213delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl5214delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ perlapi.pod perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \ perldos.pod perlfreebsd.pod perlhaiku.pod perlhpux.pod \ perlhurd.pod perlintern.pod perlirix.pod perljp.pod perlko.pod \ diff --git a/win32/makefile.mk b/win32/makefile.mk index 2f3ad01189..a6734efc48 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -1349,7 +1349,7 @@ utils: $(PERLEXE) ..\utils\Makefile copy ..\README.tw ..\pod\perltw.pod copy ..\README.vos ..\pod\perlvos.pod copy ..\README.win32 ..\pod\perlwin32.pod - copy ..\pod\perldelta.pod ..\pod\perl5213delta.pod + copy ..\pod\perldelta.pod ..\pod\perl5214delta.pod $(PERLEXE) $(PL2BAT) $(UTILS) $(MINIPERL) -I..\lib ..\autodoc.pl .. $(MINIPERL) -I..\lib ..\pod\perlmodlib.PL -q .. @@ -1443,7 +1443,7 @@ distclean: realclean -if exist $(LIBDIR)\Win32API rmdir /s /q $(LIBDIR)\Win32API -if exist $(LIBDIR)\XS rmdir /s /q $(LIBDIR)\XS -cd $(PODDIR) && del /f *.html *.bat roffitall \ - perl5213delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ + perl5214delta.pod perlaix.pod perlamiga.pod perlandroid.pod \ perlapi.pod perlbs2000.pod perlce.pod perlcn.pod perlcygwin.pod \ perldos.pod perlfreebsd.pod perlhaiku.pod perlhpux.pod \ perlhurd.pod perlintern.pod perlirix.pod perljp.pod perlko.pod \ diff --git a/win32/pod.mak b/win32/pod.mak index 810a5f7256..4ed453b0cf 100644 --- a/win32/pod.mak +++ b/win32/pod.mak @@ -40,6 +40,7 @@ POD = perl.pod \ perl5211delta.pod \ perl5212delta.pod \ perl5213delta.pod \ + perl5214delta.pod \ perl561delta.pod \ perl56delta.pod \ perl581delta.pod \ @@ -173,6 +174,7 @@ MAN = perl.man \ perl5211delta.man \ perl5212delta.man \ perl5213delta.man \ + perl5214delta.man \ perl561delta.man \ perl56delta.man \ perl581delta.man \ @@ -306,6 +308,7 @@ HTML = perl.html \ perl5211delta.html \ perl5212delta.html \ perl5213delta.html \ + perl5214delta.html \ perl561delta.html \ perl56delta.html \ perl581delta.html \ @@ -439,6 +442,7 @@ TEX = perl.tex \ perl5211delta.tex \ perl5212delta.tex \ perl5213delta.tex \ + perl5214delta.tex \ perl561delta.tex \ perl56delta.tex \ perl581delta.tex \ |