summaryrefslogtreecommitdiff
path: root/mg.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* integrate cfgperl changes#6325..6373 into mainlineGurusamy Sarathy2000-07-111-0/+3
| | | | | | | | (NOTE: today's batch of integrations still untested) p4raw-link: @6373 (not found) p4raw-link: @6325 on //depot/cfgperl: d6ac44cc5a00fa38a56717785146bc16b716472c p4raw-id: //depot/perl@6373
* Signals-be-gone for microperl.Jarkko Hietaniemi2000-06-011-0/+2
| | | p4raw-id: //depot/cfgperl@6193
* MacOS support, part 1 (from Matthias NeeracherGurusamy Sarathy2000-05-281-3/+3
| | | | | <neeri@iis.ee.ethz.ch>) p4raw-id: //depot/perl@6143
* reenable fake signal handling on Windows, bugs and allGurusamy Sarathy2000-05-171-0/+8
| | | p4raw-id: //depot/perl@6108
* fixes for bugs in C<use warnings qw(FATAL all)> (from Paul Marquess)Gurusamy Sarathy2000-04-281-1/+1
| | | p4raw-id: //depot/perl@5995
* make return values from match in a list context, as well as $& etGurusamy Sarathy2000-03-181-5/+21
| | | | | al propagate utf8-ness (from Graham Barr) p4raw-id: //depot/perl@5794
* STRLEN != int.Jarkko Hietaniemi2000-03-131-2/+1
| | | p4raw-id: //depot/cfgperl@5705
* final touches for lexical warnings (from Paul Marquess)Gurusamy Sarathy2000-03-131-16/+25
| | | p4raw-id: //depot/perl@5702
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-14/+8
| | | p4raw-id: //depot/perl@5540
* fix segfault on C<local ${^WARNING_BITS}>Gurusamy Sarathy2000-03-011-0/+5
| | | p4raw-id: //depot/perl@5394
* Do not cast pointers into I32s.Jarkko Hietaniemi2000-02-281-1/+1
| | | p4raw-id: //depot/cfgperl@5334
* lexical warnings update, ability to inspect bitmask in callingGurusamy Sarathy2000-02-201-1/+1
| | | | | scope, among other things (from Paul Marquess) p4raw-id: //depot/perl@5170