platform/upstream/perl.git
17 years agoUpgrade to Module::Load::Conditional 0.16, by Jos Boumans
Rafael Garcia-Suarez [Fri, 26 Jan 2007 08:27:23 +0000 (08:27 +0000)]
Upgrade to Module::Load::Conditional 0.16, by Jos Boumans

p4raw-id: //depot/perl@29989

17 years agoConvert the last remaining 256 byte "small"bufs to 128 bytes.
Nicholas Clark [Thu, 25 Jan 2007 23:18:25 +0000 (23:18 +0000)]
Convert the last remaining 256 byte "small"bufs to 128 bytes.
(The actual size doesn't matter, as the buffers are only there to
save a malloc() for the common, short, case. Coverage reports suggest
that we aren't actually testing the long case. Yet - will fix this)

p4raw-id: //depot/perl@29987

17 years agoNeither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminated
Nicholas Clark [Thu, 25 Jan 2007 22:39:08 +0000 (22:39 +0000)]
Neither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminated
string, so don't bother allocating buffer space or adding a NUL.

p4raw-id: //depot/perl@29983

17 years agoIntegrate:
Andy Lester [Thu, 11 May 2006 22:41:01 +0000 (17:41 -0500)]
Integrate:
[ 28144]
In Perl_Gv_AMupdate(), there's no need to call sv_unmagic() if we know
the magic isn't there.

[ 28145]
Simplify the non-printable name error reporting code in Perl_allocmy().

[ 28176]
Subject: [PATCH] Speed up utf8.c a bit
Date: Thu, 11 May 2006 22:41:01 -0500
Message-ID: <20060512034101.GA10709@petdance.com>

[ 28178]
The upgrade/croak order in Perl_sv_utf8_encode() seemed utterly
backwards. It now checks for readonly *first*.

[ 28179]
Subject: [PATCH] Proper use of static funcs in toke.c and pp_sys.c
From: andy@petdance.com (Andy Lester)
Date: Tue, 9 May 2006 12:27:30 -0500
Message-ID: <20060509172730.GA5272@petdance.com>

[ 28180]
Subject: [PATCH]  upgrade bytes_to_uni
From: andy@petdance.com (Andy Lester)
Date: Fri, 12 May 2006 00:21:23 -0500
Message-ID: <20060512052123.GA21648@petdance.com>

[ 28194]
Subject: [PATCH] S_reguni should return its length
From: andy@petdance.com (Andy Lester)
Date: Sun, 14 May 2006 09:46:32 -0500
Message-ID: <20060514144632.GA20935@petdance.com>

ooops, and also something in blead that wasn't meant to sneak in:
Change PERL_WARNHOOK_FATAL to &PL_sv_placeholder, rather than some
evil cast relative to NULL.
p4raw-link: @28194 on //depot/perl: 71207a3462fa4c2b33c5608a4362ac40e975ecdb
p4raw-link: @28180 on //depot/perl: 64844641e1be28fdf8b7bba9436537339624f40b
p4raw-link: @28179 on //depot/perl: 931e0695c454f4c18f68d30775151862650cc4d8
p4raw-link: @28178 on //depot/perl: a5f5288a1ce96404c41043e92557b8c1a5ad9e30
p4raw-link: @28176 on //depot/perl: 3ebfea2846d81f58e86dfcb7f9e09300e5dfcd17
p4raw-link: @28145 on //depot/perl: d1544d85966c2f41014a6f408fd81b36501caa7c
p4raw-link: @28144 on //depot/perl: 14899595d82ccba509ac7743655764129ed32177

p4raw-id: //depot/perl@29980

17 years agoThe last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmask
Nicholas Clark [Thu, 25 Jan 2007 20:57:56 +0000 (20:57 +0000)]
The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmask
of flags, not a boolean, so correct the documenation and callers.

p4raw-id: //depot/perl@29977

17 years agosplit by " \0" (const string staring with a SPACE followed by NULL)
SADAHIRO Tomoyuki [Fri, 19 Jan 2007 22:21:48 +0000 (07:21 +0900)]
split by " \0" (const string staring with a SPACE followed by NULL)
Message-Id: <20070119221905.D162.BQW10602@nifty.com>

p4raw-id: //depot/perl@29975

17 years agoUpgrade to threads 1.58:
Rafael Garcia-Suarez [Thu, 25 Jan 2007 14:48:49 +0000 (14:48 +0000)]
Upgrade to threads 1.58:
* Ignore thread return value(s) in void context
* Check for missing args for 'use threads' options
* Check that stack size argument is numeric

p4raw-id: //depot/perl@29973

17 years agoRe: [perl #41283] B::walkoptree_slow fails for 'our @foo = split( m/ /, "hello" )'
Joshua ben Jore [Wed, 17 Jan 2007 17:49:22 +0000 (09:49 -0800)]
Re: [perl #41283] B::walkoptree_slow fails for 'our @foo = split( m/ /, "hello" )'
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0701171749x3f2dfd00tc523d33bc234c530@mail.gmail.com>

p4raw-id: //depot/perl@29972

17 years agoChange 28058 hadn't been tested with -DPERL_CREATE_GVSV
Nicholas Clark [Thu, 25 Jan 2007 11:41:13 +0000 (11:41 +0000)]
Change 28058 hadn't been tested with -DPERL_CREATE_GVSV

p4raw-id: //depot/perl@29970

17 years agoDisplay the process id as part of the trace output if running with -Dv
Nicholas Clark [Wed, 24 Jan 2007 21:42:53 +0000 (21:42 +0000)]
Display the process id as part of the trace output if running with -Dv
(Might be nice to display the thread ID too under ithreads, but I can't
 see a clean way to get that)

p4raw-id: //depot/perl@29960

17 years agoFix typo in the description of change 27911
Nicholas Clark [Wed, 24 Jan 2007 19:07:49 +0000 (19:07 +0000)]
Fix typo in the description of change 27911

p4raw-id: //depot/perl@29956

17 years agoWrap the macro arguments for ck_proto in ().
Nicholas Clark [Wed, 24 Jan 2007 18:44:51 +0000 (18:44 +0000)]
Wrap the macro arguments for ck_proto in ().

p4raw-id: //depot/perl@29954

17 years agofix a few references in perlfunc.html
Jan Dubois [Tue, 23 Jan 2007 18:25:02 +0000 (10:25 -0800)]
fix a few references in perlfunc.html
Message-ID: <oggdr2pfqj8bb2o47ikmmq9gmjebhr8ht6@4ax.com>

p4raw-id: //depot/perl@29942

17 years agoImprove documentation PERLIO default value in perlrun.pod
Jan Dubois [Tue, 23 Jan 2007 18:43:55 +0000 (10:43 -0800)]
Improve documentation PERLIO default value in perlrun.pod
Message-ID: <jhhdr21vmlo5ccbfd8la2di4bq8crv3s8t@4ax.com>

p4raw-id: //depot/perl@29941

17 years agoUpgrade to Time::Local 1.16
Rafael Garcia-Suarez [Wed, 24 Jan 2007 11:02:24 +0000 (11:02 +0000)]
Upgrade to Time::Local 1.16

p4raw-id: //depot/perl@29940

17 years agoAdd lib to @INC so that ./perl t/op/local.t works.
Nicholas Clark [Tue, 23 Jan 2007 22:54:00 +0000 (22:54 +0000)]
Add lib to @INC so that ./perl t/op/local.t works.

p4raw-id: //depot/perl@29938

17 years agoChange 29936 missed a ;
Nicholas Clark [Tue, 23 Jan 2007 21:07:06 +0000 (21:07 +0000)]
Change 29936 missed a ;

p4raw-id: //depot/perl@29937

17 years agoFix to Time::Local to fix problems with leap year calculation.
Steve Peters [Tue, 23 Jan 2007 18:43:50 +0000 (18:43 +0000)]
Fix to Time::Local to fix problems with leap year calculation.

p4raw-id: //depot/perl@29936

17 years agoUpgrade to File-Temp-0.18.
Steve Peters [Tue, 23 Jan 2007 15:02:56 +0000 (15:02 +0000)]
Upgrade to File-Temp-0.18.

p4raw-id: //depot/perl@29935

17 years agoUpgrade to AutoLoader-5.63
Steve Peters [Tue, 23 Jan 2007 14:29:55 +0000 (14:29 +0000)]
Upgrade to AutoLoader-5.63

p4raw-id: //depot/perl@29934

17 years agoUpgrade to Test-Simple-0.67
Steve Peters [Tue, 23 Jan 2007 02:20:31 +0000 (02:20 +0000)]
Upgrade to Test-Simple-0.67

p4raw-id: //depot/perl@29933

17 years agoUpgrade to Math-Complex-1.37.
Steve Peters [Tue, 23 Jan 2007 02:14:57 +0000 (02:14 +0000)]
Upgrade to Math-Complex-1.37.

p4raw-id: //depot/perl@29932

17 years agoTime::Local patch take 2
Dave Rolsky [Mon, 22 Jan 2007 09:46:08 +0000 (03:46 -0600)]
Time::Local patch take 2
Message-ID: <Pine.LNX.4.64.0701220945040.28849@urth.org>

p4raw-id: //depot/perl@29931

17 years ago[perl #41318] Patch: win32.c typo in #define MULTIPLICITY
Devin Heitmueller [Mon, 22 Jan 2007 14:46:15 +0000 (06:46 -0800)]
[perl #41318] Patch: win32.c typo in #define MULTIPLICITY
From: "Devin Heitmueller" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-1834-1169505975-229.41318-75-0@perl.org>

p4raw-id: //depot/perl@29930

17 years agoDisable positive lookaround optimisations
Yves Orton [Sun, 21 Jan 2007 18:53:38 +0000 (19:53 +0100)]
Disable positive lookaround optimisations
Message-ID: <9b18b3110701210953l4df6198re36a9342e6049583@mail.gmail.com>
Date: Sun, 21 Jan 2007 18:53:38 +0100

p4raw-id: //depot/perl@29923

17 years agoFix a typo and some doubled spaces in comments.
Nicholas Clark [Mon, 22 Jan 2007 19:38:12 +0000 (19:38 +0000)]
Fix a typo and some doubled spaces in comments.

p4raw-id: //depot/perl@29922

17 years agoRemove duplicate assignment to PL_eval_root in Perl_create_eval_scope
Nicholas Clark [Mon, 22 Jan 2007 19:21:21 +0000 (19:21 +0000)]
Remove duplicate assignment to PL_eval_root in Perl_create_eval_scope

p4raw-id: //depot/perl@29921

17 years agoFix my typo, as spotted by Steve Peters
Nicholas Clark [Mon, 22 Jan 2007 17:03:48 +0000 (17:03 +0000)]
Fix my typo, as spotted by Steve Peters

p4raw-id: //depot/perl@29917

17 years agoAssignments to function pointers can't be NULL, as that's a pointer to
Nicholas Clark [Sun, 21 Jan 2007 23:18:20 +0000 (23:18 +0000)]
Assignments to function pointers can't be NULL, as that's a pointer to
data, and assigning pointers to data to pointers to functions is not
ANSI-conformant.

p4raw-id: //depot/perl@29911

17 years agoRestore the const to vtbl in Perl_mg_localize() removed in change
Nicholas Clark [Sun, 21 Jan 2007 23:11:30 +0000 (23:11 +0000)]
Restore the const to vtbl in Perl_mg_localize() removed in change
26924.

p4raw-id: //depot/perl@29910

17 years agoRemove register keyword from dSP; (at least for now)
Nicholas Clark [Sun, 21 Jan 2007 20:06:45 +0000 (20:06 +0000)]
Remove register keyword from dSP; (at least for now)

p4raw-id: //depot/perl@29907

17 years agoRefactor the common soft-reference code from pp_rv2sv and pp_rv2av
Nicholas Clark [Sun, 21 Jan 2007 11:44:16 +0000 (11:44 +0000)]
Refactor the common soft-reference code from pp_rv2sv and pp_rv2av
into a single routine Perl_softref2xv(). As soft references are
rarely used compared with true references, move this code from pp_hot.c

p4raw-id: //depot/perl@29905

17 years agodefined @$foo and defined %$bar should be subject to strict 'refs';
Nicholas Clark [Sat, 20 Jan 2007 23:40:23 +0000 (23:40 +0000)]
defined @$foo and defined %$bar should be subject to strict 'refs';

p4raw-id: //depot/perl@29900

17 years agoUpgrade to version-0.69
Steve Peters [Sat, 20 Jan 2007 03:51:26 +0000 (03:51 +0000)]
Upgrade to version-0.69

p4raw-id: //depot/perl@29895

17 years agoRe: Race condition in IPC::Open3 / Mac OS?
Bo Lindbergh [Sat, 20 Jan 2007 02:39:57 +0000 (03:39 +0100)]
Re: Race condition in IPC::Open3 / Mac OS?
Message-Id: <D256CF03-D814-4973-9DF6-60EA4F26FE10@hagernas.com>

p4raw-id: //depot/perl@29894

17 years agoAdd PAUSE2007.pub key
Steve Peters [Sat, 20 Jan 2007 03:28:48 +0000 (03:28 +0000)]
Add PAUSE2007.pub key

p4raw-id: //depot/perl@29893

17 years agoUpgrade to CPAN-1.88_69.
Steve Peters [Sat, 20 Jan 2007 03:20:11 +0000 (03:20 +0000)]
Upgrade to CPAN-1.88_69.

p4raw-id: //depot/perl@29892

17 years agoRe: [PATCH] fix unicode split /\s+/
SADAHIRO Tomoyuki [Sat, 20 Jan 2007 00:52:42 +0000 (09:52 +0900)]
Re: [PATCH] fix unicode split /\s+/
Message-Id: <20070120005232.D9CC.BQW10602@nifty.com>
Date: Sat, 20 Jan 2007 00:52:42 +0900

p4raw-id: //depot/perl@29887

17 years agoYves spotted that I'd not regenerated perlapi.pod when I added
Nicholas Clark [Fri, 19 Jan 2007 20:13:46 +0000 (20:13 +0000)]
Yves spotted that I'd not regenerated perlapi.pod when I added
get_cvn_flags().

p4raw-id: //depot/perl@29885

17 years agoMarcus Holland-Moritz notes that the first argument to
Nicholas Clark [Fri, 19 Jan 2007 19:27:59 +0000 (19:27 +0000)]
Marcus Holland-Moritz notes that the first argument to
refcounted_he_fetch() can be NULL.

p4raw-id: //depot/perl@29884

17 years agoFix breakage for -DDEBUGGING accidentally introduced with change 29882.
Nicholas Clark [Fri, 19 Jan 2007 18:07:23 +0000 (18:07 +0000)]
Fix breakage for -DDEBUGGING accidentally introduced with change 29882.

p4raw-id: //depot/perl@29883

17 years agoAdd a parameter to Perl_get_arena() to pass in the SV type, and record
Nicholas Clark [Fri, 19 Jan 2007 17:36:10 +0000 (17:36 +0000)]
Add a parameter to Perl_get_arena() to pass in the SV type, and record
this in the arena description. Change all sizes to unsigned values.
Make Perl_sv_free_arenas() loop downwards to free memory, simplifying
the logic. Remove my erroneous comment added in change 29881.

p4raw-id: //depot/perl@29882

17 years agoI think that it's clearer if aroot is only struct arena_set *
Nicholas Clark [Fri, 19 Jan 2007 11:45:24 +0000 (11:45 +0000)]
I think that it's clearer if aroot is only struct arena_set *
(rather than ** and constantly dereferneced). Move the declaration
of new_root into the block it is used in. Add a comment describing
where the arenas for arena_sets themselves aren't rooted anywhere.

p4raw-id: //depot/perl@29881

17 years agofix unicode split /\s+/
Yves Orton [Fri, 19 Jan 2007 02:14:06 +0000 (03:14 +0100)]
fix unicode split /\s+/
Message-ID: <9b18b3110701181714r4f3bc9ebq9ba462eba8338734@mail.gmail.com>

p4raw-id: //depot/perl@29880

17 years agoAs Perl_get_arena() is dealing with sizes, use size_t rather than int,
Nicholas Clark [Fri, 19 Jan 2007 00:13:02 +0000 (00:13 +0000)]
As Perl_get_arena() is dealing with sizes, use size_t rather than int,
as it's both unsigned and semantically the correct width for a size.
As all arenas get cleared later on, can use Newx() rather than Newxz().

p4raw-id: //depot/perl@29879

17 years agoMove C<static bool done_sanity_check;> inside the only function that
Nicholas Clark [Thu, 18 Jan 2007 23:52:11 +0000 (23:52 +0000)]
Move C<static bool done_sanity_check;> inside the only function that
uses it.

p4raw-id: //depot/perl@29878

17 years agoAdd in missing dVAR that prevents compilation with
Nicholas Clark [Thu, 18 Jan 2007 23:51:45 +0000 (23:51 +0000)]
Add in missing dVAR that prevents compilation with
-DPERL_GLOBAL_STRUCT_PRIVATE

p4raw-id: //depot/perl@29877

17 years agoMove the flag checking for isGV_with_GP() into the call to visit()
Nicholas Clark [Thu, 18 Jan 2007 23:36:57 +0000 (23:36 +0000)]
Move the flag checking for isGV_with_GP() into the call to visit()

p4raw-id: //depot/perl@29876

17 years agoAdd missing SVfARG()s in require_tie_mod().
Marcus Holland-Moritz [Thu, 18 Jan 2007 16:52:37 +0000 (16:52 +0000)]
Add missing SVfARG()s in require_tie_mod().

p4raw-id: //depot/perl@29875

17 years agoGiven that we now do the tests in S_visit() to avoid calling the
Nicholas Clark [Thu, 18 Jan 2007 15:48:13 +0000 (15:48 +0000)]
Given that we now do the tests in S_visit() to avoid calling the
helper function when skippable, no need to retain those tests
inside the helper functions do_clean_objs() and do_clean_named_objs().

p4raw-id: //depot/perl@29872

17 years agoperl rebuilds because of gcc's -g flag
Marcus Holland-Moritz [Thu, 18 Jan 2007 14:27:55 +0000 (15:27 +0100)]
perl rebuilds because of gcc's -g flag
Subject: [PATCH] Re: [perl #41058] make rebuilds perl everytime
Message-ID: <20070118142755.28e7f724@r2d2>

p4raw-id: //depot/perl@29871

17 years agoRe: [PATCH] win32_async_check() can still loop indefinitely
Jan Dubois [Mon, 15 Jan 2007 19:25:11 +0000 (11:25 -0800)]
Re: [PATCH] win32_async_check() can still loop indefinitely
Message-ID: <rigoq25vda3sg4i7ppdb5o2jhvuiq15kqj@4ax.com>

p4raw-id: //depot/perl@29868

17 years agoAs PVLVs can hold globs in some cases, I think that we should be
Nicholas Clark [Thu, 18 Jan 2007 11:16:09 +0000 (11:16 +0000)]
As PVLVs can hold globs in some cases, I think that we should be
treating them as a strict subclass of PVGV. Hence drop through into
the PVGV handling code.

p4raw-id: //depot/perl@29867

17 years agodisable parser stack cleanup on reduce croak (too fragile)
Dave Mitchell [Thu, 18 Jan 2007 02:14:48 +0000 (02:14 +0000)]
disable parser stack cleanup on reduce croak (too fragile)

p4raw-id: //depot/perl@29866

17 years agoFix a typo in Dynaloader_pm.PL.
Marcus Holland-Moritz [Wed, 17 Jan 2007 21:06:11 +0000 (21:06 +0000)]
Fix a typo in Dynaloader_pm.PL.

p4raw-id: //depot/perl@29857

17 years agoReplace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
Nicholas Clark [Wed, 17 Jan 2007 19:22:47 +0000 (19:22 +0000)]
Replace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
because it's not possible for dstr to be COW at this point, due to an
earlier force_normal.

p4raw-id: //depot/perl@29855

17 years agoMake PERL_OLD_COPY_ON_WRITE build again. Inline Perl_sv_release_IVX().
Nicholas Clark [Wed, 17 Jan 2007 18:24:50 +0000 (18:24 +0000)]
Make PERL_OLD_COPY_ON_WRITE build again. Inline Perl_sv_release_IVX().
(Currently it fails ext/Compress/Raw/Zlib/t/07bufsize.t)

p4raw-id: //depot/perl@29853

17 years agoIf we use SvUPGRADE() rather than sv_upgrade() then it can make the
Nicholas Clark [Wed, 17 Jan 2007 15:42:54 +0000 (15:42 +0000)]
If we use SvUPGRADE() rather than sv_upgrade() then it can make the
decision on not "up"grading PVLV to PVGV for us. However, it appears
that the other actions conducted for "not-yet-a-glob" are useful here.

p4raw-id: //depot/perl@29852

17 years agoRe: [PATCH] symbian/xsbuild.pl patching continues
Jarkko Hietaniemi [Wed, 17 Jan 2007 08:27:03 +0000 (03:27 -0500)]
Re: [PATCH] symbian/xsbuild.pl patching continues
Message-ID: <45AE2427.7080907@iki.fi>

p4raw-id: //depot/perl@29848

17 years agoReentrant functions appear to still be broken in NetBSD 3.1.
Steve Peters [Tue, 16 Jan 2007 22:15:05 +0000 (22:15 +0000)]
Reentrant functions appear to still be broken in NetBSD 3.1.

p4raw-id: //depot/perl@29845

17 years agoRe: Dual-lived AutoLoader
Steffen Müller [Tue, 16 Jan 2007 15:29:44 +0000 (16:29 +0100)]
Re: Dual-lived AutoLoader
Message-ID: <45ACE158.4080102@sneakemail.com>

p4raw-id: //depot/perl@29844

17 years agoRe: [PATCH] Change implementation of %+ to use a proper tied hash interface and add...
Yves Orton [Mon, 15 Jan 2007 23:06:44 +0000 (00:06 +0100)]
Re: [PATCH] Change implementation of %+ to use a proper tied hash interface and add support for %-
Message-ID: <9b18b3110701151406p7168b20byf873ee2e58091ca3@mail.gmail.com>

p4raw-id: //depot/perl@29843

17 years agoMake offsets support conditional
Yves Orton [Sun, 14 Jan 2007 15:24:25 +0000 (16:24 +0100)]
Make offsets support conditional
Message-ID: <9b18b3110701140624v452f7684x5e9d2890805489fd@mail.gmail.com>

p4raw-id: //depot/perl@29842

17 years agoTypo fix, by Robin Barker
Rafael Garcia-Suarez [Tue, 16 Jan 2007 10:17:43 +0000 (10:17 +0000)]
Typo fix, by Robin Barker

p4raw-id: //depot/perl@29841

17 years agomake Dump display the SVf_BREAK flag
Dave Mitchell [Mon, 15 Jan 2007 18:33:02 +0000 (18:33 +0000)]
make Dump display the SVf_BREAK flag

p4raw-id: //depot/perl@29839

17 years agoEnable the ~~ operator by default.
Rafael Garcia-Suarez [Mon, 15 Jan 2007 18:25:45 +0000 (18:25 +0000)]
Enable the ~~ operator by default.
Remove the ~~ feature.

p4raw-id: //depot/perl@29838

17 years agowhen cloning PL_regex_pad, copy SVf_BREAK flag too
Dave Mitchell [Mon, 15 Jan 2007 18:19:20 +0000 (18:19 +0000)]
when cloning  PL_regex_pad, copy SVf_BREAK flag too

p4raw-id: //depot/perl@29837

17 years agopp_rv2av and pp_rv2hv have a lot of common code, so it's certainly a
Nicholas Clark [Mon, 15 Jan 2007 18:15:54 +0000 (18:15 +0000)]
pp_rv2av and pp_rv2hv have a lot of common code, so it's certainly a
space saving to merge them. Hopefully this will reduce L2 cache misses.

p4raw-id: //depot/perl@29836

17 years agoMake changes analagous to pp_rv2hv's 21394 and 24489 in pp_rv2av.
Nicholas Clark [Mon, 15 Jan 2007 17:18:03 +0000 (17:18 +0000)]
Make changes analagous to pp_rv2hv's 21394 and 24489 in pp_rv2av.

p4raw-id: //depot/perl@29835

17 years agoRe: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH...
Yves Orton [Sat, 13 Jan 2007 17:18:01 +0000 (18:18 +0100)]
Re: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Message-ID: <9b18b3110701130818h6badbd3o1b38f2660d258173@mail.gmail.com>

macroize regexp modifiers

p4raw-id: //depot/perl@29834

17 years agoAdd support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Yves Orton [Fri, 12 Jan 2007 02:31:12 +0000 (03:31 +0100)]
Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com>
(with tweaks)

p4raw-id: //depot/perl@29831

17 years agoAdd get_cvn_flags(), which is like get_cv() but takes a length. This
Nicholas Clark [Mon, 15 Jan 2007 14:38:58 +0000 (14:38 +0000)]
Add get_cvn_flags(), which is like get_cv() but takes a length. This
allows symbolic code references with embeded NULs to work.

p4raw-id: //depot/perl@29830

17 years agosymbian/xsbuild.pl
Jarkko Hietaniemi [Mon, 15 Jan 2007 08:49:56 +0000 (03:49 -0500)]
symbian/xsbuild.pl
Message-ID: <45AB8684.70906@iki.fi>

p4raw-id: //depot/perl@29829

17 years agoextend threads 'veto cleanup' to perl_free and system stuff
Dave Mitchell [Mon, 15 Jan 2007 14:16:53 +0000 (14:16 +0000)]
extend threads 'veto cleanup' to perl_free and system stuff

p4raw-id: //depot/perl@29827

17 years agoProper symbian fix (replacing change #29813) by Jarkko
Rafael Garcia-Suarez [Mon, 15 Jan 2007 14:15:35 +0000 (14:15 +0000)]
Proper symbian fix (replacing change #29813) by Jarkko
p4raw-link: @29813 on //depot/perl: 7b82c93812e18a92e98b364b3e820e455a5a1358

p4raw-id: //depot/perl@29826

17 years agoUse the $Is_MacOS variable
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:45:40 +0000 (13:45 +0000)]
Use the $Is_MacOS variable

p4raw-id: //depot/perl@29825

17 years agoSimplify the ok/not ok logic
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:44:39 +0000 (13:44 +0000)]
Simplify the ok/not ok logic
(another refactorisation by Schwern)

p4raw-id: //depot/perl@29824

17 years agoVarious cleanup and factorization by Schwern
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:40:18 +0000 (13:40 +0000)]
Various cleanup and factorization by Schwern
for tests for warnings and features

p4raw-id: //depot/perl@29823

17 years agoIntroduce the :5.10.0 feature bundle, and make :5.10 an
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:30:51 +0000 (13:30 +0000)]
Introduce the :5.10.0 feature bundle, and make :5.10 an
alias to it (aimed at be an alias to the latest :5.10.X)

p4raw-id: //depot/perl@29822

17 years agoFix link to perlsyn (thanks to Michael G Schwern)
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:44:45 +0000 (12:44 +0000)]
Fix link to perlsyn (thanks to Michael G Schwern)

p4raw-id: //depot/perl@29821

17 years agoRemove the "dor" feature alias.
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:42:36 +0000 (12:42 +0000)]
Remove the "dor" feature alias.

p4raw-id: //depot/perl@29820

17 years agoDocument "no feature" (Michael G Schwern)
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:41:28 +0000 (12:41 +0000)]
Document "no feature" (Michael G Schwern)

p4raw-id: //depot/perl@29819

17 years agoMove the documentation of the lexical effect of feature.pm to its own
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:37:27 +0000 (12:37 +0000)]
Move the documentation of the lexical effect of feature.pm to its own
section thus removing a lot of redundant redundant documentation about
it cluttering up the feature documentation. (by Michael G Schwern)

p4raw-id: //depot/perl@29818

17 years agoRemove obsolete notes and TODOs from feature.pm
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:34:00 +0000 (12:34 +0000)]
Remove obsolete notes and TODOs from feature.pm

p4raw-id: //depot/perl@29817

17 years agoAdd a reference to the docs for state() variables in feature.pm
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:30:56 +0000 (12:30 +0000)]
Add a reference to the docs for state() variables in feature.pm
(suggested by Michael G Schwern)

p4raw-id: //depot/perl@29816

17 years agoFactorise croak() calls and error messages in feature.pm
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:29:14 +0000 (12:29 +0000)]
Factorise croak() calls and error messages in feature.pm
(suggested by Michael G Schwern)

p4raw-id: //depot/perl@29815

17 years agoTest that names with embedded NULs work for symbolic array, hash and
Nicholas Clark [Mon, 15 Jan 2007 12:13:24 +0000 (12:13 +0000)]
Test that names with embedded NULs work for symbolic array, hash and
typeglob references.

p4raw-id: //depot/perl@29814

17 years agoRevert perl.h part of change 29811, which breaks compilation with gcc
Rafael Garcia-Suarez [Mon, 15 Jan 2007 08:22:08 +0000 (08:22 +0000)]
Revert perl.h part of change 29811, which breaks compilation with gcc

p4raw-id: //depot/perl@29813

17 years agog++ fixes
Jarkko Hietaniemi [Mon, 15 Jan 2007 06:09:30 +0000 (08:09 +0200)]
g++ fixes
Message-Id: <20070115040930.8685843A67@anubis.hut.fi>

p4raw-id: //depot/perl@29812

17 years agoSymbian/S90 further fixes
Jarkko Hietaniemi [Mon, 15 Jan 2007 06:11:52 +0000 (08:11 +0200)]
Symbian/S90 further fixes
Message-Id: <20070115041152.374AB43A67@anubis.hut.fi>

p4raw-id: //depot/perl@29811

17 years agomake S_ithread_run() call S_ithread_free() in main context
Dave Mitchell [Sun, 14 Jan 2007 23:58:49 +0000 (23:58 +0000)]
make S_ithread_run() call S_ithread_free() in main context

Fixes a race condition between detach clearing a thread's
interpreter, and S_ithread_run() freeing itself while
assuming that it's own interpreter still exists.

p4raw-id: //depot/perl@29810

17 years agofurther refinement to #29796 (cleanup veto)
Dave Mitchell [Sun, 14 Jan 2007 12:43:39 +0000 (12:43 +0000)]
further refinement to #29796 (cleanup veto)

p4raw-id: //depot/perl@29805

17 years agoRe: Memory...growing, and growing
Marvin Humphrey [Sat, 13 Jan 2007 12:05:30 +0000 (04:05 -0800)]
Re: Memory...growing, and growing
Message-Id: <3CCCF699-345E-4C65-BCCB-1549EB99547A@rectangular.com>

Document -DDL_UNLOAD_ALL_AT_EXIT

p4raw-id: //depot/perl@29803

17 years agounfreed threads should trigger cleanup veto
Dave Mitchell [Sat, 13 Jan 2007 22:57:26 +0000 (22:57 +0000)]
unfreed threads should trigger cleanup veto

The thread pool struct is allocated in the main interpreter, so
don't clean that up if any threads remain, regardless of what
state they are in

p4raw-id: //depot/perl@29796

17 years agoIn S_hfreeentries, orig_array can be const.
Nicholas Clark [Sat, 13 Jan 2007 18:21:19 +0000 (18:21 +0000)]
In S_hfreeentries, orig_array can be const.

p4raw-id: //depot/perl@29790

17 years agoTODO: yada yada yada
Rafael Garcia-Suarez [Sat, 13 Jan 2007 17:17:40 +0000 (17:17 +0000)]
TODO: yada yada yada

p4raw-id: //depot/perl@29786

17 years agoRe: AW: umask handling in File::Temp
Gisle Aas [Fri, 12 Jan 2007 16:10:16 +0000 (17:10 +0100)]
Re: AW: umask handling in File::Temp
Message-ID:  <877ivs1dt3.fsf@ask.g.aas.no>

p4raw-id: //depot/perl@29784

17 years agoperlthrtut.pod (based on perl-current@29766)
Wolfgang Laun [Fri, 12 Jan 2007 17:37:58 +0000 (18:37 +0100)]
perlthrtut.pod (based on perl-current@29766)
Message-ID: <45A7B966.1040307@thalesgroup.com>

p4raw-id: //depot/perl@29781

17 years agofix PL_parser_dup symbol (again)
Dave Mitchell [Fri, 12 Jan 2007 21:49:13 +0000 (21:49 +0000)]
fix PL_parser_dup symbol (again)

p4raw-id: //depot/perl@29780

17 years agoRationalise refcounting of thread structures
Dave Mitchell [Fri, 12 Jan 2007 19:56:40 +0000 (19:56 +0000)]
Rationalise refcounting of thread structures
Formerly there could be races with multiple destroys of a thread
structure.

p4raw-id: //depot/perl@29779