This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoAbstract all the accesses to cop_arybase (apart from ByteLoader)
Nicholas Clark [Sun, 2 Apr 2006 10:08:04 +0000 (10:08 +0000)]
Abstract all the accesses to cop_arybase (apart from ByteLoader)

p4raw-id: //depot/perl@27671

15 years agofix typo in vms/gen_shrfls.pl itanium detector
Craig A. Berry [Sun, 2 Apr 2006 01:09:38 +0000 (01:09 +0000)]
fix typo in vms/gen_shrfls.pl itanium detector

p4raw-id: //depot/perl@27669

15 years agoIf the passed in target rv for Perl_newSVrv() was already a reference
Nicholas Clark [Sat, 1 Apr 2006 23:34:10 +0000 (23:34 +0000)]
If the passed in target rv for Perl_newSVrv() was already a reference
to something, it would leak the reference count on that thing.

p4raw-id: //depot/perl@27668

15 years agoTest no mypragma;
Nicholas Clark [Sat, 1 Apr 2006 23:09:34 +0000 (23:09 +0000)]
Test no mypragma;

p4raw-id: //depot/perl@27667

15 years agoAutomatically set HINT_LOCALIZE_HH whenever %^H is modified.
Nicholas Clark [Sat, 1 Apr 2006 21:17:46 +0000 (21:17 +0000)]
Automatically set HINT_LOCALIZE_HH whenever %^H is modified.

p4raw-id: //depot/perl@27666

15 years agoThe call to Perl_hv_assert(aTHX_ hv) should be wrapped in a DEBUG_A().
Nicholas Clark [Sat, 1 Apr 2006 19:38:31 +0000 (19:38 +0000)]
The call to Perl_hv_assert(aTHX_ hv) should be wrapped in a DEBUG_A().

p4raw-id: //depot/perl@27665

15 years agoTest that user pragmas work inside string eval.
Nicholas Clark [Sat, 1 Apr 2006 15:26:48 +0000 (15:26 +0000)]
Test that user pragmas work inside string eval.

p4raw-id: //depot/perl@27664

15 years agoAdd Rafael's example user pragma, and convert his demo to a test.
Nicholas Clark [Sat, 1 Apr 2006 15:22:54 +0000 (15:22 +0000)]
Add Rafael's example user pragma, and convert his demo to a test.

p4raw-id: //depot/perl@27663

15 years agoIf the comment says "(and not ours)" then it should be tested.
Nicholas Clark [Sat, 1 Apr 2006 15:21:56 +0000 (15:21 +0000)]
If the comment says "(and not ours)" then it should be tested.

p4raw-id: //depot/perl@27662

15 years agoRewrite t/op/getppid.t to remove the assumption that init has PID of 1.
Nicholas Clark [Sat, 1 Apr 2006 15:11:11 +0000 (15:11 +0000)]
Rewrite t/op/getppid.t to remove the assumption that init has PID of 1.

p4raw-id: //depot/perl@27660

15 years agoPropagate cop_hints inside string evals. For the unthreaded case this
Nicholas Clark [Sat, 1 Apr 2006 14:31:37 +0000 (14:31 +0000)]
Propagate cop_hints inside string evals. For the unthreaded case this
is easy. For the threaded case it's not, because the current OP may
be shared with another thread, so solve this by copying the hints
chain.

p4raw-id: //depot/perl@27659

15 years agoInconsistencies in paramter const-ness noticed by SADAHIRO Tomoyuki.
Nicholas Clark [Sat, 1 Apr 2006 12:32:23 +0000 (12:32 +0000)]
Inconsistencies in paramter const-ness noticed by SADAHIRO Tomoyuki.

p4raw-id: //depot/perl@27657

15 years agoRe: recursion now removed from the regex engine
Dominic Dunlop [Thu, 30 Mar 2006 10:31:55 +0000 (12:31 +0200)]
Re: recursion now removed from the regex engine
Message-Id: <C4D69F9F-FB90-4564-8C46-E51765EB0440@mac.com>

p4raw-id: //depot/perl@27656

15 years agoUpdated version of the grumpy comment deleted by change #27649,
Rafael Garcia-Suarez [Fri, 31 Mar 2006 20:02:40 +0000 (20:02 +0000)]
Updated version of the grumpy comment deleted by change #27649,
by Jarkko
p4raw-link: @27649 on //depot/perl: 9ddc1e7af8675795ad0346c1274fd40d4096c50f

p4raw-id: //depot/perl@27653

15 years agoGlossary part for #27447 (madlyh, madlyobj, madlysrc)
H.Merijn Brand [Fri, 31 Mar 2006 19:36:44 +0000 (19:36 +0000)]
Glossary part for #27447 (madlyh, madlyobj, madlysrc)

p4raw-id: //depot/perl@27652

15 years agoNeed to dup any hints HV stored on the save stack.
Nicholas Clark [Fri, 31 Mar 2006 19:30:09 +0000 (19:30 +0000)]
Need to dup any hints HV stored on the save stack.

p4raw-id: //depot/perl@27650

15 years agoRedo PERL_UNUSED_DECL
Andy Lester [Fri, 31 Mar 2006 00:54:58 +0000 (18:54 -0600)]
Redo PERL_UNUSED_DECL
Message-ID: <20060331065458.GA28571@petdance.com>

p4raw-id: //depot/perl@27649

15 years ago[patch@27638] Enable standard stat for VMS >=8.2
John E. Malmberg [Fri, 31 Mar 2006 00:39:23 +0000 (19:39 -0500)]
[patch@27638] Enable standard stat for VMS >=8.2
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <442CC08A.30409@qsl.net>

p4raw-id: //depot/perl@27648

15 years agoNote future possible flexibility for Perl_magic_sethint().
Nicholas Clark [Fri, 31 Mar 2006 16:22:13 +0000 (16:22 +0000)]
Note future possible flexibility for Perl_magic_sethint().

p4raw-id: //depot/perl@27647

15 years agoTest that entries in %^H are actually independant.
Nicholas Clark [Fri, 31 Mar 2006 16:19:38 +0000 (16:19 +0000)]
Test that entries in %^H are actually independant.

p4raw-id: //depot/perl@27646

15 years agoI can't spell.
Nicholas Clark [Fri, 31 Mar 2006 14:10:39 +0000 (14:10 +0000)]
I can't spell.

p4raw-id: //depot/perl@27645

15 years agoDocument new magic types in perlguts. Fix a comment about sort hints.
Rafael Garcia-Suarez [Fri, 31 Mar 2006 14:08:12 +0000 (14:08 +0000)]
Document new magic types in perlguts. Fix a comment about sort hints.

p4raw-id: //depot/perl@27644

15 years agoSerialise changes to %^H onto the current COP. Return the compile time
Nicholas Clark [Fri, 31 Mar 2006 13:45:57 +0000 (13:45 +0000)]
Serialise changes to %^H onto the current COP. Return the compile time
state of %^H as an eleventh value from caller. This allows users to
write pragmas.

p4raw-id: //depot/perl@27643

15 years agoUpgrade to Time::Local 1.12_01
Rafael Garcia-Suarez [Fri, 31 Mar 2006 13:22:00 +0000 (13:22 +0000)]
Upgrade to Time::Local 1.12_01

p4raw-id: //depot/perl@27642

15 years agoRandom accumulated patches
Andy Lester [Thu, 30 Mar 2006 23:42:28 +0000 (17:42 -0600)]
Random accumulated patches
Message-ID: <20060331054228.GA18940@petdance.com>

p4raw-id: //depot/perl@27641

15 years agoIO::Compress::Zip
Paul Marquess [Fri, 31 Mar 2006 09:48:36 +0000 (10:48 +0100)]
IO::Compress::Zip
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <005201c6549f$e7374490$2405140a@myopwv.com>

p4raw-id: //depot/perl@27640

15 years agoTest for fileno definedness instead of truth
Rafael Garcia-Suarez [Fri, 31 Mar 2006 08:00:08 +0000 (08:00 +0000)]
Test for fileno definedness instead of truth
Don't load Config.pm, which isn't used

p4raw-id: //depot/perl@27639

15 years agoLocalising hash slices with UTF-8 encoded keys was also buggy.
Nicholas Clark [Thu, 30 Mar 2006 20:55:17 +0000 (20:55 +0000)]
Localising hash slices with UTF-8 encoded keys was also buggy.
(See also change 27637)

p4raw-id: //depot/perl@27638

15 years agoFix bug #38815 (localising keys which are UTF-8 encoded didn't delete
Nicholas Clark [Thu, 30 Mar 2006 20:37:03 +0000 (20:37 +0000)]
Fix bug #38815 (localising keys which are UTF-8 encoded didn't delete
them correctly on scope exit)

p4raw-id: //depot/perl@27637

15 years agoFix bug 36267 - assigning to a tied hash shouldn't change the
Nicholas Clark [Thu, 30 Mar 2006 18:18:27 +0000 (18:18 +0000)]
Fix bug 36267 - assigning to a tied hash shouldn't change the
underlying hash. (It used to, if the underlying hash had had storage
allocated). This has the side effect of changing the return value from
hv_store and hv_store_ent for some tied hash scenarios. But *to*
something consistent (ly crazy)

p4raw-id: //depot/perl@27636

15 years agoPod nit mentioned in Debian bug #358455.
Steve Peters [Thu, 30 Mar 2006 12:49:28 +0000 (12:49 +0000)]
Pod nit mentioned in Debian bug #358455.

p4raw-id: //depot/perl@27635

15 years agoPopulate pre-canned config.sh files with
Gisle Aas [Thu, 30 Mar 2006 12:31:26 +0000 (12:31 +0000)]
Populate pre-canned config.sh files with
d_archlib and d_inc_version_list.
Ref change 27632.

p4raw-id: //depot/perl@27634

15 years agoPATCH t/op/tie.t
Robin Barker [Thu, 30 Mar 2006 13:07:47 +0000 (14:07 +0100)]
PATCH t/op/tie.t
Message-ID: <533D273D4014D411AB1D00062938C4D90849C9CA@hotel.npl.ad.local>

p4raw-id: //depot/perl@27633

15 years agoIntroduce d_sitearch and d_inc_version_list config.sh variables.
Gisle Aas [Thu, 30 Mar 2006 12:13:54 +0000 (12:13 +0000)]
Introduce d_sitearch and d_inc_version_list config.sh variables.
These allow me to set sitearch and sitelib to be the same without
ending up with duplicate entries in @INC.

Basically the same way the old d_archlib variable is used.

p4raw-id: //depot/perl@27632

15 years agoRe: New Module::Build released
Randy W. Sims [Wed, 29 Mar 2006 14:10:32 +0000 (09:10 -0500)]
Re: New Module::Build released
From: "Randy W. Sims" <ml-perl@thepierianspring.org>
Message-ID: <442ADBA8.4000203@thepierianspring.org>

p4raw-id: //depot/perl@27631

15 years agoClean up regexec.c, and remove two functions
Andy Lester [Wed, 29 Mar 2006 10:13:36 +0000 (04:13 -0600)]
Clean up regexec.c, and remove two functions
Message-ID: <20060329161336.GA12456@petdance.com>

p4raw-id: //depot/perl@27630

15 years agochild's processor time
Hugo van der Sanden [Wed, 29 Mar 2006 14:34:00 +0000 (14:34 +0000)]
child's processor time
Message-Id: <200603291234.k2TCY6r29535@zen.crypt.org>

p4raw-id: //depot/perl@27629

15 years agoCLONE for Tie::RefHash
Yuval Kogman [Mon, 27 Mar 2006 15:34:07 +0000 (17:34 +0200)]
CLONE for Tie::RefHash
Message-ID: <20060327133407.GA16901@woobling.org>

(also rename old Tie::RefHash test, so several test files
are allowed.)

p4raw-id: //depot/perl@27628

15 years agoDevel::DProf consting
Andy Lester [Sat, 25 Mar 2006 23:32:13 +0000 (17:32 -0600)]
Devel::DProf consting
Message-ID: <20060326053213.GA10401@petdance.com>

p4raw-id: //depot/perl@27627

15 years agore-[PATCH] Re: [PATCH] Poison now in two different flavours!
Jarkko Hietaniemi [Sun, 26 Mar 2006 14:53:56 +0000 (17:53 +0300)]
re-[PATCH] Re: [PATCH] Poison now in two different flavours!
Message-ID: <442680D4.3000809@gmail.com>

p4raw-id: //depot/perl@27626

15 years ago[doc-patch] clarify -Accflags in INSTALL
Jim Cromie [Sun, 26 Mar 2006 20:33:23 +0000 (15:33 -0500)]
[doc-patch] clarify -Accflags in INSTALL
Message-ID: <442740E3.8030006@gmail.com>

p4raw-id: //depot/perl@27625

15 years agoOnly compile Perl_hv_assert with DEBUGGING.
Nicholas Clark [Tue, 28 Mar 2006 15:43:59 +0000 (15:43 +0000)]
Only compile Perl_hv_assert with DEBUGGING.

p4raw-id: //depot/perl@27622

15 years agoHaving tested IPv6 support in all builtins for TCP and UDP, it all
Nicholas Clark [Tue, 28 Mar 2006 15:17:06 +0000 (15:17 +0000)]
Having tested IPv6 support in all builtins for TCP and UDP, it all
seem to work perfectly. So remove from perltodo.pod.

p4raw-id: //depot/perl@27621

15 years agoImproved description of the tmon.out format.
Gisle Aas [Tue, 28 Mar 2006 11:18:52 +0000 (11:18 +0000)]
Improved description of the tmon.out format.
The / lines where undocumented.

p4raw-id: //depot/perl@27620

15 years agoRe: [cpan #17773] Bug in Term::ReadKey being trigger by a bug in Term::ReadLine
Jonathan Stowe [Mon, 13 Mar 2006 16:09:44 +0000 (16:09 +0000)]
Re: [cpan #17773] Bug in Term::ReadKey being trigger by a bug in Term::ReadLine
Message-Id: <1142266184.5811.141.camel@orpheus.gellyfish.com>

p4raw-id: //depot/perl@27619

15 years ago[patch@27613] VMS long file path support active.
John E. Malmberg [Mon, 27 Mar 2006 08:05:33 +0000 (03:05 -0500)]
[patch@27613] VMS long file path support active.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4427E31D.2030801@qsl.net>

p4raw-id: //depot/perl@27618

15 years agoMerge the cut & paste code from Perl_call_sv/Perl_fold_constants with
Nicholas Clark [Mon, 27 Mar 2006 21:04:58 +0000 (21:04 +0000)]
Merge the cut & paste code from Perl_call_sv/Perl_fold_constants with
the near identical code in pp_entertry into Perl_create_eval_scope.
Move the cut & paste code from Perl_call_sv/Perl_fold_constants into
Perl_delete_eval_scope.

p4raw-id: //depot/perl@27617

15 years agoIt helps to actually add the files you add to MANIFEST. (Thanks Dave
Nicholas Clark [Mon, 27 Mar 2006 20:31:52 +0000 (20:31 +0000)]
It helps to actually add the files you add to MANIFEST. (Thanks Dave
for spotting my mistake).

p4raw-id: //depot/perl@27616

15 years agoIf constant folding fails, don't fold constants, rather than reporting
Nicholas Clark [Mon, 27 Mar 2006 19:25:02 +0000 (19:25 +0000)]
If constant folding fails, don't fold constants, rather than reporting
the error at compile time. This allows illegal constant expressions in
dead code to be ignored.

p4raw-id: //depot/perl@27615

15 years agoEU::MM::MM_VMS::one_liner must quote "--" argument
Craig A. Berry [Mon, 27 Mar 2006 00:04:10 +0000 (00:04 +0000)]
EU::MM::MM_VMS::one_liner must quote "--" argument

p4raw-id: //depot/perl@27613

15 years agoReplace all sv_mortalcopy(&PL_sv_no); sv_set*(...) with
Nicholas Clark [Sun, 26 Mar 2006 22:12:57 +0000 (22:12 +0000)]
Replace all sv_mortalcopy(&PL_sv_no); sv_set*(...) with
sv2mortal(newSV*(...)) to avoid needless upgrades to PVNV and needless
allocation of a copy of "".

p4raw-id: //depot/perl@27612

15 years ago[patch@27609] vms pool corruption fix for _NLA0:
John E. Malmberg [Sun, 26 Mar 2006 14:32:30 +0000 (09:32 -0500)]
[patch@27609] vms pool corruption fix for _NLA0:
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4426EC4E.8030801@qsl.net>

p4raw-id: //depot/perl@27611

15 years agoREXEC_ML is unused.
Gisle Aas [Sun, 26 Mar 2006 09:15:01 +0000 (09:15 +0000)]
REXEC_ML is unused.

p4raw-id: //depot/perl@27610

15 years agoUpdate to IO-1.23
Graham Barr [Sun, 26 Mar 2006 02:49:11 +0000 (02:49 +0000)]
Update to IO-1.23

p4raw-id: //depot/perl@27609

15 years agoAdd S_space_join_names_mortal() which joins a char** array with " "s,
Nicholas Clark [Sat, 25 Mar 2006 22:45:34 +0000 (22:45 +0000)]
Add S_space_join_names_mortal() which joins a char** array with " "s,
replacing 5 instances of the same code.

p4raw-id: //depot/perl@27608

15 years agoSilence 3 (spurious) gcc warnings about "maybe used uninitialized".
Nicholas Clark [Sat, 25 Mar 2006 22:10:27 +0000 (22:10 +0000)]
Silence 3 (spurious) gcc warnings about "maybe used uninitialized".

p4raw-id: //depot/perl@27607

15 years agomake configpm only update Config.pm, Config_heavy.pl if changed.
Dave Mitchell [Sat, 25 Mar 2006 14:57:19 +0000 (14:57 +0000)]
make configpm only update Config.pm, Config_heavy.pl if changed.
Should stop spurious rebuilding of extensions.
Also add documentation and copyright to top of file.

p4raw-id: //depot/perl@27603

15 years agoPL_multiline isn't referenced, and can be removed.
Nicholas Clark [Sat, 25 Mar 2006 14:46:09 +0000 (14:46 +0000)]
PL_multiline isn't referenced, and can be removed.

p4raw-id: //depot/perl@27602

15 years agoext/Compress/IO/Zlib/t/050interop-gzip.t
Paul Marquess [Fri, 24 Mar 2006 16:19:05 +0000 (16:19 +0000)]
ext/Compress/IO/Zlib/t/050interop-gzip.t
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <001b01c64f5e$ad8284d0$6b65140a@myopwv.com>

p4raw-id: //depot/perl@27601

15 years agoFree the regexp state when exiting "recursion".
Nicholas Clark [Sat, 25 Mar 2006 11:35:33 +0000 (11:35 +0000)]
Free the regexp state when exiting "recursion".

p4raw-id: //depot/perl@27600

15 years agoremove unused PL_regcc variable
Dave Mitchell [Fri, 24 Mar 2006 23:21:52 +0000 (23:21 +0000)]
remove unused PL_regcc variable

p4raw-id: //depot/perl@27599

15 years agomake S_regmatch() iterative rather than recursive.
Dave Mitchell [Fri, 24 Mar 2006 23:05:11 +0000 (23:05 +0000)]
make S_regmatch() iterative rather than recursive.
Goodbye stack-bustng regexes!

p4raw-id: //depot/perl@27598

15 years agorestore EU::MM test fixes from 26079, 26813, and 26919
Craig A. Berry [Fri, 24 Mar 2006 21:05:45 +0000 (21:05 +0000)]
restore EU::MM test fixes from 26079, 26813, and 26919
that were lost in 27590

p4raw-id: //depot/perl@27597

15 years agoBump version number of ExtUtils::MM_Win32
Rafael Garcia-Suarez [Fri, 24 Mar 2006 13:51:15 +0000 (13:51 +0000)]
Bump version number of ExtUtils::MM_Win32

p4raw-id: //depot/perl@27596

15 years agoFix broken MM_Win32.t tests following 27590
Steve Hay [Fri, 24 Mar 2006 13:01:32 +0000 (13:01 +0000)]
Fix broken MM_Win32.t tests following 27590

Test 31 was failing because 27590 had undone part of 25627.
Test 41 was failing because the change to pasthru() in MM_Win32.pm
means that $self->{MAKE} now needs to be initialized.

p4raw-id: //depot/perl@27595

15 years ago(2nd revised) 1st patch to sync blead 'threads' with CPAN
Jerry D. Hedden [Thu, 23 Mar 2006 09:19:54 +0000 (02:19 -0700)]
(2nd revised) 1st patch to sync blead 'threads' with CPAN
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060323091954.fb30e530d17747c2b054d625b8945d88.884826707f.wbe@email.email.secureserver.net>

p4raw-id: //depot/perl@27594

15 years agoimprove thread linking options on VMS
Craig A. Berry [Thu, 23 Mar 2006 23:19:38 +0000 (23:19 +0000)]
improve thread linking options on VMS

p4raw-id: //depot/perl@27593

15 years agoWhen MAN3PODS is forced to {} in a Makefile.PL, manpages should not be
Rafael Garcia-Suarez [Thu, 23 Mar 2006 22:13:13 +0000 (22:13 +0000)]
When MAN3PODS is forced to {} in a Makefile.PL, manpages should not be
built from pods. This change fixes bleadperl compilation -- trying to
build manpages with miniperl causes a bootstrapping problem.

p4raw-id: //depot/perl@27592

15 years agoNo reason to ship MakeMaker's META.yml
Rafael Garcia-Suarez [Thu, 23 Mar 2006 17:50:29 +0000 (17:50 +0000)]
No reason to ship MakeMaker's META.yml

p4raw-id: //depot/perl@27591

15 years agoMerge changes from CPAN's EU:MM 6.30_01.
Rafael Garcia-Suarez [Thu, 23 Mar 2006 17:43:26 +0000 (17:43 +0000)]
Merge changes from CPAN's EU:MM 6.30_01.
The modules that have local changes have superior
version numbers than the CPAN counterparts.

p4raw-id: //depot/perl@27590

15 years agoDocument the values for ${^UTF8CACHE}
Nicholas Clark [Thu, 23 Mar 2006 16:27:42 +0000 (16:27 +0000)]
Document the values for ${^UTF8CACHE}

p4raw-id: //depot/perl@27589

15 years agoRejig the location of the cache assertion code in Perl_sv_pos_b2u().
Nicholas Clark [Thu, 23 Mar 2006 16:25:51 +0000 (16:25 +0000)]
Rejig the location of the cache assertion code in Perl_sv_pos_b2u().

p4raw-id: //depot/perl@27588

15 years agoGet version numbers in line with what's in the CPAN
Rafael Garcia-Suarez [Thu, 23 Mar 2006 15:27:15 +0000 (15:27 +0000)]
Get version numbers in line with what's in the CPAN
EU::MM 6.30_01 tarball. (ExtUtils::Install has local changes,
so bump its version number.)

p4raw-id: //depot/perl@27587

15 years agoMove orphaned documentation back to its functions
Nicholas Clark [Thu, 23 Mar 2006 14:31:28 +0000 (14:31 +0000)]
Move orphaned documentation back to its functions
Document the new static functions, and how the cache works.

p4raw-id: //depot/perl@27586

15 years agoMake S_sv_pos_u2b_cached use both cache pairs.
Nicholas Clark [Thu, 23 Mar 2006 14:09:33 +0000 (14:09 +0000)]
Make S_sv_pos_u2b_cached use both cache pairs.

p4raw-id: //depot/perl@27585

15 years agoUse both cache entries for Perl_sv_pos_b2u().
Nicholas Clark [Thu, 23 Mar 2006 13:47:41 +0000 (13:47 +0000)]
Use both cache entries for Perl_sv_pos_b2u().

p4raw-id: //depot/perl@27584

15 years agoComplete the other 2 arms of the cache update code.
Nicholas Clark [Thu, 23 Mar 2006 13:16:53 +0000 (13:16 +0000)]
Complete the other 2 arms of the cache update code.

p4raw-id: //depot/perl@27583

15 years agoPass the (byte) length of the entire string into
Nicholas Clark [Thu, 23 Mar 2006 12:44:35 +0000 (12:44 +0000)]
Pass the (byte) length of the entire string into
utf8_mg_pos_cache_update()
Start to use the cache to store two pairs of byte/utf-8 pairs.
Add the first third of the cache update code.

p4raw-id: //depot/perl@27582

15 years agoUpgrade to Time::Local 1.12
Rafael Garcia-Suarez [Thu, 23 Mar 2006 12:30:39 +0000 (12:30 +0000)]
Upgrade to Time::Local 1.12

p4raw-id: //depot/perl@27581

15 years agoAdd all new static functions to embed.fnc
Nicholas Clark [Thu, 23 Mar 2006 11:33:48 +0000 (11:33 +0000)]
Add all new static functions to embed.fnc
Remove old unused static functions.
Remove references to cache[2] and cache[3].

p4raw-id: //depot/perl@27580

15 years agoUse the cache in S_sv_pos_u2b_cached() when the desired offset is
Nicholas Clark [Thu, 23 Mar 2006 11:06:52 +0000 (11:06 +0000)]
Use the cache in S_sv_pos_u2b_cached() when the desired offset is
between the start of the string and the cached location.
Remove unneccesary else from Perl_sv_pos_b2u().

p4raw-id: //depot/perl@27579

15 years agoUse the cache in S_sv_pos_u2b_cached when the sought offset is after
Nicholas Clark [Thu, 23 Mar 2006 10:42:26 +0000 (10:42 +0000)]
Use the cache in S_sv_pos_u2b_cached when the sought offset is after
the first cache entry.

p4raw-id: //depot/perl@27578

15 years agoFurther adjustement to change #27576 by Jan Dubois
Rafael Garcia-Suarez [Thu, 23 Mar 2006 10:01:48 +0000 (10:01 +0000)]
Further adjustement to change #27576 by Jan Dubois
(this change being blead-specific, while #27576 is
integrable to maint)
p4raw-link: @27576 on //depot/perl: cab190d4d715e2c6ec26ee0ebfd0bc6fb0f03bd3

p4raw-id: //depot/perl@27577

15 years agoRE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32
Jan Dubois [Wed, 22 Mar 2006 22:49:11 +0000 (14:49 -0800)]
RE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <060201c64e45$e4ca7020$2217a8c0@candy>

Also, back out change #27567.
p4raw-link: @27567 on //depot/perl: 9bf76a6a2fc16ab628a46452e34352d3e3d71674

p4raw-id: //depot/perl@27576

15 years agoCall S_utf8_mg_pos_cache_update() from S_sv_pos_u2b_cached().
Nicholas Clark [Thu, 23 Mar 2006 00:14:53 +0000 (00:14 +0000)]
Call S_utf8_mg_pos_cache_update() from S_sv_pos_u2b_cached().
S_utf8_mg_pos_cache_update() can't use S_sv_pos_b2u_forwards() in the
cache assertion code as it triggers warnings about surrogates.

p4raw-id: //depot/perl@27575

15 years agoTake advantage of uoffset >= uoffset0, to simplify some logic.
Nicholas Clark [Wed, 22 Mar 2006 22:49:42 +0000 (22:49 +0000)]
Take advantage of uoffset >= uoffset0, to simplify some logic.

p4raw-id: //depot/perl@27574

15 years agoAdd S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
Nicholas Clark [Wed, 22 Mar 2006 21:19:50 +0000 (21:19 +0000)]
Add S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
both sides of the desired offset, so could count either way.
Use cached utf-8 length in S_sv_pos_u2b_cached.
Check the results if PL_utf8cache < 0.

p4raw-id: //depot/perl@27573

15 years agoCreate S_sv_pos_u2b_cached, which abstracts away utf-8 to byte
Nicholas Clark [Wed, 22 Mar 2006 20:38:20 +0000 (20:38 +0000)]
Create S_sv_pos_u2b_cached, which abstracts away utf-8 to byte
conversions, hiding the complexity of any cache lookup.

p4raw-id: //depot/perl@27572

15 years agoUninitialized value in Archive::Tar
Randy W. Sims [Mon, 20 Mar 2006 06:37:31 +0000 (01:37 -0500)]
Uninitialized value in Archive::Tar
From: "Randy W. Sims" <ml-perl@thepierianspring.org>
Message-ID: <441E93FB.3050906@thepierianspring.org>

p4raw-id: //depot/perl@27571

15 years agoThe simplest way to start on Perl_sv_pos_u2b seems to be to take out
Nicholas Clark [Wed, 22 Mar 2006 18:13:06 +0000 (18:13 +0000)]
The simplest way to start on Perl_sv_pos_u2b seems to be to take out
all of the caching code.

p4raw-id: //depot/perl@27570

15 years agoremove idential code branch from regmatch()
Dave Mitchell [Wed, 22 Mar 2006 16:05:16 +0000 (16:05 +0000)]
remove idential code branch from regmatch()

p4raw-id: //depot/perl@27569

15 years agoFix some test failures in t/op/cmp.t when compiling with the Intel
Steve Peters [Wed, 22 Mar 2006 15:59:07 +0000 (15:59 +0000)]
Fix some test failures in t/op/cmp.t when compiling with the Intel
C++ Compiler on Linux.

p4raw-id: //depot/perl@27568

15 years agoRe: [perl #38779] NAN's on Win32
Dominic Dunlop [Wed, 22 Mar 2006 15:18:33 +0000 (16:18 +0100)]
Re: [perl #38779] NAN's on Win32
Message-Id: <E44A2151-DE7F-4C5D-8A4B-DDA0412229C2@mac.com>

p4raw-id: //depot/perl@27567

15 years agoAdjust docs to reflect that DynaLoader, as of change 27549,
Gisle Aas [Wed, 22 Mar 2006 13:37:19 +0000 (13:37 +0000)]
Adjust docs to reflect that DynaLoader, as of change 27549,
is part of libperl.

p4raw-id: //depot/perl@27566

15 years agoIncrease the length of content compressed as a kludge to get
Steve Peters [Wed, 22 Mar 2006 02:18:58 +0000 (02:18 +0000)]
Increase the length of content compressed as a kludge to get
around incompatibilities in OpenBSD's gzip.

p4raw-id: //depot/perl@27565

15 years ago(Hopefully) make VMS happy.
Nicholas Clark [Tue, 21 Mar 2006 22:09:51 +0000 (22:09 +0000)]
(Hopefully) make VMS happy.

p4raw-id: //depot/perl@27564

15 years ago[patch@27529] thread.h - VMS needs more stack
John E. Malmberg [Fri, 17 Mar 2006 11:05:33 +0000 (06:05 -0500)]
[patch@27529] thread.h - VMS needs more stack
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <441ADE4D.2090207@qsl.net>

p4raw-id: //depot/perl@27563

15 years agoUpgrade to Digest-1.15
Gisle Aas [Tue, 21 Mar 2006 11:34:38 +0000 (11:34 +0000)]
Upgrade to Digest-1.15

p4raw-id: //depot/perl@27562

15 years ago[patch@27538] utime patch for VMS
John E. Malmberg [Mon, 20 Mar 2006 08:12:19 +0000 (03:12 -0500)]
[patch@27538] utime patch for VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <441EAA33.6010603@qsl.net>

p4raw-id: //depot/perl@27561

15 years agoTest croak(NULL)
Gisle Aas [Tue, 21 Mar 2006 10:16:43 +0000 (10:16 +0000)]
Test croak(NULL)

p4raw-id: //depot/perl@27560