13 years agoUse cmp_ok() in place of ok() with a < comparison, for better diagnostics.
Nicholas Clark [Thu, 14 Apr 2011 17:23:23 +0000]
Use cmp_ok() in place of ok() with a < comparison, for better diagnostics.

Eliminate an unused lexical $tests.

13 years agoIn check_new(), tv can never be NULL, so assert() this.
Nicholas Clark [Thu, 14 Apr 2011 15:54:30 +0000]
In check_new(), tv can never be NULL, so assert() this.

This will simplify future refactoring.

13 years agoUse SvPVX_const() instead of SvPVX(), and const check_new().
Nicholas Clark [Thu, 14 Apr 2011 15:49:08 +0000]
Use SvPVX_const() instead of SvPVX(), and const check_new().

Also change check_new()'s return type to bool, as it only returns TRUE or FALSE,
and declare it static.

Without the consting, under -DDEBUGGING, the macro for SvPVX() assigns thing,
which is const SV *, to a void *, which elicits a legitimate compiler warning.
In turn, the return value of SvPVX_const() is const char *, which means that
check_new() needs to properly declare its parameter p as const void *.

13 years agoCatching SEGVs with __try/__except is MSVC only, not general C++
Nicholas Clark [Thu, 14 Apr 2011 13:19:15 +0000]
Catching SEGVs with __try/__except is MSVC only, not general C++

__try/__except is an MSVC extension to C++ *and* C, and is orthogonal to
"regular" C++ exception handling. As there's no way to catch a SEGV with
C++ exceptions (certainly not portably), and __try/__except is available in C,
there's nothing to be gained from using C++ exceptions, and hence making the
code require a C++ compiler. Hence remove the logic from Makefile.PL to force
compilation with a C++ compiler, which didn't even work well on "both" kinds of
OS, as it assumed that the C compiler was named *exactly* qr/\Ag?cc\z/, and
that the analogous C++ compiler was available and named g++.

[Which isn't true when it's named 'ccache gcc', 'gcc-mp-4.6' etc, or when cc
isn't gcc]

13 years agoNo need to explicitly check AvARYLEN in 5.10 and later.
Nicholas Clark [Thu, 14 Apr 2011 10:35:20 +0000]
No need to explicitly check AvARYLEN in 5.10 and later.

In 5.10 the struct slot was eliminated, and contents are now stored in magic,
which will already be found. Whilst there's no direct "harm" in looking again,
as the "seen" tracker will skip the second discovery, it's wasteful, and now
generates a compilation error, as AvARYLEN() expects a mutable pointer, whereas
the variable thing is const void *.

This also resolves CPAN RT #49437 - Devel::Size adds magic in Perl 5.10

13 years agoBump $VERSION to 0.72_50, ready for a development release.
Nicholas Clark [Thu, 14 Apr 2011 18:59:59 +0000]
Bump $VERSION to 0.72_50, ready for a development release.

13 years agoCorrect to 0.72 the CHANGES entry for the second "0.71".
Nicholas Clark [Thu, 14 Apr 2011 13:17:22 +0000]
Correct to 0.72 the CHANGES entry for the second "0.71".

13 years agoCorrect to 0.72 erroneous references to version '7.2'.
Nicholas Clark [Thu, 14 Apr 2011 13:04:43 +0000]
Correct to 0.72 erroneous references to version '7.2'.

13 years agoRemove DOS line endings from Makefile.PL and META.yml
Nicholas Clark [Thu, 14 Apr 2011 12:15:18 +0000]
Remove DOS line endings from Makefile.PL and META.yml

13 years agoimport Devel-Size 0.72 from CPAN
BrowserUk [Fri, 24 Oct 2008 21:28:13 +0000]
import Devel-Size 0.72 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.72
git-cpan-authorid: BROWSERUK
git-cpan-file:     authors/id/B/BR/BROWSERUK/Devel-Size-0.72.tar.gz

13 years agoimport Devel-Size 0.71 from CPAN
Tels [Sun, 24 Aug 2008 12:49:33 +0000]
import Devel-Size 0.71 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.71
git-cpan-authorid: TELS
git-cpan-file:     authors/id/T/TE/TELS/devel/Devel-Size-0.71.tar.gz

13 years ago0.70 as released to CPAN. (only metadata and Module::Install changes)
Tels [Sat, 16 Apr 2011 13:49:20 +0000]
0.70 as released to CPAN. (only metadata and Module::Install changes)

Module::Install upgraded to 0.77 from 0.71

13 years agoFix compilation under blead, and require at least 5.006
Tels [Sat, 16 Apr 2011 13:22:05 +0000]
Fix compilation under blead, and require at least 5.006

Compilation fix from Reini Urban.

Also, upgrade Module::Install to 0.71 from 0.68, and regenerate SIGNATURE.

13 years agoBump version to 0.70, and upgrade Module::Install to 0.88 from 0.85
Tels [Sat, 16 Apr 2011 13:17:37 +0000]
Bump version to 0.70, and upgrade Module::Install to 0.88 from 0.85

SIGNATURES has not been updated, hence changed files will fail the signature
test.

14 years agoimport Devel-Size 0.69 from CPAN
Tels [Sun, 12 Aug 2007 14:05:37 +0000]
import Devel-Size 0.69 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.69
git-cpan-authorid: TELS
git-cpan-file:     authors/id/T/TE/TELS/devel/Devel-Size-0.69.tar.gz

14 years agoimport Devel-Size 0.68 from CPAN
Tels [Tue, 12 Jun 2007 20:22:30 +0000]
import Devel-Size 0.68 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.68
git-cpan-authorid: TELS
git-cpan-file:     authors/id/T/TE/TELS/devel/Devel-Size-0.68.tar.gz

14 years agoimport Devel-Size 0.67 from CPAN
Tels [Thu, 15 Mar 2007 18:06:32 +0000]
import Devel-Size 0.67 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.67
git-cpan-authorid: TELS
git-cpan-file:     authors/id/T/TE/TELS/devel/Devel-Size-0.67.tar.gz

14 years agoimport Devel-Size 0.66 from CPAN
Tels [Fri, 2 Mar 2007 16:38:01 +0000]
import Devel-Size 0.66 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.66
git-cpan-authorid: TELS
git-cpan-file:     authors/id/T/TE/TELS/devel/Devel-Size-0.66.tar.gz

14 years agoimport Devel-Size 0.65 from CPAN
Tels [Sat, 24 Feb 2007 10:24:36 +0000]
import Devel-Size 0.65 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.65
git-cpan-authorid: TELS
git-cpan-file:     authors/id/T/TE/TELS/devel/Devel-Size-0.65.tar.gz

14 years agoimport Devel-Size 0.64 from CPAN
Dan Sugalski [Mon, 19 Dec 2005 23:51:47 +0000]
import Devel-Size 0.64 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.64
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.64.tar.gz

14 years agoimport Devel-Size 0.63 from CPAN
Dan Sugalski [Fri, 1 Jul 2005 16:43:17 +0000]
import Devel-Size 0.63 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.63
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.63.tar.gz

14 years agoimport Devel-Size 0.62 from CPAN
Dan Sugalski [Tue, 28 Jun 2005 16:01:59 +0000]
import Devel-Size 0.62 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.62
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.62.tar.gz

14 years agoimport Devel-Size 0.61 from CPAN
Dan Sugalski [Mon, 27 Jun 2005 20:24:51 +0000]
import Devel-Size 0.61 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.61
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.61.tar.gz

14 years agoimport Devel-Size 0.60 from CPAN
Dan Sugalski [Mon, 27 Jun 2005 20:06:45 +0000]
import Devel-Size 0.60 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.60
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.60.tar.gz

14 years agoimport Devel-Size 0.59 from CPAN
Dan Sugalski [Sat, 27 Nov 2004 21:45:06 +0000]
import Devel-Size 0.59 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.59
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.59.tar.gz

14 years agoimport Devel-Size 0.58 from CPAN
Dan Sugalski [Fri, 18 Jul 2003 16:56:24 +0000]
import Devel-Size 0.58 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.58
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.58.tar.gz

14 years agoimport Devel-Size 0.57 from CPAN
Dan Sugalski [Thu, 20 Mar 2003 18:15:45 +0000]
import Devel-Size 0.57 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.57
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.57.tar.gz

14 years agoimport Devel-Size 0.56 from CPAN
Dan Sugalski [Mon, 24 Feb 2003 16:44:26 +0000]
import Devel-Size 0.56 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.56
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.56.tar.gz

14 years agoimport Devel-Size 0.55 from CPAN
Dan Sugalski [Sun, 23 Feb 2003 17:03:51 +0000]
import Devel-Size 0.55 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.55
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.55.tar.gz

14 years agoimport Devel-Size 0.54 from CPAN
Dan Sugalski [Sat, 12 Oct 2002 18:14:42 +0000]
import Devel-Size 0.54 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.54
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.54.tar.gz

14 years agoimport Devel-Size 0.53 from CPAN
Dan Sugalski [Thu, 10 Oct 2002 19:34:33 +0000]
import Devel-Size 0.53 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.53
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.53.tar.gz

14 years agoimport Devel-Size 0.52 from CPAN
Dan Sugalski [Thu, 10 Oct 2002 04:11:06 +0000]
import Devel-Size 0.52 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.52
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.52.tar.gz

14 years agoimport Devel-Size 0.51 from CPAN
Dan Sugalski [Wed, 9 Oct 2002 18:48:27 +0000]
import Devel-Size 0.51 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.51
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.51.tar.gz

14 years agoimport Devel-Size 0.50 from CPAN
Dan Sugalski [Wed, 9 Oct 2002 17:28:49 +0000]
import Devel-Size 0.50 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.50
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.50.tar.gz

14 years agoimport Devel-Size 0.03 from CPAN
Dan Sugalski [Tue, 8 Oct 2002 18:04:15 +0000]
import Devel-Size 0.03 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.03
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.03.tar.gz

14 years agoimport Devel-Size 0.02 from CPAN
Dan Sugalski [Tue, 8 Oct 2002 17:53:32 +0000]
import Devel-Size 0.02 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.02
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.02.tar.gz

14 years agoinitial import of Devel-Size 0.01 from CPAN
Dan Sugalski [Tue, 8 Oct 2002 06:23:43 +0000]
initial import of Devel-Size 0.01 from CPAN

git-cpan-module:   Devel-Size
git-cpan-version:  0.01
git-cpan-authorid: DSUGAL
git-cpan-file:     authors/id/D/DS/DSUGAL/Devel-Size-0.01.tar.gz