summaryrefslogtreecommitdiff
path: root/pp_ctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Integrate changes #9584,9587 from maintperl into mainline.Jarkko Hietaniemi2001-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | keep eval"" CVs alive until the end of the statement in which they're called add README.macos (from Chris Nandor) tyop in change#9555 p4raw-link: @9587 on //depot/maint-5.6/perl: d72c2fc956b5cb46ede17d06f89a463c78f1cf5f p4raw-link: @9584 on //depot/maint-5.6/perl: e6fbcc36a54a8afd8dbcdcb9a8d8e178df530b97 p4raw-link: @9555 on //depot/perl: 6a0af2f17bcde4767b90a72eff7083c5effff21d p4raw-id: //depot/perl@9588 p4raw-branched: from //depot/maint-5.6/perl@9583 'branch in' README.macos p4raw-integrated: from //depot/maint-5.6/perl@9583 'copy in' pod/perlfaq9.pod (@9585..) 'merge in' scope.h (@8568..) pod/perl.pod (@8986..) MANIFEST (@9227..) win32/Makefile (@9286..) pp_ctl.c scope.c (@9288..) global.sym (@9289..) embed.h embed.pl objXSUB.h perlapi.c proto.h (@9292..) pod/buildtoc.PL (@9312..) win32/makefile.mk (@9495..) sv.c (@9496..) pod/perlguts.pod (@9514..)
* Propagate calling context for do '...'Gisle Aas2001-04-051-2/+2
| | | | | Message-ID: <lrg0fo827q.fsf@caliper.ActiveState.com> p4raw-id: //depot/perl@9579
* PATCH: cosmetic tweak in pp_ctl.cRobin Houston2001-03-191-1/+1
| | | | | Message-ID: <20010319154841.A28174@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9253
* Prefer !UTF8_IS_INVARIANT() over UTF8_IS_CONTINUED() when thatNick Ing-Simmons2001-03-181-1/+7
| | | | | | is the sense of the test being done. Avoid some magical 127 and 128 values by using macros. p4raw-id: //depot/perlio@9199
* PATCH: make goto work in nested eval ""Robin Houston2001-03-141-1/+5
| | | | | Message-ID: <20010314041610.A16307@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9147
* PATCH for [ID 20010305.003]Robin Houston2001-03-141-0/+13
| | | | | Message-ID: <20010314024551.A16207@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9141
* Re: [ID 20010309.004] my-variables lose values while goto'ing within a ↵Robin Houston2001-03-141-3/+5
| | | | | | | | | for(;;)-loop Message-ID: <20010314015251.B16112@puffinry.freeserve.co.uk> Fix for 2000313.004. p4raw-id: //depot/perl@9140
* Integrate change #9108 from maintperl to mainline.Jarkko Hietaniemi2001-03-121-40/+0
| | | | | | | | | | | | | | | | | | | | fix memory leak in C<sub X { sub {} }> arising from a refcount loop between the outer sub and the inner prototype anonsub this also enables closures returned by subroutines that subsequently get redefined to work without generating coredumps :) completely removed the free_closures() hack--it shouldn't be needed anymore p4raw-link: @9108 on //depot/maint-5.6/perl: 1cf1f64f42eb50a67f2427ff9d6d24023a2b9997 p4raw-id: //depot/perl@9109 p4raw-branched: from //depot/maint-5.6/perl@9107 'branch in' t/op/anonsub.t p4raw-integrated: from //depot/maint-5.6/perl@9107 'merge in' sv.c (@8871..) embed.h (@8886..) pod/perlapi.pod proto.h (@8993..) embed.pl (@8995..) MANIFEST (@9030..) op.c op.h (@9055..) pp_ctl.c (@9076..)
* EBCDIC sanity - phase INick Ing-Simmons2001-03-101-4/+4
| | | | | | | | | | | | | | - rename utf8/uv functions to indicate what sort of uv they provide (uvuni/uvchr) - use utf8n_xxxx (c.f. pvn) for forms which take length. - back out vN.N and $^V exceptions to e2a/a2e - make "locale" isxxx macros be uvchr (may be redundant?) Not clear yet that toUPPER_uni et. al. return being handled correctly. The tr// and rexexp stuff still needs an audit, assumption is they are working in Unicode space. Need to provide v5.6 names for XS modules (decide is uni or chr ?). p4raw-id: //depot/perlio@9096
* Re: [ PATCH perl@8956 ] new debug option -DR shows ref countsDave Mitchell2001-03-091-1/+2
| | | | | Message-Id: <200103081206.MAA06281@tiree.fdgroup.co.uk> p4raw-id: //depot/perl@9084
* Re: sync sync sync: have I missed any patches?Tim Jenness2001-02-281-30/+30
| | | | | | | | In-Reply-To: <20010227140737.Y10633@chaos.wustl.edu> Message-ID: <Pine.LNX.4.30.0102271322070.8623-100000@lapaki.jach.hawaii.edu> Replace djSP with dSP. p4raw-id: //depot/perl@8963
* Documenting coderef @INC (Re: CPAN "make this script work" feature)Nicholas Clark2001-02-261-1/+4
| | | | | Message-ID: <20010226004207.F23333@plum.flirble.org> p4raw-id: //depot/perl@8953
* [patch] -WallDoug MacEachern2001-02-171-1/+1
| | | | | Message-ID: <Pine.LNX.4.21.0102161519500.30352-100000@mako.covalent.net> p4raw-id: //depot/perl@8815
* buncha MacPerl patches for bleadperlChris Nandor2001-02-131-4/+9
| | | | | Message-Id: <p05010404b6ae6f85e07a@[10.0.1.177]> p4raw-id: //depot/perl@8792
* Signedness nit.Jarkko Hietaniemi2001-01-151-2/+2
| | | p4raw-id: //depot/perl@8446
* More UTF-8 patches from Inaba Hiroto.Jarkko Hietaniemi2001-01-151-1/+6
| | | | | | | | | | | | | | | | | | | | - The substr lval was still not okay. - Now pp_stringify and sv_setsv copies source's UTF8 flag even if IN_BYTE. pp_stringify is called from fold_constants at optimization phase and "\x{100}" was made SvUTF8_off under use bytes (the bytes pragma is for "byte semantics" and not for "do not produce UTF8 data") - New `qu' operator to generate UTF8 string explicitly. Though I agree with the policy "0x00-0xff always produce bytes", sometimes want to such a string to be coded in UTF8. I can use pack"U0a*" but it requires more typing and has runtime overhead. - Fix pp_regcomp bug uncovered by "0x00-0xff always produce bytes" change, the bug appears if a pm has PMdf_UTF8 flag but interpolated string is not UTF8_on and has char 0x80-0xff. TODO: document and test qu. p4raw-id: //depot/perl@8439
* Consolidated lvalue sub changesStephen McCamant2001-01-121-0/+14
| | | | | Message-ID: <14941.16925.736415.785818@soda.csua.berkeley.edu> p4raw-id: //depot/perl@8417
* UTF-8 cleanup.Jarkko Hietaniemi2001-01-051-1/+1
| | | p4raw-id: //depot/perl@8328
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* more UTF8 test suites and an UTF8 patchInaba Hiroto2000-12-301-5/+12
| | | | | | | | Message-ID: <3A4D722D.243AFD88@st.rim.or.jp> Just the patch part for now, and the pragma renamed as unicode::distinct. p4raw-id: //depot/perl@8267
* Polymorphic regexps.Jarkko Hietaniemi2000-12-171-4/+7
| | | | | | | Fixes at least the bugs 20001028.003 (both of them...) and 20001108.001. The bugs 20001114.001 and 20001205.014 seem also to be fixed by now, probably already before this patch. p4raw-id: //depot/perl@8143
* 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