summaryrefslogtreecommitdiff
path: root/op.c
Commit message (Collapse)AuthorAgeFilesLines
* remove _() non-ansismGurusamy Sarathy1999-06-021-16/+17
| | | p4raw-id: //depot/perl@3518
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-06-021-0/+24
|\ | | | | p4raw-id: //depot/perl@3516
| * PATCH (5.005_57): defined(@a) now deprecatedMark-Jason Dominus1999-05-281-0/+24
| | | | | | | | | | | | To: perl5-porters@perl.com Message-ID: <19990527200544.13330.qmail@plover.com> p4raw-id: //depot/cfgperl@3498
* | remove stray K&R-ismsGurusamy Sarathy1999-06-021-2/+1
| | | | | | p4raw-id: //depot/perl@3515
* | change#3447 didn't do enough to exempt Foo->bar(qw/.../) fromGurusamy Sarathy1999-06-011-0/+5
| | | | | | | | | | | | | | strict 'subs' p4raw-link: @3447 on //depot/perl: 7a52d87a7fbc7848e6b3e9e96db52d4070212cca p4raw-id: //depot/perl@3514
* | change#3449 wasn't doing enoughGurusamy Sarathy1999-05-281-3/+5
|/ | | | | p4raw-link: @3449 on //depot/perl: 18228614d1dac2db099ef3d8846e53f44accce72 p4raw-id: //depot/perl@3493
* fix bogus line numbers for void context warningsGurusamy Sarathy1999-05-241-9/+13
| | | | | | | (change#2548 was overeager) p4raw-link: @2548 on //depot/cfgperl: 68c734842396ee490e3f1243c6050bbadc602253 p4raw-id: //depot/perl@3464
* name PL_in_eval bitsHugo van der Sanden1999-05-241-3/+5
| | | | | Message-Id: <199905231535.QAA00032@crypt.compulink.co.uk> p4raw-id: //depot/perl@3457
* oops, some files missing in change#3449Gurusamy Sarathy1999-05-241-0/+25
| | | | | p4raw-link: @3449 on //depot/perl: 18228614d1dac2db099ef3d8846e53f44accce72 p4raw-id: //depot/perl@3450
* redo change#2061 and parts of change#1169 with code in theGurusamy Sarathy1999-05-241-6/+31
| | | | | | | | | | | parser; PL_last_proto hackery gone, strict 'subs' in now implemented in the optimizer where specifying the exceptional cases is much more robust; '*' (bareword) prototype now works reliably when used in second and subsequent arguments p4raw-link: @2061 on //depot/perl: bf8481137c02593eb36f8d0e234a2ec41a1c92e4 p4raw-link: @1169 on //depot/perl: 2a841d1398ee9bbf30a942905192cc2591b3e92a p4raw-id: //depot/perl@3447
* Experimental "slab" allocator for ops.Nick Ing-Simmons1999-05-141-20/+59
| | | | | | | | | | | | To try it -DPL_OP_SLAB_ALLOC for op.c This is for proof of concept only, it leaks memory (ops are not free'd) so don't use in embedded apps. If this minimalist version does not show performance gain then whole idea is worthless. Nick see's approx 12% speed up vs perlmalloc running perl -Ilib -MCPAN -e '' Solaris2.6, gcc-2.8.1 but numbers are not repeatable. p4raw-id: //depot/perl@3424
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-4/+4
| | | | | | | | | | needed to open myconfig.SH rather than myconfig; sundry adjustments to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it work under win32; getenv_sv() changed to getenv_len() since SVs aren't visible in the lower echelons; remove bogus exports from config.sym; PERL_OBJECT-ness for C++ exception support; null out IoDIRP in filter_del() or sv_free() will attempt to close it p4raw-id: //depot/perl@3387
* applied suggested patch, with win32 and PERL_OBJECT additionsTom Hughes1999-05-101-0/+2
| | | | | | Message-ID: <609bdff748.tom@compton.compton.nu> Subject: ByteLoader patch p4raw-id: //depot/perl@3356
* allow AV/HV dereferences on pseudohashes ($ph->{foo}[1], etc.)Gurusamy Sarathy1999-05-081-1/+1
| | | p4raw-id: //depot/perl@3335
* Tweaks to open(my $fh,...) stuffNick Ing-Simmons1999-05-081-3/+10
| | | p4raw-id: //depot/perl@3329
* Implement open( my $fh, ...) and similar.Nick Ing-Simmons1999-05-071-2/+11
| | | | | | | | | | | | Set flag in op.c for "constructor ops" In pp_rv2gv, if flag is set and arg is PADSV and uninit vivify as reference to a detached GV. (Name of GV is the pad name.) This scheme should "just work" for pipe/socket etc. too. #if 0 out the open(FH,undef) for now. Change t/io/open.t to test open(my $fh,...) p4raw-id: //depot/perl@3326
* fix bogus OPf_REF context in C<sort BLOCK @foo> (extension ofGurusamy Sarathy1999-05-061-4/+3
| | | | | | | change#3180) p4raw-link: @3180 on //depot/perl: fd3835b3e90ede5576a7ad392beef86bf933ce15 p4raw-id: //depot/perl@3307
* correct places that said newSVpv() when they meant newSVpvn()Gurusamy Sarathy1999-04-041-7/+7
| | | p4raw-id: //depot/perl@3217
* fix bogus OPf_REF context for the BLOCK in C<grep BLOCK @foo>Gurusamy Sarathy1999-03-281-1/+1
| | | | | (sometimes caused bizarreness in the BLOCK) p4raw-id: //depot/perl@3180
* update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | p4raw-id: //depot/perl@3124
* change#3067 failed package.t due to needless creation of $a and $b;Gurusamy Sarathy1999-03-121-6/+3
| | | | | | | fixed to do that only for C<sort BLOCK|CODE @foo>, not C<sort(@foo)> p4raw-link: @3067 on //depot/perl: 39ab52836386b91d2e2c323dd305cf42e6be3133 p4raw-id: //depot/perl@3106
* fix parsing of here documents in C<eval 's/.../<<FOO/e'>Gurusamy Sarathy1999-03-091-1/+4
| | | p4raw-id: //depot/perl@3098
* use yyerror() instead of croak() so that compile-time failures inGurusamy Sarathy1999-03-091-2/+3
| | | | | my(LIST) don't confuse globals with lexicals p4raw-id: //depot/perl@3097
* exempt $foo::a,$foo::b from warnings only if sort() was seen in package fooGraham Barr1999-03-041-0/+5
| | | | | | Message-ID: <19990303172356.F7442@dal.asp.ti.com> Subject: Re: 'use strict' doesn't work for one-letter variables p4raw-id: //depot/perl@3067
* todo item: permit extended control variables a la ${^Foo} (patchGurusamy Sarathy1999-02-281-1/+15
| | | | | courtesy Mark-Jason Dominus <mjd@plover.com>) p4raw-id: //depot/perl@3039
* fix longstanding bug: searches for lexicals originating within eval''Gurusamy Sarathy1999-02-281-6/+12
| | | | | weren't stopping at the subroutine boundary correctly p4raw-id: //depot/perl@3037
* bring '*' prototype closer to how it behaves internallyGurusamy Sarathy1999-02-191-10/+4
| | | p4raw-id: //depot/perl@2978
* distinguish eval'' from BEGIN|INIT|END CVs (fixes buggy propagationGurusamy Sarathy1999-02-181-2/+2
| | | | | of lexical searches in BEGIN|INIT|END) p4raw-id: //depot/perl@2975
* add const qualifier to most char* prototypes, handle ripple effectGurusamy Sarathy1999-02-151-1/+1
| | | p4raw-id: //depot/perl@2924
* allow C<select('foo')> to autovivify *foo (SelectSaver expects that)Gurusamy Sarathy1999-02-141-0/+1
| | | p4raw-id: //depot/perl@2914
* allow boolean assign ops to be lvaluesGurusamy Sarathy1999-02-121-2/+4
| | | | | | | | | | | | From: Stephen McCamant <smccam@uclink4.berkeley.edu> Date: Mon, 11 Jan 1999 16:52:18 -0600 (CST) Message-ID: <13978.32609.495338.544643@alias-2.pr.mcs.net> -- From: Hugo van der Sanden <hv@crypt.compulink.co.uk> Date: Mon, 18 Jan 1999 10:04:00 +0000 Message-Id: <199901181004.KAA17471@crypt.compulink.co.uk> Subject: Re: [inconsistency 5.005_54] ||= not an lvalue p4raw-id: //depot/perl@2901
* fix ops that are not filehandle constructors to not create GV if itGurusamy Sarathy1999-02-121-3/+34
| | | | | | doesn't already exist (avoids leaks); extend semantics of defined() so that defined(*{$foo}) works (experimental) p4raw-id: //depot/perl@2879
* properly prototype check parenthesized unary ops (e.g. defined(&a,&b))Gurusamy Sarathy1999-02-071-3/+12
| | | p4raw-id: //depot/perl@2817
* various win32-ish changes merged from maint-5.005Gurusamy Sarathy1999-02-011-3/+1
| | | p4raw-id: //depot/perl@2746
* various tweaks for clean build and test on win32Gurusamy Sarathy1999-01-171-1/+2
| | | p4raw-id: //depot/perl@2632
* PERL_OBJECTness for change#2595Gurusamy Sarathy1999-01-171-2/+3
| | | | | p4raw-link: @2595 on //depot/cfgperl: 9c007264caa0e1aed57010dc2950fe35f9d8347e p4raw-id: //depot/perl@2627
* From: Hans Mulder <hansm@icgroup.nl>Jarkko Hietaniemi1999-01-131-1/+62
| | | | | | | | | | | | | | | | | | | | | Optimize common sort routines. Thread started by the message From: Hans Mulder <hansm@icgroup.nl> Sender: owner-perl5-porters@perl.org To: perl5-porters@perl.org Subject: [Patch for 5.00554] From the Todo list: Optimize sort by { $a <=> $b Message-Id: <9901092156.AA03831@icgned.icgroup.nl> and the patch from the message From: Hans Mulder <hans@icgroup.nl> To: jhi@iki.fi Cc: perl5-porters@perl.org Subject: Re: [Patch for 5.00554] From the Todo list: Optimize sort by { $a <=> $b } Date: Wed, 13 Jan 1999 17:39:35 +0100 Message-Id: <9901131639.AA17419@icgned.icgroup.nl> p4raw-id: //depot/cfgperl@2595
* From: Hugo van der Sanden <hv@crypt.compulink.co.uk>Jarkko Hietaniemi1999-01-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | To: perl5-porters@perl.org cc: hv@crypt0.demon.co.uk Subject: [bug 5.004_54] duplicate error message Date: Thu, 31 Dec 1998 04:05:25 +0000 Message-Id: <199812310405.EAA00386@crypt.compulink.co.uk> Message-ID: <13963.60672.134591.383377@alias-2.pr.mcs.net> From: Stephen McCamant <smccam@uclink4.berkeley.edu> To: hv@crypt0.demon.co.uk Cc: perl5-porters@perl.org Subject: [PATCH _54] Re: duplicate error message Date: Thu, 31 Dec 1998 16:10:13 -0600 (CST) Message-Id: <199901010732.HAA02926@crypt.compulink.co.uk> From: Hugo van der Sanden <hv@crypt.compulink.co.uk> To: Stephen McCamant <smccam@uclink4.berkeley.edu> cc: hv@crypt0.demon.co.uk, perl5-porters@perl.org Subject: [TEST PATCH _54] Re: duplicate error message Date: Fri, 01 Jan 1999 07:32:14 +0000 p4raw-id: //depot/cfgperl@2548
* To: perl5-porters@perl.comMark-Jason Dominus1998-12-211-1/+1
| | | | | | | | | | | | | Subject: PATCH (5.005_02): Dejargonizing Date: Sun, 20 Dec 1998 14:35:20 -0500 Message-ID: <19981220193520.11230.qmail@plover.com> From: Mark-Jason Dominus <mjd@plover.com> To: perl5-porters@perl.com Subject: PATCH (5.005_02): Spelling correction in warning message Date: Sun, 20 Dec 1998 13:51:30 -0500 Message-ID: <19981220185130.11067.qmail@plover.com> p4raw-id: //depot/cfgperl@2493
* another threads reliability fix: serialize writes to thr->threadsvGurusamy Sarathy1998-11-291-16/+32
| | | | | | | | 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-1/+6
| | | | | | | | | | | 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
* make $1 et al readonly under threads; make C<undef $1> fail likeGurusamy Sarathy1998-11-281-0/+10
| | | | | C<$1 = undef> does p4raw-id: //depot/perl@2335
* fix C<if (...) { package Foo; ... }> misoptimization that failsGurusamy Sarathy1998-11-261-0/+1
| | | | | to set the package for the block properly p4raw-id: //depot/perl@2299
* allow C<sort $coderef @foo>Gurusamy Sarathy1998-11-171-0/+2
| | | p4raw-id: //depot/perl@2246
* catch a neophyte trap: open(<FH>), close(<FH>) etc.Gurusamy Sarathy1998-11-141-0/+4
| | | p4raw-id: //depot/perl@2235
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-98/+102
| | | | | | | | | | (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
* avoid bogus line number in XSUB redefined warningsGurusamy Sarathy1998-10-251-1/+2
| | | p4raw-id: //depot/perl@2070
* Program with utf8 identifiers fails to compileLarry Wall1998-10-231-2/+6
| | | p4raw-id: //depot/perl@2038
* restore sanity to "constant" referencesGurusamy Sarathy1998-10-211-1/+39
| | | p4raw-id: //depot/perl@2029
* stray typo found by Hugo van der SandenGurusamy Sarathy1998-10-171-1/+1
| | | p4raw-id: //depot/perl@1988