summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Curiously none of the macros SvIVX, SvUVX or SvNVX are used onNicholas Clark2006-02-251-2/+0
| | | | | typeglobs. p4raw-id: //depot/perl@27325
* Store GvGP in the SV head union. For all the common lookups [eg GvCV()]Nicholas Clark2006-02-251-1/+0
| | | | | | | | this avoids 1 pointer dereference and the associated risk of a CPU cache miss. Although this patch looks deceptively small, I fear its CBV(*) might be rather high. (* Crack By Volume) p4raw-id: //depot/perl@27323
* Remove set magic from typeglobs. Remove typeglob magic entirely.Nicholas Clark2006-02-231-5/+1
| | | | | | Typeglobs now never access the SvPVX, SvIVX or SvNVX when holding a valid GvGP(). p4raw-id: //depot/perl@27289
* Remove get magic from typeglobs. This means that PVGVs holdingNicholas Clark2006-02-231-1/+1
| | | | | | | | | | | typeglobs never need to use SvPVX. This comes at price - typeglobs were using magic get for their stringificiation, and to pass SvOK(), so need to make typeglobs SvOK by default (by sucking SVp_SCREAM into SVf_OK - it's the only flag left), tweak SvSCREAM() to also check SVp_POK, and teach sv_2[inpu]v how to convert globs. However, it should free up SvPVX for the next part of the plan to pointer indirections, and therefore CPU cache pressure. p4raw-id: //depot/perl@27278
* sv_dump should report the PV for PVGVs, as it can get set.Nicholas Clark2006-02-221-0/+1
| | | | | (Typeglobs stringify via a call to GET magic, which uses the PV slot.) p4raw-id: //depot/perl@27269
* Teach B about CVf_ISXSUBNicholas Clark2006-02-212-1/+2
| | | p4raw-id: //depot/perl@27261
* Goodbye PERL_XSUB_OLDSTYLE.Nicholas Clark2006-02-213-3/+2
| | | p4raw-id: //depot/perl@27260
* Add tests for the previously untested Hash::Util::all_keys().Steve Peters2006-02-211-1/+19
| | | p4raw-id: //depot/perl@27257
* Re: Patches: B, CGI, ExtUtils::MM_UnixJoshua ben Jore2006-02-214-8/+30
| | | | | | | | | | From: "Joshua ben Jore" <twists@gmail.com> Message-ID: <dc5c751d0602200750j21447031m86ea670b04ac27ed@mail.gmail.com> Includes changes to increment test count in ext/B/t/concise-xs.t and uses "no warnings 'once';" in ext/B/t/b.t rather than kludging to avoid the warning. p4raw-id: //depot/perl@27254
* Make SDBM_File work with -Duse64bitall on Darwin (Mac OS X)Dominic Dunlop2006-02-201-0/+4
| | | | | Message-Id: <B699DDDE-EC4E-495D-AFF5-3D7399332A24@mac.com> p4raw-id: //depot/perl@27250
* PVCVs don't need XNVs either.Nicholas Clark2006-02-202-4/+9
| | | | | | (And actually remove xcv_depth) (And fix the copy lengths in bodies_by_type) p4raw-id: //depot/perl@27249
* PVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so movingNicholas Clark2006-02-202-4/+2
| | | | | | | | | xcv_depth into the IV union saves 4(ish) bytes per CV and format. "ish" because it was a long, but has been changed to I32 (along with the corresponding field in struct block_sub) so as not to enlarge the IV union on platforms where sizeof(long) > sizeof(IV), or struct block_sub where sizeof(long) > sizeof(I32) p4raw-id: //depot/perl@27247
* xcv_root and xcv_xsub can also be merged into a union, providing a newNicholas Clark2006-02-202-9/+15
| | | | | flag is added to denote whether the PVCV is perl or XSUB. p4raw-id: //depot/perl@27244
* xcv_start and xcv_xsubany can be merged into a union, as they are neverNicholas Clark2006-02-202-3/+15
| | | | | both needed. p4raw-id: //depot/perl@27243
* Add a new CvISXSUB() macro, for abstracting the test as to whether aNicholas Clark2006-02-201-1/+1
| | | | | PVCV is perl or XS. p4raw-id: //depot/perl@27241
* Abolish BROKEN_UNION_INIT in B::C, as it works around problems inNicholas Clark2006-02-201-39/+4
| | | | | pre-ANSI C compilers, but pays in code duplication. p4raw-id: //depot/perl@27240
* Re-order CV flags to bring the 4 CVf_BUILTIN_ATTRS into adjacent bits,Nicholas Clark2006-02-201-2/+2
| | | | | | and make other flag bits that are paired in the code adjacent. Will produce tighter code on ARM; might help on other platforms too. p4raw-id: //depot/perl@27234
* Upgrade to Digest-SHA-5.34.Steve Peters2006-02-1833-451/+265
| | | p4raw-id: //depot/perl@27218
* Upgrade to Time-HiRes-1.87Steve Peters2006-02-143-5/+14
| | | p4raw-id: //depot/perl@27182
* Hash::Util tests should check if Hash::Util has been built, notSteve Peters2006-02-141-10/+2
| | | | | List::Util (spotted by Rafael). p4raw-id: //depot/perl@27181
* [Patch] Enhance Hash::UtilYves Orton2006-02-145-0/+1142
| | | | | Message-ID: <9b18b3110602130239w311d05fcr776ae8333776ca2e@mail.gmail.com> p4raw-id: //depot/perl@27180
* [perl #38346] [PATCH] Re: B::Deparse's bug?Stephen McCamant2006-02-131-2/+2
| | | | | Message-ID: <17386.40833.64309.454938@conquest.OCF.Berkeley.EDU> p4raw-id: //depot/perl@27173
* All the bits of clone_params.flags need to be initialised, not justNicholas Clark2006-02-131-1/+1
| | | | | CLONEf_JOIN_IN. p4raw-id: //depot/perl@27169
* It would be nice to have tests in B for the functions getting changed.Steve Peters2006-02-021-1/+3
| | | p4raw-id: //depot/perl@27057
* Death to magic characters! No pun intended.Steve Peters2006-02-021-2/+2
| | | p4raw-id: //depot/perl@27056
* Use a union for storing the shared hash key reference count, ratherNicholas Clark2006-01-301-1/+1
| | | | | than messy pointer hacks. p4raw-id: //depot/perl@27000
* Solaris seems not to enjoy initialising constants from SIG_??? on 64Nicholas Clark2006-01-291-3/+3
| | | | | bit builds. p4raw-id: //depot/perl@26996
* aelemfast optimization opclass problem (c.f. [perl #38279])Stephen McCamant2006-01-252-1/+84
| | | | | Message-ID: <17365.51166.604020.571992@conquest.OCF.Berkeley.EDU> p4raw-id: //depot/perl@26943
* Simplify &IO::Handle::sayGisle Aas2006-01-241-10/+4
| | | | | Message-ID: <lrzmll7pav.fsf@caliper.activestate.com> p4raw-id: //depot/perl@26941
* Avoid warning with MS Visual C compiler.Gisle Aas2006-01-231-2/+2
| | | | | Encode.xs(443) : warning C4761: integral size mismatch in argument; conversion supplied p4raw-id: //depot/perl@26922
* Avoid most getprotobyname/number calls in IO::Socket::INETGisle Aas2006-01-231-11/+44
| | | | | Message-ID: <lr3bjlbg3r.fsf@caliper.activestate.com> p4raw-id: //depot/perl@26921
* Upgrade to Devel::PPPort 3.08Marcus Holland-Moritz2006-01-197-11/+23
| | | p4raw-id: //depot/perl@26914
* find_perl() must be after environment initializationCraig A. Berry2006-01-191-1/+1
| | | p4raw-id: //depot/perl@26913
* Fix hardcoded "/" in a filepath that causes ext/List/Util/t/p_tainted.tSteve Peters2006-01-191-1/+4
| | | | | to fail on VMS. p4raw-id: //depot/perl@26912
* Fix another concatenated filepath in a test for Digest::SHA.Steve Peters2006-01-191-1/+2
| | | p4raw-id: //depot/perl@26911
* Allow IPPROTO_ICMP and IPPROTO_UDP to be exported.Gisle Aas2006-01-181-0/+3
| | | | | These were introduced in change 26897. p4raw-id: //depot/perl@26903
* Use the IPPROTO_TCP constant instead of 6.Gisle Aas2006-01-181-3/+3
| | | p4raw-id: //depot/perl@26902
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-183-3/+3
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* Digest::SHA's t/2-nist-sha-oo.t has some path related problems onSteve Peters2006-01-181-1/+1
| | | | | VMS as well. p4raw-id: //depot/perl@26900
* Fixes for Digest::SHA. Replaced old ppport.h file with a new oneSteve Peters2006-01-182-326/+4941
| | | | | | | generated from Devel::PPPort 3.07. Also, fixed a UNIX-based path element that caused test failures on VMS (reported by John E. Malmberg <wb8tyw@qsl.net>). p4raw-id: //depot/perl@26899
* Make sure the most common IPPROTO_* constants are always available.Gisle Aas2006-01-181-1/+4
| | | | | | | | | | These are well known numbers so it should not be a problem to hardcode values when no constant is provided by the C library. Ref <http://www.iana.org/assignments/protocol-numbers>. On some old glibc systems (eg Redhat 6) IPPROTO_TCP is an enum only and this change workaround that problem as well. p4raw-id: //depot/perl@26897
* Don't warn about a directory being closed in the DESTROY forSteve Peters2006-01-161-0/+1
| | | | | IO::Dir. p4raw-id: //depot/perl@26868
* Upgrade to Devel::PPPort 3.07Marcus Holland-Moritz2006-01-1668-1097/+2426
| | | p4raw-id: //depot/perl@26866
* Upgrade to Encode 2.14Rafael Garcia-Suarez2006-01-1613-18/+82
| | | p4raw-id: //depot/perl@26863
* More $VERSION bumps.Nicholas Clark2006-01-131-1/+1
| | | p4raw-id: //depot/perl@26817
* Add a link to the Opcode doc in Safe.Rafael Garcia-Suarez2006-01-131-1/+4
| | | | | (see RT CPAN ticket #8579) p4raw-id: //depot/perl@26814
* Upgrade to Devel::PPPort 3.06_01Nicholas Clark2006-01-1232-1460/+1955
| | | p4raw-id: //depot/perl@26809
* $Socket::VERSION++; # You always miss one.Nicholas Clark2006-01-121-1/+1
| | | p4raw-id: //depot/perl@26805
* Bump $VERSION in many modules that have changed.Nicholas Clark2006-01-1211-11/+11
| | | p4raw-id: //depot/perl@26804
* Compress::ZlibPaul Marquess2006-01-122-4/+4
| | | | | | From: "Paul Marquess" <paul.marquess@ntlworld.com> Message-ID: <020d01c6177b$087b1c60$4c05140a@myopwv.com> p4raw-id: //depot/perl@26800