16 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

16 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

16 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 :)

16 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

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

16 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)

16 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

16 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

16 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

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

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

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

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

16 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

16 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

16 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

16 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

16 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

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

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

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

16 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

16 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

16 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

16 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.

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

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

16 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

16 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

16 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

16 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

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

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

16 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

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

16 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

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

16 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

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

16 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

16 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

16 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

16 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"

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