Craig A. Berry [Sun, 29 May 2005 12:43:09 +0000 (07:43 -0500)]
compiler awareness week
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <
4299FF2D.90209@mac.com>
p4raw-id: //depot/perl@24618
Nicholas Clark [Sun, 29 May 2005 17:46:39 +0000 (17:46 +0000)]
Change the IV to a union.
Revert the NV union back to a plain NV
Transpose the positions of IV and NV (NV is now first)
Don't allocate the NV for PV,PVIV,PVAV and PVHV (last 2 non-allocations
currently disabled by default)
p4raw-id: //depot/perl@24617
Nicholas Clark [Sun, 29 May 2005 14:24:17 +0000 (14:24 +0000)]
Teach buildtoc about README.openbsd, and regenerate various makefiles.
p4raw-id: //depot/perl@24615
Nicholas Clark [Sun, 29 May 2005 14:23:32 +0000 (14:23 +0000)]
Restort into bulidtoc's preferred order
p4raw-id: //depot/perl@24614
Craig A. Berry [Sat, 28 May 2005 23:18:46 +0000 (18:18 -0500)]
VMS build update for blead
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <
429942A6.10601@mac.com>
p4raw-id: //depot/perl@24613
Jarkko Hietaniemi [Sat, 28 May 2005 11:47:47 +0000 (14:47 +0300)]
Re: t/uni/class.t has a lot to warn about
Message-Id: <
42983033.5050509@gmail.com>
p4raw-id: //depot/perl@24612
Michael G. Schwern [Fri, 27 May 2005 12:33:27 +0000 (05:33 -0700)]
Re: [PATCH] Do not install change logs, READMEs, etc...
Message-ID: <
20050527193327.GC17504@windhund.schwern.org>
p4raw-id: //depot/perl@24610
Nicholas Clark [Fri, 27 May 2005 18:54:36 +0000 (18:54 +0000)]
In assert(), we mustn't stringify the message as part of the first
argument to croak, as it's a *printf format, and the thing we're
asserting might itself contain % signs.
Also, as __FILE__ is a string, we can append that to the format,
rather than needing a %s for it.
p4raw-id: //depot/perl@24609
Nicholas Clark [Fri, 27 May 2005 18:20:26 +0000 (18:20 +0000)]
is() is better than ok()
p4raw-id: //depot/perl@24608
Steve Hay [Fri, 27 May 2005 16:22:59 +0000 (16:22 +0000)]
Fix failing Cwd tests on Win32
Patch was posted to Ken previously
(see http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-05/msg00226.html)
but no reply as yet. I'll mail him again...
p4raw-id: //depot/perl@24607
Steve Hay [Fri, 27 May 2005 16:15:41 +0000 (16:15 +0000)]
Skip signals and core dump tests on Win32
See http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-05/msg00749.html
p4raw-id: //depot/perl@24606
Steve Hay [Fri, 27 May 2005 15:54:09 +0000 (15:54 +0000)]
Fix more Win32 linker errors caused by change 24561
Apparently sys_intern_init and sys_intern_clear are required even for
non-threaded builds on Win32.
p4raw-id: //depot/perl@24605
Michael G. Schwern [Thu, 26 May 2005 13:43:05 +0000 (06:43 -0700)]
Do not install change logs, READMEs, etc...
Message-ID: <
20050526204305.GH11558@windhund.schwern.org>
p4raw-id: //depot/perl@24596
Jarkko Hietaniemi [Fri, 27 May 2005 13:15:36 +0000 (16:15 +0300)]
add PERL_CALLCONV to PERL_CKDEF and PERL_PPDEF
Message-ID: <
B356D8F434D20B40A8CEDAEC305A1F24E7A1CD@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24595
Nicholas Clark [Fri, 27 May 2005 09:18:26 +0000 (09:18 +0000)]
Get the HEK once only in the hot code (class method calls)
p4raw-id: //depot/perl@24594
Michael G. Schwern [Thu, 26 May 2005 13:39:38 +0000 (06:39 -0700)]
Re: [perl #35420] localtime corruption
Message-ID: <
20050526203938.GG11558@windhund.schwern.org>
p4raw-id: //depot/perl@24593
Steve Peters [Thu, 26 May 2005 14:58:50 +0000 (09:58 -0500)]
Documentation nits and fixes for Sv*_set() macros
Message-ID: <
20050526195850.GA1308@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24592
Steve Hay [Thu, 26 May 2005 16:56:03 +0000 (16:56 +0000)]
Fix some Win32 link errors
p4raw-id: //depot/perl@24591
Nicholas Clark [Thu, 26 May 2005 16:07:20 +0000 (16:07 +0000)]
Rename the members of the SV head union to avoid pre-processor
arguments with embed.h
p4raw-id: //depot/perl@24590
Abhijit Menon-Sen [Thu, 26 May 2005 15:33:58 +0000 (15:33 +0000)]
-Wall is intolerably noisy with icc.
p4raw-id: //depot/perl@24588
SADAHIRO Tomoyuki [Thu, 26 May 2005 23:46:35 +0000 (08:46 +0900)]
bytes.pm doesn't check undefined subroutine calling
Message-Id: <
20050526234321.92F1.BQW10602@nifty.com>
p4raw-id: //depot/perl@24585
Nicholas Clark [Thu, 26 May 2005 14:24:31 +0000 (14:24 +0000)]
Store the package name as a shared HEK.
Abolish HvNAME() - as the stored pointer is not a char* you can't set
it directly now.
Storing a pointer to a HEK tracks the length too, and seems to be
faster.
p4raw-id: //depot/perl@24584
Nicholas Clark [Thu, 26 May 2005 12:27:47 +0000 (12:27 +0000)]
We know how big the global string table will be, so use that
information.
p4raw-id: //depot/perl@24583
Nicholas Clark [Thu, 26 May 2005 11:28:24 +0000 (11:28 +0000)]
It helps to set the total keys correctly when duplicating a hash.
It helps even more to have a test for this.
p4raw-id: //depot/perl@24582
H.Merijn Brand [Thu, 26 May 2005 11:26:05 +0000 (11:26 +0000)]
More possible re-order dependencies solved
p4raw-id: //depot/perl@24581
Andy Lester [Wed, 25 May 2005 12:31:39 +0000 (07:31 -0500)]
Updated lint infrastructure
Message-ID: <
20050525173139.GB1701@petdance.com>
p4raw-id: //depot/perl@24580
Jarkko Hietaniemi [Thu, 26 May 2005 08:36:19 +0000 (11:36 +0300)]
MPE/iX has no lchown()
Message-Id: <
42956053.4010200@gmail.com>
p4raw-id: //depot/perl@24579
H.Merijn Brand [Wed, 25 May 2005 19:05:07 +0000 (19:05 +0000)]
Added Porting/config_h.pl
p4raw-id: //depot/perl@24578
H.Merijn Brand [Wed, 25 May 2005 18:41:52 +0000 (18:41 +0000)]
Reordering config_h.SH after metaconfig now semi automated
This will save me *a lot* of manual work
p4raw-id: //depot/perl@24576
Nicholas Clark [Wed, 25 May 2005 16:26:12 +0000 (16:26 +0000)]
Export Perl_hek_dup, which duplicates shared hash keys.
p4raw-id: //depot/perl@24575
Nicholas Clark [Wed, 25 May 2005 15:52:33 +0000 (15:52 +0000)]
Track the mapping between source shared hash keys and target shared
hash keys to save repeated lookups during cloning.
p4raw-id: //depot/perl@24574
Nicholas Clark [Wed, 25 May 2005 14:06:55 +0000 (14:06 +0000)]
Replace all uses of HvNAME with the appropriate HvNAME_get or
HvNAME_set
p4raw-id: //depot/perl@24573
Nicholas Clark [Wed, 25 May 2005 10:02:07 +0000 (10:02 +0000)]
I think for now these have to be disabled by default.
p4raw-id: //depot/perl@24572
perlbug@veggiechinese.net [Tue, 24 May 2005 23:29:37 +0000 (23:29 +0000)]
Update description of Term::ReadLine and fix typo
Subject: [perl #35963] Typo in Term::ReadLine
From: "perlbug@veggiechinese.net (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-35963-113541.14.
5614982698687@perl.org>
p4raw-id: //depot/perl@24571
Nicholas Clark [Tue, 24 May 2005 20:23:53 +0000 (20:23 +0000)]
Initialising the hash seed needs to be early in case anything
calcualtes HASHes during dup()ing.
p4raw-id: //depot/perl@24570
Nicholas Clark [Tue, 24 May 2005 17:13:34 +0000 (17:13 +0000)]
Reorder the union to cause Win32 compilers to use void * alignment for
it.
p4raw-id: //depot/perl@24569
Jarkko Hietaniemi [Tue, 24 May 2005 12:48:38 +0000 (15:48 +0300)]
xsubpp, ParseXS: allow other suffix beyond .c
Message-Id: <
B356D8F434D20B40A8CEDAEC305A1F2453D7EB@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24568
Yitzchak Scott-Thoennes [Tue, 24 May 2005 08:52:00 +0000 (01:52 -0700)]
Clarification on the behaviour of qw// and x :
Subject: [PATCH] Re: [perl #35885] qw and x operators doesn't mix
Message-ID: <
20050524155200.GA1784@efn.org>
p4raw-id: //depot/perl@24567
Nicholas Clark [Tue, 24 May 2005 15:21:48 +0000 (15:21 +0000)]
Leaking is bad, m'kay.
p4raw-id: //depot/perl@24566
Rafael Garcia-Suarez [Tue, 24 May 2005 13:50:02 +0000 (13:50 +0000)]
Remove Perl_ck_* functions from public API
p4raw-id: //depot/perl@24565
Nicholas Clark [Tue, 24 May 2005 13:01:49 +0000 (13:01 +0000)]
Correct the description of pte_arenaroot
p4raw-id: //depot/perl@24564
Rafael Garcia-Suarez [Tue, 24 May 2005 12:58:45 +0000 (12:58 +0000)]
Documentation nit on @-, found by Guillaume Rousse
(plus POD markup simplification, for readability with pod2text)
p4raw-id: //depot/perl@24563
Rafael Garcia-Suarez [Tue, 24 May 2005 12:39:26 +0000 (12:39 +0000)]
ext/B/t/deparse.t was failing with t/TEST but not with t/harness
p4raw-id: //depot/perl@24562
Andy Lester [Sat, 21 May 2005 09:06:40 +0000 (04:06 -0500)]
embed.fnc cleanup + SvPVX_const usage
Message-ID: <
20050521140640.GB875@petdance.com>
p4raw-id: //depot/perl@24561
Rafael Garcia-Suarez [Tue, 24 May 2005 11:22:21 +0000 (11:22 +0000)]
The tokenizer should expect an operator after qw().
This fixes [perl #35885] qw and x operators doesn't mix
p4raw-id: //depot/perl@24560
Yves Orton [Mon, 23 May 2005 11:43:56 +0000 (13:43 +0200)]
Re: [perl #35857] [PATCH] B::Deparse doesnt handle warnings register properly.
Message-ID: <
9b18b31105052302431fb0a3c2@mail.gmail.com>
p4raw-id: //depot/perl@24559
Rafael Garcia-Suarez [Tue, 24 May 2005 08:09:10 +0000 (08:09 +0000)]
Make distclean should remove the leftover test files of ExtUtils::ParseXS
p4raw-id: //depot/perl@24558
Nicholas Clark [Mon, 23 May 2005 20:26:35 +0000 (20:26 +0000)]
Don't allocate an IV slot where the type doesn't use the IV slot.
p4raw-id: //depot/perl@24557
Abhijit Menon-Sen [Mon, 23 May 2005 16:58:46 +0000 (16:58 +0000)]
Assorted 2.15 fixes.
p4raw-id: //depot/perl@24556
Abhijit Menon-Sen [Mon, 23 May 2005 16:34:16 +0000 (16:34 +0000)]
Remove one const to ensure that the universe doesn't tip over.
(At least on AIX.)
p4raw-id: //depot/perl@24555
Andy Dougherty [Mon, 23 May 2005 11:48:08 +0000 (07:48 -0400)]
Re: [perl #35938] [PATCH] SDBM_File fails to build on some platforms due to use of 'extern int errno' (was: Re: patches for lang/perl5.8 dfport override)
Message-ID: <Pine.SOC.4.62.
0505231143480.4714@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@24554
Andy Lester [Mon, 23 May 2005 10:38:25 +0000 (05:38 -0500)]
universal.c warnings hushed
Message-Id: <
20050523153825.GA28498@petdance.com>
p4raw-id: //depot/perl@24553
Rafael Garcia-Suarez [Mon, 23 May 2005 14:31:33 +0000 (14:31 +0000)]
Attribute compilation fix for Windows by Andy Lester
p4raw-id: //depot/perl@24552
Graham Barr [Mon, 23 May 2005 13:49:59 +0000 (13:49 +0000)]
Update to Scalar-List-Utils-1.17
p4raw-id: //depot/perl@24551
Rafael Garcia-Suarez [Mon, 23 May 2005 11:38:34 +0000 (11:38 +0000)]
Declaration nit spotted by Jarkko
p4raw-id: //depot/perl@24550
Nicholas Clark [Mon, 23 May 2005 11:27:16 +0000 (11:27 +0000)]
PL_regex_padav elements hold either more AVs, or IVs that point to
regexps. Don't attempt to look at the IVX if it's not an IV.
p4raw-id: //depot/perl@24549
Nicholas Clark [Mon, 23 May 2005 10:13:21 +0000 (10:13 +0000)]
Oops. What is looking at an array's SvIVX()?
p4raw-id: //depot/perl@24548
Nicholas Clark [Mon, 23 May 2005 09:22:35 +0000 (09:22 +0000)]
We don't need IV and RV arena variables anymore. We don't need to set
SvIVX or SvNVX on hashes.
p4raw-id: //depot/perl@24547
Nicholas Clark [Mon, 23 May 2005 09:09:15 +0000 (09:09 +0000)]
Bytecode mustn't save the NVX for hashes now that the NVX is a union
containing pointers initialised to zero.
p4raw-id: //depot/perl@24546
Steve Hay [Mon, 23 May 2005 08:46:37 +0000 (08:46 +0000)]
Fill in HASATTRIBUTE stuff in win32/config_H.* (see change #24508)
(None are actually defined, but it's nice to have them there anyway)
p4raw-link: @24508 on //depot/perl:
0dbb1585a715e56312e579a5f0e7f82241b38352
p4raw-id: //depot/perl@24545
Nicholas Clark [Mon, 23 May 2005 08:09:58 +0000 (08:09 +0000)]
create an "allocated" structure for PVs, PVAVs and PVHVs
p4raw-id: //depot/perl@24544
Rafael Garcia-Suarez [Mon, 23 May 2005 07:33:52 +0000 (07:33 +0000)]
Fix [perl #35929] : PerlIO::scalar didn't understand $/ = ""
because PerlIOScalar_unread was broken.
Bump version number of PerlIO::scalar to 0.04.
p4raw-id: //depot/perl@24543
Nicholas Clark [Sun, 22 May 2005 22:03:19 +0000 (22:03 +0000)]
Re-order IVX slot in SV bodies
p4raw-id: //depot/perl@24542
Michael G. Schwern [Fri, 20 May 2005 22:09:00 +0000 (22:09 +0000)]
Re: [PATCH 5.8.7 RC1] lib/Carp.t todo for VMS
Message-ID: <
20050520200900.GB13473@windhund.schwern.org>
p4raw-id: //depot/perl@24541
Gisle Aas [Sat, 21 May 2005 08:55:21 +0000 (01:55 -0700)]
Enable 64bitall builds for Solaris x86
Message-ID: <lr1x801sly.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@24539
Nicholas Clark [Sat, 21 May 2005 22:46:50 +0000 (22:46 +0000)]
Add a union in place of xnv_nv, which allows AVs and HVs to re-use
the memory to store pointers and integers.
(Part 1 - will be reworked to be more efficient when IV or void*
is 64 bit soon)
p4raw-id: //depot/perl@24538
Jarkko Hietaniemi [Sat, 21 May 2005 23:20:21 +0000 (02:20 +0300)]
ExtUtils::CBuilder Tru64 support
Message-Id: <
428F9805.70108@gmail.com>
p4raw-id: //depot/perl@24537
Abhijit Menon-Sen [Sat, 21 May 2005 22:17:20 +0000 (22:17 +0000)]
Make the __attribute__ stuff work with Symbian (Jarkko).
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-05/msg00530.html
p4raw-id: //depot/perl@24536
Dave Mitchell [Sat, 21 May 2005 22:10:19 +0000 (22:10 +0000)]
[perl #35878] goto &xsub that croaks corrupts memory
When an XS sub is called, a CxSUB context shouldn't be pushed. Make
goto &xs_sub mimic this behaviour by first popping the old CxSUB
p4raw-id: //depot/perl@24535
Dave Mitchell [Sat, 21 May 2005 21:38:55 +0000 (21:38 +0000)]
stop goto &foo wasting stack space
it used to push @_ onto the end of the stack; now it pops the stack
back to the old watermark first.
p4raw-id: //depot/perl@24534
Dave Mitchell [Sat, 21 May 2005 19:50:50 +0000 (19:50 +0000)]
add access to Perl_croak() via 'mycroak' in XS::APItest
p4raw-id: //depot/perl@24533
Dave Mitchell [Sat, 21 May 2005 19:15:43 +0000 (19:15 +0000)]
disallow eval { goto &foo }
eval 'goto &foo' is already banned, and the try-version usually
coredumps due to the code assuming the CxEVAL is actually a CxSUB.
Anyway exiting an eval but preserving "it's" @_ doesn't make much
sense.
p4raw-id: //depot/perl@24532
Nicholas Clark [Sat, 21 May 2005 18:19:43 +0000 (18:19 +0000)]
Move the xpv_pv/xrv_rv member into the SV head, in a union with
IV and UV. Avoid allocating a body for IVs and RVs.
p4raw-id: //depot/perl@24531
Rafael Garcia-Suarez [Sat, 21 May 2005 16:01:42 +0000 (16:01 +0000)]
Really fix change 24527
p4raw-id: //depot/perl@24530
Nicholas Clark [Sat, 21 May 2005 15:59:30 +0000 (15:59 +0000)]
Fool. That should be I32 everywhere.
p4raw-id: //depot/perl@24529
Andy Lester [Sat, 21 May 2005 08:58:14 +0000 (03:58 -0500)]
ctags parms need to know .h is C
Message-Id: <
20050521135814.GA875@petdance.com>
p4raw-id: //depot/perl@24528
Rafael Garcia-Suarez [Sat, 21 May 2005 14:15:44 +0000 (14:15 +0000)]
Compilation fix
p4raw-id: //depot/perl@24527
Nicholas Clark [Sat, 21 May 2005 12:31:52 +0000 (12:31 +0000)]
Move hv_name, hv_eiter and hv_riter into a new aux structure.
Provide (more efficient) _get and _set macros.
Adjust the core to use them.
p4raw-id: //depot/perl@24526
Nicholas Clark [Sat, 21 May 2005 09:29:18 +0000 (09:29 +0000)]
Move placeholders into a new rhash magic type.
p4raw-id: //depot/perl@24525
Rafael Garcia-Suarez [Sat, 21 May 2005 09:18:07 +0000 (09:18 +0000)]
Update to MakeMaker 6.30
p4raw-id: //depot/perl@24524
Steve Peters [Fri, 20 May 2005 21:42:10 +0000 (16:42 -0500)]
SvPVX_const - patch #2
Message-Id: <
20050521024210.GA29036@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24523
Nicholas Clark [Fri, 20 May 2005 22:53:00 +0000 (22:53 +0000)]
Remove PMROOT and replace it with a small shell script. Er, magic.
(PMROOT being needed to implement bare C<reset> - how often do you
use that?)
p4raw-id: //depot/perl@24522
Nicholas Clark [Fri, 20 May 2005 22:30:16 +0000 (22:30 +0000)]
Update XS code to declare PERL_UNUSED_DECL conditionally
p4raw-id: //depot/perl@24521
Nicholas Clark [Fri, 20 May 2005 21:50:03 +0000 (21:50 +0000)]
Updaate ppport.h to get a conditional PERL_UNUSED_DECL
p4raw-id: //depot/perl@24520
Nicholas Clark [Fri, 20 May 2005 21:46:26 +0000 (21:46 +0000)]
Need to make PERL_UNUSED_DECL conditional as xlc on AIX doesn't like
it being redefined.
p4raw-id: //depot/perl@24519
Nicholas Clark [Fri, 20 May 2005 21:11:52 +0000 (21:11 +0000)]
Goodbye AvFLAGS
p4raw-id: //depot/perl@24518
Rafael Garcia-Suarez [Fri, 20 May 2005 17:54:15 +0000 (17:54 +0000)]
Upgrade to Math::BigInt 1.77
p4raw-id: //depot/perl@24517
Nicholas Clark [Fri, 20 May 2005 16:42:44 +0000 (16:42 +0000)]
Fix a typo
p4raw-id: //depot/perl@24516
Abhijit Menon-Sen [Fri, 20 May 2005 14:42:21 +0000 (14:42 +0000)]
Damnable applypatch nonsense.
p4raw-id: //depot/perl@24514
Rafael Garcia-Suarez [Fri, 20 May 2005 14:37:12 +0000 (14:37 +0000)]
Update MANIFEST
p4raw-id: //depot/perl@24513
Abhijit Menon-Sen [Fri, 20 May 2005 14:21:21 +0000 (14:21 +0000)]
Previously overlooked $SIG{DIE} patch from Slaven Rezic.
http://groups-beta.google.com/group/perl.perl5.porters/msg/
2d10ba2c390ecc41
p4raw-id: //depot/perl@24512
Andy Lester [Thu, 12 May 2005 11:40:52 +0000 (06:40 -0500)]
Add a Makefile target for ctags
Message-ID: <
20050512164052.GA30287@petdance.com>
p4raw-id: //depot/perl@24511
Rafael Garcia-Suarez [Fri, 20 May 2005 10:49:03 +0000 (10:49 +0000)]
Upgrade to MakeMaker 6.29
p4raw-id: //depot/perl@24510
Steve Peters [Tue, 17 May 2005 18:17:01 +0000 (13:17 -0500)]
SvPVX_const() - Patch #1
Message-ID: <
20050517231701.GA1394@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24509
Andy Lester [Thu, 19 May 2005 12:32:56 +0000 (07:32 -0500)]
Attribute configuration
Message-ID: <
20050519173256.GA29039@petdance.com>
p4raw-id: //depot/perl@24508
Rafael Garcia-Suarez [Fri, 20 May 2005 07:16:59 +0000 (07:16 +0000)]
Gisle noted an unused variable
p4raw-id: //depot/perl@24507
Rafael Garcia-Suarez [Thu, 19 May 2005 21:07:43 +0000 (21:07 +0000)]
Fix the new exit() tests, by Gisle Aas :
don't let the shell interfere with the process return value
p4raw-id: //depot/perl@24506
yves orton [Wed, 18 May 2005 08:30:44 +0000 (08:30 +0000)]
[perl #35857] [PATCH] B::Deparse doesnt handle warnings register properly.
Message-Id: <rt-3.0.11-35857-113142.6.
75213005071278@perl.org>
p4raw-id: //depot/perl@24505
Nicholas Clark [Thu, 19 May 2005 09:32:18 +0000 (09:32 +0000)]
tabs, not spaces. Bad editor. No cookie.
Does the MANIFEST file support comments, sufficient to add an editor
block?
p4raw-id: //depot/perl@24504
Rafael Garcia-Suarez [Thu, 19 May 2005 06:25:22 +0000 (06:25 +0000)]
Adjust VMS test count
p4raw-id: //depot/perl@24503