summaryrefslogtreecommitdiff
path: root/av.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* (Replaced by #4297.)Michael G. Schwern1999-10-031-2/+3
| | | | | | | | | | To: perl5-porters@perl.org Subject: [PATCH av.c, perldiag.pod] Added field name to "No such array field" Message-ID: <19991003131647.A2816@blackrider> plus changed the error message to say "No such pseudo-hash field" as discussed in the above mail message. p4raw-id: //depot/cfgperl@4296
* make exists() work better on pseudo-hashes (reworked a patch suggestedGurusamy Sarathy1999-10-021-1/+24
| | | | | by Michael G Schwern <schwern@pobox.com>) p4raw-id: //depot/perl@4279
* Avoid core dumps resulting from humongous array indicesSpider Boardman1999-07-231-8/+10
| | | | | | | | (an out of memory error will result instead) To: perl5-porters@perl.org Subject: [PATCH] Re: [ID 19990715.003] [BUG] all perl5 versions: segfault on $# Message-Id: <199907222358.TAA27354@Orb.Nashua.NH.US> p4raw-id: //depot/cfgperl@3724
* lexical warnings update (warning.t fails one testPaul Marquess1999-07-071-4/+4
| | | | | | | 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-13/+13
| | | | | | | | | | | | | | | | | | | | | 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-27/+28
| | | | | | | | | | | | 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
* update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | p4raw-id: //depot/perl@3124
* fix AvREALISH bogusnessGurusamy Sarathy1998-11-061-4/+1
| | | p4raw-id: //depot/perl@2210
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-6/+6
| | | | | | | | | | (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-14/+14
| | | | | | | 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
* fix handling of mayhaps-extended @_ in goto &subGurusamy Sarathy1998-10-211-0/+1
| | | p4raw-id: //depot/perl@2030
* support match indices via special variables @- and @+Ilya Zakharevich1998-09-231-1/+1
| | | | | | Message-Id: <199807220300.XAA16081@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_76] @- and @+ p4raw-id: //depot/perl@1800
* disable malloced_size() feedback with -DLEAKTESTIlya Zakharevich1998-07-211-1/+1
| | | | | | Message-Id: <199807210120.VAA15031@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_75] -DLEAKTEST broken p4raw-id: //depot/perl@1603
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-34/+34
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* add a few more PURIFY guardsGurusamy Sarathy1998-07-131-1/+1
| | | p4raw-id: //depot/perl@1460
* rename s/\bSI_/PERLSI_/ to avoid collisions with sysinfo headersGurusamy Sarathy1998-07-061-6/+6
| | | p4raw-id: //depot/perl@1339
* patchlevel up to 5.004_70, various tweaksGurusamy Sarathy1998-07-051-1/+2
| | | | | | | | * fix taint problems due to maintbranch regression * PERL_OBJECT now builds again * deal with C++ strong-typing problems in hv.c * fix mismatch in "reserved word" diagnostic p4raw-id: //depot/perl@1311
* applied patch with tweaks to proseGisle Aas1998-07-041-173/+23
| | | | | | Subject: [PATCH] Simplified AVHV support Message-ID: <m3k95z86og.fsf@furu.g.aas.no> p4raw-id: //depot/perl@1286
* PUSHSTACK renovationJoshua Pritikin1998-06-281-12/+12
| | | | | Message-Id: <H00000e500081d23@MHS> p4raw-id: //depot/perl@1254
* applied patch, regen headersIlya Zakharevich1998-06-231-2/+9
| | | | | | Message-Id: <199806220819.EAA03295@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_67] Malloc size feedback p4raw-id: //depot/perl@1201
* added patch, tweaked missed files, excised comment that doesn't reallyJoshua Pritikin1998-06-201-7/+0
| | | | | | | belong in the sources Message-Id: <H00000e500072c63@MHS> Subject: [PATCH 5.004_57] tied hash slice & do_kv cleanup p4raw-id: //depot/perl@1165
* hand apply whitespace-mutiliated patchJoshua Pritikin1998-06-181-0/+3
| | | | | | Message-Id: <H00000e50007289b@MHS> Subject: [PATCH 5.004_67] SvREADONLY for av_clear p4raw-id: //depot/perl@1149
* [win32] more whitespace tweaks from maintbranchGurusamy Sarathy1998-05-181-2/+1
| | | p4raw-id: //depot/win32/perl@1009
* [win32] sundry whitespace cleanups from maintbranchGurusamy Sarathy1998-05-171-3/+3
| | | p4raw-id: //depot/win32/perl@1008
* [win32] implement stack-of-stacks so that magic invocations don'tGurusamy Sarathy1998-04-031-0/+12
| | | | | invalidate local stack pointer p4raw-id: //depot/win32/perl@864
* [win32] merge C<local $tied{foo}> patch, also moved statics inGurusamy Sarathy1998-03-091-2/+2
| | | | | [ah]v.c to thrdvar.h p4raw-id: //depot/win32/perl@802
* [win32] change all 'sp' to 'SP' in code and in the docs. ExplicitlyGurusamy Sarathy1998-03-071-10/+10
| | | | | | mention that local stack pointer should be called SP. This makes the API safer from source incompatibilities down the line. p4raw-id: //depot/win32/perl@795
* Replaced two occurrences of THREADSV(find_thread_sv(...)) (orderMalcolm Beattie1998-02-031-1/+1
| | | | | | of execution causes core dump if threadsvp is moved). Replaced lvalue occurrence of AvARRAY(av) with SvPVX(av) (former does cast). p4raw-id: //depot/perl@459
* Gisle's av_unshift tweak, two small patches from chipNick Ing-Simmons1998-01-241-16/+9
| | | | | | 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-7/+18
| | | p4raw-id: //depot/ansiperl@424
* tiearray tweaksNick Ing-Simmons1998-01-131-0/+1
| | | p4raw-id: //depot/ansiperl@420
* tie array changes to core and testsNick Ing-Simmons1998-01-131-44/+146
| | | p4raw-id: //depot/ansiperl@418
* avhv_keys under Digital UNIX made avhv.t fail because *keysp wasMalcolm Beattie1997-11-191-6/+7
| | | | | | | changed by mg_get(*keysp) (!). Introducing a new local variable fixed it but I don't know if it's a compiler problem or some other corruption happening elsewhere. p4raw-id: //depot/perl@269
* Separate avhv_foo() key handling into avhv_keys(). Slightly tweakedJoshua Pritikin1997-11-181-70/+56
| | | | | | version of patch: Subject: tie fake hash patch for 5.004_54 p4raw-id: //depot/perl@266
* Convert miniperl sources to ANSI C. Several passes ofNick Ing-Simmons1997-10-311-89/+27
| | | | | | | | | 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-4/+7
|\ | | | | p4raw-id: //depot/perl@137
| * [inseparable changes from patch to perl 5.004_04]perl-5.004_04Perl 5 Porters1997-09-051-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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-10/+12
|\ \ | |/ | | | | | | MANIFEST is out of sync. p4raw-id: //depot/perl@114
| * : reduced malloc patchTim Bunce1997-08-071-10/+12
| | | | | | | | (this is the same change as commit 38a1ac3f7341206073b47f38b6bdb094f3f50352, but as applied)
* | Fixed sv_mutex locking for new_SV, del_SV and nice_chunks.Malcolm Beattie1997-10-031-4/+2
| | | | | | p4raw-id: //depot/perl@103
* | Integrate thrperl 5.003->5.004.Malcolm Beattie1997-05-261-1/+6
|\ \ | | | | | | p4raw-id: //depot/perl@24
| * | Initial 3-way merge from (5.001m, thr1m, 5.003) plus fixups.Malcolm Beattie1997-03-281-1/+6
| | | | | | | | | p4raw-id: //depot/thrperl@4
* | | Add avhv_store_ent. Add missing avhv_* to global.sym.Malcolm Beattie1997-05-261-0/+26
| | | | | | | | | p4raw-id: //depot/perl@20
* | | Fix up integration 5.003->5.004.Malcolm Beattie1997-05-251-0/+78
| | | | | | | | | p4raw-id: //depot/perl@19
* | | First stab at 5.003 -> 5.004 integration.Malcolm Beattie1997-05-251-20/+34
|\ \ \ | | |/ | |/| p4raw-id: //depot/perl@18
| * | Make conversion of @_ to real array work right after C<shift>Chip Salzenberg1997-03-071-2/+5
| | |
| * | [inseparable changes from match from perl-5.003_91 to perl-5.003_92]Perl 5 Porters1997-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CORE LANGUAGE CHANGES Subject: Strictly follow lexical context of C<eval ''> and nested subs From: Chip Salzenberg <chip@perl.com> Files: op.c Subject: Make ::SUPER and UNIVERSAL work together From: Chip Salzenberg <chip@perl.com> Files: gv.c pod/perlguts.pod CORE PORTABILITY Subject: OS/2 patches Date: Wed, 5 Mar 1997 22:08:43 -0500 (EST) From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: hints/os2.sh lib/ExtUtils/MakeMaker.pm t/op/taint.t Msg-ID: 199703060308.WAA22211@monk.mps.ohio-state.edu (applied based on p5p patch as commit eda4d5189d403b15f244b4696a710fb91d15053e) Subject: VMS patches Date: Wed, 05 Mar 1997 23:10:24 -0500 (EST) From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU> Files: lib/ExtUtils/MM_VMS.pm lib/ExtUtils/Manifest.pm perlsdio.h t/op/runlevel.t t/op/taint.t vms/descrip.mms vms/perly_c.vms vms/sockadapt.c vms/sockadapt.h vms/vms_yfix.pl private-msgid: 01IG5SQE4A6U00661G@hmivax.humgen.upenn.edu DOCUMENTATION Subject: Add taint checks and srand to perldelta Date: Sun, 2 Mar 1997 11:56:08 -0800 (PST) From: Tom Phoenix <rootbeer@teleport.com> Files: pod/perldelta.pod Msg-ID: Pine.GSO.3.95q.970302115355.23058D-100000@kelly.teleport.com (applied based on p5p patch as commit b28e0bc0aa3232e18d1bacb3efcbfb755ad100e0) Subject: Don't call FileHandle 'deprecated' From: Chip Salzenberg <chip@perl.com> Files: pod/perldelta.pod Subject: Improve sample module header Date: Sat, 01 Mar 1997 10:32:31 -0700 From: Tom Christiansen <tchrist@jhereg.perl.com> Files: pod/perlmod.pod Msg-ID: 199703011732.KAA14693@jhereg.perl.com (applied based on p5p patch as commit 3e1e15658152387f41e00ded4796cede4e1e10d3) Subject: Update list of CPAN sites Date: Sun, 2 Mar 1997 16:54:22 +0200 (EET) From: Jarkko Hietaniemi <jhi@iki.fi> Files: pod/perlmod.pod Msg-ID: 199703021454.QAA07446@alpha.hut.fi (applied based on p5p patch as commit 9423903e60e6c92c1893f5f4cab2476f403f8a4b) Subject: Enhance description of 'server error' Date: Tue, 4 Feb 1997 21:03:23 +0200 (EET) From: Jarkko Hietaniemi <jhi@cc.hut.fi> Files: pod/perldiag.pod private-msgid: 199702041903.VAA16070@alpha.hut.fi Subject: Regularize format of E-Mail addresses in *.pod From: Chip Salzenberg <chip@perl.com> Files: pod/*.pod LIBRARY AND EXTENSIONS Subject: Use IV instead of double for tms structure members From: Chip Salzenberg <chip@perl.com> Files: ext/POSIX/POSIX.xs OTHER CORE CHANGES Subject: Make sure $^X is tainted when ARG_ZERO_IS_SCRIPT From: Chip Salzenberg <chip@perl.com> Files: toke.c Subject: Clarify '-T too late' error From: Chip Salzenberg <chip@perl.com> Files: perl.c pod/perldiag.pod Subject: Warn when redefining or undefining a constant sub From: Chip Salzenberg <chip@perl.com> Files: pod/perldiag.pod pp.c sv.c Subject: Don't generate spurious 'not imported' warning From: Chip Salzenberg <chip@perl.com> Files: gv.c t/pragma/strict-vars pod/perldiag.pod Subject: Clarify message re: @host in string From: Chip Salzenberg <chip@perl.com> Files: pod/perldiag.pod pod/perltrap.pod toke.c Subject: Disconnect refs that are targets of pp_readline From: Chip Salzenberg <chip@perl.com> Files: pp_hot.c Subject: Fix typo in test of HvFILL() From: Chip Salzenberg <chip@perl.com> Files: op.c Subject: Allow for pad name array to be shorter than pad array From: Chip Salzenberg <chip@perl.com> Files: op.c Subject: Eliminate format-string type warnings Date: Mon, 3 Mar 1997 10:15:11 +0100 (MET) From: Hallvard B Furuseth <h.b.furuseth@usit.uio.no> Files: doio.c ext/POSIX/POSIX.xs gv.c hints/dec_osf.sh pp.c pp_ctl.c pp_hot.c run.c sv.c x2p/a2py.c private-msgid: 199703030915.KAA11634@bombur2.uio.no Subject: Update copyright dates From: Chip Salzenberg <chip@perl.com> Files: *.[hc] x2p/*.[hc] win32/EXTERN.h vms/vmsish.h vms/vms.c TESTS Subject: Smarter t/op/taint.t Date: Mon, 3 Mar 1997 10:31:54 -0800 (PST) From: Tom Phoenix <rootbeer@teleport.com> Files: t/op/taint.t private-msgid: Pine.GSO.3.95q.970303103047.24000A-100000@kelly.teleport.com Subject: Fix taint test for systems without csh From: Chip Salzenberg <chip@perl.com> Files: t/op/taint.t
| * | Fix scalar leak in av_unshiftChip Salzenberg1997-02-041-8/+3
| | |
| * | Support SvREADONLY on arraysChip Salzenberg1996-12-191-4/+12
| | |