summaryrefslogtreecommitdiff
path: root/dump.c
Commit message (Collapse)AuthorAgeFilesLines
* dump.c: format fixesJarkko Hietaniemi2007-02-201-2/+2
| | | | | Message-Id: <20070220010050.CCDAF43A67@anubis.hut.fi> p4raw-id: //depot/perl@30366
* Better dump reporting of "PVBM"s.Nicholas Clark2007-02-021-1/+8
| | | p4raw-id: //depot/perl@30091
* make Dump display the SVf_BREAK flagDave Mitchell2007-01-151-0/+1
| | | p4raw-id: //depot/perl@29839
* Eliminate pp_threadsv, as it was only ever used by 5005 threads.Nicholas Clark2007-01-081-8/+0
| | | p4raw-id: //depot/perl@29727
* Silence a 'null argument' warningRafael Garcia-Suarez2007-01-041-2/+3
| | | p4raw-id: //depot/perl@29683
* Re: [PATCH] Change implementation of %+ to use a proper tied hash interface ↵Yves Orton2007-01-041-19/+31
| | | | | | | and add support for %- Message-ID: <9b18b3110612291245q792fe91cu69422d2b81bb4f0b@mail.gmail.com> p4raw-id: //depot/perl@29682
* Rename OURSTASH to SvOURSTASH and OURSTASH_set to SvOURSTASH_set.Nicholas Clark2007-01-031-2/+2
| | | p4raw-id: //depot/perl@29679
* Teach dump about OURSTASH and COP ranges stored in the NV union.Nicholas Clark2007-01-031-5/+15
| | | p4raw-id: //depot/perl@29677
* Update copyright years to include 2007. (Plus a couple of 2006s andNicholas Clark2007-01-021-1/+1
| | | | | earlier we missed in av.h and hv.h) p4raw-id: //depot/perl@29670
* PVMG can be isUV too.Nicholas Clark2007-01-021-2/+1
| | | p4raw-id: //depot/perl@29668
* Move SVt_BIND to be the lowest type after SVt_NULL. This will force allNicholas Clark2006-12-311-2/+2
| | | | | | | | | code attempting to upgrade a BIND to anything into sv_upgrade(), which for now will croak, but in future can DTRT, for whatever TRT is decided to be. Make SvOK() check the flags of the referenant for a BIND, as I envisage that the only flag bit that will get set on a BIND is SVf_UTF8 even if the referant has a defined value. p4raw-id: //depot/perl@29642
* further fix for #29543: fix parser leaks caused by croakingDave Mitchell2006-12-291-1/+3
| | | p4raw-id: //depot/perl@29636
* Add a new flag SVprv_PCS_IMPORTED (which is a pseudonym for SVf_SCREAM)Nicholas Clark2006-12-161-1/+5
| | | | | | | to note when a proxy constant subroutine is copied. This allows us to correctly set GvIMPORTED_CV_on() if the symbol is ever turned into a real GV. p4raw-id: //depot/perl@29566
* Split out the use of SVp_SCREAM for GVs with GPs into a new symbolicNicholas Clark2006-12-161-1/+1
| | | | | flag SVpgv_GP, and use this in isGV_with_GP_on/off. p4raw-id: //depot/perl@29565
* misc MAD coredump fixes and parser leak fixesDave Mitchell2006-12-131-3/+7
| | | | | | | | | - fix MAD coredump in tr/// - fix mad coredump in multi-line string literals - kill some MAD uninit value warnings - don't allow assignment to $n in perly.y - make op_dump handle op_latefree flags p4raw-id: //depot/perl@29548
* Eliminate PVBM. Store fast Boyer-Moore tables in PVGV.Nicholas Clark2006-12-131-8/+6
| | | | | | Add the placeholder for new type, temporarily named BIND, for binding and aliasing in 6 on 5. p4raw-id: //depot/perl@29544
* Correct the dumping logic for the various bits of flag bendingNicholas Clark2006-12-121-6/+13
| | | | | associated with change 27313 or therabouts. p4raw-id: //depot/perl@29540
* Shrink Perl_sv_peek() and Perl_do_sv_dump() by using type to nameNicholas Clark2006-12-121-104/+57
| | | | | lookup tables. p4raw-id: //depot/perl@29534
* Cleanup regexp flags and structureYves Orton2006-11-231-2/+2
| | | | | Message-ID: <9b18b3110611230336p3ce3b16du47cd5398dea8d873@mail.gmail.com> p4raw-id: //depot/perl@29360
* Using explicit printf-like APIs with a format of "%s" isn't the world'sNicholas Clark2006-10-181-2/+2
| | | | | most efficient idea. p4raw-id: //depot/perl@29042
* Re: [PATCH] Initial attempt at named captures for perls regexp engineYves Orton2006-10-071-0/+1
| | | | | Message-ID: <9b18b3110610061016x5ddce965u30d9a821f632d450@mail.gmail.com> p4raw-id: //depot/perl@28957
* ; was RE: [PATCH perlio.c pp.c regcomp.c] silence format and comparison warningsRobin Barker2006-09-051-10/+10
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120A21@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@28786
* g++ stage 1 reachedJarkko Hietaniemi2006-08-081-2/+2
| | | | | Message-ID: <44D7AA6B.4040802@iki.fi> p4raw-id: //depot/perl@28674
* g++ large patchJarkko Hietaniemi2006-08-071-2/+2
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* 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