This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: ord("") docs
[perl5.git] / pod / perldelta.pod
CommitLineData
3a5c9134
CBW
1=encoding utf8
2
3=head1 NAME
4
9f7a72d0
Z
5[ this is a template for a new perldelta file. Any text flagged as
6XXX needs to be processed before release. ]
3a5c9134 7
9f7a72d0 8perldelta - what is new for perl v5.13.9
15e6cdd9 9
9f7a72d0 10=head1 DESCRIPTION
f6166f76 11
9f7a72d0
Z
12This document describes differences between the 5.13.8 release and
13the 5.13.9 release.
0d157ee2 14
9f7a72d0
Z
15If you are upgrading from an earlier release such as 5.13.7, first read
16L<perl5138delta>, which describes differences between 5.13.7 and
175.13.8.
0d157ee2 18
9f7a72d0 19=head1 Notice
0d157ee2 20
9f7a72d0 21XXX Any important notices here
0d157ee2 22
9f7a72d0 23=head1 Core Enhancements
0d157ee2 24
9f7a72d0
Z
25XXX New core language features go here. Summarise user-visible core language
26enhancements. Particularly prominent performance optimisations could go
27here, but most should go in the L</Performance Enhancements> section.
0d157ee2 28
086325d8
KW
29[ List each enhancement as a =head2 entry ]
30
cfaf538b
KW
31=head2 New regular expression modifier C</a>
32
33The C</a> regular expression modifier restricts C<\s> to match precisely
34the five characters C<[ \f\n\r\t]>, C<\d> to match precisely the 10
35characters C<[0-9]>, C<\w> to match precisely the 63 characters
36C<[A-Za-z0-9_]>, and the Posix (C<[[:posix:]]>) character classes to
37match only the appropriate ASCII characters. The complements, of
38course, match everything but; and C<\b> and C<\B> are correspondingly
39affected. Otherwise, C</a> behaves like the C</u> modifier, in that
40case-insensitive matching uses Unicode semantics; for example, "k" will
41match the Unicode C<\N{KELVIN SIGN}> under C</i> matching, and code
42points in the Latin1 range, above ASCII will have Unicode semantics when
43it comes to case-insensitive matching. Like its cousins (C</u>, C</l>,
44and C</d>), and in spite of the terminology, C</a> in 5.14 will not
45actually be able to be used as a suffix at the end of a regular
46expression (this restriction is planned to be lifted in 5.16). It must
47occur either as an infix modifier, such as C<(?a:...)> or (C<(?a)...>,
48or it can be turned on within the lexical scope of C<use re '/a'>.
49Turning on C</a> turns off the other "character set" modifiers.
50
086325d8
KW
51=head2 Any unsigned value can be encoded as a character
52
6d4f9cf2 53With this release, Perl is adopting a model that any unsigned value can
086325d8
KW
54be treated as a code point and encoded internally (as utf8) without
55warnings -- not just the code points that are legal in Unicode.
56However, unless utf8 warnings have been
6d4f9cf2
KW
57explicitly lexically turned off, outputting or performing a
58Unicode-defined operation (such as upper-casing) on such a code point
59will generate a warning. Attempting to input these using strict rules
60(such as with the C<:encoding('UTF-8')> layer) will continue to fail.
61Prior to this release the handling was very inconsistent, and incorrect
62in places. Also, the Unicode non-characters, some of which previously were
63erroneously considered illegal in places by Perl, contrary to the Unicode
64standard, are now always legal internally. But inputting or outputting
65them will work the same as for the non-legal Unicode code points, as the
66Unicode standard says they are illegal for "open interchange".
67
15555e2d
FC
68=head2 Regular expression debugging output improvement
69
70Regular expression debugging output (turned on by C<use re 'debug';>) now
71uses hexadecimal when escaping non-ASCII characters, instead of octal.
0d157ee2 72
9f7a72d0 73=head1 Security
0d157ee2 74
9f7a72d0
Z
75XXX Any security-related notices go here. In particular, any security
76vulnerabilities closed should be noted here rather than in the
77L</Selected Bug Fixes> section.
bd8e866d 78
9f7a72d0 79[ List each security issue as a =head2 entry ]
bd8e866d 80
3a5c9134
CBW
81=head1 Incompatible Changes
82
9f7a72d0 83XXX For a release on a stable branch, this section aspires to be:
3a5c9134 84
9f7a72d0
Z
85 There are no changes intentionally incompatible with 5.XXX.XXX. If any
86 exist, they are bugs and reports are welcome.
3a5c9134 87
9f7a72d0 88[ List each incompatible change as a =head2 entry ]
d66e82e8 89
3a5c9134
CBW
90=head1 Deprecations
91
9f7a72d0
Z
92XXX Any deprecated features, syntax, modules etc. should be listed here.
93In particular, deprecated modules should be listed here even if they are
94listed as an updated module in the L</Modules and Pragmata> section.
5609d5f9 95
9f7a72d0 96[ List each deprecation as a =head2 entry ]
5609d5f9 97
9f7a72d0 98=head1 Performance Enhancements
5609d5f9 99
9f7a72d0
Z
100XXX Changes which enhance performance without changing behaviour go here. There
101may well be none in a stable release.
5609d5f9 102
9f7a72d0 103[ List each enhancement as a =item entry ]
3a5c9134
CBW
104
105=over 4
106
107=item *
108
9f7a72d0 109XXX
e1165778 110
9f7a72d0 111=back
121e1895 112
9f7a72d0 113=head1 Modules and Pragmata
2638c0ff 114
9f7a72d0
Z
115XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
116go here. If Module::CoreList is updated, generate an initial draft of the
117following sections using F<Porting/corelist-perldelta.pl>, which prints stub
118entries to STDOUT. Results can be pasted in place of the '=head2' entries
119below. A paragraph summary for important changes should then be added by hand.
120In an ideal world, dual-life modules would have a F<Changes> file that could be
121cribbed.
2638c0ff 122
9f7a72d0 123[ Within each section, list entries as a =item entry ]
17096837 124
9f7a72d0 125=head2 New Modules and Pragmata
2638c0ff 126
9f7a72d0 127=over 4
17096837 128
e1165778
Z
129=item *
130
e8a07a12
DG
131L<CPAN::Meta::YAML> 0.002 has been added as a dual-life module. It supports a
132subset of YAML sufficient for reading and writing META.yml and MYMETA.yml files
133included with CPAN distributions or generated by the module installation
134toolchain. It should not be used for any other general YAML parsing or
135generation task.
17096837 136
935c8d19
DG
137=item *
138
435aa301 139L<HTTP::Tiny> 0.009 has been added as a dual-life module. It is a very
a3ab329f
DG
140small, simple HTTP/1.1 client designed for simple GET requests and file
141mirroring. It has has been added to enable CPAN.pm and CPANPLUS to
142"bootstrap" HTTP access to CPAN using pure Perl without relying on external
143binaries like F<curl> or F<wget>.
144
145=item *
146
6cf6332a 147L<Module::Metadata> 1.000003 has been added as a dual-life module. It gathers
e8b333e6
DG
148package and POD information from Perl module files. It is a standalone module
149based on Module::Build::ModuleInfo for use by other module installation
150toolchain components. Module::Build::ModuleInfo has been deprecated in
151favor of this module instead.
152
153=item *
154
935c8d19
DG
155L<Perl::OSType> 1.002 has been added as a dual-life module. It maps Perl
156operating system names (e.g. 'dragonfly' or 'MSWin32') to more generic types
157with standardized names (e.g. "Unix" or "Windows"). It has been refactored
158out of Module::Build and ExtUtils::CBuilder and consolidates such mappings into
159a single location for easier maintenance.
160
9f7a72d0 161=back
e1165778 162
9f7a72d0 163=head2 Updated Modules and Pragmata
f295f417 164
9f7a72d0 165=over 4
17096837 166
f295f417
FC
167=item *
168
6447e912
CBW
169C<Archive::Extract> has been upgraded from version 0.46 to 0.48
170
171=item *
172
89ae55b4
CBW
173C<Archive::Tar> has been upgraded from version 1.74 to 1.76
174
175=item *
176
2a1594f6
CBW
177C<CGI> has been upgraded from version 3.50 to 3.51
178
179=item *
5ebf8416
CBW
180
181C<Compress::Raw::Bzip2> has been upgraded from version 2.031 to 2.033
182
183=item *
e2f1db54
CBW
184
185C<Compress::Raw::Zlib> has been upgraded from version 2.030 to 2.033
186
187=item *
2a1594f6 188
a52237f3
DG
189C<CPAN> has been upgraded from version 1.94_62 to 1.94_63
190
191=item *
192
f1aaabf8
CBW
193C<CPANPLUS> has been upgraded from version 0.9010 to 0.9011
194
195=item *
196
ae0f8eee
CBW
197C<CPANPLUS::Dist::Build> has been upgraded from version 0.50 to 0.52
198
199=item *
200
201C<DB_File> has been upgraded from version 1.820 to 1.821
deb99cce
CBW
202
203=item *
204
6d4f9cf2
KW
205C<Encode> has been upgraded from version 2.40 to 2.42.
206Now, all 66 Unicode non-characters are treated the same way U+FFFF has
207always been treated; if it was disallowed, all 66 are disallowed; if it
208warned, all 66 warn.
50afc8f8
CBW
209
210=item *
211
eee47ba6 212C<File::Fetch> has been upgraded from version 0.28 to 0.32
f37ee46a
CBW
213
214=item *
215
cd0c0e65
CBW
216C<IO::Compress> has been upgraded from version 2.030 to 2.033
217
218=item *
219
f37ee46a
CBW
220C<IPC::Cmd> has been upgraded from version 0.66 to 0.68
221
ac066c2a
CBW
222=item *
223
b5ce1198
CBW
224C<Log::Message> has been upgraded from version 0.02 to 0.04
225
226=item *
227
c0395286
CBW
228C<Log::Message::Simple> has been upgraded from version 0.06 to 0.08
229
230=item *
231
ae0f8eee 232C<Module::Load::Conditional> has been upgraded from version 0.38 to 0.40
4fc94532
CBW
233
234=item *
235
ae0f8eee 236C<Object::Accessor> has been upgraded from version 0.36 to 0.38
0019012a
CBW
237
238=item *
239
ae0f8eee 240C<Params::Check> has been upgraded from version 0.26 to 0.28
8cb3aa53
CBW
241
242=item *
243
9c88a88b
CBW
244C<Pod::LaTeX> has been upgraded from version 0.58 to 0.59
245
246=item *
247
6df88f97 248C<Term::UI> has been upgraded from version 0.20 to 0.24
8e1e0801
CBW
249
250=item *
251
4df1dffa
FC
252C<Thread::Queue> has been upgraded from version 2.11 to 2.12.
253
254=item *
255
256C<Thread::Semaphore> has been upgraded from version 2.11 to 2.12.
257
258=item *
259
f5d41534
CBW
260C<threads> has been upgraded from version 1.81_03 to 1.82
261
262=item *
263
264C<threads::shared> has been upgraded from version 1.35 to 1.36
265
266=item *
267
23046b7e 268C<Time::Local> has been upgraded from version 1.1901_01 to 1.2000.
17096837 269
788ba0f4
CBW
270=item *
271
272C<Unicode::Normalize> has been upgraded from version 1.07 to 1.10
273
9f7a72d0 274=back
e1165778 275
9f7a72d0 276=head2 Removed Modules and Pragmata
b373eab8 277
9f7a72d0 278=over 4
b373eab8
FC
279
280=item *
281
9f7a72d0 282XXX
b6ae81ab 283
9f7a72d0 284=back
ca88a729 285
9f7a72d0 286=head1 Documentation
17096837 287
9f7a72d0
Z
288XXX Changes to files in F<pod/> go here. Consider grouping entries by
289file and be sure to link to the appropriate page, e.g. L<perlfunc>.
b6ae81ab 290
9f7a72d0 291=head2 New Documentation
e1165778 292
9f7a72d0 293XXX Changes which create B<new> files in F<pod/> go here.
17096837 294
9f7a72d0 295=head3 L<XXX>
e1165778 296
9f7a72d0 297XXX Description of the purpose of the new file here
e1165778 298
9f7a72d0 299=head2 Changes to Existing Documentation
17096837 300
9f7a72d0
Z
301XXX Changes which significantly change existing files in F<pod/> go here.
302However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
303section.
e1165778 304
0d7fe741 305=head3 L<perlfunc>
d4238815 306
9f7a72d0 307=over 4
17096837 308
d4238815
FC
309=item *
310
0d7fe741 311It has now been documented that C<ord> returns 0 for an empty string.
e1165778 312
9f7a72d0 313=back
17096837 314
9f7a72d0 315=head1 Diagnostics
17096837 316
9f7a72d0
Z
317The following additions or changes have been made to diagnostic output,
318including warnings and fatal error messages. For the complete list of
319diagnostic messages, see L<perldiag>.
e1165778 320
9f7a72d0
Z
321XXX New or changed warnings emitted by the core's C<C> code go here. Also
322include any changes in L<perldiag> that reconcile it to the C<C> code.
68adb2b0 323
9f7a72d0 324[ Within each section, list entries as a =item entry ]
17096837 325
9f7a72d0 326=head2 New Diagnostics
3a5c9134 327
9f7a72d0 328XXX Newly added diagnostic messages go here
17096837 329
9f7a72d0 330=over 4
17096837 331
c2e0289e
FC
332=item *
333
9f7a72d0 334XXX
17096837 335
9f7a72d0 336=back
e6f1cc4d 337
9f7a72d0 338=head2 Changes to Existing Diagnostics
e1165778 339
9f7a72d0 340XXX Changes (i.e. rewording) of diagnostic messages go here
17096837 341
9f7a72d0 342=over 4
17096837 343
e1165778
Z
344=item *
345
9f7a72d0 346XXX
17096837 347
3a5c9134
CBW
348=back
349
9f7a72d0 350=head1 Utility Changes
e1165778 351
9f7a72d0
Z
352XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go
353here. Most of these are built within the directories F<utils> and F<x2p>.
e1165778 354
9f7a72d0
Z
355[ List utility changes as a =head3 entry for each utility and =item
356entries for each change
357Use L<XXX> with program names to get proper documentation linking. ]
e1165778 358
9f7a72d0 359=head3 L<XXX>
e1165778 360
9f7a72d0 361=over 4
e1165778
Z
362
363=item *
364
9f7a72d0 365XXX
e1165778 366
9f7a72d0 367=back
e1165778 368
9f7a72d0 369=head1 Configuration and Compilation
e1165778 370
9f7a72d0
Z
371XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
372go here. Any other changes to the Perl build process should be listed here.
373However, any platform-specific changes should be listed in the
374L</Platform Support> section, instead.
e1165778 375
9f7a72d0 376[ List changes as a =item entry ].
e1165778 377
9f7a72d0 378=over 4
3a5c9134
CBW
379
380=item *
381
9f7a72d0 382XXX
3a5c9134
CBW
383
384=back
385
9f7a72d0 386=head1 Testing
3a5c9134 387
9f7a72d0
Z
388XXX Any significant changes to the testing of a freshly built perl should be
389listed here. Changes which create B<new> files in F<t/> go here as do any
390large changes to the testing harness (e.g. when parallel testing was added).
391Changes to existing files in F<t/> aren't worth summarising, although the bugs
392that they represent may be covered elsewhere.
3a5c9134 393
9f7a72d0 394[ List each test improvement as a =item entry ]
3a5c9134 395
3a5c9134
CBW
396=over 4
397
398=item *
399
9f7a72d0 400XXX
3a5c9134
CBW
401
402=back
403
9f7a72d0 404=head1 Platform Support
3a5c9134 405
9f7a72d0 406XXX Any changes to platform support should be listed in the sections below.
3a5c9134 407
9f7a72d0
Z
408[ Within the sections, list each platform as a =item entry with specific
409changes as paragraphs below it. ]
3a5c9134 410
9f7a72d0 411=head2 New Platforms
3a5c9134 412
9f7a72d0
Z
413XXX List any platforms that this version of perl compiles on, that previous
414versions did not. These will either be enabled by new files in the F<hints/>
415directories, or new subdirectories and F<README> files at the top level of the
416source tree.
3a5c9134 417
3a5c9134
CBW
418=over 4
419
9f7a72d0 420=item XXX-some-platform
3a5c9134 421
9f7a72d0 422XXX
51bed910 423
3a5c9134
CBW
424=back
425
9f7a72d0
Z
426=head2 Discontinued Platforms
427
428XXX List any platforms that this version of perl no longer compiles on.
3a5c9134 429
3a5c9134
CBW
430=over 4
431
9f7a72d0 432=item XXX-some-platform
3a5c9134 433
9f7a72d0 434XXX
3a5c9134
CBW
435
436=back
437
3a5c9134
CBW
438=head2 Platform-Specific Notes
439
9f7a72d0
Z
440XXX List any changes for specific platforms. This could include configuration
441and compilation changes or changes in portability/compatibility. However,
442changes within modules for platforms should generally be listed in the
443L</Modules and Pragmata> section.
3a5c9134 444
9f7a72d0 445=over 4
3a5c9134 446
9f7a72d0 447=item XXX-some-platform
fb3a2d89 448
9f7a72d0 449XXX
fb3a2d89 450
3a5c9134
CBW
451=back
452
453=head1 Internal Changes
454
9f7a72d0
Z
455XXX Changes which affect the interface available to C<XS> code go here.
456Other significant internal changes for future core maintainers should
457be noted as well.
3a5c9134 458
9f7a72d0 459[ List each test improvement as a =item entry ]
3a5c9134 460
9f7a72d0 461=over 4
3a5c9134 462
c61b6d0f
FC
463=item *
464
0a0e3cc5
NC
465The opcode bodies for C<chop> and C<chomp> and for C<schop> and C<schomp> have
466been merged. The implementation functions C<Perl_do_chop()> and
467C<Perl_do_chomp()>, never part of the public API, have been merged and moved to
468a static function in F<pp.c>. This shrinks the perl binary slightly, and should
469not affect any code outside the core (unless it is relying on the order of side
470effects when C<chomp> is passed a I<list> of values).
c61b6d0f 471
6d4f9cf2
KW
472=item *
473
474Some of the flags parameters to the uvuni_to_utf8_flags() and
475utf8n_to_uvuni() have changed. This is a result of Perl now allowing
476internal storage and manipulation of code points that are problematic
477in some situations. Hence, the default actions for these functions has
478been complemented to allow these code points. The new flags are
479documented in L<perlapi>. Code that requires the problematic code
480points to be rejected needs to change to use these flags. Some flag
481names are retained for backward source compatibility, though they do
482nothing, as they are now the default. However the flags
483C<UNICODE_ALLOW_FDD0>, C<UNICODE_ALLOW_FFFF>, C<UNICODE_ILLEGAL>, and
484C<UNICODE_IS_ILLEGAL> have been removed, as they stem from a
485fundamentally broken model of how the Unicode non-character code points
486should be handled, which is now described in
487L<perlunicode/Non-character code points>. See also L</Selected Bug Fixes>.
488
a62b1201
KW
489=item *
490
491Certain shared flags in the C<pmop.op_pmflags> and C<regexp.extflags>
492structures have been removed. These are: C<Rxf_Pmf_LOCALE>,
493C<Rxf_Pmf_UNICODE>, and C<PMf_LOCALE>. Instead there are encodes and
494three static in-line functions for accessing the information:
495C<get_regex_charset()>, C<set_regex_charset()>, and C<get_regex_charset_name()>,
496which are defined in the places where the orginal flags were.
497
b030240b
FC
498=item *
499
500A new option has been added to C<pv_escape> to dump all characters above
501ASCII in hexadecimal. Before, one could get all characters as hexadecimal
502or the Latin1 non-ASCII as octal
503
3a5c9134
CBW
504=back
505
506=head1 Selected Bug Fixes
507
9f7a72d0
Z
508XXX Important bug fixes in the core language are summarised here.
509Bug fixes in files in F<ext/> and F<lib/> are best summarised in
510L</Modules and Pragmata>.
b373eab8 511
9f7a72d0 512[ List each fix as a =item entry ]
b373eab8 513
9f7a72d0 514=over 4
4c9d53d5 515
0c7420e7
FC
516=item *
517
6d4f9cf2
KW
518The handling of Unicode non-characters has changed.
519Previously they were mostly considered illegal, except that only one of
520the 66 of them was known about in places. The Unicode standard
521considers them legal, but forbids the "open interchange" of them.
522This is part of the change to allow the internal use of any code point
523(see L</Core Enhancements>). Together, these changes resolve
524L<# 38722|https://rt.perl.org/rt3/Ticket/Display.html?id=38722>,
525L<# 51918|http://rt.perl.org/rt3/Ticket/Display.html?id=51918>,
526L<# 51936|http://rt.perl.org/rt3/Ticket/Display.html?id=51936>,
527L<# 63446|http://rt.perl.org/rt3/Ticket/Display.html?id=63446>
0c7420e7 528
9f7a72d0 529=back
460c4bfb 530
9f7a72d0 531=head1 Known Problems
460c4bfb 532
9f7a72d0
Z
533XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
534tests that had to be C<TODO>ed for the release would be noted here, unless
535they were specific to a particular platform (see below).
26de4ac8 536
9f7a72d0
Z
537This is a list of some significant unfixed bugs, which are regressions
538from either 5.XXX.XXX or 5.XXX.XXX.
26de4ac8 539
9f7a72d0 540[ List each fix as a =item entry ]
ab7fb400 541
9f7a72d0 542=over 4
ab7fb400 543
836d5805
Z
544=item *
545
9f7a72d0 546XXX
836d5805 547
3a5c9134
CBW
548=back
549
9f7a72d0 550=head1 Obituary
3a5c9134 551
9f7a72d0
Z
552XXX If any significant core contributor has died, we've added a short obituary
553here.
b0c3724f 554
9f7a72d0 555=head1 Acknowledgements
b0c3724f 556
9f7a72d0 557XXX The list of people to thank goes here.
3a5c9134
CBW
558
559=head1 Reporting Bugs
560
561If you find what you think is a bug, you might check the articles
562recently posted to the comp.lang.perl.misc newsgroup and the perl
563bug database at http://rt.perl.org/perlbug/ . There may also be
564information at http://www.perl.org/ , the Perl Home Page.
565
566If you believe you have an unreported bug, please run the L<perlbug>
567program included with your release. Be sure to trim your bug down
568to a tiny but sufficient test case. Your bug report, along with the
569output of C<perl -V>, will be sent off to perlbug@perl.org to be
570analysed by the Perl porting team.
571
572If the bug you are reporting has security implications, which make it
573inappropriate to send to a publicly archived mailing list, then please send
574it to perl5-security-report@perl.org. This points to a closed subscription
575unarchived mailing list, which includes all the core committers, who be able
576to help assess the impact of issues, figure out a resolution, and help
577co-ordinate the release of patches to mitigate or fix the problem across all
578platforms on which Perl is supported. Please only use this address for
579security issues in the Perl core, not for modules independently
580distributed on CPAN.
581
582=head1 SEE ALSO
583
584The F<Changes> file for an explanation of how to view exhaustive details
585on what changed.
586
587The F<INSTALL> file for how to build Perl.
588
589The F<README> file for general stuff.
590
591The F<Artistic> and F<Copying> files for copyright information.
592
593=cut
e0b8b6f1
JV
594
595=for later
596
597Below, you'll find a cut-down version of the git log from 5.13.8 to 1b9043bb.
598Jesse went through and took a first pass at cutting out non-changelog items. He may have been over-(or under-)zealous.
599
600It hasn't yet been deduped with the entries that _are_ in the perldelta.
601
602
603 Major spell-checking pass throughout the core
604
605 Remove references to compat3.sym and interp.sym, deleted over 10 years ago.
606
607 Remove Mac OS classic code from numerous places throughout the core
608
e0b8b6f1
JV
609commit 7fe50b8b8a4dc38fc341e3b403545aaca937f50e
610Author: Leon Timmermans <fawaka@gmail.com>
611Date: Tue Jan 18 16:40:07 2011 +0100
612
613 Also unblock signal handlers throwing an exception
614
615 Also handle and test the edge case of a signal handler throwing an
616 exception
617
618
619
620
621Numberous POD warnings fixed
622
623
624
625 Update Unicode-Collate to CPAN version 0.71
626
627
628internals
629
630
631 regexec.c: Remove break statements from macros
632
633 This is so future coders won't be tempted to rely on them.
634
635 regexec.c: Don't rely on break stmts in macros
636
637 It is safer and clearer to have the break statement in each case statement at
638 the source level
639
640commit b57e41186b2ceb48bef4f0588dcd19e105cc8a38
641Author: Karl Williamson <public@khwilliamson.com>
642Date: Tue Jan 18 15:03:41 2011 -0700
643
644 regcomp: Disallow multi-char folds in lookbehind
645
646 The addition of the ANYOFV regnode to treat multi-char folds in a bracketed
647 character class has exposed a bug, in which those classes have long been able
648 to be varying length (due to the multi-char fold), but the compiler wasn't
649 aware of it. Now it is, and hence won't allow those which have multi-char
650 folds to be part of a lookbehind pattern, which requires a constant length.
651
652 This patch disallows multi-char folds in a lookbehind bracketed character
653 class.
654
655Author: Nicholas Clark <nick@ccl4.org>
656Date: Tue Jan 18 16:14:43 2011 +0000
657
658 Remove Mac OS classic code from scripts in utils/
659
660
661 Convert DosGlob.t to Test::More.
662
663commit d6dc8a6dc95226ddff7719cd1e0bd053c4e5725e
664Author: Nicholas Clark <nick@ccl4.org>
665Date: Tue Jan 18 13:08:11 2011 +0000
666
667 Remove Mac OS Classic docs from DirHandle and File::{Copy,DosGlob,Find}
668
669 The documentation for the different behaviour on Mac OS Classic was not
670 removed when the relevant code was removed in 862f843bac3434c2. That commit
671 also remove all callers to several Mac OS classic support functions, but not
672 the functions themselves. Rectify this.
673
674commit 8254cbf193c939338449097a80163197fc755150
675Author: Nicholas Clark <nick@ccl4.org>
676Date: Tue Jan 18 11:10:41 2011 +0000
677
678 Build perltoc.pod with pragmata sorted by name.
679
680 Previously they were actually sorted by full pathname, which isn't logical.
681 I presume that this is an artefact of all pragmata being in lib/ when
682 pod/buildtoc was originally written.
683
684commit 1d45ec279e4e105512a2803e3d0bd974a151a0f6
685Author: Father Chrysostomos <sprout@cpan.org>
686Date: Mon Jan 17 22:32:52 2011 -0800
687
688 perlcall: Fixes for various grammatical errors
689
690commit faaf68361923e4bb95d1eb919bc724a0dcc5a4ce
691Author: Leon Timmermans <fawaka@gmail.com>
692Date: Mon Jan 17 17:59:33 2011 +0100
693
694 Clarify limitation in safe signals.
695
696commit 0c1bf4c7d433bb0ad80bfe5511b1301db32b7b95
697Author: Leon Timmermans <fawaka@gmail.com>
698Date: Mon Jan 17 16:29:11 2011 +0100
699
700 Added tests for conditional unblocking
701
702commit 555344425f04e96a72e4d29eab96b34bff8f96ae
703Author: Leon Timmermans <fawaka@gmail.com>
704Date: Thu Jan 13 18:30:29 2011 +0100
705
706 Conditionally unblock after signal handler[#82040]
707
708 Only unblock signal after a safe-signal handler is executed if that signal was
709 also unblocked before the handler.
710commit 435aa301127ed481169903cb35187bde1ea44928
711Author: David Golden <dagolden@cpan.org>
712Date: Mon Jan 17 20:39:14 2011 -0500
713
714 Update HTTP::Tiny to CPAN version 0.009
715
716commit 78cd53afbb1923bf0a68f361040ad8fe93a7d0d5
717Author: David Mitchell <davem@iabyn.com>
718Date: Tue Jan 18 00:46:30 2011 +0000
719
720 vastly speed up t/porting/diag.t
721
722 This used to take about 3 minutes of CPU. Reduce this to around
723 6 seconds (!!) by coalescing and pre-compiling various patterns
724 that get applied to nearly every line of every source file.
725
726commit cfaf538b6276c6a8ef80ff6c66e106c6a4f1caaa
727Author: Karl Williamson <public@khwilliamson.com>
728Date: Mon Jan 17 08:58:53 2011 -0700
729
730 Add /a regex modifier
731
732 This restricts certain constructs, like \w, to matching in the ASCII range only.
733
734commit 56ae17b45d2513d65903d13468e8f6a16b20f916
735Author: Karl Williamson <public@khwilliamson.com>
736Date: Sun Jan 16 17:41:30 2011 -0700
737
738 regcomp.c: Convert \d \D to a switch{}
739
740commit eee47ba661717bca7751443be1b6ac8f8f64585a
741Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
742Date: Mon Jan 17 12:35:54 2011 +0000
743
744 Update File-Fetch to CPAN version 0.32
745
746commit e66820012d29519f903709f005e56a2c334ae183
747Author: Tony Cook <tony@develop-help.com>
748Date: Mon Jan 17 19:22:08 2011 +1100
749
750 test_prep now depends on the pods needed for porting/buildtoc.t
751
752 In the other makefiles test_prep (or test-prep) depends on all, so
753 they shouldn't need updating.
754
755
756commit a52237f3a547cdefddd4c4be6224bfdf67c84263
757Author: David Golden <dagolden@cpan.org>
758Date: Sun Jan 16 21:32:21 2011 -0500
759
760 Update CPAN to CPAN version 1.94_63
761
762commit 63ac0dadb1aafcf0c171d3c1422c1923b611b2fc
763Author: Karl Williamson <public@khwilliamson.com>
764Date: Tue Dec 28 16:13:49 2010 -0700
765
766 regex: Use BOUNDU regnodes
767
768 This refactors one area in regexec.c to use BOUNDU, NBOUNDU for
769 efficiciency, and easier adding of the future BOUNDA.
770
771commit 980866de2cf8ecdb4bb72b7f9294763057008f50
772Author: Karl Williamson <public@khwilliamson.com>
773Date: Mon Dec 27 12:04:58 2010 -0700
774
775 regex: Separate nodes for Unicode semantics \s \w
776
777 This patch converts the \s, \w and complements Unicode semantics to
778 instead of using the flags field of their nodes to instead use separate
779 nodes. This gains some efficiency, especially useful in tight loops and
780 backtracking of regexec.c, and prepares the way for easily adding other
781 semantic variations, such as /a.
782
783 It refactors the CCC_TRY... macros. I tried to break this piece up into
784 smaller chunks, but found it much easier to get to this in one step.
785 Further patches will do some more refactoring of these.
786
787 As part of the CCC_TRY macro refactoring, the lines that include the
788 test if (! nextchr) are changed to just look for the end-of-string by
789 position instead of it being NUL. In locales, it could be (however
790 unlikely), that NUL is a real alphabetic, digit, or space character.
791commit 50e911483ad5c29e25c54c9f81f92df974dd2cc0
792Author: Karl Williamson <public@khwilliamson.com>
793Date: Sun Dec 26 10:35:58 2010 -0700
794
795 Change name of /d to DEPENDS
796
797 I much prefer David Golden's name for /d whose meaning 'depends' on
798 circumstances, instead of 'dual' meaning it could be one or another.
799 Change it before this gets out in a stable release, and we're stuck with
800 the old name.
801
802commit 73134a2eb4055c76fe5b154da95e09118f716fd8
803Author: Karl Williamson <public@khwilliamson.com>
804Date: Sun Dec 26 10:35:20 2010 -0700
805
806 CH] Change usage of regex/op common to common names
807
808 This patch changes the core functions to use the common names for the
809 fields that are shared between op.c and regcomp.c, just for consistency
810 of using one name throughout the core for the same thing.
811
812 A grep of cpan shows that both names are used in various modules; so
813 both names must be retained.
814
815commit a3ab329f3fc9494e700f51c38cef42021c130b6e
816Author: David Golden <dagolden@cpan.org>
817Date: Sun Jan 16 20:57:02 2011 -0500
818
819 Add HTTP::Tiny as a dual-life core module
820
821 HTTP::Tiny has been added as a dual-life module. It is a very
822 small, simple HTTP/1.1 client designed for simple GET requests and file
823 mirroring. It has has been added to enable CPAN.pm and CPANPLUS to
824 "bootstrap" HTTP access to CPAN using pure Perl without relying on external
825 binaries like F<curl> or F<wget>.
826
827commit 211cc5012284f4bd900fcaa630adbcac69ca6112
828Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
829Date: Sun Jan 16 23:23:03 2011 +0000
830
831 Update Unicode-Collate to CPAN version 0.70 and enable XS version
832
833commit a62b1201c068dc7b099bcb7182e188c4d2fbf34c
834Author: Karl Williamson <public@khwilliamson.com>
835Date: Sun Dec 26 10:31:16 2010 -0700
836
837 Use multi-bit field for regex character set
838
839 The /d, /l, and /u regex modifiers are mutually exclusive. This patch
840 changes the field that stores the character set to use more than one bit
841 with an enum determining which one. This data structure more
842 closely follows the semantics of their being mutually exclusive, and
843 conserves bits as well, and is better expandable.
844
845 A small API is added to set and query the bit field.
846
847 This patch is not .xs source backwards compatible. A handful of cpan
848 programs are affected.
849
850
851tools
852
853 Significant updates to buildtoc
854
855 Update Unicode-Normalize to CPAN version 1.10
856
857commit 11454c594f22abc5945e69a46fc965363dbf326e
858Author: Karl Williamson <public@khwilliamson.com>
859Date: Sat Jan 15 13:42:58 2011 -0700
860
861 Fix \xa0 matching both [\s] [\S], et.al.
862
863 This bug stemmed from Latin1 characters not matching any (non-complemented)
864 character class in /d semantics when the target string is no utf8; but having
865 unicode semantics when it isn't. The solution here is to add a special flag.
866
867 There were several tests that relied on the broken behavior, specifically they
868 tested that \xff isn't a printable word character even in utf8. I changed the
869 deparse test to instead use a non-printable code point, and I changed the ones
870 in re_tests to be TODOs, and will change them back using /a when that is
871 shortly added.
872
873
874SECURITY
875
876 restrict \p{IsUserDefined} to In\w+ and In\w+
877
878 In L<perlunicode/"User-Defined Character Properties">, it says you can
879 create custom properties by defining subroutines whose names begin with
880 "In" or "Is". However, perl doesn't actually enforce that naming
881 restriction, so \p{foo::bar} will call foo::Bar() if it exists.
882
883 This commit finally enforces this convention. Note that this broke a
884 number of existing tests for properties, since they didn't always use an
885 Is/In prefix.
886
887TESTING
888
889 test that perl.pod, pod.lst, MANIFEST and the file system are consistent
890
891commit f56b6394f7cf57733135f56e4e4ac49abe9ac9cc
892Author: Karl Williamson <public@khwilliamson.com>
893Date: Thu Jan 13 22:36:36 2011 -0700
894
895 regex: Use ANYOFV
896
897 This patch restructures the regex ANYOF code to generate ANYOFV nodes instead
898 when there is a possibility that it could match more than one character. Note
899 that this doesn't affect the optimizer, as it essentially ignores things that
900 fit into this category. (But it means that the optimizer will no longer reject
901 these when it shouldn't have.)
902
903 The handling of the LATIN SHARP s is modified to correspond with this new node
904 type.
905
906 The initial handling of ANYOFV is placed in regexec.c. More analysis will come
907 on that. But there was significant change to the part that handles matching
908 multi-char strings. This has long been buggy, with it previously comparing a
909 folded-version on one side with a non-folded version on the other.
910
911 This patch fixes about 60% of the problems that my undelivered test suite gives
912 for multi-char folds. But there are still 17K test failures left, so I'm still
913 not delivering that. The TODOs that this fixes will be cleaned up in a later commit
914
915
916 Update Pod-LaTeX to CPAN version 0.59
917
918commit 680818c0361b180bb6f09d4bb11c4d5cd467fe62
919Author: Nicholas Clark <nick@ccl4.org>
920Date: Thu Jan 13 16:24:52 2011 +0000
921
922 ithread_create() was relying on the stack not moving. Fix this.
923
924 4cf5eae5e58faebb changed S_ithread_create() to avoid creating an AV, by
925 passing the thread creation arguments as pointers to a block of memory
926 holding SVs. Unfortunately, this inadvertently introduced a subtle bug,
927 because the block of memory is on the Perl stack, which can move as a side
928 effect of being reallocated to extend it. Hence pass in the offset on the
929 stack instead, read the current value of the relevant interpreter's stack
930 at the point of access, and copy all the SVs away before making any further
931 calls which might cause reallocation.
932
933 Update to Win32-0.44 from CPAN
934 Update Term-UI to CPAN version 0.24
935 Update IO-Compress to CPAN version 2.033
936 Update Compress-Raw-Zlib to CPAN version 2.033
937 Update Compress-Raw-Bzip2 to CPAN version 2.033
938 Update DB_File to CPAN version 1.821
939
940DIAGNOSTICS
941 Correct the "unimplemented" message for get{host,net,proto,serv}ent aliases.
942
943 Previously, if all of gethost{byaddr,byname,ent} were unimplemented on a
944 platform, they would all return 'Unsupported socket function "gethostent"
945 called', with the analogous results for getnet{byaddr,byname,ent},
946 getproto{byname,bynumber,ent} and getserv{byname,byport,ent}. This bug was
947 introduced by change af51a00e97d5c559 - prior to this, all 12 functions would
948 report their own name when unimplemented.
949
950commit 9ae3ac1a84c63b0eadf5baf47ce7096482280f32
951Author: Karl Williamson <public@khwilliamson.com>
952Date: Sun Jan 9 15:33:28 2011 -0700
953
954 Add warnings for use of problematic code points
955
956 The non-Unicode code points have no Unicode semantics, so applying operations
957 such as casing on them warns.
958
959 This patch also includes the changes to test the warnings added by recent
960 commits for handling the surrogates and above-Unicode code points
961
962commit 949cf4983af707fbd15e422845f4f3df20505f97
963Author: Karl Williamson <public@khwilliamson.com>
964Date: Sun Jan 9 13:50:18 2011 -0700
965
966 utf8.c(): Default to allow problematic code points
967
968 Surrogates, non-character code points, and code points that aren't in Unicode
969 are now allowed by default, instead of having to specify a flag to allow them.
970 (Most code did specify those flags anyway.)
971
972 This affects uvuni_to_utf8_flags(), utf8n_to_uvuni() and various routines that
973 are specialized interfaces to them.
974
975 Now there is a new set of flags to disallow those code points. Further, all 66
976 of the non-character code points are known about and handled consistently,
977 instead of just U+FFFF.
978
979 Code that requires these code points to be forbidden will have to change to use
980 the new flags. I have looked at all the (few) instances in CPAN where these
981 routines are used, and the only one I found that appears to have need to do
982 this, Encode, has already been patched to accommodate this change. Of course,
983 I may have overlooked some subtleties.
984
985
986commit 7627e6d0fe772ac90fce9e03fea273109521e261
987Author: Nicholas Clark <nick@ccl4.org>
988Date: Sat Jan 8 15:56:22 2011 +0000
989
990 Generate "Unsupported socket function" stubs using PL_ppaddr.
991
992 Instead of having each socket op conditionally compile as either the
993 implementation or a DIE() depending on #HAS_SOCKET
994
995 1: remove the conditional code from the ops themselves
996 2: only compile the ops if HAS_SOCKET is defined
997 3: general conditional code for the intialisation of PL_ppaddr - as appropriate
998 either the ops, or Perl_unimplemented_op
999 4: Amend Perl_unimplemented_op to generate the appropriate DIE() for socket
1000 ops (ie not the "panic"... message)
1001
1002 Whilst this complicates the support code in regen/opcode.pl, it's already a
1003 net saving of 5 lines in the C code.
1004
1005commit 897d398936dd2fc088a265fba2a7b62fa97ed458
1006Author: Nicholas Clark <nick@ccl4.org>
1007Date: Sun Jan 9 10:54:58 2011 +0000
1008
1009 Generate pp_* prototypes in pp_proto.h, and remove pp.sym
1010
1011 Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13
1012 locations that relied on them.
1013
1014 regen/opcode.pl now generates prototypes for the PP functions directly, into
1015 pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads
1016 this, removing the only ordering dependency in the regen scripts. opcode.pl
1017 is now responsible for prototypes for pp_* functions. (embed.pl remains
1018 responsible for ck_* functions, reading from regen/opcodes)
1019
1020commit f1aaabf80b19a3cc6dc435510732b561ab46361e
1021Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
1022Date: Sun Jan 9 00:16:46 2011 +0000
1023
1024 Update CPANPLUS to CPAN version 0.9011
1025 Update CPANPLUS-Dist-Build to CPAN version 0.52
1026 Update Term-UI to CPAN version 0.22
1027 Update Params-Check to CPAN version 0.28
1028
1029commit a4a4c9e2c086dd5f7b7b05789161614dbbe8385b
1030Author: Karl Williamson <public@khwilliamson.com>
1031Date: Sat Jan 8 14:44:05 2011 -0700
1032
1033 perldiag.pod: Add missing message severities
1034
1035commit 0019012ad86d597fb507f71577d70ecd4c416bba
1036Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
1037Date: Sat Jan 8 23:09:04 2011 +0000
1038
1039 Update Object-Accessor to CPAN version 0.38
1040 Update Module-Load-Conditional to CPAN version 0.40
1041 Update Log-Message to CPAN version 0.04
1042 Update IPC-Cmd to CPAN version 0.68
1043
1044
1045TESTING
1046 add test for split without a pattern
1047
1048 Add some while tests, about the context of the last statement in a block and about reinitializaiton of lexical variables.
1049
1050 modernise t/cmd/while.t
1051
1052 Add t/base/while.t testing the basic of a while loop with minimal dependencies. Change t/cmd/while.t into a non-base test using "test.pl".
1053
1054commit ac066c2ab5bc31260104aeee778921b186894769
1055
1056 Update File-Fetch to CPAN version 0.30
1057 Update Archive-Tar to CPAN version 1.76
1058 Update Archive-Extract to CPAN version 0.48
1059
1060commit b86b68b4eefa1069dabc8ea0401d712b24a67857
1061Author: Jesse Vincent <jesse@bestpractical.com>
1062Date: Sat Jan 8 00:14:29 2011 +0800
1063
1064 Update the policy on doc patches to maint
1065
1066
1067commit e8b333e679eb9a7a62c1d86b647515f01821eb60
1068Author: David Golden <dagolden@cpan.org>
1069Date: Wed Jan 5 22:47:41 2011 -0500
1070
1071 Add Module::Metadata as a dual-life core module
1072
1073 This commit adds Module::Metadata 1.000002 as a dual-life module. It
1074 gathers package and POD information from Perl module files. It is a
1075 standalone module based on Module::Build::ModuleInfo for use by other
1076 module installation toolchain components. Module::Build::ModuleInfo
1077 has been deprecated in favor of this module instead.
1078
1079commit a8fb8d791b74ff90850140d94407aad99ec86fe3
1080Author: John Peacock <jpeacock@jpeacock-hp.doesntexist.org>
1081Date: Thu Jan 6 20:02:37 2011 -0500
1082
1083 Sync with version 0.88 on CPAN
1084
1085commit c1b879e57aecbfe520b3f44dd28472d1862f037d
1086Author: Craig A. Berry <craigberry@mac.com>
1087Date: Wed Jan 5 19:14:06 2011 -0600
1088
1089 Make newline on last record explicit.
1090
1091 On VMS, the last line written to a file will get a trailing newline
1092 willy nilly. This has its advantages insofar as you never get the
1093 "no newline at end of file" warnings from various utilities, but
1094 reality conflicts with expectations when you explicitly test for
1095 the last (or only) line *not* ending with newline, which is what
1096 the recent addtion to ref.t (5e3072707906cc4cb8a364c4cf7c487df0300caa)
1097 was doing. Adding an explicit newline makes everyone happy.
1098
1099commit 935c8d19ecf9ad3ea7589ffd1721e6ba1c671ed9
1100Author: David Golden <dagolden@cpan.org>
1101Date: Wed Jan 5 22:25:23 2011 -0500
1102
1103 Add Perl::OSType as a dual-life core module
1104
1105 This commit adds Perl::OSType 1.002 as a dual-life module. It maps Perl
1106 operating system names (e.g. 'dragonfly' or 'MSWin32') to more generic
1107 types with standardized names (e.g. "Unix" or "Windows"). It has been
1108 refactored out of Module::Build and ExtUtils::CBuilder and consolidates
1109 such mappings into a single location for easier maintenance.
1110
1111 c.f.
1112 http://www.nntp.perl.org/group/perl.perl5.porters/2010/05/msg160280.html
1113
1114commit 2a1594f630b57637ddd7a38daaa1e17f66da396a
1115Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
1116Date: Wed Jan 5 23:35:15 2011 +0000
1117
1118 Update CGI to CPAN version 3.51
1119
1120 [SECURITY]
1121 - Further improvements have been made to guard against newline injections
1122 in headers. (Thanks to Max Kanat-Alexander, Yanick Champoux, Mark Stosberg)
1123
1124
1125commit 0b5e625bc99f5cb78697faf03b297b6cacadf60b
1126Author: Reini Urban <rurban@x-ray.at>
1127Date: Tue Sep 14 18:04:22 2010 +0200
1128
1129 build man pages on cygwin too
1130
1131commit 172830635ea7813c85e51e4ae2b4bed56ddbab83
1132Author: Reini Urban <rurban@x-ray.at>
1133Date: Tue Sep 14 17:54:15 2010 +0200
1134
1135 Improve cygwin rebase behaviour
1136
1137 If a dll is updated on cygwin reuse the old imagebase address.
1138 This solves most rebase errors, esp when updating on core dll's.
1139 See http://www.tishler.net/jason/software/rebase/rebase-2.4.2.README
1140
1141
1142NEW TESTS
1143
1144 t/porting/filenames.t to make sure that filenames and paths are reasonably portable
1145
1146
1147Platforms
1148
1149 Actually excise 'Apollo DomainOS' support. We officially killed it in 5.11.0. It
1150 hadn't worked for years before that.
1151
1152commit cc7e77fd5a0ee9f1498e54dddf566117da62754b
1153Author: Reini Urban <rurban@x-ray.at>
1154Date: Tue Sep 14 17:48:32 2010 +0200
1155
1156 CYG14 Dynaloader without USEIMPORTLIB, and search cyg prefix
1157
1158 part1: Support the standard cyg dll prefix, which is e.g. needed for FFI's.
1159 Ctypes and C::DynaLib use DynaLoader to find dlls.
1160
1161 part2: With -DUSEIMPORTLIB DynaLoader symbols link against the prefixed
1162 symbol names for the .dll.a importlib, but we need to link against the
1163 symbols directly. We don't link Dynaloader against libperl.dll.a.
1164
1165 Otherwise:
1166 $ g++-4 -o cygperl5_13_4.dll --shared perlsrc.o cygwin.o DynaLoader.o -ldl -lcrypt
1167 Creating library file: libperl.dll.a
1168 DynaLoader.o: In function `XS_DynaLoader_dl_undef_symbols':
1169 ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_stack_sp'
1170 ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_markstack_ptr'
1171 ext/DynaLoader/DynaLoader.c:346: undefined reference to `__imp__PL_stack_base'
1172
1173commit c0a149a90b8b6e1c18de7294ca974265fb559cf5
1174Author: Reini Urban <rurban@x-ray.at>
1175Date: Tue Sep 14 18:06:38 2010 +0200
1176
1177 Update cygwin hints
1178 do not use usemymalloc (double size + slow)
1179 remove deprecated libcygipc info
1180 remove overlarge stack size
1181
1182commit ac0650a4c9f69cdc9e7af31df29011c42b42b770
1183Author: Father Chrysostomos <sprout@cpan.org>
1184Date: Sun Jan 2 23:14:37 2011 -0800
1185
1186 Restore the old description of $[
1187
1188 The new entry is a bit too futuristic: assignment to $[ still works
1189 and it is not read-only.
1190
1191 This does not fully restore the old description, as it contained
1192 grammatical errors and parts of it were not updated when 5.10 changed
1193 the scoping.
1194
1195commit 2831a86cee065b53b74fd19ddcc6a4257484646d
1196Author: Zsbán Ambrus <ambrus@math.bme.hu>
1197Date: Sun Jan 2 20:25:55 2011 -0800
1198
1199 [perl #81032] Overhaul Porting/epigraphs.pod
1200
1201 This patch makes multiple changes to Porting/epigraphs.pod and
1202 pod/perlhist.pod.
1203
1204 For those that don't know, Porting/epigraphs.pod is a new document that
1205 collects the quotes (chosen by Pumpkins) in perl release announcements.
1206
1207 The changes are the following.
1208
1209 1. Add a link pointing to each release announcement in the mailing
1210 list archives. These are from ysth's list, the source from which
1211 Porting/epigraphs.pod was originally compiled, but they weren't in
1212 Porting/epigraphs.pod so far.
1213 2. Reorder Porting/epigraphs.pod chronologically, because I believe
1214 that makes more sense -- pod/perlhist.pod is still sorted by version numbers.
1215 3. Incidentally, some missing releases are added to pod/perlhist.pod too.
1216 4. Fix a mistake where Porting/epigraphs.pod gives the wrong version number.
1217 5. Add some epigraphs that appear in ysth's list but not in
1218 Porting/epigraphs.pod.
1219 6. I did some research in perl history before the part that ysth's list
1220 covers, and added older perl announcements I found. This work is not
1221 complete: I stopped somewhere in 2000.
1222
1223commit eccda089fc3dcaafc1ae0aac6b428f799231b824
1224Author: Paul "LeoNerd" Evans <leonerd@leonerd.org.uk>
1225Date: Mon Dec 13 17:50:06 2010 +0000
1226
1227 Implement Socket::getaddrinfo() and Socket::getnameinfo(), with related constants
1228
1229commit d54243158c0e4ba0127eb487c5b2e2a10484e8d0
1230Author: David Golden <dagolden@cpan.org>
1231Date: Thu Dec 30 23:43:44 2010 -0500
1232
1233 Add JSON::PP to the Perl core
1234
1235 Per discussions with Jesse Vincent, JSON::PP has been added
1236 to the Perl core to support the new CPAN meta file specification
1237
1238commit 4155e4fe81b9987a30efea627e43a574f5460f73
1239Author: Father Chrysostomos <sprout@cpan.org>
1240Date: Sun Jan 2 14:51:21 2011 -0800
1241
1242 [perl #36347] Object destruction incomplete
1243
1244 do_clean_objs only looks for objects referenced by RVs, so blessed
1245 array references and lexical variables (and probably other SVs, too)
1246 are not DESTROYed.
1247
1248 This commit adds a new visit() call to sv_clean_objs, which curses
1249 (DESTROYs and un-blesses, leaving the reference count as it is) any
1250 objects that are still left after do_clean_named_io_objs. The new
1251 do_curse routine (a pointer to which is passeds to visit()) follows
1252 do_clean_named_io_objs’ example and explicitly skips the STDOUT and
1253 STDERR handles, in case destructors need to use them.
1254
1255 The cursing code, which is now called from two places, is moved out of
1256 sv_clear and put in its own routine. The check that the reference
1257 count is zero does not apply when called from sv_clean_objs, so the
1258 new S_curse routine takes a boolean argument that determines whether
1259 that check should take place.
1260
1261commit 3d450a5dd4e8f9a7b2aba0b018f9fe078fb6aa30
1262Author: David Leadbeater <dgl@dgl.cx>
1263Date: Sun Jan 2 14:33:16 2011 -0800
1264
1265 [perl #73630] Build separate DTrace for miniperl
1266
1267 As outlined in the RT ticket due to miniperl's dependencies differing to
1268 the final perl binary dtrace -G needs to be called separately for each.
1269
1270 Build tested on Mac OS X 10.6, Solaris 11 and Scientific Linux with
1271 SystemTap from git.
1272
1273 (Solaris is the only system I have access to where DTRACE_O actually gets
1274 defined. Neither the dtrace binary on OS X nor SystemTap's dtrace
1275 compatibility layer accept the -G option.)
1276
1277commit 42467a219c70177fc2004ed9b73d6c3db59dba5c
1278Author: David Golden <dagolden@cpan.org>
1279Date: Sun Jan 2 17:34:44 2011 -0500
1280
1281 Update CPAN::Meta::YAML to 0.003
1282
1283commit 9426e1a55981168c83a030df9bce5e0b46586581
1284Author: David Mitchell <davem@iabyn.com>
1285Date: Sun Jan 2 19:38:30 2011 +0000
1286
1287 make <expr> always overload if expr is overloaded
1288
1289 Due to the way that '<> as glob' was parsed differently from
1290 '<> as filehandle' from 5.6 onwards, something like <$foo[0]>
1291 didn't handle overloading, even where $foo[0] was an overloaded object.
1292 This was contrary to the docs for overload, and meant that <> couldn't
1293 be used as a general overloaded iterator operator.
1294
1295commit e4ef33329eb648489bad5296e9673c409f5577f9
1296Author: Jesse Vincent <jesse@bestpractical.com>
1297Date: Sun Jan 2 10:50:21 2011 +0800
1298
1299 perlbug did not previously generate a From: header. While some MTAs do
1300 the "right" thing and insert a valid "From:", not all of them do,
1301 potentially resulting in dropped mail.
1302
1303
1304commit edcf105d70e5423fd928c776e086fe31a4a543f4
1305Author: Jesse Vincent <jesse@bestpractical.com>
1306Date: Sat Jan 1 18:46:20 2011 +0800
1307
1308 Document 'test_porting' and start a section on how committing to blead
1309
1310commit b85802c5d04fcd6e5c969a5c56136e05061f05d7
1311Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
1312Date: Sat Jan 1 10:37:04 2011 +0000
1313
1314 Update Encode to CPAN version 2.42
1315
1316
1317commit fbcda526a9bbe2ee1302d6f4507b07f83661fc0d
1318Author: Nicholas Clark <nick@ccl4.org>
1319Date: Thu Dec 30 17:30:24 2010 +0000
1320
1321 Most socket ops weren't warning for unopened handles unless 'closed' was enabled
1322
1323 They were checking that category 'closed' was enabled for warnings before
1324 calling report_evil_fh(), which in turn was (correctly) checking category
1325 'unopened'.
1326commit c521cf7c8af1697e5efd8ce3ad75ed00606db13b
1327Author: Nicholas Clark <nick@ccl4.org>
1328Date: Thu Dec 30 16:52:22 2010 +0000
1329
1330 pp_leavewrite wasn't warning for unopened handles unless 'closed' was enabled.
1331
1332 It was checking that category 'closed' was enabled for warnings before calling
1333 report_evil_fh(), which in turn was (correctly) checking category 'unopened'.
1334
1335commit 8985fe98dcc5c0af2fadeac15dfbc13f553ee7fc
1336Author: David Mitchell <davem@iabyn.com>
1337Date: Thu Dec 30 10:32:44 2010 +0000
1338
1339 Better handling of magic methods freeing the SV
1340
1341 This is a fix for RT #81230 (and more). Currently, mg_get() works around
1342 the case where the called magic (e.g. FETCH) frees the magic SV. It does
1343 this by unconditionally pushing the SV on the tmps stack before invoking
1344 the method.
1345
1346 There are two issues with this. Firstly, it may artificially extend the
1347 life of the SV. This was the root of the problem with #81230. There, the
1348 DB_File code, under -T, created a tainted tied object. Accessing the
1349 object (within FETCH as it happens), caused mg_get() to be invoked on the
1350 object (due to the taint magic), and thus extend the life of the object.
1351 This then caused c<untie %h if $h{k}> to give the warning
1352 untie attempted while 1 inner references still exist.
1353 This only became noticeable after efaf36747029c85b4d8825318cb4d485a0bb350e,
1354 which stopped wrapping magic method calls in SAVETMPS/FREETMPS.
1355
1356 The second issue issue that this protection only applies to mg_get();
1357 functions like mg_set() can still segfault if the SV is deleted.
1358
1359 This commit fixes both problems as follows:
1360
1361 First, the protection mechanism is moved out of mg_get() and into
1362 save_magic() / restore_magic(), so that it protects more things.
1363 Secondly, the protection is now:
1364
1365 * in save_magic(), SvREFCNT_inc() the SV, thus protecting it from being
1366 freed during FETCH (or whatever)
1367
1368 * in restore_magic(), SvREFCNT_dec() the SV, undoing the protection
1369 without extending the life of the SV, *except* if the refcount is
1370 1 (ie FETCH tried to free it), then push it on the mortals stack
1371 to extend it life a bit so our callers wont choke on it.
1372
1373
1374commit e8a07a125ebebaf06dc890127439c7461a063b35
1375Author: David Golden <dagolden@cpan.org>
1376Date: Mon Dec 27 14:50:31 2010 -0500
1377
1378 Add CPAN::Meta::YAML as a dual-life core module
1379
e0b8b6f1
JV
1380commit cce04bebd8af026c2a6731940ddb895d3c1fc3e4
1381Author: David Golden <dagolden@cpan.org>
1382Date: Mon Dec 13 17:36:33 2010 -0500
1383
1384 Reorganize perlhack.pod
1385
1386 Following on an IRC conversation, I've attempted to reorganize
1387 perlhack for greater clarity. I have only cut and paste blocks
1388 of text and amended section titles and levels. (I have not addressed
1389 any of the numerous factual issues which remain.)
1390
1391 The resulting guide should be clearer for those trying to skim the
1392 table of contents to understand what is covered in perlhack and
1393 whether it is worth an in-depth read.
1394
1395 I see this change as the first step towards future improvements.
1396
e0b8b6f1 1397=cut