15 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

15 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 ;)

15 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

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

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

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

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

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

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

15 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

15 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')

15 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

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

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

15 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

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

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

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

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

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

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

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

15 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

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

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

15 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

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

15 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!)

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

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

15 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

15 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

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

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

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

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

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

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

15 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

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

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

15 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

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

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

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

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

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

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

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

15 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

15 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

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