summaryrefslogtreecommitdiff
path: root/mg.c
Commit message (Collapse)AuthorAgeFilesLines
* $^S almost entirely broken with 5.6.1Abhijit Menon-Sen2001-06-121-0/+2
| | | | | Message-ID: <20010612173555.A32426@lustre.linux.in> p4raw-id: //depot/perl@10531
* -Wall casting patchRobin Barker2001-06-041-6/+6
| | | | | Message-Id: <200106041327.OAA15338@tempest.npl.co.uk> p4raw-id: //depot/perl@10425
* Various "cast to pointer from integer of different size"Jarkko Hietaniemi2001-06-031-7/+7
| | | | | | | | | | picked up by gcc -Wall (in Tru64 where pointers are 64 bits wide but I32 (int) only 32 bits wide). WARNING: the classnum and tagnum changes in Storable.xs may not be wise, they may be breaking binary compatibility (in 64-bit platforms), asked Raphael Manfredi about the changes. p4raw-id: //depot/perl@10417
* Salvage bits and pieces from the experimental 'utf8 everywhere'Jarkko Hietaniemi2001-05-311-2/+4
| | | | | | patch: rename HINT_BYTE and IN_BYTE to HINT_BYTES and IN_BYTES to match the pragma name; various robustness cleanups. p4raw-id: //depot/perl@10339
* More -Wall silencing from Michael Schwern and Jarkko Hietaniemi.Jarkko Hietaniemi2001-05-301-3/+6
| | | p4raw-id: //depot/perl@10335
* Re: [ID 20010426.005] Magic not being removed at scope exit [PATCH]John Peacock2001-05-261-1/+1
| | | | | Message-ID: <3B0DBFE9.A7C49084@rowman.com> p4raw-id: //depot/perl@10214
* Stop segfault in mg.c:636Richard Soderberg2001-05-241-1/+1
| | | | | Message-ID: <NAEKLNAAHLMBPMPNBMLEGEPGDEAA.rs@crystalflame.net> p4raw-id: //depot/perl@10194
* [LARGE!] symbolic magicDave Mitchell2001-05-201-12/+13
| | | | | Message-Id: <200105191912.UAA23925@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10168
* Integrate change #10100 from maintperl.Jarkko Hietaniemi2001-05-141-1/+1
| | | | | | | | | | PL_last_in_gv may not be a GV if it was a stale filehandle (fix for bug ID 20010514.027) p4raw-link: @10100 on //depot/maint-5.6/perl: 5244397c028305e17ca4ad7e80cf900323dbeb8b p4raw-id: //depot/perl@10103 p4raw-integrated: from //depot/maint-5.6/perl@10102 'merge in' mg.c (@9288..) pp_ctl.c (@9584..)
* NI-S' cunning idea of how to de-UTF8 the "\C-broken" submatches.Jarkko Hietaniemi2001-03-181-2/+4
| | | p4raw-id: //depot/perl@9193
* Re: [ PATCH perl@8956 ] new debug option -DR shows ref countsDave Mitchell2001-03-091-3/+3
| | | | | Message-Id: <200103081206.MAA06281@tiree.fdgroup.co.uk> p4raw-id: //depot/perl@9084
* Re: [patch] context for 'U' magic functionsDoug MacEachern2001-02-121-2/+2
| | | | | | | | | Message-ID: <Pine.LNX.4.21.0102120919040.26437-100000@mako.covalent.net> plus the suggestion by Nick Ing-Simmons to name the macro as PERL_MG_UFUNC to avoid namespace pollution, plus add the advice by Doug for XS writers to perl.h p4raw-id: //depot/perl@8774
* Microperl sync.Jarkko Hietaniemi2001-01-301-0/+2
| | | p4raw-id: //depot/perl@8622
* "Safe" signals - trial implementation.Nick Ing-Simmons2001-01-171-12/+37
| | | | | | | | gv.c tweaked to zero PL_sig_pend array perlio.c tweaked to PERL_ASYNC_CHECK() on EINTR util.c tweaked to not set SA_RESTART to give perlio.c a chance. Odd thing is that it "works" with PERLIO=stdio as well (linux). p4raw-id: //depot/perlio@8467
* Provide infrastructure for PERL_ASYNC_CHECK() style safe signals.Nick Ing-Simmons2001-01-161-0/+9
| | | | | | Provides all the "cost" but no benefit yet - it is to allow cost to be measured, and implementation experiments (just in mg.c?). p4raw-id: //depot/perlio@8457
* Missing from #8439.Jarkko Hietaniemi2001-01-151-1/+1
| | | p4raw-id: //depot/perl@8443
* More UTF-8 patches from Inaba Hiroto.Jarkko Hietaniemi2001-01-151-16/+19
| | | | | | | | | | | | | | | | | | | | - 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
* -WformatRobin Barker2001-01-121-1/+1
| | | | | Message-Id: <200101122003.UAA29599@tempest.npl.co.uk> p4raw-id: //depot/perl@8425
* Add sigprocmask() probe, regen Configure, regen toc.Jarkko Hietaniemi2001-01-121-1/+1
| | | p4raw-id: //depot/perl@8421
* Remove variables that were used in experiments.Nick Ing-Simmons2001-01-111-2/+0
| | | p4raw-id: //depot/perlio@8408
* Catch die in %SIG handler and unblock the signal before re-dying.Nick Ing-Simmons2001-01-111-1/+20
| | | | | | | | This make Linux work _without_ sigsetjmp(). Turn off sigsetjmp() to see what else it does. May need Configure probe for sigprocmask() if anything has sigaction() but not sigprocmask(). p4raw-id: //depot/perlio@8407
* Fix UTF-8 lval substr().Jarkko Hietaniemi2001-01-111-4/+14
| | | p4raw-id: //depot/perl@8405
* Fix "scalars leaked" bugs caused by overload magicNick Ing-Simmons2001-01-081-1/+3
| | | | | (Highlighted by Ilya's DESTROY optimization.) p4raw-id: //depot/perlio@8371
* environ nitSimon Cozens2001-01-081-0/+2
| | | | | | | Message-ID: <20010107175707.A2013@pembro26.pmb.ox.ac.uk> Use environ only if we have it. p4raw-id: //depot/perl@8365
* 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-1/+13
| | | | | | | | 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
* Re: [PATCH blead] Fix segfault in gv_handler/mg_findDaniel Chetlin2000-12-281-0/+2
| | | | | Message-ID: <20001224040949.B3090@darkstar> p4raw-id: //depot/perl@8236
* MULTIPLICITY nit.Nick Ing-Simmons2000-12-171-1/+1
| | | p4raw-id: //depot/perl@8154
* Polymorphic regexps.Jarkko Hietaniemi2000-12-171-12/+10
| | | | | | | 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
* UTF8 output prework.Nick Ing-Simmons2000-12-091-15/+12
| | | | | | - Store $\ and $, as SVs so they can have SvUTF8 flag - use do_print() rather than raw PerlIO_write() to print them. p4raw-id: //depot/perlio@8049
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-24/+0
| | | p4raw-id: //depot/perl@7984
* Go ahead and #include <unistd.h> in perl.h.Jarkko Hietaniemi2000-11-221-5/+0
| | | p4raw-id: //depot/perl@7816
* Lexical use open ... support:Nick Ing-Simmons2000-11-181-28/+44
| | | | | | | | | | | | 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
* cygwin portFifer, Eric2000-11-071-6/+0
| | | | | | | Message-ID: <779F20BCCE5AD31186A50008C75D99791717BB@silldn_mail1.sanwaint.com> Synchronize with Cygwin 1.1.5. p4raw-id: //depot/perl@7597
* restore change#7202Gurusamy Sarathy2000-10-121-0/+2
| | | | | p4raw-link: @7202 on //depot/perl: c3fbb29af1dd039d12fa65f0dc334e804a3883fc p4raw-id: //depot/perl@7204
* another test of the Emergency Broadcast System--back out Gurusamy Sarathy2000-10-121-2/+0
| | | | | | | change#7202 p4raw-link: @7202 on //depot/perl: c3fbb29af1dd039d12fa65f0dc334e804a3883fc p4raw-id: //depot/perl@7203
* (submitted on behalf of Jarkko)Gurusamy Sarathy2000-10-121-0/+2
| | | | | | | Fix the lib/encode.t subtest 6 failure as reported by Andreas Koenig, gmagical substr() wasn't propagating UTF8ness. The bug was unearthed by change 7182, as was a bug in HTML::Entities. p4raw-id: //depot/perl@7202
* Epoc updateOlaf Flebbe2000-10-031-1/+1
| | | | | Message-ID: <26423.969484586@www10.gmx.net> p4raw-id: //depot/perl@7124
* Inside require() $^S was always left undefined.Ilya Zakharevich2000-10-031-3/+1
| | | | | | 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
* Part of the solution.Mike Guy2000-09-011-1/+2
| | | | | | Subject: Re: [ID 20000807.004] [PATCH] conditional breakpoints leak memory Message-Id: <E13Uqfp-0006dN-00@draco.cus.cam.ac.uk> p4raw-id: //depot/perl@6967
* Missed a change in #6869.Jarkko Hietaniemi2000-08-291-7/+11
| | | p4raw-id: //depot/perl@6879
* magic callbacks all need to have same type signatureGurusamy Sarathy2000-08-151-1/+3
| | | p4raw-id: //depot/perl@6642
* magic_regdatum_set() is void, not int.Jarkko Hietaniemi2000-08-151-1/+1
| | | p4raw-id: //depot/perl@6629
* Re: [PATCH] @+, @- readonlyMike Guy2000-08-141-1/+7
| | | | | Message-Id: <E13OLCZ-00020N-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6620
* @+, @- readonly (was Re: @<punct> interpolating in "")Mike Guy2000-08-141-0/+1
| | | | | Message-Id: <E13OEII-0007B2-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6615
* debugger "d" command doesnt check line numberMike Guy2000-08-111-2/+0
| | | | | Message-Id: <E13MGOL-000053-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6588
* The new setproctitle() feature is available only in Jarkko Hietaniemi2000-08-021-3/+3
| | | | | bleeding edge FreeBSD. From Paul Saab. p4raw-id: //depot/perl@6492
* In new BSDs changes to argv[] do not show up in ps(1) output,Paul Saab2000-08-021-3/+24
| | | | | | | | | | | instead one must use setproctitle(). This was already addressed by change #6457, but the below has a new variant for FreeBSD 4.0 or later, and the matter is also documented more. Subject: [ID 20000801.007] setting $0 on FreeBSD 4.x does not get reflected in /bin/ps Message-Id: <20000801154139.A53740@yahoo-inc.com> p4raw-link: @6457 on //depot/perl: 0c9177abdae6e91f4dfdab2ef3cc817ec901e51eon //depot/metaconfig: efc5abcdbec468dfb20e18acbe3ab6c1cd9e92c3 p4raw-id: //depot/perl@6483
* Use setproctitle() if available to modify $0.Jeffrey Friedl2000-07-271-0/+3
| | | | | | Subject: setting $* on BSD4 broken Message-Id: <200007230831.BAA08379@ventrue.yahoo.com> p4raw-id: //depot/perl@6457
* enable UTF-16 filter by default if relevant BOM is seen; variousGurusamy Sarathy2000-07-141-1/+1
| | | | | cleanups (typos, misformatted code, and small bugs) p4raw-id: //depot/perl@6399