Rafael Garcia-Suarez [Thu, 15 Apr 2010 08:54:32 +0000]
[perl #74372] := warning not in perldiag
Missing warning description noticed by Zefram
Karl Williamson [Wed, 14 Apr 2010 03:25:36 +0000]
PATCH: [perl #72998] regex looping
If a character folds to multiple ones in case-insensitive matching,
it should not match just one of those, or the regular expression can
loop. For example, \N{LATIN SMALL LIGATURE FF} folds to 'ff', and so
"\N{LATIN SMALL LIGATURE FF}" =~ /f+/i
should match. Prior to this patch, this function returned that there is
a match, but left the matching string pointer at the beginning of the
"\N{LATIN SMALL LIGATURE FF}" because it doesn't make sense to match
just half a character, and at this level it doesn't know about the '+'.
This leaves things in an inconsistent state, with the reporting of a
match, but the input pointer unchanged, the result of which is a loop.
I don't know how to fix this so that it correctly matches, and there are
semantic issues with doing so. For example, if
"\N{LATIN SMALL LIGATURE FF}" =~ /ff/i
matches, then one would think that so should
"\N{LATIN SMALL LIGATURE FF}" =~ /(f)(f)/i
But $1 and $2 don't really make sense here, since they both refer to the
half of the same character.
So this patch just returns failure if only a partial character is
matched. That leaves things consistent, and solves the problem of
looping, so that Perl doesn't hang on such a construct, but leaves the
ultimate solution for another day.
Rafael Garcia-Suarez [Thu, 15 Apr 2010 07:35:07 +0000]
Upgrade to CGI.pm 3.49
H.Merijn Brand [Wed, 14 Apr 2010 14:14:16 +0000]
Between parens is the unit name
Strip trailing blank. Manual fix after metaunit fix
3e6d782f8c2ac2b94d9f217b0a91989b144feca4
H.Merijn Brand [Wed, 14 Apr 2010 13:59:22 +0000]
Merge branches 'blead' and 'blead' of perl5.git.perl.org:/gitroot/perl into blead
Jesse Vincent [Wed, 14 Apr 2010 13:29:31 +0000]
Add the new maint policy to perlpolicy.pod
Zefram [Wed, 14 Apr 2010 12:05:57 +0000]
[perl #74038] c2ph (and pstruct) use the deprecated 'getopts.pl' library
Chris Williams [Wed, 14 Apr 2010 10:44:41 +0000]
Changes to CPANPLUS and CPANPLUS::Dist::Build tests
Add the utils/ dir to $ENV{PATH} if running under PERL_CORE for the
CPANPLUS/CPANPLUS-Dist-Build tests.
Both modules' testsuites require access to the cpanp-run-perl script
and the version in utils/ is already executable versus the version
in cpan/CPANPLUS/bin
David Mitchell [Wed, 14 Apr 2010 09:36:45 +0000]
add step to update RT version numbers in release_managers_guide
Zefram [Wed, 14 Apr 2010 07:29:15 +0000]
[perl #74006] 5.12.0-RC stuffing bug
There's a small bug in lex_stuff_pvn() that causes spurious syntax errors
in an obscure situation. It happens if stuffing is performed on the
last line of a file, and the line ends with a statement that lacks its
terminating semicolon. Attached patch fixes and adds test.
Craig A. Berry [Wed, 14 Apr 2010 02:55:58 +0000]
Allow extension building on older (pre 7.3-2) VMS systems.
DCL symbol length was limited to 1K up until about seven years or
so ago, but there was no particularly deep reason to prevent those
older systems from configuring and building Perl.
Craig A. Berry [Wed, 14 Apr 2010 00:51:31 +0000]
Clarify HAS_PRCTL_SET_NAME definition in Porting/Glossary.
David Golden [Wed, 14 Apr 2010 01:36:01 +0000]
Jesse Vincent [Tue, 13 Apr 2010 20:47:49 +0000]
Revert "Revert "* Fixed typo in toke.c docs, identified by Zefram""
This reverts commit
06164d6c3ad67ed7ba18030ae378f46f482a29af.
Josh ben Jore [Tue, 13 Apr 2010 14:53:12 +0000]
Add emacs/vim hints
Josh ben Jore [Tue, 13 Apr 2010 14:52:05 +0000]
Re-flow some errantly formatted pod
Josh ben Jore [Tue, 13 Apr 2010 06:48:25 +0000]
Detabify perldtrace.d
Nga Tang Chan [Tue, 13 Apr 2010 16:10:35 +0000]
[perl #73560] [PATCH] Fix typos in Pod::Functions
(also, bump $VERSION)
Rafael Garcia-Suarez [Tue, 13 Apr 2010 16:03:18 +0000]
Reintroduce a lot of missing modules into perlmodlib.pod
That was due to the great move of dual-life modules into cpan/ and
dist/. This fixes the bug: [perl #74332] lots of modules missing from
perlmodlib.
Father Chrysostomos [Tue, 13 Apr 2010 15:20:19 +0000]
[perl #73712] ‘Variable is not imported’ cannot be suppressed
The message ‘Variable "%s" is not imported’ cannot be suppressed, even
with -X (local $SIG{__WARN__}=sub{} is what I have to use):
perl -Xle '$foo;use strict; eval q/$foo/ or die "---$@---"'
Variable "$foo" is not imported at (eval 1) line 2.
---Global symbol "$foo" requires explicit package name at (eval 1) line 2.
--- at -e line 1.
This is because we have what appears to the user to be a multi-line
error message. It is in fact a warning ‘Variable...’ followed by an
error ‘Global symbol...’.
The attached patch assigns a warning category to the warning.
Chris Williams [Tue, 13 Apr 2010 15:08:23 +0000]
Fix the abstract in Module::CoreList's META.yml
Slaven Rezic [Mon, 29 Mar 2010 20:19:37 +0000]
* eliminated OP_SETSTATE also in comments
H.Merijn Brand [Tue, 13 Apr 2010 13:22:53 +0000]
Add d_prctl* for all other OS's
This was missing from
c796e3db23c597b99f07485542338844e61a6a69
H.Merijn Brand [Mon, 29 Mar 2010 08:16:44 +0000]
Probe for prctl () and check id PR_SET_NAME is supported
H.Merijn Brand [Wed, 24 Mar 2010 07:58:29 +0000]
Note how to deal with broken dbm.h on OpenSUSE
H.Merijn Brand [Mon, 15 Mar 2010 15:33:22 +0000]
Allow -Duse64bitint without promoting to use64bitall on HP-UX
Fix for http://rt.perl.org/rt3/Public/Bug/Display.html?id=17736
Frank Wiegand [Thu, 8 Apr 2010 20:16:30 +0000]
fix a2p example
David Mitchell [Tue, 13 Apr 2010 10:00:30 +0000]
fix minor casting issue
David Mitchell [Tue, 13 Apr 2010 10:00:09 +0000]
Merge commit 'origin/davem/post-5.12' into blead
Ævar Arnfjörð Bjarmason [Tue, 13 Apr 2010 09:48:20 +0000]
Before
96a8704c makedepend.SH used shell quote syntax that modern
shells barf on. Document how to work around this in the example bisect
script.
Ævar Arnfjörð Bjarmason [Tue, 13 Apr 2010 09:46:48 +0000]
When your bisect starts to go into perl-5.9.* territory `make -j4'
fails on Config.pm due to some race condition. This'll turn what would
otherwise be a bad/good report into skip.
Rafael Garcia-Suarez [Tue, 13 Apr 2010 09:45:11 +0000]
Fix test comment (noticed by Alex Vandiver)
Rafael Garcia-Suarez [Tue, 13 Apr 2010 09:42:12 +0000]
[perl #74198] Typo in perlop(1)
reported by rrt@sc3d.org
Rafael Garcia-Suarez [Fri, 9 Apr 2010 10:25:54 +0000]
when(scalar) without argument should be a syntax error [perl #74114]
Rafael Garcia-Suarez [Fri, 9 Apr 2010 10:29:04 +0000]
Ignore Devel/DProf test files in the git repository
Jesse Vincent [Tue, 13 Apr 2010 03:52:50 +0000]
Add the 5.13 deprecation stanza to Module::Corelist to make tests happy
Jesse Vincent [Tue, 13 Apr 2010 03:32:12 +0000]
feature.pm now knows about 5.13
Jesse Vincent [Tue, 13 Apr 2010 03:15:56 +0000]
Bump to 5.13.0
Jesse Vincent [Tue, 13 Apr 2010 03:03:05 +0000]
Create a perl5130delta.pod
Jesse Vincent [Mon, 12 Apr 2010 13:01:09 +0000]
Removing the RC marker from patchlevel.h
Jesse Vincent [Mon, 12 Apr 2010 12:43:28 +0000]
Revert "* Fixed typo in toke.c docs, identified by Zefram"
The commit was good, but we're in freeze for 5.12.0. I'd be happy to
see this hit blead again after 5.12.0 is tagged.
This reverts commit
675ac12c19e6fe00eff6e604a7d637bf621997ef.
David Mitchell [Sun, 11 Apr 2010 22:45:29 +0000]
remove 'enable taint if modify gid/uid' feature
If at runtime you modify any of any the id variables $<, $>, $(, $),
such that the id and effective id differ, perl used to enable tainting,
even if -T wasn't specified at startup.
This commit removes that feature. See
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2010-03/mail9.html
RT #67260
David Mitchell [Sun, 11 Apr 2010 14:52:43 +0000]
RT 8857: premature free in local of tied element
[The original bug report concerned local($_) remained tied, but while
looking at it, Nicholas found some related code that popped up premature
free errors. This commit fixes the freeing issue rather than the issue of
the original bug report ]
Background:
local $a[0]
does, approximately:
svp = av_fetch(av);
SAVE(av,*svp);
sv = newSV();
*svp = sv;
This used to leak when av was tied, as the new sv only got embedded in
*svp, which for tied arrays is a temporary placeholder rather than
somewhere within AvARRAY. This leak was fixed in 2002 by adding the
following:
if (SvTIED_mg(sv, PERL_MAGIC_tiedelem))
sv_2mortal(sv);
which worked, except for the following:
sub f { local $_[0] }
f($_) for ($tied[0]);
Here, @_ is a real array not a tied one, yet its first element is a
PERL_MAGIC_tiedelem which trigged the test above. So the sv got
mortalised *and* stored in the array, so got freed twice. The fix is
to test the *array/hash* for tied-ness rather than the element.
David Mitchell [Sun, 11 Apr 2010 14:23:17 +0000]
create SV leak test infrastructure
Add an sv_count() function to XS::APItest to allow access to PL_sv_count,
then add new test file t/op/svleak.t that allows you yo run a code
fragment a few times and test whether the number of allocated SVs has
increased
brian d foy [Sun, 11 Apr 2010 12:15:27 +0000]
* Fixed typo in toke.c docs, identified by Zefram
Jesse Vincent [Sat, 10 Apr 2010 03:20:36 +0000]
adjust release dates due to rc5
Josh ben Jore [Fri, 9 Apr 2010 20:44:09 +0000]
Add bug to known issues for perl-v5.12.0
Rafael Garcia-Suarez [Fri, 9 Apr 2010 12:19:00 +0000]
[perl #74168] Assertion failure when emitting a stricture error message
Jesse Vincent [Sat, 10 Apr 2010 03:17:44 +0000]
RC5 due to a regression reported by <mons@veda.park.rambler.ru>
David Mitchell [Thu, 8 Apr 2010 12:16:56 +0000]
fix RT 23810: eval and tied methods
Something like the following ended up corrupted:
sub FETCH { eval 'BEGIN{syntax err}' }
The croak on error popped back the context stack etc to the EVAL pushed by
entereval, but the corresponding JUMPENV_PUSH(3) unwound all the way to the
outer perl_run, losing all the mg_get() related parts of the C stack.
It turns out that the run-time parts of pp_entereval were protected with
a new JUMPENV level, but the compile-time parts weren't. Add this.
Jos Boumans [Tue, 6 Apr 2010 21:19:08 +0000]
Explicitly set the location of cpanp-run-perl when under PERL_CORE
CPANPLUS::Config checks 3 specific scenarios first
when looking for cpanp-run-perl: parallel to cpanp,
parallel to CPANPLUS.pm, or installed into a custom
prefix like /tmp/foo. Only *THEN* does it check the
the path.
If the perl core is extracted to a directory that has
cpanp-run-perl installed the same amount of 'uplevels'
as the /tmp/foo prefix, we'll pull in the wrong script
by accident.
Since we set the path to cpanp-run-perl explicitily
at the top of this script, it's best to update the config
ourselves with a path lookup, rather than rely on its
heuristics. Thanks to David Wheeler, Josh Jore and Vincent
Pit for helping to track this down.
Effects both CPANPLUS and CPANPLUS-Dist-Build
David Mitchell [Tue, 6 Apr 2010 19:53:45 +0000]
more mods to -Dl debugging output
Josh ben Jore [Mon, 5 Apr 2010 23:36:10 +0000]
Skip make_path group/user tests for darwin - it's nobody and nogroup ids are -1
Jesse Vincent [Mon, 5 Apr 2010 13:23:22 +0000]
Update perldelta for the removal of the deprecation warnings on perl4-era libraries.
Steffen Mueller [Mon, 5 Apr 2010 13:15:38 +0000]
Remove perl4-library deprecation warnings
After the recent, long discussion about this topic and demonstrated
cases where the deprecation warnings may actually *break* things, we
agreed on IRC to push the "active" deprecation warnings to after 5.12.
--Steffen
From
f1b2d650aa126e06fc270dd0a44b8a6bf0da6e2c Mon Sep 17 00:00:00 2001
From: Steffen Mueller <smueller@cpan.org>
Date: Mon, 5 Apr 2010 15:12:41 +0200
Subject: [PATCH] Remove deprecation warnings from perl4-era tools
The libraries still have deprecation warnings in their comments but the
mandatory run-time warnings are disabled until after 5.12.
Jesse Vincent [Mon, 5 Apr 2010 13:05:19 +0000]
Most of the REGEXP-massaging modules have now been updated.
Moved the single known-failing example to the errata page.
Jesse Vincent [Mon, 5 Apr 2010 13:06:58 +0000]
We're gonna have a fourth RC.
Jesse Vincent [Fri, 2 Apr 2010 19:22:22 +0000]
There's gonna be an RC3
Jesse Vincent [Fri, 2 Apr 2010 19:22:01 +0000]
untodo the no-longer-failing todo test for rgs' patch
Rafael Garcia-Suarez [Fri, 2 Apr 2010 19:19:24 +0000]
For evals, op_targ carry hint flags, which are pretty high when you're
using feature or another (recent) pragma. And previously we had to care
only about entereval, but now we can compile to entertry too.
Florian Ragwitz [Fri, 2 Apr 2010 18:25:03 +0000]
Add a TODO test for block evals segfaulting on syntax errors.
Jesse Vincent [Fri, 2 Apr 2010 18:07:57 +0000]
If the RC goes out today, the release goes out next friday
Curtis Jewell [Wed, 31 Mar 2010 06:57:10 +0000]
Adding Curtis Jewell to AUTHORS.
Curtis Jewell [Wed, 31 Mar 2010 06:54:44 +0000]
Specifying when the trimmed down Win64 compiler works.
Curtis Jewell [Wed, 31 Mar 2010 06:53:45 +0000]
Updating location of Strawberry's 64-bit toolchain.
Jesse Vincent [Fri, 2 Apr 2010 13:42:01 +0000]
Typo in perldelta found by Tom Wyant
Jesse Vincent [Thu, 1 Apr 2010 02:13:23 +0000]
5.12.0 is now expected on 7 April 2010
Ricardo Signes [Wed, 31 Mar 2010 20:40:57 +0000]
update the name of Task::Deprecations::5_12
Jesse Vincent [Wed, 31 Mar 2010 17:31:55 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
* 'blead' of ssh://perl5.git.perl.org/gitroot/perl:
Don't initialize end in pp_reverse when begin is NULL
More tests for in-place reverse (empty tied array)
Add a test for reversing in-place an empty array
Avoid a segfault when reversing an empty array in-place.
Jesse Vincent [Wed, 31 Mar 2010 17:31:18 +0000]
Updated perldelta to point to the not-yet-extant bundle for 5.12
core-deprecated modules
Vincent Pit [Wed, 31 Mar 2010 12:33:32 +0000]
Don't initialize end in pp_reverse when begin is NULL
This change is a complement to
572558b47236782e60e41bd235c96eae7cbca3db.
Arithmetic on null pointers isn't defined by the C standard, so it may crash even before entering the loop.
Rafael Garcia-Suarez [Wed, 31 Mar 2010 10:43:32 +0000]
More tests for in-place reverse (empty tied array)
Rafael Garcia-Suarez [Wed, 31 Mar 2010 09:32:16 +0000]
Add a test for reversing in-place an empty array
Rafael Garcia-Suarez [Wed, 31 Mar 2010 07:50:00 +0000]
Avoid a segfault when reversing an empty array in-place.
Jesse Vincent [Wed, 31 Mar 2010 03:16:57 +0000]
Remove potentially confusing strawman version numbers from the release
manager schedule
Jesse Vincent [Wed, 31 Mar 2010 03:02:33 +0000]
Reword a speculative message about building 32bit perls from INSTALL.
Spotted by Tim Jenness
Jesse Vincent [Wed, 31 Mar 2010 02:58:52 +0000]
Looks like we have an RC2 due to a segfault in reverse()
David Mitchell [Tue, 30 Mar 2010 19:26:31 +0000]
improve -Dl debugging output
In particular, distinguish between scope and context stack push/pops,
show depth of JUMPENV stack, and show STACKINFO push/pops
David Mitchell [Tue, 30 Mar 2010 14:03:50 +0000]
PL_defoutgv isn't always a GV.
Nasty code like the following results in PL_defoutgv not pointing
to a valid GV:
my $x = *STDERR; select($x); $x = 1;
This causes all sorts of SEGVs when PL_defoutgv is subsequently accessed,
because most code assumes that it has a valid gv_gp pointer. It also
turns out that PL_defoutgv is under-tested; for example, temporarily
hacking pp_close to make an arg-less close() croak didn't cause any
minitest failures.
Add a new test file that does some basic testing of a bad PL_defoutgv,
and fix all the obvious badness in accessing it.
This also fixes #20727, which although ostensibly a tie bug, was due to
PL_defoutgv pointing to a tiedelem scalar, and fun like that described
above happening.
David Golden [Tue, 30 Mar 2010 04:18:44 +0000]
rafl volunteers to release blead in August 2010
David Golden [Tue, 30 Mar 2010 04:11:56 +0000]
revise release manager schedule
Florian Ragwitz [Mon, 29 Mar 2010 17:59:30 +0000]
Document removal of -P in perldelta.
Also trim some trailing whitespace.
Jesse Vincent [Mon, 29 Mar 2010 15:44:32 +0000]
Assuming RC1 goes out today, .0 goes out on 5 April
Jesse Vincent [Mon, 29 Mar 2010 15:30:02 +0000]
Add an errata pointer to perldelta.
Slaven Rezic [Mon, 29 Mar 2010 11:55:21 +0000]
doc update: Storable cannot serialize REGEXP (yet)
Jesse Vincent [Mon, 29 Mar 2010 14:04:15 +0000]
Update perldelta to warn people that deprecated things weren't just deprecated in this release.
Jesse Vincent [Mon, 29 Mar 2010 13:47:10 +0000]
back out misguided change to brnaching time.
Jesse Vincent [Mon, 29 Mar 2010 13:12:43 +0000]
Begin bowing to public pressure toward an open blead;
document how to create a maint branch when RC1 comes out.
Jesse Vincent [Mon, 29 Mar 2010 03:51:48 +0000]
bump from rc0 to rc1.
Jesse Vincent [Mon, 29 Mar 2010 03:48:44 +0000]
Update perldelta to better warn users about the changes from the first-classification of regexps.
Karl Williamson [Sun, 28 Mar 2010 18:33:54 +0000]
A few edits
Rewording to clarify a few paragraphs; make table fit in 80 column
terminal; remove extra word; other slight edits
Karl Williamson [Sun, 28 Mar 2010 18:18:11 +0000]
Slight edits
Add index entries; reword a paragraph
Karl Williamson [Sun, 28 Mar 2010 18:16:35 +0000]
Slight edits
double word, make table fit in 80 column terminal
Craig A. Berry [Sun, 28 Mar 2010 19:58:54 +0000]
Spaces in filenames require non-default settings on VMS.
Specifically DECC$EFS_CHARSET must be enabled and not everything
plays nice with that, so for now this is a to-do.
David Mitchell [Sun, 28 Mar 2010 20:13:41 +0000]
remove tmp debugging from File/Copy.t
Karl Williamson [Sun, 28 Mar 2010 05:06:59 +0000]
Clarify that some examples are for ASCII machines
Karl Williamson [Sun, 28 Mar 2010 04:55:41 +0000]
Make whitespace a single word [perl #34462]
Karl Williamson [Sun, 28 Mar 2010 04:50:46 +0000]
Fix typos, minor wording changes, clarifications
Karl Williamson [Sun, 28 Mar 2010 04:45:53 +0000]
Bring up to date for 5.12; including POSIX
The regex documentation included changes that were put temporarily into
a 5.11 release, but not into 5.12. And there were a number of omissions.
I went through this pod and tried to make it reflect reality.
Karl Williamson [Sun, 28 Mar 2010 04:43:32 +0000]
Remove duplicate information and refer to other pods
Things were getting out of sync.