Rafael Garcia-Suarez [Wed, 13 May 2009 13:05:49 +0000]
Merge branch 'smartmatch' into blead
Rafael Garcia-Suarez [Wed, 13 May 2009 08:30:07 +0000]
Enable more warnings in smart match tests
Jan Dubois [Mon, 11 May 2009 22:21:27 +0000]
select() generates "Invalid parameter" messages on Windows Vista.
The messages are generated by OutputDebugString() so are only visible
inside a debugger, or other debugger viewer applications.
The messages are generated by the _get_osfhandle() calls with invalid
file ids. This change makes sure it is only called when the corresponding
bit in the select() arguments has been set.
Related bug reports:
http://bugs.activestate.com/show_bug.cgi?id=82995
http://bugs.slimdevices.com/show_bug.cgi?id=11896
http://getpopfile.org/ticket/45
Even with this patch there are still residual "Invalid parameter" messages
in the debug output while building Perl itself. They are generated by
miniperl in the win32_fclose() function, again calling _get_osfhandle()
with an invalid handle. The same messages can be observed when Perl
is built *without* USE_PERLIO (just like miniperl).
Nicholas Clark [Tue, 12 May 2009 22:48:01 +0000]
Inline S_glob_2pv() into Perl_sv_2pv_flags(). (Existing bugs included.)
Change 27942 missed this. (
675c862fe1d4abfd048dce5f1958cca54b16c501)
Nicholas Clark [Tue, 12 May 2009 17:48:15 +0000]
Add perl589delta.pod to pod.lst, and run pod/buildtoc --build-all.
Steve Hay [Tue, 12 May 2009 17:02:15 +0000]
Skip test for changing TZ if running in a pseudo-fork (on Win32)
Changing $ENV{TZ} and calling tzset() is documented not to work on Win32
in any thread other than the main thread, which includes the emulated
fork() on Win32 (used by cpantesters?). Mention fork() in the caveats and
skip the test in this case.
Steve Hay [Tue, 12 May 2009 16:57:35 +0000]
Upgrade to Time-Piece-1.14
David Mitchell [Tue, 12 May 2009 13:43:08 +0000]
add perl589delta.pod to blead
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.
David Mitchell [Tue, 12 May 2009 11:37:17 +0000]
Resurrect the Changes file as a simple guide to finding changes
David Mitchell [Tue, 12 May 2009 11:21:37 +0000]
remove all Changes* files
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.)
Graham Barr [Mon, 11 May 2009 19:20:34 +0000]
Update IO to CPAN 1.24 release
Vincent Pit [Sat, 9 May 2009 12:19:19 +0000]
Allow typed arrays and hashes
David Mitchell [Sun, 10 May 2009 23:04:09 +0000]
bump Storage version to 2.20 to distinguish it from the 2.19 that was
bundled with 5.8.9
Nicholas Clark [Sun, 10 May 2009 15:40:37 +0000]
Replacing dump.c's use of SVs as temporaries is TODO.
Nicholas Clark [Sun, 10 May 2009 15:31:11 +0000]
Making ExtUtils::ParseXS use strict; is TODO.
Steffen Mueller [Sun, 10 May 2009 11:20:17 +0000]
Update info on number of magic types\n\nRemove mention of overloading being optional
Steffen Mueller [Sun, 10 May 2009 09:01:13 +0000]
Pull PathTools 3.30 (which was just a blead sync.)
David Mitchell [Sat, 9 May 2009 17:17:36 +0000]
Revert "Bump version of File::Copy"
This reverts commit
216e7dec1076aa94d5b8331c187c135e4952955a.
(File::Copy version had already been bumped, so no need to bump again)
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 ~~
Steve Hay [Fri, 8 May 2009 10:08:02 +0000]
Silence Win32 compiler warning in IO.xs
The ioctl() function on Win32 is really win32_ioctl(), the third argument
of which is a char*.
Chris 'BinGOs' Williams [Fri, 8 May 2009 10:50:33 +0000]
Upgrade CPANPLUS::Dist::Build to 0.28
Chris 'BinGOs' Williams [Fri, 8 May 2009 10:49:40 +0000]
git checkout in add-package.pl, not git co
Andreas J Koenig [Thu, 7 May 2009 20:25:16 +0000]
Update CPAN.pm to 1.93_54
Steffen Mueller [Thu, 7 May 2009 17:58:11 +0000]
Bring PathTools changes file in sync with... PathTools
Chris 'BinGOs' Williams [Thu, 7 May 2009 17:13:02 +0000]
Upgrade to CPANPLUS-Dist-Build-0.26
Stops tests from fetching CPAN indexes.
Message-ID: <
20090507162935.GA29922@klanker.bingosnet.co.uk>
(Tweaked to update MANIFEST too.)
Steve Hay [Thu, 7 May 2009 08:26:05 +0000]
Fix ExtUtils::Miniperl on Win32
Default configuration builds on Win32 require perlmain.c to #include
perlapi.h (e.g. via XSUB.h) to avoid linker errors over PL_do_undump
and PL_use_safe_putenv.
From: Ben Morrow <ben@morrow.me.uk>
Date: Wed, 6 May 2009 22:38:01 +0100
Message-ID: <
20090506213801.GA9074@osiris.mauzo.dyndns.org>
Rafael Garcia-Suarez [Wed, 6 May 2009 20:10:43 +0000]
Rewrite tests for objects and ~~
Steve Hay [Wed, 6 May 2009 17:16:20 +0000]
Fix POSIX::tzset() as per Time::Piece::_tzset().
Jan Dubois suggested POSIX::tzset() should be fixed too, but there is no
way to share the code since Time-Piece is dual-lived and POSIX is not.
Therefore, the code is simply duplicated with appropriate comments to
prompt keeping the two in sync.
H.Merijn Brand [Wed, 6 May 2009 12:02:22 +0000]
-Duserelocatableinc and -Duseshrplib don't work together
Extra explaining needed in INSTALL
Steve Hay [Wed, 6 May 2009 11:50:09 +0000]
Fix code before declaration compile error on Win32
The code written out by ExtUtils::Miniperl::writemain() contained the
code
PERL_UNUSED_CONTEXT;
before the declarations
const char file[] = __FILE__;
dXSUB_SYS;
which Win32's VC++ compiler doesn't like.
David Cantrell [Wed, 6 May 2009 10:26:56 +0000]
perltie.pod docpatch
Some years ago I submitted a docpatch for perltie to mention DBM::Deep
alongside MLDBM. This updates that patch.
The change is merely to remove the word "experimental" now that DBM::Deep
is over five years old and is stable.
$ diff -u ./pod/perltie.pod~ ./pod/perltie.pod
Signed-off-by: Abigail <abigail@abigail.be>
Steve Hay [Wed, 6 May 2009 09:25:00 +0000]
Export two more PerlIO symbols.
Ben Morrow noticed that:
PerlIO_push is exported, but PerlIO_find_layer is not, so getting a
PerlIO_funcs* to pass to it is difficult.
Several exported functions (PerlIO_parse_layers, PerlIO_layer_fetch,
PerlIO_list_free, ...) take a PerlIO_list_t* argument, but
PerlIO_list_alloc is not exported, so these are effectively useless.
Nicholas Clark [Tue, 5 May 2009 17:00:38 +0000]
Add $(LDLIBPTH) to the documentation generation command lines.
(A perl build with a shared libperl needs this.)
Rafael Garcia-Suarez [Tue, 5 May 2009 14:42:09 +0000]
Bump $VERSION of FileCache
Niko Tyni [Tue, 5 May 2009 06:07:57 +0000]
Document that FileCache uses symbolic references
As noted by Marc Haber in <http://bugs.debian.org/318579>,
using FileCache.pm as per the SYNOPSIS doesn't work under
'use strict'. This is a bit unexpected nowadays, so mention
it in the documentation.
Rafael Garcia-Suarez [Tue, 5 May 2009 11:37:42 +0000]
Fix test for stringification of arrays.
Also add a similar test for hashes.
Steve Hay [Tue, 5 May 2009 11:37:03 +0000]
Fix Time-Piece tests on Win32 with PERL_IMPLICIT_SYS
Various fixes and improvements to
6e0733998eff7a098d2d21d5602f3eb2a7521e1f
suggested by the following emails in a long thread...
From: "Jan Dubois" <jand@activestate.com>
Date: Fri, 17 Apr 2009 10:07:19 -0700
Message-ID: <
00be01c9bf7e$f8250510$e86f0f30$@com>
From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 20 Apr 2009 17:58:38 -0700
Message-ID: <
000f01c9c21c$4e3b6d00$eab24700$@com>
From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 27 Apr 2009 18:12:15 -0700
Message-ID: <
000001c9c79e$5e766f30$1b634d90$@com>
From: Rob May <rob@themayfamily.me.uk>
Date: Tue, 28 Apr 2009 19:17:44 +0100
Message-ID: <
54bdc7510904281117j2058484fnb19d75d13b553c0e@mail.gmail.com>
From: Rob May <rob@themayfamily.me.uk>
Date: Sat, 2 May 2009 08:41:26 +0100
Message-ID: <
54bdc7510905020041w4333e213u4630fad7c18ac919@mail.gmail.com>
From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 4 May 2009 15:05:56 -0700
Message-ID: <
001101c9cd04$7fefe040$7fcfa0c0$@com>
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 ;-)