summaryrefslogtreecommitdiff
path: root/av.c
Commit message (Collapse)AuthorAgeFilesLines
* The revenge of the constsAndy Lester2007-05-031-3/+2
| | | | | Message-ID: <20070503054554.GA30975@petdance.com> p4raw-id: //depot/perl@31123
* Add a new API function newSV_type, to replace the idiom:Nicholas Clark2007-02-181-6/+2
| | | | | | sv = newSV(0); sv_upgrade(sv, type); p4raw-id: //depot/perl@30347
* Add av_create_and_push() and av_create_and_unshift_one() to refactorNicholas Clark2007-01-291-0/+38
| | | | | out two repeated idioms. p4raw-id: //depot/perl@30064
* assert() that SvPV_set() isn't used on arrays.Nicholas Clark2006-11-061-9/+9
| | | p4raw-id: //depot/perl@29221
* Improve documentation of av_len and av_fill.Gisle Aas2006-10-301-3/+9
| | | p4raw-id: //depot/perl@29166
* more accumulated cleanupsAndy Lester2006-06-061-3/+2
| | | | | Message-ID: <20060606052501.GA30469@petdance.com> p4raw-id: //depot/perl@28358
* Refactoring in av.cAndy Lester2006-05-241-41/+38
| | | | | Message-ID: <20060524051640.GA4713@petdance.com> p4raw-id: //depot/perl@28296
* Note in av_store() that S_regclass relies on being able to pass NULL.Nicholas Clark2006-04-171-0/+4
| | | p4raw-id: //depot/perl@27868
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-1/+1
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-5/+5
| | | | | | | | 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
* It's the Barbie bus patchAndy Lester2006-01-101-2/+2
| | | | | Message-ID: <20060110054243.GA26165@petdance.com> p4raw-id: //depot/perl@26764
* Update copyright years (including some years where we made changes butNicholas Clark2006-01-081-1/+1
| | | | | did not update) p4raw-id: //depot/perl@26732
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+7
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* av.c cleanup, plus!Andy Lester2005-12-291-3/+3
| | | | | Message-ID: <20051228214414.GD26033@petdance.com> p4raw-id: //depot/perl@26526
* Cleanup; replace a croak("panic: ...") with assert().Gisle Aas2005-12-281-4/+1
| | | p4raw-id: //depot/perl@26514
* assert(av); Cleanup the way that the av_*() functions checkGisle Aas2005-12-281-24/+30
| | | | | | that they are really passed an av argument. Should improve the test coverage a bit. p4raw-id: //depot/perl@26513
* pre-likely cleanupAndy Lester2005-12-271-9/+10
| | | | | | | Message-ID: <20051227203939.GC1781@petdance.com> Includes a small fix to the changes in tryAMAGICbinW_var() in pp.h. p4raw-id: //depot/perl@26505
* Mark all places where perl needs to look at a possibly-freed scalarNicholas Clark2005-11-141-1/+1
| | | | | with a macro SvIS_FREED(sv) p4raw-id: //depot/perl@26132
* Coverage stats say av_fake() is a mathom too.Steve Peters2005-10-291-22/+0
| | | p4raw-id: //depot/perl@25872
* More consting, and DRY leads to shrinking object codeAndy Lester2005-10-191-15/+11
| | | | | Message-ID: <20051018145723.GA4964@petdance.com> p4raw-id: //depot/perl@25803
* an assert in av_undef was leaking memoryDave Mitchell2005-10-161-2/+0
| | | p4raw-id: //depot/perl@25771
* gcc complains when it sees variables declaredSteve Peters2005-10-141-1/+1
| | | | | | | | | const register ... switched them all to register const ... p4raw-id: //depot/perl@25757
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-4/+4
| | | | | | | | 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
* No need to set flags twice.Nicholas Clark2005-06-211-2/+2
| | | p4raw-id: //depot/perl@24919
* Removing /*SUPPRESS xxx*/Andy Lester2005-06-161-2/+0
| | | | | Message-ID: <20050616141342.GA22188@petdance.com> p4raw-id: //depot/perl@24871
* $r = do {my @a; \$#a}; $$r = 503 # is also naughty and now warnsNicholas Clark2005-06-091-9/+2
| | | p4raw-id: //depot/perl@24784
* Fixes the case of $a = \$#{[]}; and then accessing $$aNicholas Clark2005-06-091-4/+10
| | | | | (but not \$#a after local @a or my @a leave a block) p4raw-id: //depot/perl@24783
* Quotes fixed, see also perl #36079Andy Lester2005-06-021-1/+1
| | | | | Message-ID: <20050602050238.GA4001@petdance.com> p4raw-id: //depot/perl@24666
* Goodbye xav_arylen. You won't be missed that much.Nicholas Clark2005-05-291-0/+17
| | | | | So now there's a buy 5 get one free offer on PVAV bodies. p4raw-id: //depot/perl@24619
* Goodbye AvFLAGSNicholas Clark2005-05-201-2/+2
| | | p4raw-id: //depot/perl@24518
* consting-eleventy.patch: More consts, plus actual bug fixAndy Lester2005-05-161-5/+3
| | | | | Message-ID: <20050516151353.GA25387@petdance.com> p4raw-id: //depot/perl@24489
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-0/+10
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* GCC attributes!Andy Lester2005-05-071-2/+1
| | | | | Message-ID: <20050504215540.GA20413@petdance.com> p4raw-id: //depot/perl@24414
* Symbian port of PerlJarkko Hietaniemi2005-04-211-0/+5
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Refactoring to Sv*_set() macros - patch #4Steve Peters2005-04-181-10/+10
| | | | | | | Message-ID: <20050416160502.GA26957@mccoy.peters.homeunix.org> plus fix to Perl_rvpv_dup assigning to an RV with SvPVX p4raw-id: //depot/perl@24239
* Update copyrights.Rafael Garcia-Suarez2005-03-301-1/+1
| | | p4raw-id: //depot/perl@24106
* Consting fiveAndy Lester2005-03-251-4/+3
| | | | | | | | Message-ID: <20050325231409.GB17660@petdance.com> [with modification - the extra argument to incpush was supposed to be being used] p4raw-id: //depot/perl@24081
* Adding const qualifiersAndy Lester2005-03-141-6/+6
| | | | | Message-ID: <20050313202005.GA23535@petdance.com> p4raw-id: //depot/perl@24037
* only mortalize deleted array elements for AvREALDave Mitchell2004-09-051-1/+1
| | | | | | (update to change #23158) p4raw-link: @23158 on //depot/perl: 2c8ddff3c182e26372c9343750c9b3c45e438ca2 p4raw-id: //depot/perl@23271
* [perl #30733] memory leak in array deleteDave Mitchell2004-07-231-0/+2
| | | | | av_delete() wasn't mortalizing the returned value p4raw-id: //depot/perl@23158
* Re: [PATCH] Re: Lack of error for large string on SolarisJarkko Hietaniemi2004-06-081-2/+7
| | | | | Message-ID: <40C4A156.5030205@iki.fi> p4raw-id: //depot/perl@22904
* [perl #28032] delete $_[0] + (\$) prototype = bad freeDave Mitchell2004-03-311-1/+4
| | | | | av_delete() didn't reify. I also updated its description p4raw-id: //depot/perl@22624
* malloc wrappageJarkko Hietaniemi2004-03-171-0/+2
| | | | | | | | Message-Id: <37BF70DE-5C0E-11D8-B5A1-00039362CB92@iki.fi> plus change croak to Perl_croak_nocontext to make ithread safe plus make it conditional on PERL_MALLOC_WRAP (default for blead is on) p4raw-id: //depot/perl@22517
* allow recursive FETCHesDave Mitchell2003-04-191-3/+5
| | | | | Message-ID: <20030407100041.A1617@fdgroup.com> p4raw-id: //depot/perl@19268
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Re: [perl #15439] unreferenced scalar due to double DESTROYDave Mitchell2003-01-221-1/+4
| | | | | Message-ID: <20030119164353.B24444@fdgroup.com> p4raw-id: //depot/perl@18554
* LEAKTEST is dead, RIPH.Merijn Brand2002-09-261-2/+2
| | | | | | | Subject: Re: [perl #17197] SIGSEGV in perl 5.8.0 multithread build with -DLEAKTEST From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020923182824.C7B6.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@17920
* Negative subscripts optionally passed to tied array methodsMark-Jason Dominus2002-08-171-50/+131
| | | | | Message-id: <20020415033855.6343.qmail@plover.com> p4raw-id: //depot/perl@17727