summaryrefslogtreecommitdiff
path: root/pp_ctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Abolish cop_io (the simple way) by storing the value in cop_hints_hash.Nicholas Clark2006-05-201-9/+0
| | | | | | Todo - store the in and out values under 2 keys, and avoid the need to create a temporary mortal SV while checking it. p4raw-id: //depot/perl@28258
* eval { s/$foo/die/e } leaked a scalarDave Mitchell2006-05-201-1/+0
| | | p4raw-id: //depot/perl@28254
* Rename cop_hints to cop_hints_hashNicholas Clark2006-05-201-8/+8
| | | p4raw-id: //depot/perl@28252
* [perl #32332] Perl segfaults; test case availableDave Mitchell2006-05-201-2/+1
| | | | | sub f { s/$var/f()/e } could free the wrong RE p4raw-id: //depot/perl@28251
* Re: [PATCH] my_snprintfJarkko Hietaniemi2006-05-121-17/+4
| | | | | Message-ID: <4464E1F1.9010706@gmail.com> p4raw-id: //depot/perl@28183
* no 5.9.4; should fail in version 5.9.4.Nicholas Clark2006-05-101-1/+1
| | | | | Improve the diagnostics and test names in t/comp/use.t p4raw-id: //depot/perl@28150
* Some more SvREFCNT_inc updatesAndy Lester2006-05-021-3/+3
| | | | | Message-ID: <20060430182414.GA18094@petdance.com> p4raw-id: //depot/perl@28049
* Reverting context removal from change #27992. This shouldSteve Peters2006-05-011-1/+1
| | | | | | clear up threaded builds on Win32 and VMS. p4raw-link: @27992 on //depot/perl: df528165173896ed88fc3da7e1aa8bc3ef3b2416 p4raw-id: //depot/perl@28041
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-7/+7
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
* Removing another context parmAndy Lester2006-04-281-7/+8
| | | | | Message-ID: <20060427153156.GA11445@petdance.com> p4raw-id: //depot/perl@27992
* Re: [PATCH] use snprintf/strlcpy/strlcat when usefulJarkko Hietaniemi2006-04-281-1/+23
| | | | | Message-ID: <444E3EFB.8020503@gmail.com> p4raw-id: //depot/perl@27987
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-9/+13
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* Coverity has started to notice another inconsistency in our NULLNicholas Clark2006-04-251-1/+1
| | | | | pointer checking. p4raw-id: //depot/perl@27959
* use NOOP macroAndy Lester2006-04-251-1/+1
| | | | | Message-ID: <20060424184451.GA1479@petdance.com> p4raw-id: //depot/perl@27958
* pp_ctl.c cachingAndy Lester2006-04-171-6/+6
| | | | | | Message-ID: <20060417044035.GA28818@petdance.com> Date: Sun, 16 Apr 2006 23:40:35 -0500 p4raw-id: //depot/perl@27860
* stop PL_op and PL_curpad referring to different pads at start of doevalDave Mitchell2006-04-161-0/+1
| | | | | (this could make find_uninit_var do Bad Things) p4raw-id: //depot/perl@27853
* A scalar reference returned from a coderef in @INC is treated as theNicholas Clark2006-04-161-13/+40
| | | | | | initial "content" of the file. When it is exhausted input is taken from a real file handle, or a generator sub, if either exists. p4raw-id: //depot/perl@27849
* I believe that it makes little sense for the simple user filtersNicholas Clark2006-04-151-2/+2
| | | | | | | provided by coderefs to be run in block mode. Hence always read from the upstream filter in line mode, and always call the user's filter with 1 line. p4raw-id: //depot/perl@27821
* Fix a bug - the introduction of the caching code means that we shouldNicholas Clark2006-04-151-5/+7
| | | | | | initialise the SV upstream after it. assert that filter_sub is always non-null now. p4raw-id: //depot/perl@27820
* Augment the user filter caching code so that if the user filter returnsNicholas Clark2006-04-151-37/+68
| | | | | | multiple lines, only one line at a time is returned. Rename the variable len to status, as it is the status value. p4raw-id: //depot/perl@27819
* If the downstream caller wants block mode, and we're in line mode,Nicholas Clark2006-04-151-9/+53
| | | | | | then don't return more bytes than they asked for. Hold bytes over until next time if necessary. p4raw-id: //depot/perl@27816
* Eliminate the filter_child_proc hack from pp_require.Nicholas Clark2006-04-151-23/+5
| | | p4raw-id: //depot/perl@27815
* Add more tests for the builtin source filter implementation, and fixNicholas Clark2006-04-151-3/+15
| | | | | | two bugs - it would loop infinitely if data were already in the read buffer, and it would process those data twice. p4raw-id: //depot/perl@27812
* Change SAVECOPWARNINGS(c) to SAVECOMPILEWARNINGS() - it's only used toNicholas Clark2006-04-141-2/+2
| | | | | | | save the warnings on PL_compiling, so constraining its use to what we can test seems to make sense. Particularly as testing Perl_ss_dup is tricky. p4raw-id: //depot/perl@27805
* Replace explict "/dev/null" with BIT_BUCKET, which varies by platform.Nicholas Clark2006-04-141-1/+2
| | | p4raw-id: //depot/perl@27802
* Re: [PATCH] add pTHX_ parameter to new_warnings_bitfield()Steve Hay2006-04-131-1/+1
| | | | | | Message-ID: <443E1998.9090909@uk.radan.com> Date: Thu, 13 Apr 2006 10:27:52 +0100 p4raw-id: //depot/perl@27784
* Change cop_warnings from an SV holding the warnings bitmask to aNicholas Clark2006-04-121-12/+9
| | | | | | | directly (shared) malloc()ed buffer holding the warnings bitmask. This avoids bugs/crashes when the interpreter that created an optree is freed but the optree remains in use by other interpreters. p4raw-id: //depot/perl@27779
* First stab at using the pad to store the serialised hints data.Nicholas Clark2006-04-111-17/+3
| | | | | | This approach is almost certainly not only wrong, but also doomed. But it's needed to build a correct solution. p4raw-id: //depot/perl@27768
* Change 27677 missed two direct accesses to op_private in COPs.Nicholas Clark2006-04-021-2/+2
| | | | | | | I believe that all are now found, as redefining CopHINTS_get(c) to (~(c)->op_private) (with corresponding changes to CopHINTS_set() and the initialisation of PL_compiling) works. p4raw-id: //depot/perl@27687
* Abstract all reads/writes of the hints in COPs with 2 new macros,Nicholas Clark2006-04-021-3/+2
| | | | | CopHINTS_get() and CopHINTS_set(). p4raw-id: //depot/perl@27677
* Abstract all the accesses to cop_arybase (apart from ByteLoader)Nicholas Clark2006-04-021-1/+1
| | | p4raw-id: //depot/perl@27671
* Propagate cop_hints inside string evals. For the unthreaded case thisNicholas Clark2006-04-011-0/+23
| | | | | | | is easy. For the threaded case it's not, because the current OP may be shared with another thread, so solve this by copying the hints chain. p4raw-id: //depot/perl@27659
* Serialise changes to %^H onto the current COP. Return the compile timeNicholas Clark2006-03-311-1/+7
| | | | | | 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-1/+1
| | | | | Message-ID: <20060331054228.GA18940@petdance.com> p4raw-id: //depot/perl@27641
* re-[PATCH] Re: [PATCH] Poison now in two different flavours!Jarkko Hietaniemi2006-03-291-1/+1
| | | | | Message-ID: <442680D4.3000809@gmail.com> p4raw-id: //depot/perl@27626
* Merge the cut & paste code from Perl_call_sv/Perl_fold_constants withNicholas Clark2006-03-271-7/+42
| | | | | | | the near identical code in pp_entertry into Perl_create_eval_scope. Move the cut & paste code from Perl_call_sv/Perl_fold_constants into Perl_delete_eval_scope. p4raw-id: //depot/perl@27617
* sv_find() returning false, followed by sv_magic() to add the magic,Nicholas Clark2006-03-171-2/+6
| | | | | | followed immediately by sv_find() to find it, is somewhat wasteful. So use sv_magicext(). (All cases are also correct w.r.t. SvREADONLY()) p4raw-id: //depot/perl@27533
* require should ignore directories found when searching @INC not justGisle Aas2006-03-161-5/+1
| | | | | | | | | die as soon as it finds one. It should for instance be possible to for require "File" to read the file "./File" even if there happens to be a "File" directory in perl's standard library. This fixes the RT #24404 fix in change 26373. p4raw-id: //depot/perl@27515
* Load .pmc always, even if they are older than a matching .pm file.Rafael Garcia-Suarez2006-03-121-9/+1
| | | | | (This trick is going to be used by pugs.) p4raw-id: //depot/perl@27483
* Further MAD changes.Nicholas Clark2006-03-081-1/+13
| | | p4raw-id: //depot/perl@27428
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-30/+26
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* unused context warningsAndy Lester2006-02-241-2/+4
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* Goodbye PERL_XSUB_OLDSTYLE.Nicholas Clark2006-02-211-19/+2
| | | p4raw-id: //depot/perl@27260
* Add a new CvISXSUB() macro, for abstracting the test as to whether aNicholas Clark2006-02-201-3/+3
| | | | | PVCV is perl or XS. p4raw-id: //depot/perl@27241
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-6/+6
| | | p4raw-id: //depot/perl@27238
* Remove the last (U16) cast for CV depths, missed by change 17835.Nicholas Clark2006-02-201-1/+1
| | | p4raw-id: //depot/perl@27235
* Sun Studio lint patchesAndy Lester2006-02-141-1/+1
| | | | | Message-ID: <20060214054617.GA8824@petdance.com> p4raw-id: //depot/perl@27177
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-5/+5
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Cleaning up shadowed variablesAndy Lester2006-02-061-4/+4
| | | | | Message-Id: <B375E848-FA07-479D-9571-FA3925106D16@petdance.com> p4raw-id: //depot/perl@27102
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-9/+9
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065