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

15 years agobump version and update changes. 0.62_01
Dave Rolsky [Thu, 4 Dec 2008 03:20:58 +0000]
bump version and update changes.
Also require CMOP 0.71_01 (mostly so people can ensure they have the fastest version)

15 years agoDocument latest speed tweak
Dave Rolsky [Wed, 3 Dec 2008 03:23:42 +0000]
Document latest speed tweak

15 years agoMake the type constraint classes immutable in
Dave Rolsky [Wed, 3 Dec 2008 00:16:46 +0000]
Make the type constraint classes immutable in
Moose::Util::TypeConstraints, just before we make a bunch of constaint
objects for the recipe.

This keeps us from calling the very slow MOP-based accessor methods
while making these objects, which should speed up compilation a bit
(at least it improves the profile ;)

15 years agoUse the new method->execute API for BUILDALL and DEMOLISHALL
Shawn M Moore [Sat, 29 Nov 2008 01:39:33 +0000]
Use the new method->execute API for BUILDALL and DEMOLISHALL

16 years agoDocument chris's constructor fix 0.62
Dave Rolsky [Wed, 26 Nov 2008 19:52:01 +0000]
Document chris's constructor fix

16 years agoupdate MANIFEST
Dave Rolsky [Wed, 26 Nov 2008 19:49:51 +0000]
update MANIFEST

16 years agoAdd release date
Dave Rolsky [Wed, 26 Nov 2008 19:37:48 +0000]
Add release date

16 years agobump version to 0.62
Dave Rolsky [Wed, 26 Nov 2008 18:17:58 +0000]
bump version to 0.62

16 years agorequire Class::MOP 0.71
Dave Rolsky [Wed, 26 Nov 2008 17:18:11 +0000]
require Class::MOP 0.71

16 years agoFix the changelog whitespacing
Dave Rolsky [Wed, 26 Nov 2008 17:15:45 +0000]
Fix the changelog whitespacing

16 years agoMake removing attributes also remove their installed delegators + test
Tomas Doran [Wed, 26 Nov 2008 14:43:31 +0000]
Make removing attributes also remove their installed delegators + test

16 years agoAttempt to explain why a role that just requires methods is useful. Prose cleanups...
Shawn M Moore [Wed, 26 Nov 2008 07:06:55 +0000]
Attempt to explain why a role that just requires methods is useful. Prose cleanups welcome.

16 years agoUse single quotes for consistency
Shawn M Moore [Wed, 26 Nov 2008 02:27:36 +0000]
Use single quotes for consistency

16 years agoChanges tweaks
Shawn M Moore [Wed, 26 Nov 2008 02:26:05 +0000]
Changes tweaks

16 years agoFix the error message when we're composing role A with a role B which is excluded...
Shawn M Moore [Wed, 26 Nov 2008 02:25:52 +0000]
Fix the error message when we're composing role A with a role B which is excluded by role A. Before it just used to say "role B excludes role B".

16 years agoMake sure we properly blow away the anon role's symbol table
Shawn M Moore [Wed, 26 Nov 2008 02:02:48 +0000]
Make sure we properly blow away the anon role's symbol table

16 years agoWeaken anonymous roles in the metaclass lookup table so that they can eventually...
Shawn M Moore [Wed, 26 Nov 2008 02:02:02 +0000]
Weaken anonymous roles in the metaclass lookup table so that they can eventually be freed

16 years agoTest that we free anonymous roles automatically (we don't)
Shawn M Moore [Wed, 26 Nov 2008 01:26:05 +0000]
Test that we free anonymous roles automatically (we don't)

16 years agoditto load_class
Shawn M Moore [Tue, 25 Nov 2008 07:27:49 +0000]
ditto load_class

16 years agoMake sure that creating an anonymous role satisfies is_class_loaded
Shawn M Moore [Tue, 25 Nov 2008 07:24:43 +0000]
Make sure that creating an anonymous role satisfies is_class_loaded

16 years agoMore consistent errors for roles (don't really want to specify Moose::Role)
Shawn M Moore [Tue, 25 Nov 2008 06:40:56 +0000]
More consistent errors for roles (don't really want to specify Moose::Role)

16 years agoBe more consistent with the Moose::Meta::Class->create($package, %opts) api
Shawn M Moore [Tue, 25 Nov 2008 06:10:30 +0000]
Be more consistent with the Moose::Meta::Class->create($package, %opts) api

16 years agoMake pod coverage happy
Shawn M Moore [Tue, 25 Nov 2008 06:07:54 +0000]
Make pod coverage happy

16 years agoMore tests
Shawn M Moore [Tue, 25 Nov 2008 06:05:07 +0000]
More tests

16 years agoFirst cut of anonymous roles!
Shawn M Moore [Tue, 25 Nov 2008 06:04:58 +0000]
First cut of anonymous roles!

16 years agoMoose::Meta::Role->create for dynamic role construction
Shawn M Moore [Tue, 25 Nov 2008 05:51:46 +0000]
Moose::Meta::Role->create for dynamic role construction

16 years agoremove the number check from M:M:Constructor.pm to fix failing tests in t/100/019_*.t
Chris Prather [Fri, 21 Nov 2008 17:32:18 +0000]
remove the number check from M:M:Constructor.pm to fix failing tests in t/100/019_*.t

16 years agoadd '0 but true'
Chris Prather [Fri, 21 Nov 2008 17:28:37 +0000]
add '0 but true'

16 years agoadd more use cases
Chris Prather [Fri, 21 Nov 2008 17:25:23 +0000]
add more use cases

16 years agomove to teh right name
Chris Prather [Fri, 21 Nov 2008 17:08:22 +0000]
move to teh right name

16 years agoadd failing test for octal problem
Chris Prather [Fri, 21 Nov 2008 17:01:52 +0000]
add failing test for octal problem
tidy the test some
add test for octal doing the right thing

16 years agoRemove the make_immutable keyword, it's been deprecated and can break metaclasses
Shawn M Moore [Mon, 17 Nov 2008 22:44:32 +0000]
Remove the make_immutable keyword, it's been deprecated and can break metaclasses

16 years agoAdd a comment as per the traits case
Tomas Doran [Sun, 16 Nov 2008 17:56:58 +0000]
Add a comment as per the traits case

16 years agoFix another reentrancy issue in Moose::Exporter by additional localising of + test...
Tomas Doran [Sun, 16 Nov 2008 17:17:45 +0000]
Fix another reentrancy issue in Moose::Exporter by additional localising of  + test case

16 years agoFix 1 char POD bug
Tomas Doran [Sun, 16 Nov 2008 17:14:56 +0000]
Fix 1 char POD bug

16 years agoDepend on Task::Weaken so we know we have an XS Scalar::Util
Dave Rolsky [Fri, 14 Nov 2008 20:03:58 +0000]
Depend on Task::Weaken so we know we have an XS Scalar::Util

16 years agotypo fix
Shawn M Moore [Sun, 9 Nov 2008 06:05:21 +0000]
typo fix

16 years agoFactor out wrapper creation so users can give a prototype to the wrappers with a...
Shawn M Moore [Sun, 9 Nov 2008 03:47:34 +0000]
Factor out wrapper creation so users can give a prototype to the wrappers with a little less pain

16 years agofixed a method exclusion/aliasing bug
Stevan Little [Sun, 9 Nov 2008 01:39:31 +0000]
fixed a method exclusion/aliasing bug

16 years agoUpdate changes for 0.61 0.61
Dave Rolsky [Fri, 7 Nov 2008 21:22:21 +0000]
Update changes for 0.61

16 years agoTidy the code (and clean up rampant wacky whitespace for RT 40432)
Dave Rolsky [Fri, 7 Nov 2008 21:20:45 +0000]
Tidy the code (and clean up rampant wacky whitespace for RT 40432)

16 years agoTidy the code, which also removes whitespace on otherwise empty lines,
Dave Rolsky [Fri, 7 Nov 2008 21:16:31 +0000]
Tidy the code, which also removes whitespace on otherwise empty lines,
which confuses POD parsers (RT 40432)

16 years agoAdd the version bits to all .pm files
Dave Rolsky [Fri, 7 Nov 2008 20:33:43 +0000]
Add the version bits to all .pm files

16 years agoFix typo in my own name
Dave Rolsky [Sun, 2 Nov 2008 14:45:02 +0000]
Fix typo in my own name

16 years agoused perl-reversion to bump version to 0.61
Dave Rolsky [Sat, 1 Nov 2008 19:35:11 +0000]
used perl-reversion to bump version to 0.61

16 years agoSmall formatting fix
Dave Rolsky [Sat, 1 Nov 2008 19:32:34 +0000]
Small formatting fix

16 years agoAdd a few more tests for ->associated_metaclass on methods
Dave Rolsky [Sat, 1 Nov 2008 19:31:52 +0000]
Add a few more tests for ->associated_metaclass on methods

16 years agoMoose::Meta::Class->get_method_map was both broken and completely
Dave Rolsky [Sat, 1 Nov 2008 19:29:48 +0000]
Moose::Meta::Class->get_method_map was both broken and completely
unnecessary. At one point, it might've done something different from
CMOP::Class for roles, but that was no longer the case.

This fixes a bug where some method objects would not have
->associated_metaclass set when they were returned.

16 years agoRemove a bunch of commented out code (all tests still pass with 5.10.0 & 5.8.8)
Dave Rolsky [Sat, 1 Nov 2008 16:31:27 +0000]
Remove a bunch of commented out code (all tests still pass with 5.10.0 & 5.8.8)

16 years agomore create_child_type fixes (Role, Enum)
Yuval Kogman [Fri, 31 Oct 2008 06:05:14 +0000]
more create_child_type fixes (Role, Enum)

16 years agomore create_child_type fixes (Role, Enum)
Yuval Kogman [Fri, 31 Oct 2008 06:03:59 +0000]
more create_child_type fixes (Role, Enum)

16 years agodoc patch for lazy_build and clean up some other attribute docs
Chris Prather [Wed, 29 Oct 2008 19:50:22 +0000]
doc patch for lazy_build and clean up some other attribute docs

16 years agoFix lie in the docs (error_class does to have a default)
Dave Rolsky [Wed, 29 Oct 2008 19:39:04 +0000]
Fix lie in the docs (error_class does to have a default)

16 years agomoved name attribute normalization out of Moose::Util::TypeConstraints into Moose...
John Napiorkowski [Wed, 29 Oct 2008 17:37:11 +0000]
moved name attribute normalization out of Moose::Util::TypeConstraints into Moose::Meta::TypeConstraint

16 years agomake sure a type constrain name makes sense, properly stringify it and set a default...
John Napiorkowski [Wed, 29 Oct 2008 15:45:39 +0000]
make sure a type constrain name makes sense, properly stringify it and set a default name to __ANON__

16 years agochanges cleanup (gah, no tabs!)
Dave Rolsky [Mon, 27 Oct 2008 04:06:22 +0000]
changes cleanup (gah, no tabs!)

16 years agoload_class for a Role if the Role isn't already loaded during handles
Chris Prather [Mon, 27 Oct 2008 02:10:31 +0000]
load_class for a Role if the Role isn't already loaded during handles

16 years agofix the doap tag on the cabal
Chris Prather [Mon, 27 Oct 2008 02:01:57 +0000]
fix the doap tag on the cabal

16 years agoadd the Cabal to the doap file
Chris Prather [Mon, 27 Oct 2008 02:01:27 +0000]
add the Cabal to the doap file

16 years agoRemove doubled changes entry
Dave Rolsky [Fri, 24 Oct 2008 21:57:27 +0000]
Remove doubled changes entry

16 years agoDates are confusing
Dave Rolsky [Fri, 24 Oct 2008 21:56:14 +0000]
Dates are confusing

16 years agoUpdate the MANIFEST 0.60
Dave Rolsky [Fri, 24 Oct 2008 20:24:06 +0000]
Update the MANIFEST

16 years agoadded tests for the subtyping parameterized constraints with new type parameters
John Napiorkowski [Fri, 24 Oct 2008 20:07:54 +0000]
added tests for the subtyping parameterized constraints with new type parameters

16 years agoif a parameterizable constraint get parameterized, and it has a parameterized parent...
John Napiorkowski [Fri, 24 Oct 2008 19:19:07 +0000]
if a parameterizable constraint get parameterized, and it has a parameterized parent, we need to make sure that the incoming typeparameter is a subtype of the parents type parameter

16 years agoparameterized contstraints when subclassing should create a parameterizable constraint
John Napiorkowski [Fri, 24 Oct 2008 18:04:12 +0000]
parameterized contstraints when subclassing should create a parameterizable constraint

16 years agoFix some typos in the pod.
Florian Ragwitz [Fri, 24 Oct 2008 16:35:41 +0000]
Fix some typos in the pod.

16 years agoFinal change log updates before 0.60. Just cleaning up some existing text.
Dave Rolsky [Fri, 24 Oct 2008 15:36:36 +0000]
Final change log updates before 0.60. Just cleaning up some existing text.

16 years agoupdated changelog
John Napiorkowski [Fri, 24 Oct 2008 15:32:15 +0000]
updated changelog

16 years agoNo need to waste time binding arguments that are just passed on anyway
Shawn M Moore [Fri, 24 Oct 2008 14:00:15 +0000]
No need to waste time binding arguments that are just passed on anyway

16 years agoAdd tests for creating subtype of a Class type constraint.
Dave Rolsky [Fri, 24 Oct 2008 02:44:48 +0000]
Add tests for creating subtype of a Class type constraint.

16 years agoupdate pod link to not use a search.cpan.org uri
Yuval Kogman [Fri, 24 Oct 2008 01:14:09 +0000]
update pod link to not use a search.cpan.org uri

16 years agoNeed to override create_child_type for Class TC's so that they _do
Dave Rolsky [Thu, 23 Oct 2008 17:07:10 +0000]
Need to override create_child_type for Class TC's so that they _do
not_ return a new Class TC. Confusing, but correct(ish).

16 years agobump all versions to 0.60
Dave Rolsky [Thu, 23 Oct 2008 16:31:42 +0000]
bump all versions to 0.60

16 years agoSmall wording tweak
Dave Rolsky [Thu, 23 Oct 2008 16:27:58 +0000]
Small wording tweak

16 years agoAdd changes entry for restoration of parameterized type bits.
Dave Rolsky [Thu, 23 Oct 2008 16:24:27 +0000]
Add changes entry for restoration of parameterized type bits.

16 years agoRemove some redundant comments and tidy the code.
Dave Rolsky [Thu, 23 Oct 2008 16:22:21 +0000]
Remove some redundant comments and tidy the code.

16 years agoTidy some code here. Also remove an unused variable.
Dave Rolsky [Thu, 23 Oct 2008 16:18:28 +0000]
Tidy some code here. Also remove an unused variable.

16 years agos/childtype/child_type/g - why ignore every naming standard already in use in the...
Dave Rolsky [Thu, 23 Oct 2008 16:16:52 +0000]
s/childtype/child_type/g - why ignore every naming standard already in use in the codebase, I ask rhetorically

16 years agoMerge the parameterized_type_fixes to trunk
Dave Rolsky [Thu, 23 Oct 2008 16:15:57 +0000]
Merge the parameterized_type_fixes to trunk
this restore the parameterized type related changes jnapiorkowski made before, which I accidentally removed in 0.59

16 years agoremoved some debug stuff
John Napiorkowski [Thu, 23 Oct 2008 15:56:35 +0000]
removed some debug stuff

16 years agochanged the way subtypes are made so that we delegate the job to the actual type...
John Napiorkowski [Thu, 23 Oct 2008 15:45:50 +0000]
changed the way subtypes are made so that we delegate the job to the actual type constraint parent, rather than have a bunch of exceptions in M:U:Constraints.  This will allow up to properly subtype Moose::Meta::Constraint in the MooseX namespace.  Added a test to show the bug this code is trying to solve

16 years agoRequire a more modern Test::More, because 0.75 (at least) caused some
Dave Rolsky [Wed, 22 Oct 2008 21:39:07 +0000]
Require a more modern Test::More, because 0.75 (at least) caused some
TODO tests to be treated as failures. There was a TODO fix 0.77.

16 years agoJust require the latest Scalar::Util (which is still about 2 years
Dave Rolsky [Wed, 22 Oct 2008 21:38:30 +0000]
Just require the latest Scalar::Util (which is still about 2 years
old) to avoid the win32 silliness.

16 years agoTests for resolve_meta{class,trait}_alias in Moose::Util.
Dave Rolsky [Wed, 22 Oct 2008 20:46:02 +0000]
Tests for resolve_meta{class,trait}_alias in Moose::Util.

Moved caching to resolve_metaclass_alias.

16 years agoAlso bump version in Moose.pm, as pointed out by autarch - cheers
Tomas Doran [Wed, 22 Oct 2008 20:05:28 +0000]
Also bump version in Moose.pm, as pointed out by autarch - cheers

16 years agoSpeedups in does for MooseX::Storage, should also make protocol buffers suck less...
Tomas Doran [Wed, 22 Oct 2008 20:01:57 +0000]
Speedups in does for MooseX::Storage, should also make protocol buffers suck less. WARNING: Relies on trunk CMOP, I've bumped versions so people should notice.

16 years agofirst pass at restoring parametrization changes and tests
John Napiorkowski [Wed, 22 Oct 2008 19:37:42 +0000]
first pass at restoring parametrization changes and tests

16 years agonew branch to fix parameter types
John Napiorkowski [Wed, 22 Oct 2008 15:21:36 +0000]
new branch to fix parameter types

16 years agoMake gross construct ever so slightly less gross in does()
Dave Rolsky [Tue, 21 Oct 2008 18:01:24 +0000]
Make gross construct ever so slightly less gross in does()

16 years agoFix typo in comment
Dave Rolsky [Tue, 21 Oct 2008 17:59:07 +0000]
Fix typo in comment

16 years agoFix bug with -traits to Moose
Dave Rolsky [Thu, 16 Oct 2008 15:01:44 +0000]
Fix bug with -traits to Moose