r27839 - in /trunk/libclass-methodmaker-perl: Changes MANIFEST MANIFEST.SKIP META.yml Makefile.PL MethodMaker.xs README SIGNATURE debian/changelog lib/Class/MethodMaker.pm lib/Class/MethodMaker/Engine.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Dec 6 18:10:37 UTC 2008
Author: gregoa
Date: Sat Dec 6 18:10:34 2008
New Revision: 27839
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27839
Log:
New upstream release.
Modified:
trunk/libclass-methodmaker-perl/Changes
trunk/libclass-methodmaker-perl/MANIFEST
trunk/libclass-methodmaker-perl/MANIFEST.SKIP
trunk/libclass-methodmaker-perl/META.yml
trunk/libclass-methodmaker-perl/Makefile.PL
trunk/libclass-methodmaker-perl/MethodMaker.xs
trunk/libclass-methodmaker-perl/README
trunk/libclass-methodmaker-perl/SIGNATURE
trunk/libclass-methodmaker-perl/debian/changelog
trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm
trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm
Modified: trunk/libclass-methodmaker-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/Changes?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/Changes (original)
+++ trunk/libclass-methodmaker-perl/Changes Sat Dec 6 18:10:34 2008
@@ -1,4 +1,8 @@
Revision History for Class::MethodMaker (versions 2)
+
+2.13 Dec 02 2008
+ - Improve diagnostics and avoid crash with bad arguments.
+ (Lubomir Rintel)
2.12 Jul 20 2008
- fixed warnings: Name " X::foo" used only once (#35840, #37023)
Modified: trunk/libclass-methodmaker-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/MANIFEST?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/MANIFEST (original)
+++ trunk/libclass-methodmaker-perl/MANIFEST Sat Dec 6 18:10:34 2008
@@ -1,31 +1,50 @@
-MANIFEST.SKIP
+benchmark/lexical.pl
Changes
-MANIFEST
-t/test.pm
-README
cmmg.pl
+components/array.m
+components/CommonMethods.pm
+components/hash.m
components/scalar.m
-components/array.m
-t/test_v1.pm
+configure
end.pod
+examples/simple1
+generate.PL
+Generate.pm
+INSTALL
lib/Class/.placeholder
-benchmark/lexical.pl
-components/hash.m
+lib/Class/MethodMaker.pm
+lib/Class/MethodMaker/Constants.pm
+lib/Class/MethodMaker/Engine.pm
lib/Class/MethodMaker/OptExt.pm
lib/Class/MethodMaker/V1Compat.pm
-lib/Class/MethodMaker/Engine.pm
+Makefile.PL
+MANIFEST
+MANIFEST.SKIP
+META.yml
+MethodMaker.xs
+README
+SIGNATURE
t/0-signature.t
t/array.t
t/basic.t
+t/diffclass.t
t/hash.t
t/new.t
+t/redefine-warnings.t
t/scalar.t
+t/test.pm
+t/test_v1.pm
t/v1_abstract.t
+t/v1_boolean.t
t/v1_code.t
t/v1_copy.t
+t/v1_counter.t
+t/v1_get_concat.t
t/v1_get_set.t
t/v1_get_set_hi.t
t/v1_hash.t
+t/v1_key_attrib.t
+t/v1_key_with_create.t
t/v1_list.t
t/v1_method.t
t/v1_new.t
@@ -36,6 +55,7 @@
t/v1_object_tie_list.t
t/v1_set_once.t
t/v1_set_once_static.t
+t/v1_singleton.t
t/v1_static_get_set.t
t/v1_static_hash.t
t/v1_static_list.t
@@ -43,23 +63,3 @@
t/v1_tie_list.t
t/v1_tie_scalar.t
TODO
-lib/Class/MethodMaker.pm
-examples/simple1
-components/CommonMethods.pm
-lib/Class/MethodMaker/Constants.pm
-t/v1_counter.t
-t/v1_get_concat.t
-t/v1_key_attrib.t
-t/v1_key_with_create.t
-t/v1_singleton.t
-t/diffclass.t
-INSTALL
-t/v1_boolean.t
-t/redefine-warnings.t
-generate.PL
-META.yml
-Generate.pm
-MethodMaker.xs
-Makefile.PL
-configure
-SIGNATURE Added here by Module::Build
Modified: trunk/libclass-methodmaker-perl/MANIFEST.SKIP
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/MANIFEST.SKIP?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/MANIFEST.SKIP (original)
+++ trunk/libclass-methodmaker-perl/MANIFEST.SKIP Sat Dec 6 18:10:34 2008
@@ -2,7 +2,6 @@
^(.*/)?.svn/.*
^Makefile(.old)?$
^Build$
-^META.yml$
^Clean$
^RollingBuild$
^blib/.*
@@ -24,3 +23,6 @@
^make-dist$
^MethodMaker\.(?:bs|o|c)$
^lib/Class/MethodMaker.xs$
+.git
+.gitignore
+^Class-MethodMaker-.*\..*$
Modified: trunk/libclass-methodmaker-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/META.yml?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/META.yml (original)
+++ trunk/libclass-methodmaker-perl/META.yml Sat Dec 6 18:10:34 2008
@@ -1,13 +1,19 @@
--- #YAML:1.0
-name: Class-MethodMaker
-version: 2.12
-abstract: a module for creating generic methods
-license: ~
-author:
+name: Class-MethodMaker
+version: 2.13
+abstract: a module for creating generic methods
+author:
- Martyn J. Pearce
-generated_by: ExtUtils::MakeMaker version 6.44
-distribution_type: module
-requires:
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+requires: {}
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.48
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: trunk/libclass-methodmaker-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/Makefile.PL?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/Makefile.PL (original)
+++ trunk/libclass-methodmaker-perl/Makefile.PL Sat Dec 6 18:10:34 2008
@@ -47,7 +47,7 @@
my %MakefileArgs = (
NAME => 'Class::MethodMaker',
DISTNAME => 'Class-MethodMaker',
- VERSION => '2.12',
+ VERSION => '2.13',
AUTHOR => 'Martyn J. Pearce ',
ABSTRACT => 'a module for creating generic methods',
PREREQ_PM => +{ },
Modified: trunk/libclass-methodmaker-perl/MethodMaker.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/MethodMaker.xs?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/MethodMaker.xs (original)
+++ trunk/libclass-methodmaker-perl/MethodMaker.xs Sat Dec 6 18:10:34 2008
@@ -4,8 +4,11 @@
MODULE = Class::MethodMaker PACKAGE = Class::MethodMaker
-void
+int
set_sub_name(SV *sub, char *pname, char *subname, char *stashname)
+ INIT:
+ if (!SvTRUE(ST(1)) || !SvTRUE(ST(2)) || !SvTRUE(ST(3)) || !SvTRUE(ST(4)))
+ XSRETURN_UNDEF;
CODE:
CvGV((GV*)SvRV(sub)) = gv_fetchpv(stashname, TRUE, SVt_PV);
GvSTASH(CvGV((GV*)SvRV(sub))) = gv_stashpv(pname, 1);
@@ -15,3 +18,4 @@
GvNAME(CvGV((GV*)SvRV(sub))) = savepv(subname);
GvNAMELEN(CvGV((GV*)SvRV(sub))) = strlen(subname);
#endif
+ RETVAL = 1;
Modified: trunk/libclass-methodmaker-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/README?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/README (original)
+++ trunk/libclass-methodmaker-perl/README Sat Dec 6 18:10:34 2008
@@ -40,6 +40,11 @@
class-mmaker-devel at lists.sourceforge.net
+Public Repository:
+
+ git clone git://github.com/renormalist/class-methodmaker.git
+ See also: http://github.com/renormalist/class-methodmaker
+
Copyright:
Copyright (c) 2004, 2003, 2002, 2001, 2000 Martyn J. Pearce. This program
Modified: trunk/libclass-methodmaker-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/SIGNATURE?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/SIGNATURE (original)
+++ trunk/libclass-methodmaker-perl/SIGNATURE Sat Dec 6 18:10:34 2008
@@ -14,15 +14,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 798e60755bacccd6505ae3f59b143fe8cbd0c07c Changes
+SHA1 a822d590f56f617cb23cf827caaec3f1e97da99a Changes
SHA1 b684a759c6fcf6378506173aec3dedec843a3696 Generate.pm
SHA1 efa8cb615886410be8de15f5a6925697f624d278 INSTALL
-SHA1 a9a33407fec2fc091f98179005334f08ab526242 MANIFEST
-SHA1 d7cabb1894a7a12f1bd594785378cfe6f2f2b489 MANIFEST.SKIP
-SHA1 8b7219891bdfc0f3a770dcdc2c1c7f0b27b07c89 META.yml
-SHA1 e8daee28774bcdb974192ea98fca12528f8e9c5b Makefile.PL
-SHA1 da6df21dd8f9b0be2a93a888f944177c3231561d MethodMaker.xs
-SHA1 d56038cc296a6d4d1f73d776d4f933c7120fc883 README
+SHA1 e8a64bd4340f5046ca339fd821fa8efc26f5b29e MANIFEST
+SHA1 57082e147b77092b33b57411451a6b9030823f95 MANIFEST.SKIP
+SHA1 1685072f58804e7a212bfcfbe42a635e55889edc META.yml
+SHA1 bcc0eb369709f11c51663333cbc1dafe049cb3bc Makefile.PL
+SHA1 3d15b1aed91b53e60cf737264af25a6f503dbc89 MethodMaker.xs
+SHA1 a79be83e67bf815b27b226ad1f2403a7d2390e0c README
SHA1 bf8192c64eff9a9356b0e45ef812457c7d672883 TODO
SHA1 c1fa07c05e01abd3456a21972ef20b5e0880bc4c benchmark/lexical.pl
SHA1 7fd6930bf946850e2a8b0ad1d151066b6f72f581 cmmg.pl
@@ -35,9 +35,9 @@
SHA1 d39160a9f9faf6a3036888015958afd5e6360dab examples/simple1
SHA1 76e80cf28137e0d2e623c5ae740f62fc2e7eb83e generate.PL
SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 lib/Class/.placeholder
-SHA1 f67c7f63fb9f783bfe06bfc75db6cd80a817074c lib/Class/MethodMaker.pm
+SHA1 5e7a054bce608c9a4718dc32a84205774e471d18 lib/Class/MethodMaker.pm
SHA1 e9cb30df1d39b6bf81a3eae841bba358220ae5b6 lib/Class/MethodMaker/Constants.pm
-SHA1 ae21905b3150d96a1255cc7ce807102a6c103c3c lib/Class/MethodMaker/Engine.pm
+SHA1 05441b91fe5e98a5adc6f31c87d635b80fa3e457 lib/Class/MethodMaker/Engine.pm
SHA1 58dba4e3ee75fda97d12a1dbd83cc5525f410c75 lib/Class/MethodMaker/OptExt.pm
SHA1 350e418e58d45880b9767d9deb41f37e2b1a9ce9 lib/Class/MethodMaker/V1Compat.pm
SHA1 c4ed60e219b8582ae5f9d4c2d4e5c63da90a1346 t/0-signature.t
@@ -79,9 +79,9 @@
SHA1 efdde2ef3a7c3192b2a8449fe047e2d2bd57581c t/v1_tie_list.t
SHA1 c9105cb7d439b524207ddbfdd5804c5ef7332790 t/v1_tie_scalar.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v1.4.9 (GNU/Linux)
-iD8DBQFIg6ldrQV5awgKugcRAjleAJ9CP3UiqPXEJwB6dbDwhyeN77J8vgCg6KGg
-RyxA7TUGZRqqcKe09mepMbg=
-=S7/b
+iEYEARECAAYFAkk14PYACgkQrQV5awgKugdOUACg5HKPsFZN5WSYKezVuC3ITzaI
+XmgAoKGEeyZhL2pDKcV5I6a/36pCz0s4
+=0/kz
-----END PGP SIGNATURE-----
Modified: trunk/libclass-methodmaker-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/debian/changelog?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/debian/changelog (original)
+++ trunk/libclass-methodmaker-perl/debian/changelog Sat Dec 6 18:10:34 2008
@@ -1,5 +1,6 @@
-libclass-methodmaker-perl (2.12-2) UNRELEASED; urgency=low
+libclass-methodmaker-perl (2.13-1) UNRELEASED; urgency=low
+ * New upstream release.
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
(source stanza).
* debian/control: Added: ${misc:Depends} to Depends: field.
Modified: trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm (original)
+++ trunk/libclass-methodmaker-perl/lib/Class/MethodMaker.pm Sat Dec 6 18:10:34 2008
@@ -6,7 +6,7 @@
use Class::MethodMaker::Engine qw();
# Make this line self-contained so MakeMaker can eval() it.
-our $VERSION = '2.12';
+our $VERSION = '2.13';
our $PACKAGE = 'Class-MethodMaker';
use XSLoader qw();
Modified: trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm?rev=27839&op=diff
==============================================================================
--- trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm (original)
+++ trunk/libclass-methodmaker-perl/lib/Class/MethodMaker/Engine.pm Sat Dec 6 18:10:34 2008
@@ -57,7 +57,7 @@
# -------------------------------------
our $PACKAGE = 'Class-MethodMaker';
-our $VERSION = '2.12';
+our $VERSION = '2.13';
# -------------------------------------
# CLASS CONSTRUCTION
@@ -778,7 +778,8 @@
*{$methname} = $code;
# Generate a unique stash name for the sub. Use a preceding space
# to avoid collisions with anything in the Perl space.
- Class::MethodMaker::set_sub_name($code, $target, $name, "${target}::${name}");
+ croak "Could not create stash name for '$name'"
+ unless Class::MethodMaker::set_sub_name($code, $target, $name, "${target}::${name}");
}
} else {
croak "What do you expect me to do with this?: $code\n";
More information about the Pkg-perl-cvs-commits
mailing list