15 years agoAdd boilerplate at bottom
Dave Rolsky [Sun, 25 Jan 2009 16:18:06 +0000]
Add boilerplate at bottom

15 years ago(empty) merge from trunk to moose-manual branch
Dave Rolsky [Fri, 9 Jan 2009 03:45:00 +0000]
(empty) merge from trunk to moose-manual branch

15 years agomore work on the manual, notably mostly finishing the Roles document
Dave Rolsky [Fri, 9 Jan 2009 03:43:49 +0000]
more work on the manual, notably mostly finishing the Roles document

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 agoRemove Test::LongString from Makefile.PL, we don't use it in the tests
Shawn M Moore [Wed, 7 Jan 2009 13:33:42 +0000]
Remove Test::LongString from Makefile.PL, we don't use it in the tests

15 years agomerge from trunk
Dave Rolsky [Tue, 6 Jan 2009 05:43:14 +0000]
merge from trunk

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 agomerge from trunk to moose-manual branch
Dave Rolsky [Tue, 30 Dec 2008 14:54:21 +0000]
merge from trunk to moose-manual branch

15 years agowork in progress on roles
Dave Rolsky [Tue, 23 Dec 2008 14:57:05 +0000]
work in progress on roles

15 years agoTidy the code
Dave Rolsky [Tue, 23 Dec 2008 14:23:29 +0000]
Tidy the code

15 years agoReformat code with perltidy
Dave Rolsky [Tue, 23 Dec 2008 14:22:19 +0000]
Reformat code with perltidy

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 agoFirst draft of method modifiers manual
Dave Rolsky [Fri, 19 Dec 2008 21:17:41 +0000]
First draft of method modifiers manual

15 years agoAdd another heading
Dave Rolsky [Tue, 16 Dec 2008 22:25:28 +0000]
Add another heading

15 years agoSome doc re-org
Dave Rolsky [Tue, 16 Dec 2008 22:24:41 +0000]
Some doc re-org

15 years agoSmall grammar tweak
Dave Rolsky [Tue, 16 Dec 2008 21:53:29 +0000]
Small grammar tweak

15 years agoLots of cleanup in the text.
Dave Rolsky [Tue, 16 Dec 2008 20:50:46 +0000]
Lots of cleanup in the text.

Add init_arg section.

Add boilerplate

15 years agoI think I've covered all the things that need covering. Still need to
Dave Rolsky [Tue, 16 Dec 2008 19:48:07 +0000]
I think I've covered all the things that need covering. Still need to
review for clarity and completeness.

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 agoMove initializer later in the docs
Dave Rolsky [Sat, 13 Dec 2008 16:34:44 +0000]
Move initializer later in the docs

15 years agoStill mostly an outline, but might as well get it into VCS
Dave Rolsky [Fri, 12 Dec 2008 21:19:27 +0000]
Still mostly an outline, but might as well get it into VCS

15 years agoChecking in the first chunk of the Attributes manual section
Dave Rolsky [Fri, 12 Dec 2008 21:19:02 +0000]
Checking in the first chunk of the Attributes manual section

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

15 years agoMake link include name of linked-to POD in link text.
Dave Rolsky [Thu, 11 Dec 2008 23:08:04 +0000]
Make link include name of linked-to POD in link text.

15 years agoMore polishing of this doc
Dave Rolsky [Thu, 11 Dec 2008 21:55:05 +0000]
More polishing of this doc

15 years agoremove some whitespace
Dave Rolsky [Thu, 11 Dec 2008 17:33:48 +0000]
remove some whitespace

15 years agoFirst draft of docs on object construction
Dave Rolsky [Thu, 11 Dec 2008 17:33:22 +0000]
First draft of docs on object construction

15 years agoMove recommendations bit to its own BestPractices.pod
Dave Rolsky [Thu, 11 Dec 2008 16:29:55 +0000]
Move recommendations bit to its own BestPractices.pod

15 years agoEnd examples with no Moose and make_immutable, since we say that's best practices
Dave Rolsky [Thu, 11 Dec 2008 16:24:00 +0000]
End examples with no Moose and make_immutable, since we say that's best practices

15 years agoMore wording tweaks
Dave Rolsky [Thu, 11 Dec 2008 16:23:25 +0000]
More wording tweaks

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 agoMove mention of ->meta later in the docs
Dave Rolsky [Thu, 11 Dec 2008 03:45:08 +0000]
Move mention of ->meta later in the docs

15 years agoAdd first draft of classes manual document
Dave Rolsky [Wed, 10 Dec 2008 21:06:31 +0000]
Add first draft of classes manual document

15 years agoVarious text tweaks.
Dave Rolsky [Wed, 10 Dec 2008 17:38:42 +0000]
Various text tweaks.

15 years agoJust sticking this here for my own benefit
Dave Rolsky [Tue, 9 Dec 2008 23:40:24 +0000]
Just sticking this here for my own benefit

15 years agoMoved all the concept bits to their own POD doc.
Dave Rolsky [Tue, 9 Dec 2008 20:48:14 +0000]
Moved all the concept bits to their own POD doc.

Updated the manual and concepts a bit.

15 years agoAdd back Intro.pod and point it to Manual
Dave Rolsky [Tue, 9 Dec 2008 20:17:38 +0000]
Add back Intro.pod and point it to Manual

15 years agorename Intro to Manual
Dave Rolsky [Tue, 9 Dec 2008 20:16:02 +0000]
rename Intro to Manual

15 years agomake a branch for writing the manual
Dave Rolsky [Tue, 9 Dec 2008 20:14:55 +0000]
make a branch for writing the manual

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

15 years agothis test is obsolete
Dave Rolsky [Fri, 5 Dec 2008 02:04:21 +0000]
this test is obsolete
basically, it tested for behavior we just decided was wrong, and which has now changed

15 years agoUpdate the compatibility list in the Makefile.PL
Dave Rolsky [Thu, 4 Dec 2008 23:12:12 +0000]
Update the compatibility list in the Makefile.PL

15 years agoDon't bother checking the expected constructor class for an inlined
Dave Rolsky [Thu, 4 Dec 2008 23:11:49 +0000]
Don't bother checking the expected constructor class for an inlined
constructor.

Note that while this is correct, it's also largely pointless. See the
new comment for an explanation of why this is so.

15 years agoOk, I was getting a little wacky.
Dave Rolsky [Thu, 4 Dec 2008 23:05:41 +0000]
Ok, I was getting a little wacky.

If our parent has inlined a constructor, then the child can too. It's
that simple, since the assumption is that inlined constructors are
specific to the class in which they're inlined, and are not meant to
be inherited.

15 years agoMake sure that whenever we don't inline, we warn, and add tests.
Dave Rolsky [Thu, 4 Dec 2008 23:00:05 +0000]
Make sure that whenever we don't inline, we warn, and add tests.

15 years agoThe last checkin was broken in the case where class B inherited from
Dave Rolsky [Thu, 4 Dec 2008 22:39:05 +0000]
The last checkin was broken in the case where class B inherited from
class A, and class A had made itself immutable.

In that case, MMMC thought that the inlined constructor for A meant it
couldn't inline for B. This checkin fixes it to be much smarter. If
any parent is inlined, it checks to see if the inlined constructor's
class in the parent matches the constructor class that's trying to do
inlining. If they match, it goes ahead and inlines, otherwise it
doesn't.

15 years agoBreak the long string into two lines
Dave Rolsky [Thu, 4 Dec 2008 21:41:48 +0000]
Break the long string into two lines

15 years agoImplement a can_be_inlined method for MMM::Constructor that does not
Dave Rolsky [Thu, 4 Dec 2008 21:36:23 +0000]
Implement a can_be_inlined method for MMM::Constructor that does not
inline unless the new method comes from Moose::Object, by
default. Also left a hook in to allow subclasses of MMMC to easily
share this logic.

15 years agoWhen applying a role to a class and some methods are missing (or are
Dave Rolsky [Thu, 4 Dec 2008 16:44:34 +0000]
When applying a role to a class and some methods are missing (or are
accessors), collect all the missing methods together and mention them
all in the error, rather than just dying on the first one. This makes
for a much friendlier error message. (RT #41119).

15 years agoPut some space between ok and {
Dave Rolsky [Thu, 4 Dec 2008 16:17:10 +0000]
Put some space between ok and {

15 years agoGot rid of a bunch of random whitespace and tidied the file
Dave Rolsky [Thu, 4 Dec 2008 16:15:40 +0000]
Got rid of a bunch of random whitespace and tidied the file

15 years agoQuote subtype names here
Dave Rolsky [Thu, 4 Dec 2008 15:54:16 +0000]
Quote subtype names here