summaryrefslogtreecommitdiff
path: root/gv.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix a location affected by change#2191, add note about POPSTACKGurusamy Sarathy1998-11-051-0/+1
| | | | | p4raw-link: @2191 on //depot/perl: de616352556f5da70790ceef0ca8b92726d7761a p4raw-id: //depot/perl@2196
* s/sv_upgrade/SvUPGRADE/ a couple of placesGurusamy Sarathy1998-11-041-2/+2
| | | p4raw-id: //depot/perl@2187
* Overloaded <> and deref againIlya Zakharevich1998-10-301-0/+9
| | | | | Message-Id: <199810300304.WAA23291@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2150
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-14/+14
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* various win32 tweaks; disable new xs_cpp section (it createsGurusamy Sarathy1998-10-261-1/+3
| | | | | ambiguous inference graph for %.xs --> %.o) p4raw-id: //depot/perl@2086
* avoid "mysterious" compile-time failures without messagesGurusamy Sarathy1998-10-251-1/+1
| | | p4raw-id: //depot/perl@2049
* Program with utf8 identifiers fails to compileLarry Wall1998-10-231-1/+1
| | | p4raw-id: //depot/perl@2038
* check in all confperl changes as of change#1964 into cfgperlGurusamy Sarathy1998-10-151-2/+3
| | | | | p4raw-link: @1964 on //depot/confperl: 2d85315bb227e0962a693eaaadc3f40ca2fbf49b p4raw-id: //depot/cfgperl@1971
* support match indices via special variables @- and @+Ilya Zakharevich1998-09-231-2/+19
| | | | | | Message-Id: <199807220300.XAA16081@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_76] @- and @+ p4raw-id: //depot/perl@1800
* add missing dTHR; notes for test failures due to small stacksizeGurusamy Sarathy1998-08-091-0/+2
| | | p4raw-id: //depot/perl@1774