summaryrefslogtreecommitdiff
path: root/dump.c
Commit message (Collapse)AuthorAgeFilesLines
* Re: Fix loads of warnings from the last escaping patch...Yves Orton2006-07-161-14/+15
| | | | | Message-ID: <9b18b3110607161059j276ac869p450aa178150044ae@mail.gmail.com> p4raw-id: //depot/perl@28589
* Updated escaping code. utf8 regex debug output improvementsYves Orton2006-07-151-53/+140
| | | | | Message-Id: <9b18b3110607150956o6273a16clb1518911d1945d4@mail.gmail.com> p4raw-id: //depot/perl@28582
* Introduce a new function, pv_escape(), to display contents of PVsYves Orton2006-07-061-31/+112
| | | | | | | | that might contain non printable chars. Subject: Re: [PATCH]: fix: [perl #39583] Pattern Match fails for specific length string Message-ID: <9b18b3110607051140n10c211a1jf17d3b7914d6f68b@mail.gmail.com> p4raw-id: //depot/perl@28490
* dump.c patchesAndy Lester2006-06-071-36/+36
| | | | | Message-ID: <20060606150137.GA4434@petdance.com> p4raw-id: //depot/perl@28363
* don't try to dump GVish parts of an LV if it hasn't got GVish partsDave Mitchell2006-05-201-10/+14
| | | p4raw-id: //depot/perl@28260
* Introduce a new keyword, state, for state variables.Rafael Garcia-Suarez2006-05-031-0/+1
| | | p4raw-id: //depot/perl@28086
* clean up loops in doio.c and dump.cAndy Lester2006-05-031-21/+17
| | | | | Message-ID: <20060502183815.GA7979@petdance.com> p4raw-id: //depot/perl@28077
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-1/+1
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* op_type shrinkingAndy Lester2006-04-201-40/+40
| | | | | Message-ID: <20060420041653.GA28523@petdance.com> p4raw-id: //depot/perl@27910
* Calling cv_undef() on the CV created by newCONSTSUB() would leak likeNicholas Clark2006-04-191-2/+6
| | | | | | | | | | a Jumblie's preferred maritime craft. To free CvFILE for this case, take advantage of the 0 length prototype that will also be there, and hang it from the prototype. To do this properly means changing code to actually pay attention to SvCUR() on prototypes. It turns out that we always know the length of the prototype string, so this may be faster. Certainly, it's a memory saving (even ignoring the leak). p4raw-id: //depot/perl@27896
* A fix to change #27845 to get it to compile with -DPERL_MAD.Steve Peters2006-04-181-1/+1
| | | | | p4raw-link: @27845 on //depot/perl: 4199688e3d699f53e17448d3bad6e93e57d49dcc p4raw-id: //depot/perl@27889
* dump.c patch reduxAndy Lester2006-04-161-54/+40
| | | | | Message-ID: <20060416052936.GA19143@petdance.com> p4raw-id: //depot/perl@27845
* Teach Perl_do_sv_dump how to cope with IOs that have bogus things inNicholas Clark2006-04-151-3/+26
| | | | | GV slots. (Which source filters are prone to do to them). p4raw-id: //depot/perl@27827
* Serialise changes to %^H onto the current COP. Return the compile timeNicholas Clark2006-03-311-0/+3
| | | | | | state of %^H as an eleventh value from caller. This allows users to write pragmas. p4raw-id: //depot/perl@27643
* Random accumulated patchesAndy Lester2006-03-311-3/+3
| | | | | Message-ID: <20060331054228.GA18940@petdance.com> p4raw-id: //depot/perl@27641
* Moving the overloading flag from the reference to the referant allowsNicholas Clark2006-03-151-2/+1
| | | | | (re)?blessing of overloaded objects to work correctly. p4raw-id: //depot/perl@27506
* Remove two NEWSV()s in the non-ithread dump code that got missed.Nicholas Clark2006-03-091-2/+2
| | | p4raw-id: //depot/perl@27455
* Fix C99ism in dump.cNicholas Clark2006-03-091-2/+2
| | | p4raw-id: //depot/perl@27434
* MAD changes to dump.cNicholas Clark2006-03-081-0/+970
| | | p4raw-id: //depot/perl@27422
* Curiously none of the macros SvIVX, SvUVX or SvNVX are used onNicholas Clark2006-02-251-3/+4
| | | | | typeglobs. p4raw-id: //depot/perl@27325
* Store GvGP in the SV head union. For all the common lookups [eg GvCV()]Nicholas Clark2006-02-251-1/+3
| | | | | | | | this avoids 1 pointer dereference and the associated risk of a CPU cache miss. Although this patch looks deceptively small, I fear its CBV(*) might be rather high. (* Crack By Volume) p4raw-id: //depot/perl@27323
* Replace direct flags tests & manipulations for SVpad_TYPED andNicholas Clark2006-02-231-3/+3
| | | | | | SVpad_OUR with macros SvPAD_TYPED(), SvPAD_OUR() etc, to abstract away the flags bits acutally used to store this information. p4raw-id: //depot/perl@27294
* Remove set magic from typeglobs. Remove typeglob magic entirely.Nicholas Clark2006-02-231-2/+0
| | | | | | Typeglobs now never access the SvPVX, SvIVX or SvNVX when holding a valid GvGP(). p4raw-id: //depot/perl@27289
* sv_dump should report the PV for PVGVs, as it can get set.Nicholas Clark2006-02-221-1/+1
| | | | | (Typeglobs stringify via a call to GET magic, which uses the PV slot.) p4raw-id: //depot/perl@27269
* PVCVs don't need XNVs either.Nicholas Clark2006-02-201-1/+1
| | | | | | (And actually remove xcv_depth) (And fix the copy lengths in bodies_by_type) p4raw-id: //depot/perl@27249
* PVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so movingNicholas Clark2006-02-201-2/+2
| | | | | | | | | xcv_depth into the IV union saves 4(ish) bytes per CV and format. "ish" because it was a long, but has been changed to I32 (along with the corresponding field in struct block_sub) so as not to enlarge the IV union on platforms where sizeof(long) > sizeof(IV), or struct block_sub where sizeof(long) > sizeof(I32) p4raw-id: //depot/perl@27247
* Fix sv_dump to dump formats without the (non-existent) NVX.Nicholas Clark2006-02-201-1/+2
| | | p4raw-id: //depot/perl@27245
* xcv_root and xcv_xsub can also be merged into a union, providing a newNicholas Clark2006-02-201-7/+14
| | | | | flag is added to denote whether the PVCV is perl or XSUB. p4raw-id: //depot/perl@27244
* xcv_start and xcv_xsubany can be merged into a union, as they are neverNicholas Clark2006-02-201-2/+2
| | | | | both needed. p4raw-id: //depot/perl@27243
* Add a new CvISXSUB() macro, for abstracting the test as to whether aNicholas Clark2006-02-201-1/+1
| | | | | PVCV is perl or XS. p4raw-id: //depot/perl@27241
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-1/+1
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* s/Nullcv/NULL/gSteven Schubiger2006-02-031-1/+1
| | | | | | Message-ID: <20060202150241.GF12591@accognoscere.homeunix.org> Date: Thu, 2 Feb 2006 16:02:41 +0100 p4raw-id: //depot/perl@27060
* Re: [PATCH] s/Null(av|ch)/NULL/gSteven Schubiger2006-02-021-6/+6
| | | | | Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org> p4raw-id: //depot/perl@27054
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-2/+2
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+12
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* More copyright updatesRafael Garcia-Suarez2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26652
* Introduce the macros newSVpvs(str) and sv_catpvs(sv, str).Gisle Aas2006-01-041-14/+14
| | | | | Gets rid of many hardcoded string lengths. p4raw-id: //depot/perl@26641
* RMAGIC on symbol tables is bad, m'kay.Nicholas Clark2005-12-301-0/+9
| | | | | | | | Allow hashes (and therefore all symbol tables) to store the backreference array in the hv_aux structure, and thereby undo the performance damage of 24966, which resulted in 60% of all hash lookups trying to mg_find tiehash magic. p4raw-id: //depot/perl@26530
* av.c cleanup, plus!Andy Lester2005-12-291-2/+2
| | | | | Message-ID: <20051228214414.GD26033@petdance.com> p4raw-id: //depot/perl@26526
* Ho! Ho! Ho! Santa brings consting!Andy Lester2005-12-221-4/+5
| | | | | Message-ID: <20051222165717.GA2874@petdance.com> p4raw-id: //depot/perl@26450
* Make sv_dump (and therefore Devel::Peek) report the value of theNicholas Clark2005-12-191-1/+15
| | | | | constant in inlineable constant subroutines. p4raw-id: //depot/perl@26404
* More consting, and putting stuff in embed.fncAndy Lester2005-12-061-15/+17
| | | | | Message-ID: <20051205194613.GB7791@petdance.com> p4raw-id: //depot/perl@26281
* Fix for [perl #36853] -Dx can crash bleadperlRafael Garcia-Suarez2005-08-161-4/+2
| | | | | The PL_op_sequence global hash wasn't initialized p4raw-id: //depot/perl@25296
* more embed cleanupAndy Lester2005-07-151-1/+1
| | | | | | | Message-ID: <20050715155115.GC29983@petdance.com> (and run regen.pl) p4raw-id: //depot/perl@25156
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-1/+1
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* If gp_flags is unused, why are we even allocating it?Nicholas Clark2005-06-301-1/+0
| | | p4raw-id: //depot/perl@25019
* weak references aren't UVs, do don't show this in the dump flags.Nicholas Clark2005-06-211-1/+1
| | | p4raw-id: //depot/perl@24921
* Move SvPV consting, remove an n_a, and correct one error in Move()Nicholas Clark2005-06-101-9/+9
| | | p4raw-id: //depot/perl@24798
* Fixes the case of $a = \$#{[]}; and then accessing $$aNicholas Clark2005-06-091-0/+1
| | | | | (but not \$#a after local @a or my @a leave a block) p4raw-id: //depot/perl@24783
* More SvPV constingNicholas Clark2005-06-081-1/+1
| | | p4raw-id: //depot/perl@24769