summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove all the 5005threads specific mutex macros, which are now vestigial.Nicholas Clark2009-05-216-62/+0
|
* Use only one block of memory for both PL_psig_name and PL_psig_ptr.Nicholas Clark2009-05-214-14/+11
|
* Cache the signal number or -1 in mg_private, to reduce calls to Perl_whichsig().Nicholas Clark2009-05-211-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 Clark2009-05-201-1/+4
| | | | Should all routines that iterate over the magic chain be hardened against this?
* run dos2unix on lib/Parse/CPAN/Meta.pmDavid Mitchell2009-05-201-437/+437
| | | | (for some reaon de044c3605bd12a0b679b024ec9c16b44093c54b added ^M's)
* Add new files from Parse::CPAN::Meta 1.38 to the MANIFEST.Nicholas Clark2009-05-201-0/+5
|
* In Perl_magic_setsig(), don't discard and then recreate the signal name SV.Nicholas Clark2009-05-201-3/+12
|
* Refactor Perl_magic_setsig() to remove duplication in the function exit logic.Nicholas Clark2009-05-201-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 Clark2009-05-203-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 undefNicholas Clark2009-05-202-3/+28
| | | | instead of the now-removed INT handler.
* fix glob-assign for FORMATH.Merijn Brand2009-05-202-1/+5
|
* Update bisect notesH.Merijn Brand2009-05-201-2/+10
|
* Convert t/op/magic.t to use test.plNicholas Clark2009-05-201-113/+98
|
* Tests for calls to Perl_croak() in the C source. Starting with "No such hook".Nicholas Clark2009-05-202-0/+21
|
* Ignore bitcount.hNicholas Clark2009-05-201-0/+1
|
* Remove binary compatibility scaffolding for the change to PL_bitcount.Nicholas Clark2009-05-207-34/+0
|
* Replace run-time on-demand initialisation of PL_bitcount with a constant table.Nicholas Clark2009-05-2012-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 Clark2009-05-201-29/+32
|
* In Perl_magic_clearsig(), only call LEAVE if we call ENTER.Nicholas Clark2009-05-201-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 Clark2009-05-191-3/+2
|
* Document the purpose of PL_psig_ptr and PL_psig_name.Nicholas Clark2009-05-191-1/+5
|
* Re: [PATCH] Update CPANPLUS::Dist::Build to CPAN version 0.30Chris 'BinGOs' Williams2009-05-191-36/+1
| | | | Erratum: Avoid creating .output files
* Pass the output file name to generate_uudmap, and open it within the code,Nicholas Clark2009-05-195-11/+34
| | | | instead of having the calling Makefile redirect stdout.
* In Perl_yylex(), no need to Newxz() a buffer we immediately write to.Nicholas Clark2009-05-191-1/+1
|
* In Perl_gv_fetchpvn_flags(), don't re-zero memory from Newxz().Nicholas Clark2009-05-191-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 Clark2009-05-191-6/+3
| | | | Avoid using Newxz() to zero allocate memory we will immediately overwrite.
* Ignore ".output" files, that might be generated by some tests, apparentlyRafael Garcia-Suarez2009-05-191-0/+1
|
* Update CPANPLUS::Dist::Build to CPAN version 0.30Chris 'BinGOs' Williams2009-05-198-8/+10
|
* Add S_sv_dup_inc_multiple(), used in place of loops that call sv_dup_inc().Nicholas Clark2009-05-184-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/tRafael Garcia-Suarez2009-05-183-44/+0
|
* In perl_clone_using(), don't use Newxz() for arrays we immediately assign to.Nicholas Clark2009-05-181-2/+2
|
* In Perl_ptr_table_new(), fight back against the cult of Newxz().Nicholas Clark2009-05-181-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 Clark2009-05-181-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 ofNicholas Clark2009-05-181-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 Clark2009-05-181-4/+1
|
* In Perl_mg_dup(), don't call ptr_table_fetch, as we never call ptr_table_store.Nicholas Clark2009-05-181-4/+0
|
* Note 2.20 in the changelog.Abhijit Menon-Sen2009-05-181-0/+9
|
* fix typo in Porting/Maintainers.plDavid Mitchell2009-05-171-1/+1
|
* add _PERLLIB pseudo-module to Maintainers.pl and update Maintainers.pmDavid Mitchell2009-05-172-18/+264
| | | | | to allow !foo* in the file lists to represent a lits of files to be exluded
* add --checkmani option to Porting/MaintainersDavid Mitchell2009-05-171-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.38Steffen Mueller2009-05-1716-472/+1176
|
* make Porting/corecpan.pl handle versions hidden in *_pm.PL filesDavid Mitchell2009-05-171-1/+5
| | | | (ie scripts that generate .pm files)
* update Porting/corecpan.pl to handle new ext/ structure betterDavid Mitchell2009-05-171-5/+7
| | | | | (better filename -> module name conversion results in less failed CPAN version lookups)
* Maintainers.pl: most Compress stuff is now under ext/IO-CompressDavid Mitchell2009-05-171-18/+2
|
* make Porting/corecpan.pl use the MANIFEST file of every source tree itDavid Mitchell2009-05-171-1/+4
| | | | examines, rather than just the first one
* add reload_manifest() function to Porting/maintainers.pmDavid Mitchell2009-05-171-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 listDavid Mitchell2009-05-171-94/+94
|
* make corecpan.pl sort case insensitively, so that the module orderDavid Mitchell2009-05-171-3/+3
| | | | is the the same as in Maintainers.pl
* tt is a reserved device name on VMSCraig A. Berry2009-05-161-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.plDavid Mitchell2009-05-151-2/+26
|