15 years agoAdd deprecate.pm. Deprecate shipping Switch.pm in the core distribution.
Nicholas Clark [Mon, 23 Feb 2009 10:27:08 +0000]
Add deprecate.pm. Deprecate shipping Switch.pm in the core distribution.

15 years agovms.c - Remove .DIR; in UNIX mode.
John Malmberg [Sun, 22 Feb 2009 18:23:29 +0000]
vms.c - Remove .DIR; in UNIX mode.

When doing a readdir() or glob() with DECC$FILENAME_UNIX_REPORT active,
the ".DIR" suffix needs to be removed for directories.

15 years agoVMS-specific nit in S_init_perllib after 2cace6acdfad87b2d298bff18b91b339c18fd1e3.
Craig A. Berry [Mon, 23 Feb 2009 03:14:17 +0000]
VMS-specific nit in S_init_perllib after 2cace6acdfad87b2d298bff18b91b339c18fd1e3.

15 years agotime_t is unsigned 32-bit on VMS; pick sGMTIME_max and sLOCALTIME_max accordingly.
Craig A. Berry [Mon, 23 Feb 2009 00:28:13 +0000]
time_t is unsigned 32-bit on VMS; pick sGMTIME_max and sLOCALTIME_max accordingly.

15 years agoFor S_incpush(), dir is never NULL, and len is always > 0.
Nicholas Clark [Sun, 22 Feb 2009 22:17:47 +0000]
For S_incpush(), dir is never NULL, and len is always > 0.

15 years agoOptimise S_incpush() by avoiding repeatedly copying libdir to subdir.
Nicholas Clark [Sun, 22 Feb 2009 21:27:18 +0000]
Optimise S_incpush() by avoiding repeatedly copying libdir to subdir.
Specifically, copy it once with newSVsv(), then pass libdir to
S_incpush_if_exists(), and if that creates a new SV, use newSVsv() there to
re-do the copy. Otherwise reset the length of the passed-in SV (which is
subdir), back to the length of libdir, effectively truncating it back to be
equal to libdir. This avoids repeated copying of the same bytes over the same
memory that already holds those bytes.

15 years agoIn S_incpush, move the declaration of subdir inside the only block that uses it.
Nicholas Clark [Sun, 22 Feb 2009 21:11:19 +0000]
In S_incpush, move the declaration of subdir inside the only block that uses it.

15 years agoTidy up incpush. Re-order the macros, and re-indent some code.
Nicholas Clark [Sun, 22 Feb 2009 21:00:03 +0000]
Tidy up incpush. Re-order the macros, and re-indent some code.

15 years agoMove unversioned directories in PERL_OTHERLIBDIRS later in @INC.
Nicholas Clark [Sun, 22 Feb 2009 20:45:04 +0000]
Move unversioned directories in PERL_OTHERLIBDIRS later in @INC.
Split INCPUSH_ADD_SUB_DIRS into INCPUSH_ADD_VERSIONED_SUB_DIRS and
INCPUSH_ADD_ARCHONLY_SUB_DIRS, and tweak the flags used for the two halves of
PERL_OTHERLIBDIRS so that .../$archname and .../ come after .../$old_version

15 years ago7fc731078209e8c26ed8bba477edfd90724c7146 missed one (addsubdirs || addoldvers).
Nicholas Clark [Sun, 22 Feb 2009 20:29:32 +0000]
7fc731078209e8c26ed8bba477edfd90724c7146 missed one (addsubdirs || addoldvers).

15 years agoIn S_init_perllib(), push the bare VENDORLIB_STEM onto @INC after its subdirs.
Nicholas Clark [Sun, 22 Feb 2009 19:27:48 +0000]
In S_init_perllib(), push the bare VENDORLIB_STEM onto @INC after its subdirs.

15 years agoIn S_init_perllib(), push the bare SITELIB_STEM onto @INC after its subdirs.
Nicholas Clark [Sun, 22 Feb 2009 19:27:08 +0000]
In S_init_perllib(), push the bare SITELIB_STEM onto @INC after its subdirs.

15 years agoIn S_incpush(), move push @INC, ".../$archname" if -d ".../$archname"; later.
Nicholas Clark [Sun, 22 Feb 2009 19:24:49 +0000]
In S_incpush(), move push @INC, ".../$archname" if -d ".../$archname"; later.

This effects this change:

--- Start       2009-02-21 14:04:40.000000000 +0100
+++ /dev/fd/63  2009-02-22 16:41:18.000000000 +0100
@@ -1,14 +1,14 @@
 /Users/nick/Sandpit/511v/hashbangI/5.11.0/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI/5.11.0
-/Users/nick/Sandpit/511v/hashbangI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI/5.11.-2/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI/5.11.-2
+/Users/nick/Sandpit/511v/hashbangI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI
 /Users/nick/Sandpit/511v/cliI/5.11.0/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI/5.11.0
-/Users/nick/Sandpit/511v/cliI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI/5.11.-1/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI/5.11.-1
+/Users/nick/Sandpit/511v/cliI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI
 /Users/nick/Sandpit/511v/perl5lib0/5.11.0/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/perl5lib0/5.11.0

15 years agoIn S_init_perllib(), initialise perl5lib to NULL, to keep trace flow happy.
Nicholas Clark [Sun, 22 Feb 2009 17:37:26 +0000]
In S_init_perllib(), initialise perl5lib to NULL, to keep trace flow happy.

15 years agoIn S_incpush(), replace (addsubdirs || addoldvers) with a constant variable.
Nicholas Clark [Sun, 22 Feb 2009 17:24:04 +0000]
In S_incpush(), replace (addsubdirs || addoldvers) with a constant variable.

15 years agoIn S_init_perllib(), s can be const char*
Nicholas Clark [Sun, 22 Feb 2009 13:05:38 +0000]
In S_init_perllib(), s can be const char*

15 years agoIn S_init_perllib(), only call PerlEnv_getenv("PERL5LIB") once.
Nicholas Clark [Sun, 22 Feb 2009 12:55:49 +0000]
In S_init_perllib(), only call PerlEnv_getenv("PERL5LIB") once.

15 years agoUnwind the implicit loop in S_init_perllib(), by writing the code out longhand.
Nicholas Clark [Sun, 22 Feb 2009 12:34:29 +0000]
Unwind the implicit loop in S_init_perllib(), by writing the code out longhand.
Call it only once, remove the old_vers parameter, and all the related
conditional code.

15 years agoChange the value passed into S_init_perllib() to a boolean flag.
Nicholas Clark [Sat, 21 Feb 2009 17:23:46 +0000]
Change the value passed into S_init_perllib() to a boolean flag.

15 years agoNetWare has PRIVLIB_EXP as something other than a string constant. Cope with it.
Nicholas Clark [Sat, 21 Feb 2009 07:06:06 +0000]
NetWare has PRIVLIB_EXP as something other than a string constant. Cope with it.

15 years agoUse "system" gmtime in time64 on VMS so C<vmsish 'time'> pragma works.
Craig A. Berry [Sat, 21 Feb 2009 20:46:27 +0000]
Use "system" gmtime in time64 on VMS so C<vmsish 'time'> pragma works.

It's not really the system gmtime; it's the homegrown one in vms/vms.c
that checks hints and does shifting between UTC and local time when
requested.

15 years agoIn S_init_perllib(), correct errors in the MACOS_TRADITIONAL conditional code.
Nicholas Clark [Sat, 21 Feb 2009 18:04:08 +0000]
In S_init_perllib(), correct errors in the MACOS_TRADITIONAL conditional code.
(Errors that originated in a26c0e281cb6068a8d148933281d8186f1eb4206 and
50d61629dc7fe34f077b9f66c50287d839e06378)

15 years agoRe-apply changes 4adc95e616bac7ee and 200cbd6aa595a074 (RT #61492)
Nicholas Clark [Sat, 21 Feb 2009 08:41:14 +0000]
Re-apply changes 4adc95e616bac7ee and 200cbd6aa595a074 (RT #61492)
(ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically
linked)(We'd failed to send this one upstream. Bad us.)

15 years agoUpgrade to ExtUtils::MakeMaker 6.49_01
Nicholas Clark [Sat, 21 Feb 2009 08:11:13 +0000]
Upgrade to ExtUtils::MakeMaker 6.49_01

15 years agoSkip time64 when there is no 64-bit integer type available.
Craig A. Berry [Sat, 21 Feb 2009 04:58:55 +0000]
Skip time64 when there is no 64-bit integer type available.

The y2038 code currently requires that a 64-bit integer type be available,
so the build falls down hard if we try to use it where there isn't one.  A
better fix might be to try NV for time_t and a 32-bit integer for year.

N.B.  We test for the definedness of Quad_t rather than HAS_QUAD since the
latter is explicitly undef'd in the case where 64-bit types are available
but are not being used for Perl's IV and UV.

15 years agoAvoid VMS long filename support on older systems that don't have it.
Craig A. Berry [Fri, 20 Feb 2009 23:43:08 +0000]
Avoid VMS long filename support on older systems that don't have it.

15 years agoMove redefinition of lstat above its first use in vms/vms.c.
Craig A. Berry [Fri, 20 Feb 2009 23:37:47 +0000]
Move redefinition of lstat above its first use in vms/vms.c.

15 years agoMore smartmatch tests
Rafael Garcia-Suarez [Fri, 20 Feb 2009 23:06:22 +0000]
More smartmatch tests

This includes a TODO for overloaded objects.
Tests will need to be augmented and better organized.

15 years agoAdd a parameter to win32_get_{priv,site,vendor}lib(), to return the length,
Nicholas Clark [Fri, 20 Feb 2009 20:09:16 +0000]
Add a parameter to win32_get_{priv,site,vendor}lib(), to return the length,
as we already know it, and use it in S_init_perllib() to save a strlen() in
S_incpush_use_sep().

15 years agoText::Wrap maintained via the CPAN release
Steffen Mueller [Fri, 20 Feb 2009 18:22:57 +0000]
Text::Wrap maintained via the CPAN release

15 years agoCheck for thread failure in prime number example
Jerry D. Hedden [Fri, 20 Feb 2009 14:45:41 +0000]
Check for thread failure in prime number example

15 years agoSilence a casting warning with memchr()
Rafael Garcia-Suarez [Fri, 20 Feb 2009 13:45:36 +0000]
Silence a casting warning with memchr()

15 years agoWonky example in perlthrtut
Alex Davies [Fri, 20 Feb 2009 08:39:29 +0000]
Wonky example in perlthrtut

Fix at least the syntax of the example.
See : Message-ID: <F00A81D78228413FBED223C3919BE75B@Amelie>

15 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Leon Brocard [Fri, 20 Feb 2009 08:31:40 +0000]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

15 years agoRemove the -x from the cherry pick and show how to merge the whole branch (suggested...
Leon Brocard [Fri, 20 Feb 2009 08:30:59 +0000]
Remove the -x from the cherry pick and show how to merge the whole branch (suggested by rgs)

15 years agoReorder and complete tests for smart matching with objects
Rafael Garcia-Suarez [Tue, 17 Feb 2009 12:56:43 +0000]
Reorder and complete tests for smart matching with objects

15 years agoFix {%hash} ~~ %hash test
Rafael Garcia-Suarez [Tue, 17 Feb 2009 07:22:44 +0000]
Fix {%hash} ~~ %hash test

This was not parsed as a smart match, because {%hash} was taken
as a block, not a an anonymous hash.

Also, avoid to construct an anonymous hash with an odd number of
elements.

15 years agoBetter diagnostics for the ~~ test
Rafael Garcia-Suarez [Tue, 17 Feb 2009 06:50:16 +0000]
Better diagnostics for the ~~ test

Read from DATA line per line, so warnings are reported from the correct
line. Make test names and error reports more readable.

15 years agoRemove an extra space
Leon Brocard [Fri, 20 Feb 2009 08:25:18 +0000]
Remove an extra space

15 years agoAdd a section on merging from a branch via GitHub
Leon Brocard [Fri, 20 Feb 2009 08:22:23 +0000]
Add a section on merging from a branch via GitHub

15 years agoFixed missing word in Text::Wrap POD
Dan Dascalescu [Fri, 20 Feb 2009 06:48:09 +0000]
Fixed missing word in Text::Wrap POD
(cherry picked from commit 3adac458cb1c1d41af47fc66e67b49c8dec2323f)

15 years ago[PATCH] DB_File 1.819
Paul Marquess [Thu, 19 Feb 2009 09:15:01 +0000]
[PATCH] DB_File 1.819

Small change to t/db-recno.t [RT# 43288]

Message-ID: <00ad01c99214$89f5fa50$9de1eef0$@Marquess@ntlworld.com>

15 years agoRemove the stub nw_get_sitelib(), and undefine SITELIB_EXP for NetWare.
Nicholas Clark [Wed, 18 Feb 2009 15:28:12 +0000]
Remove the stub nw_get_sitelib(), and undefine SITELIB_EXP for NetWare.
(nw_get_sitelib() was hard coded to return NULL, which is a slower equivalent
to simply not defining SITELIB_EXP in the first place. I suspect a cargo cult
of win32/ without actually taking the time to understand it.)

15 years agoPass the length of the string to S_incpush_use_sep(), where known.
Nicholas Clark [Tue, 17 Feb 2009 23:24:32 +0000]
Pass the length of the string to S_incpush_use_sep(), where known.

15 years agoTests for S_incpush_use_sep() splitting on : (or platform equivalent)
Nicholas Clark [Tue, 17 Feb 2009 22:57:56 +0000]
Tests for S_incpush_use_sep() splitting on : (or platform equivalent)

15 years agoIn runenv.t, break apart running perl and testing the output into two functions.
Nicholas Clark [Tue, 17 Feb 2009 20:18:39 +0000]
In runenv.t, break apart running perl and testing the output into two functions.

15 years agoGet $ENV{PERL5LIB} into a known consistent state under TEST - delete it!
Nicholas Clark [Tue, 17 Feb 2009 17:11:25 +0000]
Get $ENV{PERL5LIB} into a known consistent state under TEST - delete it!
(It doesn't strike me as good that t/TEST and t/harness are inconsistent -
the former runs every test with -MTestInit; the latter sets $ENV{PERL5LIB} to
'../lib'; and on the gripping hand, we have boilerplate in every test to set
@INC. No choice seems ideal.

15 years agoIn S_incpush(), avoid "possible loss of data" warnings from the C compiler.
Nicholas Clark [Tue, 17 Feb 2009 08:48:45 +0000]
In S_incpush(), avoid "possible loss of data" warnings from the C compiler.

15 years agoMove PERL_VERSION_STRING from patchlevel.h to perl.h
Nicholas Clark [Mon, 16 Feb 2009 23:55:58 +0000]
Move PERL_VERSION_STRING from patchlevel.h to perl.h
(and revert a89d24b9fe54d44395806c16ac1c19f3c678cbbb)
It's getting too complex to work around some versions of awk which don't want
to implement the regular expressions that they are documented to implement.

15 years agoIgnore #defines in in patchlevel.h that end the line with backslash.
Nicholas Clark [Mon, 16 Feb 2009 22:47:54 +0000]
Ignore #defines in in patchlevel.h that end the line with backslash.
(Otherwise config.sh ends up with part of PERL_VERSION_STRING, and the build
chokes to a stop.)

15 years agoAs WIN32 is already using different flags to incpush_use_sep for SITELIB_EXP,
Nicholas Clark [Mon, 16 Feb 2009 22:27:58 +0000]
As WIN32 is already using different flags to incpush_use_sep for SITELIB_EXP,
VENDORLIB_EXP and PRIVLIB_EXP, requiring conditional compilation, it doesn't
feel like extra complexity to make explict calls in S_init_perllib() to the 3
win32_*() functions they expand to, which allows a NULL pointer check.

15 years agoBy spliting PERL_ARCH_FMT into PERL_ARCH_FMT_PREFIX and SUFFIX, we can replace
Nicholas Clark [Mon, 16 Feb 2009 22:21:15 +0000]
By spliting PERL_ARCH_FMT into PERL_ARCH_FMT_PREFIX and SUFFIX, we can replace
two more Perl_sv_setpvf()s with sv_setsv()/sv_catpvs() pairs.

15 years agoAs PERL_ARCH_FMT_PATH is a compile time constant, can simplify one sv_setpvf()
Nicholas Clark [Mon, 16 Feb 2009 22:03:35 +0000]
As PERL_ARCH_FMT_PATH is a compile time constant, can simplify one sv_setpvf()
to sv_setsv() and sv_catpvs().

15 years agoPERL_FS_VER_FMT is only used with the current perl version, which is known at
Nicholas Clark [Mon, 16 Feb 2009 22:00:14 +0000]
PERL_FS_VER_FMT is only used with the current perl version, which is known at
compile time, so replace it with PERL_FS_VERSION, a compile time constant.

15 years agoAbolish PERL_AV_SUFFIX_FMT, which was rendered obsolescent 8 years ago with
Nicholas Clark [Mon, 16 Feb 2009 21:42:54 +0000]
Abolish PERL_AV_SUFFIX_FMT, which was rendered obsolescent 8 years ago with
084592ab0b76f3cbd4d089afb08ccea7ba1c9dd8.

15 years agoReplace *printf "%d.%d.%d", PERL_REVISION, PERL_VERSION, PERL_SUBVERSION
Nicholas Clark [Mon, 16 Feb 2009 21:16:21 +0000]
Replace *printf "%d.%d.%d", PERL_REVISION, PERL_VERSION, PERL_SUBVERSION
with PERL_VERSION_STRING, which can be determined at compile time, as a
constant string.

15 years agoUpdate copyright years. 2008 sneaks in because of 46807d8e809cc127621bf85d9e9
Nicholas Clark [Mon, 16 Feb 2009 21:15:17 +0000]
Update copyright years. 2008 sneaks in because of 46807d8e809cc127621bf85d9e9

15 years agoadd missing perforce-era entry to Changes files
David Mitchell [Mon, 16 Feb 2009 16:37:00 +0000]
add missing perforce-era entry to Changes files

15 years agoUse tempfile() in tests
Bram [Mon, 16 Feb 2009 15:07:19 +0000]
Use tempfile() in tests

15 years agoDon't add PRIVLIB_EXP to @INC twice.
Nicholas Clark [Mon, 16 Feb 2009 11:14:28 +0000]
Don't add PRIVLIB_EXP to @INC twice.

15 years ago[perl #63234] [DOC PATCH] fix some missing parts of IO::Handle pod
Zsban Ambrus [Mon, 16 Feb 2009 11:18:19 +0000]
[perl #63234] [DOC PATCH] fix some missing parts of IO::Handle pod

This documents the previously undocumented fcntl and ioctl methods, and
adds a see also to the IO::File module where the documentation refers
to one of its methods.

15 years agoUpgrade to Encode 2.31
Dan Kogai [Mon, 16 Feb 2009 10:45:53 +0000]
Upgrade to Encode 2.31

15 years agoExtra regex tests
Bram [Mon, 16 Feb 2009 10:22:40 +0000]
Extra regex tests

Message-ID: <20090215185207.gsnhhqdegckws0co@horde.wizbit.be>
Message-ID: <20090215210634.u02f15b284ogc4s4@horde.wizbit.be>

15 years agoYves states that patches to ExtUtils::Install should go to blead first
Rafael Garcia-Suarez [Mon, 16 Feb 2009 10:09:12 +0000]
Yves states that patches to ExtUtils::Install should go to blead first

15 years agoEnsure that the pointer to S_incpush_use_sep() is never NULL.
Nicholas Clark [Sun, 15 Feb 2009 21:53:50 +0000]
Ensure that the pointer to S_incpush_use_sep() is never NULL.

15 years agoIn @INC, move ARCHLIB and PRIVLIB after the current version's site_perl and
Nicholas Clark [Sun, 15 Feb 2009 16:51:10 +0000]
In @INC, move ARCHLIB and PRIVLIB after the current version's site_perl and
vendor_perl.

15 years agoLoop in S_init_perllib(), only calling S_incpush*() with INCPUSH_ADD_OLD_VERS
Nicholas Clark [Sun, 15 Feb 2009 16:18:34 +0000]
Loop in S_init_perllib(), only calling S_incpush*() with INCPUSH_ADD_OLD_VERS
the second time (and only for those entries at had it). Implement the loop by
calling init_perllib() twice, to avoid a rats nest of re-indenting. Add a new
flag to S_incpush() INCPUSH_NOT_BASEDIR, to supress pushing the base directory
a second time on the secnod call.

With this change, re-ordering of @INC from version-orientated to prefix-
orientated is partly complete. ARCHLIB and PRIVLIB remain at their old place in
the @INC order.

15 years agoRefactor the separator splitting loop of S_incpush() into a S_incpush_use_sep().
Nicholas Clark [Sun, 15 Feb 2009 14:35:36 +0000]
Refactor the separator splitting loop of S_incpush() into a S_incpush_use_sep().
Add a parameter to S_incpush() to optionally pass in the length. As S_incpush()
treats the directory parameter as const char, remove some malloc()s elsewhere
that were copying data on the assumption that it was not const safe.

15 years agoIn S_incpush(), rename the parameter from dir to p, rather than copying it.
Nicholas Clark [Sun, 15 Feb 2009 14:01:18 +0000]
In S_incpush(), rename the parameter from dir to p, rather than copying it.

15 years agoExtUtils::Install VMS extended character set support
John Malmberg [Sun, 15 Feb 2009 15:25:10 +0000]
ExtUtils::Install VMS extended character set support

Preview from https://rt.cpan.org/Ticket/Display.html?id=42149

15 years agoRefactor S_incpush() to take 1 flags parameter, instead of 5 positional booleans
Nicholas Clark [Sun, 15 Feb 2009 12:05:55 +0000]
Refactor S_incpush() to take 1 flags parameter, instead of 5 positional booleans
(which are impossible to remember).

15 years agoFor -I, need to also unshift version and architecture libs onto @INC (RT#6665)
Nicholas Clark [Sun, 15 Feb 2009 11:27:51 +0000]
For -I, need to also unshift version and architecture libs onto @INC (RT#6665)
(20189146be79a0596543441fa369c6bf7f85103f only added the given directory.)

15 years agoClear Module::Build smoke on VMS while waiting for upstream.
Craig A. Berry [Sat, 14 Feb 2009 19:08:33 +0000]
Clear Module::Build smoke on VMS while waiting for upstream.

Except for the version bump, this is the same as:

https://rt.cpan.org/Public/Bug/Display.html?id=42724

15 years agoAdd git_version.h to private so that make distclean deletes it.
Nicholas Clark [Sat, 14 Feb 2009 18:53:32 +0000]
Add git_version.h to private so that make distclean deletes it.
(It was already in a different target that caused make clean to delete it.)

15 years agoIgnore the OS X GNUmakefile*s, and t/test_state.
Nicholas Clark [Sat, 14 Feb 2009 18:30:02 +0000]
Ignore the OS X GNUmakefile*s, and t/test_state.

15 years agoIgnore lib/NDBM_File.pm
Nicholas Clark [Sat, 14 Feb 2009 18:29:37 +0000]
Ignore lib/NDBM_File.pm

15 years agoMake git-find-p4-change only find changes done under perforce.
David Mitchell [Sat, 14 Feb 2009 17:26:11 +0000]
Make git-find-p4-change only find changes done under perforce.
That way, later cherry-picking that happens to copy the 'p4raw-id:'
text won't be located by mistake.

15 years agoForbid to use "foreach" as an attribute
Rafael Garcia-Suarez [Sat, 14 Feb 2009 09:04:07 +0000]
Forbid to use "foreach" as an attribute

(like all other control flow statements)

15 years agoMore tests for coderefs and smart match
Rafael Garcia-Suarez [Fri, 13 Feb 2009 23:16:20 +0000]
More tests for coderefs and smart match

15 years agoRemove code that has never been used in any test
Rafael Garcia-Suarez [Fri, 13 Feb 2009 22:20:11 +0000]
Remove code that has never been used in any test

15 years agoHandle uninitialized interpreter when performing vmsish pragma checks.
Craig A. Berry [Fri, 13 Feb 2009 21:26:00 +0000]
Handle uninitialized interpreter when performing vmsish pragma checks.

15 years ago$object ~~ undef should always test for definedness
Rafael Garcia-Suarez [Fri, 13 Feb 2009 21:08:06 +0000]
$object ~~ undef should always test for definedness

(even if $object hasn't overloaded the ~~ operator)

15 years agoAdd tests for undef smart-matching
Rafael Garcia-Suarez [Fri, 13 Feb 2009 20:57:41 +0000]
Add tests for undef smart-matching

15 years agoDocument error "Smart matching a non-overloaded object breaks encapsulation"
Rafael Garcia-Suarez [Fri, 13 Feb 2009 15:59:22 +0000]
Document error "Smart matching a non-overloaded object breaks encapsulation"

That error was added in e67b97bd974194ad616acbb7813c5631aacd6be7

15 years agoRemove obsolete comment; document test format
Rafael Garcia-Suarez [Fri, 13 Feb 2009 14:59:28 +0000]
Remove obsolete comment; document test format

15 years agoMore tests for array-ref smart match
Rafael Garcia-Suarez [Fri, 13 Feb 2009 15:23:28 +0000]
More tests for array-ref smart match

15 years agoRemove one of the two definitions of the a_const contant sub
Rafael Garcia-Suarez [Fri, 13 Feb 2009 15:17:30 +0000]
Remove one of the two definitions of the a_const contant sub

15 years agoMore gitignore adjustments
Rafael Garcia-Suarez [Fri, 13 Feb 2009 14:47:39 +0000]
More gitignore adjustments

Ignore lib/Attribute, now that Attribute::Handlers is under ext/.

Ignore generated Makefile.PL files for Safe and Attribute-Handlers.
I preferred putting those in specific .gitignore files instead of
ignoring Makefile.PLs in the whole ext/ hierarchy, in order to
ensure a less confusing git behaviour for future generations.

15 years agoRemove double slash in MANIFEST
Rafael Garcia-Suarez [Thu, 12 Feb 2009 21:21:44 +0000]
Remove double slash in MANIFEST

(so Porting/manicheck does not complain)

15 years agoMove Attribute::Handlers from lib to ext. The layout in ext is the same as the
Nicholas Clark [Thu, 12 Feb 2009 21:02:24 +0000]
Move Attribute::Handlers from lib to ext. The layout in ext is the same as the
CPAN distribution, which simplifies dual life module maintenance.

15 years agomake_ext.pl now generates a Makefile.PL if needed.
Nicholas Clark [Thu, 12 Feb 2009 20:43:49 +0000]
make_ext.pl now generates a Makefile.PL if needed.
Remove ext/Safe/Makefile.PL as a proof of concept.

15 years agoFind extensions on VMS even when they don't have a Makefile.PL.
Craig A. Berry [Thu, 12 Feb 2009 19:22:22 +0000]
Find extensions on VMS even when they don't have a Makefile.PL.

15 years agoUnigue test file names in t/lib/warnings/9enabled
Jerry D. Hedden [Thu, 12 Feb 2009 16:16:15 +0000]
Unigue test file names in t/lib/warnings/9enabled

15 years agoUpgrade to Math-Complex-1.56
Steve Hay [Thu, 12 Feb 2009 14:50:16 +0000]
Upgrade to Math-Complex-1.56

15 years agowin32/ext doesn't exist any more, so no need to look there for extensions
Steve Hay [Thu, 12 Feb 2009 11:16:20 +0000]
win32/ext doesn't exist any more, so no need to look there for extensions

15 years agowin32/ext doesn't exist any more, so no need to look there for tests
Steve Hay [Thu, 12 Feb 2009 10:46:32 +0000]
win32/ext doesn't exist any more, so no need to look there for tests

15 years agoIgnore some temporary files created by ext/DB_File.
Florian Ragwitz [Thu, 12 Feb 2009 10:42:24 +0000]
Ignore some temporary files created by ext/DB_File.

15 years agoUpdate .gitignore with new flat extension path
Steve Hay [Thu, 12 Feb 2009 10:17:21 +0000]
Update .gitignore with new flat extension path

15 years agoSkip tests for flattened extensions that weren't built.
Steve Hay [Thu, 12 Feb 2009 10:14:07 +0000]
Skip tests for flattened extensions that weren't built.

Commit 6ebb0601826917b6ce1b97a2bdd6577110416c64 missed t/harness,
which Win32 uses rather than t/TEST.

Also, make the new variable my().

15 years agoFix MANIFEST for CPAN 1.93_51 inclusion
Rafael Garcia-Suarez [Thu, 12 Feb 2009 09:20:52 +0000]
Fix MANIFEST for CPAN 1.93_51 inclusion