Dave Rolsky [Sat, 17 Sep 2011 02:07:09 +0000]
Add parens for isa_ok
Dave Rolsky [Sat, 17 Sep 2011 02:06:54 +0000]
methods from UNIVERSAL are now wrappable
Dave Rolsky [Fri, 16 Sep 2011 22:12:10 +0000]
UNIVERSAL methods now show up in the class lists of methods
Jesse Luehrs [Sat, 17 Sep 2011 18:32:50 +0000]
changelog
Jesse Luehrs [Sat, 17 Sep 2011 18:27:06 +0000]
add some tests
Jesse Luehrs [Sat, 17 Sep 2011 18:19:23 +0000]
track implicitly created types as being created in the right place
Jesse Luehrs [Sat, 17 Sep 2011 18:05:59 +0000]
allow overriding class and role types with equivalent types
Jesse Luehrs [Sat, 17 Sep 2011 18:01:14 +0000]
record the definition location for class and role types
Jesse Luehrs [Sat, 17 Sep 2011 17:58:54 +0000]
overriding types with class_type or role_type should die too
Jesse Luehrs [Sun, 26 Sep 2010 02:34:42 +0000]
first stab (this really needs some work)
Jesse Luehrs [Sat, 17 Sep 2011 20:01:09 +0000]
be more verbose in the required method error (RT#60583)
Dave Rolsky [Fri, 16 Sep 2011 14:12:37 +0000]
Doc subtype of union bug fix in Changes
Jesse Luehrs [Sat, 17 Sep 2011 19:20:01 +0000]
haha, nothing ever did use this, did it
Jesse Luehrs [Sat, 17 Sep 2011 19:15:57 +0000]
starting from the deepest tc isn't necessary
Jesse Luehrs [Sat, 17 Sep 2011 19:10:44 +0000]
add some more explanation to the ::Delta entries
Jesse Luehrs [Sat, 17 Sep 2011 19:05:01 +0000]
parents returns a list
Dave Rolsky [Sat, 17 Sep 2011 14:49:05 +0000]
Docs changes to parent(s) for Union types in Changes and Delta
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
Dave Rolsky [Sat, 17 Sep 2011 14:40:30 +0000]
Add some tests for a union of two unions
Dave Rolsky [Sat, 17 Sep 2011 14:38:11 +0000]
Test parent of ArrayRef|HashRef
Dave Rolsky [Sat, 17 Sep 2011 14:37:41 +0000]
Make var names consistent
Dave Rolsky [Sat, 17 Sep 2011 14:37:10 +0000]
Add tests for ->parent & ->parents on union type
Dave Rolsky [Sat, 17 Sep 2011 14:35:27 +0000]
Tidy test code
Dave Rolsky [Sat, 17 Sep 2011 14:35:11 +0000]
Make test description match what we're testing
Dave Rolsky [Fri, 16 Sep 2011 14:12:37 +0000]
Doc subtype of union bug fix in Changes
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.
Dave Rolsky [Fri, 16 Sep 2011 14:09:43 +0000]
Union types are not types of their component types
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
Dave Rolsky [Fri, 16 Sep 2011 13:42:10 +0000]
Doc union type changes in Delta and Changes
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.
Dave Rolsky [Sat, 17 Sep 2011 01:27:18 +0000]
MooseX::WithCache is failing tests and hasn't been updated in a while
Dave Rolsky [Fri, 16 Sep 2011 22:18:48 +0000]
no need for a predeclared XS key for is_stub
Dave Rolsky [Fri, 16 Sep 2011 15:55:08 +0000]
Doc stub related bits in Changes
Dave Rolsky [Fri, 16 Sep 2011 15:52:46 +0000]
Doc is_stub method
Dave Rolsky [Fri, 16 Sep 2011 15:50:00 +0000]
Don't throw an error when a delegation overrides a stub
Dave Rolsky [Fri, 16 Sep 2011 15:48:40 +0000]
Add tests for delegation overriding local methods (real and stub)
Dave Rolsky [Fri, 16 Sep 2011 15:44:52 +0000]
Fix odd indentation
Dave Rolsky [Fri, 16 Sep 2011 15:42:37 +0000]
Don't warn when overriding a stub method with an accessor
Dave Rolsky [Fri, 16 Sep 2011 15:40:27 +0000]
Tidy existing code
Dave Rolsky [Fri, 16 Sep 2011 15:39:00 +0000]
Add a Method->is_stub method and some tests for it
Dave Rolsky [Fri, 16 Sep 2011 14:57:50 +0000]
Add rt ticket for fixed bug
Jesse Luehrs [Fri, 16 Sep 2011 22:12:59 +0000]
note some todo item dependencies
Jesse Luehrs [Fri, 16 Sep 2011 22:12:14 +0000]
actually, delay this too
Jesse Luehrs [Fri, 16 Sep 2011 20:00:51 +0000]
push some todo stuff back to 2.06
Dave Rolsky [Fri, 16 Sep 2011 14:14:00 +0000]
Put deprecations first in the Changes listing
Dave Rolsky [Fri, 16 Sep 2011 13:31:56 +0000]
Get rid of all the bogus uses of use_ok still lurking in the code
Dave Rolsky [Mon, 12 Sep 2011 20:20:02 +0000]
Remove MooseX::AbstractFactory - it's currently broken and seems unmaintained
Jesse Luehrs [Mon, 12 Sep 2011 17:27:33 +0000]
another todo
Dave Rolsky [Wed, 7 Sep 2011 15:10:08 +0000]
Remove all trailing whitespace
Some packages still had a NAME header in the pod, instead of an ABSTRACT comment
Dave Rolsky [Wed, 7 Sep 2011 15:09:26 +0000]
add EOLTests
Dave Rolsky [Wed, 7 Sep 2011 14:51:18 +0000]
Add PodSyntaxTests plugin
Dave Rolsky [Wed, 7 Sep 2011 14:42:31 +0000]
fix some pod errors
Dave Rolsky [Wed, 7 Sep 2011 04:19:58 +0000]
Add Test::Spelling as devel prereq
Dave Rolsky [Tue, 6 Sep 2011 20:20:08 +0000]
Require latest Test::DependentModules
Jesse Luehrs [Tue, 6 Sep 2011 14:36:41 +0000]
update changes and delta
Dave Rolsky [Tue, 6 Sep 2011 04:30:45 +0000]
Small tweaks to changes file
Dave Rolsky [Tue, 6 Sep 2011 04:28:42 +0000]
Ignore CMOP's load_class & is_class_loaded
Jesse Luehrs [Tue, 6 Sep 2011 03:38:01 +0000]
todo--
Jesse Luehrs [Tue, 6 Sep 2011 03:30:02 +0000]
bump class::load dep
Jesse Luehrs [Tue, 6 Sep 2011 03:21:10 +0000]
handle this in package::stash
Dave Rolsky [Mon, 1 Aug 2011 15:02:47 +0000]
Remove deprecation warning for CMOP::load_class & friends, but mention that they've been removed from the docs in Changes
Dave Rolsky [Mon, 1 Aug 2011 02:07:05 +0000]
document deprecations in Changes & Delta
Dave Rolsky [Mon, 1 Aug 2011 02:03:58 +0000]
Deprecate CMOP::{load_class, is_class_loaded, load_first_existing_class}
Dave Rolsky [Mon, 1 Aug 2011 01:52:43 +0000]
Add deps on next Class::Load and Class::Load::XS
Dave Rolsky [Mon, 1 Aug 2011 01:46:05 +0000]
remove tests for load_class & friends - copied some interesting tests to the Class::Load test suite first
Dave Rolsky [Mon, 1 Aug 2011 01:30:37 +0000]
Remove all uses of CMOP::{load_class, is_class_loaded, load_first_existing_class} and use Class::Load instead.
Still need to deprecate the functions themselves and remove the tests for them.
Jesse Luehrs [Tue, 6 Sep 2011 03:54:55 +0000]
this error message changed
Jesse Luehrs [Sun, 4 Sep 2011 21:31:01 +0000]
changelog
Dave Rolsky [Thu, 1 Sep 2011 14:52:52 +0000]
Explicitly test each value of handles to make sure it's sane
Dave Rolsky [Thu, 1 Sep 2011 14:52:30 +0000]
Add test for error message from bad handles value with native traits (RT #69990)
Ricardo Signes [Thu, 1 Sep 2011 19:51:33 +0000]
changelog/delta for shallow_clone
Ricardo Signes [Thu, 1 Sep 2011 19:17:13 +0000]
add shallow_clone to Array and Hash traits
Ricardo Signes [Thu, 1 Sep 2011 19:35:26 +0000]
add authordeps for inc::ExtractInlineTests
Jesse Luehrs [Mon, 29 Aug 2011 17:33:35 +0000]
clean up duck type a bunch
Dave Rolsky [Mon, 29 Aug 2011 16:29:18 +0000]
Merge changes for stable branch
Dave Rolsky [Mon, 29 Aug 2011 16:28:27 +0000]
Credit sartak for meta_lookup feature
Dave Rolsky [Mon, 29 Aug 2011 16:27:52 +0000]
Changes for parameterized traits bug fix
Dave Rolsky [Mon, 29 Aug 2011 16:24:51 +0000]
Fix typo in test description
Shawn M Moore [Mon, 22 Aug 2011 17:58:36 +0000]
Foreign options forbid caching of interpolated attribute metaobjects
Fixes [rt.cpan.org #70419]
Shawn M Moore [Mon, 22 Aug 2011 17:56:20 +0000]
Add a test exposing [rt.cpan.org #70419]
Dave Rolsky [Mon, 29 Aug 2011 16:10:51 +0000]
Add changes docs for meta_lookup feature
Shawn M Moore [Mon, 22 Aug 2011 20:19:52 +0000]
Basic test for meta_lookup
Shawn M Moore [Mon, 22 Aug 2011 20:07:37 +0000]
Flesh out meta_lookup doc a little more
Shawn M Moore [Mon, 22 Aug 2011 20:06:05 +0000]
meta_lookup doc
Shawn M Moore [Mon, 22 Aug 2011 20:02:21 +0000]
Rename meta_generator to meta_lookup
Shawn M Moore [Mon, 22 Aug 2011 18:39:20 +0000]
First pass at a meta_generator option for Moose::Exporter
This vastly simplifies and perfects code in the
MooseX::Role::Parameterized package. meta_generator lets MXRP
future-proof against changes in Moose::Role, and gives *current*
error messages from Moose::Role instead of continuing to produce
the 0.60 era messages.
Dave Rolsky [Mon, 29 Aug 2011 16:07:37 +0000]
Tweak doc changes for role_type & class_type
Kent Fredric [Tue, 16 Aug 2011 16:03:09 +0000]
Improve documentation on Moose::Util::TypConstraints "role_type" and "class_type"
The documentation for mapping custom type-library names to class names
is a bit lacking, to the point people actually do this:
subtype 'Foo', as 'Ref', where { $_->meta->does('Class::Foo') }
instead of the simple alternative
role_type 'Foo', { role => 'Class::Foo' }
I bump into this problem reasonably often, and each time I bump into it
I forget exactly what the right syntax is, and usually end up writing
something like
role_type 'Foo', { does => 'Class::Foo' }
Which silently fails to do what I meant, and then doesn't work as
intended.
I then often spend time perusing much documentation and wasting much
time tracking down where exactly its documented, and finding "it isn't",
and then proceed to reading the source to find what I'm doing
wrong.
( Oddly, I manage to get better at finding the right place in the
source to look because somehow I can remember where I looked when I
saw it last, but I can't remember exactly what the right syntax was ).
So, this simple patch aims to improve that and hopefully at least save
many minutes of my time, and perhaps the time of dozens more people.
( its not documented in MX::Types either, if anything, if you want to
use MX::Types, the easiest thing to do is read MUTC's documentation
instead )
Florian Ragwitz [Thu, 25 Aug 2011 13:35:03 +0000]
Test duck_type under the debugger
It used to only work without the debugger.
Florian Ragwitz [Thu, 25 Aug 2011 13:24:33 +0000]
Make the duck type constraint closure check for blessing
It's what the inlined variant already does. Synchronise with it.
Florian Ragwitz [Thu, 25 Aug 2011 13:19:12 +0000]
Fix duck_type constraint generators
Both the regular constraint closure and its inlined variant called
Scalar::Util::all assuming that $_[0] would point to the value to be validated
within the all {} block, which of course it doesn't.
I don't know how this ever worked.
Florian Ragwitz [Wed, 24 Aug 2011 20:06:02 +0000]
We work just fine with older EU::ParseXS versions
mop.h has the right compatibility glue.
Jesse Luehrs [Mon, 22 Aug 2011 17:23:37 +0000]
another todo
Florian Ragwitz [Mon, 22 Aug 2011 00:02:17 +0000]
Fix is_class_loaded on blead
SvOK is only valid on scalars. It's pointless to call it on the result of
de-referencing an arbitrary scalar.
Blead recently made calling ->VERSION upgrade the scalar of the VERSION glob to
a version object. This broke us as SvOK(version_object) doesn't mean what we
thought it would.
Just dropping the entire SvROK branch and checking for any valid scalar in the
VERSION glob is the right thing to do here.
Jesse Luehrs [Sun, 21 Aug 2011 23:07:06 +0000]
don't rely on Carp::confess existing when compiling generated code
Florian Ragwitz [Sun, 21 Aug 2011 23:06:35 +0000]
Ignore MYMETA.json
Florian Ragwitz [Sun, 21 Aug 2011 23:00:21 +0000]
XS() was changed to imply static linkage - adapt
There's a new XS_EXTERNAL to provide the old XS() semantics. ExtUtils::ParseXS
3.03_02 provides XS_EXTERNAL for compatibility with older perls.
Dave Rolsky [Sun, 7 Aug 2011 03:29:30 +0000]
Add applied_attribute as a possible role metarole
Jesse Luehrs [Sat, 30 Jul 2011 23:02:50 +0000]
more todo
Jesse Luehrs [Sat, 30 Jul 2011 22:44:24 +0000]
add a few more rt tickets