15 years agoVarious is_class_loaded/load_class nits
Shawn M Moore [Tue, 10 Jun 2008 04:50:35 +0000]
Various is_class_loaded/load_class nits

15 years agoRevert to an earlier t/025-more-isa which gave better test coverage
Shawn M Moore [Tue, 10 Jun 2008 04:50:26 +0000]
Revert to an earlier t/025-more-isa which gave better test coverage

15 years agoReplace is_class_loaded with version from Class::MOP
Shawn M Moore [Tue, 10 Jun 2008 04:42:06 +0000]
Replace is_class_loaded with version from Class::MOP

15 years agoSome ClassName simplification and fixes
Shawn M Moore [Tue, 10 Jun 2008 04:34:10 +0000]
Some ClassName simplification and fixes

15 years agohave ClassName check use is_class_loaded
Shawn M Moore [Tue, 10 Jun 2008 04:33:56 +0000]
have ClassName check use is_class_loaded

15 years agoFinish moving Mouse::Attribute and Mouse::Class into Mouse::Meta::*
Shawn M Moore [Tue, 10 Jun 2008 04:24:40 +0000]
Finish moving Mouse::Attribute and Mouse::Class into Mouse::Meta::*

15 years agoBegin moving Moose::Attribute and Moose::Class into Moose::Meta::*
Shawn M Moore [Tue, 10 Jun 2008 04:24:16 +0000]
Begin moving Moose::Attribute and Moose::Class into Moose::Meta::*

15 years agoFinish the use of overload::StrVal, in verify_type_constraint
Shawn M Moore [Tue, 10 Jun 2008 04:15:05 +0000]
Finish the use of overload::StrVal, in verify_type_constraint

15 years agouse overload::StrVal in type-constraint errors
Shawn M Moore [Tue, 10 Jun 2008 04:14:57 +0000]
use overload::StrVal in type-constraint errors

15 years agoUse the correct hash keys with init_arg in the constructor
Shawn M Moore [Tue, 10 Jun 2008 04:01:36 +0000]
Use the correct hash keys with init_arg in the constructor

15 years agoMoose compat: init_arg is not used for the hash key, name is
Shawn M Moore [Tue, 10 Jun 2008 03:59:32 +0000]
Moose compat: init_arg is not used for the hash key, name is

15 years agoMoose compat: the weak_ref reader is spelled is_weak_ref, don't weaken nonreferences
Shawn M Moore [Tue, 10 Jun 2008 03:55:13 +0000]
Moose compat: the weak_ref reader is spelled is_weak_ref, don't weaken nonreferences

15 years agoMoose compat: the details of load_class. Check whether the package has any methods...
Shawn M Moore [Tue, 10 Jun 2008 03:46:21 +0000]
Moose compat: the details of load_class. Check whether the package has any methods, etc

15 years agoMoose compat: handles are not canonicalized in the meta attribute's storage, instead...
Shawn M Moore [Tue, 10 Jun 2008 03:31:01 +0000]
Moose compat: handles are not canonicalized in the meta attribute's storage, instead at handle generation time

15 years agoMoose compat: Remove Mouse::Class->attributes method in favor of get_attribute_map
Shawn M Moore [Tue, 10 Jun 2008 03:27:48 +0000]
Moose compat: Remove Mouse::Class->attributes method in favor of get_attribute_map

15 years agoDon't use meta in the reference test, Moose doesn't like it being invoked as a function
Shawn M Moore [Tue, 10 Jun 2008 03:25:14 +0000]
Don't use meta in the reference test, Moose doesn't like it being invoked as a function

15 years agoMoose compat: no longer an error to have a trigger on a readonly attribute
Shawn M Moore [Tue, 10 Jun 2008 03:10:27 +0000]
Moose compat: no longer an error to have a trigger on a readonly attribute

15 years agoFix a test bug where a value was being assigned to a reader and then checked for...
Shawn M Moore [Tue, 10 Jun 2008 03:07:33 +0000]
Fix a test bug where a value was being assigned to a reader and then checked for undef :)

15 years agoMoose compat: lazy-no-default error message
Shawn M Moore [Tue, 10 Jun 2008 02:58:26 +0000]
Moose compat: lazy-no-default error message

15 years agoMoose compat: required error message tweak
Shawn M Moore [Tue, 10 Jun 2008 02:58:11 +0000]
Moose compat: required error message tweak

15 years agoMoose compat: throw an error on $self->reader(value)
Shawn M Moore [Tue, 10 Jun 2008 02:57:38 +0000]
Moose compat: throw an error on $self->reader(value)

15 years agoMake sure that eager builder does not run after clearer
Shawn M Moore [Tue, 10 Jun 2008 02:44:37 +0000]
Make sure that eager builder does not run after clearer

15 years agoMake sure that predicate plays well with builder
Shawn M Moore [Tue, 10 Jun 2008 02:42:17 +0000]
Make sure that predicate plays well with builder

15 years agoTests and implementation for builder with lazy and clearer
Shawn M Moore [Tue, 10 Jun 2008 02:42:06 +0000]
Tests and implementation for builder with lazy and clearer

15 years agoImprove coverage of TypeRegistry
Shawn M Moore [Tue, 10 Jun 2008 02:26:39 +0000]
Improve coverage of TypeRegistry

15 years agoTest count fixes
Shawn M Moore [Tue, 10 Jun 2008 02:15:46 +0000]
Test count fixes

15 years agoLittle nits
Shawn M Moore [Tue, 10 Jun 2008 02:14:14 +0000]
Little nits

15 years agoMore glob/fh type tests
Shawn M Moore [Tue, 10 Jun 2008 02:14:05 +0000]
More glob/fh type tests

15 years agoFix type_constraint always being set to undef
Shawn M Moore [Tue, 10 Jun 2008 02:08:50 +0000]
Fix type_constraint always being set to undef

15 years agoTest that a badly typed default explodes
Shawn M Moore [Tue, 10 Jun 2008 01:57:54 +0000]
Test that a badly typed default explodes

15 years agoFactor out canonicalize_handles into a separate method
Shawn M Moore [Tue, 10 Jun 2008 01:57:47 +0000]
Factor out canonicalize_handles into a separate method

15 years agoImprove doc coverage, remove some needless methods
Shawn M Moore [Tue, 10 Jun 2008 01:42:22 +0000]
Improve doc coverage, remove some needless methods

15 years agoUnknown type constraints are now interpreted as blessed($value) eq $type
Shawn M Moore [Tue, 10 Jun 2008 01:41:45 +0000]
Unknown type constraints are now interpreted as blessed($value) eq $type

15 years agoIgnore autogenerated files
Shawn M Moore [Tue, 10 Jun 2008 01:28:30 +0000]
Ignore autogenerated files

15 years agoEek my original name is showing!
Shawn M Moore [Tue, 10 Jun 2008 01:28:24 +0000]
Eek my original name is showing!

15 years agoSome doc updates
Shawn M Moore [Tue, 10 Jun 2008 01:25:08 +0000]
Some doc updates

15 years agoUse Scalar::Util/Carp imports for brevity
Shawn M Moore [Tue, 10 Jun 2008 01:21:38 +0000]
Use Scalar::Util/Carp imports for brevity

15 years agoMore methodification, change some names to be what Moose::Meta::Attribute uses
Shawn M Moore [Tue, 10 Jun 2008 01:19:38 +0000]
More methodification, change some names to be what Moose::Meta::Attribute uses

15 years agoUse methods on attribute instead of poking directly in the hash
Shawn M Moore [Tue, 10 Jun 2008 01:11:26 +0000]
Use methods on attribute instead of poking directly in the hash

15 years agoIf we re-import Mouse, don't thrash the class's superclasses.
Shawn M Moore [Tue, 10 Jun 2008 01:04:37 +0000]
If we re-import Mouse, don't thrash the class's superclasses.

15 years agoImplementation of ClassName, borrowed from Moose
Shawn M Moore [Tue, 10 Jun 2008 00:52:57 +0000]
Implementation of ClassName, borrowed from Moose

15 years agoNums are Strs too
Shawn M Moore [Tue, 10 Jun 2008 00:50:28 +0000]
Nums are Strs too

15 years agoImplementations for all of the types except ClassName
Shawn M Moore [Tue, 10 Jun 2008 00:50:22 +0000]
Implementations for all of the types except ClassName

15 years agoRefactor the input of the type-constraint tests, tests are now complete, they just...
Shawn M Moore [Tue, 10 Jun 2008 00:50:15 +0000]
Refactor the input of the type-constraint tests, tests are now complete, they just fail miserably

15 years agoUse "undef" and avoid uninitialized warnings when the value we're type checking is...
Shawn M Moore [Mon, 9 Jun 2008 23:42:53 +0000]
Use "undef" and avoid uninitialized warnings when the value we're type checking is undef

15 years agoTests and implementation for Undef/Defined types
Shawn M Moore [Mon, 9 Jun 2008 23:41:46 +0000]
Tests and implementation for Undef/Defined types

15 years agobuilder now called in the constructor
Shawn M Moore [Wed, 4 Jun 2008 04:17:59 +0000]
builder now called in the constructor

15 years agoTests for builder
Shawn M Moore [Wed, 4 Jun 2008 04:10:09 +0000]
Tests for builder

15 years agoTests for bool, lock down the error message in the test
Shawn M Moore [Wed, 4 Jun 2008 04:05:08 +0000]
Tests for bool, lock down the error message in the test

15 years agoVerify type constraints in the constructor
Shawn M Moore [Wed, 4 Jun 2008 04:04:58 +0000]
Verify type constraints in the constructor

15 years agoAdd predicates to the informational Mouse::Attribute attributes
Shawn M Moore [Wed, 4 Jun 2008 04:04:50 +0000]
Add predicates to the informational Mouse::Attribute attributes

15 years agoCheck type constraint in the setter
Shawn M Moore [Wed, 4 Jun 2008 04:03:14 +0000]
Check type constraint in the setter

15 years agoBegin adding Mouse::TypeRegistry. All that's there for now is Bool
Shawn M Moore [Wed, 4 Jun 2008 04:03:01 +0000]
Begin adding Mouse::TypeRegistry. All that's there for now is Bool

15 years agoisa -> type_constraint
Shawn M Moore [Wed, 4 Jun 2008 04:02:52 +0000]
isa -> type_constraint

15 years agoFuture-proof init_arg => undef, that needs tests though
Shawn M Moore [Wed, 4 Jun 2008 04:02:45 +0000]
Future-proof init_arg => undef, that needs tests though

15 years agoAdd the attribute to the metaclass before installing the accessors
Shawn M Moore [Wed, 4 Jun 2008 04:02:35 +0000]
Add the attribute to the metaclass before installing the accessors

15 years agoExpand the isa tests a bit, all that's left is population of valid/invalid values
Shawn M Moore [Wed, 4 Jun 2008 04:02:24 +0000]
Expand the isa tests a bit, all that's left is population of valid/invalid values

15 years agoBegin adding brute-force tests for "isa"
Shawn M Moore [Wed, 4 Jun 2008 03:58:20 +0000]
Begin adding brute-force tests for "isa"

15 years agoImport Mouse
Shawn M Moore [Tue, 3 Jun 2008 20:06:58 +0000]
Import Mouse