summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove set magic from typeglobs. Remove typeglob magic entirely.Nicholas Clark2006-02-237-34/+17
| | | | | | Typeglobs now never access the SvPVX, SvIVX or SvNVX when holding a valid GvGP(). p4raw-id: //depot/perl@27289
* In XS_attributes__guess_stash, attempting to call Gv* on a PVMG isNicholas Clark2006-02-231-4/+0
| | | | | bad and wrong. p4raw-id: //depot/perl@27288
* Add test for RT #2166: foreach spuriously autovivifiesSteve Peters2006-02-231-1/+13
| | | p4raw-id: //depot/perl@27287
* Converted t/op/pos.t to use test.pl and added TODO test for Steve Peters2006-02-231-9/+19
| | | | | RT #1716 - search position reset after 'local' save/restore p4raw-id: //depot/perl@27286
* Implement ${^WIN32_SLOPPY_STAT}Jan Dubois2006-02-231-10/+16
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <019601c63726$7fcca200$6062a8c0@candy> p4raw-id: //depot/perl@27283
* Recalculate dstr in Perl_sv_setsv_flags, as dstr may have been upgraded.Nicholas Clark2006-02-231-0/+2
| | | p4raw-id: //depot/perl@27282
* Remove un-needed case in Perl_sv_setsv_flags (sv_upgrade will coverNicholas Clark2006-02-231-2/+0
| | | | | this one for us). p4raw-id: //depot/perl@27279
* Remove get magic from typeglobs. This means that PVGVs holdingNicholas Clark2006-02-239-28/+100
| | | | | | | | | | | 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
* Fix the copy sizes for PVFM and PVCV back to sanity.Nicholas Clark2006-02-231-5/+2
| | | p4raw-id: //depot/perl@27276
* Fix typos and a missing bracket.Nicholas Clark2006-02-222-3/+3
| | | p4raw-id: //depot/perl@27274
* Avoid C<study>ing any strings that might change underneath us, suchNicholas Clark2006-02-222-15/+18
| | | | | as tied scalars and scalars with overloaded stringification. p4raw-id: //depot/perl@27273
* Mark some new study tests as TODORafael Garcia-Suarez2006-02-221-3/+9
| | | p4raw-id: //depot/perl@27272
* Add a test for study() on tied scalars, by Andy Lester afterRafael Garcia-Suarez2006-02-222-0/+51
| | | | | Rick Delaney p4raw-id: //depot/perl@27271
* Turn on match string copying when /e flag is set on a substitution.Jarkko Hietaniemi2006-02-221-2/+3
| | | | | | Subject: [PATCH] dodge a valgrind error (for maint or blead) Message-ID: <43FCB896.7060106@gmail.com> p4raw-id: //depot/perl@27270
* sv_dump should report the PV for PVGVs, as it can get set.Nicholas Clark2006-02-222-1/+2
| | | | | (Typeglobs stringify via a call to GET magic, which uses the PV slot.) p4raw-id: //depot/perl@27269
* Test warnings for converting globs to other forms.Nicholas Clark2006-02-221-1/+29
| | | p4raw-id: //depot/perl@27268
* Change 24643 made the mistake of assuming that CvCONST can only be trueNicholas Clark2006-02-222-2/+12
| | | | | | on XSUBs. Somehow it can also end up on perl subs. Bug spotted by and test case from Marcus Holland-Moritz. p4raw-id: //depot/perl@27267
* Can merge the two arms of Perl_magic_getglob to save space.Nicholas Clark2006-02-211-7/+8
| | | p4raw-id: //depot/perl@27265
* Reorder the SV flags so that SVp_?OK and SVf_?OK occupy 8 contiguousNicholas Clark2006-02-211-24/+25
| | | | | | | bits (0x0000XX00). This makes perl 3K smaller with -Os on x86 FreeBSD, and might also help on other architectures (eg with 8 contiguous bits, the SvOK() test on ARM won't need an intermediate constant). p4raw-id: //depot/perl@27264
* Additional hints needed to build threaded Perls on NetBSD.Steve Peters2006-02-211-1/+19
| | | p4raw-id: //depot/perl@27263
* PL_body_arenas should be set to NULL when the interpreter is cleared.Nicholas Clark2006-02-211-0/+1
| | | p4raw-id: //depot/perl@27262
* Teach B about CVf_ISXSUBNicholas Clark2006-02-212-1/+2
| | | p4raw-id: //depot/perl@27261
* Goodbye PERL_XSUB_OLDSTYLE.Nicholas Clark2006-02-216-51/+5
| | | p4raw-id: //depot/perl@27260
* Re-order the definitions of the private bits in SvFLAGS by value, soNicholas Clark2006-02-211-20/+30
| | | | | that we can see where we're already double-booked. p4raw-id: //depot/perl@27259
* Document the many uses of SVf_FAKE.Nicholas Clark2006-02-211-1/+12
| | | p4raw-id: //depot/perl@27258
* Add tests for the previously untested Hash::Util::all_keys().Steve Peters2006-02-211-1/+19
| | | p4raw-id: //depot/perl@27257
* $ExtUtils::MM_Unix::VERSION needs to stay numeric to avoid testSteve Peters2006-02-211-1/+2
| | | | | warnings. p4raw-id: //depot/perl@27256
* Patches: B, CGI, ExtUtils::MM_UnixJoshua ben Jore2006-02-212-1/+6
| | | | | | From: "Joshua ben Jore" <twists@gmail.com> Message-ID: <dc5c751d0602190058t78d915fv78c6318370307b63@mail.gmail.com> p4raw-id: //depot/perl@27255
* 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
* op/magic failure on cygwin after 1.5.19-4Yitzchak Scott-Thoennes2006-02-201-1/+1
| | | | | Message-ID: <20060220190933.GA1316@efn.org> p4raw-id: //depot/perl@27252
* Steal code from maint, and use PERL_ARENA_ROOTS_SIZE to size the arenaNicholas Clark2006-02-203-2/+4
| | | | | | arrays, rather than SVt_LAST, so that SVt_LAST can truthfully remain the number of genuine SV types, unclouded by implementation details. p4raw-id: //depot/perl@27251
* Make SDBM_File work with -Duse64bitall on Darwin (Mac OS X)Dominic Dunlop2006-02-202-2/+6
| | | | | Message-Id: <B699DDDE-EC4E-495D-AFF5-3D7399332A24@mac.com> p4raw-id: //depot/perl@27250
* PVCVs don't need XNVs either.Nicholas Clark2006-02-205-11/+48
| | | | | | (And actually remove xcv_depth) (And fix the copy lengths in bodies_by_type) p4raw-id: //depot/perl@27249
* Trouble with $ENV{CDPATH} after change #27236Dominic Dunlop2006-02-201-10/+5
| | | | | Message-Id: <6393FA5A-6B84-46E9-A557-DED3BB0AD7EE@mac.com> p4raw-id: //depot/perl@27248
* PVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so movingNicholas Clark2006-02-208-22/+38
| | | | | | | | | 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
* Fix sv_dump to dump formats without the (non-existent) NVX.Nicholas Clark2006-02-201-1/+2
| | | p4raw-id: //depot/perl@27245
* xcv_root and xcv_xsub can also be merged into a union, providing a newNicholas Clark2006-02-207-29/+57
| | | | | 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-205-12/+28
| | | | | both needed. p4raw-id: //depot/perl@27243
* Need to clear CvXSUBANY() too to turn a constant sub into a prototype.Nicholas Clark2006-02-201-1/+3
| | | p4raw-id: //depot/perl@27242
* Add a new CvISXSUB() macro, for abstracting the test as to whether aNicholas Clark2006-02-2010-15/+15
| | | | | 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-202-41/+5
| | | | | pre-ANSI C compilers, but pays in code duplication. p4raw-id: //depot/perl@27240
* patch@27236 vms glob/readdir/chdir EFS/long filename supportJohn E. Malmberg2006-02-203-119/+209
| | | | | Message-ID: <43F92CE6.5040704@qsl.net> p4raw-id: //depot/perl@27239
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-2018-89/+86
| | | p4raw-id: //depot/perl@27238
* Yitzchak points out that the perldiag entry for "Integer overflow inRafael Garcia-Suarez2006-02-201-10/+0
| | | | | division" is no longer useful. p4raw-id: //depot/perl@27237
* utftaint.t won't be able to run tests with -T if you haveNicholas Clark2006-02-201-7/+15
| | | | | | Insecure directory in $ENV{PATH} so skip them. (Probably this means you have . in your PATH) p4raw-id: //depot/perl@27236
* Remove the last (U16) cast for CV depths, missed by change 17835.Nicholas Clark2006-02-201-1/+1
| | | p4raw-id: //depot/perl@27235
* Re-order CV flags to bring the 4 CVf_BUILTIN_ATTRS into adjacent bits,Nicholas Clark2006-02-202-14/+15
| | | | | | 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
* Ministry of Truth removes typo in description of Change 26166.Nicholas Clark2006-02-191-1/+1
| | | | | | | Change 26166 was correct from the start. Nothing to see. Move along. We thank Big Brother for raising the chocolate ration to 20g per week. p4raw-id: //depot/perl@27233
* Shave sizeof(NV) bytes from formats, by using the same offsetNicholas Clark2006-02-192-3/+34
| | | | | manoeuvre as PVs, PVIVs, PVAVs and PVHVs. p4raw-id: //depot/perl@27231
* AVs and HVs don't have IVXs or NVXs, so assert this too.Nicholas Clark2006-02-191-1/+7
| | | p4raw-id: //depot/perl@27230