Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove all the 5005threads specific mutex macros, which are now vestigial. | Nicholas Clark | 2009-05-21 | 6 | -62/+0 |
| | |||||
* | Use only one block of memory for both PL_psig_name and PL_psig_ptr. | Nicholas Clark | 2009-05-21 | 4 | -14/+11 |
| | |||||
* | Cache the signal number or -1 in mg_private, to reduce calls to Perl_whichsig(). | Nicholas Clark | 2009-05-21 | 1 | -2/+9 |
| | | | | | | 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__". | ||||
* | Perl_mg_clear() did not cope with the called magic deleting itself - fix this. | Nicholas Clark | 2009-05-20 | 1 | -1/+4 |
| | | | | Should all routines that iterate over the magic chain be hardened against this? | ||||
* | run dos2unix on lib/Parse/CPAN/Meta.pm | David Mitchell | 2009-05-20 | 1 | -437/+437 |
| | | | | (for some reaon de044c3605bd12a0b679b024ec9c16b44093c54b added ^M's) | ||||
* | Add new files from Parse::CPAN::Meta 1.38 to the MANIFEST. | Nicholas Clark | 2009-05-20 | 1 | -0/+5 |
| | |||||
* | In Perl_magic_setsig(), don't discard and then recreate the signal name SV. | Nicholas Clark | 2009-05-20 | 1 | -3/+12 |
| | |||||
* | Refactor Perl_magic_setsig() to remove duplication in the function exit logic. | Nicholas Clark | 2009-05-20 | 1 | -36/+32 |
| | | | | (With a lot of re-indenting, which vanishes with a whitespace ignoring diff) | ||||
* | Merge the bulk of Perl_magic_clearsig() into Perl_magic_setsig(). | Nicholas Clark | 2009-05-20 | 3 | -76/+31 |
| | | | | | | | | | | | | 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. | ||||
* | Perl_magic_clearsig() needs to remove magic, else delete $SIG{INT} returns undef | Nicholas Clark | 2009-05-20 | 2 | -3/+28 |
| | | | | instead of the now-removed INT handler. | ||||
* | fix glob-assign for FORMAT | H.Merijn Brand | 2009-05-20 | 2 | -1/+5 |
| | |||||
* | Update bisect notes | H.Merijn Brand | 2009-05-20 | 1 | -2/+10 |
| | |||||
* | Convert t/op/magic.t to use test.pl | Nicholas Clark | 2009-05-20 | 1 | -113/+98 |
| | |||||
* | Tests for calls to Perl_croak() in the C source. Starting with "No such hook". | Nicholas Clark | 2009-05-20 | 2 | -0/+21 |
| | |||||
* | Ignore bitcount.h | Nicholas Clark | 2009-05-20 | 1 | -0/+1 |
| | |||||
* | Remove binary compatibility scaffolding for the change to PL_bitcount. | Nicholas Clark | 2009-05-20 | 7 | -34/+0 |
| | |||||
* | Replace run-time on-demand initialisation of PL_bitcount with a constant table. | Nicholas Clark | 2009-05-20 | 12 | -35/+74 |
| | | | | | | | | | | | | | | | | (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. | ||||
* | Break out the file output code from generate_uudmap's main() to allow re-use. | Nicholas Clark | 2009-05-20 | 1 | -29/+32 |
| | |||||
* | In Perl_magic_clearsig(), only call LEAVE if we call ENTER. | Nicholas Clark | 2009-05-20 | 1 | -0/+4 |
| | | | | | (2d4fcd5e8be8d83efa948a259c49b56fc6c27ee5, reported and fixed by RT #20613, would ENTER but not LEAVE when HAS_SIGPROCMASK was not defined.) | ||||
* | In Perl_magic_setsig(), clarify the scope of a block that interacts with #ifdef. | Nicholas Clark | 2009-05-19 | 1 | -3/+2 |
| | |||||
* | Document the purpose of PL_psig_ptr and PL_psig_name. | Nicholas Clark | 2009-05-19 | 1 | -1/+5 |
| | |||||
* | Re: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.30 | Chris 'BinGOs' Williams | 2009-05-19 | 1 | -36/+1 |
| | | | | Erratum: Avoid creating .output files | ||||
* | Pass the output file name to generate_uudmap, and open it within the code, | Nicholas Clark | 2009-05-19 | 5 | -11/+34 |
| | | | | instead of having the calling Makefile redirect stdout. | ||||
* | In Perl_yylex(), no need to Newxz() a buffer we immediately write to. | Nicholas Clark | 2009-05-19 | 1 | -1/+1 |
| | |||||
* | In Perl_gv_fetchpvn_flags(), don't re-zero memory from Newxz(). | Nicholas Clark | 2009-05-19 | 1 | -3/+13 |
| | | | | | 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. | ||||
* | In perl_clone_using(), use sv_dup_inc_multiple() to clone the temps stack. | Nicholas Clark | 2009-05-19 | 1 | -6/+3 |
| | | | | Avoid using Newxz() to zero allocate memory we will immediately overwrite. | ||||
* | Ignore ".output" files, that might be generated by some tests, apparently | Rafael Garcia-Suarez | 2009-05-19 | 1 | -0/+1 |
| | |||||
* | Update CPANPLUS::Dist::Build to CPAN version 0.30 | Chris 'BinGOs' Williams | 2009-05-19 | 8 | -8/+10 |
| | |||||
* | Add S_sv_dup_inc_multiple(), used in place of loops that call sv_dup_inc(). | Nicholas Clark | 2009-05-18 | 4 | -11/+47 |
| | | | | Just 4 uses already give a size saving with gcc -Os. | ||||
* | Remove old version of Fatal.t test, now moved under lib/autodie/t | Rafael Garcia-Suarez | 2009-05-18 | 3 | -44/+0 |
| | |||||
* | In perl_clone_using(), don't use Newxz() for arrays we immediately assign to. | Nicholas Clark | 2009-05-18 | 1 | -2/+2 |
| | |||||
* | In Perl_ptr_table_new(), fight back against the cult of Newxz(). | Nicholas Clark | 2009-05-18 | 1 | -1/+1 |
| | | | | | (There's no need to zero-allocate memory for a structure when you're about to explicitly allocate every member.) | ||||
* | Tidy the implementation of Perl_mg_dup(). | Nicholas Clark | 2009-05-18 | 1 | -25/+26 |
| | | | | | | | | 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. | ||||
* | In Perl_mg_dup(), remove a branch by tracking the address to write to instead of | Nicholas Clark | 2009-05-18 | 1 | -6/+4 |
| | | | | the address of the structure, with a special case for the first time round. | ||||
* | In Perl_mg_dup(), the while loop does the NULL check for us already. | Nicholas Clark | 2009-05-18 | 1 | -4/+1 |
| | |||||
* | In Perl_mg_dup(), don't call ptr_table_fetch, as we never call ptr_table_store. | Nicholas Clark | 2009-05-18 | 1 | -4/+0 |
| | |||||
* | Note 2.20 in the changelog. | Abhijit Menon-Sen | 2009-05-18 | 1 | -0/+9 |
| | |||||
* | fix typo in Porting/Maintainers.pl | David Mitchell | 2009-05-17 | 1 | -1/+1 |
| | |||||
* | add _PERLLIB pseudo-module to Maintainers.pl and update Maintainers.pm | David Mitchell | 2009-05-17 | 2 | -18/+264 |
| | | | | | to allow !foo* in the file lists to represent a lits of files to be exluded | ||||
* | add --checkmani option to Porting/Maintainers | David Mitchell | 2009-05-17 | 1 | -3/+12 |
| | | | | | This will only report unclaimed files if they are listed in the MANIFEST (but it checks all files, not just *.[chty] etc) | ||||
* | Upgrade to Parse::CPAN::Meta 1.38 | Steffen Mueller | 2009-05-17 | 16 | -472/+1176 |
| | |||||
* | make Porting/corecpan.pl handle versions hidden in *_pm.PL files | David Mitchell | 2009-05-17 | 1 | -1/+5 |
| | | | | (ie scripts that generate .pm files) | ||||
* | update Porting/corecpan.pl to handle new ext/ structure better | David Mitchell | 2009-05-17 | 1 | -5/+7 |
| | | | | | (better filename -> module name conversion results in less failed CPAN version lookups) | ||||
* | Maintainers.pl: most Compress stuff is now under ext/IO-Compress | David Mitchell | 2009-05-17 | 1 | -18/+2 |
| | |||||
* | make Porting/corecpan.pl use the MANIFEST file of every source tree it | David Mitchell | 2009-05-17 | 1 | -1/+4 |
| | | | | examines, rather than just the first one | ||||
* | add reload_manifest() function to Porting/maintainers.pm | David Mitchell | 2009-05-17 | 1 | -9/+22 |
| | | | | | | 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 . | ||||
* | resort Maintainers.pl module list | David Mitchell | 2009-05-17 | 1 | -94/+94 |
| | |||||
* | make corecpan.pl sort case insensitively, so that the module order | David Mitchell | 2009-05-17 | 1 | -3/+3 |
| | | | | is the the same as in Maintainers.pl | ||||
* | tt is a reserved device name on VMS | Craig A. Berry | 2009-05-16 | 1 | -9/+9 |
| | | | | | | | | 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 | ||||
* | update the head comments in makedef.pl | David Mitchell | 2009-05-15 | 1 | -2/+26 |
| |