summaryrefslogtreecommitdiff
path: root/sv.c
Commit message (Collapse)AuthorAgeFilesLines
* Make eq work again with utf8 (disabling the upgradingJarkko Hietaniemi2000-10-091-1/+1
| | | | | | | | should no more be necessary since the copies of the scalars are upgraded, not the scalars themselves). Takes care of ID 20001009.001. (The claimed length() bug in 20001009.001 seems bogus to me.) p4raw-id: //depot/perl@7182
* Fix in change 7162 was too-late for case where we "upgraded" to PVIV andNick Ing-Simmons2000-10-061-3/+4
| | | | | got a false +ve and so did not reach code which would have un-FAKEd the SV. p4raw-id: //depot/perl@7163
* Make sv_upgrade() undo READONLY|FAKE shared string hackery.Nick Ing-Simmons2000-10-061-0/+3
| | | | | | To fix (sort {$a <=> $b} keys %hash) in particular but should cover a number of other as-yet-unknown cases as well. p4raw-id: //depot/perl@7162
* Epoc updateOlaf Flebbe2000-10-031-1/+1
| | | | | Message-ID: <26423.969484586@www10.gmx.net> p4raw-id: //depot/perl@7124
* Fix some recursion in overload.pmDaniel Chetlin2000-09-301-5/+10
| | | | | Message-Id: <20000918050540.C652@ilmd> p4raw-id: //depot/perl@7104
* Re-instate Perl_utf8_to_uv without checking parameter - added in change 7075.Nick Ing-Simmons2000-09-301-2/+2
| | | | | | | i.e. rename Simon's function to Perl_utf8_to_uv_chk, change all calls to it to use new name and add Perl_utf8_to_uv() as a wrapper which calls it passing 0 to checking to get the warning. p4raw-id: //depot/perl@7096
* Multiplicity & ithreads fix for sv.c/Encode.xsSpider Boardman2000-09-151-1/+1
| | | | | | Subject: [ID 20000915.004] Not OK: perl v5.7.1 +devel-7094 on alpha-dec_osf-thread-multi 4.0f (UNINSTALLED) Message-Id: <200009151037.GAA07447@Orb.Nashua.NH.US> p4raw-id: //depot/perl@7095
* Botched the #7090 check-in.Jarkko Hietaniemi2000-09-151-1/+2
| | | p4raw-id: //depot/perl@7092
* Re: perl@7078 Spider Boardman2000-09-141-2/+2
| | | | | Message-Id: <200009142306.TAA20082@leggy.zk3.dec.com> p4raw-id: //depot/perl@7090
* We don't need to count the high bit bytes, a boolean is enough.Jarkko Hietaniemi2000-09-141-12/+9
| | | p4raw-id: //depot/perl@7086
* Replace #7084 withSpider Boardman2000-09-141-1/+2
| | | | | | Subject: Re: perl@7078 Message-Id: <200009142109.RAA03425@leggy.zk3.dec.com> p4raw-id: //depot/perl@7085
* Compilation warnings and an error.Jarkko Hietaniemi2000-09-141-3/+3
| | | p4raw-id: //depot/perl@7077
* Batch of UTF-8 patches from Simon Cozens.Jarkko Hietaniemi2000-09-141-77/+23
| | | p4raw-id: //depot/perl@7075
* Hash lookup of constant strings optimization:Nick Ing-Simmons2000-09-031-55/+101
| | | | | | | | | | 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
* Forget about NV_MAX (#6951). Various floating point tweaks,Jarkko Hietaniemi2000-08-311-1/+2
| | | | | ideas from Eric Fifer, Yitzchak, Alan, and Spider. p4raw-id: //depot/perl@6953
* The #6929 was too skimpy.Jarkko Hietaniemi2000-08-311-1/+1
| | | p4raw-id: //depot/perl@6936
* Heap decorruption.Alan Burlison2000-08-301-2/+2
| | | | | | Subject: [PATCH] Fix for miniperl coredump on Solaris with -Duselongdouble Message-ID: <39AD7F28.A06533CF@uk.sun.com> p4raw-id: //depot/perl@6929
* [ID 20000608.006] panic: magic_killbackrefs with blessed global weakrefsHugo van der Sanden2000-08-291-3/+9
| | | | | Message-Id: <200006121836.TAA16977@crypt.compulink.co.uk> p4raw-id: //depot/perl@6901
* Fix for ID 20000828.001, long doubles were not formattedJarkko Hietaniemi2000-08-281-7/+13
| | | | | correctly (showed up in $], which stopped installing perl). p4raw-id: //depot/perl@6863
* newSVrv() memory leakJan Dubois2000-08-181-1/+16
| | | | | Message-ID: <l64ppsggaiuc4t6msm45iqohmhpjblb4qf@4ax.com> p4raw-id: //depot/perl@6687
* The #6648 wasn't protective enough for limited platformsJarkko Hietaniemi2000-08-171-0/+2
| | | | | (like microperl). p4raw-id: //depot/perl@6678
* Retract #6645.Jarkko Hietaniemi2000-08-171-30/+2
| | | p4raw-id: //depot/perl@6660
* The numeric locale was reset to "C" by s?printf and never restored.Christian Kirsch2000-08-161-6/+8
| | | | | | | | | | | | | Subject: [ID 20000809.003] setlocale(LC_NUMERIC...) produces different results in 5.005 and 5.6 Message-Id: <20000809170517.A25389@held> No test since adding the failing example to locale.t does not fail -- probably because the locale settings are so thoroughly tweaked by that time. Running the example standalone does fail, though. UPDATE: test case added at change #7540. p4raw-link: @7540 (not found) p4raw-id: //depot/perl@6648
* (Retracted by #6660)Dominic Dunlop2000-08-151-2/+30
| | | | | | Subject: [PATCH perl-current] make s?printf() produce two exponent digits where possible Message-Id: <p04320403b5bf4c32d381@[192.168.1.4]> p4raw-id: //depot/perl@6645
* Fixes to looking-like-number to keep behaviour as it was in 5.005_03.Mike Guy2000-08-111-13/+4
| | | | | | Subject: Re: [ID 20000810.002] $a["1foo"] same as $a[0] Message-Id: <E13Mtfa-0005Ge-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@6583
* Revert the sv.c part of #6559, a better fix is needed.Jarkko Hietaniemi2000-08-101-2/+6
| | | p4raw-id: //depot/perl@6573
* (The fix did work but was not right, retracted in #6573)Christian Kirsch2000-08-091-6/+2
| | | | | | Subject: [ID 20000809.003] setlocale(LC_NUMERIC...) produces different results in 5.005 and 5.6 Message-Id: <20000809170517.A25389@held> p4raw-id: //depot/perl@6559
* Make bless(REF, REF) a fatal error, add bless tests.Hugo van der Sanden2000-08-071-1/+4
| | | | | | Subject: [PATCH bleadperl-6530] bless, REF, and bless(REF, REF) Message-Id: <200008071559.QAA29541@crypt.compulink.co.uk> p4raw-id: //depot/perl@6539
* Do not upgrade SVs into utf8 just because they participateSimon Cozens2000-07-291-56/+72
| | | | | | | | | | | | | in eq or cmp. Reported and fix suggested in Subject: [ID 20000720.009] sv_eq UTF8 bug Message-Id: <20000721043729.30081.qmail@othersideofthe.earth.li> Exercise for the kind reader: should we or should we not cache the utf8 conversion alongside the SV? (as magic, as the strxfrm()ed version is cached under use locale) Argue both for and against. p4raw-id: //depot/perl@6465
* Fix *foo{FORMAT}.Jarkko Hietaniemi2000-07-261-0/+7
| | | | | | | | | | | | | From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Subject: Re: Looking for a starting point (Mark-Jason?, Chip?, Jarkko?) Date: Wed, 26 Jul 2000 19:51:02 +0200 Message-Id: <20000726194952.41DD.H.M.BRAND@hccnet.nl> From: Graham Barr <gbarr@pobox.com> Subject: Re: Looking for a starting point (Mark-Jason?, Chip?, Jarkko?) Date: Wed, 26 Jul 2000 17:38:36 +0100 Message-ID: <20000726173836.L472@pobox.com> p4raw-id: //depot/perl@6445
* More docs for sv functions.Jarkko Hietaniemi2000-07-151-1/+128
| | | | | | | | | | | | | | | | | | | | | | | Subject: [PATCH cfgperl] sv.c apidoc From: simon@brecon.co.uk (Simon Cozens) Date: 13 Jul 2000 09:00:20 GMT Message-ID: <slrn8mr194.2em.simon@justanother.perlhacker.org> Subject: Re: [PATCH cfgperl] sv.c apidoc From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk> Date: Thu, 13 Jul 2000 12:27:41 +0100 Message-Id: <E13Ch9Z-0006QL-00@libra.cus.cam.ac.uk> Subject: Re: [PATCH cfgperl] sv.c apidoc From: "M.J.T. Guy" <mjtg@cus.cam.ac.uk> Date: Thu, 13 Jul 2000 13:23:09 +0100 Message-Id: <E13Ci1F-0007WR-00@libra.cus.cam.ac.uk> Subject: Re: [PATCH cfgperl] sv.c apidoc From: simon@brecon.co.uk (Simon Cozens) Date: 14 Jul 2000 06:51:02 GMT Message-ID: <slrn8mte2m.1qo.simon@justanother.perlhacker.org> p4raw-id: //depot/perl@6412
* fix bugs in processing %v-*d and similar format specs (fromGurusamy Sarathy2000-07-121-11/+17
| | | | | Avi Finkel <avi@finkel.org>) p4raw-id: //depot/perl@6385
* integrate cfgperl changes#6325..6373 into mainlineGurusamy Sarathy2000-07-111-1/+3
| | | | | | | | (NOTE: today's batch of integrations still untested) p4raw-link: @6373 (not found) p4raw-link: @6325 on //depot/cfgperl: d6ac44cc5a00fa38a56717785146bc16b716472c p4raw-id: //depot/perl@6373
* integrate cfgperl changes#6252..6260 into mainlineGurusamy Sarathy2000-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | p4raw-link: @6260 on //depot/cfgperl: fc865a0069737312ca5ef9762fe8a9be7aa37747 p4raw-link: @6252 on //depot/cfgperl: 0e4dedf1581344244dfa297db1d00c01c5f821aa p4raw-id: //depot/perl@6362 p4raw-integrated: from //depot/cfgperl@6361 'copy in' t/pragma/constant.t (@5717..) t/op/pack.t t/pragma/warn/op (@5996..) pp_proto.h (@6243..) t/op/my_stash.t (@6250..) lib/IPC/Open3.pm (@6253..) 'ignore' t/pragma/warn/regcomp (@6241..) lib/Exporter.pm (@6251..) p4raw-integrated: from //depot/cfgperl@6260 'copy in' pp.c (@6217..) pod/perlfunc.pod (@6248..) p4raw-integrated: from //depot/cfgperl@6259 'copy in' MANIFEST (@6250..) p4raw-integrated: from //depot/cfgperl@6257 'copy in' op.c (@6228..) 'merge in' sv.c (@6244..) p4raw-integrated: from //depot/cfgperl@6256 'copy in' doop.c (@6254..) p4raw-integrated: from //depot/cfgperl@6254 'copy in' t/op/tr.t (@6192..) 'ignore' embedvar.h objXSUB.h (@6243..) 'merge in' embed.h (@6243..) embed.pl proto.h (@6250..)
* integrate cfgperl changes#6242..6249 into mainlineGurusamy Sarathy2000-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6249 on //depot/cfgperl: cab27d238e930b8cddb5b1fb3260355f913b86a6 p4raw-link: @6242 on //depot/cfgperl: 1e72252ad7b8e23d1a1142285b8aa82986bd2491 p4raw-id: //depot/perl@6359 p4raw-integrated: from //depot/cfgperl@6358 'copy in' ext/DynaLoader/DynaLoader_pm.PL (@5953..) t/lib/peek.t (@6086..) t/lib/filefunc.t t/lib/filespec.t (@6230..) pod/perlintern.pod (@6237..) pod/perlapi.pod utf8.c (@6242..) p4raw-integrated: from //depot/cfgperl@6249 'copy in' lib/IPC/Open3.pm (@5937..) p4raw-integrated: from //depot/cfgperl@6248 'copy in' pod/perlfunc.pod (@6206..) p4raw-integrated: from //depot/cfgperl@6247 'ignore' lib/File/Spec.pm (@6230..) p4raw-integrated: from //depot/cfgperl@6244 'copy in' gv.c (@6217..) 'merge in' sv.c (@6196..) p4raw-integrated: from //depot/cfgperl@6243 'copy in' pp_proto.h (@6237..) 'ignore' embedvar.h perlapi.h (@6237..) 'merge in' embed.h objXSUB.h (@6237..) embed.pl perlapi.c proto.h (@6242..)
* fix large memory leak that has been around for ever, masked byGurusamy Sarathy2000-07-041-40/+150
| | | | | -DPURIFY (most of the arenas were never freed!) p4raw-id: //depot/perl@6298
* fix small eval"" memory leaks under USE_ITHREADSGurusamy Sarathy2000-06-021-0/+6
| | | p4raw-id: //depot/perl@6194
* fork() failure to create pseudo process sets errno=EAGAIN and returnsGurusamy Sarathy2000-05-081-1/+1
| | | | | undef on windows (from Clinton Pierce <clintp@geeksalad.org>) p4raw-id: //depot/perl@6093
* concat doesn't preserve utf8-ness, and doesn't invalidateGurusamy Sarathy2000-05-071-3/+6
| | | | | [NI]OK; added tests for both p4raw-id: //depot/perl@6090
* reverse() and quotemeta() weren't preserving utf8-ness; add testsGurusamy Sarathy2000-05-071-5/+1
| | | p4raw-id: //depot/perl@6087
* Integrate with Sarathy.Jarkko Hietaniemi2000-05-041-8/+3
|\ | | | | p4raw-id: //depot/cfgperl@6065
| * change#5905 wasn't quite right--it's intent only applies when argumentsGurusamy Sarathy2000-05-041-7/+2
| | | | | | | | | | | | | | | | to sv_vcatpvfn() are SVs instead of C types; back out change#5907 as well p4raw-link: @5907 on //depot/cfgperl: 7cfcdf208eb7eff0b6f8313f1a5b14880681119d p4raw-link: @5905 on //depot/cfgperl: 686fa4bb8e88f0c9a36218cdbf3c49f4a7b93b2a p4raw-id: //depot/perl@6064
| * change#5921 neglected to make eq honor "use bytes"Gurusamy Sarathy2000-05-041-1/+1
| | | | | | | | | | p4raw-link: @5921 on //depot/perl: c5cc35007718d4b8a82486110aec2d59e69a4f79 p4raw-id: //depot/perl@6061
* | Integrate with Sarathy.Jarkko Hietaniemi2000-04-301-0/+1
|\ \ | |/ | | p4raw-id: //depot/cfgperl@6026
| * unbalanced LEAVE after perl_clone(...,0) (from Doug MacEachern)Gurusamy Sarathy2000-04-301-0/+1
| | | | | | p4raw-id: //depot/perl@6022
* | Do not warn that an infinity does not look like a number.Jarkko Hietaniemi2000-04-281-14/+32
|/ | | p4raw-id: //depot/cfgperl@6016
* destructive sv_setsv() can lose UV-ness from source, causingGurusamy Sarathy2000-04-281-6/+6
| | | | | numeric promotions/comparisons to fail to do the right thing p4raw-id: //depot/perl@6002
* numeric conversion of non-number in change#3378 tramples onGurusamy Sarathy2000-04-281-3/+3
| | | | | | | OOK offset, causing segfaults p4raw-link: @3378 on //depot/perl: 25da4f389200e19df8aa50bcef9af9506f48ed2e p4raw-id: //depot/perl@5983
* Integrate with Sarathy.Jarkko Hietaniemi2000-04-241-4/+13
| | | p4raw-id: //depot/cfgperl@5937
* Fix for "[ID 20000329.080] quad printing does not work as documented",Jarkko Hietaniemi2000-03-311-0/+5
| | | | | | | reported by Joseph N. Hall. The bug was that even with use64bitint one had to use the prefixes q, L, or ll with printf/sprintf, contrary to the documentation and common sense. p4raw-id: //depot/cfgperl@5905