summaryrefslogtreecommitdiff
path: root/dump.c
Commit message (Collapse)AuthorAgeFilesLines
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* add support for assertions. Updated form of:Salvador FandiƱo2003-02-161-0/+1
| | | | | | Subject: Re: Did the assertion patch/feature submission get overlooked? Message-ID: <3DE8F439.50402@yahoo.com> p4raw-id: //depot/perl@18727
* Move SvPVIV out of ->op_sv of METHOD_NAMED into the pad, fixesArtur Bergman2003-02-021-1/+1
| | | | | | threading issue. Should perhaps be a PVOP to save memory, but then we have nowhere to store the hash of the function! p4raw-id: //depot/perl@18640
* Retract the %_/SVf change (part of #18456) for PROTOTYPE (CV)Jarkko Hietaniemi2003-01-291-1/+1
| | | | | | dumping (but now use SvPV_nolen). (This change made an empty prototype to show up as "_" under -Uuseperlio.) p4raw-id: //depot/perl@18600
* Re: slight tweak to -DR flag - display whether on tmps stackDave Mitchell2003-01-221-3/+15
| | | | | Message-ID: <20030119172204.D24444@fdgroup.com> p4raw-id: //depot/perl@18558
* integrate (by hand) #18353 and #18359 from maint-5.8:Hugo van der Sanden2003-01-211-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a cache for UTF-8 data: length and byte<->char offset mapping are stored in a new type of magic. Speeds up length(), substr(), index(), rindex(), pos(), and some parts of s///. The speedup varies a lot (on the usual suspects: what is the access pattern of the data, compiler, CPU), but should be at least one order of magnitude, and getting to the same magnitude as byte string speeds, and in some cases (length on unchanged data) even reaching the byte string speed. On the other hand, in some cases (index) the byte speed is still faster by a factor of five or so, but the bottleneck there does not seem to be any more the byte<->char offset mapping (instead, the fbm_instr() speed). There is one cache slot for the length, and only two for the byte<->char offset mapping (the first one for the start->offset, and the second for the offset->offset+length, when talking in substr() terms). Code this hairy is bound to have hairy trolls hiding under it. [...] A small tweak on top of #18353: don't display mg_len bytes of mg_ptr for PERL_MAGIC_utf8 because that's not what's there. p4raw-id: //depot/perl@18530
* %_ (was Re: [PATCH] operation on `PL_na' may be undefined)Nicholas Clark2003-01-071-10/+7
| | | | | Message-ID: <20021226211626.GD284@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18456
* new flag SvPADSTALEDave Mitchell2003-01-031-0/+1
| | | | | Message-ID: <20021219190021.D9530@fdgroup.com> p4raw-id: //depot/perl@18410
* remove flag SvPADBUSYDave Mitchell2003-01-031-1/+0
| | | | | Message-ID: <20021219185543.C9530@fdgroup.com> p4raw-id: //depot/perl@18409
* Proper fix for CvOUTSIDE weak refcountingDave Mitchell2002-12-141-0/+1
| | | | | Message-ID: <20021210012644.A7843@fdgroup.com> p4raw-id: //depot/perl@18302
* allow evals to see the full lexical scopeDave Mitchell2002-12-021-0/+1
| | | | | Message-ID: <20021124221906.A25386@fdgroup.com> p4raw-id: //depot/perl@18220
* add support for STASH and MAGIC information for REFs to sv_dump().Slaven Rezic2002-11-251-2/+0
| | | | | | Subject: [PATCH] Message-Id: <200211181009.gAIA9pFG034877@vran.herceg.de> p4raw-id: //depot/perl@18177
* 1. Update pp_ucfirst to enter the UTF-8 branch only if the firstAbhijit Menon-Sen2002-11-051-1/+1
| | | | | | character is UTF-8. (Copied from pp_lcfirst.) 2. sv_dump() should display FLAGS=...,UTF8 for both POK and pPOK. p4raw-id: //depot/perl@18107
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-4/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* move all pad-related code to its own src fileDave Mitchell2002-10-021-20/+2
| | | | | Message-ID: <20020925234023.A20044@fdgroup.com> p4raw-id: //depot/perl@17953
* Re: sv_2pv_flags and ROK and UTF8 flagsYitzchak Scott-Thoennes2002-10-011-3/+5
| | | | | Message-ID: <lSCg9gzkgymX092yn@efn.org> p4raw-id: //depot/perl@17947
* [REVISED PATCH] Magic v-stringsJohn Peacock2002-08-201-0/+1
| | | | | | Message-id: <3D556FE6.6000404@rowman.com> plus a bit of cleanup p4raw-id: //depot/perl@17742
* Copy On WriteNicholas Clark2002-08-171-1/+11
| | | | | | Message-id: <20020815001035.A69079@plum.flirble.org> specify "-Accflags='-DPERL_COPY_ON_WRITE'" to use p4raw-id: //depot/perl@17728
* Remove pseudo-hashes (complete)Michael G. Schwern2002-08-171-2/+0
| | | | | Message-id: <20020806200510.GC31473@ool-18b93024.dyn.optonline.net> p4raw-id: //depot/perl@17725
* add verbose stack display option, -DvsDave Mitchell2002-08-121-1/+10
| | | | | Message-id: <20020805005533.B26111@fdgroup.com> p4raw-id: //depot/perl@17718
* dump.c recognizes CvLOCKEDTim Jenness2002-05-231-0/+1
| | | | | Message-ID: <Pine.LNX.4.44.0205230959040.3222-100000@lapaki> p4raw-id: //depot/perl@16754
* various minor fixes in threads. Dave Mitchell2002-05-131-1/+4
| | | | | Message-ID: <20020513234822.G21318@fdgroup.com> p4raw-id: //depot/perl@16586
* -Wformat cleanups from Robin Barker.Jarkko Hietaniemi2002-04-251-1/+1
| | | p4raw-id: //depot/perl@16156
* squelch some more type mismatch warningsGurusamy Sarathy2002-04-211-2/+2
| | | | | | SvREFCNT_dec(x ? y : z) did not typecast the right thing due to missing parens in macro definition p4raw-id: //depot/perl@16055
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-1/+1
| | | | | | change is from change#12026) p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc p4raw-id: //depot/perl@16048
* [dodgy PATCH] Re: [Storable] utf8 keys started working!Nicholas Clark2002-04-131-1/+2
| | | | | Message-ID: <20020413015806.GA371@Bagpuss.unfortu.net> p4raw-id: //depot/perl@15893
* Re: the dirty half dozen (Re: perl@15662)Nicholas Clark2002-04-061-1/+1
| | | | | | | Message-ID: <20020405232117.GE323@Bagpuss.unfortu.net> (with the last one reversed) p4raw-id: //depot/perl@15757
* If Unicode keys are entered to a hash, a bit is turned on.Jarkko Hietaniemi2002-03-221-0/+1
| | | | | | | | | | If the bit is on, when the keys are fetched from the hash (%h, each %h, keys %h), the Unicodified versions of the keys are returned if needed. This solution errs on the size of over-Unicodifying, the old solution erred on the side of under-Unicodifying. As long as the hash keys can be a mix of byte and Unicode strings, a perfect fit is hard to come by. p4raw-id: //depot/perl@15407
* more warnings tidyupPaul Marquess2002-03-111-1/+1
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLMEEGDPAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15155
* perl -Dt doesnt output newlinesDave Mitchell2002-03-091-1/+1
| | | | | Message-Id: <200203090013.AAA01000@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@15127
* Debugging OPsIlya Zakharevich2002-03-031-1/+7
| | | | | | Message-Id: <20020302054958.A5511@math.ohio-state.edu> p4raw-link: @14577 on //depot/perl: 0ad5258ff3f3328f321188cbb4fcd6a74b365431 p4raw-id: //depot/perl@14956
* Copyright++. (Not all the toplevel *.h have one, it seems.)Jarkko Hietaniemi2002-01-231-1/+1
| | | p4raw-id: //depot/perl@14391
* More regex and utf8 debug dumping.Jarkko Hietaniemi2002-01-071-3/+4
| | | p4raw-id: //depot/perl@14114
* %g -> NVgf cleanup, based on Schwern's RedHat 7.1/AlphaJarkko Hietaniemi2001-12-181-1/+1
| | | | | | findings -- some of the warnings I can't explain except by NVgf being detected wrong, though. p4raw-id: //depot/perl@13764
* Re: attributes are brokenSpider Boardman2001-12-091-2/+5
| | | | | Message-Id: <200112090509.AAA02053@Orb.Nashua.NH.US> p4raw-id: //depot/perl@13543
* The _uni_display should not be in dump.c since theyJarkko Hietaniemi2001-11-191-29/+0
| | | | | are used under normal operation (S_not_a_number()). p4raw-id: //depot/perl@13099
* runtime runops switchIlya Zakharevich2001-11-161-1/+121
| | | | | Message-ID: <20011116004809.A934@math.ohio-state.edu> p4raw-id: //depot/perl@13044
* Rewrite sv_uni_display() as pv_uni_display() asJarkko Hietaniemi2001-10-241-2/+9
| | | | | reimplement sv_uni_display() using that. p4raw-id: //depot/perl@12619
* sv_uni_display(): do not add the "...", let the callerJarkko Hietaniemi2001-10-231-7/+6
| | | | | do it if wanted, and be prepared for more display options. p4raw-id: //depot/perl@12612
* vmsish fix, ieee rand() cleanupCharles Lane2001-10-191-1/+7
| | | | | Message-Id: <011019174427.d749b@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@12513
* Don't assume that %x is good for displaying UVs.Jarkko Hietaniemi2001-10-051-1/+1
| | | p4raw-id: //depot/perl@12341
* Dump Unicode hash keys also as Unicode,Jarkko Hietaniemi2001-09-271-6/+10
| | | | | not just as a byte string. p4raw-id: //depot/perl@12246
* Dump SvUTF8(sv)s also as \x{...}.Jarkko Hietaniemi2001-09-271-18/+45
| | | | | TODO: dump the SvUTF8() hash keys similarly. p4raw-id: //depot/perl@12243
* What's a backet?Abhijit Menon-Sen2001-09-221-2/+2
| | | p4raw-id: //depot/perl@12127
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-2/+2
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Custom OpsSimon Cozens2001-08-271-1/+1
| | | | | | Message-ID: <20010825174509.A5752@netthink.co.uk> I also added a fix to Opcode.pm to quite test cases. p4raw-id: //depot/perl@11756
* UTF8 flag should be meaningful only when POK.Jarkko Hietaniemi2001-08-181-1/+1
| | | p4raw-id: //depot/perl@11716
* UTF8 wasn't printing for PVMGs.Jarkko Hietaniemi2001-08-181-1/+2
| | | p4raw-id: //depot/perl@11713
* More accurate line numbers in messagesPaul Johnson2001-07-121-0/+13
| | | | | | | Message-ID: <20010712041411.A3467@pjcj.net> (With prototyping and multiplicity tweaks.) p4raw-id: //depot/perl@11305
* Retract #11166 (and #11237).Jarkko Hietaniemi2001-07-121-2/+0
| | | p4raw-id: //depot/perl@11285