module-build-checkins Mailing List for Module::Build (Page 40)
Status: Beta
Brought to you by:
kwilliams
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(82) |
Dec
(58) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(49) |
Feb
(57) |
Mar
(49) |
Apr
(49) |
May
(2) |
Jun
(147) |
Jul
(60) |
Aug
(55) |
Sep
(51) |
Oct
(68) |
Nov
(61) |
Dec
(44) |
2006 |
Jan
(27) |
Feb
(38) |
Mar
(89) |
Apr
(31) |
May
(17) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ken W. <kwi...@us...> - 2004-11-20 14:17:50
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7868/t Modified Files: runthrough.t Log Message: Do this VERSION thing slightly better Index: runthrough.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/runthrough.t,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** runthrough.t 20 Nov 2004 04:13:10 -0000 1.46 --- runthrough.t 20 Nov 2004 14:17:38 -0000 1.47 *************** *** 84,88 **** $contents =~ /Module::Build version ([0-9_.]+)/m; ! ok $1 == $build->VERSION, 1, "Got $1, expected ". $build->VERSION; if ($build->check_installed_status('Archive::Tar', 0) --- 84,88 ---- $contents =~ /Module::Build version ([0-9_.]+)/m; ! ok $1, $build->VERSION, "Got $1, expected ". $build->VERSION; if ($build->check_installed_status('Archive::Tar', 0) |
From: Ken W. <kwi...@us...> - 2004-11-20 04:33:49
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3730 Modified Files: Tag: release-0_26_branch Changes Log Message: Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.12 retrieving revision 1.299.2.13 diff -C2 -d -r1.299.2.12 -r1.299.2.13 *** Changes 20 Nov 2004 04:29:15 -0000 1.299.2.12 --- Changes 20 Nov 2004 04:33:40 -0000 1.299.2.13 *************** *** 46,50 **** such file or directory" during tests. [Spotted by Warren L. Dodge] ! 0.26 Sat Oct 9 17:51:01 CDT 2004 - Removed some language from the Module::Build::Compat documentation --- 46,50 ---- such file or directory" during tests. [Spotted by Warren L. Dodge] ! 0.26 Sat Oct 9 17:51:01 CDT 2004 - Removed some language from the Module::Build::Compat documentation |
From: Ken W. <kwi...@us...> - 2004-11-20 04:33:44
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3708 Modified Files: Changes Log Message: Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.316 retrieving revision 1.317 diff -C2 -d -r1.316 -r1.317 *** Changes 15 Nov 2004 20:15:02 -0000 1.316 --- Changes 20 Nov 2004 04:33:28 -0000 1.317 *************** *** 38,43 **** program. [Suggested by Michael Schwern] ! 0.2604 - module_name() will now return '' instead of undef when module_name --- 38,62 ---- program. [Suggested by Michael Schwern] + - The tests now play better with environments in which version.pm is + pre-loaded, like in bleadperl. [John Peacock & Michael Schwern] ! - We now only load Pod::Man when we actually need to build man pages. ! ! - We now make Test::Harness use our carefully-selected path to a perl ! executable regardless of Test::Harness's version. Previously we ! let it figure stuff out for itself if it was a reasonably modern ! version, but it's safer to make sure we're using the same perl ! everywhere. ! ! 0.2605 ! ! - Fixed a bug in which zero-length arguments for hash-valued ! parameters (e.g. "--config foo=bar") weren't being allowed. ! ! 0.2604 Wed Nov 17 14:32:42 CST 2004 ! ! - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in ! which an array reference passed as an argument was returned as an ! array reference, rather than as a list. [Spotted by Steve Hay] - module_name() will now return '' instead of undef when module_name *************** *** 66,70 **** available. [Blair Zajac] ! 0.2601 (Bug fix for 0.26) Wed Nov 3 20:09:27 CST 2004 - Fixed some backslash problems with split_like_shell() on --- 85,89 ---- available. [Blair Zajac] ! 0.2601 (Bug fix for 0.26) Wed Nov 3 20:09:27 CST 2004 - Fixed some backslash problems with split_like_shell() on |
From: Ken W. <kwi...@us...> - 2004-11-20 04:29:31
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2977 Modified Files: Tag: release-0_26_branch Changes Log Message: Allow zero-length hash-parameter values Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.11 retrieving revision 1.299.2.12 diff -C2 -d -r1.299.2.11 -r1.299.2.12 *** Changes 17 Nov 2004 20:33:10 -0000 1.299.2.11 --- Changes 20 Nov 2004 04:29:15 -0000 1.299.2.12 *************** *** 1,4 **** --- 1,9 ---- Revision history for Perl extension Module::Build. + 0.2605 + + - Fixed a bug in which zero-length arguments for hash-valued + parameters (e.g. "--config foo=bar") weren't being allowed. + 0.2604 Wed Nov 17 14:32:42 CST 2004 |
From: Ken W. <kwi...@us...> - 2004-11-20 04:29:27
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2977/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Allow zero-length hash-parameter values Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.3 retrieving revision 1.340.2.4 diff -C2 -d -r1.340.2.3 -r1.340.2.4 *** Base.pm 15 Nov 2004 20:13:16 -0000 1.340.2.3 --- Base.pm 20 Nov 2004 04:29:14 -0000 1.340.2.4 *************** *** 1144,1148 **** $args{$_} = [ $args{$_} ] unless ref $args{$_}; foreach my $arg ( @{$args{$_}} ) { ! $arg =~ /(\w+)=(.+)/ or die "Malformed '$_' argument: '$arg' should be something like 'foo=bar'"; $hash{$1} = $2; --- 1144,1148 ---- $args{$_} = [ $args{$_} ] unless ref $args{$_}; foreach my $arg ( @{$args{$_}} ) { ! $arg =~ /(\w+)=(.*)/ or die "Malformed '$_' argument: '$arg' should be something like 'foo=bar'"; $hash{$1} = $2; |
From: Ken W. <kwi...@us...> - 2004-11-20 04:27:44
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2621/lib/Module/Build Modified Files: Base.pm Log Message: Allow zero-length hash-parameter values Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.352 retrieving revision 1.353 diff -C2 -d -r1.352 -r1.353 *** Base.pm 20 Nov 2004 04:23:17 -0000 1.352 --- Base.pm 20 Nov 2004 04:27:34 -0000 1.353 *************** *** 1144,1148 **** $args{$_} = [ $args{$_} ] unless ref $args{$_}; foreach my $arg ( @{$args{$_}} ) { ! $arg =~ /(\w+)=(.+)/ or die "Malformed '$_' argument: '$arg' should be something like 'foo=bar'"; $hash{$1} = $2; --- 1144,1148 ---- $args{$_} = [ $args{$_} ] unless ref $args{$_}; foreach my $arg ( @{$args{$_}} ) { ! $arg =~ /(\w+)=(.*)/ or die "Malformed '$_' argument: '$arg' should be something like 'foo=bar'"; $hash{$1} = $2; |
From: Ken W. <kwi...@us...> - 2004-11-20 04:23:26
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1879/lib/Module/Build Modified Files: Base.pm Log Message: Always trust our perl() value more than $^X, and make Test::Harness trust it too Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.351 retrieving revision 1.352 diff -C2 -d -r1.351 -r1.352 *** Base.pm 20 Nov 2004 04:21:21 -0000 1.351 --- Base.pm 20 Nov 2004 04:23:17 -0000 1.352 *************** *** 1321,1326 **** if (@$tests) { ! # Work around a Test::Harness bug that loses the particular perl we're running under ! local $^X = $p->{perl} unless $Test::Harness::VERSION gt '2.01'; Test::Harness::runtests(@$tests); } else { --- 1321,1327 ---- if (@$tests) { ! # Work around a Test::Harness bug that loses the particular perl ! # we're running under. $self->perl is trustworthy, but $^X isn't. ! local $^X = $self->perl; Test::Harness::runtests(@$tests); } else { |
From: Ken W. <kwi...@us...> - 2004-11-20 04:21:31
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1432/lib/Module/Build Modified Files: Base.pm Log Message: Only load Pod::Man when we actually need to build man pages Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.350 retrieving revision 1.351 diff -C2 -d -r1.350 -r1.351 *** Base.pm 19 Nov 2004 16:40:43 -0000 1.350 --- Base.pm 20 Nov 2004 04:21:21 -0000 1.351 *************** *** 1625,1629 **** my $self = shift; $self->depends_on('code'); - require Pod::Man; $self->manify_bin_pods() if $self->install_destination('bindoc'); $self->manify_lib_pods() if $self->install_destination('libdoc'); --- 1625,1628 ---- *************** *** 1633,1636 **** --- 1632,1636 ---- sub manify_bin_pods { my $self = shift; + require Pod::Man; my $parser = Pod::Man->new( section => 1 ); # binary manpages go in section 1 my $files = $self->_find_pods($self->{properties}{bindoc_dirs}); *************** *** 1652,1655 **** --- 1652,1656 ---- sub manify_lib_pods { my $self = shift; + require Pod::Man; my $parser = Pod::Man->new( section => 3 ); # library manpages go in section 3 my $files = $self->_find_pods($self->{properties}{libdoc_dirs}); |
From: Ken W. <kwi...@us...> - 2004-11-20 04:13:27
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32382/t Modified Files: runthrough.t Log Message: Be a little more permissive with VERSION, and eliminate a Test.pm warning Index: runthrough.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/runthrough.t,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** runthrough.t 1 Jun 2004 13:25:30 -0000 1.45 --- runthrough.t 20 Nov 2004 04:13:10 -0000 1.46 *************** *** 82,86 **** my $fh = IO::File->new(File::Spec->catfile($goto, 'META.yml')); my $contents = do {local $/; <$fh>}; ! ok $contents, "/Module::Build version ". $build->VERSION ."/"; if ($build->check_installed_status('Archive::Tar', 0) --- 82,88 ---- my $fh = IO::File->new(File::Spec->catfile($goto, 'META.yml')); my $contents = do {local $/; <$fh>}; ! ! $contents =~ /Module::Build version ([0-9_.]+)/m; ! ok $1 == $build->VERSION, 1, "Got $1, expected ". $build->VERSION; if ($build->check_installed_status('Archive::Tar', 0) *************** *** 140,144 **** ok $@, ''; ! ok -e $build->build_script, undef; ! ok -e $build->config_dir, undef; ! ok -e $build->dist_dir, undef; --- 142,146 ---- ok $@, ''; ! ok not -e $build->build_script; ! ok not -e $build->config_dir; ! ok not -e $build->dist_dir; |
From: Ken W. <kwi...@us...> - 2004-11-19 16:41:01
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3430 Modified Files: Build.PL Log Message: Don't use IO::Dir, just use built-in funcs Index: Build.PL =================================================================== RCS file: /cvsroot/module-build/Module-Build/Build.PL,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** Build.PL 15 Nov 2004 18:38:49 -0000 1.48 --- Build.PL 19 Nov 2004 16:40:51 -0000 1.49 *************** *** 29,35 **** 'ExtUtils::Install' => 0, 'IO::File' => 0, - 'IO::Dir' => 0, 'Cwd' => 0, 'Text::ParseWords' => 0, }, recommends => { --- 29,35 ---- 'ExtUtils::Install' => 0, 'IO::File' => 0, 'Cwd' => 0, 'Text::ParseWords' => 0, + 'Pod::Man' => 0, }, recommends => { |
From: Ken W. <kwi...@us...> - 2004-11-19 16:41:00
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3430/lib/Module/Build Modified Files: Base.pm Log Message: Don't use IO::Dir, just use built-in funcs Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.349 retrieving revision 1.350 diff -C2 -d -r1.349 -r1.350 *** Base.pm 15 Nov 2004 20:15:03 -0000 1.349 --- Base.pm 19 Nov 2004 16:40:43 -0000 1.350 *************** *** 12,16 **** use Data::Dumper (); use IO::File (); - use IO::Dir (); use Text::ParseWords (); --- 12,15 ---- *************** *** 2133,2140 **** return unless -d $dir; ! my $dh = IO::Dir->new( $dir ) or die "Can't read directory $dir: $!"; my @files; ! while (defined (my $file = $dh->read)) { my $full_path = File::Spec->catfile($dir, $file); next if -d $full_path; --- 2132,2140 ---- return unless -d $dir; ! local *DH; ! opendir DH, $dir or die "Can't read directory $dir: $!"; my @files; ! while (defined (my $file = readdir DH)) { my $full_path = File::Spec->catfile($dir, $file); next if -d $full_path; |
From: Ken W. <kwi...@us...> - 2004-11-18 01:18:28
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18969/lib/Module Modified Files: Build.pm Log Message: Fix a doc typo Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.169 retrieving revision 1.170 diff -C2 -d -r1.169 -r1.170 *** Build.pm 15 Nov 2004 18:38:50 -0000 1.169 --- Build.pm 18 Nov 2004 01:18:19 -0000 1.170 *************** *** 1044,1048 **** C<process_foo_files()>. ! See also L<Module::Build::Compat/Adding new elements to the build process>. =item copy_if_modified(%parameters) --- 1044,1048 ---- C<process_foo_files()>. ! See also L<Module::Build::Cookbook/Adding new elements to the build process>. =item copy_if_modified(%parameters) |
From: Ken W. <kwi...@us...> - 2004-11-18 01:18:05
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18885/lib/Module Modified Files: Tag: release-0_26_branch Build.pm Log Message: Fix a doc typo Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.164.2.5 retrieving revision 1.164.2.6 diff -C2 -d -r1.164.2.5 -r1.164.2.6 *** Build.pm 17 Nov 2004 20:37:00 -0000 1.164.2.5 --- Build.pm 18 Nov 2004 01:17:55 -0000 1.164.2.6 *************** *** 1039,1043 **** C<process_foo_files()>. ! See also L<Module::Build::Compat/Adding new elements to the build process>. =item copy_if_modified(%parameters) --- 1039,1043 ---- C<process_foo_files()>. ! See also L<Module::Build::Cookbook/Adding new elements to the build process>. =item copy_if_modified(%parameters) |
From: Ken W. <kwi...@us...> - 2004-11-17 20:37:13
|
Update of /cvsroot/module-build/Module-Build/lib/Module In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16826/lib/Module Modified Files: Tag: release-0_26_branch Build.pm Log Message: Version bump Index: Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.164.2.4 retrieving revision 1.164.2.5 diff -C2 -d -r1.164.2.4 -r1.164.2.5 *** Build.pm 15 Nov 2004 16:28:30 -0000 1.164.2.4 --- Build.pm 17 Nov 2004 20:37:00 -0000 1.164.2.5 *************** *** 16,20 **** use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); ! $VERSION = '0.2603'; $VERSION = eval $VERSION; --- 16,20 ---- use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); ! $VERSION = '0.2604'; $VERSION = eval $VERSION; |
From: Ken W. <kwi...@us...> - 2004-11-17 20:33:20
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16042 Modified Files: Tag: release-0_26_branch Changes Log Message: Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.10 retrieving revision 1.299.2.11 diff -C2 -d -r1.299.2.10 -r1.299.2.11 *** Changes 17 Nov 2004 16:16:53 -0000 1.299.2.10 --- Changes 17 Nov 2004 20:33:10 -0000 1.299.2.11 *************** *** 1,5 **** Revision history for Perl extension Module::Build. ! 0.2604 - module_name() will now return '' instead of undef when module_name --- 1,9 ---- Revision history for Perl extension Module::Build. ! 0.2604 Wed Nov 17 14:32:42 CST 2004 ! ! - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in ! which an array reference passed as an argument was returned as an ! array reference, rather than as a list. [Spotted by Steve Hay] - module_name() will now return '' instead of undef when module_name *************** *** 11,18 **** 'recursive_test_files' is in effect. [Tom Insam] - - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in - which an array reference passed as an argument was returned as an - array reference, rather than as a list. [Spotted by Steve Hay] - 0.2603 (Bug fix for 0.26) Mon Nov 15 10:28:00 CST 2004 --- 15,18 ---- |
From: Ken W. <kwi...@us...> - 2004-11-17 20:25:32
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13520 Modified Files: MANIFEST MANIFEST.SKIP Log Message: Integrate from branch Index: MANIFEST =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** MANIFEST 9 Oct 2004 15:40:36 -0000 1.35 --- MANIFEST 17 Nov 2004 20:25:22 -0000 1.36 *************** *** 30,33 **** --- 30,34 ---- t/common.pl t/compat.t + t/ext.t t/extend.t t/files.t Index: MANIFEST.SKIP =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST.SKIP,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** MANIFEST.SKIP 2 Jun 2004 04:52:25 -0000 1.16 --- MANIFEST.SKIP 17 Nov 2004 20:25:22 -0000 1.17 *************** *** 15,19 **** ^t/Sample/save_out$ ^t/Sample/SIGNATURE ! ^\. Makefile$ /cover_db/ --- 15,19 ---- ^t/Sample/save_out$ ^t/Sample/SIGNATURE ! (^|/)\. Makefile$ /cover_db/ |
From: Ken W. <kwi...@us...> - 2004-11-17 20:24:11
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13163 Modified Files: Tag: release-0_26_branch MANIFEST MANIFEST.SKIP Log Message: Index: MANIFEST =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST,v retrieving revision 1.35 retrieving revision 1.35.2.1 diff -C2 -d -r1.35 -r1.35.2.1 *** MANIFEST 9 Oct 2004 15:40:36 -0000 1.35 --- MANIFEST 17 Nov 2004 20:23:53 -0000 1.35.2.1 *************** *** 30,33 **** --- 30,34 ---- t/common.pl t/compat.t + t/ext.t t/extend.t t/files.t Index: MANIFEST.SKIP =================================================================== RCS file: /cvsroot/module-build/Module-Build/MANIFEST.SKIP,v retrieving revision 1.16 retrieving revision 1.16.2.1 diff -C2 -d -r1.16 -r1.16.2.1 *** MANIFEST.SKIP 2 Jun 2004 04:52:25 -0000 1.16 --- MANIFEST.SKIP 17 Nov 2004 20:24:02 -0000 1.16.2.1 *************** *** 15,19 **** ^t/Sample/save_out$ ^t/Sample/SIGNATURE ! ^\. Makefile$ /cover_db/ --- 15,19 ---- ^t/Sample/save_out$ ^t/Sample/SIGNATURE ! (^|/)\. Makefile$ /cover_db/ |
From: Ken W. <kwi...@us...> - 2004-11-17 16:17:08
|
Update of /cvsroot/module-build/Module-Build/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18553/t Modified Files: Tag: release-0_26_branch ext.t Log Message: Make sure split_like_shell() always handles arrayrefs properly Index: ext.t =================================================================== RCS file: /cvsroot/module-build/Module-Build/t/ext.t,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** ext.t 13 Nov 2004 15:07:10 -0000 1.1.2.1 --- ext.t 17 Nov 2004 16:16:54 -0000 1.1.2.2 *************** *** 52,60 **** ); ! plan tests => 1 + 2*@unix_splits + 2*@win_splits; use Module::Build; ok(1); use Module::Build::Platform::Unix; --- 52,68 ---- ); ! plan tests => 7 + 2*@unix_splits + 2*@win_splits; use Module::Build; ok(1); + # Should always return an array unscathed + foreach my $platform ('', '::Platform::Unix', '::Platform::Windows') { + my $pkg = "Module::Build$platform"; + my @result = $pkg->split_like_shell(['foo', 'bar', 'baz']); + ok @result, 3, "Split using $pkg"; + ok "@result", "foo bar baz", "Split using $pkg"; + } + use Module::Build::Platform::Unix; |
From: Ken W. <kwi...@us...> - 2004-11-17 16:17:08
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18553 Modified Files: Tag: release-0_26_branch Changes Log Message: Make sure split_like_shell() always handles arrayrefs properly Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.9 retrieving revision 1.299.2.10 diff -C2 -d -r1.299.2.9 -r1.299.2.10 *** Changes 15 Nov 2004 20:13:15 -0000 1.299.2.9 --- Changes 17 Nov 2004 16:16:53 -0000 1.299.2.10 *************** *** 11,14 **** --- 11,18 ---- 'recursive_test_files' is in effect. [Tom Insam] + - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in + which an array reference passed as an argument was returned as an + array reference, rather than as a list. [Spotted by Steve Hay] + 0.2603 (Bug fix for 0.26) Mon Nov 15 10:28:00 CST 2004 |
From: Ken W. <kwi...@us...> - 2004-11-17 16:17:06
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build/Platform In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18553/lib/Module/Build/Platform Modified Files: Tag: release-0_26_branch Windows.pm Log Message: Make sure split_like_shell() always handles arrayrefs properly Index: Windows.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Platform/Windows.pm,v retrieving revision 1.13.2.4 retrieving revision 1.13.2.5 diff -C2 -d -r1.13.2.4 -r1.13.2.5 *** Windows.pm 13 Nov 2004 15:06:21 -0000 1.13.2.4 --- Windows.pm 17 Nov 2004 16:16:53 -0000 1.13.2.5 *************** *** 266,269 **** --- 266,271 ---- (my $self, local $_) = @_; + return @$_ if defined() && UNIVERSAL::isa($_, 'ARRAY'); + my @argv; return @argv unless defined() && length(); |
From: Ken W. <kwi...@us...> - 2004-11-15 20:15:53
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16583 Modified Files: Changes Log Message: Integrate from bugfix branch Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.315 retrieving revision 1.316 diff -C2 -d -r1.315 -r1.316 *** Changes 15 Nov 2004 19:58:25 -0000 1.315 --- Changes 15 Nov 2004 20:15:02 -0000 1.316 *************** *** 45,48 **** --- 45,59 ---- warnings. [Suggested by Michael Schwern] + - The expand_test_dir() method will now skip dotfiles (like ._foo.t, + which sometimes gets automatically created on Mac systems) when + 'recursive_test_files' is in effect. [Tom Insam] + + 0.2603 (Bug fix for 0.26) Mon Nov 15 10:28:00 CST 2004 + + - Added documentation for the new_from_context() method. + + - Completely rewrote the split_like_shell() method for the Windows + platform so it works like the command.com shell. [Randy Sims] + 0.2602 (Bug fix for 0.26) Thu Nov 4 11:19:29 CST 2004 |
From: Ken W. <kwi...@us...> - 2004-11-15 20:15:19
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16583/lib/Module/Build Modified Files: Base.pm Log Message: Integrate from bugfix branch Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.348 retrieving revision 1.349 diff -C2 -d -r1.348 -r1.349 *** Base.pm 15 Nov 2004 19:58:26 -0000 1.348 --- Base.pm 15 Nov 2004 20:15:03 -0000 1.349 *************** *** 1347,1351 **** sub expand_test_dir { my ($self, $dir) = @_; ! return sort @{$self->rscan_dir($dir, qr{\.t$})} if $self->recursive_test_files; return sort glob File::Spec->catfile($dir, "*.t"); } --- 1347,1351 ---- sub expand_test_dir { my ($self, $dir) = @_; ! return sort @{$self->rscan_dir($dir, qr{^[^.].*\.t$})} if $self->recursive_test_files; return sort glob File::Spec->catfile($dir, "*.t"); } |
From: Ken W. <kwi...@us...> - 2004-11-15 20:13:26
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16216/lib/Module/Build Modified Files: Tag: release-0_26_branch Base.pm Log Message: Fix regex in expand_test_dir() Index: Base.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Base.pm,v retrieving revision 1.340.2.2 retrieving revision 1.340.2.3 diff -C2 -d -r1.340.2.2 -r1.340.2.3 *** Base.pm 15 Nov 2004 19:51:10 -0000 1.340.2.2 --- Base.pm 15 Nov 2004 20:13:16 -0000 1.340.2.3 *************** *** 1346,1350 **** sub expand_test_dir { my ($self, $dir) = @_; ! return sort @{$self->rscan_dir($dir, qr{\.t$})} if $self->recursive_test_files; return sort glob File::Spec->catfile($dir, "*.t"); } --- 1346,1350 ---- sub expand_test_dir { my ($self, $dir) = @_; ! return sort @{$self->rscan_dir($dir, qr{^[^.].*\.t$})} if $self->recursive_test_files; return sort glob File::Spec->catfile($dir, "*.t"); } |
From: Ken W. <kwi...@us...> - 2004-11-15 20:13:25
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16216 Modified Files: Tag: release-0_26_branch Changes Log Message: Fix regex in expand_test_dir() Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.299.2.8 retrieving revision 1.299.2.9 diff -C2 -d -r1.299.2.8 -r1.299.2.9 *** Changes 15 Nov 2004 19:51:09 -0000 1.299.2.8 --- Changes 15 Nov 2004 20:13:15 -0000 1.299.2.9 *************** *** 7,10 **** --- 7,14 ---- warnings. [Suggested by Michael Schwern] + - The expand_test_dir() method will now skip dotfiles (like ._foo.t, + which sometimes gets automatically created on Mac systems) when + 'recursive_test_files' is in effect. [Tom Insam] + 0.2603 (Bug fix for 0.26) Mon Nov 15 10:28:00 CST 2004 |
From: Ken W. <kwi...@us...> - 2004-11-15 19:59:05
|
Update of /cvsroot/module-build/Module-Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13218 Modified Files: Changes Log Message: Integrate from bugfix branch Index: Changes =================================================================== RCS file: /cvsroot/module-build/Module-Build/Changes,v retrieving revision 1.314 retrieving revision 1.315 diff -C2 -d -r1.314 -r1.315 *** Changes 15 Nov 2004 18:38:49 -0000 1.314 --- Changes 15 Nov 2004 19:58:25 -0000 1.315 *************** *** 39,42 **** --- 39,48 ---- + 0.2604 + + - module_name() will now return '' instead of undef when module_name + is not set. This eliminates a couple uninitialized-value + warnings. [Suggested by Michael Schwern] + 0.2602 (Bug fix for 0.26) Thu Nov 4 11:19:29 CST 2004 |