Nicholas Clark [Sun, 29 Nov 2009 16:42:42 +0000 (16: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 (23:45 -0600)]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead
Steve Peters [Sun, 29 Nov 2009 05:43:11 +0000 (23:43 -0600)]
Add error codes for getaddrinfo() and getnameinfo()
Karl Williamson [Sat, 28 Nov 2009 19:04:34 +0000 (12:04 -0700)]
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 (00:33 +0100)]
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 (13:27 +0100)]
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 (16:41 +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 (15:19 +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 (03:02 -0800)]
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 (22:17 +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 (15:47 -0500)]
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 (13:47 -0500)]
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 (12:13 +0100)]
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 (12:06 +0100)]
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 (11:27 +0100)]
Add assertions that pp_padav and pp_padhv push scalars of the correct type.
Karl Williamson [Wed, 25 Nov 2009 15:30:57 +0000 (08:30 -0700)]
further windows makefiles fixes
Message-ID: <
4B0D4F71.3010606@khwilliamson.com>
Karl Williamson [Tue, 24 Nov 2009 20:47:37 +0000 (13:47 -0700)]
wrap uniprops.t; makefile changes for mktables
Message-ID: <
4B0C4744.7080401@khwilliamson.com>
Jerry D. Hedden [Tue, 24 Nov 2009 21:26:08 +0000 (16:26 -0500)]
Add TODO test for perl #70748
Rafael Garcia-Suarez [Tue, 24 Nov 2009 12:51:21 +0000 (13:51 +0100)]
Bump version and regenerate warnings.pm
Andrew Rodland [Sat, 14 Nov 2009 09:08:46 +0000 (03:08 -0600)]
Add tests.
Andrew Rodland [Sat, 14 Nov 2009 07:26:09 +0000 (01:26 -0600)]
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 (11:02 +0000)]
Add missing library to VC++ section of Win32 dmake makefile
Steve Hay [Tue, 24 Nov 2009 10:51:54 +0000 (10:51 +0000)]
Avoid circularity in $(LINK_FLAGS) definition in Win32 dmake makefile
Jim Cromie [Mon, 23 Nov 2009 21:47:07 +0000 (14:47 -0700)]
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 (10:46 +0100)]
Slight rewording of last patch
Jim Cromie [Mon, 23 Nov 2009 18:57:15 +0000 (11:57 -0700)]
add mention of PERL_MEM_LOG in perlrun.pod
Rafael Garcia-Suarez [Tue, 24 Nov 2009 09:18:20 +0000 (10:18 +0100)]
Specify in Makefile what generates pod/perluniprops.pod
Steve Hay [Tue, 24 Nov 2009 09:22:42 +0000 (09:22 +0000)]
Rafael Garcia-Suarez [Tue, 24 Nov 2009 08:47:46 +0000 (09:47 +0100)]
Remove generated file pod/perluniprops.pod from the source distribution
Karl Williamson [Mon, 23 Nov 2009 23:26:16 +0000 (16:26 -0700)]
mktables not run unless needed
Tony Cook [Tue, 24 Nov 2009 06:44:56 +0000 (17:44 +1100)]
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 (18:55 -0600)]
* Remove some end-of-line whitespace from perlebcdic
brian d foy [Tue, 24 Nov 2009 00:53:39 +0000 (18:53 -0600)]
* 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 (18:52 -0600)]
* Reword the sentence about checking unlink failures
Steve Hay [Mon, 23 Nov 2009 23:04:41 +0000 (23:04 +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 (10:34 -0500)]
Upgrade to threads 1.75
Abigail [Mon, 23 Nov 2009 17:56:44 +0000 (18:56 +0100)]
Don't suggest Mail::Send isn't availble if we're ignoring it
Nicholas Clark [Mon, 23 Nov 2009 15:07:47 +0000 (15:07 +0000)]
Move change
c35076938c7236fb into embed.fnc, from the generated file proto.h
Jesse Vincent [Mon, 23 Nov 2009 14:38:10 +0000 (09:38 -0500)]
Added a perltodo about enabling/disabling individual warnings
Nicholas Clark [Mon, 23 Nov 2009 11:02:17 +0000 (11:02 +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 (11:02 -0700)]
Make unicode semantics the default
David Golden [Mon, 23 Nov 2009 12:38:11 +0000 (07:38 -0500)]
disable Module::Build bundle_inc.t
Dennis Kaarsemaker [Sat, 21 Nov 2009 20:51:46 +0000 (21:51 +0100)]
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 (12:14 +0100)]
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 (17:14 -0700)]
Use hex instead of octal for larger code points
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:44:17 +0000 (22:44 +0100)]
Add also mktables.lst to gitignore, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:35:31 +0000 (22:35 +0100)]
Add new pod file to various lists and makefiles
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:30:17 +0000 (22:30 +0100)]
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 (22:17 +0100)]
Add deprecation of goto to inner scopes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:14:35 +0000 (22:14 +0100)]
Add Karl's text describing his Unicode property changes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:39:07 +0000 (21:39 +0100)]
Merge branch 'mktables' into blead
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:37:51 +0000 (21:37 +0100)]
Remove mktables.lst, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:10:38 +0000 (21:10 +0100)]
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 (19:50 +0100)]
Fix plan syntax in TAP output
Karl Williamson [Sun, 22 Nov 2009 06:45:28 +0000 (23:45 -0700)]
mktables revamp
Vincent Pit [Sat, 21 Nov 2009 21:07:31 +0000 (22:07 +0100)]
Jesse Vincent [Sat, 21 Nov 2009 19:27:39 +0000 (14:27 -0500)]
Resort MANIFEST - Latest Module::Build MANIFEST update broke sorting.
Rafael Garcia-Suarez [Sat, 21 Nov 2009 19:01:05 +0000 (20:01 +0100)]
Add new warning introduced by last patch in perldiag.
Gerard Goossen [Sat, 21 Nov 2009 11:16:07 +0000 (12:16 +0100)]
deprecate "goto" to jump into a construct
Gerard Goossen [Mon, 16 Nov 2009 12:58:24 +0000 (13:58 +0100)]
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 (13:50 +0100)]
Add a TODO test for "require" always being in scalar context.
Craig A. Berry [Sat, 21 Nov 2009 17:17:38 +0000 (11:17 -0600)]
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 (11:13 -0600)]
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 (11:09 -0600)]
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 (23:57 -0500)]
Update generated Module::Build::ConfigData
Craig A. Berry [Sat, 21 Nov 2009 04:14:21 +0000 (22:14 -0600)]
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 (16:53 -0700)]
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 (15:08 -0500)]
quick-fix broken Module::Build::Platforms::VMS
Abigail [Fri, 20 Nov 2009 18:05:40 +0000 (19:05 +0100)]
Update count
Abigail [Fri, 20 Nov 2009 18:01:48 +0000 (19:01 +0100)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Abigail [Fri, 20 Nov 2009 17:58:34 +0000 (18:58 +0100)]
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 (13:43 +0000)]
Parse embed.fnc first, then cross-check consistency between it and =for apidoc
Nicholas Clark [Fri, 20 Nov 2009 13:42:04 +0000 (13:42 +0000)]
Synchronise "may change"/"experimental" flags between embed.fnc and =for apidoc
Nicholas Clark [Fri, 20 Nov 2009 11:03:04 +0000 (11:03 +0000)]
Merge near-duplicate code for 'api' and 'guts'.
Nicholas Clark [Fri, 20 Nov 2009 11:00:05 +0000 (11:00 +0000)]
Merge %apidocs and %gutsdocs into $docs{api} and $docs{guts}.
Moritz Lenz [Thu, 19 Nov 2009 14:32:19 +0000 (15:32 +0100)]
Clarify docs for implicit "next" on all "when" blocks
Rafael Garcia-Suarez [Fri, 20 Nov 2009 11:05:23 +0000 (12:05 +0100)]
Missing static storage class for some new static functions
Nicholas Clark [Fri, 20 Nov 2009 10:41:08 +0000 (10:41 +0000)]
Fix up the NAME in perl5112delta.pod
(It needs to be this way to make search.cpan.org generate the right links)
This step is already described in release_managers_guide.pod.
Nicholas Clark [Fri, 20 Nov 2009 10:23:54 +0000 (10:23 +0000)]
Always bless filehandles into IO::Handle:: - don't try for FileHandle:: first.
Given that FileHandle "is now a front-end to the IO::* classes" it seems
wasted effort to indirect through it.
Chris Williams [Fri, 20 Nov 2009 09:41:34 +0000 (09:41 +0000)]
Updated Module::CoreList Changes etc for a CPAN release
Leon Brocard [Fri, 20 Nov 2009 07:43:44 +0000 (07:43 +0000)]
create perl5113delta
Leon Brocard [Fri, 20 Nov 2009 07:39:20 +0000 (07:39 +0000)]
Fix perldelta_template extension
Leon Brocard [Fri, 20 Nov 2009 07:31:28 +0000 (07:31 +0000)]
Tiny English fix
brian d foy [Fri, 20 Nov 2009 00:38:30 +0000 (18:38 -0600)]
* Note that unlink sets $! on failure.
The docs to unlink didn't explicitly note that it set $! on
failure, unlike the docs on some other system calls do.
While I was in there, I cleansed the entry a little and
added an example of unlinking files one-by-one to find
the ones that fail.
Modern Perl fix: let's call a glob a glob() and not a <*>.
This problem was noted on the Perl Beginner's list:
http://www.nntp.perl.org/group/perl.beginners/2009/11/msg110062.html
brian d foy [Fri, 20 Nov 2009 00:30:12 +0000 (18:30 -0600)]
* Fixing inconsistent use of tabs in perlfunc. Now it's spaces spaces spaces.
brian d foy [Fri, 20 Nov 2009 00:10:48 +0000 (18:10 -0600)]
* FAQ sync for Nov blead release
This comes from
028b6d17a07335707c2b234cb69ac4051ed48435 in
git@github.com:briandfoy/perlfaq.git
brian d foy [Thu, 19 Nov 2009 23:56:12 +0000 (17:56 -0600)]
* Fixed sort example using =(\d+)
The example wanted to sort a list like qw(=1 =2 =a =3 =d). One
example tried to be clever with array indices and precomputed
an array in @nums. However, it forgot to leave holes for the
elements where it could not extract a run of digits. Once the
indices were misaligned, the sort didn't give the right answer.
I know you can read the patch, but since I fixed whitespace too,
a simple diff gives you a lot of output. The old example had:
for (@old) {
push @nums, /=(\d+)/;
push @caps, uc($_);
}
The new one keeps the indices aligned by using undef when the
match failed:
for (@old) {
push @nums, ( /=(\d+)/ ? $1 : undef );
push @caps, uc($_);
}
This issue was reported on Stackoverflow:
http://stackoverflow.com/questions/1754441
Leon Brocard [Thu, 19 Nov 2009 17:23:47 +0000 (17:23 +0000)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Leon Brocard [Thu, 19 Nov 2009 17:15:49 +0000 (17:15 +0000)]
Module::CoreList updated for the real 5.11.2, including Module::Build changes
Nicholas Clark [Thu, 19 Nov 2009 17:05:54 +0000 (17:05 +0000)]
Convert the shell pipeline for the list of committers to a Perl 1 liner.
To me it feels better to promote our own dogfood.
Leon Brocard [Thu, 19 Nov 2009 16:56:37 +0000 (16:56 +0000)]
The lexer API is very exciting, but only mention it once
Leon Brocard [Thu, 19 Nov 2009 16:50:23 +0000 (16:50 +0000)]
Run Porting/podtidy
Leon Brocard [Thu, 19 Nov 2009 16:49:24 +0000 (16:49 +0000)]
Add details of module updates
Leon Brocard [Thu, 19 Nov 2009 16:36:50 +0000 (16:36 +0000)]
Delete a few more sections
Leon Brocard [Thu, 19 Nov 2009 16:29:40 +0000 (16:29 +0000)]
Delete sections, add a bunch more
H.Merijn Brand [Thu, 19 Nov 2009 16:19:09 +0000 (17:19 +0100)]
Merge branch 'blead' of perl5.git.perl.org:/gitroot/perl into blead
H.Merijn Brand [Thu, 19 Nov 2009 16:18:28 +0000 (17:18 +0100)]
Sync AUTHORS and Porting/checkAUTHORS.pl with Changelogs
Leon Brocard [Thu, 19 Nov 2009 16:09:51 +0000 (16:09 +0000)]
Mention how to generate stats for the Acknowledgements
Frank Wiegand [Thu, 19 Nov 2009 11:34:20 +0000 (12:34 +0100)]
Fix POD: C<...->...> => C<< ...-> ... >>
Signed-off-by: Abigail <abigail@abigail.be>
David Golden [Thu, 19 Nov 2009 13:04:04 +0000 (08:04 -0500)]
Updated Module::Build to 0.35_09
0.35_09 - Thu Nov 19 01:30:42 EST 2009
Bug fixes:
- The DB package should not be included in 'provides' in META files
[David Golden]
- Fixed t/xs.t build failures in bleadperl for noexec temp directories
[Nicholas Clark]
- Adjusted order of @INC in resume() (fixes par.t, ppm.t, xs.t fails):
@INC = @new_additions_to_inc, @saved_additions_to_inc, @default_inc
[David Golden]
- Skip bundle_inc.t tests if bundled Module::Build for test can't be
tweaked (Works around test crashes on Win2) [David Golden]
Other:
- 'C_support' is no longer an optional feature. Modern ExtUtils::CBuilder
and ExtUtils::ParseXS added to the 'requires' list. This ensures that
upgrading Module::Build will upgrade this critical modules.
ExtUtils::CBuilder no longer requires a compiler, so it is "safe" to
require.