This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Karl Williamson [Wed, 20 Mar 2013 17:35:58 +0000 (11:35 -0600)]
Add missing test for regex parse error
Karl Williamson [Wed, 20 Mar 2013 15:30:11 +0000 (09:30 -0600)]
regcomp.c: Use mnemonic instead of number
Brian Fraser [Sat, 9 Mar 2013 19:20:00 +0000 (16:20 -0300)]
toke.c: VALID_LEN_ONE_IDENT only needs a char, not a char*
Rather than passing s and having the macro do a bunch of *s,
just pass and expect *s.
Brian Fraser [Sat, 9 Mar 2013 19:17:04 +0000 (16:17 -0300)]
toke.c, S_intuit_method: Minor parsing speedup for 'maybe_method $foo'
This commit moves a scan_word() closer to when it's actually used,
which provides a minor speedup for things like 'new $foo' or
'is $foo, $bar'.
Karl Williamson [Fri, 15 Mar 2013 19:44:26 +0000 (13:44 -0600)]
toke.c: Call base macro that does the same thing
SPACE_OR_TAB is the same thing as isBLANK, or perhaps more clearly
isBLANK_A. And these latter macros only have one branch instead of 2
(but some extra masking)
Ricardo Signes [Mon, 20 May 2013 13:36:00 +0000 (09:36 -0400)]
add new perldelta
Ricardo Signes [Mon, 20 May 2013 13:15:02 +0000 (09:15 -0400)]
bump version to 5.19.1
Ricardo Signes [Mon, 20 May 2013 12:10:31 +0000 (08:10 -0400)]
perldelta: 5.19.0, shortest perldelta ever?
Ricardo Signes [Mon, 20 May 2013 11:54:45 +0000 (07:54 -0400)]
update corelist for Getopt::Std, utf8
Nicholas Clark [Mon, 20 May 2013 10:37:39 +0000 (12:37 +0200)]
Bump $Getopt::Std::VERSION following commit
0c0a84c65e572a92.
Reuben Thomas [Fri, 10 May 2013 12:05:13 +0000 (13:05 +0100)]
Document getopts before getopt, and de-recommend getopt.
Brian Fraser [Tue, 14 May 2013 07:57:19 +0000 (04:57 -0300)]
utf8: Remove unused variable (%utf8::enc).
In its original implementation in perl 5.6, 'use utf8' accepted
an encoding argument, which was saved in %utf8::enc and later
used by utf8_heavy.pl to load the right files from lib/unico[rd]e.
However, since 5.8 (or more specifically,
15732964418f),
utf8_heavy.pl stopped using that variable, so there's no reason
to keep it around in utf8.pm.
Bump $VERSION in lib/utf8.pm.
Ricardo Signes [Sun, 19 May 2013 01:11:24 +0000 (21:11 -0400)]
perlhist for 5.19.0
Ricardo Signes [Sun, 19 May 2013 01:11:15 +0000 (21:11 -0400)]
bring in the 5.18-related epigraphs
Ricardo Signes [Sun, 19 May 2013 00:42:27 +0000 (20:42 -0400)]
update Module::CoreList for 5.19.0
and its mass removal!
Ricardo Signes [Sat, 18 May 2013 20:41:32 +0000 (16:41 -0400)]
Removed cpan/File-CheckTree
Ricardo Signes [Sat, 18 May 2013 20:30:04 +0000 (16:30 -0400)]
Removed cpan/Text-Soundex
Ricardo Signes [Sat, 18 May 2013 20:10:44 +0000 (16:10 -0400)]
regenerate known pod issues
Chris 'BinGOs' Williams [Sat, 18 May 2013 14:07:10 +0000 (15:07 +0100)]
Removed cpan/Log-Message
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:51:55 +0000 (14:51 +0100)]
Removed cpan/Log-Message-Simple
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:31:52 +0000 (14:31 +0100)]
Remove cpan/Object-Accessor
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:16:24 +0000 (14:16 +0100)]
Remove cpan/Term-UI
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:04:17 +0000 (14:04 +0100)]
Remove cpan/Module-Pluggable
Chris 'BinGOs' Williams [Sat, 18 May 2013 12:20:02 +0000 (13:20 +0100)]
Remove cpan/Pod-LaTeX and pod2latex utility
Chris 'BinGOs' Williams [Sat, 18 May 2013 11:52:17 +0000 (12:52 +0100)]
Remove cpan/B-Lint
Chris 'BinGOs' Williams [Sat, 18 May 2013 08:50:15 +0000 (09:50 +0100)]
Remove cpan/Archive-Extract
Note:
Porting/core-cpan-diff refactored to use Archive::Tar
instead of Archive::Extract
Chris 'BinGOs' Williams [Sat, 18 May 2013 00:01:42 +0000 (01:01 +0100)]
Remove cpan/CPANPLUS and associated utilities
Chris 'BinGOs' Williams [Fri, 17 May 2013 23:31:05 +0000 (00:31 +0100)]
Remove cpan/CPANPLUS-Dist-Build
Karl Williamson [Thu, 9 May 2013 00:27:42 +0000 (18:27 -0600)]
Remove core references to SVt_BIND
This scalar type was unused. This is the first step in using the slot
freed up for another purpose. The slot is now occupied by a temporary
placeholder named SVt_DUMMY.
Karl Williamson [Thu, 4 Apr 2013 03:16:52 +0000 (21:16 -0600)]
perlpacktut: nit
Karl Williamson [Thu, 9 May 2013 16:20:14 +0000 (10:20 -0600)]
Fix compiler warnings in regcomp.c
Ricardo Signes [Sat, 18 May 2013 14:30:40 +0000 (10:30 -0400)]
Perform all the "bump us to 5.19.0" work
...I hope.
Ricardo Signes [Sat, 18 May 2013 14:25:25 +0000 (10:25 -0400)]
regenerate META.json
Ricardo Signes [Sat, 18 May 2013 14:09:57 +0000 (10:09 -0400)]
regen feature.pm
Ricardo Signes [Sat, 18 May 2013 13:51:49 +0000 (09:51 -0400)]
bump the perldelta version
Ricardo Signes [Sat, 18 May 2013 13:48:01 +0000 (09:48 -0400)]
bump version to 5.19.0
Ricardo Signes [Fri, 17 May 2013 12:26:19 +0000 (08:26 -0400)]
final version and perlhist update for 5.18.0
Sebastien Aperghis-Tramoni [Fri, 17 May 2013 23:25:46 +0000 (01:25 +0200)]
update perlexperiment
- fixed a typo (%H instead of %^H)
- removed mention of Unicode support, which is so deep that I doubt that
it could ever be removed
- added the following items to the "Current experiments" section
- alloccopstash
- cop_store_label
- gv_fetchmethod_*_flags
- op_scope
- op_lvalue
- Smart match (~~)
- Lexical $_
- Array and hash container functions accept references
- Regular Expression Set Operations
- moved the following items to the "Accepted features" section
- fork() emulation
- Weak references
- Internal file glob
- 64-bit support
- die accepts a reference
- DB module
- moved the following items to the "Removed features" section
- GetOpt::Long Options
- 5.005-style threading
- Test::Harness::Straps
- perlcc
- Assertions
- The pseudo-hash data type
I tried to add the corresponding Perl versions of when features were added
and accepted or removed, but used the stable versions as I searched in the
perldelta's.
Sebastien Aperghis-Tramoni [Fri, 17 May 2013 23:04:45 +0000 (01:04 +0200)]
fix wrong tense
Ricardo Signes [Thu, 16 May 2013 14:36:46 +0000 (10:36 -0400)]
update the release schedule
Ricardo Signes [Thu, 16 May 2013 14:02:39 +0000 (10:02 -0400)]
perldelta: document known failure on HP-UX 11.00
Ricardo Signes [Thu, 16 May 2013 02:52:33 +0000 (22:52 -0400)]
bump patchlevel and perlhist for RC4
Ricardo Signes [Thu, 16 May 2013 02:06:18 +0000 (22:06 -0400)]
perldelta: restate the changes to ${x} versus $x
Credit for improvements made in this commit to to khw. Blame for
anything else goes to rjbs.
Aristotle Pagaltzis [Thu, 16 May 2013 00:57:20 +0000 (02:57 +0200)]
perldelta: Clarify removal vs deprecation of modules
Karl Williamson [Thu, 16 May 2013 01:00:22 +0000 (19:00 -0600)]
perldelta: Use 'Here doc' consistently sans dash
This corresponds to perldiag, and was suggested by Zsbán Ambrus.
Karl Williamson [Thu, 16 May 2013 00:58:31 +0000 (18:58 -0600)]
Fix typo in perldelta
Spotted by Zsbán Ambrus
Zsbán Ambrus [Thu, 16 May 2013 00:57:45 +0000 (18:57 -0600)]
perldelta clarification
Ricardo Signes [Thu, 16 May 2013 00:25:06 +0000 (20:25 -0400)]
expand documentation of the \cK change
Ricardo Signes [Wed, 15 May 2013 23:59:09 +0000 (19:59 -0400)]
perldelta: add another hash overhaul cross reference
Leon Timmermans [Wed, 15 May 2013 21:04:03 +0000 (23:04 +0200)]
Clarified perldelta entry for UID/GID magic variables
Tony Cook [Wed, 15 May 2013 19:56:13 +0000 (15:56 -0400)]
Address [perl #117999] for now by skipping known bad test on AIX
Ricardo Signes [Wed, 15 May 2013 19:53:20 +0000 (15:53 -0400)]
perldelta: various fixes suggested by Dave Mitchell
Ricardo Signes [Wed, 15 May 2013 16:59:00 +0000 (12:59 -0400)]
perldelta: remove a literally incorrect "literal"
Ricardo Signes [Wed, 15 May 2013 01:32:55 +0000 (21:32 -0400)]
perldelta: collapse a bit of vertical space
Ricardo Signes [Wed, 15 May 2013 01:29:16 +0000 (21:29 -0400)]
perldelta: clarify the deprecation of non-PerlIO perl
James E Keenan [Wed, 15 May 2013 00:33:32 +0000 (20:33 -0400)]
Spelling correction.
Ricardo Signes [Tue, 14 May 2013 17:57:26 +0000 (13:57 -0400)]
perldelta: add obituary for AMORETTE
Aristotle Pagaltzis [Tue, 14 May 2013 02:42:35 +0000 (22:42 -0400)]
perldelta: minor nitpicks
Ricardo Signes [Tue, 14 May 2013 01:01:44 +0000 (21:01 -0400)]
bump patchlevel to RC3, update hist
Steve Hay [Tue, 14 May 2013 00:01:15 +0000 (20:01 -0400)]
fix extrefs text with SDK 2003
The attached patch (also inlined below) fixes the SDK2003 test failure
for me, and also passes with all the other VC++ compilers. (It isn't
easy trying to pinpoint the SDK2003 compiler individually, so it is
simpler to just do this for all VC++ compilers on Windows.)
Ricardo Signes [Mon, 13 May 2013 18:46:55 +0000 (14:46 -0400)]
perldelta: fix reported new version of Carp
Tony Cook [Sat, 11 May 2013 04:42:39 +0000 (14:42 +1000)]
[perl #117141] sometimes we just can't make fork fail, skip the test
Ricardo Signes [Sun, 12 May 2013 22:57:21 +0000 (18:57 -0400)]
bump patchlevel to RC2, update hist
Ricardo Signes [Sun, 12 May 2013 22:50:14 +0000 (18:50 -0400)]
perldelta: remove the "from version X" from module updates
too many were incorrect
Arthur Axel 'fREW' Schmidt [Fri, 10 May 2013 16:22:20 +0000 (11:22 -0500)]
perldelta: combine, merge, and edit "modules updated"
Ricardo Signes [Sun, 12 May 2013 22:30:23 +0000 (18:30 -0400)]
update CoreList for new Pod::Simple in 5.18.0
Chris 'BinGOs' Williams [Sun, 12 May 2013 13:48:18 +0000 (14:48 +0100)]
Update Pod-Simple to CPAN version 3.28
[DELTA]
2013-05-04 David E. Wheeler <david@justatheory.org>
* Release 3.28
Removed use of 'done_testing' in t/white.t, which was added in
v3.27. Thanks to Paul Howarth for the catch.
Fixed inproperly calculated number of skipped tests in t/xhtml01.t
when HTML::Entities is not intalled.
2013-05-03 David E. Wheeler <david@justatheory.org>
* Release 3.27
Added new warnings as defined by Pod::Checker, thanks to RJBS:
+ "=over" without "=back"
+ "L<>" starts or ends with whitespace
+ raw "|" or "/" in "L<text|link>" text
Added ->keep_encoding_directive, which is false by default, to
prevent formatters from emitting a document's '=encoding'
directive in most cases. That they emitted the encoding was a bug
introduced in v3.26 (RT #84093). Now, only the DumpAsText and
DumpAsXML formats set it to true. Patch from Patrice Dumas.
Ricardo Signes [Sat, 11 May 2013 02:57:59 +0000 (22:57 -0400)]
bump the version on Module::CoreList
Ricardo Signes [Sat, 11 May 2013 02:53:17 +0000 (22:53 -0400)]
set the patchlevel to RC1
Ricardo Signes [Sat, 11 May 2013 02:42:06 +0000 (22:42 -0400)]
perlhist: update for 5.18.0-RC1
including the "selected sizes" for 5.18.0
James E Keenan [Sat, 11 May 2013 12:02:53 +0000 (08:02 -0400)]
Applying typographical correction supplied by Andreas J. Koenig++.
For: RT #117959
Niko Tyni [Thu, 9 May 2013 18:49:16 +0000 (21:49 +0300)]
Fix -Wformat-security issues
Building with -Accflags="-Wformat -Werror=format-security"
triggers format string warnings from gcc.
As gcc can't tell that all the strings are constant here,
explicitly pass separate format strings to make it happy.
SHIRAKATA Kentaro [Fri, 10 May 2013 16:57:14 +0000 (01:57 +0900)]
nitpicks
Also, commas around 'for example'.
Ricardo Signes [Fri, 10 May 2013 18:24:27 +0000 (14:24 -0400)]
perldelta: no warnings will do no good if you leave out "warnings"
Ricardo Signes [Fri, 10 May 2013 17:26:41 +0000 (13:26 -0400)]
perldelta: document the experimental smartmatch change
Ricardo Signes [Fri, 10 May 2013 17:26:22 +0000 (13:26 -0400)]
perldelta: add "how to disable" to experimental warnings
Ricardo Signes [Fri, 10 May 2013 14:16:16 +0000 (10:16 -0400)]
perldelta: remove placeholders for module changes
I hope to add summaries of these, but for now I will act like we will
not have them.
Andy Dougherty [Fri, 10 May 2013 09:19:57 +0000 (19:19 +1000)]
[perl #66604] 64bit compilation Problem on Solaris x86_64
hints changes
Andy Dougherty [Fri, 10 May 2013 09:19:17 +0000 (19:19 +1000)]
[perl #66604] 64bit compilation Problem on Solaris x86_64
Configure changes
Chris 'BinGOs' Williams [Fri, 10 May 2013 11:57:57 +0000 (12:57 +0100)]
Add repository and bugtracker META to Module-CoreList Makefile.PL
Ricardo Signes [Fri, 10 May 2013 02:40:35 +0000 (22:40 -0400)]
update Module::CoreList for v5.18.0
Ricardo Signes [Fri, 10 May 2013 02:33:20 +0000 (22:33 -0400)]
perldelta: acknowledgements
Karl Williamson [Thu, 9 May 2013 05:06:17 +0000 (23:06 -0600)]
Fix regex /il and /iaa failures for single element [] class
This was a regression introduced in the v5.17 series. It only affected
UTF-8 encoded patterns. Basically, the code here should have
corresponded to, and didn't, similar logic located after the defchar:
label in this file, which is executed for the general case (not stemming
from a single element [bracketed] character class node).
We don't fold code points 0-255 under locale, as those aren't known
until run time. Similarly, we don't allow folds that cross the 255/256
boundary, as those aren't well-defined; and under /aa we don't allow
folds that cross the 127/128 boundary.
David Mitchell [Thu, 9 May 2013 15:57:56 +0000 (16:57 +0100)]
further tweak SvPV() docs
Make it clear that a different pointer may be returned each time.
Ricardo Signes [Thu, 9 May 2013 15:33:03 +0000 (11:33 -0400)]
perldelta: remove some placeholders
H.Merijn Brand [Wed, 8 May 2013 15:59:35 +0000 (17:59 +0200)]
regenerated uconfig
H.Merijn Brand [Wed, 8 May 2013 15:31:03 +0000 (17:31 +0200)]
More spellchecks
H.Merijn Brand [Wed, 8 May 2013 14:16:35 +0000 (16:16 +0200)]
Spell-checking on meta-units
Tried to be as consistent as possible.
Removed all trailing whitespace of changed files.
Resyncs Glossary from previously missed updates.
H.Merijn Brand [Wed, 8 May 2013 14:12:56 +0000 (16:12 +0200)]
maildomain to support /etc/mailname
Now backported to upstream dist/meta
Ricardo Signes [Thu, 9 May 2013 14:35:06 +0000 (10:35 -0400)]
perldelta: "single character" is clearer than "length one"
David Mitchell [Thu, 9 May 2013 14:32:24 +0000 (15:32 +0100)]
porting/podcheck.t: improve diagnostic
If a test fails because the number of warnings for a pod file was more
than expected, make it clear in the diag output that it was indeed
why it failed.
David Mitchell [Thu, 9 May 2013 14:17:10 +0000 (15:17 +0100)]
clarify SvPV* and SvPV_force* docs
See RT #116407.
Make it clear that SvPV(sv) does not always equal SvPVX(sv), and to use
SvPV_force() if necessary. Also, clarify that SvPV_force() will destroy
any non-string content like a reference. Then, make the other SvPV*
descriptions in general refer back to SvPV() or SvPV_force(), so that
people will spot these added caveats.
Nicholas Clark [Sat, 14 Apr 2012 13:51:33 +0000 (15:51 +0200)]
Remove PERL_ASYNC_CHECK() from Perl_leave_scope().
PERL_ASYNC_CHECK() was added to Perl_leave_scope() as part of commit
f410a2119920dd04, which moved signal dispatch from the runloop to
control flow ops, to mitigate nearly all of the speed cost of safe
signals.
The assumption was that scope exit was a safe place to dispatch signals.
However, this is not true, as parts of the regex engine call
leave_scope(), the regex engine stores some state in per-interpreter
variables, and code called within signal handlers can change these
values.
Hence remove the call to PERL_ASYNC_CHECK() from Perl_leave_scope(), and
add it explicitly in the various OPs which were relying on their call to
leave_scope() to dispatch any pending signals. Also add a
PERL_ASYNC_CHECK() to the exit of the runloop, which ensures signals
still dispatch from S_sortcv() and S_sortcv_stacked(), as well as
addressing one of the concerns in the commit message of
f410a2119920dd04:
Subtle bugs might remain - there might be constructions that enter
the runloop (where signals used to be dispatched) but don't contain
any PERL_ASYNC_CHECK() calls themselves.
Finally, move the PERL_ASYNC_CHECK(); added by that commit to pp_goto to
the end of the function, to be consistent with the positioning of all
other PERL_ASYNC_CHECK() calls - at the beginning or end of OP
functions, hence just before the return to or just after the call from
the runloop, and hence effectively at the same point as the previous
location of PERL_ASYNC_CHECK() in the runloop.
Ricardo Signes [Thu, 9 May 2013 13:39:02 +0000 (09:39 -0400)]
perldelta: update how we talk about COW
Ricardo Signes [Thu, 9 May 2013 13:23:14 +0000 (09:23 -0400)]
perldelta: use v5.x rather than 5.x
Suggested by Nicholas Clark:
The text refers to perl version numbers as 5.12, 5.12.x, 5.12.3
v5.12, v5.12.3. I think it would be best if it were consistent with
a v as either v5.12 for the series, or v5.12.3 for a particular
release. Specifically because use 5.12.3; works, but use 5.12;
doesn't.
Ricardo Signes [Thu, 9 May 2013 13:16:04 +0000 (09:16 -0400)]
perldelta: we suspect no known problems..?
Ricardo Signes [Thu, 9 May 2013 13:14:52 +0000 (09:14 -0400)]
perldelta: typo fix
from Nicholas Clark
Ricardo Signes [Thu, 9 May 2013 13:14:39 +0000 (09:14 -0400)]
perldelta: use UTF-8 when we mean UTF-8
most of these changes from Nicholas Clark
Ricardo Signes [Thu, 9 May 2013 13:13:09 +0000 (09:13 -0400)]
perldelta: warn of more platform deprecation
Ricardo Signes [Thu, 9 May 2013 13:12:38 +0000 (09:12 -0400)]
perldelta: correct "new hash function" entry