wu-lee [Mon, 6 Apr 2009 14:28:18 +0000]
Fixed bug in the immutable constructor. It now redispatches to
Mouse::Object->new if the invoking class is not the one it was
contructed for, as Moose's implementation does. Test case included.
wu-lee [Mon, 6 Apr 2009 10:32:16 +0000]
Changes to date added for wu-lee.
Tokuhiro Matsuno [Mon, 6 Apr 2009 02:30:46 +0000]
added benchmark script for C::A::Fast
Tokuhiro Matsuno [Sat, 4 Apr 2009 16:12:58 +0000]
do not create a copy of argument, if not needed
wu-lee [Fri, 3 Apr 2009 17:21:15 +0000]
Added test for the correct application order when multiple coercions
exist for a single attribute, which was fixed in an earlier commit.
wu-lee [Fri, 3 Apr 2009 16:30:37 +0000]
Added test for the correct BUILD order after immutable-ising a class.
wu-lee [Fri, 3 Apr 2009 12:38:03 +0000]
Fixed a bug in the compiled constructor - it was invoking BUILD
methods in the reverse order.
wu-lee [Thu, 2 Apr 2009 14:13:46 +0000]
Type coercions should be added to the front of the list in
$COERCE_KEYS{$name}, not the back. This ensures they are checked in
the correct order (as supplied in the declaration).
wu-lee [Wed, 1 Apr 2009 17:23:30 +0000]
Adjusted default 'isa' typeconstraint construction to check if the
specified type name is a known role, and constrain with 'does' instead
of 'isa' if it is. This brings Mouse in line with how Moose behaves
for this case. Testcase added to t/025-more-isa.t.
wu-lee [Wed, 1 Apr 2009 15:11:38 +0000]
Correct error message to include 'Maybe' as implemented parametric type.
Tokuhiro Matsuno [Fri, 3 Apr 2009 03:12:35 +0000]
scope makes slower!mouse's constructer is faster than moose with this commit :)
Tokuhiro Matsuno [Fri, 3 Apr 2009 03:06:59 +0000]
use compiled_constraints directly. performance enhancement.
Tokuhiro Matsuno [Fri, 3 Apr 2009 02:47:44 +0000]
refactoring the duplicated vars
Tokuhiro Matsuno [Fri, 3 Apr 2009 02:36:37 +0000]
split accessor generator from the Meta::Attribute.
because, this code is complex enough to merit its own file!
Tokuhiro Matsuno [Thu, 2 Apr 2009 09:40:57 +0000]
use compiled type constraints. this change makes faster :)
NAKAGAWA Masaki [Mon, 16 Mar 2009 09:41:06 +0000]
Meta::Class->does_role searches isa for Moose compatibility
Tokuhiro Matsuno [Thu, 2 Apr 2009 04:04:29 +0000]
added benchmark case for setter, getter
Tokuhiro Matsuno [Thu, 2 Apr 2009 03:49:29 +0000]
less deps in Makefile.PL
Tokuhiro Matsuno [Thu, 2 Apr 2009 03:13:17 +0000]
generate moose compatibility test automatically
Tokuhiro Matsuno [Thu, 2 Apr 2009 02:54:18 +0000]
ignore *.old file
Tokuhiro Matsuno [Thu, 12 Mar 2009 06:25:20 +0000]
t/900_bug/001_immutable_types.t: oops. 'package B' means B.pm, reserved namespace. and, fixed invalid usage of subtype.
Tokuhiro Matsuno [Wed, 11 Mar 2009 09:00:26 +0000]
oops. i forgot to change make_immutable code.
Tokuhiro Matsuno [Wed, 11 Mar 2009 08:04:25 +0000]
rebirth the find_type_constraint for backward compatibility
Tokuhiro Matsuno [Wed, 11 Mar 2009 07:57:06 +0000]
added Mouse::Meta::TypeConstraint and use it. Mouse::Meta::Attribute->type_constraint returns an object. and, find_type_constraint was deprecated.
Tokuhiro Matsuno [Tue, 10 Mar 2009 23:28:23 +0000]
added Meta::Class->add_attribute_list for Moose compatibility
Tokuhiro Matsuno [Thu, 2 Apr 2009 02:45:11 +0000]
more strict argument check. Mouse does not support Application::ToInstance yet
Tokuhiro Matsuno [Tue, 10 Mar 2009 17:54:43 +0000]
added Meta::Class->has_method($name)
Tokuhiro Matsuno [Tue, 10 Mar 2009 17:06:03 +0000]
added comment
Tokuhiro Matsuno [Tue, 10 Mar 2009 17:05:41 +0000]
make a subtype for each Mouse class This behavior is same as Moose.
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 10:16:49 +0000]
look under %TYPE first
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 10:06:22 +0000]
Export find_type_constraint
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 10:05:52 +0000]
Add a dummy TypeConstraint namespace so you can treat them as objects
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 09:59:18 +0000]
move stuff from Meta::Attribute to Util::TypeConstraints, work with $_ and such
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 05:37:04 +0000]
fix portability between Moose/Mouse's class_type
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 05:36:34 +0000]
implement Maybe
Tokuhiro Matsuno [Mon, 9 Mar 2009 16:07:30 +0000]
much faster impl. for constructor/accessor. this is a same behavior with Moose.
Shawn M Moore [Wed, 1 Apr 2009 03:42:44 +0000]
Update error message to match Moose's
Shawn M Moore [Wed, 1 Apr 2009 03:33:15 +0000]
Forbid undef passed to new for Moose compat
Shawn M Moore [Wed, 1 Apr 2009 03:28:54 +0000]
TODO package A;our @VERSION passing is_class_loaded
Shawn M Moore [Wed, 1 Apr 2009 03:21:52 +0000]
Need to actually be tests to be usefully todo'd
Shawn M Moore [Wed, 1 Apr 2009 03:18:13 +0000]
Turn the throws_ok failures into TODO tests
Shawn M Moore [Wed, 1 Apr 2009 03:11:33 +0000]
Fix another keyword regex
Shawn M Moore [Wed, 1 Apr 2009 03:10:36 +0000]
Fix version check
Shawn M Moore [Wed, 1 Apr 2009 03:09:19 +0000]
Fix use of meta-attr in trigger
Shawn M Moore [Wed, 1 Apr 2009 03:07:35 +0000]
Remove third argument to trigger
Nick Woolley [Tue, 31 Mar 2009 19:10:25 +0000]
Added a new test, essentially the code posted in RT bug #42992. It
still fails pending the bug in Class::Method::Modifiers (RT #43167)
being fixed, so marked as "TODO".
Nick Woolley [Mon, 30 Mar 2009 10:40:59 +0000]
Modified glob asignment to be coderef assignment. As suggested by
GFUGI in a comment attached to RT #42992. Indeed, we probably don't
want to clobber package variables the role may have defined with the
same name as a method.
Nick Woolley [Fri, 27 Mar 2009 20:50:08 +0000]
Implemented Mouse::Role->does; modified Mouse::Meta::Class->initialise
to allow use as an instance method to make this work.
Implemented Mouse::Role::override and ::super. To do this, added
Mouse::Meta::Class->add_override_method_modifier,
Implemented throwing stubs for Mouse::Role::augment and ::inner, as in
Moose::Role.
Added 020_roles/ tests from latest respoitory version of Moose.
Modified some tests to pass; the rest have been moved to
020_roles/failing for later examination.
Implemented Mouse::Role->does_role, from Moose. This does not yet
quite seem to pass all the tests it should, not sure why.
Fixed bug in Mouse::Meta::Role->apply and ->combine_apply, so that
030_roles/002_role.t tests pass.
Implemented ->version, ->authority and ->identifier in Mouse/Utils.pm,
imported for use as methods by Mouse::Meta::Role and
Mouse::Meta::Class.
Tweaked .gitignore.
"make test" passes all tests, including the new ones.
Nick Woolley [Fri, 27 Mar 2009 14:42:22 +0000]
Implemented Moose::Object::does, borrowing from Moose::Object.
Shawn M Moore [Sun, 8 Mar 2009 08:39:22 +0000]
Bump to 0.20
Shawn M Moore [Sun, 8 Mar 2009 08:38:14 +0000]
0.19
Shawn M Moore [Sun, 8 Mar 2009 08:37:26 +0000]
0.19 changes
Shawn M Moore [Sun, 8 Mar 2009 08:36:16 +0000]
Avoid depending on method modifiers again
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
Daisuke Maki [Sat, 7 Mar 2009 09:44:01 +0000]
oops, that used confess
Daisuke Maki [Sat, 7 Mar 2009 09:07:25 +0000]
Make coercion work for parameterized types
Daisuke Maki [Sat, 7 Mar 2009 09:06:57 +0000]
properly commit the newly created parameterized type to the registry (cache!)
Daisuke Maki [Sat, 7 Mar 2009 08:40:26 +0000]
I want parameterized types... I want it!
Tokuhiro Matsuno [Sat, 7 Mar 2009 01:32:11 +0000]
oops. we want to use 'metaclass' in role, too :(
Shawn M Moore [Sat, 7 Mar 2009 00:14:59 +0000]
Bump to 0.19
Shawn M Moore [Sat, 7 Mar 2009 00:14:22 +0000]
No reason to do a string eval here
Shawn M Moore [Sat, 7 Mar 2009 00:14:18 +0000]
0.18 changes
Shawn M Moore [Sat, 7 Mar 2009 00:06:14 +0000]
No real reason for MOUSE_DEBUG these days
Shawn M Moore [Sat, 7 Mar 2009 00:05:32 +0000]
No need to skip these tests, since tokuhirom++ implemented role-role
composition
Shawn M Moore [Sat, 7 Mar 2009 00:03:41 +0000]
More gitignore files
Shawn M Moore [Sat, 7 Mar 2009 00:02:07 +0000]
Just always depend on Scalar::Util 1.14
Tokuhiro Matsuno [Wed, 4 Mar 2009 23:49:51 +0000]
added YourClass->meta->add_attribute(foo => (is => 'ro', isa => 'Str')); support.
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)
Tokuhiro Matsuno [Wed, 4 Mar 2009 22:26:21 +0000]
added .gitignore file for git-svn users
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
Daisuke Maki [Tue, 3 Mar 2009 16:31:20 +0000]
check for has_default too
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++
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% --
Tokuhiro Matsuno [Sun, 1 Mar 2009 14:41:54 +0000]
added attribute metaclass support.
This feature is required by MouseX::*
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
Shawn M Moore [Wed, 18 Feb 2009 01:19:18 +0000]
Bump to 0.18
Shawn M Moore [Wed, 18 Feb 2009 01:11:51 +0000]
Changes, bump to 0.17 for release
Chris Prather [Sat, 14 Feb 2009 04:59:03 +0000]
Add dump method from Moose::Object into Mouse::Object
Tokuhiro Matsuno [Thu, 12 Feb 2009 06:02:10 +0000]
added Mouse::Util::apply_all_roles to @EXPORT_OK for Moose compatibility
Shawn M Moore [Tue, 10 Feb 2009 18:45:53 +0000]
Load mro directly if Perl is recent enough (Nicholas Clark)
Shawn M Moore [Tue, 10 Feb 2009 01:58:41 +0000]
Update Changes
Shawn M Moore [Tue, 10 Feb 2009 01:55:47 +0000]
Include CMMF in t/000-load
Shawn M Moore [Tue, 10 Feb 2009 01:31:06 +0000]
Skip these tests if you have an old Moose
Shawn M Moore [Tue, 10 Feb 2009 01:29:04 +0000]
Describe which versions of Moose we need when we skip these tests
Shawn M Moore [Tue, 10 Feb 2009 01:23:39 +0000]
Throw a better error message when using a method modifier without CMM
Shawn M Moore [Tue, 10 Feb 2009 01:23:33 +0000]
Name for Mouse::Role
Shawn M Moore [Mon, 9 Feb 2009 20:03:31 +0000]
Support for anonymous enums: enum [elements]
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.
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?)
Shawn M Moore [Thu, 5 Feb 2009 21:22:11 +0000]
Implement get_all_method_names
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
Shawn M Moore [Thu, 5 Feb 2009 17:11:56 +0000]
Bump to 0.16
Shawn M Moore [Thu, 5 Feb 2009 17:00:16 +0000]
We backed this baby out
Shawn M Moore [Thu, 5 Feb 2009 16:53:28 +0000]
Don't need to filter out MouseX any more
Shawn M Moore [Thu, 5 Feb 2009 16:53:24 +0000]
We no longer have shebangs in pm files, so stop removing package lines
Shawn M Moore [Thu, 5 Feb 2009 16:53:21 +0000]
Don't put ouse.pm into Mouse::Tiny
Shawn M Moore [Thu, 5 Feb 2009 16:44:42 +0000]
Changes time
Shawn M Moore [Thu, 5 Feb 2009 16:43:59 +0000]
Use Any::Moose instead!
Shawn M Moore [Thu, 5 Feb 2009 16:43:55 +0000]
Doc adjustments
Shawn M Moore [Thu, 5 Feb 2009 16:39:03 +0000]
Avoid the warning about exporting sugar into main