summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* cleaner logic in op.c, also avoids QNX optimizer bug (from NortonGurusamy Sarathy2000-03-131-3/+2
| | | | | Allen <allen@huarp.harvard.edu>) p4raw-id: //depot/perl@5710
* another optimized-OP_SASSIGN bug: ops that were not OA_TARGLEXGurusamy Sarathy2000-03-121-7/+4
| | | | | were being mistakenly subverted anyway p4raw-id: //depot/perl@5683
* support binmode(F,":crlf") and use open IN => ":raw", OUT => ":crlf"Gurusamy Sarathy2000-03-091-0/+30
| | | | | semantics; the pragma sets defaults for both open() and qx// p4raw-id: //depot/perl@5628
* demand-load utf8.pm in swash routinesGurusamy Sarathy2000-03-091-1/+7
| | | p4raw-id: //depot/perl@5622
* do FILE should not see outside lexicals (from Rick DelaneyGurusamy Sarathy2000-03-081-1/+2
| | | | | <rick@consumercontact.com>) p4raw-id: //depot/perl@5620
* abstract code for C<use Foo 1.23 @ary;> into a Perl_load_module()Gurusamy Sarathy2000-03-081-17/+66
| | | | | API function p4raw-id: //depot/perl@5619
* add missing locks for op refcountsGurusamy Sarathy2000-03-081-13/+0
| | | p4raw-id: //depot/perl@5610
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-27/+27
| | | p4raw-id: //depot/perl@5540
* support for list assignment to pseudohashes (from John TobeyGurusamy Sarathy2000-03-031-5/+14
| | | | | <jtobey@john-edwin-tobey.org>) p4raw-id: //depot/perl@5492
* avoid useless comparisonGurusamy Sarathy2000-03-021-1/+1
| | | p4raw-id: //depot/perl@5436
* avoid compiler warnings (from Dan Sugalski)Gurusamy Sarathy2000-02-271-1/+1
| | | p4raw-id: //depot/perl@5284
* Integrate with Sarathy.Jarkko Hietaniemi2000-02-251-1/+5
|\ | | | | p4raw-id: //depot/cfgperl@5257
| * change#4849 wasn't restoring savestack correctly; make loops that haveGurusamy Sarathy2000-02-251-1/+5
| | | | | | | | | | | | | | continue blocks recognizable at run time p4raw-link: @4849 on //depot/perl: 872465582bf743a066e1240f2c3e941735674827 p4raw-id: //depot/perl@5255
* | More UTF8_MAXLEN fixesGisle Aas2000-02-241-1/+1
|/ | | | | | To: perl5-porters@perl.org Message-ID: <m3ema2tc8q.fsf@eik.g.aas.no> p4raw-id: //depot/cfgperl@5247
* remove dual-valueness of v-strings (i.e., they are pure stringsGurusamy Sarathy2000-02-211-3/+3
| | | | | | | | now); avoid the word "tuple" to describe strings represented as character ordinals; usurp $PERL_VERSION for $^V as suggested by Larry, deprecate $] ; adjust the documentation and testsuite accordingly p4raw-id: //depot/perl@5186
* lexical warnings update, ability to inspect bitmask in callingGurusamy Sarathy2000-02-201-24/+20
| | | | | scope, among other things (from Paul Marquess) p4raw-id: //depot/perl@5170
* glob() takes one or no user arguments and a non-user-visible secondGurusamy Sarathy2000-02-201-1/+2
| | | | | hidden argument, fix its prototype-checking accordingly p4raw-id: //depot/perl@5163
* more B fixups to cope with empty GVs (these can only happen in pads)Gurusamy Sarathy2000-02-191-4/+5
| | | p4raw-id: //depot/perl@5150
* s/WARN_PRECEDENCE/WARN_BAREWORD/, vide change#5131Gurusamy Sarathy2000-02-191-2/+2
| | | | | p4raw-link: @5131 on //depot/perl: 34d09196f6a006314d7ea49a091a30ce5ee08bff p4raw-id: //depot/perl@5135
* rename "Probable precendence problem" diagnostic to "Bareword foundGurusamy Sarathy2000-02-191-2/+1
| | | | | | in conditional" to better reflect the class of error (as suggested by Larry) p4raw-id: //depot/perl@5131
* fix change#5104 under useithreadsGurusamy Sarathy2000-02-151-6/+19
| | | | | p4raw-link: @5104 on //depot/perl: 345599ca7248bba771c8a9cadc2422a744a61ff2 p4raw-id: //depot/perl@5112
* optimize pseudohash slice in array slice at compile time (fromGurusamy Sarathy2000-02-151-0/+56
| | | | | John Tobey <jtobey@john-edwin-tobey.org>) p4raw-id: //depot/perl@5104
* fix misoptimization of C<my($x,$y); $x = $y = 1 + $z;> (fromGurusamy Sarathy2000-02-151-1/+3
| | | | | Ilya Zakharevich) p4raw-id: //depot/perl@5100
* more purification (pp_require() could access free memory; vdie()Gurusamy Sarathy2000-02-131-14/+24
| | | | | | | | could think message was random length when passed a null argument; utilize() didn't set up the hash for the method name leading to pp_method_named() accessing random state; PL_curpm wasn't zeroed properly) p4raw-id: //depot/perl@5072
* 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
* patch to provide more informative names for evals and anonymousGurusamy Sarathy2000-02-041-11/+27
| | | | | subroutines (from Ilya Zakharevich) p4raw-id: //depot/perl@4975
* fix pad_alloc panic from C<my $w; sub { my($i) = @_; sub { $w } }>Gurusamy Sarathy2000-02-041-2/+1
| | | p4raw-id: //depot/perl@4970
* HINT_UTF8 is not propagated to the op tree anymore; add aGurusamy Sarathy2000-02-011-2/+4
| | | | | perlunicode.pod that reflects changes to unicode support so far p4raw-id: //depot/perl@4941
* introduce $^U, a global bit to indicate whether systemGurusamy Sarathy2000-01-311-1/+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-0/+2
| | | | | | | | | 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
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-0/+17
| | | | | | | 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
* s/STOP/CHECK/ blocksGurusamy Sarathy2000-01-261-12/+12
| | | p4raw-id: //depot/perl@4905
* produce redeclaration warning on C<our $foo; { our $foo; ... }>Gurusamy Sarathy2000-01-251-8/+25
| | | p4raw-id: //depot/perl@4891
* change#4866 was flawed; revert and add better fix for warningGurusamy Sarathy2000-01-231-11/+4
| | | | | p4raw-link: @4866 on //depot/perl: ef8040b067557994d471dfa4e5ac3900907e94ce p4raw-id: //depot/perl@4867
* optimize away runtime code for our($foo) (also avoid warnings)Gurusamy Sarathy2000-01-231-1/+9
| | | p4raw-id: //depot/perl@4866
* fix diagnostics to report "our" vs "my" correctlyGurusamy Sarathy2000-01-231-12/+20
| | | p4raw-id: //depot/perl@4859
* fix localization in while BLOCK when there is a continue BLOCKGurusamy Sarathy2000-01-231-0/+3
| | | | | | | by introducing an explicit scope (c.f. change#4848) p4raw-link: @4848 on //depot/perl: 1ee987245c095afd177d3e2ca6255cec8dbb53ca p4raw-id: //depot/perl@4849
* don't warn about masked lexical in C<if (my $x = 1) { my $x; }>,Gurusamy Sarathy2000-01-231-8/+5
| | | | | C<while (my $x = foo()) { my $x = bar(); }> etc. p4raw-id: //depot/perl@4847
* wrong category for exec() warningGurusamy Sarathy2000-01-221-2/+4
| | | p4raw-id: //depot/perl@4844
* add patch for printf-style format typechecks (from Robin BarkerGurusamy Sarathy2000-01-221-8/+12
| | | | | <rmb1@cise.npl.co.uk>); fixes for problems so identified p4raw-id: //depot/perl@4836
* fix deeply nested closures that have no references to lexical inGurusamy Sarathy2000-01-221-21/+43
| | | | | intervening subs p4raw-id: //depot/perl@4834
* support for C<exists &func> (from Spider Boardman)Gurusamy Sarathy2000-01-211-2/+9
| | | p4raw-id: //depot/perl@4827
* minor optimization (avoid double sv_upgrade() for "our Foo $bar;")Gurusamy Sarathy2000-01-141-5/+5
| | | p4raw-id: //depot/perl@4803
* nailed "our" declarations, and better warnings on duplicateGurusamy Sarathy2000-01-141-4/+14
| | | | | "our" declarations p4raw-id: //depot/perl@4801
* avoid spurious "Useless use of variable" warning on C<our $foo;>Gurusamy Sarathy2000-01-141-1/+2
| | | p4raw-id: //depot/perl@4800
* support delete() and exists() on array, tied array, and pseudo-hashGurusamy Sarathy2000-01-131-5/+19
| | | | | elements or slices p4raw-id: //depot/perl@4796
* USE_ITHREADS tweak (reused pad values could be SvREADONLY ifGurusamy Sarathy2000-01-061-1/+5
| | | | | they belonged to freed OP_CONSTs) p4raw-id: //depot/perl@4761
* constant ranges could escape bareword check in list contextGurusamy Sarathy2000-01-061-0/+1
| | | p4raw-id: //depot/perl@4760
* disable optimization in change#3612 for join() and quotemeta()--thisGurusamy Sarathy2000-01-021-39/+1
| | | | | | | | | removes all the gross hacks for the special cases in that change; fix pp_concat() for when TARG == arg (modified version of patch suggested by Ilya Zakharevich) p4raw-link: @3612 on //depot/perl: b162f9ead0a98db35cdcfc8c889e344c040c8d8e p4raw-id: //depot/perl@4749
* bring in basic threads stuff under USE_ITHREADSGurusamy Sarathy1999-12-231-2/+2
| | | p4raw-id: //depot/perl@4704