Rafael Garcia-Suarez [Sun, 31 May 2009 13:11:40 +0000]
Merge branch 'memleaktest' into blead
Rafael Garcia-Suarez [Sun, 31 May 2009 13:09:56 +0000]
Add regression test for [RT#63110]
This is based on a stand-alone test by Bram
Bram [Sun, 31 May 2009 12:47:49 +0000]
Document test structure
(was Re: [perl #56194] Regex: (((??{1 + $^N}))) behaves differently in
5.10.0 than in blead)
Adds some basic documentation about the test structure.
David Mitchell [Sat, 30 May 2009 16:17:45 +0000]
Fix Filter::Simple entry in Maintainers.pl
Rafael Garcia-Suarez [Sat, 30 May 2009 14:40:03 +0000]
Nicholas says that SvREFCNT_dec should be sufficient here
(instead of marking the SV as mortal.)
Alex Vandiver [Fri, 29 May 2009 20:21:22 +0000]
Fix [RT#6266] -- sv_pos_u2b expects to be called with a valid character index
sv_pos_u2b, when utf8 position caching is enabled, treats the uoffset
it is given as real, storing it away for lature use. sprintf, here,
passes the byte length of the string, which causes an invalid offset
to be cached.
Alex Vandiver [Sat, 30 May 2009 00:17:36 +0000]
Fix [RT#63110] -- two small memory leaks were introduced in 5b9c067
Rafael Garcia-Suarez [Sat, 30 May 2009 13:12:44 +0000]
Bump version of IPC::Open3
Slaven Rezic [Fri, 29 May 2009 16:05:43 +0000]
clarified documentation about using lexical $err in open3 call
Steffen Mueller [Thu, 28 May 2009 18:16:23 +0000]
Spelling nit
Rafael Garcia-Suarez [Fri, 29 May 2009 22:07:40 +0000]
Document the PERL_LOADMOD_ flags
Alex Vandiver [Thu, 28 May 2009 20:27:25 +0000]
Fix [RT#66098] -- stricter checking on SvIVX exposed a lack of SvIOK check
Nicholas Clark [Thu, 28 May 2009 13:15:53 +0000]
Add a guide to writing a perldelta.
Rafael Garcia-Suarez [Wed, 27 May 2009 08:47:22 +0000]
Merge branch 'blead' of camel:/gitroot/perl into blead
Andy Dougherty [Tue, 26 May 2009 18:18:27 +0000]
Catch interdependencies for static builds too
Rafael Garcia-Suarez [Tue, 26 May 2009 16:26:40 +0000]
Merge branch 'blead' of camel:/gitroot/perl into blead
Vincent Pit [Tue, 26 May 2009 16:09:15 +0000]
More tests for uninitialized warnings in ranges
Rafael Garcia-Suarez [Tue, 26 May 2009 15:41:43 +0000]
Merge branch 'blead' of camel:/gitroot/perl into blead
Vincent Pit [Tue, 26 May 2009 14:56:39 +0000]
Explicitely point to $. when it causes an uninitialized warning for ranges in scalar context
Rafael Garcia-Suarez [Tue, 26 May 2009 12:57:22 +0000]
A couple of nits in the ~~ perldelta entry
(Thanks to Ricardo)
Rafael Garcia-Suarez [Tue, 26 May 2009 12:00:35 +0000]
File tests were already treated as boolean in when()
It was just not documented in 5.10.0. So no need to mention this
as new in perldelta.
John E. Malmberg [Tue, 26 May 2009 04:12:28 +0000]
patch@2009-05-25.21:50:08 magic.t leaves $ENV{foo} on VMS.
This patches Magic.t to remove the $ENV{foo} it created on VMS.
This environment variable interferes with running other tests including
CPAN tests.
-John
wb8tyw@qsl.net
Personal Opinion Only
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
John E. Malmberg [Tue, 26 May 2009 04:26:26 +0000]
patch@2009-05-25.21:50:08 perl5db.t leaves db.out behind on VMS
This patch fixes lib/perl5db.t to not leave a db.out file behind on VMS
after a test run.
-John
wb8tyw@qsl.net
Personal Opinion Only
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
John E. Malmberg [Tue, 26 May 2009 04:47:34 +0000]
patch@2009-05-25.21:50:08 text-options.t file cleanup on VMS
This patch fixes lib/Pod/text-options.t to not leave tmp.pod and out.tmp
files behind on VMS.
-John
wb8tyw@qsl.net
Personal Opinion Only
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Rafael Garcia-Suarez [Mon, 25 May 2009 21:48:57 +0000]
Describe smart match and switch changes in perldelta
Rafael Garcia-Suarez [Mon, 25 May 2009 21:09:33 +0000]
Remove now-obsolete note on ~~ overloading working only on the right.
Rafael Garcia-Suarez [Mon, 25 May 2009 10:51:50 +0000]
Don't run mro/* tests under miniperl
Rafael Garcia-Suarez [Mon, 25 May 2009 10:39:27 +0000]
Skip tests that use attributes.pm under miniperl
Rafael Garcia-Suarez [Mon, 25 May 2009 10:22:16 +0000]
Fix test if Fcntl couldn't be loaded (for example with miniperl)
Rafael Garcia-Suarez [Mon, 25 May 2009 10:15:09 +0000]
Skip under miniperl (cannot load Fcntl)
Rafael Garcia-Suarez [Mon, 25 May 2009 09:59:03 +0000]
Skip tests if PerlIO::scalar is not available
Rafael Garcia-Suarez [Mon, 25 May 2009 09:23:08 +0000]
Avoid using Test::More in given/when tests
Rafael Garcia-Suarez [Mon, 25 May 2009 05:54:04 +0000]
Revert "Fix failing autodie test with new smartmatch semantics."
This should now work, since we now allow objects with ~~-overloading
on the left side of ~~.
This reverts commit
7fecd077a7bc92add80772966a8c824277223d09.
Andreas J Koenig [Sun, 24 May 2009 19:57:49 +0000]
Update CPAN.pm to 1.94
Rafael Garcia-Suarez [Sun, 24 May 2009 22:22:25 +0000]
Fix test for overload in given() with smart match after last change
Rafael Garcia-Suarez [Sun, 24 May 2009 21:51:42 +0000]
Allow ~~ overloading on the left side, when the right side is a plain scalar
Rafael Garcia-Suarez [Sun, 24 May 2009 15:31:15 +0000]
Change the specs of %h~~%h to avoid mentioning ~~ recursively
Rafael Garcia-Suarez [Sun, 24 May 2009 15:19:11 +0000]
In the ~~ implementation, consistently use the SV-aware API for hash keys.
This way, we can handle tied hashes such as ones that have references as keys.
Vincent Pit [Sun, 24 May 2009 12:19:37 +0000]
Ignore vim swap files
Rafael Garcia-Suarez [Sun, 24 May 2009 11:31:29 +0000]
Remove vim swap file
Ricardo SIGNES [Sun, 24 May 2009 08:11:26 +0000]
perlpodspec corrections
Nicholas Clark [Sat, 23 May 2009 10:08:47 +0000]
Move the code to add magic to $0 into Perl_gv_fetchpvn_flags().
Curiously, this appears to always have been implemented slightly inefficiently.
It dates from perl 4.000, which added the functionality to make assigning to $0
set the process name. The equivalent fix for 4.000 is:
--- a/perl.c
+++ b/perl.c
@@ -738,7 +738,7 @@ FIX YOUR KERNEL, PUT A C WRAPPER AROUND THIS SCRIPT, OR USE -u AND UNDUMP!\n");
(void)hadd(sigstab);
}
- magicalize("!#?^~=-%.+&*()<>,\\/[|`':\004\t\020\024\027\006");
+ magicalize("!#?^~=-%.+&*()<>,\\/[|`':0\004\t\020\024\027\006");
userinit(); /* in case linked C routines want magical variables */
amperstab = stabent("&",allstabs);
@@ -828,7 +828,6 @@ FIX YOUR KERNEL, PUT A C WRAPPER AROUND THIS SCRIPT, OR USE -u AND UNDUMP!\n");
#endif
if (tmpstab = stabent("0",allstabs)) {
str_set(stab_val(tmpstab),origfilename);
- magicname("0", Nullch, 0);
}
if (tmpstab = stabent("\030",allstabs))
str_set(stab_val(tmpstab),origargv[0]);
Craig A. Berry [Fri, 22 May 2009 16:37:00 +0000]
TODO must be on same line as message for TAP.
Follow-up to
b2978f4e665fcbbc23bf7f986d2650556cfec504
Nicholas Clark [Fri, 22 May 2009 09:11:33 +0000]
In Perl_magic_setsig(), silence a "possible loss of data" warning.
Rich Rauenzahn [Thu, 21 May 2009 21:03:37 +0000]
Smoke failing on longdouble
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Craig A. Berry [Thu, 21 May 2009 17:07:26 +0000]
$? needs upgrade to PVLV when COMPLEX_STATUS is defined.
Nicholas Clark [Thu, 21 May 2009 15:24:37 +0000]
Merge Perl_magic_setisa() and Perl_magic_clearisa(), to remove duplicated logic.
Nicholas Clark [Thu, 21 May 2009 14:45:50 +0000]
In Perl_magic_setisa(), re-order two independant return early checks.
Nicholas Clark [Thu, 21 May 2009 08:55:37 +0000]
Remove all the 5005threads specific mutex macros, which are now vestigial.
Nicholas Clark [Thu, 21 May 2009 07:02:38 +0000]
Use only one block of memory for both PL_psig_name and PL_psig_ptr.
Nicholas Clark [Thu, 21 May 2009 06:08:53 +0000]
Cache the signal number or -1 in mg_private, to reduce calls to Perl_whichsig().
It doesn't matter that 0 isn't cacheable, as the logic in Perl_magic_setsig()
is such that we already can't "set" $SIG{ZERO}. Without this we make thousands
of failing calls to Perl_whichsig() from Perl_magic_getsig() for "__WARN__".
Nicholas Clark [Wed, 20 May 2009 22:02:07 +0000]
Perl_mg_clear() did not cope with the called magic deleting itself - fix this.
Should all routines that iterate over the magic chain be hardened against this?
David Mitchell [Wed, 20 May 2009 21:57:52 +0000]
run dos2unix on lib/Parse/CPAN/Meta.pm
(for some reaon
de044c3605bd12a0b679b024ec9c16b44093c54b added ^M's)
Nicholas Clark [Wed, 20 May 2009 21:49:03 +0000]
Add new files from Parse::CPAN::Meta 1.38 to the MANIFEST.
Nicholas Clark [Wed, 20 May 2009 21:33:30 +0000]
In Perl_magic_setsig(), don't discard and then recreate the signal name SV.
Nicholas Clark [Wed, 20 May 2009 20:53:31 +0000]
Refactor Perl_magic_setsig() to remove duplication in the function exit logic.
(With a lot of re-indenting, which vanishes with a whitespace ignoring diff)
Nicholas Clark [Wed, 20 May 2009 19:52:58 +0000]
Merge the bulk of Perl_magic_clearsig() into Perl_magic_setsig().
The comment at the top of Perl_magic_clearsig() said:
XXX Some of this code was copied from Perl_magic_setsig. A little
refactoring might be in order.
and it was not wrong.
Perl_magic_clearsig() is almost equivalent to Perl_magic_setsig() with the new
signal handler as "DEFAULT". Externally, the sv parameter to Perl_magic_setsig()
was Not NULL, so use a NULL sv to signal that the code is being called as
Perl_magic_clearsig(), for the places where the behaviour of the two diverges.
Nicholas Clark [Wed, 20 May 2009 14:17:19 +0000]
Perl_magic_clearsig() needs to remove magic, else delete $SIG{INT} returns undef
instead of the now-removed INT handler.
H.Merijn Brand [Wed, 20 May 2009 14:45:36 +0000]
fix glob-assign for FORMAT
H.Merijn Brand [Wed, 20 May 2009 13:36:42 +0000]
Update bisect notes
Nicholas Clark [Wed, 20 May 2009 13:17:11 +0000]
Convert t/op/magic.t to use test.pl
Nicholas Clark [Wed, 20 May 2009 11:00:37 +0000]
Tests for calls to Perl_croak() in the C source. Starting with "No such hook".
Nicholas Clark [Wed, 20 May 2009 09:46:51 +0000]
Ignore bitcount.h
Nicholas Clark [Wed, 20 May 2009 09:32:25 +0000]
Remove binary compatibility scaffolding for the change to PL_bitcount.
Nicholas Clark [Wed, 20 May 2009 06:30:48 +0000]
Replace run-time on-demand initialisation of PL_bitcount with a constant table.
(The table is 256 bytes; the run-time initialisation code is larger than this!)
Adapt generate_uudmap.c to generate the initalisation block for PL_bitcount,
writing the code to bitcount.h, using the same approach as uudmap.h.
To preserve binary compatibility:
for MULTIPLICITY:
keep Ibitcount in the interpreter structure, but remove all the macros that
access it. PL_bitcount is a new symbol in the object file, which won't clash
with anything as that name wasn't used before.
otherwise:
keep PL_bitcount as a char *, but initialise it at compile time to a new
constant array PL_bitcount array. Remove the code that attempts to Safefree()
it at interpreter destruction time.
Nicholas Clark [Wed, 20 May 2009 05:53:20 +0000]
Break out the file output code from generate_uudmap's main() to allow re-use.
Nicholas Clark [Wed, 20 May 2009 05:19:07 +0000]
In Perl_magic_clearsig(), only call LEAVE if we call ENTER.
(
2d4fcd5e8be8d83efa948a259c49b56fc6c27ee5, reported and fixed by RT #20613,
would ENTER but not LEAVE when HAS_SIGPROCMASK was not defined.)
Nicholas Clark [Tue, 19 May 2009 15:54:13 +0000]
In Perl_magic_setsig(), clarify the scope of a block that interacts with #ifdef.
Nicholas Clark [Tue, 19 May 2009 15:26:53 +0000]
Document the purpose of PL_psig_ptr and PL_psig_name.
Chris 'BinGOs' Williams [Tue, 19 May 2009 12:21:45 +0000]
Re: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.30
Erratum: Avoid creating .output files
Nicholas Clark [Tue, 19 May 2009 11:49:07 +0000]
Pass the output file name to generate_uudmap, and open it within the code,
instead of having the calling Makefile redirect stdout.
Nicholas Clark [Tue, 19 May 2009 10:27:37 +0000]
In Perl_yylex(), no need to Newxz() a buffer we immediately write to.
Nicholas Clark [Tue, 19 May 2009 08:39:43 +0000]
In Perl_gv_fetchpvn_flags(), don't re-zero memory from Newxz().
Explicitly zero the memory for PL_psig_ptr, PL_psig_name and PL_psig_pend if we
didn't need to allocate it this time round.
Nicholas Clark [Tue, 19 May 2009 08:15:46 +0000]
In perl_clone_using(), use sv_dup_inc_multiple() to clone the temps stack.
Avoid using Newxz() to zero allocate memory we will immediately overwrite.
Rafael Garcia-Suarez [Tue, 19 May 2009 07:35:29 +0000]
Ignore ".output" files, that might be generated by some tests, apparently
Chris 'BinGOs' Williams [Tue, 19 May 2009 07:33:16 +0000]
Update CPANPLUS::Dist::Build to CPAN version 0.30
Nicholas Clark [Mon, 18 May 2009 15:12:21 +0000]
Add S_sv_dup_inc_multiple(), used in place of loops that call sv_dup_inc().
Just 4 uses already give a size saving with gcc -Os.
Rafael Garcia-Suarez [Mon, 18 May 2009 13:52:39 +0000]
Remove old version of Fatal.t test, now moved under lib/autodie/t
Nicholas Clark [Mon, 18 May 2009 12:48:51 +0000]
In perl_clone_using(), don't use Newxz() for arrays we immediately assign to.
Nicholas Clark [Mon, 18 May 2009 12:08:36 +0000]
In Perl_ptr_table_new(), fight back against the cult of Newxz().
(There's no need to zero-allocate memory for a structure when you're about to
explicitly allocate every member.)
Nicholas Clark [Mon, 18 May 2009 11:50:06 +0000]
Tidy the implementation of Perl_mg_dup().
As all the structure elements are directly assigned to, use Newx() rather than
Newxz(). Replace the explicit assignments with a direct structure copy. When
reading values from the parent, read from those copied to the new structure,
rather than the identical value in the old structure, to recduce CPU cache
pressure.
Nicholas Clark [Mon, 18 May 2009 10:57:38 +0000]
In Perl_mg_dup(), remove a branch by tracking the address to write to instead of
the address of the structure, with a special case for the first time round.
Nicholas Clark [Mon, 18 May 2009 10:42:01 +0000]
In Perl_mg_dup(), the while loop does the NULL check for us already.
Nicholas Clark [Mon, 18 May 2009 10:27:16 +0000]
In Perl_mg_dup(), don't call ptr_table_fetch, as we never call ptr_table_store.
Abhijit Menon-Sen [Mon, 18 May 2009 04:13:41 +0000]
Note 2.20 in the changelog.
David Mitchell [Sun, 17 May 2009 21:54:20 +0000]
fix typo in Porting/Maintainers.pl
David Mitchell [Sun, 17 May 2009 20:06:38 +0000]
add _PERLLIB pseudo-module to Maintainers.pl and update Maintainers.pm
to allow !foo* in the file lists to represent a lits of files to be
exluded
David Mitchell [Sun, 17 May 2009 14:46:46 +0000]
add --checkmani option to Porting/Maintainers
This will only report unclaimed files if they are listed in the MANIFEST
(but it checks all files, not just *.[chty] etc)
Steffen Mueller [Sun, 17 May 2009 09:55:50 +0000]
Upgrade to Parse::CPAN::Meta 1.38
David Mitchell [Sun, 17 May 2009 00:41:06 +0000]
make Porting/corecpan.pl handle versions hidden in *_pm.PL files
(ie scripts that generate .pm files)
David Mitchell [Sun, 17 May 2009 00:31:56 +0000]
update Porting/corecpan.pl to handle new ext/ structure better
(better filename -> module name conversion results in less failed
CPAN version lookups)
David Mitchell [Sun, 17 May 2009 00:30:53 +0000]
Maintainers.pl: most Compress stuff is now under ext/IO-Compress
David Mitchell [Sat, 16 May 2009 23:35:03 +0000]
make Porting/corecpan.pl use the MANIFEST file of every source tree it
examines, rather than just the first one
David Mitchell [Sat, 16 May 2009 23:31:43 +0000]
add reload_manifest() function to Porting/maintainers.pm
to allow the MANIFEST file to be read more than once.
Also be more liberal in parsing the MANIFEST file (it now handles
lines with no second column), and warn on bad lines .
David Mitchell [Sat, 16 May 2009 16:22:56 +0000]
resort Maintainers.pl module list
David Mitchell [Sat, 16 May 2009 16:02:55 +0000]
make corecpan.pl sort case insensitively, so that the module order
is the the same as in Maintainers.pl
Craig A. Berry [Sat, 16 May 2009 21:03:13 +0000]
tt is a reserved device name on VMS
Its full name is _TTA0: (but TT for short) and it specifies the
controlling terminal of the current process, so you really can't
use it as the name of a temp directory. Follow-up to:
36f064bc37569629cfa8ffed15497f849ae8ccfa
David Mitchell [Fri, 15 May 2009 16:28:00 +0000]
update the head comments in makedef.pl
David Mitchell [Fri, 15 May 2009 15:13:29 +0000]
make script execution order in regen.pl mostly alphabetical
David Mitchell [Fri, 15 May 2009 15:12:01 +0000]
add lib/overload/numbers.pm to (unused) output file list in regen.pl