16 years agoStub 'has_attribute' and make 'has' use 'add_attribute'
Shawn M Moore [Tue, 17 Jun 2008 03:38:45 +0000]
Stub 'has_attribute' and make 'has' use 'add_attribute'

16 years agoTest that "has" adds an attribute to the role
Shawn M Moore [Tue, 17 Jun 2008 03:38:38 +0000]
Test that "has" adds an attribute to the role

16 years agoGive Meta::Role a name method
Shawn M Moore [Tue, 17 Jun 2008 03:27:29 +0000]
Give Meta::Role a name method

16 years agoBegin actually filling out Mouse::Meta::Role
Shawn M Moore [Tue, 17 Jun 2008 03:27:20 +0000]
Begin actually filling out Mouse::Meta::Role

16 years agosymbol lineup is mandatory
Shawn M Moore [Tue, 17 Jun 2008 03:27:05 +0000]
symbol lineup is mandatory

16 years agoBegin adding a Mouse::Meta::Role which is accessible through Role->meta
Shawn M Moore [Tue, 17 Jun 2008 03:26:57 +0000]
Begin adding a Mouse::Meta::Role which is accessible through Role->meta

16 years agoBegin writing tests for Mouse::Meta::Role
Shawn M Moore [Tue, 17 Jun 2008 03:26:48 +0000]
Begin writing tests for Mouse::Meta::Role

16 years agoExport and test blessed and confess
Shawn M Moore [Tue, 17 Jun 2008 02:54:15 +0000]
Export and test blessed and confess

16 years agoMake sure that required/excludes don't explode
Shawn M Moore [Tue, 17 Jun 2008 02:49:22 +0000]
Make sure that required/excludes don't explode

16 years agoMake sure "with" works
Shawn M Moore [Tue, 17 Jun 2008 02:49:09 +0000]
Make sure "with" works

16 years agoMake sure that "has" doesn't blow up
Shawn M Moore [Tue, 17 Jun 2008 02:49:03 +0000]
Make sure that "has" doesn't blow up

16 years agoTest that before/after/around live, and defining a sub within a role
Shawn M Moore [Tue, 17 Jun 2008 02:40:57 +0000]
Test that before/after/around live, and defining a sub within a role

16 years agoAdjust the Role::extends error message to match Moose's ;)
Shawn M Moore [Tue, 17 Jun 2008 02:37:03 +0000]
Adjust the Role::extends error message to match Moose's ;)

16 years agoBlow up when someone tries to use a role extends
Shawn M Moore [Tue, 17 Jun 2008 02:31:39 +0000]
Blow up when someone tries to use a role extends

16 years agoBegin adding Mouse::Role
Shawn M Moore [Tue, 17 Jun 2008 02:24:37 +0000]
Begin adding Mouse::Role

16 years agoBegin writing tests for Mouse::Role
Shawn M Moore [Tue, 17 Jun 2008 02:24:32 +0000]
Begin writing tests for Mouse::Role

16 years agoversion bump to 0.05
Yuval Kogman [Tue, 17 Jun 2008 01:58:23 +0000]
version bump to 0.05

16 years agochangelog date 0.04
Yuval Kogman [Tue, 17 Jun 2008 01:56:56 +0000]
changelog date

16 years agochangelog
Yuval Kogman [Tue, 17 Jun 2008 01:55:21 +0000]
changelog

16 years agois_lazy_build
Yuval Kogman [Tue, 17 Jun 2008 01:42:36 +0000]
is_lazy_build

16 years agolazy_build arg processing copied from Moose
Yuval Kogman [Tue, 17 Jun 2008 01:41:57 +0000]
lazy_build arg processing copied from Moose

16 years agofix the failing test, only call ->meta on a linearized isa member if ->can('meta')
Yuval Kogman [Mon, 16 Jun 2008 22:16:26 +0000]
fix the failing test, only call ->meta on a linearized isa member if ->can('meta')

16 years agofailing test for inheriting from non Mouse class
Yuval Kogman [Mon, 16 Jun 2008 22:13:59 +0000]
failing test for inheriting from non Mouse class

16 years agoimplement lazy_build
Yuval Kogman [Mon, 16 Jun 2008 21:51:47 +0000]
implement lazy_build

16 years agoBegin adding support for has +name
Shawn M Moore [Sun, 15 Jun 2008 18:35:14 +0000]
Begin adding support for has +name

16 years agoMove validate_args out into a separate method
Shawn M Moore [Sun, 15 Jun 2008 18:34:53 +0000]
Move validate_args out into a separate method

16 years agoBegin adding tests for has +foo
Shawn M Moore [Sun, 15 Jun 2008 18:34:46 +0000]
Begin adding tests for has +foo

16 years agoBump to 0.04
Shawn M Moore [Fri, 13 Jun 2008 01:58:40 +0000]
Bump to 0.04

16 years ago0.03
Shawn M Moore [Fri, 13 Jun 2008 01:58:31 +0000]
0.03

16 years agoAdd support for undef init_arg
Shawn M Moore [Fri, 13 Jun 2008 01:53:45 +0000]
Add support for undef init_arg

16 years agoAdd test for undef init_arg
Shawn M Moore [Fri, 13 Jun 2008 01:53:36 +0000]
Add test for undef init_arg

16 years agotests for has_attribute
Shawn M Moore [Fri, 13 Jun 2008 01:47:50 +0000]
tests for has_attribute

16 years agoMore tests for attributes and new
Shawn M Moore [Fri, 13 Jun 2008 01:43:48 +0000]
More tests for attributes and new

16 years agoAdd t/029-new.t for testing the constructor
Shawn M Moore [Fri, 13 Jun 2008 01:34:18 +0000]
Add t/029-new.t for testing the constructor

16 years agoAdd the Point example from Moose's tests. Except for method and type constraint stuff...
Shawn M Moore [Wed, 11 Jun 2008 11:04:39 +0000]
Add the Point example from Moose's tests. Except for method and type constraint stuff, it all passes. cool.

16 years agoAdd has_attribute, rewrite Changes to be Moosier :)
Shawn M Moore [Wed, 11 Jun 2008 11:04:33 +0000]
Add has_attribute, rewrite Changes to be Moosier :)

16 years agoUse compute_all_applicable_attributes instead of get_attribute_map in the constructor...
Shawn M Moore [Wed, 11 Jun 2008 11:04:07 +0000]
Use compute_all_applicable_attributes instead of get_attribute_map in the constructor, a test for the former

16 years agoAdd compute_all_applicable_attributes
Shawn M Moore [Wed, 11 Jun 2008 11:03:51 +0000]
Add compute_all_applicable_attributes

16 years agoTest that subclassing looks at the superclass' attributes in the constructor (it...
Shawn M Moore [Wed, 11 Jun 2008 11:03:42 +0000]
Test that subclassing looks at the superclass' attributes in the constructor (it doesn't!)

16 years agoDoc updates
Shawn M Moore [Wed, 11 Jun 2008 11:03:35 +0000]
Doc updates

16 years agoAdd support for ->new({...})
Shawn M Moore [Wed, 11 Jun 2008 11:03:27 +0000]
Add support for ->new({...})

16 years agoAdd a test file for method modifiers
Shawn M Moore [Wed, 11 Jun 2008 11:03:14 +0000]
Add a test file for method modifiers

16 years agoUse Class::Method::Modifiers 1.00 for before/after/around
Shawn M Moore [Wed, 11 Jun 2008 11:03:08 +0000]
Use Class::Method::Modifiers 1.00 for before/after/around

16 years agoPrepare for release 0.02
Shawn M Moore [Wed, 11 Jun 2008 05:58:46 +0000]
Prepare for release 0.02

16 years agoBit more doc
Shawn M Moore [Wed, 11 Jun 2008 05:56:29 +0000]
Bit more doc

16 years agoImprove test code coverage of Squirrel
Shawn M Moore [Wed, 11 Jun 2008 05:36:12 +0000]
Improve test code coverage of Squirrel

16 years agoUpdate Changes
Shawn M Moore [Wed, 11 Jun 2008 05:20:17 +0000]
Update Changes

16 years agoWhoops, was loading Moose instead of Mouse..
Shawn M Moore [Wed, 11 Jun 2008 05:20:12 +0000]
Whoops, was loading Moose instead of Mouse..

16 years agoFix the order that BUILD methods are called in (thanks Robert Boone)
Shawn M Moore [Tue, 10 Jun 2008 19:11:56 +0000]
Fix the order that BUILD methods are called in (thanks Robert Boone)

16 years agoImprove BUILD/DEMOLISH tests to cover ordering
Shawn M Moore [Tue, 10 Jun 2008 19:10:28 +0000]
Improve BUILD/DEMOLISH tests to cover ordering

16 years agonumber squirrel.t
Yuval Kogman [Tue, 10 Jun 2008 14:22:13 +0000]
number squirrel.t

16 years agomore explaining
Yuval Kogman [Tue, 10 Jun 2008 14:21:36 +0000]
more explaining

16 years agoi speak english, i learn it from a book
Yuval Kogman [Tue, 10 Jun 2008 14:19:50 +0000]
i speak english, i learn it from a book

16 years agouse teh Squirrel
Yuval Kogman [Tue, 10 Jun 2008 14:04:06 +0000]
use teh Squirrel

16 years agov string not portable
Yuval Kogman [Tue, 10 Jun 2008 14:02:30 +0000]
v string not portable

16 years agoIgnore SIGNATURE file
Shawn M Moore [Tue, 10 Jun 2008 06:15:14 +0000]
Ignore SIGNATURE file

16 years agoSome final touches on the doc. This is 0.01.
Shawn M Moore [Tue, 10 Jun 2008 06:14:34 +0000]
Some final touches on the doc. This is 0.01.

16 years agoLots of doc
Shawn M Moore [Tue, 10 Jun 2008 06:11:04 +0000]
Lots of doc

16 years agoSome errors for auto_deref
Shawn M Moore [Tue, 10 Jun 2008 05:29:52 +0000]
Some errors for auto_deref

16 years agoImplementation of auto_deref
Shawn M Moore [Tue, 10 Jun 2008 05:26:11 +0000]
Implementation of auto_deref

16 years agoAdd failing tests for auto_deref, where I'll pick up next time
Shawn M Moore [Tue, 10 Jun 2008 05:12:10 +0000]
Add failing tests for auto_deref, where I'll pick up next time

16 years agoInvalid class names should throw an exception
Shawn M Moore [Tue, 10 Jun 2008 04:54:21 +0000]
Invalid class names should throw an exception

16 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

16 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

16 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

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

16 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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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