summaryrefslogtreecommitdiff
path: root/pp_sort.c
Commit message (Collapse)AuthorAgeFilesLines
* PATCH: Large omnibus patch to clean up the JRRT quotesTom Christiansen2008-11-021-2/+4
| | | | | | Message-ID: <25940.1225611819@chthon> Date: Sun, 02 Nov 2008 01:43:39 -0600 p4raw-id: //depot/perl@34698
* explicit empty while loopsRobin Barker2008-11-021-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D4E2FD9@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@34695
* Explicitly specify some printf formats for constant strings.Rafael Garcia-Suarez2008-11-021-1/+1
| | | | | | This is mostly to silence gcc's warning, "format not a string literal and no format arguments". p4raw-id: //depot/perl@34694
* Eliminate (SV *) casts from the rest of *.c, picking up one (further)Nicholas Clark2008-10-301-1/+1
| | | | | erroneous const in dump.c. p4raw-id: //depot/perl@34675
* Eliminate (AV *) casts in *.c.Nicholas Clark2008-10-291-3/+3
| | | p4raw-id: //depot/perl@34650
* Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.Nicholas Clark2008-10-291-1/+1
| | | p4raw-id: //depot/perl@34647
* Update copyright years.Nicholas Clark2008-10-251-2/+2
| | | p4raw-id: //depot/perl@34585
* [perl #54758] Perl 5.10 memory corruptionDave Mitchell2008-05-271-2/+3
| | | | | | | When @a = sort @a is pessimised if @a has magic, growing the stack requires various pointers to be reset in case the stack gets reallocated. p4raw-id: //depot/perl@33937
* Silence some warnings on Win32 with VC6Steve Hay2008-03-061-12/+12
| | | | | | | | VC7 onwards didn't seem to mind (perhaps thanks to #33411): http://www.nntp.perl.org/group/perl.daily-build.reports/2008/03/msg54118.html but VC6 wasn't happy: http://www.nntp.perl.org/group/perl.daily-build.reports/2008/03/msg54099.html p4raw-id: //depot/perl@33448
* assert() that every NN argument is not NULL. Otherwise we have theNicholas Clark2008-02-121-2/+31
| | | | | | | | | | | | 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
* Update copyright years in .c filesRafael Garcia-Suarez2007-01-051-1/+1
| | | p4raw-id: //depot/perl@29696
* 4th patch from: Marcus Holland-Moritz2007-01-041-1/+1
| | | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Introduce an SVfARG() macro for %SVf (%-p here) arguments to perl's printf p4raw-id: //depot/perl@29687
* assert() that SvPV_set() isn't used on arrays.Nicholas Clark2006-11-061-2/+2
| | | p4raw-id: //depot/perl@29221
* A couple const's and a cast to get Sun CC to compile these files.Steve Peters2006-08-091-3/+3
| | | | | Perl, however, still will not build with the Sun CC. p4raw-id: //depot/perl@28686
* Add a macro to remove duplicated codeSADAHIRO Tomoyuki2006-07-101-24/+10
| | | | | | Subject: Re: cut-and-paste findings for blead 28504 Message-Id: <20060709134236.E51A.BQW10602@nifty.com> p4raw-id: //depot/perl@28524
* Static cleanup in pp_sort.cAndy Lester2006-06-121-4/+6
| | | | | Message-ID: <20060612135934.GA2202@petdance.com> p4raw-id: //depot/perl@28385
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-1/+1
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
* Prevent "use sort 'stable'" from reversing the orderRobin Houston2006-04-021-1/+1
| | | | | Message-ID: <20060402162024.GA3854@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@27689
* Random accumulated patchesAndy Lester2006-03-311-16/+17
| | | | | Message-ID: <20060331054228.GA18940@petdance.com> p4raw-id: //depot/perl@27641
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-2/+2
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* 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
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-1/+1
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-2/+2
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* Re: [PATCH] s/Null(av|ch)/NULL/gSteven Schubiger2006-02-021-1/+1
| | | | | Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org> p4raw-id: //depot/perl@27054
* gv_fetchpvn_flags ranks highly in the profile, and the ::/' scanningNicholas Clark2006-02-021-2/+2
| | | | | | | loop is iterated over millions of times. Add a flag GV_NOTQUAL purely as an optimisation, when the caller is passing in a string that is known not to contain any package separators. p4raw-id: //depot/perl@27053
* Yet more instances of gv_fetchpv... that should be GV_ADD rather thanNicholas Clark2006-02-021-2/+2
| | | | | | TRUE. Convert two gv_fetchpvn_flags to gv_fetchpvs. p4raw-id: //depot/perl@27050
* Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.Nicholas Clark2006-01-281-2/+2
| | | | | Many strlen()s saved. p4raw-id: //depot/perl@26983
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+9
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* Update copyrights for files modified in 2006Rafael Garcia-Suarez2006-01-021-1/+1
| | | p4raw-id: //depot/perl@26562
* Making 0 pointers to NULLsAndy Lester2006-01-011-1/+1
| | | | | Message-ID: <20051231050558.GA29093@petdance.com> p4raw-id: //depot/perl@26558
* Re: [PATCH] Make the 'sort' pragma lexically scopedRobin Houston2005-12-191-45/+36
| | | | | Message-ID: <20051219174620.GA17940@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26402
* s/Nullav/NULL/gNicholas Clark2005-12-161-1/+1
| | | p4raw-id: //depot/perl@26380
* Reverting change #26360 and #26361 since it appears that the bugs ISteve Peters2005-12-151-1/+0
| | | | | | | thought I fixed had been previously fixed with change #25953. p4raw-link: @26360 on //depot/perl: f7ae8051c95a2bdf42aad8ef8cbdb82f5608126f p4raw-link: @25953 on //depot/perl: 9850bf21fc4ed69d8ddb0293df59411f891c62df p4raw-id: //depot/perl@26362
* Again, FREETMPS not SAVETMPS!Steve Peters2005-12-151-1/+1
| | | p4raw-id: //depot/perl@26361
* Add a missing FREETMPS to match up with a SAVETMPS. This changeSteve Peters2005-12-151-0/+1
| | | | | fixes problems with nested sorts. (RTs #7063 and #36430). p4raw-id: //depot/perl@26360
* More consting, and putting stuff in embed.fncAndy Lester2005-12-061-1/+1
| | | | | Message-ID: <20051205194613.GB7791@petdance.com> p4raw-id: //depot/perl@26281
* Sort subs now in embed.fncAndy Lester2005-11-171-26/+16
| | | | | Message-ID: <20051117135338.GA31715@petdance.com> p4raw-id: //depot/perl@26147
* Const & local: Special Victims UnitAndy Lester2005-11-111-9/+9
| | | | | Message-ID: <20051111044700.GA24161@petdance.com> p4raw-id: //depot/perl@26082
* Re: A surprising segfaultSADAHIRO Tomoyuki2005-11-051-0/+1
| | | | | Message-Id: <20051105135053.27D7.BQW10602@nifty.com> p4raw-id: //depot/perl@26011
* sort/multicall patchRobin Houston2005-11-021-24/+39
| | | | | Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@25953
* Stas' croak patch and then someAndy Lester2005-10-131-6/+9
| | | | | Message-ID: <20051013214212.GA1122@petdance.com> p4raw-id: //depot/perl@25754
* Typo in comment.Abigail2005-10-121-1/+1
| | | | | Message-ID: <20051012232509.GA1018@abigail.nl> p4raw-id: //depot/perl@25743
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-2/+2
| | | | | | | | 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
* the PAD_SET_CUR macro expanded too much for AIX compilersDave Mitchell2005-07-011-1/+2
| | | p4raw-id: //depot/perl@25042
* Re: [perl #36350] unstable sorting for use integer; sort { $b <=> $a } @foo Salvador Fandiño2005-06-231-21/+9
| | | | | Message-ID: <20050621181658.5977.qmail@lists.develooper.com> p4raw-id: //depot/perl@24951
* More random cleanupsAndy Lester2005-06-201-83/+68
| | | | | Message-ID: <20050617145029.GC11769@petdance.com> p4raw-id: //depot/perl@24906
* sort optimizationSalvador Fandiño2005-06-151-5/+12
| | | | | Message-ID: <20050606110425.22941.qmail@lists.develooper.com> p4raw-id: //depot/perl@24853
* More SvPV consting, including some code cleanup and living dangerouslyNicholas Clark2005-06-101-1/+1
| | | | | with socket API calls. p4raw-id: //depot/perl@24799
* More SvPV constingNicholas Clark2005-06-071-4/+3
| | | p4raw-id: //depot/perl@24744
* PATCH for [perl #36043] '@foo = sort { $a <=> $b } @bar' uses too much memorySalvador Fandiño2005-06-051-8/+31
| | | | | Message-ID: <20050605022436.21982.qmail@lists.develooper.com> p4raw-id: //depot/perl@24708