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

12 years agoRemove PRANG from list of deps to test since it's been failing forever
Dave Rolsky [Mon, 26 Dec 2011 22:02:18 +0000]
Remove PRANG from list of deps to test since it's been failing forever

12 years agoAdd some minimal tests of the method API for roles
Dave Rolsky [Mon, 26 Dec 2011 21:16:43 +0000]
Add some minimal tests of the method API for roles

13 years agoFix code example to match current api
Dave Rolsky [Wed, 23 Nov 2011 16:01:41 +0000]
Fix code example to match current api

13 years agosync changelog
Jesse Luehrs [Thu, 17 Nov 2011 07:42:20 +0000]
sync changelog

13 years agofix weak lazy attributes (tome)
Jesse Luehrs [Thu, 17 Nov 2011 05:32:55 +0000]
fix weak lazy attributes (tome)

13 years agochangelog
Jesse Luehrs [Tue, 15 Nov 2011 17:20:18 +0000]
changelog

13 years agochangelog and version bump 2.0400
Jesse Luehrs [Tue, 15 Nov 2011 17:12:14 +0000]
changelog and version bump

13 years agoadd conflicts on broken things
Jesse Luehrs [Fri, 4 Nov 2011 02:09:16 +0000]
add conflicts on broken things

13 years agospelling fix
Jesse Luehrs [Fri, 4 Nov 2011 01:50:00 +0000]
spelling fix

13 years agochangelog
Jesse Luehrs [Wed, 2 Nov 2011 17:24:36 +0000]
changelog

13 years agoFix docs on inlining to reflect reality
Dave Rolsky [Wed, 2 Nov 2011 17:00:07 +0000]
Fix docs on inlining to reflect reality

We use the ->parent->_inline_check approach in our code

13 years agochangelog and version bump 2.0302
Jesse Luehrs [Wed, 2 Nov 2011 16:32:22 +0000]
changelog and version bump

13 years agofirst pass at benchmarking loading many classes
Todd Hepler [Wed, 26 Oct 2011 18:05:48 +0000]
first pass at benchmarking loading many classes

13 years agoAdd mention of load_class and is_class_loaded to Delta
Dave Rolsky [Tue, 25 Oct 2011 20:20:37 +0000]
Add mention of load_class and is_class_loaded to Delta

13 years agoSmall doc tweak - replace "there" with link to Class::Load.
Dave Rolsky [Tue, 25 Oct 2011 20:19:14 +0000]
Small doc tweak - replace "there" with link to Class::Load.

13 years agoRemove trailing whitespace
Dave Rolsky [Tue, 25 Oct 2011 20:18:15 +0000]
Remove trailing whitespace

13 years agodocument that some functions moved to Class::Load
Chris Prather [Tue, 25 Oct 2011 19:35:33 +0000]
document that some functions moved to Class::Load

13 years agodon't assume search.cpan.org-format anchors
Jesse Luehrs [Tue, 25 Oct 2011 14:47:14 +0000]
don't assume search.cpan.org-format anchors

13 years agoadjust tests to only test for truth of make_immutable return
Matt S Trout [Tue, 25 Oct 2011 01:56:53 +0000]
adjust tests to only test for truth of make_immutable return

13 years agomake make_mutable always return $self and alter tests to verify this; update docs...
Matt S Trout [Tue, 25 Oct 2011 01:08:18 +0000]
make make_mutable always return $self and alter tests to verify this; update docs to say that the return value is true but not to rely on its specific nature other than that

13 years agoRemove docs on no-longer-existent make_immutable method in Moose::Meta::Class
Dave Rolsky [Mon, 24 Oct 2011 20:19:35 +0000]
Remove docs on no-longer-existent make_immutable method in Moose::Meta::Class

13 years agoDon't expect CMOP::Class to have a $VERSION var (when running before dzil build it...
Dave Rolsky [Sat, 22 Oct 2011 00:38:34 +0000]
Don't expect CMOP::Class to have a $VERSION var (when running before dzil build it does not)

13 years agoFix test failure with Perl 5.8.8
Dave Rolsky [Sat, 22 Oct 2011 00:37:00 +0000]
Fix test failure with Perl 5.8.8

13 years agoAdd SUPER to list of modules for development
Dave Rolsky [Fri, 21 Oct 2011 21:45:05 +0000]
Add SUPER to list of modules for development

13 years agochangelog
Jesse Luehrs [Fri, 21 Oct 2011 16:39:23 +0000]
changelog

13 years agoversion bump 2.0301
Jesse Luehrs [Fri, 21 Oct 2011 16:34:58 +0000]
version bump

13 years agoDoc error class bug fix
Dave Rolsky [Fri, 14 Oct 2011 21:34:19 +0000]
Doc error class bug fix

13 years agoA mutable class will throw errors from inside CMOP, and that's expected
Dave Rolsky [Fri, 14 Oct 2011 21:33:15 +0000]
A mutable class will throw errors from inside CMOP, and that's expected

13 years agoFix uninit var warning from _inline_create_error when $args is undef
Dave Rolsky [Fri, 14 Oct 2011 21:30:59 +0000]
Fix uninit var warning from _inline_create_error when $args is undef

13 years agoCheck that stderr is empty string, not undef
Dave Rolsky [Fri, 14 Oct 2011 21:30:46 +0000]
Check that stderr is empty string, not undef

13 years agoAdd test - custom error class is causing a warning from make_immutable
Dave Rolsky [Fri, 14 Oct 2011 21:28:13 +0000]
Add test - custom error class is causing a warning from make_immutable

And it also doesn't seem to work properly at all with a mutable class

See RT 71514

13 years agofix pod spelling
Jesse Luehrs [Sun, 9 Oct 2011 19:17:00 +0000]
fix pod spelling

13 years agoSmall wording tweak in Changes
Dave Rolsky [Wed, 5 Oct 2011 15:29:54 +0000]
Small wording tweak in Changes

13 years agodocument the change in the changelogs
Ricardo Signes [Wed, 5 Oct 2011 15:10:36 +0000]
document the change in the changelogs

13 years agoallow single-value enums
Ricardo Signes [Wed, 5 Oct 2011 14:25:26 +0000]
allow single-value enums

13 years agoupdate our contributor information a bit
Jesse Luehrs [Tue, 4 Oct 2011 23:09:28 +0000]
update our contributor information a bit

13 years agoupdate the SEE ALSO section a bit
Jesse Luehrs [Tue, 4 Oct 2011 22:37:12 +0000]
update the SEE ALSO section a bit

13 years agouse my newer email actually
Stevan Little [Tue, 4 Oct 2011 16:11:50 +0000]
use my newer email actually

13 years agocouple more typo fixes
Jesse Luehrs [Wed, 28 Sep 2011 16:23:13 +0000]
couple more typo fixes

13 years agoBestPractices namespace::autoclean not "no Moose"
Brad Bowman [Wed, 28 Sep 2011 07:59:43 +0000]
BestPractices namespace::autoclean not "no Moose"

Make clear that namespace::autoclean replaces the often seen
use of "no Moose".

13 years agoactually, just stop recommending deprecated software
Jesse Luehrs [Wed, 28 Sep 2011 16:21:29 +0000]
actually, just stop recommending deprecated software

13 years agoinline_slot_access not inline_create_instance eg.
Brad Bowman [Wed, 28 Sep 2011 01:49:31 +0000]
inline_slot_access not inline_create_instance eg.

The text refers to inline_slot_access, but the code
shown is for inline_create_instance.  This shows the
inline_slot_access code instead, as presumably intended.

13 years agoRemove extra ; and $value in Meta::Recipe7
Brad Bowman [Wed, 28 Sep 2011 01:47:47 +0000]
Remove extra ; and $value in Meta::Recipe7

Some lines had ;; at the end of lines.
is_slot_initialized had an unused $value parameter.

13 years agoAlter with_meta description in Extending::Recipe4
Brad Bowman [Wed, 28 Sep 2011 01:27:43 +0000]
Alter with_meta description in Extending::Recipe4

The package name being the first argument seems
misleading based on the description of with_meta
in the Moose::Exporter documentation.

13 years agoCapitalization fix MyApp::base to MyApp::Base
Brad Bowman [Wed, 28 Sep 2011 01:23:49 +0000]
Capitalization fix MyApp::base to MyApp::Base

In Extending::Recipe3 DESCRIPTION

13 years agoAdd missing comma in Extending::Recipe1 example
Brad Bowman [Wed, 28 Sep 2011 01:22:15 +0000]
Add missing comma in Extending::Recipe1 example

13 years agoNote MooseX::AttributeHelpers deprecation
Brad Bowman [Wed, 28 Sep 2011 01:19:48 +0000]
Note MooseX::AttributeHelpers deprecation

Add a note and pointer to Moose::Meta::Attribute::Native in
the reference to MooseX::AttributeHelpers in the cookbook's
Extending::Recipe1

13 years agos/statis/stasis/ in Moose/Meta/Role.pm
Brad Bowman [Mon, 26 Sep 2011 01:02:44 +0000]
s/statis/stasis/ in Moose/Meta/Role.pm

13 years agoCvISXSUB was introduced in 5.10
Jesse Luehrs [Mon, 26 Sep 2011 20:23:04 +0000]
CvISXSUB was introduced in 5.10

13 years agoSmall tweaks to Changes to make wording consistent.
Dave Rolsky [Mon, 26 Sep 2011 16:24:53 +0000]
Small tweaks to Changes to make wording consistent.

13 years agoClarify a change in Changes
Dave Rolsky [Sat, 24 Sep 2011 04:49:51 +0000]
Clarify a change in Changes

13 years agochangelog
Jesse Luehrs [Sat, 24 Sep 2011 00:02:36 +0000]
changelog

13 years agoversion bump 2.0300
Jesse Luehrs [Fri, 23 Sep 2011 23:53:47 +0000]
version bump

13 years agoRemove some TODO items which are now done
Dave Rolsky [Thu, 22 Sep 2011 15:36:01 +0000]
Remove some TODO items which are now done

13 years agomake sure to clear the stash when anon classes are removed explicitly
Jesse Luehrs [Wed, 21 Sep 2011 10:06:28 +0000]
make sure to clear the stash when anon classes are removed explicitly

13 years agoChanges organization cleanup
Dave Rolsky [Mon, 19 Sep 2011 04:28:22 +0000]
Changes organization cleanup

13 years agoDoc ->parents change for Union
Dave Rolsky [Mon, 19 Sep 2011 04:28:10 +0000]
Doc ->parents change for Union

13 years agoClarify that ->parents returns a list
Dave Rolsky [Mon, 19 Sep 2011 04:27:15 +0000]
Clarify that ->parents returns a list

13 years agoPrune nytprof files from dzil operations
Dave Rolsky [Sun, 18 Sep 2011 20:03:05 +0000]
Prune nytprof files from dzil operations

I was profiling dzil by building the Moose distro, and this was really skewing
my measurements!

13 years agofix is_subtype_of for unregistered class types
Jesse Luehrs [Sun, 18 Sep 2011 00:25:13 +0000]
fix is_subtype_of for unregistered class types

13 years agoif a union type has no common ancestors, ->parent should return undef
Jesse Luehrs [Sat, 17 Sep 2011 23:01:01 +0000]
if a union type has no common ancestors, ->parent should return undef

13 years agokeep track of our TODO tests in the TODO file
Jesse Luehrs [Sat, 17 Sep 2011 22:36:02 +0000]
keep track of our TODO tests in the TODO file

13 years agoclean up some test stuff
Jesse Luehrs [Sat, 17 Sep 2011 22:35:54 +0000]
clean up some test stuff