summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* Explain that the load_module() import list must be NULL terminatedJan Dubois2009-08-151-1/+5
| | | | (cherry picked from commit 76f108ac8c4a9965d6bf4ba6a472e5866bb01731)
* [perl #61520] Segfault in debugger with tr// and UTF8David Mitchell2009-07-131-0/+1
| | | | | | | | commit 043e41b8 (29765), which made tr// threadsafe by moving the swash into the pad, didn't mark the pad SV as read-only, so it was getting removed from anon sub prototypes (cherry picked from commit a5446a64ab75205e7ec7185a30ff6e9f7c532dd0)
* Fix [RT#66098] -- stricter checking on SvIVX exposed a lack of SvIOK checkAlex Vandiver2009-06-101-1/+1
| | | | (cherry picked from commit b8de32d59998a5999bfdf82297af4ccc75421091)
* Merge branch 'smartmatch' into bleadRafael Garcia-Suarez2009-06-091-2/+6
| | | | | | | cherry-picked from commit 56d86adf5b, which is a merge, so all the individual commits from the smartmatch branch have been sucked in as a single commit. Note that this won't yet compile, as the SVt_REGEXP stuff needs removing for 5.10.x.
* Don't SEGV while warning about redefining the format STDOUT. Fixes RT #64562.Nicholas Clark2009-04-201-3/+7
| | | | (cherry picked from commit ee6d2783b2d78accfac54397826acf5f6e1715e1)
* Make eval{} (entertry) trappable by SafeRafael Garcia-Suarez2009-04-161-0/+2
| | | | (cherry picked from commit 3a7a94e274d5af79b9dacbe2adc9c4cabcf24a08)
* Change 54d012c665eb635f1e4fac1f1ec5aba1229ad9ca was only tested threaded. Oops.Nicholas Clark2009-04-121-1/+1
| | | | (cherry picked from commit def18e4c9fd5eb589bbb50de256bb350e973ea47)
* Change 28063 should have removed the call to savepvn() from Perl_newCONSTSUB()Nicholas Clark2009-04-121-7/+4
| | | | | | | | | completely when it moved the allocation logic inside Perl_newXS_flags(). Whilst Rafael's fix in 29107 correctly plugged my leak, this commit is the actual correction. (Commits 77004dee2553ce034a8a58b2b2849e3656df46c3 and c3db7d9213b09a5852dab00368488f63a7625b9e respectively) (cherry picked from commit 54d012c665eb635f1e4fac1f1ec5aba1229ad9ca)
* Revert SvPVX() to allow lvalue usage, but also add aMarcus Holland-Moritz2009-03-291-1/+1
| | | | | | | | | | MUTABLE_SV() check. Use SvPVX_const() instead of SvPVX() where only a const SV* is available. Also fix two falsely consted pointers in Perl_sv_2pv_flags(). p4raw-id: //depot/perl@34770 (cherry-picked from commit d2c6dc5ee586de7e57a1fe8c160cf7c8aaf3f3f8)
* Add MUTABLE_GV(), and eliminate (V *) casts in *.c.Nicholas Clark2009-03-291-3/+3
| | | | | | | | | Can't easily do gv.h, as GvGP() (at least) needs to split into two macros - one const for reading, one non-const for writing. p4raw-id: //depot/perl@34679 (cherry-picked from commit 159b6efe04c56d08ae56a63921b5ab3a69ac2ee9)
* Eliminate (SV *) casts from the rest of *.c, picking up one (further)Nicholas Clark2009-03-291-36/+37
| | | | | | | | erroneous const in dump.c. p4raw-id: //depot/perl@34675 (cherry-picked from commit ad64d0ecd555e97c5a216efca1ec5a96b7fd0b34)
* Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.Nicholas Clark2009-03-291-2/+2
| | | | | | p4raw-id: //depot/perl@34647 (cherry-picked from commit ea726b52599b52cf534201a46ec3455418c9eb8e)
* Every remaining (HV *) cast in *.cNicholas Clark2009-03-291-1/+1
| | | | | | p4raw-id: //depot/perl@34629 (cherry-picked from commit 85fbaab29c398adbb5b4445d3ed41e0a96364ce4)
* Re: Solaris build warningsAndy Dougherty2009-03-261-2/+2
| | | | | | | | | | Message-ID: <Pine.LNX.4.64.0803261337130.22919@fractal.phys.lafayette.edu> Rename the "optype" typedef to "Optype" p4raw-id: //depot/perl@33679 (cherry picked from commit 61a59f30bcebf88ce17229ad2276090c32ad7c1f)
* Silence compiler warnings on Win32/VC6Jan Dubois2009-03-251-2/+2
| | | | | | | | | | Subject: RE: Bit-fields patch causes warnings on Win32/VC6 From: "Jan Dubois" <jand@activestate.com> Message-ID: <002f01c86f3f$27e23ca0$77a6b5e0$@com> p4raw-id: //depot/perl@33315 (cherry-picked from commit 0053d415f506c0bd87de287f5b4d68652d94b7b1)
* assert() that every NN argument is not NULL. Otherwise we have theNicholas Clark2009-03-191-3/+254
| | | | | | | | | | | | | | | ability to create landmines that will explode under someone in the future when they upgrade their compiler to one with better optimisation. We've already done this at least twice. (Yes, some of the assertions are after code that would already have SEGVd because it already deferences a pointer, but they are put in to make it easier to automate checking that each and every case is covered.) Add a tool, checkARGS_ASSERT.pl, to check that every case is covered. p4raw-id: //depot/perl@33291 (cherry-picked from commit 7918f24d20384771923d344a382e1d16d9552018)
* Fix compilation issues and warnings with exotic configuration.Marcus Holland-Moritz2009-03-061-2/+4
| | | | | | p4raw-id: //depot/perl@32865 (cherry picked from commit 5186cc1225228b10ef0f8c5cf7d34fbcf0e84174)
* Back out this change from 5.10.x:David Mitchell2009-01-061-13/+3
| | | | | | | | | | | | | | 32851 / b9ad30b40cf004f5ea6fd7a945a950cf873aed7b Make Perl_pregcomp() use SvUTF8() of the pattern, rather than the flag bit in pmflags, to decide whether the pattern is UTF-8. originally integrated by: 33972 / fe939a582524b0864b81d1fc531b1dbe17ad879f Tk triggered assertion failures by directly using the RXf_UTF8 flag. Other modules might cheat too so lets not go there...
* PATCH: Large omnibus patch to clean up the JRRT quotesTom Christiansen2009-01-051-5/+7
| | | | | | | | | Message-ID: <25940.1225611819@chthon> Date: Sun, 02 Nov 2008 01:43:39 -0600 p4raw-id: //depot/perl@34698 (cherry picked from commit 4ac71550d23cca4632a2bcdfcb1d83a6bf705e45)
* Use pvs macros instead of pvn where possible.Marcus Holland-Moritz2009-01-041-2/+2
| | | | | | p4raw-id: //depot/perl@34653 (cherry-picked from commit 76f68e9bb86f29e34e2aeb5c177571288f05b7ca)
* remove bleed-only stowaway from c461bd4fb19684925ca9b57ae9d3c97c6b48bf51David Mitchell2009-01-021-2/+0
|
* Integrate:Dave Mitchell2008-12-161-14/+63
| | | | | | | | | | | | | | | | | | | | | | [ 34063] Subject: [PATCH] TODO B-Deparse cpan-bug 33708 From: "Reini Urban" <rurban@x-ray.at> Date: Mon, 16 Jun 2008 14:40:35 +0200 Message-ID: <6910a60806160540v21c7affbte54ef0eedb0cb64d@mail.gmail.com> [ 34358] Subject: Re: [5.8] Change 33727 (op.c) breaks constant folding in "elsif" From: Vincent Pit <perl@profvince.com> Date: Sat, 13 Sep 2008 01:13:30 +0200 Message-ID: <48CAF79A.6000001@profvince.com> p4raw-link: @34358 on //depot/perl: 71c4dbc37189d1d137ba8e40103273462dd96945 p4raw-link: @34063 on //depot/perl: 227375e110cf4ab60e97c3894326008fde5077e0 p4raw-id: //depot/maint-5.10/perl@35116 p4raw-integrated: from //depot/perl@34358 'edit in' op.c (@34322..) 'merge in' pod/perlapi.pod (@34201..) embed.h (@34349..) embed.fnc proto.h (@34354..) p4raw-integrated: from //depot/perl@34063 'copy in' ext/B/B/Deparse.pm (@33851..) 'edit in' ext/B/t/deparse.t (@33851..)
* Integrate:Nicholas Clark2008-11-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34873] Fix the bug introduced with MRO, whereby the internals were not saving lines in subroutines defined inside eval ""s for the debugger. [ 34879] Rafael noticed a bug in 34873 - I was comparing against the wrong variable, and hence (usually) saving all globs, not just those that should be kept. [ 34880] Use only unsigned ints for comparisons to PL_breakable_sub_generation [ 34886] Rename PL_breakable_sub_generation to PL_breakable_sub_gen, to please the ANSI gods of VMS. p4raw-link: @34886 on //depot/perl: fd06b02ce1aae5ae555b7101c2fe3e521cb2fd9f p4raw-link: @34880 on //depot/perl: 1e421c0cc81770dcdf2aaaa0648195457e165c6c p4raw-link: @34879 on //depot/perl: 606f8fc8222f5bd75c0a46b2d82c7f0f0800f301 p4raw-link: @34873 on //depot/perl: aac018bb00282d5a72a5c5b4d95935b9eb667bcc p4raw-id: //depot/maint-5.10/perl@34898 p4raw-branched: from //depot/perl@34897 'branch in' t/comp/retainedlines.t (@34876..) p4raw-integrated: from //depot/perl@34897 'edit in' embedvar.h (@34873..) p4raw-integrated: from //depot/perl@34886 'edit in' intrpvar.h (@34873..) p4raw-integrated: from //depot/perl@34880 'edit in' pp_ctl.c (@34879..) p4raw-integrated: from //depot/perl@34873 'edit in' op.c (@34770..) perlapi.h (@34831..) 'merge in' MANIFEST (@34839..)
* Integrate:Tim Bunce2008-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34693] Add a flag PERLDBf_SAVESRC, which enables the saved lines part of PERLDBf_LINE, so that profilers (such as NYTProf) have access to the lines of the eval, without the speed impact of other parts of the debugger infrastructure. PERLDBf_LINE is unchanged. Based largely on a patch by Tim Bunce in <20081028152749.GA12500@timac.local> [ 34705] Subject: Re: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2) Message-ID: <20081103160130.GA45762@timac.local> Date: Mon, 3 Nov 2008 16:01:31 +0000 [ 34706] Subject: Re: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2) From: Tim Bunce <Tim.Bunce@pobox.com> Message-ID: <20081103162537.GB45762@timac.local> Date: Mon, 3 Nov 2008 16:25:37 +0000 p4raw-link: @34706 on //depot/perl: 4c85b59c156c7ad7ba08eb430618e674134ced22 p4raw-link: @34705 on //depot/perl: 65269a95bf2e18461f4efd8a5e0ad5bb7d043a5e p4raw-link: @34693 on //depot/perl: b8fcbefe6253f6cbcf6817158c0e99c8018b2d46 p4raw-id: //depot/maint-5.10/perl@34715 p4raw-integrated: from //depot/perl@34713 'copy in' pod/perlvar.pod (@32904..) lib/perl5db.pl (@34312..) 'merge in' perl.h (@34630..) op.c toke.c (@34698..) p4raw-integrated: from //depot/perl@34705 'merge in' gv.c (@34698..) p4raw-integrated: from //depot/perl@34693 'merge in' pp_ctl.c (@34679..)
* Integrate:Robin Barker2008-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34694] Explicitly specify some printf formats for constant strings. This is mostly to silence gcc's warning, "format not a string literal and no format arguments". [ 34695] Subject: [PATCH] explicit empty while loops From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D4E2FD9@exchsvr2.npl.ad.local> [ 34700] Silence one more format warning p4raw-link: @34700 on //depot/perl: 76c6a2133b7f687937d91eb41bb4c9f222c0d5b0 p4raw-link: @34695 on //depot/perl: 47127b64dd369017e77ff2eac9a6d3c02398507b p4raw-link: @34694 on //depot/perl: f1f66076265cc2bac3adabd54c01b0dea28ca3f0 p4raw-id: //depot/maint-5.10/perl@34707 p4raw-integrated: from //depot/perl@34704 'copy in' ext/PerlIO/scalar/scalar.xs (@33280..) 'merge in' handy.h (@34679..) p4raw-integrated: from //depot/perl@34695 'merge in' op.c (@34679..) p4raw-integrated: from //depot/perl@34694 'edit in' pp_sort.c (@34675..) 'merge in' toke.c (@34671..) doop.c perl.c regcomp.c (@34675..) av.c (@34677..) mg.c pp.c pp_hot.c pp_sys.c sv.c universal.c util.c (@34679..) pp_ctl.c (@34693..)
* Integrate:Nicholas Clark2008-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34585] Update copyright years. [ 34586] Update copyright year in embed.pl, and everything that it builds. p4raw-link: @34586 on //depot/perl: 67edeb9aab7e64ec46e81a9ccb767449a20cad5f p4raw-link: @34585 on //depot/perl: 1129b882ced9d5881a47214405219a2e6e332a92 p4raw-id: //depot/maint-5.10/perl@34599 p4raw-integrated: from //depot/perl@34593 'copy in' perlapi.c (@31245..) perlsdio.h (@32793..) XSUB.h (@32820..) perly.c (@33370..) cc_runtime.h (@34002..) pp.h (@34055..) 'merge in' av.h (@33051..) mg.h (@33256..) deb.c locale.c numeric.c pad.c pp_pack.c regexec.c taint.c (@33291..) embed.pl (@33539..) mathoms.c (@33627..) scope.h (@33654..) cop.h (@33656..) gv.c (@33814..) doop.c (@33831..) perly.y (@33858..) global.sym (@33901..) pp_sort.c (@33937..) gv.h (@34029..) op.h pad.h regexp.h (@34030..) perl.h (@34069..) doio.c mg.c pp.c pp_sys.c xsutils.c (@34092..) pp_ctl.c (@34140..) cv.h dump.c (@34167..) toke.c (@34224..) universal.c (@34354..) mro.c (@34357..) op.c (@34358..) av.c (@34381..) hv.c (@34383..) utf8.c (@34416..) scope.c (@34494..) pp_hot.c (@34506..) regcomp.c (@34507..) intrpvar.h sv.h (@34568..) embed.h embedvar.h perlapi.h (@34569..) util.c (@34574..) sv.c (@34576..) p4raw-integrated: from //depot/perl@34585 'ignore' proto.h (@34574..) 'merge in' perlio.c (@33978..) handy.h (@34577..)
* Integrate:Bram2008-09-041-1/+1
| | | | | | | | | | | | | | | | | | | [ 34068] Subject: [perl #51370] length($@)>0 for empty $@ if utf8 is in use From: "Bram via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-18229-1213179984-1708.51370-15-0@perl.org> (The first patch) [ 34069] Rename the new macro clear_errsv() from last patch to CLEAR_ERRSV() p4raw-link: @34069 on //depot/perl: ab69dbc258121720f9942be91726a46752320460 p4raw-link: @34068 on //depot/perl: 8433848b134d4e61d5135fd8a70d8106025ac6a6 p4raw-id: //depot/maint-5.10/perl@34262 p4raw-integrated: from //depot/perl@34261 'edit in' op.c (@34068..) p4raw-integrated: from //depot/perl@34069 'edit in' pp_ctl.c (@34068..) p4raw-integrated: from //depot/perl@34068 'edit in' perl.c (@33683..) perl.h (@33762..) 'ignore' t/op/eval.t (@31587..)
* Integrate:Dave Mitchell2008-05-311-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32851] Make Perl_pregcomp() use SvUTF8() of the pattern, rather than the flag bit in pmflags, to decide whether the pattern is UTF-8. [ 32894] Don't set the public IV or NV flags if the string converted from has trailing garbage. This behaviour is consistent with not setting the public IV or NV flags if the value is out of range for the type. [ 32953] (the Configure parts were integrated earlier) Subject: [PATCH] Add dtrace support From: Andy Armstrong <andy@hexten.net> Message-Id: <F4AC553F-7C7F-49C3-98C2-E04681E1004F@hexten.net> Date: Thu, 10 Jan 2008 22:20:52 +0000 with fixups as discussed on list, plus adding usedtrace to Glossary, plus propagating all the new config variables everywhere. (Was there an automatic way to do that? I did it with emacs macros) [ 32978] Subject: consting IO.xs From: "Robin Barker" <Robin.Barker@npl.co.uk> Date: Sat, 22 Dec 2007 00:56:18 -0000 Message-ID: <46A0F33545E63740BC7563DE59CA9C6D0939A1@exchsvr2.npl.ad.local> [ 33747] Subject: [PATCH] update Pod-Perldoc to version 3.14_04 From: "Adriano Ferreira" <a.r.ferreira@gmail.com> Date: Wed, 23 Apr 2008 09:45:35 -0300 Message-ID: <73ddeb6c0804230545v75fee05dmeb849636addb14e1@mail.gmail.com> [ 33807] Fix [perl #52740] crash when localizing a symtab entry [ 33956] Add conditional code to initialise RETVAL, to avoid compiler warnings. (There was never an error, as croak() was called before the return). [ 33971] Must install mydtrace.h on VMS even it doesn't do much there. p4raw-link: @33971 on //depot/perl: a1c7933fc4afc4f7f4567549e87fe45a8994370f p4raw-link: @33956 on //depot/perl: 19c4478c878cb3732a73314cc162df7f808d5d78 p4raw-link: @33807 on //depot/perl: 56b24bb689e5cfc1ed67255f4f89bcb2fa9b56e0 p4raw-link: @33747 on //depot/perl: 5f31e3ad80d9344ef722fe0a658ceb2dc559ea8c p4raw-link: @32978 on //depot/perl: 3e946625bd318900adc25217434a05ce37064aba p4raw-link: @32894 on //depot/perl: a43d94f2c089c6f14197795daeebb7835550a747 p4raw-link: @32851 on //depot/perl: b9ad30b40cf004f5ea6fd7a945a950cf873aed7b p4raw-id: //depot/maint-5.10/perl@33972 p4raw-branched: from //depot/perl@33970 'branch in' mydtrace.h perldtrace.d p4raw-integrated: from //depot/perl@33970 'copy in' ext/IO/IO.xs (@29180..) lib/Pod/Perldoc.pm (@31763..) 'merge in' vms/descrip_mms.template (@33589..) ext/POSIX/POSIX.xs (@33936..) p4raw-integrated: from //depot/perl@32953 'edit in' Makefile.SH (@32886..) 'merge in' cop.h (@32819..) MANIFEST (@32931..) p4raw-integrated: from //depot/perl@32894 'edit in' sv.c (@32882..) 'merge in' perl.c (@32893..) p4raw-integrated: from //depot/perl@32851 'merge in' op.c (@32828..) pp_ctl.c (@32837..) regcomp.c (@32849..) regexec.c (@32850..)
* Integrate:Dave Mitchell2008-05-291-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33667] Subject: Re: [perl #52672] regexp failure: (?=) turns into OPFAIL From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Date: Thu, 10 Apr 2008 00:38:52 +0000 Message-ID: <51dd1af80804091738r15d37763lf900d59f8bcc5e81@mail.gmail.com> [ 33671] Add two missing dVAR's. [ 33675] Move all the logic to print the "Changed" message into regen_lib.pl, which removes the need for any checksums. Arrange for regen.pl to run autodoc.pl last, as it wants to open files generated by reentr.pl. [ 33684] Fix for [perl #52074] Segfault on ISA push after symbol table delete This restores the 5.8.8 behaviour. The deleted stash is not vivified again, hence the hierarchy remains broken. But there's no segfault. [ 33687] Subject: invalid cop_free of nullified cop. How to fix? From: "Reini Urban" <rurban@x-ray.at> Date: Tue, 15 Apr 2008 14:09:11 +0200 Message-ID: <6910a60804150509j3c100fc4t2ed303ae0124ba15@mail.gmail.com> [ 33695] Call cop_free on nullified cops too (this is a followup to 33687) [ 33696] Using memEQ() rather than strnEQ() when the length is known feels cleaner. [ 33697] Add the verbatim perl code mentioned in the comments of http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-05/msg01710.html but never actually tested. [ 33700] Use like() rather than is() to get better failure diagnostics. (One step beyond Jarkko's change 15735) [ 33701] Avoid forwards and then backwards on the :: splitting logic in Perl_gv_fetchmethod_autoload() [ 33714] Subject: Re: wrong line numbers in elsif() From: Paul Johnson <paul@pjcj.net> Date: Sat, 19 Apr 2008 13:02:06 +0200 Message-ID: <20080419110206.GE32555@pjcj.net> p4raw-link: @33714 on //depot/perl: 7ecdd211705c44c1696529960c8ab5c1ad8f4c65 p4raw-link: @33701 on //depot/perl: c94593d00233fc038590bd1033bbe8f67f02f70c p4raw-link: @33700 on //depot/perl: 2f90724352f52b809834d375ef5bab2c674fdad4 p4raw-link: @33697 on //depot/perl: b91ba1f24f52edc181821f93840733a1b39a2451 p4raw-link: @33696 on //depot/perl: 7edbdc6bb49f5970d9a4f23864d7626f8390de5c p4raw-link: @33695 on //depot/perl: cc93af5fbd42046d3d6e19c3655b76edf6980b42 p4raw-link: @33687 on //depot/perl: c53f1caa29d8829011cc4dd8948bd9947d957fba p4raw-link: @33684 on //depot/perl: 5562fa714b8071354c365365c26a950efa73179a p4raw-link: @33675 on //depot/perl: 523b30316ccbf7957aa8da41729ba68b3a5f47b5 p4raw-link: @33671 on //depot/perl: a2e578dad2f237dd09854deb3a557d2eeeb56a83 p4raw-link: @33667 on //depot/perl: 89c6a13e141e02cc3af670ab47c1d41ac4e81ba0 p4raw-id: //depot/maint-5.10/perl@33947 p4raw-integrated: from //depot/perl@33946 'copy in' t/op/method.t (@22091..) t/op/universal.t (@30806..) t/mro/pkg_gen.t (@31239..) regen_lib.pl (@33608..) regen.pl (@33646..) 'merge in' t/op/re_tests (@33324..) perlio.c (@33504..) p4raw-integrated: from //depot/perl@33714 'copy in' ext/B/t/deparse.t (@33163..) ext/B/B/Deparse.pm (@33661..) p4raw-integrated: from //depot/perl@33701 'edit in' gv.c (@33696..) p4raw-integrated: from //depot/perl@33695 'edit in' op.c (@33687..) p4raw-integrated: from //depot/perl@33684 'merge in' mg.c (@33627..) p4raw-integrated: from //depot/perl@33671 'merge in' perl.c (@33639..) p4raw-integrated: from //depot/perl@33667 'merge in' regcomp.c (@33370..)
* Integrate:Dave Mitchell2008-05-281-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33414] Subject: [perl #46957] [PATCH] make Devel::Peek::mstat always available From: srezic@cpan.org (via RT) <perlbug-followup@perl.org> Date: Sat, 27 Oct 2007 11:33:57 -0700 Message-ID: <rt-3.6.HEAD-4732-1193510037-297.46957-75-0@perl.org> [ 33416] Subject: Re: [PATCH] NEXT.pm bug within overloaded stringification From: Marcel Grünauer <gr@univie.ac.at> Message-Id: <511B0A54-AB2D-4A65-A02E-E2E07C043EAB@univie.ac.at> Date: Mon, 3 Mar 2008 16:08:48 +0100 (a resend of <7BBCFD93-91CF-4656-A97F-ED5E749F7B2E@univie.ac.at>) [ 33434] Subject: [perl #50538] when( @n && %n ) fails to smart match From: "brian d foy" (via RT) <perlbug-followup@perl.org> Date: Mon, 04 Feb 2008 19:36:01 -0800 Message-ID: <rt-3.6.HEAD-4355-1202182561-1550.50538-75-0@perl.org> Updated tests in ticket to become TODO tests [ 33439] Bump VERSION after change #33416 (so we don't end up with different code but same version in 5.10.0 and, say, 5.10.1) [ 33442] Better line diagnostics - runlint's caller rather than runlint itself. [ 33445] Bring the joy of strict to ext/B/t/lint.t. [ 33447] Refactoring the /Can't return (?:array|hash) to scalar context/ croak logic in pp_rv2av into one place saves 112 bytes here. [ 33457] Subject: [PATCH] count-only transliteration needlessly makes copy-on-write From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Date: Tue, 4 Mar 2008 16:54:29 -0800 (PST) Message-ID: <47935.71.32.86.11.1204678469.squirrel@webmail.efn.org> [ 33458] Subject: Re: [PATCH] mg_magical() sometimes turns SvRMAGICAL on when it shouldn't From: Vincent Pit <perl@profvince.com> Date: Fri, 08 Feb 2008 23:22:19 +0100 Message-ID: <47ACD61B.6030501@profvince.com> [ 33463] Silence warning from VC++ following #33447 (not all control paths return a value) [ 33466] Subject: [PATCH] MAD update list of failures in mad/t/p55.t From: Gerard Goossen <gerard@tty.nl> Date: Mon, 10 Mar 2008 15:17:08 +0100 Message-ID: <20080310141708.GA28994@ostwald> [ 33467] Subject: [PATCH] Re: [PATCH] MAD fix p55 $[ From: Gerard Goossen <gerard@tty.nl> Date: Mon, 10 Mar 2008 15:44:03 +0100 Message-ID: <20080310144403.GC28994@ostwald> [ 33470] Subject: Re: [PATCH] make Archive::Extract's x.lzma test file be lzma'd, From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Date: Tue, 4 Mar 2008 00:28:34 -0800 (PST) Message-ID: <52329.71.32.86.11.1204619314.squirrel@webmail.efn.org> p4raw-link: @33470 on //depot/perl: 1842fafe88147d90b1a41de07040f8fdc9d95179 p4raw-link: @33467 on //depot/perl: 27aaedc17a97efc227bf59e642a1a074461e266d p4raw-link: @33466 on //depot/perl: 58a97135f419acbdcb88dba507c236c50a193268 p4raw-link: @33463 on //depot/perl: 77e217c696c39b67fc6443f86dde2d49211a6302 p4raw-link: @33458 on //depot/perl: 218787bdb7a9250de0cc00118d84dcb23ff2f1c5 p4raw-link: @33457 on //depot/perl: 3788ef8ffa548a64c7425dab843bc6e906dec25c p4raw-link: @33447 on //depot/perl: 042560a65fd56038b3116f30639cb99d98c48622 p4raw-link: @33445 on //depot/perl: 354c4f6702429b0ee68ace7c068c71c145b01011 p4raw-link: @33442 on //depot/perl: b810cbf3630b54e4370087ac3cf7984f09b3d77c p4raw-link: @33439 on //depot/perl: 9a35f1ea0522ed94d65ce910c1f49334b567bf08 p4raw-link: @33434 on //depot/perl: 1dcb720a51504d7b20fb1eac689c4efad1376736 p4raw-link: @33416 on //depot/perl: 5dd54fb4257bccaa223fa7d57413e664e9bb3c2c p4raw-link: @33414 on //depot/perl: 3128eefee559edb9fdd97ad1b3eff48da114045e p4raw-id: //depot/maint-5.10/perl@33943 p4raw-branched: from //depot/perl@33942 'branch in' ext/XS/APItest/t/rmagical.t lib/NEXT/t/stringify.t p4raw-integrated: from //depot/perl@33942 'copy in' t/op/tr.t (@31130..) ext/XS/APItest/APItest.xs (@32699..) ext/XS/APItest/APItest.pm (@33023..) lib/Archive/Extract/t/src/x.lzma.packed (@33098..) ext/B/t/lint.t (@33442..) 'merge in' ext/Devel/Peek/Peek.xs (@32703..) p4raw-integrated: from //depot/perl@33467 'merge in' op.c (@33369..) p4raw-integrated: from //depot/perl@33466 'ignore' mad/t/p55.t (@31554..) p4raw-integrated: from //depot/perl@33458 'merge in' mg.c (@33291..) p4raw-integrated: from //depot/perl@33457 'merge in' doop.c (@33291..) p4raw-integrated: from //depot/perl@33447 'edit in' pp_hot.c (@33376..) p4raw-integrated: from //depot/perl@33434 'copy in' t/op/switch.t (@32120..) p4raw-integrated: from //depot/perl@33416 'edit in' MANIFEST (@33410..) 'ignore' lib/NEXT.pm (@25261..) p4raw-integrated: from //depot/perl@33414 'merge in' malloc.c (@33389..)
* Integrate:Dave Mitchell2008-05-281-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33337] Setting the f flag on length causes the op to be constant folded. [ 33342] fix variable names in 'ununit var' warnings in evals [ 33363] Subject: [PATCH] B::Debug enhancements From: "Reini Urban" <rurban@x-ray.at> Date: Fri, 22 Feb 2008 09:52:32 +0100 Message-ID: <6910a60802220052t3c1f1d91ne38b8ba6f6c56651@mail.gmail.com> [ 33367] Avoid a segfault case in MRO code, based on : Subject: [perl #51092] [PATCH] Segfault when calling ->next::method on non-existing package From: ilmari@vesla.ilmari.org (via RT) <perlbug-followup@perl.org> Date: Thu, 21 Feb 2008 20:29:42 -0800 Message-ID: <rt-3.6.HEAD-15287-1203654581-377.51092-75-0@perl.org> [ 33369] Ensure that constant folding runs with IN_PERL_RUNTIME true, by copying the current compiling cop to a different address. This ensures that lexical hints are correctly honoured, and allows us to fold sprintf. [ 33377] If we have malloced_size() available, then avoid rounding up the string to the next (guessed) plausible alignment size, and instead find out how much memory was actually allocated, so that we can set this in the scalar's SvLEN(). This way, sv_grow() will be called far less often. [ 33378] In Perl_sv_usepvn_flags(), with MYMALLOC, use the actual malloc()ed size for SvLEN(), rather than an estimate. [ 33379] If the C library provides malloc_size(), we can use that in the same places as Perl's malloced_size(), except that we need to be careful of any PERL_TRACK_MEMPOOL manipulations in force. Wrap both as Perl_safesysmalloc_size(), to give a consistent name and interface. [ 33380] Fix preprocessor syntax [ 33383] Comment on why I don't think changing Perl_safesysmalloc_size() in av.c analagous to the change in sv.c is a good idea. [It's not a language design issue, so sadly I can't get a talk out of it. Or is that fortunately? :-)] [ 33389] Add Perl_malloc_good_size to malloc.c. (A routine that rounds up the passed in request to the size that will actually be allocated. It's the same interface as Darwin already provides with malloc_good_size().) [ 33390] Use malloc_good_size() to round up the size of requested arenas to the size that will actually be allocated, to squeeze last few bytes into use. p4raw-link: @33390 on //depot/perl: d8fca4022b56f335fb492e336b5d155376eb1bf7 p4raw-link: @33389 on //depot/perl: 641071807211a3969bcad26ac3f2a39f4550a11c p4raw-link: @33383 on //depot/perl: e050cc0e6db974512bccc84746c68ba4ed3e4079 p4raw-link: @33380 on //depot/perl: cfe5289891381086cbb4d57f93a59ba02c2cd726 p4raw-link: @33379 on //depot/perl: ca7c1a2998b2bece800791e0ee5cce600e2f647a p4raw-link: @33378 on //depot/perl: 5d487c263b0c0c7fb6c50dee3540f1838c4ab067 p4raw-link: @33377 on //depot/perl: 98653f182f8d34d630c65229237c0d55f664e886 p4raw-link: @33369 on //depot/perl: c427f4d2d4575fbc8a5190932fe321136c7597b3 p4raw-link: @33367 on //depot/perl: 5fa9f95182cd3e9dfed1f750408ef8b876d6a9c6 p4raw-link: @33363 on //depot/perl: c13076132a20419dab956060b96f9d3ef3b25ad7 p4raw-link: @33342 on //depot/perl: 50edf520be9fa4c0e7982006bec3a6939b2f61a7 p4raw-link: @33337 on //depot/perl: 1518d620d80f21c46a5f3757b2ebf28b92c1d602 p4raw-id: //depot/maint-5.10/perl@33942 p4raw-integrated: from //depot/perl@33941 'copy in' t/lib/warnings/7fatal (@30124..) t/mro/next_edgecases.t (@30998..) ext/B/B/Debug.pm (@33230..) 'edit in' opcode.h (@33356..) 'merge in' makedef.pl (@32835..) handy.h (@33045..) p4raw-integrated: from //depot/perl@33390 'edit in' sv.c (@33385..) 'merge in' hv.c (@33291..) p4raw-integrated: from //depot/perl@33389 'merge in' malloc.c (@33291..) embed.h (@33365..) embed.fnc proto.h (@33384..) p4raw-integrated: from //depot/perl@33383 'edit in' av.c (@33379..) p4raw-integrated: from //depot/perl@33379 'edit in' perl.h (@33376..) p4raw-integrated: from //depot/perl@33369 'merge in' op.c (@33368..) p4raw-integrated: from //depot/perl@33367 'merge in' mro.c (@33291..) p4raw-integrated: from //depot/perl@33342 'merge in' t/lib/warnings/9uninit (@33310..) p4raw-integrated: from //depot/perl@33337 'edit in' opcode.pl (@33267..)
* Integrate:Dave Mitchell2008-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33297] Subject: [PATCH] Read-only variable tests From: "Jerry D. Hedden" <jdhedden@cpan.org> Date: Fri, 8 Feb 2008 14:06:41 -0500 Message-ID: <1ff86f510802081106l737e4dcdibb73c8eacb4c39d8@mail.gmail.com> with one less TODO test [ 33311] Subject: Re: [perl #50706] %^H affecting outside file scopes From: Rick Delaney <rick@bort.ca> Date: Tue, 12 Feb 2008 14:05:22 -0500 Message-ID: <20080212190522.GB16896@bort.ca> [ 33312] Add missing file to MANIFEST, to go with change #33311 [ 33313] Subject: [PATCH t/op/pat.t] Re: [perl #50496] Bug Report: 'keys %+' does not return the correct keys. From: Abigail <abigail@abigail.be> Date: Thu, 7 Feb 2008 17:53:30 +0100 Message-ID: <20080207165330.GA25617@abigail.be> with tweaks (one more test marked TODO) [ 33317] Typo catch, by Abigail [ 33322] Correctly reference count the hints hash [ 33323] Fix macro name in comment [ 33324] Fix perlbug 50114 and document what the code does a bit better [ 33325] Fix bug 50496 -- regcomp.c=~s/lastcloseparen/lastparen/g -- lastcloseparen is literally the index of the last paren closed -- lastparen is index of the highest index paren that has been closed. In nested parens, they will be completely different. 'ab'=~/(a(b))/ will have: lastparen = 2, lastcloseparen = 1 'ab'=~/(a)(b)/ will have: lastparen = lastcloseparen = 2 [ 33327] Subject: [ patch ] silence 2 possibly uninitialized vars From: Jim Cromie <jim.cromie@gmail.com> Date: Sat, 16 Feb 2008 18:02:19 -0700 Message-ID: <47B7879B.5040302@gmail.com> p4raw-link: @33327 on //depot/perl: 4f61fd4b74b06db0447fa2ade9a7c3c85c08bbb3 p4raw-link: @33325 on //depot/perl: 250257bbff1fc2894d6e73059be5be21b4ea00a4 p4raw-link: @33324 on //depot/perl: 639081d6f95c9b3121be1c0c372070f2e0ca4eaf p4raw-link: @33323 on //depot/perl: 34795b444ea0d5e132ba709fc4810b1d0ca42796 p4raw-link: @33322 on //depot/perl: 50a25f5b3f6c81747a40fdda68c9ad6bf32980bc p4raw-link: @33317 on //depot/perl: ac29ea618786f0a38e2ac499b0736f40f4b2eb78 p4raw-link: @33313 on //depot/perl: 66072c921436c766269e73c39b5681133d44af1c p4raw-link: @33312 on //depot/perl: e5e2ca09e608f6cc317e54006e2114fa77dcb134 p4raw-link: @33311 on //depot/perl: 27eaf14c55a541e1e4f2529a8084e15a8cc43d41 p4raw-link: @33297 on //depot/perl: 6ba536972b10525e985c307bc39be08fad8ed272 p4raw-id: //depot/maint-5.10/perl@33941 p4raw-branched: from //depot/perl@33940 'branch in' t/lib/Sans_mypragma.pm p4raw-integrated: from //depot/perl@33940 'copy in' lib/Internals.t (@15208..) t/lib/mypragma.t (@29475..) p4raw-integrated: from //depot/perl@33327 'merge in' toke.c (@33291..) p4raw-integrated: from //depot/perl@33324 'edit in' regcomp.c (@33291..) 'merge in' t/op/re_tests (@32941..) p4raw-integrated: from //depot/perl@33323 'merge in' op.c (@33315..) p4raw-integrated: from //depot/perl@33322 'edit in' pp_ctl.c (@33311..) p4raw-integrated: from //depot/perl@33317 'edit in' t/op/pat.t (@33316..) p4raw-integrated: from //depot/perl@33312 'merge in' MANIFEST (@33291..)
* Integrate:Bram2008-05-211-1/+1
| | | | | | | | | | | | | | | | [ 33849] Subject: [perl #38955] exists(): error message on wrong argument type is incorrect (5.8.7 cygwin) From: "Bram via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-11257-1211022849-1634.38955-15-0@perl.org> [ 33891] metabatman fails the "this patch is self-documenting" test. Restore (roughly) the original parameter names. p4raw-link: @33891 on //depot/perl: 99978bb4f628eeae8af4cb3f5bf7d42e615e2d36 p4raw-link: @33849 on //depot/perl: b0fdf69ec50f40b936b80fb258d82bfc8e867346 p4raw-id: //depot/maint-5.10/perl@33895 p4raw-integrated: from //depot/perl@33894 'merge in' pod/perldiag.pod (@32990..) hv.h (@33051..) op.c (@33766..)
* Allow the 'smart match in void context' warning into 5.10.1,Michael G. Schwern2008-04-251-0/+2
| | | | | | | | | | | | | | | | | | as we're going to break smart-matching backcompat anyway... Integrate: [ 32876] Subject: Re: grep and smart match should warn in void context Message-ID: <476EBD58.9050505@pobox.com> [ 32888] Let's remove the grep in void context warning. p4raw-link: @32888 on //depot/perl: f5df47822a9b069b4d7a24dd025c8f27786c45fa p4raw-link: @32876 on //depot/perl: 74295f0bd81452f77ee575c561ad4d9e83dca07d p4raw-id: //depot/maint-5.10/perl@33743 p4raw-integrated: from //depot/perl@32888 'edit in' op.c (@32876..) p4raw-integrated: from //depot/perl@32876 'ignore' t/lib/warnings/op (@31812..)
* Integrate:Nicholas Clark2008-04-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33709] Add "eliminate incorrect line numbers in warnings" to perltodo, and a pair of TODO tests for the desired behaviour. [ 33710] Fix the line-number-in-elsif longstanding bug. This patch does two things : - newSTATEOP now nullifies the state op it just created if OPf_SPECIAL is passed to it in flags - the parser now inserts a nullified stateop in the expression block of an elsif [ 33724] Note that Rafael did the key elsif() line number TODO, and we're not certain that solving the general case is worth it. p4raw-link: @33724 on //depot/perl: 18a16cc57227b924e697696433dd9183b2f690e1 p4raw-link: @33710 on //depot/perl: f6f3a1fea2bda9d33f9cc5367b630a21738c9def p4raw-link: @33709 on //depot/perl: 12e06b6fd7025de6faae2a6f788653cc97790444 p4raw-id: //depot/maint-5.10/perl@33726 p4raw-integrated: from //depot/perl@33725 'merge in' perly.act perly.y (@33269..) op.c (@33695..) p4raw-integrated: from //depot/perl@33709 'edit in' t/lib/warnings/9uninit (@33557..) pod/perltodo.pod (@33708..)
* Integrate:Robin Barker2008-03-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33085] Subject: FW: [PATCH] RE: [PATCH] volatile, avoid clobbered From: "Robin Barker" <Robin.Barker@npl.co.uk> Date: Wed, 23 Jan 2008 18:51:24 -0000 Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A06@exchsvr2.npl.ad.local> [ 33106] Fix Win32 compiler warnings introduced by #33081 and #33085 [just the 33081 part] [ 33152] Subject: [PATCH] don't forbid brace groups with g++ 4.2.2 From: "Robin Barker" <Robin.Barker@npl.co.uk> Date: Wed, 30 Jan 2008 18:42:25 -0000 Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A17@exchsvr2.npl.ad.local> [ 33368] Two break; statements that aren't (yet) needed, but may trip someone up in the future. p4raw-link: @33368 on //depot/perl: 553e7bb0c885d7b666ab73f45e41f7e6dab46330 p4raw-link: @33152 on //depot/perl: 70aab261fe2e372e4c553e86fe28c568f5686804 p4raw-link: @33106 on //depot/perl: 8c54174d094a78800e8ccba3f591a61aef9be2bf p4raw-link: @33085 on //depot/perl: 001d637e39d61293255c8b6c91da77ebdca4e4d6 p4raw-id: //depot/maint-5.10/perl@33611 p4raw-integrated: from //depot/perl@33152 'edit in' perl.h (@33085..) p4raw-integrated: from //depot/perl@33106 'merge in' embed.fnc pod/perlapi.pod proto.h (@33103..) p4raw-integrated: from //depot/perl@33085 'edit in' op.c (@33072..) 'merge in' perl.c (@33026..)
* Integrate:Nicholas Clark2008-01-301-5/+7
| | | | | | | | | | | | | | | [ 32867] Clarify the intent of the code in Perl_op_clear. Under ithreads, avoid calling sv_ivset twice. As a side effect, eliminate PM_GETRE_SAFE and PM_SETRE_SAFE, as we're doing "safe" explicitly in Perl_op_clear(). [ 32868] Enforce some type safety in PM_SETRE by adding PM_SETRE_OFFSET. p4raw-link: @32868 on //depot/perl: ede1273d4e7ecb92df498e88937c3198127171a4 p4raw-link: @32867 on //depot/perl: 9cddf794fc52f08a145668164b1e3c15c91a713f p4raw-id: //depot/maint-5.10/perl@33141 p4raw-integrated: from //depot/perl@32868 'edit in' op.c (@32867..) p4raw-integrated: from //depot/perl@32867 'edit in' op.h (@32808..)
* Integrate:Nicholas Clark2008-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32686] Subject: mg_free frees data but leaves it accessible From: Yuval Kogman <nothingmuch@woobling.org> Message-ID: <20071220221331.GG10631@woobling.org> Date: Fri, 21 Dec 2007 00:13:31 +0200 [ 32743] You can't coerce a typeglob to a string. (Restore the error message - an assertion failure is not helpful). Test the 3 basic coercion error messages. [ 32754] Silly Nick. There was a bug in change 30757 whereby the precomp of a dup'd regexp would be pointing somewhere la-la. Probably at the precomp of the same regexp in the parent thread. (So it is only likely to go nasal daemon if the parent thread terminates first, or explicitly goes around freeing up run time generated regexps.) [ 32779] Subject: [PATCH] Typo in op.c From: Vincent Pit <perl@profvince.com> Message-ID: <47712BF1.9060200@profvince.com> Date: Tue, 25 Dec 2007 17:12:33 +0100 (And then an update to make the tests in gv.t expect the right thing, and test the behaviour that my change 26482 was originally supposed to produce, but didn't until this typo was fixed) [ 32874] Subject: [perl #49003] pp_ftrread appears to use the wrong access mode for -x when using "use filetest 'access';" From: pravus@cpan.org (via RT) <perlbug-followup@perl.org> Date: Fri, 21 Dec 2007 10:05:15 -0800 Message-ID: <rt-3.6.HEAD-22850-1198260315-255.49003-75-0@perl.org> [ 32906] change #31447 was wrong. Really handle cloning a stale lexical var [ 32932] Fix the bug introduced by the bug fix of change 30755. (Certain regexps could SEGV if cloned). [ 32935] Fix bug picked up by printf format warnings - a cast is needed where UV is larger than U32 for dumping leaking scalars. [ 32968] Fix bug whereby length on a tied scalar that returned a UTF-8 value would not be correct the first time. (And for the more pathological case, would be incorrect if the UTF-8-ness of the returned value changed.) [ 33026] When changing the op_ppaddr of an op, one must keep its op_type in sync. That helps writers of alternate runloops. [ 33033] In pp_subst, rxtainted is not a boolean, as it stores 2 bits of values. p4raw-link: @33033 on //depot/perl: 99710fe38e53c8e763d4758979c48cc5bc8503cf p4raw-link: @33026 on //depot/perl: 377b1098958349a561ae80eec0745a3418c2ddb4 p4raw-link: @32968 on //depot/perl: d06445298904613950b0410a2f3b1125ab58c7b5 p4raw-link: @32935 on //depot/perl: 574b88211c0c7c08c099f0fa17b950a4aaf1c62f p4raw-link: @32932 on //depot/perl: 66b1de870892b142348d95c3a6c21c7ff7269508 p4raw-link: @32906 on //depot/perl: 33894c1aa3e715f48f9d6f591dc779d058e6329b p4raw-link: @32874 on //depot/perl: b376053de54af4268a31e5a60d1f9e57db30af11 p4raw-link: @32779 on //depot/perl: 50baa5ea2240b5b5f0f2d876ef7d68fbb74f49e4 p4raw-link: @32754 on //depot/perl: 3a9b2cacfb08e1181b7d9ae45cad1ed8acd59972 p4raw-link: @32743 on //depot/perl: 1f257c956c5d42ce792dd5e0f3badf9851cef49c p4raw-link: @32686 on //depot/perl: c826f41b69925b8dedc613995e7dbb5bc467e6a4 p4raw-link: @31447 on //depot/perl: efa785391fea9e6aff4c999b27ad62b7d8f9ea99 p4raw-id: //depot/maint-5.10/perl@33132 p4raw-branched: from //depot/perl@33131 'branch in' t/uni/tie.t p4raw-integrated: from //depot/perl@33131 'copy in' t/op/closure.t (@31448..) 'edit in' mg.c (@32948..) p4raw-integrated: from //depot/perl@33033 'merge in' pp_hot.c (@33017..) p4raw-integrated: from //depot/perl@33026 'edit in' perl.c (@33025..) p4raw-integrated: from //depot/perl@32968 'copy in' t/op/length.t (@19961..) 'merge in' MANIFEST (@32954..) p4raw-integrated: from //depot/perl@32932 'ignore' t/op/pat.t (@32931..) p4raw-integrated: from //depot/perl@32906 'copy in' pad.c (@31835..) p4raw-integrated: from //depot/perl@32874 'merge in' pp_sys.c (@32822..) p4raw-integrated: from //depot/perl@32779 'merge in' op.c (@32753..) p4raw-integrated: from //depot/perl@32754 'edit in' regcomp.c (@32753..) p4raw-integrated: from //depot/perl@32743 'ignore' t/op/gv.t (@31940..) 'merge in' sv.c (@32740..)
* Integrate:Nicholas Clark2008-01-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32753] Wrap all accesses to the members precomp and prelen of struct regexp in the macros RX_PRECOMP() and RX_PRELEN(). This will allow us to reduce the regexp storage overhead by computing them at retrieve time. [ 32756] Replace 3 uses of RX_PRELEN(r) with plen, which has the same value. (But isn't a pointer dereference. Or about to become a calculation.) [ 32758] Wrap wrapped and wraplen from struct regexp in macros RW_WRAPPED() and RX_WRAPLEN() to preserve source compatibility when they get moved around. [ 32774] The position of the modifier flag bits is actually encoded by a right shift 12 in two places, so replace that magic number with a macro RXf_PMf_STD_PMMOD_SHIFT defined adjacent to the flags it interacts with. [ 32802] Wrap all deferences of struct regexp* in macros RX_*() [and for regcomp.c and regexec.c RXp_* where necessary] so that in future we can maintain source compatibility when we add an extra level of dereferencing. p4raw-link: @32802 on //depot/perl: 07bc277f32c1d7aff237dd3f55d558b5d4b93314 p4raw-link: @32774 on //depot/perl: 14f3b9f2b06052c35a95062569fb2799771d1e2b p4raw-link: @32758 on //depot/perl: 866c78d1cf6feeffe34601c244c137d8b30ec2e4 p4raw-link: @32756 on //depot/perl: bb661a585caf67142a296faaea725681ffc2a2ac p4raw-link: @32753 on //depot/perl: 220fc49f9cd19ab777a22ef733671f0fbb81e6bd p4raw-id: //depot/maint-5.10/perl@33130 p4raw-integrated: from //depot/perl@32802 'copy in' regcomp.h (@32793..) 'edit in' regexec.c (@32753..) 'merge in' pp.c (@32760..) mg.c (@32789..) perl.h (@32793..) p4raw-integrated: from //depot/perl@32774 'edit in' regcomp.c (@32758..) regexp.h (@32759..) p4raw-integrated: from //depot/perl@32758 'edit in' dump.c ext/re/re.xs (@32753..) p4raw-integrated: from //depot/perl@32753 'edit in' op.c (@32680..) pp_ctl.c pp_hot.c (@32751..) 'ignore' ext/B/B.xs (@32751..)
* Integrate:Rick Delaney2008-01-291-49/+61
| | | | | | | | | [ 32891] Subject: [PATCH] Big slowdown in 5.10 @_ parameter passing Message-ID: <20080106191439.GF13935@bort.ca> p4raw-link: @32891 on //depot/perl: fafafbaf705adfdf05ff97b6ab5149ba4ee3c039 p4raw-id: //depot/maint-5.10/perl@33110 p4raw-integrated: from //depot/perl@32891 'merge in' op.c (@32888..)
* Fix an off by one error, found by valgrindRafael Garcia-Suarez2007-10-241-1/+1
| | | p4raw-id: //depot/perl@32183
* Fix a few segfaults and a when() bugjosh2007-10-171-0/+5
| | | | | | From: "josh" <twists@gmail.com> Message-ID: <20071015043708.GA10981@grenekatz.org> p4raw-id: //depot/perl@32120
* Perl_ck_smartmatch needs a dVAR too.Nicholas Clark2007-10-161-0/+1
| | | p4raw-id: //depot/perl@32110
* Remove some strlen()s and replace one strlcpy() with memcpy() becauseNicholas Clark2007-10-121-4/+9
| | | | | we already know the string length. p4raw-id: //depot/perl@32105
* newCONTSUB() wasn't thread-safe ([perl #45053])Dave Mitchell2007-10-101-0/+7
| | | p4raw-id: //depot/perl@32091
* Silence a load of "value computed is not used" warningsRafael Garcia-Suarez2007-09-211-1/+2
| | | p4raw-id: //depot/perl@31936
* Get mad compiling as C++. (At least for me)Nicholas Clark2007-09-201-1/+1
| | | p4raw-id: //depot/perl@31933
* Add the missing assignment to op_last that change 31798 missed out.Nicholas Clark2007-09-121-0/+5
| | | | | With this, state $zok = ...; will deparse. p4raw-id: //depot/perl@31857
* state variables shouldn't be shared between anon subsDave Mitchell2007-09-091-0/+6
| | | p4raw-id: //depot/perl@31833
* For now, forbid all list assignment initialisation of state variables,Nicholas Clark2007-09-081-0/+50
| | | | | | | as the precise semantics in Perl 6 are not clear. Better to make it a syntax error, than to have one behaviour now, but change it later. [I believe that this is the consensus. If not, it will be backed out] p4raw-id: //depot/perl@31824