15 years agoA subtype should not ignore the parent type name. It should do
Dave Rolsky [Wed, 28 Jan 2009 18:47:23 +0000]
A subtype should not ignore the parent type name. It should do
_something_ (and we've decided it will auto-vivify as a class type
constraint).

15 years agoevery other file uses underscores
Dave Rolsky [Wed, 28 Jan 2009 18:42:22 +0000]
every other file uses underscores

15 years agoLoad Moose::Exporter.
Dave Rolsky [Mon, 26 Jan 2009 16:01:38 +0000]
Load Moose::Exporter.

No need to capture the return value from Moose::Exporter->setup_import_methods

15 years agoadd a delegation_metaclass method to MM::Attribute, rather than hard-coding a class...
Dave Rolsky [Fri, 23 Jan 2009 17:48:00 +0000]
add a delegation_metaclass method to MM::Attribute, rather than hard-coding a class name

15 years agobump version to 0.65 0.65
Dave Rolsky [Thu, 22 Jan 2009 23:04:38 +0000]
bump version to 0.65

15 years agofix this test so it actually tests the right thing (though it really needs to look...
Dave Rolsky [Thu, 22 Jan 2009 22:58:37 +0000]
fix this test so it actually tests the right thing (though it really needs to look at the error message to do it properly

15 years agoperltidy this code
Dave Rolsky [Thu, 22 Jan 2009 22:44:04 +0000]
perltidy this code

15 years agoupdate the manifest
Dave Rolsky [Thu, 22 Jan 2009 22:39:48 +0000]
update the manifest

15 years agoupdate changes for release
Dave Rolsky [Thu, 22 Jan 2009 22:39:10 +0000]
update changes for release

15 years agorequire the latest CMOP
Dave Rolsky [Thu, 22 Jan 2009 22:37:42 +0000]
require the latest CMOP

15 years agoyes, an explicit metaclass overrides a MetaRole declared attribute role, and that...
Dave Rolsky [Thu, 22 Jan 2009 22:35:16 +0000]
yes, an explicit metaclass overrides a MetaRole declared attribute role, and that is expected behavior (metaclass is explicitly non-cooperative, traits cooperates)

15 years agoReformat changes
Dave Rolsky [Thu, 22 Jan 2009 04:00:19 +0000]
Reformat changes

15 years agoMoose::Util::TypeConstraints has been added to the SEE ALSO
Paul Jamieson Fenwick [Thu, 22 Jan 2009 02:30:14 +0000]
Moose::Util::TypeConstraints has been added to the SEE ALSO
section of Moose.pm

15 years agofix docs
Ricardo SIGNES [Wed, 21 Jan 2009 23:21:44 +0000]
fix docs

15 years agoIn maybe_type, make a proper maybe type by parameterizing the Maybe Parameterizable...
Dave Rolsky [Wed, 21 Jan 2009 23:18:24 +0000]
In maybe_type, make a proper maybe type by parameterizing the Maybe Parameterizable type

15 years agofix mistaken commit
Ricardo SIGNES [Wed, 21 Jan 2009 23:12:40 +0000]
fix mistaken commit

15 years agoregister the type
Ricardo SIGNES [Wed, 21 Jan 2009 23:11:57 +0000]
register the type

15 years agoregister the type
Ricardo SIGNES [Wed, 21 Jan 2009 23:11:17 +0000]
register the type

15 years agoregsiter maybe_type
Ricardo SIGNES [Wed, 21 Jan 2009 23:04:09 +0000]
regsiter maybe_type

15 years agomaybe_type
Ricardo SIGNES [Wed, 21 Jan 2009 22:23:09 +0000]
maybe_type

15 years agoFix change description
Dave Rolsky [Mon, 19 Jan 2009 17:38:28 +0000]
Fix change description

15 years agoAdd change for bug fix.
Dave Rolsky [Mon, 19 Jan 2009 17:37:25 +0000]
Add change for bug fix.

Add space

15 years agoMake the constraint for this subtype much dumber, to avoid failing
Dave Rolsky [Mon, 19 Jan 2009 17:36:01 +0000]
Make the constraint for this subtype much dumber, to avoid failing
tests given some random valid path on someone's file system that we
didn't account for.

15 years agoaccessors can fulfill required role methods
Yuval Kogman [Mon, 19 Jan 2009 00:50:01 +0000]
accessors can fulfill required role methods

15 years agoMerge commit 'svn/method_generation_cleanup'
Yuval Kogman [Sun, 18 Jan 2009 00:24:38 +0000]
Merge commit 'svn/method_generation_cleanup'

15 years agouse _compile_code in Destructor
Yuval Kogman [Sat, 17 Jan 2009 22:03:26 +0000]
use _compile_code in Destructor

15 years agowhitespace
Yuval Kogman [Sat, 17 Jan 2009 22:03:09 +0000]
whitespace

15 years agouse _compile_code in Constructor
Yuval Kogman [Sat, 17 Jan 2009 22:02:53 +0000]
use _compile_code in Constructor

15 years agouse _compile_code in Accessor
Yuval Kogman [Sat, 17 Jan 2009 22:02:37 +0000]
use _compile_code in Accessor

15 years agoMerge branch 'master' into method_generation_cleanup
Yuval Kogman [Sat, 17 Jan 2009 22:02:14 +0000]
Merge branch 'master' into method_generation_cleanup

Conflicts:
Changes
MANIFEST
Makefile.PL
README
lib/Moose.pm
lib/Moose/Error/Confess.pm
lib/Moose/Error/Croak.pm
lib/Moose/Error/Default.pm
lib/Moose/Exporter.pm
lib/Moose/Meta/Attribute.pm
lib/Moose/Meta/Class.pm
lib/Moose/Meta/Instance.pm
lib/Moose/Meta/Method.pm
lib/Moose/Meta/Method/Accessor.pm
lib/Moose/Meta/Method/Augmented.pm
lib/Moose/Meta/Method/Constructor.pm
lib/Moose/Meta/Method/Delegation.pm
lib/Moose/Meta/Method/Destructor.pm
lib/Moose/Meta/Method/Overriden.pm
lib/Moose/Meta/Role.pm
lib/Moose/Meta/Role/Application.pm
lib/Moose/Meta/Role/Application/RoleSummation.pm
lib/Moose/Meta/Role/Application/ToClass.pm
lib/Moose/Meta/Role/Application/ToInstance.pm
lib/Moose/Meta/Role/Application/ToRole.pm
lib/Moose/Meta/Role/Composite.pm
lib/Moose/Meta/Role/Method.pm
lib/Moose/Meta/Role/Method/Required.pm
lib/Moose/Meta/TypeCoercion.pm
lib/Moose/Meta/TypeCoercion/Union.pm
lib/Moose/Meta/TypeConstraint.pm
lib/Moose/Meta/TypeConstraint/Class.pm
lib/Moose/Meta/TypeConstraint/Enum.pm
lib/Moose/Meta/TypeConstraint/Parameterizable.pm
lib/Moose/Meta/TypeConstraint/Parameterized.pm
lib/Moose/Meta/TypeConstraint/Registry.pm
lib/Moose/Meta/TypeConstraint/Role.pm
lib/Moose/Meta/TypeConstraint/Union.pm
lib/Moose/Object.pm
lib/Moose/Role.pm
lib/Moose/Util.pm
lib/Moose/Util/MetaRole.pm
lib/Moose/Util/TypeConstraints.pm
lib/Moose/Util/TypeConstraints/OptimizedConstraints.pm
lib/Test/Moose.pm
lib/oose.pm

15 years agoadd a todo test for using Moose::Util::MetaRole with attributes that specify their...
Jesse Luehrs [Sat, 17 Jan 2009 01:43:52 +0000]
add a todo test for using Moose::Util::MetaRole with attributes that specify their own metaclass

15 years agomake use of definition_context
Yuval Kogman [Mon, 12 Jan 2009 05:53:32 +0000]
make use of definition_context

15 years agoFix the super recursion bug perigrin found
Dave Rolsky [Mon, 12 Jan 2009 00:52:42 +0000]
Fix the super recursion bug perigrin found

15 years agoSilence another warning
Dave Rolsky [Mon, 12 Jan 2009 00:48:51 +0000]
Silence another warning

15 years agoKill some whitespace
Dave Rolsky [Mon, 12 Jan 2009 00:44:58 +0000]
Kill some whitespace

15 years agoTurn on strict & warnings. Tidy code. Shut up a warning.
Dave Rolsky [Mon, 12 Jan 2009 00:44:37 +0000]
Turn on strict & warnings. Tidy code. Shut up a warning.

15 years agoadd tests for recursion in super()
Chris Prather [Sun, 11 Jan 2009 23:45:01 +0000]
add tests for recursion in super()

15 years agoMore doc fixes
Dave Rolsky [Sun, 11 Jan 2009 23:15:09 +0000]
More doc fixes

15 years agoGot to do Moose->init_meta
Dave Rolsky [Sun, 11 Jan 2009 23:07:03 +0000]
Got to do Moose->init_meta

15 years agoFix function name
Dave Rolsky [Sun, 11 Jan 2009 23:01:18 +0000]
Fix function name

15 years agoRemove Test::LongString from Makefile.PL, we don't use it in the tests
Shawn M Moore [Wed, 7 Jan 2009 13:40:05 +0000]
Remove Test::LongString from Makefile.PL, we don't use it in the tests

15 years agotidy code in pod for consistency
Dave Rolsky [Tue, 6 Jan 2009 05:40:01 +0000]
tidy code in pod for consistency

15 years agotidy code in pod for consistency
Dave Rolsky [Tue, 6 Jan 2009 05:38:50 +0000]
tidy code in pod for consistency

15 years agotidy code in pod for consistency, also tidy some text
Dave Rolsky [Tue, 6 Jan 2009 05:32:40 +0000]
tidy code in pod for consistency, also tidy some text

15 years agoRan the sample code through perltidy
Dave Rolsky [Tue, 6 Jan 2009 05:24:24 +0000]
Ran the sample code through perltidy

15 years agoremove perl requires, fix to use correct M::I syntax
Matt S Trout [Sun, 4 Jan 2009 20:39:55 +0000]
remove perl requires, fix to use correct M::I syntax

15 years agoMeta::TypeConstraint: Add some explanation for a few explanationless methods
Cory G Watson [Sat, 3 Jan 2009 06:15:23 +0000]
Meta::TypeConstraint: Add some explanation for a few explanationless methods

15 years agoMention the offending class when reporting errors when processing inherited attributes.
Florian Ragwitz [Sat, 3 Jan 2009 05:28:26 +0000]
Mention the offending class when reporting errors when processing inherited attributes.

Also test for it.

15 years agodon't sort superclasses when caching anon classes (MI is order sensitive)
Yuval Kogman [Fri, 2 Jan 2009 03:47:29 +0000]
don't sort superclasses when caching anon classes (MI is order sensitive)

15 years agoupdate manifest 0.64
Dave Rolsky [Wed, 31 Dec 2008 16:59:30 +0000]
update manifest

15 years agoadd release date and bump version
Dave Rolsky [Wed, 31 Dec 2008 16:47:49 +0000]
add release date and bump version

15 years agorequire CMOP 0.75
Dave Rolsky [Wed, 31 Dec 2008 16:42:51 +0000]
require CMOP 0.75

15 years agoAdd a comment explaining this test.
Dave Rolsky [Wed, 31 Dec 2008 16:41:29 +0000]
Add a comment explaining this test.

15 years agoun-TODO this test
Dave Rolsky [Wed, 31 Dec 2008 16:07:42 +0000]
un-TODO this test

15 years agoTODO test for immutable bug
Tomas Doran [Tue, 30 Dec 2008 20:06:22 +0000]
TODO test for immutable bug

15 years agobump CMOP prereq to latest version
Dave Rolsky [Tue, 30 Dec 2008 15:00:21 +0000]
bump CMOP prereq to latest version

15 years agoFix some typos
Dave Rolsky [Mon, 22 Dec 2008 13:34:58 +0000]
Fix some typos

15 years agoRename verify_type_constraint to verify_against_type_constraint
Shawn M Moore [Mon, 22 Dec 2008 02:52:12 +0000]
Rename verify_type_constraint to verify_against_type_constraint

15 years agoActually, call that verify_type_constraint
Shawn M Moore [Sun, 21 Dec 2008 23:12:37 +0000]
Actually, call that verify_type_constraint

15 years agoMoose::Meta::Attribute->check_type_constraint
Shawn M Moore [Sun, 21 Dec 2008 23:10:19 +0000]
Moose::Meta::Attribute->check_type_constraint

15 years agoWe don't use RegExpr anywhere else, use the standard Regexp of RegexpRef names
Shawn M Moore [Sun, 21 Dec 2008 23:00:34 +0000]
We don't use RegExpr anywhere else, use the standard Regexp of RegexpRef names

15 years agodon't reject win32 filenames (Yappo)
Jonathan Rockway [Mon, 15 Dec 2008 10:35:25 +0000]
don't reject win32 filenames (Yappo)

15 years agoTests for parameterized metaclass traits
Shawn M Moore [Sun, 14 Dec 2008 22:09:07 +0000]
Tests for parameterized metaclass traits

15 years agoTypo fix
Shawn M Moore [Sun, 14 Dec 2008 22:05:38 +0000]
Typo fix

15 years agoSupport for parameterized traits in attributes
Shawn M Moore [Sun, 14 Dec 2008 21:31:00 +0000]
Support for parameterized traits in attributes

15 years agoTest fixes
Shawn M Moore [Sun, 14 Dec 2008 21:30:49 +0000]
Test fixes

15 years agoMore tests for parameterized attr traits
Shawn M Moore [Sun, 14 Dec 2008 21:30:38 +0000]
More tests for parameterized attr traits

15 years agoMake this trait code a little more malleable
Shawn M Moore [Sun, 14 Dec 2008 21:30:31 +0000]
Make this trait code a little more malleable

15 years agoExploding tests for attribute traits => [role => parameters]
Shawn M Moore [Sun, 14 Dec 2008 21:30:14 +0000]
Exploding tests for attribute traits => [role => parameters]

15 years agoDoh, wrong requestor
Dave Rolsky [Fri, 12 Dec 2008 20:27:53 +0000]
Doh, wrong requestor

15 years agomove across to _eval_closure hashref style
Matt S Trout [Fri, 12 Dec 2008 08:36:13 +0000]
move across to _eval_closure hashref style

15 years agoMerge 'trunk' into 'method_generation_cleanup'
Matt S Trout [Fri, 12 Dec 2008 00:49:50 +0000]
Merge 'trunk' into 'method_generation_cleanup'

r26263@agaton (orig r6884):  marcus | 2008-12-05 13:11:32 +0000
Bump dependency for MoreUtils
r26266@agaton (orig r6887):  marcus | 2008-12-05 14:53:43 +0000
Revert unwanted MMM::Accessor change
r26267@agaton (orig r6888):  autarch | 2008-12-05 14:59:04 +0000
update MANIFEST for test changes
r26268@agaton (orig r6889):  autarch | 2008-12-05 15:01:31 +0000
Don't call get_all_package_symbols in list context

r26269@agaton (orig r6890):  autarch | 2008-12-05 16:48:07 +0000
Spell coerce like a proper Merkan

r26272@agaton (orig r6893):  autarch | 2008-12-05 16:57:18 +0000
Handle defaults with quote-breaking values correctly by using
quotemeta. Added tests for this.
r26278@agaton (orig r6899):  autarch | 2008-12-05 19:21:54 +0000
bump version and update Changes
r26281@agaton (orig r6902):  autarch | 2008-12-05 19:30:39 +0000
require latest CMOP
r26288@agaton (orig r6909):  jnapiorkowski | 2008-12-05 21:49:20 +0000
changes to the way Moose::Meta::TypeConstraint passed arguments to the compiled type constraint coderef so that I can support MooseX::Types::Structured::Optional
r26289@agaton (orig r6910):  thepler | 2008-12-05 22:36:27 +0000
more tests for metaclass traits with required attributes
r26535@agaton (orig r6926):  sartak | 2008-12-07 01:29:56 +0000
 r76625@onn:  sartak | 2008-12-06 20:26:31 -0500
 Failing test for passing parameters to role->create (fix will go in Class::MOP)

r26557@agaton (orig r6948):  autarch | 2008-12-07 18:45:18 +0000
Remove an unneeded "the"

r26559@agaton (orig r6950):  autarch | 2008-12-07 18:50:19 +0000
Fix some unintended bugs in the "standard" P5 code.

r26560@agaton (orig r6951):  autarch | 2008-12-07 18:53:41 +0000
Small tweaks to some of the text.

r26586@agaton (orig r6977):  autarch | 2008-12-08 17:09:21 +0000
Add changes for 0.63

r26589@agaton (orig r6980):  autarch | 2008-12-08 17:11:18 +0000
update manifest
r26590@agaton (orig r6981):  autarch | 2008-12-08 17:12:33 +0000
No point in keeping this todo test for parameterized roles in the
Moose distro now that we have an MX module for it.
r26591@agaton (orig r6982):  autarch | 2008-12-08 17:14:17 +0000
bump version to 0.63
r26599@agaton (orig r6990):  autarch | 2008-12-08 22:21:44 +0000
I was channeling stevan and misspeled declaratively

r26600@agaton (orig r6991):  perigrin | 2008-12-08 22:25:12 +0000
zero or more Roles
r26628@agaton (orig r7019):  sartak | 2008-12-09 06:39:26 +0000
 r76787@onn:  sartak | 2008-12-09 01:39:11 -0500
 Always inline predicate and clearer methods

r26693@agaton (orig r7050):  autarch | 2008-12-11 06:23:32 +0000
Doh, we really need CMOP 0.72

15 years agoDoh, we really need CMOP 0.72
Dave Rolsky [Thu, 11 Dec 2008 06:23:32 +0000]
Doh, we really need CMOP 0.72

15 years agounsupport passing meta-attr object to triggers because (a) it's not tested (b) it...
Matt S Trout [Tue, 9 Dec 2008 22:06:59 +0000]
unsupport passing meta-attr object to triggers because (a) it's not tested (b) it's not documented (c) it makes it impossible to not close over the meta-attr objects

15 years agoAlways inline predicate and clearer methods
Shawn M Moore [Tue, 9 Dec 2008 06:39:26 +0000]
Always inline predicate and clearer methods

15 years agozero or more Roles
Chris Prather [Mon, 8 Dec 2008 22:25:12 +0000]
zero or more Roles

15 years agoI was channeling stevan and misspeled declaratively
Dave Rolsky [Mon, 8 Dec 2008 22:21:44 +0000]
I was channeling stevan and misspeled declaratively

15 years agobump version to 0.63 0.63
Dave Rolsky [Mon, 8 Dec 2008 17:14:17 +0000]
bump version to 0.63

15 years agoNo point in keeping this todo test for parameterized roles in the
Dave Rolsky [Mon, 8 Dec 2008 17:12:33 +0000]
No point in keeping this todo test for parameterized roles in the
Moose distro now that we have an MX module for it.

15 years agoupdate manifest
Dave Rolsky [Mon, 8 Dec 2008 17:11:18 +0000]
update manifest

15 years agoAdd changes for 0.63
Dave Rolsky [Mon, 8 Dec 2008 17:09:21 +0000]
Add changes for 0.63

15 years agoSmall tweaks to some of the text.
Dave Rolsky [Sun, 7 Dec 2008 18:53:41 +0000]
Small tweaks to some of the text.

15 years agoFix some unintended bugs in the "standard" P5 code.
Dave Rolsky [Sun, 7 Dec 2008 18:50:19 +0000]
Fix some unintended bugs in the "standard" P5 code.

15 years agoRemove an unneeded "the"
Dave Rolsky [Sun, 7 Dec 2008 18:45:18 +0000]
Remove an unneeded "the"

15 years agoFailing test for passing parameters to role->create (fix will go in Class::MOP)
Shawn M Moore [Sun, 7 Dec 2008 01:29:56 +0000]
Failing test for passing parameters to role->create (fix will go in Class::MOP)

15 years agomore tests for metaclass traits with required attributes
Todd Hepler [Fri, 5 Dec 2008 22:36:27 +0000]
more tests for metaclass traits with required attributes

15 years agochanges to the way Moose::Meta::TypeConstraint passed arguments to the compiled type...
John Napiorkowski [Fri, 5 Dec 2008 21:49:20 +0000]
changes to the way Moose::Meta::TypeConstraint passed arguments to the compiled type constraint coderef so that I can support MooseX::Types::Structured::Optional

15 years agorequire latest CMOP 0.62_02
Dave Rolsky [Fri, 5 Dec 2008 19:30:39 +0000]
require latest CMOP

15 years agobump version and update Changes
Dave Rolsky [Fri, 5 Dec 2008 19:21:54 +0000]
bump version and update Changes

15 years agoHandle defaults with quote-breaking values correctly by using
Dave Rolsky [Fri, 5 Dec 2008 16:57:18 +0000]
Handle defaults with quote-breaking values correctly by using
quotemeta. Added tests for this.

15 years agoSpell coerce like a proper Merkan
Dave Rolsky [Fri, 5 Dec 2008 16:48:07 +0000]
Spell coerce like a proper Merkan

15 years agoDon't call get_all_package_symbols in list context
Dave Rolsky [Fri, 5 Dec 2008 15:01:31 +0000]
Don't call get_all_package_symbols in list context

15 years agoupdate MANIFEST for test changes
Dave Rolsky [Fri, 5 Dec 2008 14:59:04 +0000]
update MANIFEST for test changes

15 years agoRevert unwanted MMM::Accessor change
Marcus Ramberg [Fri, 5 Dec 2008 14:53:43 +0000]
Revert unwanted MMM::Accessor change

15 years agoBump dependency for MoreUtils
Marcus Ramberg [Fri, 5 Dec 2008 13:11:32 +0000]
Bump dependency for MoreUtils

15 years agouse _eval_closure
Matt S Trout [Fri, 5 Dec 2008 03:05:55 +0000]
use _eval_closure

15 years agoMerge 'trunk' into 'method_generation_cleanup'
Matt S Trout [Fri, 5 Dec 2008 02:32:21 +0000]
Merge 'trunk' into 'method_generation_cleanup'

r26239@agaton (orig r6860):  autarch | 2008-12-05 02:04:21 +0000
this test is obsolete
basically, it tested for behavior we just decided was wrong, and which has now changed
r26241@agaton (orig r6862):  autarch | 2008-12-05 02:15:40 +0000
If the constructor in a parent class has method modifiers, we will not
inline it. In that case, mention the fact that it is wrapped in the
warning.
r26242@agaton (orig r6863):  autarch | 2008-12-05 02:17:14 +0000
This todo test is now partially implemented. The other part is not
going to be fixed unless we can inline method modifiers.
r26243@agaton (orig r6864):  autarch | 2008-12-05 02:18:23 +0000
Fix pod coverage

15 years agoFix pod coverage
Dave Rolsky [Fri, 5 Dec 2008 02:18:23 +0000]
Fix pod coverage

15 years agoThis todo test is now partially implemented. The other part is not
Dave Rolsky [Fri, 5 Dec 2008 02:17:14 +0000]
This todo test is now partially implemented. The other part is not
going to be fixed unless we can inline method modifiers.

15 years agoIf the constructor in a parent class has method modifiers, we will not
Dave Rolsky [Fri, 5 Dec 2008 02:15:40 +0000]
If the constructor in a parent class has method modifiers, we will not
inline it. In that case, mention the fact that it is wrapped in the
warning.