15 years agoBump to 0.20
Shawn M Moore [Sun, 8 Mar 2009 08:39:22 +0000]
Bump to 0.20

15 years ago0.19 0.19
Shawn M Moore [Sun, 8 Mar 2009 08:38:14 +0000]
0.19

15 years ago0.19 changes
Shawn M Moore [Sun, 8 Mar 2009 08:37:26 +0000]
0.19 changes

15 years agoAvoid depending on method modifiers again
Shawn M Moore [Sun, 8 Mar 2009 08:36:16 +0000]
Avoid depending on method modifiers again

15 years agoDon't use a method modifier in a test, since they may not be available
Shawn M Moore [Sun, 8 Mar 2009 07:16:47 +0000]
Don't use a method modifier in a test, since they may not be available

15 years agooops, that used confess
Daisuke Maki [Sat, 7 Mar 2009 09:44:01 +0000]
oops, that used confess

15 years agoMake coercion work for parameterized types
Daisuke Maki [Sat, 7 Mar 2009 09:07:25 +0000]
Make coercion work for parameterized types

15 years agoproperly commit the newly created parameterized type to the registry (cache!)
Daisuke Maki [Sat, 7 Mar 2009 09:06:57 +0000]
properly commit the newly created parameterized type to the registry (cache!)

15 years agoI want parameterized types... I want it!
Daisuke Maki [Sat, 7 Mar 2009 08:40:26 +0000]
I want parameterized types... I want it!

15 years agooops. we want to use 'metaclass' in role, too :(
Tokuhiro Matsuno [Sat, 7 Mar 2009 01:32:11 +0000]
oops. we want to use 'metaclass' in role, too :(

15 years agoBump to 0.19
Shawn M Moore [Sat, 7 Mar 2009 00:14:59 +0000]
Bump to 0.19

15 years agoNo reason to do a string eval here
Shawn M Moore [Sat, 7 Mar 2009 00:14:22 +0000]
No reason to do a string eval here

15 years ago0.18 changes
Shawn M Moore [Sat, 7 Mar 2009 00:14:18 +0000]
0.18 changes

15 years agoNo real reason for MOUSE_DEBUG these days
Shawn M Moore [Sat, 7 Mar 2009 00:06:14 +0000]
No real reason for MOUSE_DEBUG these days

15 years agoNo need to skip these tests, since tokuhirom++ implemented role-role
Shawn M Moore [Sat, 7 Mar 2009 00:05:32 +0000]
No need to skip these tests, since tokuhirom++ implemented role-role
composition

15 years agoMore gitignore files
Shawn M Moore [Sat, 7 Mar 2009 00:03:41 +0000]
More gitignore files

15 years agoJust always depend on Scalar::Util 1.14
Shawn M Moore [Sat, 7 Mar 2009 00:02:07 +0000]
Just always depend on Scalar::Util 1.14

15 years agoadded YourClass->meta->add_attribute(foo => (is => 'ro', isa => 'Str')); support.
Tokuhiro Matsuno [Wed, 4 Mar 2009 23:49:51 +0000]
added YourClass->meta->add_attribute(foo => (is => 'ro', isa => 'Str')); support.

15 years agosupport Mouse->import({into_level => 1}).
Tokuhiro Matsuno [Wed, 4 Mar 2009 22:26:34 +0000]
support Mouse->import({into_level => 1}).
This feature is needed by any::moose based hacky classes(e.g. http::engine::middleware)

15 years agoadded .gitignore file for git-svn users
Tokuhiro Matsuno [Wed, 4 Mar 2009 22:26:21 +0000]
added .gitignore file for git-svn users

15 years agoreverting change: the correct answer is,
Daisuke Maki [Wed, 4 Mar 2009 01:43:49 +0000]
reverting change: the correct answer is,
    - when an attribute contains a trigger which may run upon
      initialization, you need to make sure that the associated
      trigger doesn't use another attribute, OR
    - that attribute that gets used is declared with a "lazy"
      attribute, so that the accessor generates an inlined
      initialization code

15 years agocheck for has_default too
Daisuke Maki [Tue, 3 Mar 2009 16:31:20 +0000]
check for has_default too

15 years agodepend to Scalar::Util 1.14.
Tokuhiro Matsuno [Mon, 2 Mar 2009 08:02:05 +0000]
depend to Scalar::Util 1.14.
because Scalar::Util < 1.14 has a bug.

reported by bingos++, cosmicnet++, tomyhero++

15 years agomicro optimization for method modifiers.
Tokuhiro Matsuno [Mon, 2 Mar 2009 01:36:44 +0000]
micro optimization for method modifiers.
do not eval everytime!

benchmark result is here:
           Rate    orig fastest
orig     4950/s      --    -92%
fastest 62500/s   1162%      --

15 years agoadded attribute metaclass support.
Tokuhiro Matsuno [Sun, 1 Mar 2009 14:41:54 +0000]
added attribute metaclass support.
This feature is required by MouseX::*

15 years agoThrow a more useful error when users try to use a parameterized type,
Shawn M Moore [Mon, 23 Feb 2009 02:46:41 +0000]
Throw a more useful error when users try to use a parameterized type,
with a meager todo test

15 years agoBump to 0.18
Shawn M Moore [Wed, 18 Feb 2009 01:19:18 +0000]
Bump to 0.18

15 years agoChanges, bump to 0.17 for release
Shawn M Moore [Wed, 18 Feb 2009 01:11:51 +0000]
Changes, bump to 0.17 for release

15 years agoAdd dump method from Moose::Object into Mouse::Object
Chris Prather [Sat, 14 Feb 2009 04:59:03 +0000]
Add dump method from Moose::Object into Mouse::Object

15 years agoadded Mouse::Util::apply_all_roles to @EXPORT_OK for Moose compatibility
Tokuhiro Matsuno [Thu, 12 Feb 2009 06:02:10 +0000]
added Mouse::Util::apply_all_roles to @EXPORT_OK for Moose compatibility

15 years agoLoad mro directly if Perl is recent enough (Nicholas Clark)
Shawn M Moore [Tue, 10 Feb 2009 18:45:53 +0000]
Load mro directly if Perl is recent enough (Nicholas Clark)

15 years agoUpdate Changes
Shawn M Moore [Tue, 10 Feb 2009 01:58:41 +0000]
Update Changes

15 years agoInclude CMMF in t/000-load
Shawn M Moore [Tue, 10 Feb 2009 01:55:47 +0000]
Include CMMF in t/000-load

15 years agoSkip these tests if you have an old Moose
Shawn M Moore [Tue, 10 Feb 2009 01:31:06 +0000]
Skip these tests if you have an old Moose

15 years agoDescribe which versions of Moose we need when we skip these tests
Shawn M Moore [Tue, 10 Feb 2009 01:29:04 +0000]
Describe which versions of Moose we need when we skip these tests

15 years agoThrow a better error message when using a method modifier without CMM
Shawn M Moore [Tue, 10 Feb 2009 01:23:39 +0000]
Throw a better error message when using a method modifier without CMM

15 years agoName for Mouse::Role
Shawn M Moore [Tue, 10 Feb 2009 01:23:33 +0000]
Name for Mouse::Role

15 years agoSupport for anonymous enums: enum [elements]
Shawn M Moore [Mon, 9 Feb 2009 20:03:31 +0000]
Support for anonymous enums: enum [elements]

15 years agoMoose's make_immutable returns true allowing calling code to skip
Jesse Vincent [Thu, 5 Feb 2009 22:21:42 +0000]
Moose's make_immutable returns true allowing calling code to skip
setting an explicit true value at the end of a source file.

15 years agoUpgrading Moose fixed test failures in these files for somebody, so
Shawn M Moore [Thu, 5 Feb 2009 21:25:52 +0000]
Upgrading Moose fixed test failures in these files for somebody, so
depend on later versions (not sure what changed; maybe CMOP fix?)

15 years agoImplement get_all_method_names
Shawn M Moore [Thu, 5 Feb 2009 21:22:11 +0000]
Implement get_all_method_names

15 years agoFactor out some bits of get_method_list so I can write
Shawn M Moore [Thu, 5 Feb 2009 21:19:39 +0000]
Factor out some bits of get_method_list so I can write
get_all_method_names

15 years agoBump to 0.16
Shawn M Moore [Thu, 5 Feb 2009 17:11:56 +0000]
Bump to 0.16

15 years agoWe backed this baby out
Shawn M Moore [Thu, 5 Feb 2009 17:00:16 +0000]
We backed this baby out

15 years agoDon't need to filter out MouseX any more
Shawn M Moore [Thu, 5 Feb 2009 16:53:28 +0000]
Don't need to filter out MouseX any more

15 years agoWe no longer have shebangs in pm files, so stop removing package lines
Shawn M Moore [Thu, 5 Feb 2009 16:53:24 +0000]
We no longer have shebangs in pm files, so stop removing package lines

15 years agoDon't put ouse.pm into Mouse::Tiny
Shawn M Moore [Thu, 5 Feb 2009 16:53:21 +0000]
Don't put ouse.pm into Mouse::Tiny

15 years agoChanges time
Shawn M Moore [Thu, 5 Feb 2009 16:44:42 +0000]
Changes time

15 years agoUse Any::Moose instead!
Shawn M Moore [Thu, 5 Feb 2009 16:43:59 +0000]
Use Any::Moose instead!

15 years agoDoc adjustments
Shawn M Moore [Thu, 5 Feb 2009 16:43:55 +0000]
Doc adjustments

15 years agoAvoid the warning about exporting sugar into main
Shawn M Moore [Thu, 5 Feb 2009 16:39:03 +0000]
Avoid the warning about exporting sugar into main

15 years agoMouseX::Types is now in its own dist
Shawn M Moore [Thu, 5 Feb 2009 16:36:28 +0000]
MouseX::Types is now in its own dist

15 years agoNeed to ignore override and super in the method list
Shawn M Moore [Thu, 5 Feb 2009 16:33:25 +0000]
Need to ignore override and super in the method list

15 years agoBack out the exists($_[1]) change since exists($array[$element]) doesn't
Shawn M Moore [Thu, 5 Feb 2009 16:31:39 +0000]
Back out the exists($_[1]) change since exists($array[$element]) doesn't
work so well for undef in @_

15 years agoNote enum and override/super implementations in Changes
Shawn M Moore [Thu, 5 Feb 2009 03:48:33 +0000]
Note enum and override/super implementations in Changes

15 years agoImplement override/super
Shawn M Moore [Thu, 5 Feb 2009 03:47:44 +0000]
Implement override/super

15 years agoImplement basic usage of "enum" type constraints
Shawn M Moore [Thu, 5 Feb 2009 02:23:53 +0000]
Implement basic usage of "enum" type constraints

15 years agoDon't require there to be a BUILDARGS method; fix undef warning
Shawn M Moore [Thu, 5 Feb 2009 02:07:30 +0000]
Don't require there to be a BUILDARGS method; fix undef warning

15 years agoSettle for respecting inline_constructor for now
Shawn M Moore [Thu, 5 Feb 2009 02:00:36 +0000]
Settle for respecting inline_constructor for now

15 years agoWe can't support this yet, so TODO and make sure we won't introduce bugs
Shawn M Moore [Thu, 5 Feb 2009 02:00:29 +0000]
We can't support this yet, so TODO and make sure we won't introduce bugs
later

15 years agoEnsure that we're not blowing away an inherited constructor
Shawn M Moore [Thu, 5 Feb 2009 01:53:31 +0000]
Ensure that we're not blowing away an inherited constructor

15 years agoExtra ;
Shawn M Moore [Thu, 5 Feb 2009 01:53:24 +0000]
Extra ;

15 years agoAdd a shim Mouse::TypeRegistry that warns and sends you over to
Shawn M Moore [Thu, 5 Feb 2009 00:51:11 +0000]
Add a shim Mouse::TypeRegistry that warns and sends you over to
Mouse::Util::TypeConstraints

15 years agoMore changes
Shawn M Moore [Thu, 5 Feb 2009 00:46:42 +0000]
More changes

15 years agoDocument more changes
Shawn M Moore [Thu, 5 Feb 2009 00:46:39 +0000]
Document more changes

15 years agoTODOify it for now
Shawn M Moore [Thu, 5 Feb 2009 00:46:35 +0000]
TODOify it for now

15 years agoFix prototype on message {...}
Shawn M Moore [Thu, 5 Feb 2009 00:46:30 +0000]
Fix prototype on message {...}

15 years agoFailing test for using a custom message in a subtype
Shawn M Moore [Thu, 5 Feb 2009 00:46:24 +0000]
Failing test for using a custom message in a subtype

15 years agoBenchmarking indicates that exists($_[1]) is faster than scalar(@_) >= 2
Shawn M Moore [Tue, 3 Feb 2009 21:52:02 +0000]
Benchmarking indicates that exists($_[1]) is faster than scalar(@_) >= 2

15 years agoMouseX::Types can now use MUTc->export_to_level
Shawn M Moore [Tue, 3 Feb 2009 21:14:24 +0000]
MouseX::Types can now use MUTc->export_to_level

15 years agoUse Exporter for Mouse::Util::TypeConstraints
Shawn M Moore [Tue, 3 Feb 2009 21:14:19 +0000]
Use Exporter for Mouse::Util::TypeConstraints

15 years agorefactored out fast method modifier as Class::Method::Modifiers::Fast and used Class...
Dann [Sun, 18 Jan 2009 15:22:57 +0000]
refactored out fast method modifier as Class::Method::Modifiers::Fast and used Class::Method::Modifiers::Fast

15 years agouse Data::Util to make modifier fast if Data::Util is installed
Dann [Tue, 13 Jan 2009 17:40:23 +0000]
use Data::Util to make modifier fast if Data::Util is installed

15 years agosuppress warnings when we use around and has "+..."
Dann [Sat, 10 Jan 2009 17:36:05 +0000]
suppress warnings when we use around and has "+..."

15 years agoMouseX::Stop::it!
Shawn M Moore [Tue, 6 Jan 2009 15:16:37 +0000]
MouseX::Stop::it!

15 years agoTypo fix
Shawn M Moore [Mon, 22 Dec 2008 04:57:05 +0000]
Typo fix

15 years agoBetter test here; check the error message
Shawn M Moore [Mon, 22 Dec 2008 04:26:31 +0000]
Better test here; check the error message

15 years agoRename this class to avoid a type collision
Shawn M Moore [Mon, 22 Dec 2008 04:26:23 +0000]
Rename this class to avoid a type collision

15 years agoWrite the anon-class test such that we can run it against Moose, and if we create...
Shawn M Moore [Mon, 22 Dec 2008 04:18:09 +0000]
Write the anon-class test such that we can run it against Moose, and if we create anonymous classes during Mouse load it'll be okay

15 years agoWe do need to copy %options so we can use $options{superclasses} later
Shawn M Moore [Mon, 22 Dec 2008 04:15:00 +0000]
We do need to copy %options so we can use $options{superclasses} later

15 years agoBegin stealing more Moose meta API
Shawn M Moore [Mon, 22 Dec 2008 04:10:07 +0000]
Begin stealing more Moose meta API

15 years agoSame API as Moose for Mouse::Meta::Attribute->new
Shawn M Moore [Mon, 22 Dec 2008 04:06:32 +0000]
Same API as Moose for Mouse::Meta::Attribute->new

15 years agoNeed to specify package names
Shawn M Moore [Mon, 22 Dec 2008 04:00:38 +0000]
Need to specify package names

15 years agoDon't try to import Mouse's sugar into main here
Shawn M Moore [Mon, 22 Dec 2008 03:55:23 +0000]
Don't try to import Mouse's sugar into main here

15 years agoDon't do the use_ok test
Shawn M Moore [Mon, 22 Dec 2008 03:53:58 +0000]
Don't do the use_ok test

15 years agoclass_type shouldn't load the class (Moose compat; no easy fix :/)
Shawn M Moore [Mon, 22 Dec 2008 03:52:26 +0000]
class_type shouldn't load the class (Moose compat; no easy fix :/)

15 years agoRemove the redefine type tests for now, they'll go in a separate file
Shawn M Moore [Mon, 22 Dec 2008 03:43:49 +0000]
Remove the redefine type tests for now, they'll go in a separate file

15 years agoYou can redefine types in the original package
Shawn M Moore [Mon, 22 Dec 2008 03:32:37 +0000]
You can redefine types in the original package

15 years agoCoerce a type that won't fail us later (damn you Moose)
Shawn M Moore [Mon, 22 Dec 2008 03:27:52 +0000]
Coerce a type that won't fail us later (damn you Moose)

15 years agoOnly set @ARGV if it's empty
Shawn M Moore [Mon, 22 Dec 2008 03:26:16 +0000]
Only set @ARGV if it's empty

15 years agoKeep track of the source package of each type; other cleanups
Shawn M Moore [Mon, 22 Dec 2008 03:19:34 +0000]
Keep track of the source package of each type; other cleanups

15 years agoStyle
Shawn M Moore [Mon, 22 Dec 2008 03:10:10 +0000]
Style

15 years agoRename the has from %SUBTYPE to %TYPE
Shawn M Moore [Mon, 22 Dec 2008 03:09:16 +0000]
Rename the has from %SUBTYPE to %TYPE

15 years agoHashRefa looks like a typo
Shawn M Moore [Mon, 22 Dec 2008 03:03:30 +0000]
HashRefa looks like a typo

15 years agoMoose::Tiny is not the same as Mouse::Tiny
Shawn M Moore [Mon, 22 Dec 2008 02:55:39 +0000]
Moose::Tiny is not the same as Mouse::Tiny

15 years agoRename the method to verify_against_type_constraint since Moose renamed it too
Shawn M Moore [Mon, 22 Dec 2008 02:53:05 +0000]
Rename the method to verify_against_type_constraint since Moose renamed it too

15 years agoBetter linear-isa tests (using the meta API)
Shawn M Moore [Mon, 22 Dec 2008 02:45:39 +0000]
Better linear-isa tests (using the meta API)

15 years agoMore uses of type in the tests
Shawn M Moore [Mon, 22 Dec 2008 02:40:16 +0000]
More uses of type in the tests

15 years ago"type" sugar for when you're not subtyping anything
Shawn M Moore [Mon, 22 Dec 2008 02:36:38 +0000]
"type" sugar for when you're not subtyping anything

15 years agoFinish renaming Mouse::TypeRegistry to Mouse::Util::TypeConstraints
Shawn M Moore [Mon, 22 Dec 2008 02:30:56 +0000]
Finish renaming Mouse::TypeRegistry to Mouse::Util::TypeConstraints