Karl Williamson [Sun, 6 Dec 2009 05:21:38 +0000]
qr/\X/ expansion
hv@crypt.org [Sat, 5 Dec 2009 00:50:02 +0000]
t/test.pl fresh_perl_like() bug
The existing code does the wrong thing if a string (rather than a compiled
regexp) is supplied for $expected. Happily perl will do the right thing
if you let it.
Hugo
Message-Id: <
200912041444.nB4EiqBj004436@zen.crypt.org>
Craig A. Berry [Fri, 4 Dec 2009 23:48:27 +0000]
Port lib/unicore/mktables to VMS.
This is mostly just making filename comparisons and lookups of filenames
in hashes case blind, which is necessary since filename case is not
(by default) preserved.
Nicholas Clark [Fri, 4 Dec 2009 15:16:04 +0000]
Silence Win32 compiler warning
Subject: Re: Smoke [5.11.2] v5.11.2-105-gc2123ae FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)
Message-ID: <
20091204140536.GD2582@plum.flirble.org>
(amended to fix the obvious typo)
Reini Urban [Thu, 3 Dec 2009 19:47:55 +0000]
pp_sort.c typo: stabilty
I'm now working on the sort code in th perl compiler as you can see :)
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
From
b8c749be70f51499fe1ffd9e483ee3a0a8305d9b Mon Sep 17 00:00:00 2001
From: Reini Urban <rurban@cpan.org>
Date: Thu, 3 Dec 2009 19:44:57 +0000
Subject: [PATCH] fix typo: stabilty
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Nicholas Clark [Thu, 3 Dec 2009 10:07:51 +0000]
Another C<return NORMAL> needed post
bb4c52e023e0, missed from 805bf316c58a.
Rafael Garcia-Suarez [Thu, 3 Dec 2009 10:34:08 +0000]
Revert makefile part of the Unicode 5.2 patch
lib/unicore/version was getting removed by "make distclean".
Rafael Garcia-Suarez [Thu, 3 Dec 2009 10:25:12 +0000]
Add new Unicode data file in MANIFEST
Karl Williamson [Thu, 3 Dec 2009 04:36:17 +0000]
Unicode 5.2
Tony Cook [Thu, 3 Dec 2009 09:20:09 +0000]
[perl #70802] -i'*' refuses to work
Nicholas Clark [Wed, 2 Dec 2009 16:01:10 +0000]
Ensure that pp_qr returns a new regexp SV each time. Resolves RT #69852.
Instead of returning a(nother) reference to the (pre-compiled) regexp in the
optree, use reg_temp_copy() to create a copy of it, and return a reference to
that. This resolves issues about Regexp::DESTROY not being called in a timely
fashion (the original bug tracked by RT #69852), as well as bugs related to
blessing regexps, and of assigning to regexps, as described in correspondence
added to the ticket.
It transpires that we also need to undo the SvPVX() sharing when ithreads
cloning a Regexp SV, because mother_re is set to NULL, instead of a cloned
copy of the mother_re. This change might fix bugs with regexps and threads in
certain other situations, but as yet neither tests nor bug reports have
indicated any problems, so it might not actually be an edge case that it's
possible to reach.
Karl Williamson [Tue, 1 Dec 2009 05:32:23 +0000]
work-around Carp/overloading miniperl problem
Jan Dubois [Wed, 2 Dec 2009 09:34:18 +0000]
Cleanup all scopes before exiting a pseudo-forked process.
perl_destruct() contains an assertion that the scope stack
is empty. The remaining scopes are due to fork() being
called from within a BEGIN block.
Jan Dubois [Wed, 2 Dec 2009 07:11:03 +0000]
Revert commit
cbdd5331.
Commit
a09dc31d1 says:
It's possible that someone has built a module with -DDEBUGGING,
but they're using it against a perl built non-DEBUGGING, [...]
which means that the PL_scopestack_name symbol must always be exported.
Jan Dubois [Wed, 2 Dec 2009 07:03:09 +0000]
Add another hint about setting WIN64=undef to build a 32-bit Perl.
Of course anyone who read README.win32 already knew this. :)
Jan Dubois [Wed, 2 Dec 2009 06:55:55 +0000]
Don't redefine isnan() macro if MinGW already defined one.
Leon Brocard [Tue, 1 Dec 2009 13:45:42 +0000]
Update to reflect that I release 5.11.2
Tony Cook [Tue, 1 Dec 2009 11:25:39 +0000]
-Dmad: double free or corruption
> If your perl has -Dmad, the following program crashes:
>
> $ bleadperl -we '$x="x" x 257; eval "for $x"'
> *** glibc detected *** bleadperl: double free or corruption (!prev): 0x
0000000001dca670 ***
Change
6136c704 changed S_scan_ident from:
e = d + destlen - 3;
to:
register char * const e = d + destlen + 3;
where e is used to mark the end of the buffer, this meant that the
various buffer end checks allowed the various buffers supplied
S_scan_ident to overflow.
Attached is a fix, various tests with fencepost checks on different
identifier lengths, and the specific case mentioned in the ticket.
Tony
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Nicholas Clark [Tue, 1 Dec 2009 11:25:37 +0000]
make regen_perly following
5ca68648d92617d8.
Tony Cook [Tue, 1 Dec 2009 08:12:30 +0000]
-Dmad broken for c++
On Tue, Dec 01, 2009 at 08:22:38AM +0100, H.Merijn Brand wrote:
> perly.y: In function 'int Perl_madparse(PerlInterpreter*)':
> perly.y:335: error: cast from 'TOKEN*' to 'line_t' loses precision
> perly.y:348: error: cast from 'TOKEN*' to 'line_t' loses precision
> perly.y:430: error: cast from 'TOKEN*' to 'line_t' loses precision
Uses the same mechanism used in if, unless to retrieve an ival set in
toke.c
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Rafael Garcia-Suarez [Mon, 30 Nov 2009 23:21:17 +0000]
Make the new test work in the core and bump version of Safe to 2.20
Tim Bunce [Mon, 30 Nov 2009 23:15:21 +0000]
[rt.cpan.org #51574] Safe.pm sort {} bug accessing $a and $b with -Dusethreads
Eric Brine [Sat, 28 Nov 2009 04:52:41 +0000]
Test modifiability of range elements
Zefram [Mon, 30 Nov 2009 10:42:14 +0000]
Document if.pm in perlfunc
Rafael Garcia-Suarez [Mon, 30 Nov 2009 09:30:41 +0000]
Make distclean work again
Eric Brine [Fri, 27 Nov 2009 00:16:16 +0000]
Fix -DPERL_NO_UTF16_FILTER
Rafael Garcia-Suarez [Sun, 29 Nov 2009 22:30:45 +0000]
Make split warn in void context
Nicholas Clark [Sun, 29 Nov 2009 19:02:05 +0000]
Handle $@ being assigned a read-only value (without error or busting the stack).
Discovered whilst investigating RT #70862.
Nicholas Clark [Sun, 29 Nov 2009 16:42:42 +0000]
Fix RT #70862 by converting ERRSV to GvSVn() to ensure a non-NULL GvSV().
Steve Peters [Sun, 29 Nov 2009 05:45:10 +0000]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead
Steve Peters [Sun, 29 Nov 2009 05:43:11 +0000]
Add error codes for getaddrinfo() and getnameinfo()
Karl Williamson [Sat, 28 Nov 2009 19:04:34 +0000]
mktables performance improvement
The attached patch got the easiest performance improvements to mktables.
Hopefully this is good enough for now.
This involved:
1) Nicholas' patch
2) I stored complete_name instead of recomputing it each time.
3) Used $_[xxx] instead of shift in very heavily used subroutines
4) removed trace accidentally left in.
I also changed the misspelled subroutine name discovered by Craig Berry.
I searched for any other misspellings and didn't find any.
Also removed trailing white space that keeps creeping back in, and now
this doesn't generate pod entries if not outputting a pod file, and
clarified warning message if no mktables.lst is present.
I couldn't figure out a way to conditionally use 'no overloading', as
it is called at compile time. So I just commented out the old stuff
that will work for 5.8, with a note about using that if you want to
use 5.8
Moritz Lenz [Thu, 26 Nov 2009 23:33:09 +0000]
Document backreferences to groups that did not match
Also add a test for that, fill in test description, and sneak in a vim
modeline for re_tests
Vincent Pit [Sat, 28 Nov 2009 12:27:02 +0000]
Allow a closing brace after an "use VERSION"
This fixes [perl #70884] : use VERSION in BLOCK without semicolon -> syntax error
Zefram [Thu, 26 Nov 2009 16:41:22 +0000]
-Dmad minitest failure bisect
I wrote:
>In my tests with -Dmad, I'm still getting a test failure ("panic: input
>overflow") from t/op/incfilter.t. The underlying problem is the filter
>layer mishandling things when a filter function gives it a multiline
>string, so it generates an invalid SV state (strlen(SvPVX(PL_linestr))
>> SvCUR(PL_linestr)). This faulty state also occurs without -Dmad,
>and so doesn't appear to be Mad-related, it just doesn't in practice
>cause the test panic without -Dmad. I'm investigating this bug now.
It's fixed by the attached patch. Since the bug is an inconsistency
in the SV data structure, it can't be sensibly tested from Perl code,
so I'm at a loss for writing a test script. Hopefully that panic with
-Dmad is sufficient.
-zefram
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Zefram [Thu, 26 Nov 2009 15:19:09 +0000]
-Dmad minitest failure bisect
Tony Cook wrote:
>Smokes with -Dmad have been failing during make minitest since the
>middle of last month.
Mostly fixed by the attached patch. The fault is a logic error on my
part, probably from the early phase of developing the lexer API patch,
when I didn't properly understand the various buffer pointer variables.
In my tests with -Dmad, I'm still getting a test failure ("panic: input
overflow") from t/op/incfilter.t. The underlying problem is the filter
layer mishandling things when a filter function gives it a multiline
string, so it generates an invalid SV state (strlen(SvPVX(PL_linestr))
> SvCUR(PL_linestr)). This faulty state also occurs without -Dmad,
and so doesn't appear to be Mad-related, it just doesn't in practice
cause the test panic without -Dmad. I'm investigating this bug now.
-zefram
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Tim Bunce (via RT) [Wed, 25 Nov 2009 11:02:24 +0000]
perlbug reports "Message sent" even when it hasn't
perlbug doesn't check the return status of Mail::Send and so reports
"Message sent" even if it hasn't:
Zefram [Wed, 25 Nov 2009 22:17:52 +0000]
perl-5.11.2 breaks NYTProf savesrc option (Lexer API suspected)
Tim Bunce wrote:
>The primary issue is the off-by-one error in the array indexing.
There's a bit more to it than that. The indexing was off-by-one for
*some* places that process a new line, but correct for others, so the
saved source as a whole was mangled rather than simply offset. Also,
there were some redundant calls to update_debugger_info(), so some lines
got saved twice, in some cases off-by-one for one saving and not for
the other. The saved source is, therefore, hopelessly broken in 5.11.2.
Attached patch fixes the source saving. Includes a new test, which works
through all reachable places that source lines get saved. This should
close RT #70804.
-zefram
Jesse Vincent [Wed, 25 Nov 2009 20:47:41 +0000]
Jerry's last patch to add a TODO test didn't update the test count.
Thanks to Nicholas++ for pointing this out
Jesse Vincent [Wed, 25 Nov 2009 18:47:38 +0000]
Moved the original test file from the previous patch into t/op/lex.t,
Aded details on the bug it fixes to the tests.
Gerard Goossen [Tue, 24 Nov 2009 11:13:13 +0000]
add interpolation test for [perl #70091]
(Updated by Jesse Vincent to put the test in comp rather than a new
toplevel test directory)
Gerard Goossen [Tue, 24 Nov 2009 11:06:55 +0000]
Also skip spaces after variable if we are within lexical brackets. Fixes #70091: Segmentation fault in hash lookup in regex substitution
Gerard Goossen [Tue, 24 Nov 2009 10:27:04 +0000]
Add assertions that pp_padav and pp_padhv push scalars of the correct type.
Karl Williamson [Wed, 25 Nov 2009 15:30:57 +0000]
further windows makefiles fixes
Message-ID: <
4B0D4F71.3010606@khwilliamson.com>
Karl Williamson [Tue, 24 Nov 2009 20:47:37 +0000]
wrap uniprops.t; makefile changes for mktables
Message-ID: <
4B0C4744.7080401@khwilliamson.com>
Jerry D. Hedden [Tue, 24 Nov 2009 21:26:08 +0000]
Add TODO test for perl #70748
Rafael Garcia-Suarez [Tue, 24 Nov 2009 12:51:21 +0000]
Bump version and regenerate warnings.pm
Andrew Rodland [Sat, 14 Nov 2009 09:08:46 +0000]
Add tests.
Andrew Rodland [Sat, 14 Nov 2009 07:26:09 +0000]
Add code and starting perldoc for warnings::fatal_enabled.
This is an analog for warnings::enabled, except it tests whether the
given category has been set fatal using "use warnings FATAL => foo".
This is mostly for symmetry.
Assumes that the fatal bit for a category will have an offset one higher
than the regular bit for the category, because otherwise much rewriting
of __chk would be required.
Steve Hay [Tue, 24 Nov 2009 11:02:58 +0000]
Add missing library to VC++ section of Win32 dmake makefile
Steve Hay [Tue, 24 Nov 2009 10:51:54 +0000]
Avoid circularity in $(LINK_FLAGS) definition in Win32 dmake makefile
Jim Cromie [Mon, 23 Nov 2009 21:47:07 +0000]
cleanup get_arena param-names, mark as May-Change
new param-names reflect actual usage.
Mark as may-change so we can add a reqid field later.
Rafael Garcia-Suarez [Tue, 24 Nov 2009 09:46:21 +0000]
Slight rewording of last patch
Jim Cromie [Mon, 23 Nov 2009 18:57:15 +0000]
add mention of PERL_MEM_LOG in perlrun.pod
Rafael Garcia-Suarez [Tue, 24 Nov 2009 09:18:20 +0000]
Specify in Makefile what generates pod/perluniprops.pod
Steve Hay [Tue, 24 Nov 2009 09:22:42 +0000]
Rafael Garcia-Suarez [Tue, 24 Nov 2009 08:47:46 +0000]
Remove generated file pod/perluniprops.pod from the source distribution
Karl Williamson [Mon, 23 Nov 2009 23:26:16 +0000]
mktables not run unless needed
Tony Cook [Tue, 24 Nov 2009 06:44:56 +0000]
record version of Intel C during configure
Currently building with icc records an empty ccversion, the attached
change fixes that.
Tony
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
brian d foy [Tue, 24 Nov 2009 00:55:24 +0000]
* Remove some end-of-line whitespace from perlebcdic
brian d foy [Tue, 24 Nov 2009 00:53:39 +0000]
* Convert some pod files to UTF-8 (like all of the other pod files)
brian d foy [Tue, 24 Nov 2009 00:52:57 +0000]
* Reword the sentence about checking unlink failures
Steve Hay [Mon, 23 Nov 2009 23:04:41 +0000]
Fix code-before-declaration error on Win32 with recent VC++ compilers
(We only #define SET_INVALID_PARAMETER_HANDLER for VC2005 and later, so
users of earlier compilers will not have seen this error)
Jerry D. Hedden [Mon, 23 Nov 2009 15:34:04 +0000]
Upgrade to threads 1.75
Abigail [Mon, 23 Nov 2009 17:56:44 +0000]
Don't suggest Mail::Send isn't availble if we're ignoring it
Nicholas Clark [Mon, 23 Nov 2009 15:07:47 +0000]
Move change
c35076938c7236fb into embed.fnc, from the generated file proto.h
Jesse Vincent [Mon, 23 Nov 2009 14:38:10 +0000]
Added a perltodo about enabling/disabling individual warnings
Nicholas Clark [Mon, 23 Nov 2009 11:02:17 +0000]
Fix mktables calls in Win32 makefiles
Subject: Re: Smoke [5.11.2] v5.11.2-42-g02b203e FAIL(M) MSWin32 WinXP/.Net SP3 (x86/2 cpu)
Date: Mon, 23 Nov 2009 11:02:17 +0000
Message-ID: <
20091123110217.GU2582@plum.flirble.org>
Karl Williamson [Fri, 20 Nov 2009 18:02:01 +0000]
Make unicode semantics the default
David Golden [Mon, 23 Nov 2009 12:38:11 +0000]
disable Module::Build bundle_inc.t
Dennis Kaarsemaker [Sat, 21 Nov 2009 20:51:46 +0000]
More info about camel in perlrepository.pod
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Stepan Kasal [Mon, 23 Nov 2009 11:14:06 +0000]
fix logic for a workaround in POSIX.xs
There is the assignment "RETVAL = 0" to silence the compiler in case
it incorrectly reports return of an undefined value.
This assignment should be present whenever *any* of the symbols is
not defined. But the code was written so that the assignment was
compiled only when *none* of the symbols was defined.
Karl Williamson [Sat, 21 Nov 2009 00:14:30 +0000]
Use hex instead of octal for larger code points
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:44:17 +0000]
Add also mktables.lst to gitignore, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:35:31 +0000]
Add new pod file to various lists and makefiles
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:30:17 +0000]
Simplify title of perluniprops
The man standard requires the title to be on one line.
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:17:43 +0000]
Add deprecation of goto to inner scopes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:14:35 +0000]
Add Karl's text describing his Unicode property changes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:39:07 +0000]
Merge branch 'mktables' into blead
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:37:51 +0000]
Remove mktables.lst, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:10:38 +0000]
Add new generated file lib/unicore/Heavy.pl to gitignore
Also remove from there files that are no longer generated by mktables.
Rafael Garcia-Suarez [Sun, 22 Nov 2009 18:50:33 +0000]
Fix plan syntax in TAP output
Karl Williamson [Sun, 22 Nov 2009 06:45:28 +0000]
mktables revamp
Vincent Pit [Sat, 21 Nov 2009 21:07:31 +0000]
Jesse Vincent [Sat, 21 Nov 2009 19:27:39 +0000]
Resort MANIFEST - Latest Module::Build MANIFEST update broke sorting.
Rafael Garcia-Suarez [Sat, 21 Nov 2009 19:01:05 +0000]
Add new warning introduced by last patch in perldiag.
Gerard Goossen [Sat, 21 Nov 2009 11:16:07 +0000]
deprecate "goto" to jump into a construct
Gerard Goossen [Mon, 16 Nov 2009 12:58:24 +0000]
Force OP_REQUIRE to scalar context at the end of ck_require and don't let it become void context. Fixes problem with require not always being in scalar context.
Gerard Goossen [Mon, 16 Nov 2009 12:50:23 +0000]
Add a TODO test for "require" always being in scalar context.
Craig A. Berry [Sat, 21 Nov 2009 17:17:38 +0000]
Make -UDEBUGGING the default on VMS for 5.12.0.
Like it has been everywhere else for ages and ages. Also make
command-line selection of -UDEBUGGING and -DDEBUGGING work in
configure.com; before the only way to turn it off was by saying
no in answer to the interactive question.
Craig A. Berry [Sat, 21 Nov 2009 17:13:01 +0000]
Perl_pad_sv and Perl_hv_assert don't exist without -DDEBUGGING.
So let's not make them part of the API when they don't exist.
Craig A. Berry [Sat, 21 Nov 2009 17:09:47 +0000]
Declaration nit in vms.c's Perl_my_fwrite.
Don't use register storage class for something we later take the
address of.
David Golden [Sat, 21 Nov 2009 04:57:43 +0000]
Update generated Module::Build::ConfigData
Craig A. Berry [Sat, 21 Nov 2009 04:14:21 +0000]
Avoid logical name conflicts in File::Path::_rmtree on VMS.
already submitted upstream at:
http://rt.cpan.org/Public/Bug/Display.html?id=51588
Jan Dubois [Thu, 30 Apr 2009 23:53:20 +0000]
Always add a manifest resource to perl.exe to specify the <trustInfo>
settings for Windows Vista and later. Without this setting Windows
will treat perl.exe as a legacy application and apply various
heuristics like redirecting access to protected file system areas
(like the "Program Files" folder) to the users "VirtualStore"
instead of generating a proper "permission denied" error.
For VC8 and VC9 this manifest setting is automatically generated by
the compiler/linker (together with the binding information for their
respective runtime libraries); for all other compilers we need to
embed the manifest resource explicitly in the external resource file.
This change also requests the Microsoft Common-Controls version 6.0
(themed controls introduced in Windows XP) via the dependency list
in the assembly manifest. For VC8 and VC9 this is specified using the
/manifestdependency linker commandline option instead.
David Golden [Fri, 20 Nov 2009 20:08:48 +0000]
quick-fix broken Module::Build::Platforms::VMS
Abigail [Fri, 20 Nov 2009 18:05:40 +0000]
Update count
Abigail [Fri, 20 Nov 2009 18:01:48 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Fri, 20 Nov 2009 17:58:34 +0000]
Fix bug #68260
File::Find was not resolving paths of the form "/..////../" correctly.
Fixed by adding a quantifier to the substitution parameter in
contract_name().
Nicholas Clark [Fri, 20 Nov 2009 13:43:00 +0000]
Parse embed.fnc first, then cross-check consistency between it and =for apidoc