summaryrefslogtreecommitdiff
path: root/pp_pack.c
Commit message (Collapse)AuthorAgeFilesLines
* PATCH: Large omnibus patch to clean up the JRRT quotesTom Christiansen2008-11-021-0/+2
| | | | | | Message-ID: <25940.1225611819@chthon> Date: Sun, 02 Nov 2008 01:43:39 -0600 p4raw-id: //depot/perl@34698
* Use pvs macros instead of pvn where possible.Marcus Holland-Moritz2008-10-291-1/+1
| | | p4raw-id: //depot/perl@34653
* Update copyright years.Nicholas Clark2008-10-251-2/+2
| | | p4raw-id: //depot/perl@34585
* assert() that every NN argument is not NULL. Otherwise we have theNicholas Clark2008-02-121-1/+34
| | | | | | | | | | | | 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
* RE: Perl @ 33218 (Stratus VOS patches)Paul Green2008-02-081-0/+6
| | | | | | | | From: "Green, Paul" <Paul.Green@stratus.com> Message-ID: <F5F42E77A43DD944B6D664B00A5401CB037149FF@EXNA.corp.stratus.com> Includes a fix to the patch to ext/Time/HiRes/Makefile.PL p4raw-id: //depot/perl@33259
* in unpack, () groups in scalar context were still returning a list,Nicholas Clark2008-02-061-0/+1
| | | | | | resulting in garbage on the stack, which could manifest as a SEGV (Bug 50256) p4raw-id: //depot/perl@33239
* Add macros mPUSHs() and mXPUSHs() for pushing SVs on the stackMarcus Holland-Moritz2008-01-041-32/+32
| | | | | | and mortalizing them. Use these macros where possible. And also mX?PUSH[inpu] where possible. p4raw-id: //depot/perl@32821
* Extend newSVpvn_flags() to also call sv_2mortal() if SVs_TEMP is set inNicholas Clark2008-01-031-3/+3
| | | | | | the flags. Move its implementation just ahead of sv_2mortal()'s for CPU cache locality. Refactor all code that can be to use this. p4raw-id: //depot/perl@32818
* Add a new function newSVpvn_flags(), which takes a third parameter ofNicholas Clark2008-01-021-3/+3
| | | | | | | | | | flag bits. Right now the only flag bit is SVf_UTF8, which will call SvUTF8_on() on the new SV for you. Provide a wrapper newSVpvn_utf8(), which takes a boolean, and passes in SVf_UTF8 if that is true. Refactor the core to use it where possible. It makes the source code clearer and smaller, but seems to be swings and roundabouts on object code size. p4raw-id: //depot/perl@32807
* Fix up copyright years for files modified in 2007.Nicholas Clark2007-11-071-1/+1
| | | p4raw-id: //depot/perl@32237
* Re: Compress::Zlib, pack "C" and utf-8 [PATCH]Marc Lehmann2007-05-101-18/+26
| | | | | Message-ID: <20070412064153.GA22475@schmorp.de> p4raw-id: //depot/perl@31194
* Make PL_uudmap a constant global. Remove the run time initialisationNicholas Clark2007-04-241-16/+0
| | | | | | | code, and instead use it to generate a header at perl build time. By removing uudmap from the interpreter structure we save 256 bytes per child thread. p4raw-id: //depot/perl@31059
* Remove the unnecessary allocation of and assignment to hunk[3], as theNicholas Clark2007-04-231-4/+2
| | | | | perl API functions called don't need a NUL terminated string. p4raw-id: //depot/perl@31038
* S_op_destroy() was not static. Also tidy all other STATIC/staticNicholas Clark2007-04-051-2/+1
| | | | | | declarations onto the same line as the return type, to make checking this easier. p4raw-id: //depot/perl@30846
* [perl #40427] Segfault in pack dgay@acm.org2006-10-031-0/+1
| | | | | | From: dgay@acm.org (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.5.HEAD-31259-1159489837-428.40427-75-0@perl.org> p4raw-id: //depot/perl@28917
* ; was RE: [PATCH perlio.c pp.c regcomp.c] silence format and comparison warningsRobin Barker2006-09-051-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120A21@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@28786
* g++ large patchJarkko Hietaniemi2006-08-071-4/+4
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* Clear up most of the VC6 compiler warnings in the following smoke:Steve Hay2006-07-271-1/+1
| | | | | http://www.nntp.perl.org/group/perl.daily-build.reports/39733 p4raw-id: //depot/perl@28626
* clean some lint findingsAndy Lester2006-05-231-1/+1
| | | | | Message-ID: <20060521050240.GA21051@petdance.com> p4raw-id: //depot/perl@28289
* Re: [PATCH] upgrade bytes_to_uniSADAHIRO Tomoyuki2006-05-161-14/+6
| | | | | Message-Id: <20060515223901.F3B0.BQW10602@nifty.com> p4raw-id: //depot/perl@28209
* upgrade bytes_to_uniAndy Lester2006-05-121-11/+12
| | | | | Message-ID: <20060512052123.GA21648@petdance.com> p4raw-id: //depot/perl@28180
* Replace a STRLEN no_len; with a _nolen macro call.Nicholas Clark2006-04-301-2/+1
| | | p4raw-id: //depot/perl@28032
* Perl_pack_cat() is a mathom too!Nicholas Clark2006-04-301-22/+0
| | | p4raw-id: //depot/perl@28031
* One part of pp_pack couldn't correctly handle surprises from UTF-8Nicholas Clark2006-04-301-1/+12
| | | | | overloading. p4raw-id: //depot/perl@28030
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-4/+4
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
* Perl_unpack_str() is a mathom!Nicholas Clark2006-04-241-35/+0
| | | p4raw-id: //depot/perl@27956
* 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
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-3/+3
| | | | | | | | 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-1/+5
| | | | | 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-1/+1
| | | | | Gets rid of many hardcoded string lengths. p4raw-id: //depot/perl@26641
* op/pack.t failure on Win64Jan Dubois2005-12-311-0/+5
| | | | | Message-ID: <017a01c60d83$5dc73110$2217a8c0@candy> p4raw-id: //depot/perl@26549
* More consting, and putting stuff in embed.fncAndy Lester2005-12-061-3/+3
| | | | | Message-ID: <20051205194613.GB7791@petdance.com> p4raw-id: //depot/perl@26281
* Signs, signs, everywhere a signAndy Lester2005-12-021-3/+3
| | | | | Message-ID: <20051201202451.GI22713@petdance.com> p4raw-id: //depot/perl@26242
* The warning "Field too wide in 'u' format in pack" was emitted evenRafael Garcia-Suarez2005-11-141-1/+2
| | | | | when pack warnings were not enabled p4raw-id: //depot/perl@26130
* Const & local: Special Victims UnitAndy Lester2005-11-111-7/+5
| | | | | Message-ID: <20051111044700.GA24161@petdance.com> p4raw-id: //depot/perl@26082
* Missing static declarations Gisle Aas2005-11-071-2/+2
| | | | | Message-ID: <lracgj1bv0.fsf@caliper.activestate.com> p4raw-id: //depot/perl@26032
* Make some casts explicit to keep VC++ 7 happySteve Hay2005-10-171-2/+2
| | | | | | | | Specifically, this silences the warnings from the following smoke: http://www.nntp.perl.org/group/perl.daily-build.reports/32258 (Hmm. Looks like you need to decode the base64 yourself before you can read that.) p4raw-id: //depot/perl@25779
* Remove the last STRLEN n_a;s that my compiler can reach.Nicholas Clark2005-09-211-3/+2
| | | p4raw-id: //depot/perl@25530
* Missing DO_BO_PACK_PC and DO_BO_UNPACK_PC for the 5.8.x caseNicholas Clark2005-09-171-0/+4
| | | | | (and the don't know the pointer size case) p4raw-id: //depot/perl@25445
* The return of the constingAndy Lester2005-09-131-5/+6
| | | | | Message-ID: <20050913060835.GA1037@petdance.com> p4raw-id: //depot/perl@25397
* more embed cleanupAndy Lester2005-07-151-1/+0
| | | | | | | Message-ID: <20050715155115.GC29983@petdance.com> (and run regen.pl) p4raw-id: //depot/perl@25156
* make the expensive ckWARN() be called as late as possibleDave Mitchell2005-07-131-10/+9
| | | | | | | | reorganise if (ckWARN(FOO) && should_not_happen_condition) to if (should_not_happen_condition && ckWARN(FOO)) p4raw-id: //depot/perl@25129
* 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
* Pre-YAPC consting funAndy Lester2005-06-231-5/+5
| | | | | Message-ID: <20050623190423.GA13835@petdance.com> p4raw-id: //depot/perl@24965
* More SvPV consting, including some code cleanup and living dangerouslyNicholas Clark2005-06-101-2/+3
| | | | | with socket API calls. p4raw-id: //depot/perl@24799
* More SvPV constingNicholas Clark2005-06-091-2/+2
| | | p4raw-id: //depot/perl@24778
* pp_pack.c cleanupAndy Lester2005-06-091-26/+26
| | | | | Message-ID: <20050608152353.GA6253@petdance.com> p4raw-id: //depot/perl@24772
* Nuke some more n_a, and convert S_gv_ename from char * to const char *Nicholas Clark2005-06-081-2/+1
| | | p4raw-id: //depot/perl@24760
* More SvPV constingNicholas Clark2005-06-071-3/+3
| | | p4raw-id: //depot/perl@24744