12 years agoAdd tests for memory leaks
Dave Rolsky [Sun, 19 Feb 2012 18:10:19 +0000]
Add tests for memory leaks

Some of these tests are failing right now.

12 years ago[pod] set identical explaination in one section
shelling [Wed, 28 Mar 2012 05:50:36 +0000]
[pod] set identical explaination in one section

12 years agofix manual typo
shelling [Thu, 22 Mar 2012 02:39:55 +0000]
fix manual typo
ExplodesOnBreakage is a role, not method

12 years agoAdd docs for CMOP::Method::Overload
Dave Rolsky [Sat, 17 Mar 2012 15:46:27 +0000]
Add docs for CMOP::Method::Overload

12 years agochangelog
Jesse Luehrs [Sat, 10 Mar 2012 23:59:39 +0000]
changelog

12 years agodocumentation
Jesse Luehrs [Sat, 10 Mar 2012 23:58:27 +0000]
documentation

12 years agoadd test for overloading based on method name
Jesse Luehrs [Sat, 10 Mar 2012 23:49:52 +0000]
add test for overloading based on method name

12 years agoimplement remove_overloaded_operator
Jesse Luehrs [Sat, 10 Mar 2012 23:37:41 +0000]
implement remove_overloaded_operator

12 years agorename these for more consistency
Jesse Luehrs [Sat, 10 Mar 2012 23:14:17 +0000]
rename these for more consistency

12 years agofactor this out into a private method
Jesse Luehrs [Thu, 8 Mar 2012 07:13:08 +0000]
factor this out into a private method

12 years agoprovide an is_overloaded method
Jesse Luehrs [Thu, 8 Mar 2012 07:09:57 +0000]
provide an is_overloaded method

12 years agoclean some things up, add some more tests
Jesse Luehrs [Thu, 8 Mar 2012 06:28:54 +0000]
clean some things up, add some more tests

12 years agonot sure how i ever expected that to work
Jesse Luehrs [Thu, 8 Mar 2012 04:32:17 +0000]
not sure how i ever expected that to work

12 years agos/op/operator/g
Jesse Luehrs [Mon, 13 Feb 2012 08:00:34 +0000]
s/op/operator/g

12 years agostart sketching out an overload api for the mop
Jesse Luehrs [Mon, 13 Feb 2012 01:17:57 +0000]
start sketching out an overload api for the mop

12 years agoFix perigrin's spelling
Dave Rolsky [Sat, 17 Mar 2012 15:12:44 +0000]
Fix perigrin's spelling

12 years agochangelog
Jesse Luehrs [Sun, 11 Mar 2012 01:17:36 +0000]
changelog

12 years agoupdate the docs
Jesse Luehrs [Sun, 11 Mar 2012 01:14:03 +0000]
update the docs

12 years agomove metarole application from init_meta to the end of import
Jesse Luehrs [Sun, 11 Mar 2012 01:06:41 +0000]
move metarole application from init_meta to the end of import

this should fix RT51561

12 years agoadd a note about multi-level exports
Chris Prather [Fri, 2 Mar 2012 09:19:37 +0000]
add a note about multi-level exports

12 years agometa_lookup needs to propagate downwards, if unspecified
Jesse Luehrs [Fri, 2 Mar 2012 08:23:15 +0000]
meta_lookup needs to propagate downwards, if unspecified

12 years agofix the order of init_meta calls, when nesting
Jesse Luehrs [Fri, 2 Mar 2012 06:10:09 +0000]
fix the order of init_meta calls, when nesting

12 years agodocument the builder accessor method
Karen Etheridge [Mon, 12 Mar 2012 19:14:36 +0000]
document the builder accessor method

12 years agono reason for this
Jesse Luehrs [Sun, 11 Mar 2012 00:03:47 +0000]
no reason for this

12 years agot/metaclasses/custom_attr_meta_with_roles.t uses parent
Karen Etheridge [Fri, 9 Mar 2012 12:25:29 +0000]
t/metaclasses/custom_attr_meta_with_roles.t uses parent

12 years agoFix test setup code for Table_MetaclassTrait recipe
Dave Rolsky [Thu, 1 Mar 2012 17:20:36 +0000]
Fix test setup code for Table_MetaclassTrait recipe

12 years agoAdd metaobject and metaobjects to spelling whitelist
Dave Rolsky [Thu, 1 Mar 2012 17:19:34 +0000]
Add metaobject and metaobjects to spelling whitelist

12 years agoAdd missing =over and =back
Dave Rolsky [Thu, 1 Mar 2012 17:18:33 +0000]
Add missing =over and =back

12 years agocomment about why we explicitly clear @ISA
Jesse Luehrs [Tue, 21 Feb 2012 14:36:40 +0000]
comment about why we explicitly clear @ISA

12 years agoMention cookbook rename in Delta
Dave Rolsky [Mon, 20 Feb 2012 23:03:58 +0000]
Mention cookbook rename in Delta

12 years agoAdd one more deleted recipe to the Legacy section
Dave Rolsky [Mon, 20 Feb 2012 22:26:59 +0000]
Add one more deleted recipe to the Legacy section

12 years agoFix links to legacy recipes
Dave Rolsky [Mon, 20 Feb 2012 22:26:46 +0000]
Fix links to legacy recipes

12 years agoSmall tweaks to new text
Dave Rolsky [Mon, 20 Feb 2012 15:47:15 +0000]
Small tweaks to new text

12 years agocalling Moose->init_meta yourself really shouldn't be recommended
Jesse Luehrs [Mon, 20 Feb 2012 15:29:33 +0000]
calling Moose->init_meta yourself really shouldn't be recommended

12 years agoneed to use Moose in this example
Jesse Luehrs [Mon, 20 Feb 2012 15:29:16 +0000]
need to use Moose in this example

12 years agoRestore deleted recipes under Moose::Cookbook::Legacy
Dave Rolsky [Mon, 20 Feb 2012 14:31:55 +0000]
Restore deleted recipes under Moose::Cookbook::Legacy

12 years agostop recommending the register_implementation thing
Jesse Luehrs [Mon, 20 Feb 2012 14:23:09 +0000]
stop recommending the register_implementation thing

12 years agoclass metaclasses can also be applied directly
Jesse Luehrs [Mon, 20 Feb 2012 14:07:37 +0000]
class metaclasses can also be applied directly

12 years agoadd another warning against subclass extensions
Jesse Luehrs [Mon, 20 Feb 2012 14:06:18 +0000]
add another warning against subclass extensions

12 years agothis is actually completely unnecessary
Jesse Luehrs [Mon, 20 Feb 2012 14:02:09 +0000]
this is actually completely unnecessary

12 years ago'use Moose::Exporter' already turns on strict and warnings
Jesse Luehrs [Mon, 20 Feb 2012 13:54:52 +0000]
'use Moose::Exporter' already turns on strict and warnings

12 years agoAdd CAVEAT to Meta::Table_MetaclassTrait about issues when all code is in one file.
Dave Rolsky [Sun, 19 Feb 2012 23:49:37 +0000]
Add CAVEAT to Meta::Table_MetaclassTrait about issues when all code is in one file.

Also add tests for the code.

12 years agoDoc recipe rename in Changes
Dave Rolsky [Sat, 11 Feb 2012 21:10:01 +0000]
Doc recipe rename in Changes

12 years agoFix tests for moose sugar extending recipe so they pass
Dave Rolsky [Sat, 11 Feb 2012 20:51:06 +0000]
Fix tests for moose sugar extending recipe so they pass

12 years agoRename Extending::Recipe4 to Extending::Mooseish_MooseSugar
Dave Rolsky [Sat, 11 Feb 2012 20:40:02 +0000]
Rename Extending::Recipe4 to Extending::Mooseish_MooseSugar

12 years agoThere is no extending recipe3 any more
Dave Rolsky [Sat, 11 Feb 2012 20:38:20 +0000]
There is no extending recipe3 any more

12 years agoRename Extending::Recipe2 to Extending::Debugging_BaseClassRole
Dave Rolsky [Sat, 11 Feb 2012 20:37:57 +0000]
Rename Extending::Recipe2 to Extending::Debugging_BaseClassRole

12 years agoRename Extending::Recipe1 to Extending::ExtensionOverview
Dave Rolsky [Sat, 11 Feb 2012 20:36:39 +0000]
Rename Extending::Recipe1 to Extending::ExtensionOverview

12 years agoRemove reference to not-yet-written Meta::Recipe8
Dave Rolsky [Sat, 11 Feb 2012 20:34:56 +0000]
Remove reference to not-yet-written Meta::Recipe8

12 years agoRename Meta::Recipe7 to Meta::GlobRef_InstanceMetaclass
Dave Rolsky [Sat, 11 Feb 2012 20:34:17 +0000]
Rename Meta::Recipe7 to Meta::GlobRef_InstanceMetaclass

12 years agoRename Meta::Recipe6 to Meta::PrivateOrPublic_MethodMetaclass
Dave Rolsky [Sat, 11 Feb 2012 20:31:26 +0000]
Rename Meta::Recipe6 to Meta::PrivateOrPublic_MethodMetaclass

12 years agoRename Meta::Recipe5 to Meta::Table_MetaclassTrait
Dave Rolsky [Sat, 11 Feb 2012 20:30:11 +0000]
Rename Meta::Recipe5 to Meta::Table_MetaclassTrait

12 years agoRename Meta::Recipe3 to Meta::Labeled_AttributeTrait
Dave Rolsky [Sat, 11 Feb 2012 20:28:26 +0000]
Rename Meta::Recipe3 to Meta::Labeled_AttributeTrait

12 years agoRename Meta::Recipe1 to Meta::WhyMeta
Dave Rolsky [Sat, 11 Feb 2012 20:26:00 +0000]
Rename Meta::Recipe1 to Meta::WhyMeta

12 years agoRename Roles::Recipe3 to Roles::ApplicationToInstance
Dave Rolsky [Sat, 11 Feb 2012 20:24:36 +0000]
Rename Roles::Recipe3 to Roles::ApplicationToInstance

12 years agoRename Roles::Recipe2 to Roles::Restartable_AdvancedComposition
Dave Rolsky [Sat, 11 Feb 2012 20:22:53 +0000]
Rename Roles::Recipe2 to Roles::Restartable_AdvancedComposition

12 years agoRename Roles::Recipe1 to Roles::Comparable_CodeReuse
Dave Rolsky [Sat, 11 Feb 2012 20:21:19 +0000]
Rename Roles::Recipe1 to Roles::Comparable_CodeReuse

12 years agoRename Basics::Recipe11 to Basics::DateTime_ExtendingNonMooseParent
Dave Rolsky [Sat, 11 Feb 2012 18:08:11 +0000]
Rename Basics::Recipe11 to Basics::DateTime_ExtendingNonMooseParent

12 years agoRename Basics::Recipe10 to Basics::Person_BUILDARGSAndBUILD
Dave Rolsky [Sat, 11 Feb 2012 18:06:49 +0000]
Rename Basics::Recipe10 to Basics::Person_BUILDARGSAndBUILD

12 years agoRename Basics::Recipe9 to Basics::Genome_OverloadingSubtypesAndCoercion
Dave Rolsky [Sat, 11 Feb 2012 18:04:08 +0000]
Rename Basics::Recipe9 to Basics::Genome_OverloadingSubtypesAndCoercion

12 years agoRename Basics::Recipe8 to Basics::BinaryTree_BuilderAndLazyBuild
Dave Rolsky [Sat, 11 Feb 2012 18:02:16 +0000]
Rename Basics::Recipe8 to Basics::BinaryTree_BuilderAndLazyBuild

12 years agoRename Basics::Recipe7 to Basics::Immutable
Dave Rolsky [Sat, 11 Feb 2012 18:00:29 +0000]
Rename Basics::Recipe7 to Basics::Immutable

12 years agoRename Basics::Recipe6 to Basics::Document_AugmentAndInner
Dave Rolsky [Sat, 11 Feb 2012 17:59:30 +0000]
Rename Basics::Recipe6 to Basics::Document_AugmentAndInner

12 years agoRename Basics::Recipe5 to Basics::HTTP_SubtypesAndCoercion
Dave Rolsky [Sat, 11 Feb 2012 17:57:09 +0000]
Rename Basics::Recipe5 to Basics::HTTP_SubtypesAndCoercion

12 years agoRename Basics::Recipe4 to Basics::Company_Subtypes
Dave Rolsky [Sat, 11 Feb 2012 17:53:08 +0000]
Rename Basics::Recipe4 to Basics::Company_Subtypes

12 years agoRename Basics::Recipe3 to Basics::BinaryTree_AttributeFeatures
Dave Rolsky [Sat, 11 Feb 2012 17:33:01 +0000]
Rename Basics::Recipe3 to Basics::BinaryTree_AttributeFeatures

12 years agoRename Basics::Recipe2 to Basics::BankAccount_MethodModifiersAndSubclassing
Dave Rolsky [Sat, 11 Feb 2012 17:25:01 +0000]
Rename Basics::Recipe2 to Basics::BankAccount_MethodModifiersAndSubclassing

12 years agoRename Basics::Recipe1 to Basics::Point_AttributesAndSubclassing
Dave Rolsky [Sat, 11 Feb 2012 17:22:25 +0000]
Rename Basics::Recipe1 to Basics::Point_AttributesAndSubclassing

12 years agoRemove recipe on providing an alternate base class
Dave Rolsky [Sun, 2 Oct 2011 20:50:33 +0000]
Remove recipe on providing an alternate base class

12 years agoUse a metaclass trait and don't do "also => Moose"
Dave Rolsky [Sat, 1 Oct 2011 16:11:15 +0000]
Use a metaclass trait and don't do "also => Moose"

12 years agoRemove deleted recipes from Cookbook.pod
Dave Rolsky [Sat, 1 Oct 2011 15:51:01 +0000]
Remove deleted recipes from Cookbook.pod

12 years agoUse a better class name for recipe code
Dave Rolsky [Sat, 1 Oct 2011 15:50:26 +0000]
Use a better class name for recipe code

12 years agoRemove meta recipe 4 and merge its relevant bits into meta recipe 5
Dave Rolsky [Sat, 1 Oct 2011 15:47:11 +0000]
Remove meta recipe 4 and merge its relevant bits into meta recipe 5

12 years agoRemoved Meta recipe2 (an attribute metaclass)
Dave Rolsky [Sat, 1 Oct 2011 15:39:07 +0000]
Removed Meta recipe2 (an attribute metaclass)

I merged all the useful bits from recipe 2 into recipe 3.

If we're going to renumber I'll do that in a separate commit after I'm done
revising all the recipes that need revision.

12 years agoUpdate to modernize recommendations and make example code use modern APIs
Dave Rolsky [Fri, 30 Sep 2011 17:26:48 +0000]
Update to modernize recommendations and make example code use modern APIs

12 years agoMention ticket associated with bug
Dave Rolsky [Sun, 19 Feb 2012 23:55:48 +0000]
Mention ticket associated with bug

12 years agoSmall formatting tweak
Dave Rolsky [Sun, 19 Feb 2012 23:55:10 +0000]
Small formatting tweak

12 years agoAnd the same fix for role_type
Tomas Doran [Thu, 15 Dec 2011 17:11:42 +0000]
And the same fix for role_type

12 years agoFix bug with multiple class_type statements.
Tomas Doran [Thu, 15 Dec 2011 17:02:07 +0000]
Fix bug with multiple class_type statements.

We would previously override the existing class_type with a new one, thereby losing any coercions that
were defined on the previous class_type.

This bug was introduced in commit 6f49644548

12 years agos/Version::Requirements/CPAN::Meta::Requirements/g
Dave Rolsky [Sun, 19 Feb 2012 23:52:16 +0000]
s/Version::Requirements/CPAN::Meta::Requirements/g

12 years agoAdd 2.0402 Changes to master branch
Dave Rolsky [Sun, 19 Feb 2012 20:03:54 +0000]
Add 2.0402 Changes to master branch

12 years agoFix implementation of _STRINGLIKE0
Dave Rolsky [Sat, 18 Feb 2012 16:55:32 +0000]
Fix implementation of _STRINGLIKE0

This was checking for string overloading but only considered that valid if it
returned a non-zero length string, even though for plain old strings, an empty
string was accepted.

In practice, this didn't matter, because if this check failed, it would just
check to see if "$_[0] eq q{}", which stringified the object.

12 years agoAdd a test to make sure native array ->join accepts an object which overloads stringi...
Dave Rolsky [Sat, 18 Feb 2012 16:51:39 +0000]
Add a test to make sure native array ->join accepts an object which overloads stringification

12 years agoSome typo fixes for the Class::MOP docs
Dave Romano [Tue, 14 Feb 2012 21:26:18 +0000]
Some typo fixes for the Class::MOP docs

12 years agorequire the minimum version of Class::Load that has load_first_existing_class
Karen Etheridge [Mon, 13 Feb 2012 21:15:17 +0000]
require the minimum version of Class::Load that has load_first_existing_class

12 years agoRevert "Class::Load::load_first_existing_class was added in 0.07"
Karen Etheridge [Mon, 13 Feb 2012 21:15:47 +0000]
Revert "Class::Load::load_first_existing_class was added in 0.07"

This reverts commit 8b0d48086bb1912a75fcd663f37c718bf94850bd.

12 years agoClass::Load::load_first_existing_class was added in 0.07
Karen Etheridge [Mon, 13 Feb 2012 21:12:55 +0000]
Class::Load::load_first_existing_class was added in 0.07

12 years agoFix some broken web links
Dave Rolsky [Sat, 11 Feb 2012 21:06:25 +0000]
Fix some broken web links

12 years agoUse mailto: in L<> links to email addresses
Dave Rolsky [Sat, 11 Feb 2012 21:01:09 +0000]
Use mailto: in L<> links to email addresses

12 years agoFix (or remove) broken links in the POD
Dave Rolsky [Sat, 11 Feb 2012 20:58:16 +0000]
Fix (or remove) broken links in the POD

12 years agomissing use statement in dzil stuff
Jesse Luehrs [Sat, 4 Feb 2012 00:49:06 +0000]
missing use statement in dzil stuff

12 years agomake this test less reliant on exact error message
Jesse Luehrs [Sat, 4 Feb 2012 00:06:07 +0000]
make this test less reliant on exact error message

12 years agorecipe11 needs to load DateTime::Calendar::Mayan
Jesse Luehrs [Fri, 27 Jan 2012 00:54:09 +0000]
recipe11 needs to load DateTime::Calendar::Mayan

it passes tests because Test::Requires already loads it, but this makes
it confusing when just looking at the actual code given in the pod

12 years agoAdd todo for method conflicts in role -> role application
Dave Rolsky [Mon, 9 Jan 2012 03:31:35 +0000]
Add todo for method conflicts in role -> role application

12 years agoMove a bunch of stuff around in the TODO list
Dave Rolsky [Mon, 9 Jan 2012 03:26:32 +0000]
Move a bunch of stuff around in the TODO list

Turn it into Markdown for my own benefit

12 years agoDuring role summation, make sure that any method name that conflicts does not get...
Dave Rolsky [Fri, 6 Jan 2012 21:00:24 +0000]
During role summation, make sure that any method name that conflicts does not get added to the composite as a regular method.

12 years agoTest (that fails) for an edge case in role composition
Dave Rolsky [Fri, 6 Jan 2012 20:59:07 +0000]
Test (that fails) for an edge case in role composition

When composing three roles, it is possible for the composite to end up with
both a conflict on a method and a method of that name. In most practical
applications, this doesn't really matter, since the conflict causes an
exception that must be resolved by the consumer.

However, it means that the composite reports bogus information when has_method
or get_method() is called.

12 years agoFix a small comment typo
Dave Rolsky [Sat, 31 Dec 2011 00:58:15 +0000]
Fix a small comment typo

12 years agoAdd tests for handling of excludes & alias with conflicting methods
Dave Rolsky [Fri, 30 Dec 2011 20:24:55 +0000]
Add tests for handling of excludes & alias with conflicting methods

12 years agoFix error message buglet
Dave Rolsky [Fri, 30 Dec 2011 19:21:19 +0000]
Fix error message buglet