summaryrefslogtreecommitdiff
path: root/gv.c
Commit message (Collapse)AuthorAgeFilesLines
* @+, @- 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
* change#4705 breaks code that interpolates $], so leave string valueGurusamy Sarathy1999-12-301-2/+5
| | | | | | | | of $] as it was for compatibility (and perhaps introduce $^V or similar for the utf8 representation, maybe?) p4raw-link: @4705 on //depot/utfperl: a7cb1f9979dd83ab32266dc555f72f0939829c3f p4raw-id: //depot/perl@4742
* support for v5.5.640 style version numbersGurusamy Sarathy1999-12-241-4/+2
| | | p4raw-id: //depot/utfperl@4705
* integrate mainline changesGurusamy Sarathy1999-12-121-29/+44
| | | p4raw-id: //depot/utfperl@4679
* Re: [PATCH 5.005_61] "our" declarationsLarry Wall1999-09-251-0/+1
| | | | | Message-Id: <199909250459.VAA27506@kiev.wall.org> p4raw-id: //depot/perl@4227
* queue errors due to strictures rather than printing them asGurusamy Sarathy1999-09-201-19/+8
| | | | | | | | | | | warnings; symbols that violate strictures do *not* end up in the symbol table anyway, making multiple evals of the same piece of code produce the same errors; errors indicate all locations of a global symbol rather than just the first one; these changes make compile-time failures within evals reliably visible via the return value or contents of $@, and trappable using __DIE__ hooks p4raw-id: //depot/perl@4197
* sub : attrlistSpider Boardman1999-08-291-0/+4
| | | | | | To: Mailing list Perl5 <perl5-porters@perl.org> Message-Id: <199908290702.DAA32191@Orb.Nashua.NH.US> p4raw-id: //depot/cfgperl@4043
* Rename warning to warnings, from Paul Marquess.Jarkko Hietaniemi1999-08-291-2/+4
| | | p4raw-id: //depot/cfgperl@4038
* INSTALL =~ s/5.006/5.6/; delay loading Errno until neededGurusamy Sarathy1999-07-261-1/+1
| | | | | (%! has the necessary magic); misc typos p4raw-id: //depot/perl@3754
* fixes for logical bugs in the lexwarn patch; other tweaks to avoidGurusamy Sarathy1999-07-081-3/+5
| | | | | type mismatch problems p4raw-id: //depot/perl@3658
* Re: [ID 19990705.001] Overloading boolean conversionIlya Zakharevich1999-07-071-1/+1
| | | | | Message-Id: <199907052224.SAA10454@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3652
* lexical warnings update (warning.t fails one testPaul Marquess1999-07-071-4/+8
| | | | | | | due to leaked scalar, investigation pending) Message-ID: <5104D4DBC598D211B5FE0000F8FE7EB29C6C8E@mbtlipnt02.btlabs.bt.co.uk> Subject: [PATCH 5.005_57] Lexical Warnings - mandatory warning are now default warnings p4raw-id: //depot/perl@3640
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-39/+39
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-25/+26
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* avoid gv_check() recursive pitGurusamy Sarathy1999-05-291-1/+1
| | | p4raw-id: //depot/perl@3506
* emit more appropriate diagnostic for failed glob (variantGurusamy Sarathy1999-05-171-1/+1
| | | | | of patch suggested by Graham Barr) p4raw-id: //depot/perl@3432
* avoid creating spurious subroutine stubs on failed subroutineGurusamy Sarathy1999-05-111-1/+1
| | | | | | | call and other places of sv_2cv() misuse; fixes problems with failed subroutine calls "hiding" later attempts to lookup methods in base classes p4raw-id: //depot/perl@3388
* correct places that said newSVpv() when they meant newSVpvn()Gurusamy Sarathy1999-04-041-5/+5
| | | p4raw-id: //depot/perl@3217
* update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | p4raw-id: //depot/perl@3124
* exempt $foo::a,$foo::b from warnings only if sort() was seen in package fooGraham Barr1999-03-041-6/+0
| | | | | | Message-ID: <19990303172356.F7442@dal.asp.ti.com> Subject: Re: 'use strict' doesn't work for one-letter variables p4raw-id: //depot/perl@3067
* add const qualifier to most char* prototypes, handle ripple effectGurusamy Sarathy1999-02-151-16/+16
| | | p4raw-id: //depot/perl@2924
* remove OVERLOAD conditionalsJan Dubois1999-02-121-5/+0
| | | | | Message-ID: <36b66479.62756298@smtp1.ibm.net> p4raw-id: //depot/perl@2903
* Fix incorrect "used only once" warningsIlya Zakharevich1999-02-021-1/+1
| | | | | | Message-ID: <19990108043710.A14390@monk.mps.ohio-state.edu> Subject: Re: change#965 flakiness p4raw-id: //depot/cfgperl@2784
* another threads reliability fix: serialize writes to thr->threadsvGurusamy Sarathy1998-11-291-2/+3
| | | | | | | | avoid most uses of PL_na (which is much more inefficient than a simple local); update docs to suit; PL_na now being thr->Tna may be a minor compatibility issue for extensions--will require dTHR outside of XSUBs (those get automatic dTHR) p4raw-id: //depot/perl@2387
* various fixes for race conditions under threads: mutex locks basedGurusamy Sarathy1998-11-291-0/+1
| | | | | | | | | | | on PL_threadnum were seriously flawed, since it means more than one thread could enter the critical region; PL_na was global instead of thread-local; child thread could finish and free thr structures before Thread->new() got around to creating the Thread object; cv_clone() needed locking, as it mucks with PL_comppad and other global data; new_struct_thread() needed to lock template-thread's mutex while copying its data p4raw-id: //depot/perl@2385
* prefer IO::Handle for IO if FileHandle:: is empty (as suggested byGurusamy Sarathy1998-11-291-1/+2
| | | | | Tim Bunce) p4raw-id: //depot/perl@2380
* Implement $^C to allow perl access to -c flag - I think this Nick Ing-Simmons1998-11-281-0/+1
| | | | | was agreed once... p4raw-id: //depot/perl@2352