summaryrefslogtreecommitdiff
path: root/pp_ctl.c
Commit message (Collapse)AuthorAgeFilesLines
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-13/+0
| | | p4raw-id: //depot/perl@7984
* C<foreach my $x ...> in pseudo-fork()ed process may diddleGurusamy Sarathy2000-11-251-1/+3
| | | | | | | | | | parent's memory; fix it by keeping track of the actual pad offset rather than a raw pointer (this change is probably also relevant to non-ithreads case to avoid fallout from reallocs of the pad array, but is currently only enabled for the ithreads case in the interests of minimal disruption to existing "well tested" code) p4raw-id: //depot/perl@7858
* lexicals not recognized in a run-time (?{})Jarkko Hietaniemi2000-11-201-1/+1
| | | | | | | Date: Mon, 20 Nov 2000 17:06:10 -0500 To: Mailing list Perl5 <perl5-porters@perl.org> Message-ID: <20001120170609.A11780@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7784
* Lexical use open ... support:Nick Ing-Simmons2000-11-181-30/+39
| | | | | | | | | | | | add ->cop_io to COP structure in cop.h. Make mg.c and gv.c associate it with ${^OPEN}. Make lib/open.pm set it. Have sv.c, perl.c, pp_ctl.c, op.c manipulate it in a manner manner similar to ->cop_warnings. Have doio.c's do_open9 and pp_sys.c's pp_backticks use it as default and call new PerlIO_apply_layers(). Declare latter in perlio.h and define in perlio.c p4raw-id: //depot/perlio@7740
* Fix for bug id 19990615.008, pos() unset during s///ge.Jarkko Hietaniemi2000-11-051-0/+15
| | | p4raw-id: //depot/perl@7562
* Zero-padded Numerics in Perl FormatJohn Peacock2000-10-251-0/+56
| | | | | Message-ID: <3924126F.A58BE57A@UnivPress.com> p4raw-id: //depot/perl@7444
* Continue the internal UTF-8 API tweaking.Jarkko Hietaniemi2000-10-251-3/+3
| | | | | | | | Rename utf8_to_uv_chk() back to utf8_to_uv() because it's used much more than the simpler API, now called utf8_to_uv_simple(). Still not quite happy with API, too much partial duplication of functionality. p4raw-id: //depot/perl@7439
* Make the UTF-8 decoding stricter and more verbose whenJarkko Hietaniemi2000-10-241-4/+4
| | | | | | | | | | | | malformation happens. This involved adding an argument to utf8_to_uv_chk(), which involved changing its prototype, and prefer STRLEN over I32 for the UTF-8 length, which as a domino effect necessitated changing the prototypes of scan_bin(), scan_oct(), scan_hex(), and reg_uni(). The stricter UTF-8 decoding checking uses Markus Kuhn's UTF-8 Decode Stress Tester from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt p4raw-id: //depot/perl@7416
* Re: [ID 20001018.008] flip-flop bug when there's no <FH> Hugo van der Sanden2000-10-181-4/+11
| | | | | Message-Id: <200010182225.XAA20330@crypt.compulink.co.uk> p4raw-id: //depot/perl@7365
* save_re_context() could reset PL_curcop to freed memory, causing coreGurusamy Sarathy2000-10-081-0/+6
| | | | | dumps in code such as C<use CGI::Carp; use something_that_calls_die;> p4raw-id: //depot/perl@7165
* The HINT_BYTE patch is apparently unnecessary, retracted.Jarkko Hietaniemi2000-10-061-8/+0
| | | p4raw-id: //depot/perl@7156
* Patch from Peter Prymmer to disable utf8 in EBCDIC platforms.Jarkko Hietaniemi2000-10-061-0/+8
| | | p4raw-id: //depot/perl@7152
* Inside require() $^S was always left undefined.Ilya Zakharevich2000-10-031-1/+4
| | | | | | Subject: Re: Tiny 2-byte change to fix debugger's eval bug Message-ID: <20000927185449.A24927@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7120
* Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.Nick Ing-Simmons2000-09-301-3/+3
| | | | | | | i.e. rename Simon's function to Perl_utf8_to_uv_chk, change all calls to it to use new name and add Perl_utf8_to_uv() as a wrapper which calls it passing 0 to checking to get the warning. p4raw-id: //depot/perl@7096
* Batch of UTF-8 patches from Simon Cozens.Jarkko Hietaniemi2000-09-141-3/+3
| | | p4raw-id: //depot/perl@7075
* Mi splgn s gnin.gJarkko Hietaniemi2000-09-011-1/+1
| | | p4raw-id: //depot/perl@6995
* Mergesort is back.Jarkko Hietaniemi2000-09-011-632/+319
| | | p4raw-id: //depot/perl@6989
* Retract the mergesort code, way too incompatible licensingJarkko Hietaniemi2000-09-011-327/+633
| | | | | and copyrights. p4raw-id: //depot/perl@6963
* Small tweaks all over.Jarkko Hietaniemi2000-08-311-3/+9
| | | p4raw-id: //depot/perl@6961
* Further rewording.Jarkko Hietaniemi2000-08-311-42/+8
| | | p4raw-id: //depot/perl@6960
* Clarify the mergesort situation.Jarkko Hietaniemi2000-08-311-0/+22
| | | p4raw-id: //depot/perl@6955
* Change the internal implementation of sort() to be mergesortJarkko Hietaniemi2000-08-301-632/+332
| | | | | | | | instead of quicksort, from John Linderman <jpl@research.att.com>. Gives us better worst case, better average case, and stability. What's there not to like? (Small fixes for threaded builds were required). p4raw-id: //depot/perl@6927
* The numeric locale was reset to "C" by s?printf and never restored.Christian Kirsch2000-08-161-1/+1
| | | | | | | | | | | | | Subject: [ID 20000809.003] setlocale(LC_NUMERIC...) produces different results in 5.005 and 5.6 Message-Id: <20000809170517.A25389@held> No test since adding the failing example to locale.t does not fail -- probably because the locale settings are so thoroughly tweaked by that time. Running the example standalone does fail, though. UPDATE: test case added at change #7540. p4raw-link: @7540 (not found) p4raw-id: //depot/perl@6648
* Have symbols for the IoTYPEs.Jarkko Hietaniemi2000-08-061-1/+1
| | | p4raw-id: //depot/perl@6532
* MacOS nits from Matthias Neeracher.Jarkko Hietaniemi2000-07-261-2/+2
| | | p4raw-id: //depot/perl@6442
* Add an optimization for map-maps-a-list-element-to-more-list-elementsBen Tilly2000-07-241-1/+12
| | | | | | | | | case, but add also notes explaining the relationship of this patch and the earlier notes by Sarathy. Subject: Map is still slow Message-ID: <20000715212327.21656.qmail@hotmail.com> p4raw-id: //depot/perl@6429
* Documentation to explain the behaviour of map().Gurusamy Sarathy2000-07-241-10/+24
| | | | | | Subject: Re: Map is still slow Message-Id: <200007152305.QAA26887@molotok.activestate.com> p4raw-id: //depot/perl@6428
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6324 on //depot/cfgperl: 81bf48a6dbba4b295dfa172a17ca70b654dbf225 p4raw-link: @6293 on //depot/cfgperl: 6e37ea6052902cde1aeb08a2129ffc7c8ea53736 p4raw-id: //depot/perl@6369 p4raw-branched: from //depot/cfgperl@6368 'branch in' lib/Win32.pod lib/lib_pm.PL p4raw-deleted: from //depot/cfgperl@6368 'delete in' pod/Win32.pod (@5937..) pod/buildtoc (@6091..) lib/lib.pm.PL (@6227..) pod/Makefile (@6232..) p4raw-integrated: from //depot/cfgperl@6368 'copy in' thread.h (@5656..) lib/warnings/register.pm (@5704..) ext/B/B/Stash.pm (@5972..) lib/CGI/Util.pm (@6034..) util.c (@6217..) gv.c (@6244..) pp.c (@6260..) doop.c (@6269..) pod/perlfunc.pod (@6277..) pp_ctl.c (@6293..) makedef.pl (@6301..) embed.h global.sym objXSUB.h perlapi.c proto.h (@6305..) win32/Makefile (@6307..) Makefile.SH (@6309..) t/op/method.t (@6312..) sv.h (@6315..) 'ignore' op.c (@6273..) 'merge in' embed.pl win32/win32.c (@6305..) p4raw-integrated: from //depot/cfgperl@6324 'merge in' toke.c (@6307..) p4raw-branched: from //depot/cfgperl@6323 'branch in' pod/buildtoc.PL (@6319..) p4raw-integrated: from //depot/cfgperl@6323 'copy in' pod/perl.pod (@6319..) pod/perltoc.pod (@6322..) 'merge in' MANIFEST (@6319..) p4raw-branched: from //depot/cfgperl@6319 'branch in' pod/Makefile.SH p4raw-integrated: from //depot/cfgperl@6315 'ignore' pp_hot.c (@6313..) p4raw-integrated: from //depot/cfgperl@6311 'copy in' ext/POSIX/POSIX.pod (@6296..) p4raw-integrated: from //depot/cfgperl@6307 'merge in' doio.c (@6223..)
* integrate cfgperl changes#6207..6210 into mainlineGurusamy Sarathy2000-07-111-0/+4
| | | | | | p4raw-link: @6210 on //depot/cfgperl: b8b4c9f3cf6ef09c878a80ff97526a69902a44ca p4raw-link: @6207 on //depot/cfgperl: b37a7757477319a5fcdd5131db15046064f631c4 p4raw-id: //depot/perl@6345
* dounwind() may cause POPSUB() to diddle the wrong PL_curpadGurusamy Sarathy2000-06-301-0/+2
| | | | | when @_ is modified, causing coredumps p4raw-id: //depot/perl@6291
* tweak comment about @DB::argsGurusamy Sarathy2000-06-081-1/+1
| | | p4raw-id: //depot/perl@6215
* fix small eval"" memory leaks under USE_ITHREADSGurusamy Sarathy2000-06-021-5/+6
| | | p4raw-id: //depot/perl@6194
* MacOS support, part 1 (from Matthias NeeracherGurusamy Sarathy2000-05-281-0/+24
| | | | | <neeri@iis.ee.ethz.ch>) p4raw-id: //depot/perl@6143
* warnings::enabled() doesn't fall back to looking at $^W ifGurusamy Sarathy2000-05-281-2/+5
| | | | | caller isn't using lexical warnings (from Paul Marquess) p4raw-id: //depot/perl@6132
* allow sort() reentrancy (variant of patch suggested byGurusamy Sarathy2000-04-271-7/+10
| | | | | Hugo van der Sanden) p4raw-id: //depot/perl@5975
* change#4197 somehow missed initializing PL_errors, meaningGurusamy Sarathy2000-04-271-0/+1
| | | | | | | | | sytax error queueing wasn't working outside eval"" at all; also fixed eval"" to localize PL_error_count, so that compile-time eval's don't clobber the error state of the outer context p4raw-link: @4197 on //depot/perl: 5a844595b9262407e093364ec4d29a22962723f0 p4raw-id: //depot/perl@5974
* propagate lexical warnings from surrounding scope correctlyGurusamy Sarathy2000-04-241-3/+5
| | | | | within string eval() p4raw-id: //depot/perl@5934
* arrange for next() to resume at the unstack op rather than theGurusamy Sarathy2000-04-241-7/+6
| | | | | | loop conditional, so that scope cleanup happens correctly (from Stephen McCamant) p4raw-id: //depot/perl@5927
* avoid using uninitialized memory in require version checkGurusamy Sarathy2000-04-241-9/+4
| | | p4raw-id: //depot/perl@5924
* caller() wasn't returning the right number of elements forGurusamy Sarathy2000-04-241-1/+7
| | | | | eval {...} p4raw-id: //depot/perl@5914
* make parenthetic warnings look consistent; make diagnostic onGurusamy Sarathy2000-03-211-4/+15
| | | | | "use 5.6" et al mention the alternate form; pod fixups p4raw-id: //depot/perl@5851
* support for C<use vmsish 'hushed'>; move VMSISH_EXIT out ofGurusamy Sarathy2000-03-191-2/+2
| | | | | op_private (from Charles Lane <lane@DUPHY4.Physics.Drexel.Edu>) p4raw-id: //depot/perl@5816
* final touches for lexical warnings (from Paul Marquess)Gurusamy Sarathy2000-03-131-5/+5
| | | p4raw-id: //depot/perl@5702
* the premature FREETMPS calls in change#1187 weren't defensive enoughGurusamy Sarathy2000-03-131-5/+11
| | | | | p4raw-link: @1187 on //depot/perl: a29cdaf07aa5601e42ae4955cc0f168e91a7c385 p4raw-id: //depot/perl@5699
* another long-standing eval bug: return doesn't reset $@ correctlyGurusamy Sarathy2000-03-111-0/+5
| | | p4raw-id: //depot/perl@5660
* change#3511 was not defensive enough about try blocks, causingGurusamy Sarathy2000-03-111-1/+3
| | | | | | | bogus attempts to free closures, and thence, segfaults p4raw-link: @3511 on //depot/perl: 067f92a0e46641b4b3e89afcde43bf134105f7b7 p4raw-id: //depot/perl@5658
* do FILE should not see outside lexicals (from Rick DelaneyGurusamy Sarathy2000-03-081-1/+4
| | | | | <rick@consumercontact.com>) p4raw-id: //depot/perl@5620
* skip null siblings encountered by goto out of loopish blockGurusamy Sarathy2000-03-071-4/+6
| | | | | (from Doug Lankshear) p4raw-id: //depot/perl@5598
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-8/+5
| | | p4raw-id: //depot/perl@5540
* change#4849 wasn't restoring savestack correctly; make loops that haveGurusamy Sarathy2000-02-251-10/+7
| | | | | | | continue blocks recognizable at run time p4raw-link: @4849 on //depot/perl: 872465582bf743a066e1240f2c3e941735674827 p4raw-id: //depot/perl@5255