From: Jesse Vincent Date: Sun, 14 Mar 2010 17:51:55 +0000 (+0000) Subject: Further updates to perldelta: X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a56dbb5edccbd6ffb02df1df65f174e7d74fdf37;p=p5sagit%2Fp5-mst-13.2.git Further updates to perldelta: rewrapping and module list updates --- diff --git a/Porting/corelist-perldelta.pl b/Porting/corelist-perldelta.pl index c0aae08..7e96309 100755 --- a/Porting/corelist-perldelta.pl +++ b/Porting/corelist-perldelta.pl @@ -57,13 +57,15 @@ my @versions = sort keys %$corelist; my ($old, $new) = @ARGV; $old ||= $versions[-2]; $new ||= $versions[-1]; - +warn $old; +warn $new; $deprecated = $Module::CoreList::deprecated{$new}; my (@new,@deprecated,@removed,@pragmas,@modules); # %Modules defines what is currently in core for my $k ( keys %Modules ) { + warn "Considering $k"; next unless exists $corelist->{$new}{$k}; my $old_ver = $corelist->{$old}{$k}; my $new_ver = $corelist->{$new}{$k}; diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod index 4e2cd15..fb1ebea 100644 --- a/pod/perl5120delta.pod +++ b/pod/perl5120delta.pod @@ -675,42 +675,48 @@ exception cases. =back -Otherwise, this change should be transparent for the non-affected languages. +Otherwise, this change should be transparent for the non-affected +languages. C<\p{...}> matches using the Canonical_Combining_Class property were -completely broken in previous releases of Perl. They should now work correctly. - -Before Perl 5.12, the Unicode C property and a -Perl extension had the same name, which led to neither matching all the -correct values (with more than 100 mistakes in one, and several thousand -in the other). The Perl extension has now been renamed to be -C (short: C). It has the same -meaning as was previously intended, namely the union of all the -non-canonical Decomposition types, with Unicode C being just one of -those. +completely broken in previous releases of Perl. They should now work +correctly. + +Before Perl 5.12, the Unicode C property +and a Perl extension had the same name, which led to neither matching +all the correct values (with more than 100 mistakes in one, and several +thousand in the other). The Perl extension has now been renamed to be +C (short: C). It has the +same meaning as was previously intended, namely the union of all the +non-canonical Decomposition types, with Unicode C being just +one of those. C<\p{Decomposition_Type=Canonical}> now includes the Hangul syllables. -C<\p{Uppercase}> and C<\p{Lowercase}> now work as the Unicode standard says they should. -This means they each match a few more characters than they used to. +C<\p{Uppercase}> and C<\p{Lowercase}> now work as the Unicode standard +says they should. This means they each match a few more characters than +they used to. -C<\p{Cntrl}> now matches the same characters as C<\p{Control}>. This means it -no longer will match Private Use (gc=co), Surrogates (gc=cs), nor Format -(gc=cf) code points. The Format code points represent the biggest -possible problem. All but 36 of them are either officially deprecated -or strongly discouraged from being used. Of those 36, likely the most -widely used are the soft hyphen (U+00AD), and BOM, ZWSP, ZWNJ, WJ, and -similar characters, plus bidirectional controls. +C<\p{Cntrl}> now matches the same characters as C<\p{Control}>. This +means it no longer will match Private Use (gc=co), Surrogates (gc=cs), +nor Format (gc=cf) code points. The Format code points represent the +biggest possible problem. All but 36 of them are either officially +deprecated or strongly discouraged from being used. Of those 36, likely +the most widely used are the soft hyphen (U+00AD), and BOM, ZWSP, ZWNJ, +WJ, and similar characters, plus bidirectional controls. -C<\p{Alpha}> now matches the same characters as C<\p{Alphabetic}>. Before 5.12, Perl's definition -definition included a number of things that aren't really alpha (all -marks) while omitting many that were. The -definitions of C<\p{Alnum}> and C<\p{Word}> depend on Alpha's definition and have changed accordingly. +C<\p{Alpha}> now matches the same characters as C<\p{Alphabetic}>. Before +5.12, Perl's definition definition included a number of things that aren't +really alpha (all marks) while omitting many that were. The definitions +of C<\p{Alnum}> and C<\p{Word}> depend on Alpha's definition and have +changed accordingly. -C<\p{Word}> no longer incorrectly matches non-word characters such as fractions. +C<\p{Word}> no longer incorrectly matches non-word characters such +as fractions. -C<\p{Print}> no longer matches the line control characters: Tab, LF, CR, -FF, VT, and NEL. This brings it in line with standards and the documentation. +C<\p{Print}> no longer matches the line control characters: Tab, LF, +CR, FF, VT, and NEL. This brings it in line with standards and the +documentation. C<\p{XDigit}> now matches the same characters as C<\p{Hex_Digit}>. This means that in addition to the characters it currently matches, @@ -727,15 +733,16 @@ I Unicode version 5.0. The C<\p{Age=5.0}> only matches code points added in I version 5.0. A number of properties now have the correct values for unassigned -code points. The affected properties are -Bidi_Class, East_Asian_Width, Joining_Type, Decomposition_Type, -Hangul_Syllable_Type, Numeric_Type, and Line_Break. +code points. The affected properties are Bidi_Class, East_Asian_Width, +Joining_Type, Decomposition_Type, Hangul_Syllable_Type, Numeric_Type, +and Line_Break. The Default_Ignorable_Code_Point, ID_Continue, and ID_Start properties are now up to date with current Unicode definitions. -Earlier versions of Perl erroneously exposed certain properties that are supposed to be Unicode internal-only. -Use of these in regular expressions will now generate, if enabled, a deprecation warning message. +Earlier versions of Perl erroneously exposed certain properties that +are supposed to be Unicode internal-only. Use of these in regular +expressions will now generate, if enabled, a deprecation warning message. The properties are: Other_Alphabetic, Other_Default_Ignorable_Code_Point, Other_Grapheme_Extend, Other_ID_Continue, Other_ID_Start, Other_Lowercase, Other_Math, and Other_Uppercase. @@ -747,60 +754,101 @@ are turned off by default. These include all the Unihan properties deprecated or Unicode internal-only property that Perl has never exposed. The generated files in the C directory are now more -clearly marked as being stable, directly usable by applications. -New hash entries in them give the format of the normal entries, -which allows for easier machine parsing. Perl can generate files -in this directory for any property, though most are suppressed. -You can find instructions for changing which are written in L. +clearly marked as being stable, directly usable by applications. New hash +entries in them give the format of the normal entries, which allows for +easier machine parsing. Perl can generate files in this directory for +any property, though most are suppressed. You can find instructions +for changing which are written in L. =head1 Modules and Pragmata -=head2 Notable new Modules and Pragmata +=head2 New Modules and Pragmata =over 4 -=item * +=item C C is a new lexically-scoped alternative for the C module. The bundled version is 2.06_01. Note that in this release, using a string eval when C is in effect can cause the autodie behaviour to leak into the surrounding scope. See L for more details. -=item * +Version 2.06_01 has been added to the Perl core. -C +=item C -=item * +Version 2.024 has been added to the Perl core. + +=item C C allows you to lexically disable or enable overloading for some or all operations. (Yuval Kogman) -=item * +Version 0.001 has been added to the Perl core. + +=item C C establishes an ISA relationship with base classes at compile time. It provides the key feature of C without further unwanted behaviors. -=item * +Version 0.223 has been added to the Perl core. + +=item C -C +Version 1.40 has been added to the Perl core. + +=item C + +Version 1.03 has been added to the Perl core. + +=item C + +Version 2.4 has been added to the Perl core. + +=item C + +Version 0.003 has been added to the Perl core. =back -=head2 Notable changes to Modules and Pragmata +=head2 Updated Pragmata =over 4 -=item * +=item C + +Upgraded from version 2.13 to 2.15. + +=item C + +Upgraded from version 0.22 to 0.23. + +=item C C now contains the Unicode F database file. This has the effect of adding some extra C<\N> character names that formerly wouldn't have been recognised; for example, C<"\N{LATIN CAPITAL LETTER GHA}">. -=item * +Upgraded from version 1.06 to 1.07. + +=item C + +Upgraded from version 1.13 to 1.20. + +=item C + +C now supports %.0f formatting internally. + +C no longer suppresses C warnings. [perl #71204] + +Upgraded from version 1.17 to 1.19. + +=item C In C, the meaning of the C<:5.10> and C<:5.10.X> feature bundles has changed slightly. The last component, if any (i.e. C) is simply ignored. @@ -818,54 +866,485 @@ This pragma turns on Unicode semantics for the case-changing operations internal UTF-8 flag set, but that contain single-byte characters between 128 and 255. -=item * +Upgraded from version 1.11 to 1.15. + +=item C + +C now includes the C method to allow subclasses of +C to pick where in %^H to store their stash. + +Upgraded from version 0.02 to 0.03. + +=item C + +Upgraded from version 0.5565 to 0.62. + +=item C C is now implemented as an XS extension. The documented interface has not changed. Code relying on the implementation detail that some C methods happened to be available at all times gets to "keep both pieces". -=item * +Upgraded from version 1.00 to 1.02. -C now supports %.0f formatting internally. - -=item * +=item C C now allow overloading of 'qr'. -=item * +Upgraded from version 1.06 to 1.10. -C no longer suppresses C warnings. [perl #71204] +=item C -C now includes the C method to allow subclasses of -C to pick where in %^H to store their stash. +Upgraded from version 1.67 to 1.75. -=item * +=item C + +Upgraded from version 1.14 to 1.32. + +=item C C now has support for L as described earlier in this document and in its own documentation. -=item * +Upgraded from version 0.74 to 0.82. + +=item C + +C has a new C function. It also +includes a new C warning category. See also L for this change. -C has a new C function. It also includes a new C warning category. See also L for this change. +Upgraded from version 1.06 to 1.09. =back +=head2 Updated Modules + +=over 4 + +=item C + +Upgraded from version 0.24 to 0.38. + +=item C + +Upgraded from version 1.38 to 1.54. + +=item C + +Upgraded from version 0.79 to 0.87. + +=item C + +Upgraded from version 5.63 to 5.70. + +=item C + +Upgraded from version 0.74 to 0.78. + +=item C + +Upgraded from version 1.05 to 1.12. + +=item C + +Upgraded from version 0.83 to 0.94. + +=item C + +Upgraded from version 1.09 to 1.11_01. + +=item C + +Upgraded from version 3.29 to 3.48. + +=item C + +Upgraded from version 0.33 to 0.36. + +NOTE: C is deprecated and may be removed from a future version of Perl. + +=item C + +Upgraded from version 2.008 to 2.024. + +=item C + +Upgraded from version 1.9205 to 1.94_56. + +=item C + +Upgraded from version 0.84 to 0.90. + +=item C + +Upgraded from version 0.06_02 to 0.46. + +=item C + +Upgraded from version 2.121_14 to 2.125. + +=item C + +Upgraded from version 1.816_1 to 1.820. + +=item C + +Upgraded from version 3.13 to 3.19. + +=item C + +Upgraded from version 1.15 to 1.16. + +=item C + +Upgraded from version 2.36_01 to 2.39. + +=item C + +Upgraded from version 5.45 to 5.47. + +=item C + +Upgraded from version 2.23 to 2.39. + +=item C + +Upgraded from version 5.62 to 5.64_01. + +=item C + +Upgraded from version 0.21 to 0.27. + +=item C + +Upgraded from version 1.13 to 1.16. + +=item C + +Upgraded from version 0.2 to 0.22. + +=item C + +Upgraded from version 1.44 to 1.55. + +=item C + +Upgraded from version 6.42 to 6.56. + +=item C + +Upgraded from version 1.51_01 to 1.57. + +=item C + +Upgraded from version 2.18_02 to 2.21. + +=item C + +Upgraded from version 0.14 to 0.24. + +=item C + +Upgraded from version 2.04 to 2.08_01. + +=item C + +Upgraded from version 0.18 to 0.22. + +=item C + +Upgraded from version 0.82 to 0.84. + +=item C + +Upgraded from version 1.07 to 1.08. + +=item C + +Upgraded from version 2.37 to 2.38. + +=item C + +Upgraded from version 1.23_01 to 1.25_02. + +=item C + +Upgraded from version 1.07 to 1.10. + +=item C + +Upgraded from version 0.40_1 to 0.54. + +=item C + +Upgraded from version 1.05 to 2.01. + +=item C + +Upgraded from version 1.12 to 1.14. + +=item C + +Upgraded from version 0.18 to 0.21. + +=item C + +Upgraded from version 0.01 to 0.02. + +=item C + +Upgraded from version 0.04 to 0.06. + +=item C + +Upgraded from version 1.88 to 1.89_01. + +=item C + +Upgraded from version 0.16 to 0.19. + +=item C + +Upgraded from version 0.21 to 0.24. + +=item C + +Upgraded from version 1.37 to 1.56. + +=item C + +Upgraded from version 1.01_02 to 1.01_03. + +=item C + +Upgraded from version 3.07_01 to 3.08. + +=item C + +Upgraded from version 0.2808_01 to 0.3603. + +=item C + +Upgraded from version 2.12 to 2.26. + +=item C + +Upgraded from version 0.12 to 0.16. + +=item C + +Upgraded from version 0.22 to 0.34. + +=item C + +Upgraded from version 0.01 to 0.06. + +=item C + +Upgraded from version 3.6 to 3.9. + +=item C + +Upgraded from version 2.33 to 2.36. + +=item C + +Upgraded from version 0.60_01 to 0.64. + +=item C + +Upgraded from version 0.32 to 0.36. + +=item C + +Upgraded from version 0.01 to 0.02. + +=item C + +Upgraded from version 1.04 to 1.06. + +=item C + +Upgraded from version 1.35 to 1.37. + +=item C + +Upgraded from version 3.14_02 to 3.15_02. + +=item C + +Upgraded from version 0.01 to 1.02. + +NOTE: C is deprecated and may be removed from a future version of Perl. + +=item C + +Upgraded from version 3.05 to 3.13. + +=item C + +Upgraded from version 2.12 to 2.22. + +=item C + +Upgraded from version 1.11 to 1.17. + +=item C + +Upgraded from version 2.18 to 2.22. + +=item C + +Upgraded from version 2.13 to 2.16. + +NOTE: C is deprecated and may be removed from a future version of Perl. + +=item C + +Upgraded from version 0.22 to 0.27. + +=item C + +Upgraded from version 1.12 to 2.02. + +=item C + +Upgraded from version 0.18 to 0.20. + +=item C + +Upgraded from version 1.25 to 1.25_02. + +=item C + +Upgraded from version 2.64 to 3.17. + +=item C + +Upgraded from version 0.72 to 0.94. + +=item C + +Upgraded from version 2.0.0 to 2.02. + +=item C + +Upgraded from version 3.26 to 3.27. + +=item C + +Upgraded from version 3.03 to 3.03_01. + +=item C + +Upgraded from version 2.00 to 2.11. + +=item C + +Upgraded from version 2.01 to 2.09. + +=item C + +Upgraded from version 1.37 to 1.38. + +=item C + +Upgraded from version 1.9711 to 1.9719. + +=item C + +Upgraded from version 1.18 to 1.1901_01. + +=item C + +Upgraded from version 1.12 to 1.15. + +=item C + +Upgraded from version 0.52 to 0.52_01. + +=item C + +Upgraded from version 1.02 to 1.03. + +=item C + +Upgraded from version 0.34 to 0.39. + +=item C + +Upgraded from version 0.1001_01 to 0.1101. + +=item C + +Upgraded from version 0.08 to 0.10. + +=back =head2 Removed Modules and Pragmata =over 4 -=item * +=item C -C +Removed from the Perl core. Prior version was 1.02. -The C pragma has been removed. It had been marked as deprecated -since 5.6.0. +=item C -=item * +Removed from the Perl core. Prior version was 'undef'. + +=item C + +Removed from the Perl core. Prior version was 5.50. + +=item C + +Removed from the Perl core. Prior version was 'undef'. + +=item C + +Removed from the Perl core. Prior version was 1.03. + +=item C + +Removed from the Perl core. Prior version was 6.42. + +=item C + +Removed from the Perl core. Prior version was 6.42. -C is no longer part of the Perl core. +=item C + +Removed from the Perl core. Prior version was 2.3. + +=item C + +Removed from the Perl core. Prior version was 0.02. + +=item C + +Removed from the Perl core. Prior version was 0.02. + +=item C + +Removed from the Perl core. Prior version was 0.01. + +=item C + +Removed from the Perl core. Prior version was 0.01. + +=item C + +Removed from the Perl core. Prior version was 0.26_01. + +=item C + +Removed from the Perl core. Prior version was 0.01. + +=item C + +Removed from the Perl core. Prior version was 1.1. =back @@ -873,6 +1352,7 @@ C is no longer part of the Perl core. See L above. + =head1 Documentation =head2 New Documentation