summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* In S_pad_check_dup(), no need to check the 0th name entry.Nicholas Clark2010-11-171-2/+3
| | | | | The 0th entry in a pad is for @_, and the name corresponding to it is NULL, so save a check.
* Convert newSUB() to a macro wrapping Perl_newATTRSUB()Nicholas Clark2010-11-176-9/+12
| | | | | Provide a Perl_newSUB() function in mathoms.c for anyone referencing it by its full name.
* Spelling/grammar nitsRafael Garcia-Suarez2010-11-171-2/+2
|
* Create proper Cygwin $ENV{PATH} in test.plJerry D. Hedden2010-11-161-2/+6
| | | | | | | | | For Cygwin, runperl() in test.pl adds ':/bin' to $ENV{PATH}. However, if $ENV{PATH} is initially empty, the leading colon causes the following error: Insecure directory in $ENV{PATH} while running with -T switch at ./test.pl line 566. This fix sets $ENV{PATH} to just '/bin' when it's intially empty.
* Get cpan/CGI/t/http.t working on VMS againFather Chrysostomos2010-11-161-3/+6
| | | | | | | This stopped working with the 84601d63a (the 3.50 upgrade). This patch was not applied to the CGI.pm repository until after the new release.
* Clean up multiplying perldelta deletions.Craig A. Berry2010-11-161-4/+0
| | | | | Only the one copied as part of the build should be removed in the clean target. TODO: buildtoc is probably busted.
* Remove unnecessary check in mro_package_movedFather Chrysostomos2010-11-161-1/+0
| | | | | This was supposed to have been removed by 80ebaca, when negative val- ues for the newname_len argument stopped being used.
* Don’t skip mro_package_moved if the parent stash is renamedFather Chrysostomos2010-11-163-25/+36
| | | | | | | This stops S_hv_delete_common from skipping the call to mro_package_moved if the HvNAME of the stash containing the deleted glob is no longer valid, but the stash is still attached to some other part of the symbol table.
* Inline Perl_pad_undef() into its only caller, Perl_cv_undef().Nicholas Clark2010-11-164-109/+84
| | | | | Perl_pad_undef was never in the API, and has no users (elsewhere in core, on CPAN, or anywhere else visible to Google codesearch).
* Move Perl_cv_undef() from op.c to pad.cNicholas Clark2010-11-162-68/+66
| | | | This will allow the non-API function Perl_pad_undef to be inlined into it.
* Add Grant McLean to AUTHORS, following commit a27417a027da2da0.Nicholas Clark2010-11-161-0/+1
|
* Update references to targrep to ptargrep in ptargrepGrant McLean2010-11-161-3/+3
| | | | Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Note in perlfaq2 that www.perl.com is no longer part of O'Reillybrian d foy2010-11-161-10/+12
|
* In Perl_pad_new(), allocate a 2 element array for padlist.Nicholas Clark2010-11-161-2/+12
| | | | | | | | | Most subroutines never recurse, hence only need 2 entries in the padlist array - names, and depth=1. The default for av_store() is to allocate 0..3, and even an explicit call to av_extend() with <3 will be rounded up, so we inline the allocation of the array here. Running ./installman allocates 7K less with this change.
* In Perl_pad_new(), avoid calling av_fetch() for something we already know.Nicholas Clark2010-11-161-3/+3
| | | | | | | | | We've just stored padname and pad as the first two elements in padlist - so calling av_fetch() is makework. The code was the way it was because dd2155a49b710f23 moved the two halves from disjoint locations into the same function adjacent to each other, but didn't spot this subsequent optimisation.
* Check for deleted stashes when reporting var namesFlorian Ragwitz2010-11-162-1/+8
| | | | | | | | The stash of the GV is what's being used to look up a global variables name. If the GV has no stash, we might as well give up early. This fixes a segfault because S_varname would later assume gv_fullname4 has resolved the glob's full name and try to use the svu_pv slot of the scalar returned, while all it got back was undef.
* Fix memory leak introduced by 2d0d1eccfcfeFather Chrysostomos2010-11-151-2/+2
| | | | | If HvENAME was set by a destructor, it needs to be freed as well. hv_name_set(whatever, NULL, ...) does that.
* Keep MRO caches around during hv_clearFather Chrysostomos2010-11-152-26/+38
| | | | | | | This allows it to delete PL_isarev entries. mro_isa_changed_in only deletes items mentioned in HvMROMETA(hv)->isa, so it must be present.
* mktables: Fix subtraction that should be an addKarl Williamson2010-11-151-1/+1
| | | | Fortunately, this bug has not affected the output of mktables so far.
* perldelta: Remove a misleading referenceFather Chrysostomos2010-11-151-2/+1
| | | | | [perl #79024] was a very specific case of part of this entry, which was only broken temporarily.
* perldelta: Something else I missedFather Chrysostomos2010-11-151-2/+8
|
* perldelta for [perl #79208]Father Chrysostomos2010-11-151-0/+9
|
* Update Archive-Tar to CPAN version 1.70Chris 'BinGOs' Williams2010-11-1518-16/+282
| | | | | | | | | | | [DELTA] * important changes in version 1.70 15/11/2010 - Add ptargrep utility courtesy of Grant McLean ** I think I found everywhere that needed updating by grepping for 'ptardiff' and adding where needed. This stuff is definitively not intuitive.
* stash.t: The [perl #58530] test should not be skippedFather Chrysostomos2010-11-151-10/+10
|
* Correct an anonymisation test in stash.tFather Chrysostomos2010-11-151-3/+1
|
* Correct skip count in stash.tFather Chrysostomos2010-11-151-1/+1
|
* [perl #79208] %stash:: = () anonymises CVsFather Chrysostomos2010-11-152-56/+66
| | | | | | | | | | | | | This keeps stash names visible during %foo:: = (). This fixes @ISA assignment inside a DESTROY method triggered by %foo:: = () and also lets existing CVs retain their pointers to the stash. So %foo:: = () is now equivalent to delete $foo::{$_} for keys %foo::
* I only mentioned half of [perl #79138]Father Chrysostomos2010-11-151-3/+2
|
* Update perldelta with Dave Mitchell's contributionsChris 'BinGOs' Williams2010-11-151-1/+10
|
* Mention Filter::cpp as alternative for -PAbigail2010-11-151-1/+2
|
* Doc fix for [perl #78642] Logical defined or not equivalent to ternary ↵Rafael Garcia-Suarez2010-11-151-4/+5
| | | | | | operator with defined The ternary operator can be used in lvalue context; $a // $b cannot.
* Zero new XOPs xop_desc will never be invalidFlorian Ragwitz2010-11-151-1/+1
| | | | Even if the xop description couldn't be fetched from PL_custom_op_descs.
* perldelta: something I missedFather Chrysostomos2010-11-141-1/+1
|
* The various Math::BigInt changes aren't relevantFlorian Ragwitz2010-11-151-4/+0
| | | | | They're mostly small bugfixes here and there. Nothing of particular interest when upgrading to a new version of perl, I'd say.
* Update perldelta entry for Math::BigIntFlorian Ragwitz2010-11-151-1/+1
|
* Upgrade Math::BigInt from version 1.98 to 1.99Florian Ragwitz2010-11-154-4/+4
|
* perldelta up to 518a985Father Chrysostomos2010-11-141-1/+19
|
* perldelta: remove another commit from the to-do listFather Chrysostomos2010-11-141-1/+0
|
* perldelta up to 578895fbFather Chrysostomos2010-11-141-3/+4
|
* perldelta: clarificationFather Chrysostomos2010-11-141-3/+3
|
* perldelta: tpyoFather Chrysostomos2010-11-141-1/+1
|
* perldelta: remove 2 commits from the listFather Chrysostomos2010-11-141-2/+0
| | | | Karl Williamson says these do not need entries.
* Implement $^A taintingNiko Tyni2010-11-143-3/+20
| | | | | | | | | The format accumulator $^A now becomes tainted when formline() is called with tainted data. There is still one failing test from the TODO set; it seems that the $^A get magic is handled too late for the taintedness to show up.
* TODO tests for $^A taintingNiko Tyni2010-11-141-1/+22
| | | | | The format accumulator $^A should become tainted when formline() is called with tainted data.
* Make the new formline test fail more reliablyFather Chrysostomos2010-11-141-1/+2
|
* Fix a crash with a tainted formline() pictureNiko Tyni2010-11-142-2/+9
| | | | | | | A private (tainted) string did not get its share of space in the destination string, causing a buffer overflow later. Originally reported by Roland Kuhn as http://bugs.debian.org/575318
* Document the new custom op functions.Ben Morrow2010-11-144-4/+148
|
* Tests for the new custom op registrations.Ben Morrow2010-11-143-0/+192
|
* Improve custom OP support.Ben Morrow2010-11-1413-43/+158
| | | | | | | | | | | | | | | | | Change the custom op registrations from two separate hashes to one hash holding structure pointers, and add API functions to register ops and look them up. This will make it easier to add new properties of custom ops in the future. Copy entries across from the old hashes where necessary, to preserve compatibility. Add two new properties, in addition to the already-existing 'name' and 'description': 'class' and 'peep'. 'class' is one of the OA_*OP constants, and allows B and other introspection mechanisms to work with custom ops that aren't BASEOPs. 'peep' is a pointer to a function that will be called for ops of this type from Perl_rpeep. Adjust B.xs to take account of the new properties, and also to give custom ops their registered name rather than simply 'custom'.
* Increase B’s versionFather Chrysostomos2010-11-141-1/+1
|