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

12 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

12 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

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

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

12 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

12 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

12 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

12 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

12 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

12 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)

12 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

12 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

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

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

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

12 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

12 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

12 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

12 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

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

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

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

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

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

12 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

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

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

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

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

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

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

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

12 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

12 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

12 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

12 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

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

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

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

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

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

12 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

12 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

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

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

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

12 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!

12 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

12 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

12 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

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

12 years agooops, fix this test
Jesse Luehrs [Sat, 17 Sep 2011 21:54:53 +0000]
oops, fix this test

12 years agothis has worked for a while
Jesse Luehrs [Sat, 17 Sep 2011 21:24:46 +0000]
this has worked for a while

12 years agofactor this out into a separate method
Jesse Luehrs [Sat, 17 Sep 2011 21:15:56 +0000]
factor this out into a separate method

12 years agosimpler get_all_method_names implementation
Jesse Luehrs [Sat, 17 Sep 2011 18:42:08 +0000]
simpler get_all_method_names implementation

12 years agoChanges for UNIVERSAL change
Dave Rolsky [Sat, 17 Sep 2011 02:31:36 +0000]
Changes for UNIVERSAL change

12 years agoDoc UNIVERSAL change in Delta
Dave Rolsky [Sat, 17 Sep 2011 02:28:57 +0000]
Doc UNIVERSAL change in Delta

12 years agoIgnore methods from universal when counting methods
Dave Rolsky [Sat, 17 Sep 2011 02:26:55 +0000]
Ignore methods from universal when counting methods

12 years agoAccount for UNIVERSAL methods
Dave Rolsky [Sat, 17 Sep 2011 02:25:22 +0000]
Account for UNIVERSAL methods

Tweaked tests so failures are more informative.

Also replaced several uses of get_method where we really needed find_next_method_by_name

12 years agoExpect a meta class for UNIVERSAL
Dave Rolsky [Sat, 17 Sep 2011 02:17:24 +0000]
Expect a meta class for UNIVERSAL

12 years agoIgnore methods from UNIVERSAL in test
Dave Rolsky [Sat, 17 Sep 2011 02:15:11 +0000]
Ignore methods from UNIVERSAL in test

12 years agoDon't dig into meta method objects directly
Dave Rolsky [Sat, 17 Sep 2011 02:14:18 +0000]
Don't dig into meta method objects directly

12 years agoTest that UNIVERSAL methods are found through all method introspection methods
Dave Rolsky [Sat, 17 Sep 2011 02:13:10 +0000]
Test that UNIVERSAL methods are found through all method introspection methods

12 years agoUNIVERSAL methods are now part of the MOP
Dave Rolsky [Sat, 17 Sep 2011 02:09:26 +0000]
UNIVERSAL methods are now part of the MOP

12 years agoRemove comment about $TODO
Dave Rolsky [Sat, 17 Sep 2011 02:07:23 +0000]
Remove comment about $TODO

12 years agoAdd parens for isa_ok
Dave Rolsky [Sat, 17 Sep 2011 02:07:09 +0000]
Add parens for isa_ok

12 years agomethods from UNIVERSAL are now wrappable
Dave Rolsky [Sat, 17 Sep 2011 02:06:54 +0000]
methods from UNIVERSAL are now wrappable

12 years agoUNIVERSAL methods now show up in the class lists of methods
Dave Rolsky [Fri, 16 Sep 2011 22:12:10 +0000]
UNIVERSAL methods now show up in the class lists of methods

12 years agochangelog
Jesse Luehrs [Sat, 17 Sep 2011 18:32:50 +0000]
changelog

12 years agoadd some tests
Jesse Luehrs [Sat, 17 Sep 2011 18:27:06 +0000]
add some tests

12 years agotrack implicitly created types as being created in the right place
Jesse Luehrs [Sat, 17 Sep 2011 18:19:23 +0000]
track implicitly created types as being created in the right place

12 years agoallow overriding class and role types with equivalent types
Jesse Luehrs [Sat, 17 Sep 2011 18:05:59 +0000]
allow overriding class and role types with equivalent types

12 years agorecord the definition location for class and role types
Jesse Luehrs [Sat, 17 Sep 2011 18:01:14 +0000]
record the definition location for class and role types

12 years agooverriding types with class_type or role_type should die too
Jesse Luehrs [Sat, 17 Sep 2011 17:58:54 +0000]
overriding types with class_type or role_type should die too

12 years agofirst stab (this really needs some work)
Jesse Luehrs [Sun, 26 Sep 2010 02:34:42 +0000]
first stab (this really needs some work)

12 years agobe more verbose in the required method error (RT#60583)
Jesse Luehrs [Sat, 17 Sep 2011 20:01:09 +0000]
be more verbose in the required method error (RT#60583)

12 years agoDoc subtype of union bug fix in Changes
Dave Rolsky [Fri, 16 Sep 2011 14:12:37 +0000]
Doc subtype of union bug fix in Changes

12 years agohaha, nothing ever did use this, did it
Jesse Luehrs [Sat, 17 Sep 2011 19:20:01 +0000]
haha, nothing ever did use this, did it

12 years agostarting from the deepest tc isn't necessary
Jesse Luehrs [Sat, 17 Sep 2011 19:15:57 +0000]
starting from the deepest tc isn't necessary

12 years agoadd some more explanation to the ::Delta entries
Jesse Luehrs [Sat, 17 Sep 2011 19:10:44 +0000]
add some more explanation to the ::Delta entries

12 years agoparents returns a list
Jesse Luehrs [Sat, 17 Sep 2011 19:05:01 +0000]
parents returns a list

12 years agoDocs changes to parent(s) for Union types in Changes and Delta
Dave Rolsky [Sat, 17 Sep 2011 14:49:05 +0000]
Docs changes to parent(s) for Union types in Changes and Delta

12 years agoFix Union->parent to return the nearest common ancestor
Dave Rolsky [Sat, 17 Sep 2011 14:46:03 +0000]
Fix Union->parent to return the nearest common ancestor

This lets us revert an earlier change to TC->is_subtype_of

12 years agoAdd some tests for a union of two unions
Dave Rolsky [Sat, 17 Sep 2011 14:40:30 +0000]
Add some tests for a union of two unions

12 years agoTest parent of ArrayRef|HashRef
Dave Rolsky [Sat, 17 Sep 2011 14:38:11 +0000]
Test parent of ArrayRef|HashRef

12 years agoMake var names consistent
Dave Rolsky [Sat, 17 Sep 2011 14:37:41 +0000]
Make var names consistent

12 years agoAdd tests for ->parent & ->parents on union type
Dave Rolsky [Sat, 17 Sep 2011 14:37:10 +0000]
Add tests for ->parent & ->parents on union type

12 years agoTidy test code
Dave Rolsky [Sat, 17 Sep 2011 14:35:27 +0000]
Tidy test code

12 years agoMake test description match what we're testing
Dave Rolsky [Sat, 17 Sep 2011 14:35:11 +0000]
Make test description match what we're testing

12 years agoDoc subtype of union bug fix in Changes
Dave Rolsky [Fri, 16 Sep 2011 14:12:37 +0000]
Doc subtype of union bug fix in Changes

12 years agoFix is_subtype_of - we cannot use ->equals
Dave Rolsky [Fri, 16 Sep 2011 14:11:05 +0000]
Fix is_subtype_of - we cannot use ->equals

Calling $parent->equals in is_subtype_of is broken. The parent may be a union
type, in which case it overrides $parent->equals will never return true.

However, union types override ->is_a_type_of and ->is_subtype_of to do
something sensible. Changing $parent->equals to $parent->is_a_type_of respects
that overriding and gets us sane behavior.

12 years agoUnion types are not types of their component types
Dave Rolsky [Fri, 16 Sep 2011 14:09:43 +0000]
Union types are not types of their component types

12 years agoA union and a bare subtype of that union should report the same results for ->is_subt...
Dave Rolsky [Fri, 16 Sep 2011 14:00:18 +0000]
A union and a bare subtype of that union should report the same results for ->is_subtype_of and ->is_a_type_of

12 years agoDoc union type changes in Delta and Changes
Dave Rolsky [Fri, 16 Sep 2011 13:42:10 +0000]
Doc union type changes in Delta and Changes

12 years agoUnion types look at all member types when determining if they're a subtype of something
Dave Rolsky [Fri, 16 Sep 2011 13:37:15 +0000]
Union types look at all member types when determining if they're a subtype of something

In other words, "Int|ClassName" is not a subtype of Num, but it is a subtype of Item.

12 years agoMooseX::WithCache is failing tests and hasn't been updated in a while
Dave Rolsky [Sat, 17 Sep 2011 01:27:18 +0000]
MooseX::WithCache is failing tests and hasn't been updated in a while

12 years agono need for a predeclared XS key for is_stub
Dave Rolsky [Fri, 16 Sep 2011 22:18:48 +0000]
no need for a predeclared XS key for is_stub

12 years agoDoc stub related bits in Changes
Dave Rolsky [Fri, 16 Sep 2011 15:55:08 +0000]
Doc stub related bits in Changes

12 years agoDoc is_stub method
Dave Rolsky [Fri, 16 Sep 2011 15:52:46 +0000]
Doc is_stub method