Dave Rolsky [Mon, 12 Jul 2010 15:38:04 +0000]
Can't coerce a type that doesn't define a coercion.
Dave Rolsky [Sun, 4 Jul 2010 16:36:52 +0000]
Fix two bugs coercions for union types
First, the union type always made a coercion, even if none its constituent types had a coercion.
Second, the union coercion always returned undef if none of the coercions
actually coerced. This caused union types which included undef to always pass
the constraint. In other case, returning undef simply led to a bad error
message saying undef did not pass the type constraint.
Jesse Luehrs [Wed, 18 Aug 2010 16:59:53 +0000]
actually, there's no reason that overriding 'is' is unsafe
Tomas Doran [Wed, 25 Aug 2010 13:00:49 +0000]
mro::get_linear_isa not a method
Karen Etheridge [Tue, 24 Aug 2010 21:15:55 +0000]
use Test::Requires in tests
Florian Ragwitz [Tue, 24 Aug 2010 19:25:29 +0000]
Make M::I::ExtraTests fail more obvious
Dave Rolsky [Tue, 24 Aug 2010 19:22:34 +0000]
Add extra_tests() call
Dave Rolsky [Mon, 23 Aug 2010 23:32:47 +0000]
Correct Delta (coerce => 1 without a coercion on the type is just a warning)
Dave Rolsky [Mon, 23 Aug 2010 23:31:18 +0000]
Remove "Version" from headings
Dave Rolsky [Mon, 23 Aug 2010 13:35:06 +0000]
Revert "Use Module::Install::CheckConflicts rather than doing it ourself"
This reverts commit
4c0dcbca325a98c13e1cbd85a344c763c3401b4e.
Doing this broke make disttest
Dave Rolsky [Sun, 22 Aug 2010 16:30:27 +0000]
Use Module::Install::CheckConflicts rather than doing it ourself
Dave Rolsky [Sun, 22 Aug 2010 15:32:54 +0000]
Changes and date for 1.10 release
Dave Rolsky [Sat, 21 Aug 2010 16:17:44 +0000]
Issue a deprecation warning for alias or excludes (sans leading dash)
Dave Rolsky [Fri, 20 Aug 2010 12:26:36 +0000]
This test doesn't pass, and uses Test::NoWarnings.
Dave Rolsky [Fri, 20 Aug 2010 12:14:23 +0000]
Bump version to 1.10
Dave Rolsky [Fri, 20 Aug 2010 12:14:02 +0000]
Remove an ancient and not very useful test
Dave Rolsky [Thu, 19 Aug 2010 04:38:27 +0000]
Use _get_local_methods instead of recreating methods over and over
Dave Rolsky [Thu, 19 Aug 2010 04:37:26 +0000]
test files should not be executable
Dave Rolsky [Thu, 19 Aug 2010 04:36:52 +0000]
Use done_testing
Dave Rolsky [Thu, 19 Aug 2010 04:36:46 +0000]
Use done_testing
Dave Rolsky [Thu, 19 Aug 2010 04:36:29 +0000]
Cleanup syntax and use done_testing
Dave Rolsky [Wed, 18 Aug 2010 09:47:03 +0000]
Really require CMOP 1.05
Dave Rolsky [Wed, 18 Aug 2010 09:46:34 +0000]
Conflict with MX::Singleton 0.24
Dave Rolsky [Tue, 17 Aug 2010 15:35:15 +0000]
No need to test MooseX::Policy::SemiAffordanceAccessor
Dave Rolsky [Sun, 15 Aug 2010 08:48:05 +0000]
Refactor role application code to call ->get_method much less.
Dave Rolsky [Sat, 14 Aug 2010 17:24:38 +0000]
Use new _get_local_methods API, and add it to MM::Role::Composite
Karen Etheridge [Wed, 11 Aug 2010 21:09:21 +0000]
todo test for satisfying a requires() assertion via composing another role
Karen Etheridge [Wed, 11 Aug 2010 19:35:04 +0000]
add native hash attribute tests to confirm that set will always return the value(s) stored in the hash
Dave Rolsky [Mon, 2 Aug 2010 12:50:42 +0000]
Fix a syntax error in the Makefile.PL
Dave Rolsky [Sat, 31 Jul 2010 17:15:57 +0000]
Add missing underscore
Karen Etheridge [Fri, 30 Jul 2010 20:54:23 +0000]
explicitly specify origin/master as the start point for a new topic branch; as a git n00b I was leaving this off, which made future rebases/merges harder (and experienced git users will know whether they want to use a different branch as a start point).
Karen Etheridge [Fri, 30 Jul 2010 00:52:16 +0000]
adding MooseX::NaturalKey to test-my-dependents
Justin Hunter [Thu, 29 Jul 2010 19:22:52 +0000]
word choice
Dave Rolsky [Wed, 28 Jul 2010 04:45:58 +0000]
Conflict with MX::POE 0.205
Dave Rolsky [Wed, 28 Jul 2010 04:45:31 +0000]
Conflict with MX::AlwaysCoerce 0.05
Dave Rolsky [Tue, 27 Jul 2010 21:08:15 +0000]
Fix version for pre-0.94 MetaRole API warning
Dave Rolsky [Mon, 26 Jul 2010 18:00:48 +0000]
Need to dep on next CMOP for default generation changes
Dave Rolsky [Mon, 26 Jul 2010 17:56:47 +0000]
Squashed commit of the following:
commit
8971c228f8023614db46fdb3962872b0cec870c1
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Jul 26 12:55:53 2010 -0500
Move changes entry to NEXT
commit
f449c3feef8c6529e4285206317f003d890c4d8f
Author: Shawn M Moore <sartak@bestpractical.com>
Date: Fri Jul 23 23:46:05 2010 -0400
Changes entry
commit
07bd93af9010bdefce4c97cd01b7144b05356bd9
Author: Shawn M Moore <sartak@bestpractical.com>
Date: Fri Jul 23 23:09:11 2010 -0400
Throw an error when enum has a weird argument list
This protects users against this kind of construct:
has type => (
is => 'rw',
isa => enum ['foo', 'bar', 'baz'],
required => 1,
);
This code will NOT do what you want, being parsed like:
enum(['foo', 'bar', 'baz'], 'required', 1);
which ends up with an enum named by a stringified array reference
where the valid values are "required" and "1". And the required-ness
of the attribute is obviously not intact. So this attribute is
really FUBAR.
commit
cebc707b8c48409852974c92a937aa205754c480
Author: Shawn M Moore <sartak@bestpractical.com>
Date: Fri Jul 23 22:51:56 2010 -0400
Move the <2 values error from the sugar into the class
commit
c699a721ca06b9a10e3a2dab42a5f3f661e871b7
Author: Shawn M Moore <sartak@bestpractical.com>
Date: Fri Jul 23 22:38:45 2010 -0400
Remove useless assignment for enums
commit
898f80e945b938916416449c492904b857268798
Author: Shawn M Moore <sartak@bestpractical.com>
Date: Fri Jul 23 22:33:34 2010 -0400
Throw errors when enum values include undef or refs
Dave Rolsky [Mon, 26 Jul 2010 17:54:46 +0000]
Move changelog for default fixes to NEXT
Dave Rolsky [Mon, 26 Jul 2010 17:53:55 +0000]
Squashed commit of the following:
commit
0d0fc578def25e8c4d83a911fac0f285b9fe4687
Author: Jesse Luehrs <doy@tozt.net>
Date: Mon Jul 5 16:30:32 2010 -0500
changelog
commit
a1935c6559b2b82b1a54fc23230d5fb066774715
Author: Jesse Luehrs <doy@tozt.net>
Date: Mon Jul 5 19:29:48 2010 -0500
just use cmop's _generate_default_value
commit
33399a9225667fb68364acf6b9a1badb744c1435
Author: Jesse Luehrs <doy@tozt.net>
Date: Mon Jul 5 02:07:21 2010 -0500
avoid converting ints to strings when validating the Int tc
commit
6012070770f47ba52cf7177a69c4e0bf4a1320af
Author: Henry Van Styn <vanstyn@intellitree.com>
Date: Mon Jul 5 02:57:28 2010 -0400
don't stringify numeric defaults in the inlined codepath
added extra check in
Moose::Meta::Method::Constructor::_generate_default_value to return the
raw default value if it passes looks_like_number($attr->default). This
fixes the bug where non-lazy attributes with defaults set to numbers
would be returned as a string instead of a number (i.e. attribute with
default => 100 would be returned as "100" instead of 100)
commit
d1939fbdc40718a351c02435ca2766c058273c23
Author: Jesse Luehrs <doy@tozt.net>
Date: Mon Jul 5 00:22:19 2010 -0500
failing test for attributes with numeric defaults during immutability
Dave Rolsky [Sun, 25 Jul 2010 19:30:50 +0000]
Doh, fix typo in docs
Dave Rolsky [Sun, 25 Jul 2010 15:28:59 +0000]
bump version to 1.09
Dave Rolsky [Sun, 25 Jul 2010 15:28:02 +0000]
Require the latest CMOP
Dave Rolsky [Sun, 25 Jul 2010 15:22:57 +0000]
Delta entry editing
Dave Rolsky [Sun, 25 Jul 2010 15:21:09 +0000]
Tweak wording in Delta
Dave Rolsky [Sun, 25 Jul 2010 15:19:18 +0000]
Reorder and speling fix
Dave Rolsky [Sun, 25 Jul 2010 15:18:42 +0000]
Release date for 1.09
Dave Rolsky [Sat, 24 Jul 2010 19:24:43 +0000]
Small wording fixes in Changes
Dave Rolsky [Sat, 24 Jul 2010 19:24:11 +0000]
Rephase +foo legality change
Dave Rolsky [Sat, 24 Jul 2010 19:21:08 +0000]
Conflict with MX::AttributeInflate 0.02
Dave Rolsky [Sat, 24 Jul 2010 15:53:18 +0000]
Conflict on MX::InstanceTracking 0.04 and MX::HasDefaults 0.02
Dave Rolsky [Fri, 23 Jul 2010 16:10:52 +0000]
Fix reference to old MetaRole function name
Dave Rolsky [Wed, 21 Jul 2010 20:20:13 +0000]
Conflict with MooseX::UndefTolerant 0.04
Dave Rolsky [Mon, 19 Jul 2010 17:11:33 +0000]
Always check that a constraint has a coercion before calling ->coerce
Dave Rolsky [Mon, 19 Jul 2010 17:10:05 +0000]
Turn off deprecation warnings.
Make sure that setting an invalid value fails
Dave Rolsky [Mon, 19 Jul 2010 17:08:48 +0000]
Ignore Moose::Meta::Attribute and Moose::Meta::Class for deprecation warnings
Dave Rolsky [Mon, 19 Jul 2010 17:05:57 +0000]
Add coerce without coercion to list of deprecated features
Dave Rolsky [Mon, 19 Jul 2010 17:01:28 +0000]
Don't try to inline a coercion unless the type constraint has a coercion
Dave Rolsky [Mon, 19 Jul 2010 17:00:10 +0000]
Revert an earlier change (from master) so that we never try to call ->coerce on a constraint unless it has a coercion.
The new tests aren't done.
Dave Rolsky [Mon, 19 Jul 2010 16:43:26 +0000]
Add MX::AutoDestruct
Dave Rolsky [Mon, 19 Jul 2010 16:34:36 +0000]
MX::Net::API is now called Net::HTTP::API
Dave Rolsky [Mon, 19 Jul 2010 16:21:58 +0000]
Update conflict versions for some MX modules
Dave Rolsky [Thu, 15 Jul 2010 15:45:03 +0000]
Conflict with MX::Singleton 0.22
Dave Rolsky [Thu, 15 Jul 2010 15:20:38 +0000]
Conflict with MX::Role::WithOverloading 0.06
Dave Rolsky [Wed, 14 Jul 2010 20:51:55 +0000]
Conflict against MX::MethodAttributes 0.22
Dave Rolsky [Wed, 14 Jul 2010 20:45:26 +0000]
Conflict with MX::FollowPBP 0.02
Dave Rolsky [Wed, 14 Jul 2010 20:31:42 +0000]
Conflict on LazyRequire 0.05
Dave Rolsky [Wed, 14 Jul 2010 20:22:10 +0000]
Conflict with MX::CA 0.13
Dave Rolsky [Wed, 14 Jul 2010 19:44:38 +0000]
Remove with_caller from the deprecations
MX::Types uses it somewhat legitimately, and if this warns, then every module
using MX::Types warns, which is a _lot_ of modules.
Dave Rolsky [Wed, 14 Jul 2010 19:14:07 +0000]
Conflict with MX::SAA 0.05
Dave Rolsky [Wed, 14 Jul 2010 18:54:46 +0000]
Conflict with MX::StrictConstructor 0.08
Dave Rolsky [Wed, 14 Jul 2010 18:44:07 +0000]
Explicitly ask for api version 0.55 so we can call Moose::init_meta
Dave Rolsky [Wed, 14 Jul 2010 18:40:40 +0000]
Require Package::DeprecationManager 0.04
Dave Rolsky [Wed, 14 Jul 2010 18:40:20 +0000]
Test that coerce errors come out for each attr, not just once per package defining the attrs
Dave Rolsky [Wed, 14 Jul 2010 17:07:50 +0000]
Explicitly use Moose::Deprecated in all modules that call ::deprecated()
Dave Rolsky [Wed, 14 Jul 2010 16:51:50 +0000]
Alphabetize author_requires
Dave Rolsky [Wed, 14 Jul 2010 16:51:09 +0000]
Issue deprecation warning on coerce => 1 without coercion, rather than dying
Dave Rolsky [Wed, 14 Jul 2010 16:46:17 +0000]
Doc deprecation warnings in Changes for Delta.pod
Dave Rolsky [Wed, 14 Jul 2010 16:45:06 +0000]
Add docs for Moose::Deprecated
Dave Rolsky [Wed, 14 Jul 2010 16:43:02 +0000]
Require Package::DeprecationManager 0.03
Dave Rolsky [Wed, 14 Jul 2010 16:40:09 +0000]
Deprecation warning for Moose::init_meta
Dave Rolsky [Wed, 14 Jul 2010 16:30:45 +0000]
Deprecation warning for calling type() or subtype() with a list of params
Dave Rolsky [Wed, 14 Jul 2010 16:25:38 +0000]
Mention removal of MMR->alias_method in Changes
Dave Rolsky [Wed, 14 Jul 2010 16:25:28 +0000]
Remove alias_method (it's been deprecated since 0.73_01)
Dave Rolsky [Wed, 14 Jul 2010 16:22:23 +0000]
Deprecate the Role type
Dave Rolsky [Wed, 14 Jul 2010 16:12:38 +0000]
Add Moose::Deprecated, and clean up use of deprecated features in tests
Jesse Luehrs [Sat, 24 Jul 2010 04:33:02 +0000]
fix a test and clarify some docs
Shawn M Moore [Sat, 24 Jul 2010 03:44:49 +0000]
Minor corrections to satisfy pod_spell.t
Shawn M Moore [Sat, 24 Jul 2010 03:38:46 +0000]
Merge remote branch 'origin/rfc/illegal_options_for_inheritance'
Conflicts:
Changes
Shawn M Moore [Sat, 24 Jul 2010 03:30:18 +0000]
Merge remote branch 'origin/rfc/accessor_overwrite_function_warning'
Jesse Luehrs [Tue, 20 Jul 2010 04:37:49 +0000]
implement a with_traits helper function
Jesse Luehrs [Sat, 19 Jun 2010 15:47:13 +0000]
warn if we try to overwrite a local function with an accessor
Jesse Luehrs [Sat, 12 Jun 2010 01:30:40 +0000]
changelog
Jesse Luehrs [Sat, 12 Jun 2010 01:28:29 +0000]
clean up some things, and allow overriding unspecified options
Tuomas Jormola [Tue, 3 Nov 2009 08:33:42 +0000]
Implement inversed logic when defining which attribute options can be changed
Dave Rolsky [Mon, 12 Jul 2010 16:18:13 +0000]
Conflict on File::ChangeNotify for coerce changes
Dave Rolsky [Mon, 12 Jul 2010 16:17:51 +0000]
Keep conflicts list alphabetized
Dave Rolsky [Mon, 12 Jul 2010 16:16:45 +0000]
Remove some crufty unmaintained modules from our test list
Jesse Luehrs [Mon, 19 Jul 2010 04:49:33 +0000]
use the correct option name
Dave Rolsky [Mon, 12 Jul 2010 15:36:25 +0000]
Small wording tweak in Changes