summaryrefslogtreecommitdiff
path: root/mg.c
Commit message (Collapse)AuthorAgeFilesLines
* Re: [ID 20010815.012] Unfortunate interaction between -0 cmd line arg & ↵Hugo van der Sanden2001-09-151-3/+1
| | | | | | | (??{CODE}) regex Message-Id: <200109091741.f89HfsM18534@crypt.compulink.co.uk> p4raw-id: //depot/perl@12027
* [ID 20010912.007] substr reference core dumpme-01@ton.iguana.be2001-09-121-1/+1
| | | | | Message-Id: <20010912141116.6058.qmail@quasar.home.lunix> p4raw-id: //depot/perl@12005
* Silence the remaing format warningRobin Barker2001-09-071-1/+1
| | | | | Message-Id: <200109071728.SAA13569@tempest.npl.co.uk> p4raw-id: //depot/perl@11941
* Rename the variable: it *used* to be (wrongly) that theJarkko Hietaniemi2001-09-021-3/+3
| | | | | | code related to PL_reg_sv (so PL_reg_sv_utf8 was logical) but that is no more the case: PL_reg_match_utf8 is better. p4raw-id: //depot/perl@11823
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-15/+11
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-6/+6
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* New try for ID 20010407.006: detach the semanticsJarkko Hietaniemi2001-08-181-3/+3
| | | | | "was the last match target UTF8" into its own variable. p4raw-id: //depot/perl@11717
* Re: [ID 20010730.010] FETCH called twice with -TAbhijit Menon-Sen2001-08-121-19/+33
| | | | | Message-ID: <20010811061819.P526@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11641
* UTF-8 bugs in string length & single line regex matchesDaniel P. Berrange2001-08-041-1/+7
| | | | | | | Message-ID: <20010803113932.A19318@berrange.com> (the mg_length() fix) p4raw-id: //depot/perl@11572
* setproctitle() API version nit from Anton Berezin.Jarkko Hietaniemi2001-08-021-1/+1
| | | p4raw-id: //depot/perl@11551
* setproctitle() made simpler. (This assumes the string isJarkko Hietaniemi2001-08-021-1/+1
| | | | | | | \0-terminated: if not, the three-arg form setproctitle(fmt, len, s) should be used. Note len, not len + 1.) BSD-fu from Anton Berezin. p4raw-id: //depot/perl@11548
* OS/2 multi-architectureIlya Zakharevich2001-07-231-5/+1
| | | | | Message-ID: <20010723192949.A14802@math.ohio-state.edu> p4raw-id: //depot/perl@11462
* Code cleanup based on turning off the -woffs in IRIX.Jarkko Hietaniemi2001-06-301-15/+9
| | | | | | | | Not all of the gripes cleaned up (hairy code in hv.c and regcomp.c; unused newsp, gimme, and optype from cop.h macros; unused 'key' arguments in ?DBM_File.xs) (and the -woffs left to the IRIX hints) p4raw-id: //depot/perl@11051
* Add support for $^N, the most-recently closed group.Jarkko Hietaniemi2001-06-301-0/+15
| | | p4raw-id: //depot/perl@11038
* Fixes compile errors in four filesRichard Soderberg2001-06-291-1/+1
| | | | | Message-ID: <Pine.LNX.4.21.0106290333270.9768-100000@oregonnet.com> p4raw-id: //depot/perl@11021
* Re: [PATCH 5.6.1] $^E on OS/2Ilya Zakharevich2001-06-251-1/+3
| | | | | Message-ID: <20010625050235.A24046@math.ohio-state.edu> p4raw-id: //depot/perl@10917
* Casting this way seems to keep both 64-bitint x86 FreeBSDJarkko Hietaniemi2001-06-221-6/+6
| | | | | and Tru64 gcc -Wall happy. p4raw-id: //depot/perl@10840
* Retract the #10417 mg.c and embed.pl parts because ofJarkko Hietaniemi2001-06-211-7/+7
| | | | | | strange SEGVs in 64bit x86 FreeBSD observed by Nicholas Clark. p4raw-id: //depot/perl@10798
* Step 2: Use the new PM_GETRE/SETRE macros everywhere.Richard Soderberg2001-06-211-10/+10
| | | | | Message-ID: <Pine.LNX.4.21.0106210657400.1693-100000@oregonnet.com> p4raw-id: //depot/perl@10780
* $^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