summaryrefslogtreecommitdiff
path: root/gv.c
Commit message (Collapse)AuthorAgeFilesLines
* [MacPerl-Porters] [PATCH] bsd_glob.c, gv.c fixes for Mac OSChris Nandor2001-04-171-1/+6
| | | | | Message-Id: <p05100207b701768712de@[10.0.1.177]> p4raw-id: //depot/perl@9720
* Smoke out dTHR, spotted by by Stephen P. Potter.Jarkko Hietaniemi2001-04-081-1/+0
| | | p4raw-id: //depot/perl@9626
* RE: 5.6.0 BUG: Lexical warnings aren't lexicalPaul Marquess2001-03-281-1/+2
| | | | | | | | | | | | | | | | | | Message-ID: <000701c0b56e$73944220$07bdfea9@bfs.phone.com> A variable will be checked for the "use once" warnings if: 1. It is in the scope of a use warnings 'once' 2. It isn't in the scope of the warnings pragma at all AND $^W is set. Otherwise it won't be checked at all. Part 1 is what is in perl >= 5.6.0, Part 2 is what I'm fixing. The enclosed patch partially fixes this issue. What I didn't get to work was the case where the "used once" warning is enabled in any file other than the main file. p4raw-id: //depot/perl@9401
* Autoloading Errno.pm when %! is encounteredRobin Houston2001-03-271-13/+37
| | | | | Message-ID: <20010327205710.A24053@puffinry.freeserve.co.uk> p4raw-id: //depot/perl@9390
* Retract #8893, zero-initializing may be costly, maybe reintroduceJarkko Hietaniemi2001-02-231-1/+1
| | | | | later protected by some #define. p4raw-id: //depot/perl@8915
* (Retracted by #8915.)Jarkko Hietaniemi2001-02-221-1/+1
| | | | | | Third Degree finding: reading uninitialized local variable smallbuf + 8 bytes of Perl_gv_fetchfile p4raw-id: //depot/perl@8893
* Integrate pureperl changes #8844,8845,8850 to mainlineJarkko Hietaniemi2001-02-201-1/+1
| | | | | | | | | | | | | | | | | | (via maintperl #8855). Fixed %^H scoping bug Removed GV <-> CV refcount loop Removed %ENV refcount loop p4raw-link: @8850 on //depot/maint-5.6/pureperl: bae1eca58b94313e4b7677aa241da9fad57bb363 p4raw-link: @8845 on //depot/maint-5.6/pureperl: 4d40626c12bbdd62acfbbe3be104711e58cec2f7 p4raw-link: @8844 on //depot/maint-5.6/pureperl: ea100fc6cfd2f0e23aceb84ac0e804e3c9c3c9a2 p4raw-id: //depot/perl@8858 p4raw-integrated: from //depot/maint-5.6/perl@8857 'merge in' gv.c scope.c (@8606..) pp.c (@8635..) op.c (@8758..) perl.c (@8806..)
* [patch] -WallDoug MacEachern2001-02-171-2/+1
| | | | | Message-ID: <Pine.LNX.4.21.0102161519500.30352-100000@mako.covalent.net> p4raw-id: //depot/perl@8815
* [patch] GvSHAREDDoug MacEachern2001-02-101-1/+7
| | | | | Message-ID: <Pine.LNX.4.21.0102101047320.15298-100000@mako.covalent.net> p4raw-id: //depot/perl@8760
* overload int()Ilya Zakharevich2001-01-251-0/+1
| | | | | Message-ID: <20010124190657.A8512@math.ohio-state.edu> p4raw-id: //depot/perl@8545
* "Safe" signals - trial implementation.Nick Ing-Simmons2001-01-171-3/+4
| | | | | | | | 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
* Define SIG_SIZE, the number of elements in the sig_name andJarkko Hietaniemi2001-01-171-5/+4
| | | | | sig_num arrays, including the final NULL entry. p4raw-id: //depot/perl@8459
* Provide infrastructure for PERL_ASYNC_CHECK() style safe signals.Nick Ing-Simmons2001-01-161-0/+1
| | | | | | 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
* Fix "scalars leaked" bugs caused by overload magicNick Ing-Simmons2001-01-081-8/+18
| | | | | (Highlighted by Ilya's DESTROY optimization.) p4raw-id: //depot/perlio@8371
* [patch] xsub AUTOLOAD fix/optimizationDoug MacEachern2001-01-081-1/+15
| | | | | | | | Message-ID: <Pine.LNX.4.10.10101060924280.24460-100000@mojo.covalent.net> Allow AUTOLOAD to be an xsub and allow such xsubs to avoid use of $AUTOLOAD. p4raw-id: //depot/perl@8362
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* Re: [PATCH blead] Fix segfault in gv_handler/mg_findDaniel Chetlin2000-12-281-1/+4
| | | | | Message-ID: <20001224040949.B3090@darkstar> p4raw-id: //depot/perl@8236
* Some compilers get huffy if you do not cast a const pointerJarkko Hietaniemi2000-12-151-1/+1
| | | | | to a non-const when assigning. p4raw-id: //depot/perl@8132
* speeding up object creation/destruction 4x timesIlya Zakharevich2000-12-151-7/+37
| | | | | Message-ID: <20001215052657.A8319@math.mps.ohio-state.edu> p4raw-id: //depot/perl@8131
* cosmetic change to overloadingIlya Zakharevich2000-12-151-79/+21
| | | | | Message-ID: <20001214220243.A18437@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@8130
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-12/+0
| | | p4raw-id: //depot/perl@7984
* Re: [ID 20001122.006] weird behaviour of $|Benjamin Holzman2000-11-271-1/+5
| | | | | Message-ID: <20001126162733.J25040@ecnvantage.com> p4raw-id: //depot/perl@7890
* Lexical use open ... support:Nick Ing-Simmons2000-11-181-2/+11
| | | | | | | | | | | | 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
* More %{} and other deref special casing - do not pass to 'nomethod'.Nick Ing-Simmons2000-09-021-38/+51
| | | p4raw-id: //depot/perl@7012
* Part of the solution.Mike Guy2000-09-011-3/+3
| | | | | | 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
* Re: [ID 20000825.019] Not OK: perl v5.7.0 +SUIDMAIL +DEVEL6820 on ↵Spider Boardman2000-08-261-1/+8
| | | | | | | alpha-dec_osf 5.1 (UNINSTALLED) Message-Id: <200008252312.TAA17828@leggy.zk3.dec.com> p4raw-id: //depot/perl@6828
* @+, @- readonly (was Re: @<punct> interpolating in "")Mike Guy2000-08-141-0/+2
| | | | | Message-Id: <E13OEII-0007B2-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6615
* Allow "no Module;" even if there is no 'unimport'.Mark-Jason Dominus2000-08-021-1/+1
| | | | | | Subject: [ID 20000324.029] `unimport' is not special the way `import' is Message-Id: <20000324152434.15160.qmail@plover.com> p4raw-id: //depot/perl@6499
* Remove the extraneous "main::" prefix from all theGurusamy Sarathy2000-08-021-0/+25
| | | | | | | | "opened only for", "on closed", and "never opened" warnings. Subject: Re: inappropriate warning Message-Id: <200003201928.LAA32224@maul.ActiveState.com> p4raw-id: //depot/perl@6489
* Allow "sub AUTOLOAD;" to stop AUTOLOAD inheritance,Jarkko Hietaniemi2000-07-261-0/+3
| | | | | from Graham Barr in the module list. p4raw-id: //depot/perl@6444
* 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#6242..6249 into mainlineGurusamy Sarathy2000-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6249 on //depot/cfgperl: cab27d238e930b8cddb5b1fb3260355f913b86a6 p4raw-link: @6242 on //depot/cfgperl: 1e72252ad7b8e23d1a1142285b8aa82986bd2491 p4raw-id: //depot/perl@6359 p4raw-integrated: from //depot/cfgperl@6358 'copy in' ext/DynaLoader/DynaLoader_pm.PL (@5953..) t/lib/peek.t (@6086..) t/lib/filefunc.t t/lib/filespec.t (@6230..) pod/perlintern.pod (@6237..) pod/perlapi.pod utf8.c (@6242..) p4raw-integrated: from //depot/cfgperl@6249 'copy in' lib/IPC/Open3.pm (@5937..) p4raw-integrated: from //depot/cfgperl@6248 'copy in' pod/perlfunc.pod (@6206..) p4raw-integrated: from //depot/cfgperl@6247 'ignore' lib/File/Spec.pm (@6230..) p4raw-integrated: from //depot/cfgperl@6244 'copy in' gv.c (@6217..) 'merge in' sv.c (@6196..) p4raw-integrated: from //depot/cfgperl@6243 'copy in' pp_proto.h (@6237..) 'ignore' embedvar.h perlapi.h (@6237..) 'merge in' embed.h objXSUB.h (@6237..) embed.pl perlapi.c proto.h (@6242..)
* integrate cfgperl changes#6207..6210 into mainlineGurusamy Sarathy2000-07-111-0/+9
| | | | | | p4raw-link: @6210 on //depot/cfgperl: b8b4c9f3cf6ef09c878a80ff97526a69902a44ca p4raw-link: @6207 on //depot/cfgperl: b37a7757477319a5fcdd5131db15046064f631c4 p4raw-id: //depot/perl@6345
* change#2879 broke rvalue autovivification of magicals such as ${$num}Gurusamy Sarathy2000-05-281-0/+107
| | | | | | | (reworked variant of patch suggested by Simon Cozens) p4raw-link: @2879 on //depot/perl: 35cd451c5a1303394968903750cc3b3a1a6bc892 p4raw-id: //depot/perl@6126
* introduce illegal symbols into null package so that gv_fetchpv(...,TRUE)Gurusamy Sarathy2000-04-161-3/+3
| | | | | | | | always returns a valid GV even when the symbol is trapped by strictures (avoids coredumps) TODO: the C<package;> hack needs similar treatment p4raw-id: //depot/perl@5908
* make parenthetic warnings look consistent; make diagnostic onGurusamy Sarathy2000-03-211-1/+1
| | | | | "use 5.6" et al mention the alternate form; pod fixups p4raw-id: //depot/perl@5851
* make the is_utf8_*() safe for use on invalid utf8 (they nowGurusamy Sarathy2000-03-131-6/+6
| | | | | return false on such input instead of emitting warnings) p4raw-id: //depot/perl@5700
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-22/+27
| | | p4raw-id: //depot/perl@5540
* fix pods to reflect newer canonical names for call_sv() etc.Gurusamy Sarathy2000-02-291-2/+2
| | | p4raw-id: //depot/perl@5371
* thinko in change#5029Gurusamy Sarathy2000-02-071-2/+2
| | | | | p4raw-link: @5029 on //depot/perl: 46487f74b15c77c6f040c8b818f810a5255b1078 p4raw-id: //depot/perl@5030
* change $^U to $^WIDE_SYSTEM_CALLS; s/PL_bigchar/PL_widesyscalls/;Gurusamy Sarathy2000-02-071-2/+2
| | | | | introduce -C switch (sets $^WIDE_SYSTEM_CALLS) p4raw-id: //depot/perl@5029
* ${^Warnings} renamed to ${^WARNING_BITS}Gurusamy Sarathy2000-02-071-2/+2
| | | p4raw-id: //depot/perl@5025
* pod fixes (from Abigail and M J T Guy)Gurusamy Sarathy2000-02-071-1/+1
| | | p4raw-id: //depot/perl@5015
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-1/+1
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* introduce $^U, a global bit to indicate whether systemGurusamy Sarathy2000-01-311-0/+1
| | | | | | | calls should using widechar APIs; chr and sprintf "%c" also follow this flag in the absense of "use byte"; "use utf8" sets $^U=1 (this appears kludgey) p4raw-id: //depot/perl@4937
* runtime now looks at the SVf_UTF8 bit on the SV to decideGurusamy Sarathy2000-01-311-3/+1
| | | | | | | | | whether to use widechar semantics; lexer and RE engine continue to need "use utf8" to enable unicode awareness in literals and patterns (TODO: this needs to be fixed); $1 et al are marked SvUTF8 if the pattern was compiled for utf8 (TODO: propagating it from the data is probably better) p4raw-id: //depot/perl@4930
* introduce $^V (eq chr($revision) . chr($version) . chr($subversion));Gurusamy Sarathy2000-01-301-12/+19
| | | | | document version tuples p4raw-id: //depot/perl@4927
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-0/+77
| | | | | | | Stuhl <sho_pi@hotmail.com>); fix the markup format to be more flexible for better readability; add missing docs in sv.c; regenerate perltoc p4raw-id: //depot/perl@4915
* add patch for printf-style format typechecks (from Robin BarkerGurusamy Sarathy2000-01-221-1/+1
| | | | | <rmb1@cise.npl.co.uk>); fixes for problems so identified p4raw-id: //depot/perl@4836
* nailed "our" declarations, and better warnings on duplicateGurusamy Sarathy2000-01-141-1/+0
| | | | | "our" declarations p4raw-id: //depot/perl@4801