summaryrefslogtreecommitdiff
path: root/mg.c
Commit message (Collapse)AuthorAgeFilesLines
* A bit more descriptive name.Jarkko Hietaniemi2001-10-311-7/+7
| | | p4raw-id: //depot/perl@12798
* make setting signal() persistentCharles Lane2001-10-311-4/+39
| | | | | Message-Id: <011031134318.231c@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@12796
* Add the encoding pragma to control the "upgrade"Jarkko Hietaniemi2001-10-281-54/+65
| | | | | | | from the native eight bit data to Unicode. TODO: \x.. and \0... literals. \N{}. chr()? ord()? p4raw-id: //depot/perl@12750
* USE_ENVIRON_ARRAY instead of !MACOS_TRADITIONAL,Jarkko Hietaniemi2001-10-261-4/+4
| | | | | as suggested by Sarathy. p4raw-id: //depot/perl@12687
* Integrate maintperl changes #12268 and #12669;Jarkko Hietaniemi2001-10-261-21/+9
| | | | | | | | | | | | | | | | | | | | | | | | final touches to the audit for statics and thread-unsafe code * make DB_File, ODBM_File thread-safe * remove unnecessary/dangerous statics and protect others from not getting accidentally enabled under threaded perls windows support functions get_childdir() et al aren't exported correctly under vanilla build Testing under win32 appreciated since changes there had to be manually merged and I cannot test how badly did I do. p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22 p4raw-id: //depot/perl@12678 p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in' win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs (@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs (@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl (@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..) toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c (@12668..)
* Oh, bother. In Tru64 cc -std1 was looking rather niceJarkko Hietaniemi2001-10-171-8/+2
| | | | | | | | | | in speed (upto 20% speedup in certain operations) but meanwhile regexps and arithmetics got slower (5-10%) (according to perlbench average speedup is negligible, and within measuring flutter, 1%). Therefore retracting all the changes aimed at getting -std1 to compile cleanly: #12475, #12476, #12479, #12480, #12481, #12482, #12483, #12484. p4raw-id: //depot/perl@12485
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-0/+3
| | | | | Add explanatory comment. p4raw-id: //depot/perl@12482
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-4/+2
| | | | | KISS. p4raw-id: //depot/perl@12480
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-4/+4
| | | | | | Thou shalt not #ifdef inside macro invocations, noticed by Rafael Garcia-Suarez. p4raw-id: //depot/perl@12479
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-1/+3
| | | | | Unterminated #ifdef. p4raw-id: //depot/perl@12476
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-1/+4
| | | | | | Avoid dollar signs in identifiers (in non-VMS) to placate ultra picky ANSI compilers (such as DEC^WCPQ^WHP). p4raw-id: //depot/perl@12475
* Re: [PATCH mg.c gv.c and others] ${^TAINT}Michael G. Schwern2001-10-081-3/+7
| | | | | Message-ID: <20011008170014.L17083@blackrider> p4raw-id: //depot/perl@12367
* Fixes obscure bug that manifests itself by.Artur Bergman2001-10-021-0/+2
| | | | | | | local $!=0;undef*STDOUT;#segfaults Has been around for a while. Possible other magic IO vars are possibly affected as well. Reported by Jos Boumans. p4raw-id: //depot/perl@12303
* 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