summaryrefslogtreecommitdiff
path: root/scope.c
Commit message (Collapse)AuthorAgeFilesLines
* various tweaks; result passes all tests for normal build on Solaris;Gurusamy Sarathy1998-11-281-2/+2
| | | | | | fails two pat.t tests under USE_THREADS; io_poll.t test#3 fails on win32 due to lack of select() that works on non-socket fds p4raw-id: //depot/perl@2377
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-3/+3
| | | | | | | | | | (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
* integrate changes#1982,2014,2021 (from maint-5.005)Gurusamy Sarathy1998-10-251-2/+2
| | | | | | | p4raw-link: @2021 on //depot/maint-5.005/perl: ece095e7b265a16d4ec3543b1418100f9c635a87 p4raw-link: @2014 on //depot/maint-5.005/perl: cca0b9804acab4b7678c0f185888d57497a5c2a9 p4raw-link: @1982 on //depot/maint-5.005/perl: fe676099d996f70caaedeb6ae85adc3ee59d2240 p4raw-id: //depot/perl@2059
* properly restore PL_rsfp_filters after requireGurusamy Sarathy1998-10-251-0/+22
| | | p4raw-id: //depot/perl@2051
* change#1614 merely disabled earlier fix (doh!); undo it and properlyGurusamy Sarathy1998-10-131-3/+3
| | | | | | | | fixup the cop_seq value that must be seen by lexical lookups that emanate within eval'' p4raw-link: @1614 on //depot/perl: bd28dd3ca083953e5682058b02b9529902e14ca9 p4raw-id: //depot/perl@1944
* fix various 5.00552 mishaps (fixes suggested by Jan Dubois,Gurusamy Sarathy1998-09-281-2/+0
| | | | | | Kurt Starsinic, Spider Boardman, Dan Sugalski and Albert Dvornik) p4raw-id: //depot/perl@1899
* SSNEW() API for allocating memory on the savestackAlbert Dvornik1998-09-231-0/+19
| | | | | | Message-Id: <tqemtae338.fsf@puma.genscan.com> Subject: [PATCH 5.005_51] (was: why SAVEDESTRUCTOR()...) p4raw-id: //depot/perl@1852
* tweaked version of suggested patchIlya Zakharevich1998-08-021-2/+2
| | | | | | Message-Id: <199807210140.VAA17186@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_75] Enable -DS p4raw-id: //depot/maint-5.005/perl@1701
* fix memory leak in C<local(*foo) = 'bar'>Gurusamy Sarathy1998-07-211-1/+1
| | | p4raw-id: //depot/perl@1584
* complete s/foo/PL_foo/ changes (all escaped cases identified withGurusamy Sarathy1998-07-201-1/+1
| | | | | | brute force search script). Result builds and passes all tests on Solaris. win32 and PERL_OBJECT are still untested. p4raw-id: //depot/perl@1578
* PL_ stuff for threadsNick Ing-Simmons1998-07-181-2/+2
| | | p4raw-id: //depot/ansiperl@1534
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-58/+58
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* rename s/\bSI_/PERLSI_/ to avoid collisions with sysinfo headersGurusamy Sarathy1998-07-061-1/+1
| | | p4raw-id: //depot/perl@1339
* tweaks to overloaded constants (change#1259)Gurusamy Sarathy1998-06-301-1/+1
| | | | | p4raw-link: @1259 on //depot/perl: b3ac6de7f0c7a63b73f1cf3ea9e371470f7d1cb0 p4raw-id: //depot/perl@1265
* added patch for overloading constants, made PERL_OBJECT-awareIlya Zakharevich1998-06-291-0/+7
| | | | | Message-Id: <199806270328.XAA21088@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1259
* back out previous change (it breaks PERL_OBJECT)Gurusamy Sarathy1998-06-151-77/+0
| | | p4raw-id: //depot/perl@1136
* added patch, fixed typo, reworked documentationJoshua Pritikin1998-06-151-0/+77
| | | | | | Message-Id: <H00000e500071aa3@MHS> Subject: [PATCH 5.004_66] JMPENV! p4raw-id: //depot/perl@1135
* Invalidate method cache on C<local *subname>Chip Salzenberg1998-06-101-0/+5
| | | | | Message-ID: <19980604134731.D24343@perlsupport.com> p4raw-id: //depot/perl@1097
* [asperl] integrate mainline changesGurusamy Sarathy1998-05-291-1/+1
|\ | | | | p4raw-id: //depot/asperl@1055
| * [win32] misc changesGurusamy Sarathy1998-05-291-3/+2
| | | | | | | | | | | | - remove code that works around lack of I_STDARG (we're a happy ANSI family) - leave dump_foo() stubs when not -DDEBUGGING for consistent symbol exports p4raw-id: //depot/win32/perl@1053
* | [asperl] more changes to satisfy non-debug VC build (C-API doesn'tGurusamy Sarathy1998-05-261-3/+2
| | | | | | | | | | build, and the testsuite still won't run) p4raw-id: //depot/asperl@1035
* | [asperl] integrate mainline changesGurusamy Sarathy1998-04-081-37/+97
|\ \ | |/ | | p4raw-id: //depot/asperl@884
| * [win32] implement stack-of-stacks so that magic invocations don'tGurusamy Sarathy1998-04-031-0/+20
| | | | | | | | | | invalidate local stack pointer p4raw-id: //depot/win32/perl@864
| * Bump patchlevel.h to 63.Malcolm Beattie1998-03-161-32/+60
| |\ | | | | | | p4raw-id: //depot/perl@822
| | * [win32] merge C<local $tied{foo}> patch, also moved statics inGurusamy Sarathy1998-03-091-32/+60
| | | | | | | | | | | | | | | [ah]v.c to thrdvar.h p4raw-id: //depot/win32/perl@802
| * | STRESS_REALLOCStephen McCamant1998-03-161-5/+17
| |/ | | | | p4raw-id: //depot/perl@820
* | [win32] integrate mainline changesGurusamy Sarathy1998-03-071-8/+42
|\ \ | |/ | | p4raw-id: //depot/asperl@799
| * [win32] add Nick's dTHR fixesGurusamy Sarathy1998-03-051-0/+2
| | | | | | p4raw-id: //depot/win32/perl@787
| * [win32] maintpatchSpider Boardman1998-03-051-1/+1
| | | | | | | | | | | | Message-Id: <199803050749.CAA15206@Orb.Nashua.NH.US> Subject: [PATCH] 5.004_04 +MAINT_TRIAL_1 broken when sizeof(int) != sizeof(void p4raw-id: //depot/win32/perl@786
| * [win32] fix misapplied hunks in change#614Gurusamy Sarathy1998-03-021-9/+3
| | | | | | | | | | p4raw-link: @614 on //depot/win32/perl: 161b7d1635bc830b9c733355ab423626eadf9ae9 p4raw-id: //depot/win32/perl@616
| * [win32] this one with adjusted test numbersStephen McCamant1998-03-021-8/+46
| | | | | | | | | | | | Message-Id: <m0xjWFq-000EZeC@alias-2.pr.mcs.net> Subject: [PERL] [PATCH] Fix local $a[0] and local $h{a} p4raw-id: //depot/win32/perl@614
* | [asperl] bring ASPerl uptodate with mainline changesGurusamy Sarathy1998-02-141-7/+6
|\ \ | |/ | | p4raw-id: //depot/asperl@524
| * [win32] fix extra LEAVE when require failsGurusamy Sarathy1998-02-121-7/+6
| | | | | | | | | | | | Message-Id: <199802102321.SAA15346@aatma.engin.umich.edu> Subject: Re: evals and requires make seg-fault with bad require file p4raw-id: //depot/win32/perl@498
* | [asperl] integrate win32 branch contentsGurusamy Sarathy1998-02-091-1/+1
|\ \ | |/ | | p4raw-id: //depot/asperl@493
| * [win32] integrate mainlineGurusamy Sarathy1998-02-031-1/+1
| |\ | | | | | | p4raw-id: //depot/win32/perl@455
| | * Introduced thr->threadsvp and THREADSV() for faster per-threadMalcolm Beattie1998-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | variables. Moved threadnum to a per-interpreter variable and made dTHR and lock/unlock of sv_mutex bypass the get/lock unless more than one thread may be running. Minor tweaks to Thread.xs. p4raw-id: //depot/perl@453
* | | [asperl] added AS patch#3Douglas Lankshear1998-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message-Id: <01BD2EF2.53433A40.dougl@ActiveState.com> To: "'Gurusamy Sarathy'" <gsar@umich.edu> Here's an additional diff against //depot/asperl The field name mg_length was changed back to mg_len The function name mg_len was change to mg_length The need for sort_mutex removed thanks to the code derived from Tom Horsley's work. -- Doug p4raw-id: //depot/asperl@451
* | | [asperl] initial merge of latest win32 branch into ASPerlGurusamy Sarathy1998-01-301-2/+13
|\ \ \ | |/ / | | | p4raw-id: //depot/asperl@445
| * | Gisle's av_unshift tweak, two small patches from chipNick Ing-Simmons1998-01-241-2/+5
| | | | | | | | | | | | | | | | | | and check for NULL in hv_delete in case '~' and tie magic are present p4raw-id: //depot/ansiperl@438
| * | TIEARRAY updates - almost works ...Nick Ing-Simmons1998-01-141-0/+8
| |/ | | | | p4raw-id: //depot/ansiperl@424
* | [asperl] added AS patch#2Gurusamy Sarathy1998-01-301-2/+6
|/ | | p4raw-id: //depot/asperl@443
* [win32] Trivial bugfix#1 from local repositoryGurusamy Sarathy1997-12-231-1/+1
| | | | | | Message-Id: <199711282326.SAA15090@aatma.engin.umich.edu> Subject: [PATCH] Re: [5.004_04 BUG] bless broke scoping? p4raw-id: //depot/win32/perl@381
* $_ is now per-thread (rather a lot of changes). Only tested underMalcolm Beattie1997-11-211-0/+19
| | | | | *-linux-thread at the moment. p4raw-id: //depot/perl@274
* Change CONTEXT to PERL_CONTEXT throughout source (since the #defineMalcolm Beattie1997-11-131-2/+2
| | | | | | | to avoid the Digital UNIX clash no longer works). Changed the #ifdef in pp_sys.c for whether getnet* function get protoyped (since the default had a broken prototype for getnetbyaddr). p4raw-id: //depot/perl@247
* Convert miniperl sources to ANSI C. Several passes ofNick Ing-Simmons1997-10-311-71/+36
| | | | | | | | | GNU C's 'protoize' plus a few hand edits. Will compile miniperl with gcc -x c++ (i.e. treat .c a C++ files) Does not link seems gcc's C++ does not define a symbol for const char foo[] = "...."; i.e. with empty []. p4raw-id: //depot/ansiperl@194
* Merge maint-5.004 branch (5.004_04) with mainline.Malcolm Beattie1997-10-161-9/+68
|\ | | | | p4raw-id: //depot/perl@137
| * [inseparable changes from patch to perl 5.004_04]perl-5.004_04Perl 5 Porters1997-09-051-9/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [editor's note: this one imported like a charm!] TESTS - Subject: Improve pragma/locale test 102 - and don't fail, just warn From: Jarkko Hietaniemi <jhi@anna.in-berlin.de> Files: t/pragma/locale.t Subject: Invalid test output in t/op/taint.t in trial 1 From: Dan Sugalski <sugalsd@lbcc.cc.or.us> Files: t/op/taint.t t/op/taint.t prints out invalid ok messages for tests it skips. Rather than printing "ok 136" it prints "136 ok". p5p-msgid: 3.0.3.32.19970919160918.00857a50@stargate.lbcc.cc.or.us UTILITIES - Subject: Perldoc tiny patch to avoid $0 From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: utils/perldoc.PL Msg-ID: 199709122141.RAA16846@monk.mps.ohio-state.edu (applied based on p5p patch as commit 0b166b6635cf199f072db516b2a523ee659394d5) Subject: h2ph broken in 5.004_02 From: David Mazieres <dm@reeducation-labor.lcs.mit.edu> Files: utils/h2ph.PL Msg-ID: 199708201700.KAA02621@www.chapin.edu (applied based on p5p patch as commit 4a8e146e38ec2045f1f817a7cb578e1b1f80f39f) Subject: add key_t caddr_t to h2ph From: Tony Sanders <sanders@bsdi.com> Files: eg/sysvipc/ipcsem utils/h2ph.PL Msg-ID: 199708272301.RAA12803@austin.bsdi.com (applied based on p5p patch as commit 0806a92ffc3a74ca70aa81051cdf2a306cd0a8af) Subject: perldoc search ., lib and blib/* if -f 'Makefile.PL' From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc finds wrong pod2man (from perldoc source) # We must look both in @INC for library modules and in PATH # for executables, like h2xs or perldoc itself. Unfortunately, searching PATH for installed perl executables like pod2man is INCORRECT. perldoc should start by searching the directory it was executed from, which might not be in the PATH at all. Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com> p5p-msgid: 199708251732.KAA19299@gadget.cscaper.com Subject: 5.004m4t1: perlbug: NIS domainname gets into wrong places From: Andreas J. Koenig <koenig@anna.mind.de> Files: utils/perlbug.PL Msg-ID: sfcg1qy38as.fsf@anna.in-berlin.de (applied based on p5p patch as commit 41f926b844140b7f7eaa9302113e45df3a9f9ff4) Subject: add better local patch info to perlbug From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perlbug.PL Subject: perldoc - suggest modules if requested module not found From: Anthony David <adavid@netinfo.com.au> Files: utils/perldoc.PL private-msgid: 3439CD83.6969@netinfo.com.au Subject: perldoc mail::foo tries to read binary /usr/ucb/mail From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc weirdness perldoc mail::imap yields: {joseph}:79% perldoc mail::foo can't open /usr/ucb/mail: Permission denied at ./pod2man line 362. Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com> p5p-msgid: 199710082014.NAA00808@gadget.cscaper.com Subject: perldoc -f setpwent (for example) returns no descriptive text From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc diffs: don't search auto - much faster From: "Joseph N. Hall" <joseph@5sigma.com> Files: utils/perldoc.PL Msg-ID: MailDrop1.2d7dPPC.971012211957@screechy.cscaper.com (applied based on p5p patch as commit 62b753c6ae4ab9bf22fbb6ec7ceac820bcef8fe4)
* | Merge maint-5.004 branch (5.004_03) with mainline.Malcolm Beattie1997-10-081-1/+2
|\ \ | |/ | | | | | | MANIFEST is out of sync. p4raw-id: //depot/perl@114
| * object never destructsGurusamy Sarathy1997-08-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Sun, 13 Jul 1997 11:20:24 EDT, Andrew Pimlott wrote: >package mytest; >sub DESTROY { warn "Death"; } >package main; >{ > my $joe; > my $moe; > $moe = bless \$joe, 'mytest'; > print "Leaving block\n"; >} >print "Left block\n"; Thanks for that excellent test case. Perl optimizes the memory management of lexicals by not actually deallocating unreferenced lexicals when the block exits, in order to reuse them when the block is reentered. This of course fails to destruct objects at the end of blocks. A patch that fixes the problem for all object datatypes is attached. p5p-msgid: 199707131955.PAA29655@aatma.engin.umich.edu
* | Support for op in global register (still buggy)Malcolm Beattie1997-07-011-0/+12
| | | | | | p4raw-id: //depot/perl@34