summaryrefslogtreecommitdiff
path: root/hv.c
Commit message (Collapse)AuthorAgeFilesLines
* Message-Id: <200201031449.OAA26137@tempest.npl.co.uk> Robin Barker2002-01-031-1/+5
| | | | | -Wformat check. p4raw-id: //depot/perl@14039
* [ PATCH ] Smoke 13820 /pro/3gl/CPAN/perl-currentH.Merijn Brand2001-12-211-13/+12
| | | | | Message-Id: <20011221104035.4B4F.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@13829
* Fix READONLY hashes:Nick Ing-Simmons2001-12-191-6/+6
| | | | | | | 1. Discovered need for disabled scope.c part of Jeff's patch. 2. Corrected hv_delete* - entry was being de-linked from chain (patch program not smart enough?) p4raw-id: //depot/perlio@13795
* Tidied version of Jeffrey Friedl's <jfriedl@yahoo.com> restricted hashesNick Ing-Simmons2001-12-181-54/+165
| | | | | | - added delete of READONLY value inhibit & test for same - re-tabbed p4raw-id: //depot/perlio@13760
* Make sharepvn a macro since all it does is a deref.Jarkko Hietaniemi2001-12-031-0/+4
| | | p4raw-id: //depot/perl@13436
* a few typo fixes Jeffrey Friedl2001-11-121-2/+2
| | | | | | | | | | | Message-Id: <200111120515.fAC5FIc74795@ventrue.corp.yahoo.com> Patching README.foo instead of pod/perlfoo.pod, not patching Math::BigInt (Tels will take care of that), dropping broken hv.c and sv.h patches, patching libnetcfg.PL and perldoc.PL instead of libnetcfg and perldoc, patching ext/Digest/MD5/t/files.t since MD5.pm was changed. p4raw-id: //depot/perl@12954
* Keep It Simple and Stupid version of readonly hash support.Nick Ing-Simmons2001-11-061-0/+41
| | | | | | | | | - Test for SvREAONLY(hv) at a few spots in hv.c - add the error message to perldiag.pod - (dubious) add access::readonly() to univeral.c - add test using above - fixup ext/B/t/stash.t to account for access:: existing p4raw-id: //depot/perlio@12874
* Builds under ithreads (but fails all threads tests)Nick Ing-Simmons2001-10-161-1/+1
| | | p4raw-id: //depot/perlio@12456
* Little pointer juggling for HP-UX cc to avoidJarkko Hietaniemi2001-08-051-1/+3
| | | | | | | "warning 524: Cast (non-lvalue) appears on left-hand side of assignment." followed by "error 1549: Modifiable lvalue required for assignment operator." p4raw-id: //depot/perl@11578
* Re: [PATCH hv.c] newHVhv shouldn't reset xhv_max so oftenAbhijit Menon-Sen2001-08-041-1/+1
| | | | | Message-ID: <20010804165635.E526@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11571
* Re: [PATCH hv.c] newHVhv shouldn't reset xhv_max so oftenAbhijit Menon-Sen2001-08-041-17/+51
| | | | | Message-ID: <20010804161603.C526@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11570
* newHVhv shouldn't reset xhv_max so oftenAbhijit Menon-Sen2001-08-031-6/+6
| | | | | Message-ID: <20010803063811.A19266@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11558
* Remove unicode::distinct, as per Inaba Hiroto.Jarkko Hietaniemi2001-07-131-22/+16
| | | p4raw-id: //depot/perl@11342
* win32 fixes: fix various syntax errors ("no preprocessor directivesGurusamy Sarathy2001-07-021-3/+3
| | | | | | within macro arguments") and warnings ("unary minus applied to unsigned type", among others) p4raw-id: //depot/perl@11066
* Fixes case of CvDEPTH for perl_cloneArtur Bergman2001-06-201-4/+4
| | | | | Message-ID: <B7563A14.17D8%artur@contiller.se> p4raw-id: //depot/perl@10757
* Revert #10656 for performance reasons but leave in theJarkko Hietaniemi2001-06-191-106/+156
| | | | | | | use of Hv*() macros -- in comments, so that grepping the source is easier, from Abhijit. (Also add the ENV_HV_NAME speedup suggested by Sarathy, also by Abhijit.) p4raw-id: //depot/perl@10714
* Quench the warnings from Tru64; the HP-UX is stillJarkko Hietaniemi2001-06-171-7/+7
| | | | | | | | | broken because it really, REALLY, doesn't like the HvARRAY() being lvalue: cc: "hv.c", line 192: warning 524: Cast (non-lvalue) appears on left-hand side of assignment. cc: "hv.c", line 192: error 1549: Modifiable lvalue required for assignment operator. p4raw-id: //depot/perl@10669
* [PATCH #1/7] xhv_array (was Re: Using xhv_foo instead of HvFOO)Abhijit Menon-Sen2001-06-171-126/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Sun, 17 Jun 2001 08:02:59 +0530 Message-ID: <20010617080259.A28776@lustre.linux.in> Subject: [PATCH #2/7] xhv_eiter From: Abhijit Menon-Sen <ams@wiw.org> Date: Sun, 17 Jun 2001 08:13:18 +0530 Message-ID: <20010617081318.B28776@lustre.linux.in> Subject: [PATCH #3/7] xhv_fill From: Abhijit Menon-Sen <ams@wiw.org> Date: Sun, 17 Jun 2001 08:25:16 +0530 Message-ID: <20010617082516.C28776@lustre.linux.in> Subject: [PATCH #4/7] xhv_keys From: Abhijit Menon-Sen <ams@wiw.org> Date: Sun, 17 Jun 2001 08:36:17 +0530 Message-ID: <20010617083617.D28776@lustre.linux.in> Subject: [PATCH #5/7] xhv_max From: Abhijit Menon-Sen <ams@wiw.org> Date: Sun, 17 Jun 2001 08:39:48 +0530 Message-ID: <20010617083948.E28776@lustre.linux.in> Subject: [PATCH #6,7/7] xhv_pmroot, xhv_riter From: Abhijit Menon-Sen <ams@wiw.org> Date: Sun, 17 Jun 2001 08:51:11 +0530 Message-ID: <20010617085111.F28776@lustre.linux.in> p4raw-id: //depot/perl@10656
* Re: DYNAMIC_ENV_FETCH HvNAME abuse.Abhijit Menon-Sen2001-06-161-7/+7
| | | | | Message-ID: <20010616074119.A24720@lustre.linux.in> p4raw-id: //depot/perl@10654
* Eliminating trigraphMichael G. Schwern2001-06-011-1/+1
| | | | | Message-ID: <20010601114955.E29027@blackrider.blackstar.co.uk> p4raw-id: //depot/perl@10367
* [LARGE!] symbolic magicDave Mitchell2001-05-201-23/+25
| | | | | Message-Id: <200105191912.UAA23925@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10168
* A thinko in #10065.Jarkko Hietaniemi2001-05-101-1/+1
| | | p4raw-id: //depot/perl@10067
* [patch] make hv_fetch{_ent} SvGMAGICAL awareDoug MacEachern2001-05-101-4/+4
| | | | | Message-ID: <Pine.LNX.4.21.0105070947060.23808-100000@mako.covalent.net> p4raw-id: //depot/perl@10065
* PATCH [5.7.1] hv.c unused #defineMark-Jason Dominus2001-04-231-1/+0
| | | | | Message-ID: <20010422181749.26976.qmail@plover.com> p4raw-id: //depot/perl@9788
* Re: [ID 19990808.001] [PATCH] FETCH triggered on exists() Robert Spier2001-03-091-2/+3
| | | | | | | Message-ID: <15016.38044.381174.160189@rls.cx> EXISTS() returning undef mistakenly triggered a FETCH(). p4raw-id: //depot/perl@9090
* Re: I'm losing the war...Vadim Konovalov2001-02-241-2/+2
| | | | | | | Message-ID: <007501c09dde$a9b84420$2f7b55c2@vad> hv_store() not working correctly in ENV_IS_CASELESS case. p4raw-id: //depot/perl@8919
* Don't do casting between pointers pointing to differently sizedJarkko Hietaniemi2001-02-201-12/+37
| | | | | integers. p4raw-id: //depot/perl@8862
* Patch from Inaba Hiroto:Jarkko Hietaniemi2001-01-281-9/+86
| | | | | | | | | | | | | | | | | | | | | | | - canonical UTF-8 hash keys: if a key string for a hash is UTF8-on, try downgrade the string and use it if unicode::distinct is not in effect. For the task, I added a function bytes_from_utf8() to utf8.c. It might resemble utf8_to_bytes() but it is not convenient to the task. Made a test for it and added to t/op/each.t - Changed do_print in doio.c to apply sv_utf8_(downgrade|upgrade) to the mortal copy of the argument SV. And changed t/io/utf8.t test 18 which expects print() to upgrade its argument. - re-implement sv_eq with bytes_from_utf8() - some bug fixes - tr/// does not handle UTF8 range (\x{}-\x{}) - \ before raw UTF8 character produced "Malformed UTF-8 character" warning. - "\x{100}\N{CENT SIGN}" is Malformed. Added tests for these 3. - and one silly bug (by me) with qu operator. p4raw-id: //depot/perl@8583
* Re: [Fwd: Scoping of %^H still broken in both perl@8269 and perl-5.6.1-TRIAL1]Alan Burlison2001-01-051-1/+1
| | | | | Message-ID: <3A5606C4.473D2226@uk.sun.com> p4raw-id: //depot/perl@8336
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* Retract #8261.Jarkko Hietaniemi2000-12-301-2/+1
| | | p4raw-id: //depot/perl@8262
* (Retracted by #8261). (Unsuccessful memory access tweaks.)Jarkko Hietaniemi2000-12-301-1/+2
| | | p4raw-id: //depot/perl@8261
* Additional patch for UTF8-keys (Re: perl@8016)Inaba Hiroto2000-12-091-33/+42
| | | | | | | Message-ID: <3A31F508.34F4BB23@st.rim.or.jp> exists() didn't work for UTF-8 keys, and neither did shared hash keys. p4raw-id: //depot/perl@8056
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-10/+2
| | | p4raw-id: //depot/perl@7984
* UTF-8 hash keys, patch from Inaba Hiroto.Jarkko Hietaniemi2000-12-041-16/+76
| | | p4raw-id: //depot/perl@7980
* Retract #7977, still too volatile (the euphemism of the dayJarkko Hietaniemi2000-12-041-17/+0
| | | | | for unfinished and buggy :-) p4raw-id: //depot/perl@7978
* (Retracted by #7978, too shaky yet.)Simon Cozens2000-12-041-0/+17
| | | | | | | | Subject: Re: utf8 in hash keys, implementor missing Message-ID: <20001202194935.A25673@pembro33.pmb.ox.ac.uk> The first step at UTF-8 hash keys. p4raw-id: //depot/perl@7977
* Hash lookup of constant strings optimization:Nick Ing-Simmons2000-09-031-44/+46
| | | | | | | | | | Introduce SvREADONLY && SvFAKE to flag an SV which has SvPVX pointing to string table (as per sharepvn). Add newSV_pvn_share to create such a thing. Make hv.c compare addresses of strings and skip string compare if equal. Make method_named and helem ops use these shared-string SVs when arg is constant. Make keys op return shared-string SVs (less clearly a win). p4raw-id: //depot/perl@7016
* fix large memory leak that has been around for ever, masked byGurusamy Sarathy2000-07-041-2/+7
| | | | | -DPURIFY (most of the arenas were never freed!) p4raw-id: //depot/perl@6298
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-2/+2
| | | p4raw-id: //depot/perl@5540
* fix small interpreter leaks identified by PurifyGurusamy Sarathy2000-02-141-9/+21
| | | p4raw-id: //depot/perl@5084
* documentation patches (from Michael Schwern and YitzchakGurusamy Sarathy2000-02-081-4/+4
| | | | | Scott-Thoennes) p4raw-id: //depot/perl@5040
* 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
* autogenerate API listing from comments in the source (from BenjaminGurusamy Sarathy2000-01-281-0/+200
| | | | | | | 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
* leak in change#4694 spotted by LarryGurusamy Sarathy1999-12-171-2/+2
| | | | | p4raw-link: @4694 on //depot/perl: 94f7643d7f26ed53393f1ab3452245da43de285e p4raw-id: //depot/perl@4696
* delete() should return the value as is, not a copy thereofGurusamy Sarathy1999-12-171-4/+8
| | | p4raw-id: //depot/perl@4694
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-1/+9
| | | p4raw-id: //depot/perl@4602
* preliminary support for perl_clone() (still needs work inGurusamy Sarathy1999-11-081-21/+38
| | | | | | | | the following areas: SVOPs must indirect via pad; context stack, scope stack, and runlevels must be cloned; must hook up the virtualized pseudo-process support provided by "host"; ...) p4raw-id: //depot/perl@4538
* lexical warnings update (warning.t fails one testPaul Marquess1999-07-071-2/+5
| | | | | | | 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-10/+10
| | | | | | | | | | | | | | | | | | | | | 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