Rafael Garcia-Suarez [Tue, 12 May 2009 12:09:02 +0000]
Register ~~ operator overloading in its own category in %overload::ops
(This category might get reused later if we manage to overload =~)
Rafael Garcia-Suarez [Tue, 12 May 2009 11:43:23 +0000]
Smart matching is to-done.
Rafael Garcia-Suarez [Tue, 12 May 2009 07:38:29 +0000]
Remove proposed (but unimplemented) $foo ~~ Range smart matching.
The reasons for that are :
- $_ ~~ 1..42 actually parses as ($_ ~~ 1) .. 42
- in when(), a range 1..42 will be expanded, and not treated as a
boolean flip-flop operator
- It will not distribute properly with array smart-matching, as
in $foo ~~ [1, 2, [4..5]] (that won't match for $foo = 4.2 for
example.)
Rafael Garcia-Suarez [Sat, 9 May 2009 15:47:31 +0000]
Implement Hash/Array ~~ Regex (with tests)
Rafael Garcia-Suarez [Sat, 9 May 2009 13:50:25 +0000]
Add a test for object ~~ string, with stringification overload
Rafael Garcia-Suarez [Sat, 9 May 2009 13:37:11 +0000]
Add tests for object ~~ regexp
Rafael Garcia-Suarez [Sat, 9 May 2009 13:25:41 +0000]
Treat blessed references on the left of C<~~> as scalars
Rafael Garcia-Suarez [Sat, 9 May 2009 13:09:39 +0000]
Implement distributivity in $scalar ~~ @array
Note that undef ~~ @array is not distributive, it only tests for
definedness of array elements.
Rafael Garcia-Suarez [Fri, 8 May 2009 21:01:18 +0000]
Document what to do with object on the left and add some TODO tests for that
Rafael Garcia-Suarez [Fri, 8 May 2009 20:40:09 +0000]
Inline macros used only once
Rafael Garcia-Suarez [Fri, 8 May 2009 20:37:03 +0000]
Make ~~ overloading only be invoked on the right argument
Rafael Garcia-Suarez [Fri, 8 May 2009 14:08:24 +0000]
More tests for ~~
Rafael Garcia-Suarez [Wed, 6 May 2009 20:10:43 +0000]
Rewrite tests for objects and ~~
Rafael Garcia-Suarez [Tue, 5 May 2009 11:37:42 +0000]
Fix test for stringification of arrays.
Also add a similar test for hashes.
Rafael Garcia-Suarez [Tue, 5 May 2009 10:09:48 +0000]
Merge branch 'blead' into smartmatch
Conflicts:
t/op/switch.t
Rafael Garcia-Suarez [Tue, 5 May 2009 07:55:27 +0000]
Add tests for @array ~~ $string
Rafael Garcia-Suarez [Tue, 5 May 2009 07:46:06 +0000]
Clarify that @a ~~ @b recursively smart matches
Rafael Garcia-Suarez [Tue, 5 May 2009 07:18:29 +0000]
Bump version of File::Copy
Paul Fenwick [Fri, 24 Apr 2009 13:44:01 +0000]
Make File::Copy always return 0 (not "") on failure.
On Unix systems, the subroutines in File::Copy always return 0
on failure.
On Windows, move() and mv() return 0, but copy() and cp() return "".
This commit makes File::Copy consistently return 0 on failure.
Nicholas Clark [Mon, 4 May 2009 21:58:02 +0000]
In Perl_gp_dup(), no need to explicitly zero ret->gp_refcnt after the Newxz().
Nicholas Clark [Mon, 4 May 2009 17:53:39 +0000]
Make Perl_hek_dup() cope with a NULL "source" parameter (by returning NULL).
Change its callers to take advantage of this.
Nicholas Clark [Mon, 4 May 2009 17:12:03 +0000]
Fix SEGVs when cloning a typeglob that has been undefined. (RT #64954)
Jos I. Boumans [Mon, 4 May 2009 08:19:10 +0000]
Update IPC::Cmd to 0.44
H.Merijn Brand [Mon, 4 May 2009 09:54:22 +0000]
Patch to fix the problem enclosed.
Subject: [PATCH] compress 2.019 ( was RE: [PATCH] compress 2.018)
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Date: Mon, 4 May 2009 10:40:34 +0100
Message-ID: <
011f01c9cc9c$610b6130$23222390$@Marquess@ntlworld.com>
Dan Jacobson [Mon, 4 May 2009 07:47:43 +0000]
Clarify that =encoding is global in POD
Andreas J Koenig [Mon, 4 May 2009 06:23:18 +0000]
Update CPAN.pm to 1.93_53
H.Merijn Brand [Sun, 3 May 2009 18:53:16 +0000]
RE: [PATCH] compress 2.018
> On Sun, 3 May 2009 17:30:27 +0100, "Paul Marquess"
> <Paul.Marquess@ntlworld.com> wrote:
>
> > A few fixes for the compression modules.
>
> Where?
Enclosed
Paul
From
389fe95522cdfda81bff0fde92dc66ef9c275bd8 Mon Sep 17 00:00:00 2001
From: Paul Marquess <pmqs@cpan.org>
Date: Sun, 3 May 2009 17:13:51 +0100
Subject: [PATCH] compress 2.018
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Rafael Garcia-Suarez [Sun, 3 May 2009 13:26:09 +0000]
Add tests for last and next in when()
Rafael Garcia-Suarez [Sun, 3 May 2009 12:46:19 +0000]
Remove warnings "Exiting given/when via next/last"
See bug [perl #65114] possible unnecesary warning / Exiting given via next.
Those warnings were not necessary.
Niko Tyni [Wed, 29 Apr 2009 20:02:01 +0000]
Document that XS_VERSION_BOOTCHECK may break if $VERSION is a long enough NV
As seen in <http://bugs.debian.org/482139>, using a long floating point
number as $VERSION can make XS_VERSION_BOOTCHECK fail because of a loss
of precision in the stringification:
RRDs object version 1.
2999070803 does not match bootstrap parameter 1.29990708 at /usr/lib/perl/5.10/DynaLoader.pm line 219.
The mismatch happens in Perl_upg_version(), which converts a double value
(NV) to a string with nine decimals but leaves a string value intact.
Using a string as $VERSION works fine:
-$VERSION=1.
299907080300;
+$VERSION="1.
299907080300";
so recommend this in the VERSIONCHECK entry of perlxs.pod.
Frank Wiegand [Sat, 2 May 2009 15:47:15 +0000]
fix POD typo
Signed-off-by: Abigail <abigail@abigail.be>
Jos I. Boumans [Sat, 2 May 2009 13:56:14 +0000]
Update Archive::Tar to 1.48
John E. Malmberg [Mon, 27 Apr 2009 02:00:25 +0000]
t/test - Hack for VMS pipe bug.
The VMS pipe bug inserts blank lines in places that can prevent the
leader from being seen.
So on the leader line, read in the rest of the line.
Rafael Garcia-Suarez [Fri, 1 May 2009 14:06:22 +0000]
Add generated perltoc to git ignore list
Jos I. Boumans [Tue, 28 Apr 2009 15:05:31 +0000]
Update CPANPLUS to 0.8601
Jan Dubois [Mon, 27 Apr 2009 23:03:38 +0000]
Fix -p function and Fcntl::S_IFIFO constant under Microsoft VC compiler
Create S_IFIFO macro as an alias for _S_IFIFO if only the latter is being
defined by the standard headers (e.g. Microsoft Visual C++).
This is necessary to get the C<-p> function working, and also to define
the Fcntl::S_IFIFO constant.
See also http://bugs.activestate.com/show_bug.cgi?id=82665
Cheers,
-Jan
From
6386a37b103723e3c473119b95dd0b8edc59a1ed Mon Sep 17 00:00:00 2001
From: Jan Dubois <jand@activestate.com>
Date: Mon, 27 Apr 2009 15:44:23 -0700
Subject: [PATCH] Create S_IFIFO macro as an alias for _S_IFIFO if only the latter is being
defined by the standard headers (e.g. Microsoft Visual C++).
This is necessary to get the C<-p> function working, and also to define
the Fcntl::S_IFIFO constant.
See also http://bugs.activestate.com/show_bug.cgi?id=82665
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Jay Hannah [Mon, 27 Apr 2009 22:25:52 +0000]
Minor fixups for the documentation for crypt.
Chris 'BinGOs' Williams [Mon, 27 Apr 2009 16:13:04 +0000]
Update CPANPLUS::Dist::Build to version 0.24
This fixes an integration issue with the latest CPANPLUS (0.86).
Jos I. Boumans [Mon, 27 Apr 2009 15:32:08 +0000]
Update CPANPLUS to 0.86
Nicholas Clark [Mon, 27 Apr 2009 10:01:08 +0000]
Simplifications to S_incpush() now possible without MACOS_TRADITIONAL.
Nicholas Clark [Mon, 27 Apr 2009 07:02:55 +0000]
Remove all #ifdef MACOS_TRADITIONAL code in core and non-dual-life XS code.
(MacOS support was removed from MakeMaker in 6.22, and merged to blead on
15th December 2004 with
5dca256ec738057dc331fb644a93eca44ad5fa14. After this
point MacOS wouldn't even have been able to build the perl binary, because it
would not have been able to build DynaLoader. If anyone wishes to resurrect
MacOS, start by reversing this commit and the relevant part of that commit.)
Nicholas Clark [Sun, 26 Apr 2009 22:44:53 +0000]
Fix #if/#else bug introduced with MACOS_TRADITIONAL patches in change 9479.
(
7369a5240f1efb9ab50b6f47289fb602aaaccc25)
Jos I. Boumans [Sun, 26 Apr 2009 02:20:37 +0000]
[PATCH] Update Term::UI to 0.20
Michael G Schwern [Sun, 26 Apr 2009 02:16:12 +0000]
[PATCH] Allow PERL5OPT=-W
Craig A. Berry [Sat, 25 Apr 2009 23:14:23 +0000]
perltoc.pod depends on perldelta.pod.
Craig A. Berry [Sat, 25 Apr 2009 22:51:38 +0000]
Make time64 use NV for time_t, I32 for year, not Quad_t.
This means it should run on anything that does not have a 64-bit
integer type available but does have a double. Presumably this
includes platforms that define PERL_MICRO, so we now use the
same extended time implementation for everything that runs Perl.
David Mitchell [Sat, 25 Apr 2009 19:36:19 +0000]
make the File::Copy permission change from 2.15 onwards (to allow for a
maint-5.10 2.14 release)
David Mitchell [Sat, 25 Apr 2009 19:32:26 +0000]
[perl #56644] TODO was too severe. Only :unix :stdio were failing
Nicholas Clark [Sat, 25 Apr 2009 15:29:16 +0000]
Flag that perltoc.pod should be omitted from perltoc.pod.
Craig A. Berry [Fri, 24 Apr 2009 17:44:29 +0000]
Clean up pod/buildtoc so it will run on VMS.
It still doesn't handle case-levelled extension names properly and
it still tries to index perltoc.pod while it has it open for write,
but at least it doesn't hang now.
Craig A. Berry [Fri, 24 Apr 2009 14:34:37 +0000]
Run buildtoc on VMS.
Nicholas Clark [Thu, 23 Apr 2009 20:39:03 +0000]
Use %Module::CoreList::bug_tracker to print out upstream bug tracker URLs.
Where the user names a module that their bug report is about, and we know the
URL for its upstream bug tracker, provide a message to the user explaining
that the core copies the CPAN version directly, and provide the URL for
reporting the bug directly to upstream.
Nicholas Clark [Thu, 23 Apr 2009 20:38:19 +0000]
Add %upstream and %bug_tracker data to Module::CoreList.
Nicholas Clark [Thu, 23 Apr 2009 20:35:26 +0000]
Use files_to_modules() and a CPAN mirror to map modules to bug tracker URLs.
Output two hashes, ready for inclusion in Module::CoreList. %upstream maps
module names to the UPSTREAM status in Porting/Maintainers.pl. %bug_tracker
maps module names to the URL of the bug tracker, or undef if explict bug
tracker is not known for a module known to be dual life.
Nicholas Clark [Thu, 23 Apr 2009 20:33:46 +0000]
Break out the logic that maps file names to modules into files_to_modules().
David Mitchell [Thu, 23 Apr 2009 17:13:08 +0000]
qr_gc.t is only TODO on 5.11.x+
Steve Peters [Thu, 23 Apr 2009 17:13:00 +0000]
Add an idea to perltodo
Craig A. Berry [Thu, 23 Apr 2009 01:41:08 +0000]
Space between target and colon is not optional in VMS description files.
Follow-up to
7eb47696deb9a7343fb4847f7342919a6df59e21.
Nicholas Clark [Wed, 22 Apr 2009 22:07:16 +0000]
Sean would like to pass on his maintainership of I18N::LangTags modules.
For now, consider them to be maintained by p5p.
Nicholas Clark [Tue, 21 Apr 2009 12:38:55 +0000]
Craig A. Berry [Tue, 21 Apr 2009 12:36:41 +0000]
Fix reference to perlvms.pod after move to new location.
Nicholas Clark [Tue, 21 Apr 2009 09:51:29 +0000]
We need $(MINIPERL_EXE) before we can run autodoc.pl. Remove the duplicated -I
Nicholas Clark [Tue, 21 Apr 2009 09:49:10 +0000]
Build perltoc.pod, rather than shipping it. This way it can't get out of date.
Nicholas Clark [Mon, 20 Apr 2009 22:01:18 +0000]
Tweak corelist.pl's heuristics to cope with the renamed directoriess in ext/
Nicholas Clark [Mon, 20 Apr 2009 21:32:45 +0000]
In corelist.pl, refactor to avoid repeating the final output formatting string.
Steve Hay [Mon, 20 Apr 2009 11:45:29 +0000]
Fix calling of autodoc.pl in Win32 nmake Makefile
Change
cd09325492c136b431317b9dee7455475831ae5b broke the nmake Makefile. Presumably Max uses the dmake makefile.mk ;-)
Steve Hay [Mon, 20 Apr 2009 11:37:32 +0000]
Remove leftover copying of perlvms.pod on Win32
Change
dd0cfdaa8f18412a5bea90a5dd33b46569dea1c5 left these two copy commands by mistake.
Niko Tyni [Thu, 2 Apr 2009 17:54:10 +0000]
Clarify PERL_SYS_INIT3() usage.
As seen in [perl #64326] and <http://bugs.debian.org/522099>, the
PERL_SYS_INIT3() documentation in perlembed.pod could be clearer about
the macro arguments.
Nicholas Clark [Mon, 20 Apr 2009 09:01:15 +0000]
Move vms/perlvms.pod to pod/ and update the Makfiles and Makefile generators.
Rafael Garcia-Suarez [Mon, 20 Apr 2009 07:51:38 +0000]
Remove some empty lines in a code example
Rafael Garcia-Suarez [Mon, 20 Apr 2009 07:46:00 +0000]
Document that ~~ overload will only work on the RHS
Craig A. Berry [Sun, 19 Apr 2009 22:08:55 +0000]
Make h2ph's generated preamble require-able when empty.
$Config{ccsymbols} and friends are currently empty on Win32 and
undefined on VMS.
Craig A. Berry [Sun, 19 Apr 2009 21:59:47 +0000]
Make lib/h2ph.t use t/test.pl.
This gives the Perl one-liners some chance of being portable.
Nicholas Clark [Sun, 19 Apr 2009 19:49:38 +0000]
In the Makefile, no need to change into pod/ to create symlinks to READMEs etc.
Nicholas Clark [Sun, 19 Apr 2009 19:05:43 +0000]
Simpify logic in Perl_pad_free(): SvIsCOW() has the same semantics in all cases.
Nicholas Clark [Sun, 19 Apr 2009 19:04:09 +0000]
In the context of PERL_OLD_COPY_ON_WRITE, remove comments about global mutexes.
These would only have been relevant if running under 5005 threads, which is long
dead.
Nicholas Clark [Sun, 19 Apr 2009 15:51:50 +0000]
Move the symlink fo perl51110delta.pod to perldelta.pod to a top level rule.
Add perldelta.pod to the generated_pods macro so that it is deleted still.
Nicholas Clark [Sun, 19 Apr 2009 14:58:30 +0000]
In buildtoc, refactor all the duplicated checking logic into a subroutine.
Nicholas Clark [Sun, 19 Apr 2009 11:13:51 +0000]
For Win32, add the generated files to the delete list generated by buildtoc.
Nicholas Clark [Sun, 19 Apr 2009 11:08:25 +0000]
For VMS, generate the delete rules for generated and copied files in buildtoc.
Rafael Garcia-Suarez [Sat, 18 Apr 2009 21:14:10 +0000]
Remove ExtUtils::MM_Haiku
It's no longer in the official MakeMaker, and is incorporated
in MM_BeOS.
Max Maischein [Sat, 18 Apr 2009 16:36:28 +0000]
Make autodoc.pl accept the root dir in @ARGV
Nicholas Clark [Sat, 18 Apr 2009 17:36:59 +0000]
autodoc.pl needs -Ilib. I had been testing with a perl that was also installed.
H.Merijn Brand [Sat, 18 Apr 2009 14:55:34 +0000]
Here are some patches for QNX6 against 5.10.x. Unpatched and patched
smoke reports also attached.
From: Sean Boudreau <seanb@qnx.com>
Date: Sun, 12 Apr 2009 10:18:39 -0400
Message-ID: <
20090412141839.GA27971644@qnx.com>
David Mitchell [Sat, 18 Apr 2009 14:39:14 +0000]
fix trivial typo in MANIFEST
Nicholas Clark [Sat, 18 Apr 2009 12:21:05 +0000]
As autodoc.pl no longer rebuilds repository files, no need to use regen_lib.pl
Refactor the duplicated logic for opening, generating and closing files into
a single output() subroutine.
Nicholas Clark [Sat, 18 Apr 2009 11:26:16 +0000]
grep then sort, as it's more efficient to sort a shorter list.
Nicholas Clark [Sat, 18 Apr 2009 11:24:18 +0000]
Add a --quiet option, to suppress all the routine warnings when scanning for pod
Nicholas Clark [Sat, 18 Apr 2009 11:19:57 +0000]
Generate perlapi.pod and perlintern.pod at build time, instead of shipping them.
Steve Hay [Fri, 17 Apr 2009 11:09:54 +0000]
Fix failing Time-Piece tests on Win32
This fix was suggested by Rob May here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-04/msg00251.html
Nicholas Clark [Fri, 17 Apr 2009 09:37:01 +0000]
In autodoc.pl, inline and hence eliminate walk_table().
This simplifies the code considerably, as walk_table() was relying on its &
prototype to cause the block after it to be co-erced to a passed in subroutine.
Nicholas Clark [Fri, 17 Apr 2009 09:15:42 +0000]
In autodoc.pl, remove the unused parameters and functionality from walk_table().
It seems that walk_table() was a direct copy from embed.pl back when autodoc.pl
was created by commit
94bdecf9800c3bee967274854f7adf2933ffd42b, and the "bonus
bits" were never refactored out.
Steve Hay [Fri, 17 Apr 2009 08:40:00 +0000]
Add reference to MS KB article describing leak in putenv()
Subject: Re: /ext/Time-Piece/t/02core.t
From: Rob May <rob@themayfamily.me.uk>
Date: Thu, 16 Apr 2009 10:32:53 +0100
Message-ID: <
54bdc7510904160232m1ae4142dw3566bf27b4fd2818@mail.gmail.com>
Steve Hay [Fri, 17 Apr 2009 08:37:47 +0000]
Remove last vestiges of USE_WIN32_RTL_ENV
That was removed long ago by #8916, but some leftovers remained. See:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-04/msg00156.html
Rafael Garcia-Suarez [Thu, 16 Apr 2009 22:50:39 +0000]
Ignore some autogenerated makefiles
Nicholas Clark [Thu, 16 Apr 2009 21:57:05 +0000]
Avoid loading Config, as we don't need to distinguish between NetWare and Win32.
Eliminate $Is_W32 $Is_OS2 $Is_Cygwin $Is_NetWare, and simply set $Needs_Write
directly from $^O.
As far as I can tell, these were all added in
36bb303b6ac55df9c2780b48d374c505
but never actually used for anything.
Rafael Garcia-Suarez [Thu, 16 Apr 2009 22:00:43 +0000]
Ignore attributes.pm in lib since it's now an XS module
Rafael Garcia-Suarez [Thu, 16 Apr 2009 21:41:53 +0000]
Bump VERSION of Data::Dumper
Alex Vandiver [Wed, 15 Apr 2009 17:04:23 +0000]
Data::Dumper hash iterator needs to be reset on all hashrefs (fixes #64744)
Niko Tyni [Tue, 14 Apr 2009 19:55:34 +0000]
Squelch 'Constant subroutine ... undefined' warnings from .ph files
As reported by Christopher Zimmermann in <http://bugs.debian.org/379757>,
code generated from simple #undef directives by h2ph can cause
'Constant subroutine ... undefined' warnings if the undefined
function was eligible for inlining.