summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* integrate mainline changesGurusamy Sarathy1999-12-121-176/+389
| | | p4raw-id: //depot/utfperl@4679
* Follow that camel ... another sync.Nick Ing-Simmons1999-10-241-1/+5
| | | p4raw-id: //depot/utfperl@4443
* avoid coredump on C<sort { my $c; return $a cmp $b } ...>Gurusamy Sarathy1999-10-201-1/+1
| | | p4raw-id: //depot/perl@4417
* disable internal globbing for miniperl (or build breaks outGurusamy Sarathy1999-10-151-2/+2
| | | | | in a rash of failed dependencies) p4raw-id: //depot/perl@4389
* misc tweaksGurusamy Sarathy1999-10-131-1/+1
| | | p4raw-id: //depot/perl@4370
* add File::BSDGlob as File::Glob and load it at compile-timeGurusamy Sarathy1999-10-121-1/+22
| | | | | | | | | if perl was built with -DPERL_INTERNAL_GLOB TODO: we currently get a compile-time failure if File/Glob.pm can't be found; such failure needs to be made to emit a warning and use the csh implementation instead p4raw-id: //depot/perl@4356
* various cleanupsGurusamy Sarathy1999-10-121-1/+3
| | | p4raw-id: //depot/perl@4350
* extend change#2299 to C<use> (fixes scoping problems inGurusamy Sarathy1999-10-081-0/+1
| | | | | | | C<if (...) { use foo; ... }>) p4raw-link: @2299 on //depot/perl: 7ad382f40c272949663b62a641674bd9771ee3b8 p4raw-id: //depot/perl@4314
* small tweak for change#4309Gurusamy Sarathy1999-10-081-1/+3
| | | | | p4raw-link: @4309 on //depot/perl: 38a230cb455fb1aca316039ba1d4aed58c0c60d5 p4raw-id: //depot/perl@4313
* change#3728 was flawed (loop contexts saw the wrong statementGurusamy Sarathy1999-10-071-5/+1
| | | | | | | | | | | | | info, causing loop control constructs to not find the label); disable OP_SETSTATE entirely and add a fix that is specifically targetted at disabling the OP_LINESEQ optimization in else BLOCK, which was what the original patch was supposed to fix TODO: remove the remainder of the setstate logic if it can't be used anywhere else (it isn't used anywhere now) p4raw-link: @3728 on //depot/perl: 7399586d384137f7ae66bcc82a83b0df7dd429e5 p4raw-id: //depot/perl@4309
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-10-061-17/+3
|\ | | | | p4raw-id: //depot/perl@4303
| * A better version of #4296.Michael G. Schwern1999-10-031-1/+1
| | | | | | | | | | | | | | To: perl5-porters@perl.org Subject: [PATCH av.c, op.c, perldiag.pod] "array field" -> "pseudo-hash field" Message-ID: <19991003135423.A3050@blackrider> p4raw-id: //depot/cfgperl@4297
| * Untangle the IV_IS_QUAD jungle by introdudingJarkko Hietaniemi1999-10-021-16/+2
| | | | | | | | | | | | macros to be used when doing formatted printing: IVdf, UVuf, UVxf, UVof. Also introduce Uid_t_SIGN. p4raw-id: //depot/cfgperl@4288
* | make die/warn and other diagnostics go to wherever STDERR happensGurusamy Sarathy1999-10-061-1/+1
|/ | | | | | to point at; change places that meant Perl_debug_log rather than PerlIO_stderr() p4raw-id: //depot/perl@4302
* Re: [PATCH 5.005_61] "our" declarationsLarry Wall1999-09-251-4/+16
| | | | | 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-3/+3
| | | | | | | | | | | 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
* various fixups for windowsGurusamy Sarathy1999-09-071-7/+7
| | | p4raw-id: //depot/perl@4101
* change#3612 is buggy when quotemeta argument matches targetIlya Zakharevich1999-09-061-7/+12
| | | | | | | | | (hope this is the last of the optimized-OP_SASSIGN bugs) Message-Id: <199909051007.GAA06423@monk.mps.ohio-state.edu> Subject: Re: [BUG: quotemeta] p4raw-link: @3612 on //depot/perl: b162f9ead0a98db35cdcfc8c889e344c040c8d8e p4raw-id: //depot/perl@4087
* optional warning on join(/foo/...) (reworked suggested patchGurusamy Sarathy1999-09-061-0/+17
| | | | | by Mark-Jason Dominus <mjd@plover.com>) p4raw-id: //depot/perl@4083
* initial implementation of lvalue subroutines (slightly fixedGurusamy Sarathy1999-09-051-3/+133
| | | | | | version of patch suggested by Ilya Zakharevich, which in turn is based on the one suggested by Tuomas J. Lukka <lukka@iki.fi>) p4raw-id: //depot/perl@4081
* Re: [ID 19990830.005] Assigning value of an op on an SV to said SVIlya Zakharevich1999-09-011-0/+13
| | | | | | | To: ilya@math.ohio-state.edu (Ilya Zakharevich) Cc: perl5-porters@perl.org, cloos@adamsmith.ai Message-Id: <199909010656.CAA04478@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4061
* Lost arguments to simplified sortStephen McCamant1999-08-291-3/+4
| | | | | | To: perl5-porters@perl.org Message-ID: <14276.56616.879390.562685@metonymy.hip.berkeley.edu> p4raw-id: //depot/cfgperl@4048
* Speeding up XSUB calls up to 66%Ilya Zakharevich1999-08-291-0/+1
| | | | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-Id: <199908270733.DAA16927@monk.mps.ohio-state.edu> Addendum: it's "only" 33% speedup. p4raw-id: //depot/cfgperl@4044
* sub : attrlistSpider Boardman1999-08-291-10/+160
| | | | | | To: Mailing list Perl5 <perl5-porters@perl.org> Message-Id: <199908290702.DAA32191@Orb.Nashua.NH.US> p4raw-id: //depot/cfgperl@4043
* deadcode removalGurusamy Sarathy1999-08-291-7/+1
| | | p4raw-id: //depot/perl@4034
* Turn of deprecated warnings for defined(@Sompack::ISA) typeNick Ing-Simmons1999-08-121-0/+2
| | | | | tests i.e. RV2AV and RV2HV p4raw-id: //depot/perl@3970
* optimizations could sometimes bypass bareword checkGurusamy Sarathy1999-08-021-1/+2
| | | p4raw-id: //depot/perl@3897
* Fix some of the {IV_IS_QUAD,UV_IS_QUAD} cases so thatJarkko Hietaniemi1999-08-021-2/+4
| | | | | | emacs code indentation doesn't get wrong ideas-- in other words, introduce a couple of "redundant" if:s. p4raw-id: //depot/cfgperl@3887
* Integrate with Sarathy. perl.h and util.c required manual resolving.Jarkko Hietaniemi1999-08-011-1/+6
| | | p4raw-id: //depot/cfgperl@3864
* 64-bit work. Now 32-bit platforms get a 100% make testJarkko Hietaniemi1999-08-011-0/+12
| | | | | | | | | | | | | | | with -Duse64bits (using long long). Tested in Solaris 2.6 sparc RH Linux 6.0 x86 (and Digital IX 4.0D, to get a true 64-bit opinion). Now e.g. 'print unpack "q", pack "q", 12345678901' should work on such 32-bit platforms. Still a lot of printf()s behind -D which wrongly assume that %ld/%lx and (long) are a good combination. Introducing a slew of new macros intended to be used in printf() format strings: e. g. PERL_PRId64 is the string to be used when printing an IV, printf("%" PERL_PRId64 "\n", iv). The PRI... naming follows the C9X naming of <inttypes.h> macros. p4raw-id: //depot/cfgperl@3861
* optimize method name lookupChip Salzenberg1999-07-261-10/+26
| | | | | | Message-ID: <19990722134336.Q391@perlsupport.com> Subject: [PATCH] OP_METHOD_NAMED p4raw-id: //depot/perl@3768
* allow arrow omission in $foo[10]->('foo') etc. (but not inStephen McCamant1999-07-261-21/+0
| | | | | | | foo()->()); rework grammar to remove conflicts Message-ID: <14232.54970.771570.548676@alias-2.pr.mcs.net> Subject: [PATCH _57, long] Re: optional arrow asymmetry p4raw-id: //depot/perl@3767
* fix bug in change#3728 that might free COPs prematurely;Gurusamy Sarathy1999-07-251-40/+56
| | | | | | | | null(op) now does more thorough scrubbing of the op, which fixes a few compile-time memory "leaks" p4raw-link: @3728 on //depot/perl: 7399586d384137f7ae66bcc82a83b0df7dd429e5 p4raw-id: //depot/perl@3739
* applied suggested patch for tracking line numbers correctly inHugo van der Sanden1999-07-231-2/+10
| | | | | | | | optimized blocks with a single statement; changed setcop to setstate and added code for -Dx dumps Message-Id: <199906231627.RAA24033@crypt.compulink.co.uk> Subject: [PATCH 5.005_57] Line number error in optimised else() p4raw-id: //depot/perl@3728
* emit warning about function calls that were encountered too earlyGurusamy Sarathy1999-07-231-2/+17
| | | | | to enforce their prototype p4raw-id: //depot/perl@3723
* allow $foo{$x} and $bar[$i] for (\$) prototypeGurusamy Sarathy1999-07-171-0/+2
| | | p4raw-id: //depot/perl@3681
* fixups for sundry warnings about function pointersGurusamy Sarathy1999-07-121-1/+1
| | | p4raw-id: //depot/perl@3669
* change#3612 was buggy and failed to build Tk; applied Ilya'sGurusamy Sarathy1999-07-111-4/+8
| | | | | | | remedy and related tests via private mail p4raw-link: @3612 on //depot/perl: b162f9ead0a98db35cdcfc8c889e344c040c8d8e p4raw-id: //depot/perl@3664
* fixes for logical bugs in the lexwarn patch; other tweaks to avoidGurusamy Sarathy1999-07-081-5/+4
| | | | | type mismatch problems p4raw-id: //depot/perl@3658
* lexical warnings update (warning.t fails one testPaul Marquess1999-07-071-13/+22
| | | | | | | 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
* Eliminate CONDOPsStephen McCamant1999-07-071-38/+37
| | | | | Message-ID: <14193.25034.113373.245377@alias-2.pr.mcs.net> p4raw-id: //depot/perl@3637
* memleak in optimizerHugo van der Sanden1999-07-071-5/+11
| | | | | Message-Id: <199906231516.QAA23851@crypt.compulink.co.uk> p4raw-id: //depot/perl@3634
* make diagnostic on C<my $^I> etc., more readableGurusamy Sarathy1999-07-071-1/+1
| | | p4raw-id: //depot/perl@3627
* Optimize away OP_SASSIGNIlya Zakharevich1999-07-061-3/+67
| | | | | Message-Id: <199906120849.EAA26986@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3612
* slightly tweaked version of suggested patchDan Sugalski1999-07-061-4/+4
| | | | | | Message-Id: <3.0.6.32.19990608140938.030f12e0@ous.edu> Subject: [PATCH 5.005_57]Use NV instead of double in the core p4raw-id: //depot/perl@3602
* allow C<-foo> under C<use integer> (behavior of C<-$string>Gurusamy Sarathy1999-07-051-1/+7
| | | | | is unchanged still) p4raw-id: //depot/perl@3588
* remove misleading info on defined(&func), unclutter deprecationGurusamy Sarathy1999-07-041-2/+2
| | | | | about defined(@array) p4raw-id: //depot/perl@3567
* fix indentsGurusamy Sarathy1999-06-271-16/+20
| | | p4raw-id: //depot/perl@3551
* fix coredumper in change#3498Gurusamy Sarathy1999-06-131-1/+1
| | | | | p4raw-link: @3498 on //depot/cfgperl: 697943021785eb8447e25eb51a6f27fd78921863 p4raw-id: //depot/perl@3539
* truncate() has a peculiar exemption from strict barewords, evenGurusamy Sarathy1999-06-111-2/+5
| | | | | though it has a non-filehandle prototype p4raw-id: //depot/perl@3533