15 years agoset perl version to 5.008 and document 5.6.2 bugs in POD
Chris Prather [Mon, 4 May 2009 17:03:16 +0000]
set perl version to 5.008 and document 5.6.2 bugs in POD

15 years agoBump to 0.23
Shawn M Moore [Tue, 21 Apr 2009 07:30:58 +0000]
Bump to 0.23

15 years ago0.22 Changes 0.22
Shawn M Moore [Tue, 21 Apr 2009 07:28:55 +0000]
0.22 Changes

15 years agoMake sure that role overrides work as specced
Shawn M Moore [Wed, 15 Apr 2009 20:57:26 +0000]
Make sure that role overrides work as specced

15 years agoUse $value instead of $_ in the constructor, since $_ is getting
Shawn M Moore [Wed, 15 Apr 2009 06:41:36 +0000]
Use $value instead of $_ in the constructor, since $_ is getting
clobbered

15 years agoClean up verify_against_type_constraint
Shawn M Moore [Wed, 15 Apr 2009 06:37:39 +0000]
Clean up verify_against_type_constraint

15 years agobug fixed. test is very important things!
Tokuhiro Matsuno [Mon, 13 Apr 2009 07:35:59 +0000]
bug fixed. test is very important things!
Klass->does_role should check the parent classes.

15 years agoadded workaround for autogenerated Moose test
Tokuhiro Matsuno [Mon, 13 Apr 2009 07:33:49 +0000]
added workaround for autogenerated Moose test

15 years agoBump to 0.22
Shawn M Moore [Sat, 11 Apr 2009 17:57:40 +0000]
Bump to 0.22

15 years ago0.21 date 0.21
Shawn M Moore [Sat, 11 Apr 2009 17:53:32 +0000]
0.21 date

15 years agoUpdate Changes
Shawn M Moore [Sat, 11 Apr 2009 17:51:59 +0000]
Update Changes

15 years agoadded typeconstraint's customizable error message support.
Tokuhiro Matsuno [Sat, 11 Apr 2009 16:28:47 +0000]
added typeconstraint's customizable error message support.

15 years agotckect #42992: Method modifiers affect all classes in the whole inheritance tree
Tokuhiro Matsuno [Sat, 11 Apr 2009 15:44:24 +0000]
tckect #42992: Method modifiers affect all classes in the whole inheritance tree
was resolved by patch from gfx++

15 years agoMoose says 'The clone_instance method has been made private. The public version is...
Tokuhiro Matsuno [Sat, 11 Apr 2009 15:25:44 +0000]
Moose says 'The clone_instance method has been made private. The public version is deprecated.'
we don't mention this method. remove test.

15 years agoMerge branch 'master' of gitmo@jules.scsys.co.uk:Mouse
Tokuhiro Matsuno [Sat, 11 Apr 2009 15:15:53 +0000]
Merge branch 'master' of gitmo@jules.scsys.co.uk:Mouse

Conflicts:
Changes

15 years agoeep, don't advise contacting nothingmuch directly for a commit bit.
markstos [Sat, 11 Apr 2009 12:42:19 +0000]
eep, don't advise contacting nothingmuch directly for a commit bit.

15 years agoImprove documentation for type constraints.
markstos [Sat, 11 Apr 2009 11:50:08 +0000]
Improve documentation for type constraints.

15 years agoDocument address of the public git repo.
markstos [Sat, 11 Apr 2009 11:19:54 +0000]
Document address of the public git repo.

15 years agoMouse 0.21 Changes
Tokuhiro Matsuno [Sat, 11 Apr 2009 11:17:01 +0000]
Mouse 0.21 Changes

15 years agofixed pod mark up bug. and added Test::Pod test.
Tokuhiro Matsuno [Sat, 11 Apr 2009 11:08:50 +0000]
fixed pod mark up bug. and added Test::Pod test.
https://rt.cpan.org/Public/Bug/Display.html?id=44928

15 years agocompatibility test is generating automatically.ignore it.
Tokuhiro Matsuno [Sat, 11 Apr 2009 11:05:05 +0000]
compatibility test is generating automatically.ignore it.

15 years agoFix test failures when user does not have C::Method::Modifiers(::Fast) installed
Joel Bernstein [Fri, 10 Apr 2009 21:04:00 +0000]
Fix test failures when user does not have C::Method::Modifiers(::Fast) installed

15 years agoclass-mop says 'The compute_all_applicable_attributes method has been deprecated.'
Tokuhiro Matsuno [Fri, 10 Apr 2009 04:49:19 +0000]
class-mop says 'The compute_all_applicable_attributes method has been deprecated.'

15 years agoBump to 0.21
Shawn M Moore [Fri, 10 Apr 2009 00:23:09 +0000]
Bump to 0.21

15 years agoBe more damning of Mouse, more Squirrel deprecation 0.20
Shawn M Moore [Fri, 10 Apr 2009 00:14:57 +0000]
Be more damning of Mouse, more Squirrel deprecation

15 years agoDeprecate Squirrel
Shawn M Moore [Fri, 10 Apr 2009 00:08:09 +0000]
Deprecate Squirrel

15 years agoAdd wu-lee to authors
Shawn M Moore [Fri, 10 Apr 2009 00:06:59 +0000]
Add wu-lee to authors

15 years agoMore 0.20 changes
Shawn M Moore [Fri, 10 Apr 2009 00:02:42 +0000]
More 0.20 changes

15 years agoMove 0.20 changes into the right section
Shawn M Moore [Thu, 9 Apr 2009 23:55:38 +0000]
Move 0.20 changes into the right section

15 years agothrows_ok -> todo
Shawn M Moore [Wed, 1 Apr 2009 03:44:01 +0000]
throws_ok -> todo

15 years agoget_all_attributes
Yuval Kogman [Thu, 9 Apr 2009 11:10:44 +0000]
get_all_attributes

15 years agofixed test count
Tokuhiro Matsuno [Tue, 7 Apr 2009 02:47:18 +0000]
fixed test count

15 years agoAdded Changes note about metaclass accessors.
wu-lee [Mon, 6 Apr 2009 17:10:16 +0000]
Added Changes note about metaclass accessors.

15 years agoAdded metaclass cache accessor methods (straight from Class::MOP).
wu-lee [Mon, 6 Apr 2009 17:08:11 +0000]
Added metaclass cache accessor methods (straight from Class::MOP).
Mainly convenient to me for finding classes to ->make_immutable.

15 years agoWhoops. This should have been included in the previous commit.
wu-lee [Mon, 6 Apr 2009 14:32:37 +0000]
Whoops. This should have been included in the previous commit.

15 years agoAdded latest bugfix to Changes.
wu-lee [Mon, 6 Apr 2009 14:29:40 +0000]
Added latest bugfix to Changes.

15 years agoFixed bug in the immutable constructor. It now redispatches to
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.

15 years agoChanges to date added for wu-lee.
wu-lee [Mon, 6 Apr 2009 10:32:16 +0000]
Changes to date added for wu-lee.

15 years agoadded benchmark script for C::A::Fast
Tokuhiro Matsuno [Mon, 6 Apr 2009 02:30:46 +0000]
added benchmark script for C::A::Fast

15 years agodo not create a copy of argument, if not needed
Tokuhiro Matsuno [Sat, 4 Apr 2009 16:12:58 +0000]
do not create a copy of argument, if not needed

15 years agoAdded test for the correct application order when multiple coercions
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.

15 years agoAdded test for the correct BUILD order after immutable-ising a class.
wu-lee [Fri, 3 Apr 2009 16:30:37 +0000]
Added test for the correct BUILD order after immutable-ising a class.

15 years agoFixed a bug in the compiled constructor - it was invoking BUILD
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.

15 years agoType coercions should be added to the front of the list in
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).

15 years agoAdjusted default 'isa' typeconstraint construction to check if the
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.

15 years agoCorrect error message to include 'Maybe' as implemented parametric type.
wu-lee [Wed, 1 Apr 2009 15:11:38 +0000]
Correct error message to include 'Maybe' as implemented parametric type.

15 years agoscope makes slower!mouse's constructer is faster than moose with this commit :)
Tokuhiro Matsuno [Fri, 3 Apr 2009 03:12:35 +0000]
scope makes slower!mouse's constructer is faster than moose with this commit :)

15 years agouse compiled_constraints directly. performance enhancement.
Tokuhiro Matsuno [Fri, 3 Apr 2009 03:06:59 +0000]
use compiled_constraints directly. performance enhancement.

15 years agorefactoring the duplicated vars
Tokuhiro Matsuno [Fri, 3 Apr 2009 02:47:44 +0000]
refactoring the duplicated vars

15 years agosplit accessor generator from the Meta::Attribute.
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!

15 years agouse compiled type constraints. this change makes faster :)
Tokuhiro Matsuno [Thu, 2 Apr 2009 09:40:57 +0000]
use compiled type constraints. this change makes faster :)

15 years agoMeta::Class->does_role searches isa for Moose compatibility
NAKAGAWA Masaki [Mon, 16 Mar 2009 09:41:06 +0000]
Meta::Class->does_role searches isa for Moose compatibility

15 years agoadded benchmark case for setter, getter
Tokuhiro Matsuno [Thu, 2 Apr 2009 04:04:29 +0000]
added benchmark case for setter, getter

15 years agoless deps in Makefile.PL
Tokuhiro Matsuno [Thu, 2 Apr 2009 03:49:29 +0000]
less deps in Makefile.PL

15 years agogenerate moose compatibility test automatically
Tokuhiro Matsuno [Thu, 2 Apr 2009 03:13:17 +0000]
generate moose compatibility test automatically

15 years agoignore *.old file
Tokuhiro Matsuno [Thu, 2 Apr 2009 02:54:18 +0000]
ignore *.old file

15 years agot/900_bug/001_immutable_types.t: oops. 'package B' means B.pm, reserved namespace...
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.

15 years agooops. i forgot to change make_immutable code.
Tokuhiro Matsuno [Wed, 11 Mar 2009 09:00:26 +0000]
oops. i forgot to change make_immutable code.

15 years agorebirth the find_type_constraint for backward compatibility
Tokuhiro Matsuno [Wed, 11 Mar 2009 08:04:25 +0000]
rebirth the find_type_constraint for backward compatibility

15 years agoadded Mouse::Meta::TypeConstraint and use it. Mouse::Meta::Attribute->type_constraint...
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.

15 years agoadded Meta::Class->add_attribute_list for Moose compatibility
Tokuhiro Matsuno [Tue, 10 Mar 2009 23:28:23 +0000]
added Meta::Class->add_attribute_list for Moose compatibility

15 years agomore strict argument check. Mouse does not support Application::ToInstance yet
Tokuhiro Matsuno [Thu, 2 Apr 2009 02:45:11 +0000]
more strict argument check. Mouse does not support Application::ToInstance yet

15 years agoadded Meta::Class->has_method($name)
Tokuhiro Matsuno [Tue, 10 Mar 2009 17:54:43 +0000]
added Meta::Class->has_method($name)

15 years agoadded comment
Tokuhiro Matsuno [Tue, 10 Mar 2009 17:06:03 +0000]
added comment

15 years agomake a subtype for each Mouse class This behavior is same as Moose.
Tokuhiro Matsuno [Tue, 10 Mar 2009 17:05:41 +0000]
make a subtype for each Mouse class This behavior is same as Moose.

15 years agolook under %TYPE first
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 10:16:49 +0000]
look under %TYPE first

15 years agoExport find_type_constraint
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 10:06:22 +0000]
Export find_type_constraint

15 years agoAdd a dummy TypeConstraint namespace so you can treat them as objects
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 10:05:52 +0000]
Add a dummy TypeConstraint namespace so you can treat them as objects

15 years agomove stuff from Meta::Attribute to Util::TypeConstraints, work with $_ and such
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 09:59:18 +0000]
move stuff from Meta::Attribute to Util::TypeConstraints, work with $_ and such

15 years agofix portability between Moose/Mouse's class_type
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 05:37:04 +0000]
fix portability between Moose/Mouse's class_type

15 years agoimplement Maybe
Daisuke Maki (lestrrat) [Tue, 10 Mar 2009 05:36:34 +0000]
implement Maybe

15 years agomuch faster impl. for constructor/accessor. this is a same behavior with Moose.
Tokuhiro Matsuno [Mon, 9 Mar 2009 16:07:30 +0000]
much faster impl. for constructor/accessor. this is a same behavior with Moose.

15 years agoUpdate error message to match Moose's
Shawn M Moore [Wed, 1 Apr 2009 03:42:44 +0000]
Update error message to match Moose's

15 years agoForbid undef passed to new for Moose compat
Shawn M Moore [Wed, 1 Apr 2009 03:33:15 +0000]
Forbid undef passed to new for Moose compat

15 years agoTODO package A;our @VERSION passing is_class_loaded
Shawn M Moore [Wed, 1 Apr 2009 03:28:54 +0000]
TODO package A;our @VERSION passing is_class_loaded

15 years agoNeed to actually be tests to be usefully todo'd
Shawn M Moore [Wed, 1 Apr 2009 03:21:52 +0000]
Need to actually be tests to be usefully todo'd

15 years agoTurn the throws_ok failures into TODO tests
Shawn M Moore [Wed, 1 Apr 2009 03:18:13 +0000]
Turn the throws_ok failures into TODO tests

15 years agoFix another keyword regex
Shawn M Moore [Wed, 1 Apr 2009 03:11:33 +0000]
Fix another keyword regex

15 years agoFix version check
Shawn M Moore [Wed, 1 Apr 2009 03:10:36 +0000]
Fix version check

15 years agoFix use of meta-attr in trigger
Shawn M Moore [Wed, 1 Apr 2009 03:09:19 +0000]
Fix use of meta-attr in trigger

15 years agoRemove third argument to trigger
Shawn M Moore [Wed, 1 Apr 2009 03:07:35 +0000]
Remove third argument to trigger

15 years agoAdded a new test, essentially the code posted in RT bug #42992. It
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".

15 years agoModified glob asignment to be coderef assignment. As suggested by
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.

15 years agoImplemented Mouse::Role->does; modified Mouse::Meta::Class->initialise
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.

15 years agoImplemented Moose::Object::does, borrowing from Moose::Object.
Nick Woolley [Fri, 27 Mar 2009 14:42:22 +0000]
Implemented Moose::Object::does, borrowing from Moose::Object.

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