14 years agoSquashed commit of the following:
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

14 years agoMove changelog for default fixes to NEXT
Dave Rolsky [Mon, 26 Jul 2010 17:54:46 +0000]
Move changelog for default fixes to NEXT

14 years agoSquashed commit of the following:
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

14 years agoDoh, fix typo in docs
Dave Rolsky [Sun, 25 Jul 2010 19:30:50 +0000]
Doh, fix typo in docs

14 years agobump version to 1.09 1.09
Dave Rolsky [Sun, 25 Jul 2010 15:28:59 +0000]
bump version to 1.09

14 years agoRequire the latest CMOP
Dave Rolsky [Sun, 25 Jul 2010 15:28:02 +0000]
Require the latest CMOP

14 years agoDelta entry editing
Dave Rolsky [Sun, 25 Jul 2010 15:22:57 +0000]
Delta entry editing

14 years agoTweak wording in Delta
Dave Rolsky [Sun, 25 Jul 2010 15:21:09 +0000]
Tweak wording in Delta

14 years agoReorder and speling fix
Dave Rolsky [Sun, 25 Jul 2010 15:19:18 +0000]
Reorder and speling fix

14 years agoRelease date for 1.09
Dave Rolsky [Sun, 25 Jul 2010 15:18:42 +0000]
Release date for 1.09

14 years agoSmall wording fixes in Changes
Dave Rolsky [Sat, 24 Jul 2010 19:24:43 +0000]
Small wording fixes in Changes

14 years agoRephase +foo legality change
Dave Rolsky [Sat, 24 Jul 2010 19:24:11 +0000]
Rephase +foo legality change

14 years agoConflict with MX::AttributeInflate 0.02
Dave Rolsky [Sat, 24 Jul 2010 19:21:08 +0000]
Conflict with MX::AttributeInflate 0.02

14 years agoConflict on MX::InstanceTracking 0.04 and MX::HasDefaults 0.02
Dave Rolsky [Sat, 24 Jul 2010 15:53:18 +0000]
Conflict on MX::InstanceTracking 0.04 and MX::HasDefaults 0.02

14 years agoFix reference to old MetaRole function name
Dave Rolsky [Fri, 23 Jul 2010 16:10:52 +0000]
Fix reference to old MetaRole function name

14 years agoConflict with MooseX::UndefTolerant 0.04
Dave Rolsky [Wed, 21 Jul 2010 20:20:13 +0000]
Conflict with MooseX::UndefTolerant 0.04

14 years agoAlways check that a constraint has a coercion before calling ->coerce
Dave Rolsky [Mon, 19 Jul 2010 17:11:33 +0000]
Always check that a constraint has a coercion before calling ->coerce

14 years agoTurn off deprecation warnings.
Dave Rolsky [Mon, 19 Jul 2010 17:10:05 +0000]
Turn off deprecation warnings.

Make sure that setting an invalid value fails

14 years agoIgnore Moose::Meta::Attribute and Moose::Meta::Class for deprecation warnings
Dave Rolsky [Mon, 19 Jul 2010 17:08:48 +0000]
Ignore Moose::Meta::Attribute and Moose::Meta::Class for deprecation warnings

14 years agoAdd coerce without coercion to list of deprecated features
Dave Rolsky [Mon, 19 Jul 2010 17:05:57 +0000]
Add coerce without coercion to list of deprecated features

14 years agoDon't try to inline a coercion unless the type constraint has a coercion
Dave Rolsky [Mon, 19 Jul 2010 17:01:28 +0000]
Don't try to inline a coercion unless the type constraint has a coercion

14 years agoRevert an earlier change (from master) so that we never try to call ->coerce on a...
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.

14 years agoAdd MX::AutoDestruct
Dave Rolsky [Mon, 19 Jul 2010 16:43:26 +0000]
Add MX::AutoDestruct

14 years agoMX::Net::API is now called Net::HTTP::API
Dave Rolsky [Mon, 19 Jul 2010 16:34:36 +0000]
MX::Net::API is now called Net::HTTP::API

14 years agoUpdate conflict versions for some MX modules
Dave Rolsky [Mon, 19 Jul 2010 16:21:58 +0000]
Update conflict versions for some MX modules

14 years agoConflict with MX::Singleton 0.22
Dave Rolsky [Thu, 15 Jul 2010 15:45:03 +0000]
Conflict with MX::Singleton 0.22

14 years agoConflict with MX::Role::WithOverloading 0.06
Dave Rolsky [Thu, 15 Jul 2010 15:20:38 +0000]
Conflict with MX::Role::WithOverloading 0.06

14 years agoConflict against MX::MethodAttributes 0.22
Dave Rolsky [Wed, 14 Jul 2010 20:51:55 +0000]
Conflict against MX::MethodAttributes 0.22

14 years agoConflict with MX::FollowPBP 0.02
Dave Rolsky [Wed, 14 Jul 2010 20:45:26 +0000]
Conflict with MX::FollowPBP 0.02

14 years agoConflict on LazyRequire 0.05
Dave Rolsky [Wed, 14 Jul 2010 20:31:42 +0000]
Conflict on LazyRequire 0.05

14 years agoConflict with MX::CA 0.13
Dave Rolsky [Wed, 14 Jul 2010 20:22:10 +0000]
Conflict with MX::CA 0.13

14 years agoRemove with_caller from the deprecations
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.

14 years agoConflict with MX::SAA 0.05
Dave Rolsky [Wed, 14 Jul 2010 19:14:07 +0000]
Conflict with MX::SAA 0.05

14 years agoConflict with MX::StrictConstructor 0.08
Dave Rolsky [Wed, 14 Jul 2010 18:54:46 +0000]
Conflict with MX::StrictConstructor 0.08

14 years agoExplicitly ask for api version 0.55 so we can call Moose::init_meta
Dave Rolsky [Wed, 14 Jul 2010 18:44:07 +0000]
Explicitly ask for api version 0.55 so we can call Moose::init_meta

14 years agoRequire Package::DeprecationManager 0.04
Dave Rolsky [Wed, 14 Jul 2010 18:40:40 +0000]
Require Package::DeprecationManager 0.04

14 years agoTest that coerce errors come out for each attr, not just once per package defining...
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

14 years agoExplicitly use Moose::Deprecated in all modules that call ::deprecated()
Dave Rolsky [Wed, 14 Jul 2010 17:07:50 +0000]
Explicitly use Moose::Deprecated in all modules that call ::deprecated()

14 years agoAlphabetize author_requires
Dave Rolsky [Wed, 14 Jul 2010 16:51:50 +0000]
Alphabetize author_requires

14 years agoIssue deprecation warning on coerce => 1 without coercion, rather than dying
Dave Rolsky [Wed, 14 Jul 2010 16:51:09 +0000]
Issue deprecation warning on coerce => 1 without coercion, rather than dying

14 years agoDoc deprecation warnings in Changes for Delta.pod
Dave Rolsky [Wed, 14 Jul 2010 16:46:17 +0000]
Doc deprecation warnings in Changes for Delta.pod

14 years agoAdd docs for Moose::Deprecated
Dave Rolsky [Wed, 14 Jul 2010 16:45:06 +0000]
Add docs for Moose::Deprecated

14 years agoRequire Package::DeprecationManager 0.03
Dave Rolsky [Wed, 14 Jul 2010 16:43:02 +0000]
Require Package::DeprecationManager 0.03

14 years agoDeprecation warning for Moose::init_meta
Dave Rolsky [Wed, 14 Jul 2010 16:40:09 +0000]
Deprecation warning for Moose::init_meta

14 years agoDeprecation warning for calling type() or subtype() with a list of params
Dave Rolsky [Wed, 14 Jul 2010 16:30:45 +0000]
Deprecation warning for calling type() or subtype() with a list of params

14 years agoMention removal of MMR->alias_method in Changes
Dave Rolsky [Wed, 14 Jul 2010 16:25:38 +0000]
Mention removal of MMR->alias_method in Changes

14 years agoRemove alias_method (it's been deprecated since 0.73_01)
Dave Rolsky [Wed, 14 Jul 2010 16:25:28 +0000]
Remove alias_method (it's been deprecated since 0.73_01)

14 years agoDeprecate the Role type
Dave Rolsky [Wed, 14 Jul 2010 16:22:23 +0000]
Deprecate the Role type

14 years agoAdd Moose::Deprecated, and clean up use of deprecated features in tests
Dave Rolsky [Wed, 14 Jul 2010 16:12:38 +0000]
Add Moose::Deprecated, and clean up use of deprecated features in tests

14 years agofix a test and clarify some docs
Jesse Luehrs [Sat, 24 Jul 2010 04:33:02 +0000]
fix a test and clarify some docs

14 years agoMinor corrections to satisfy pod_spell.t
Shawn M Moore [Sat, 24 Jul 2010 03:44:49 +0000]
Minor corrections to satisfy pod_spell.t

14 years agoMerge remote branch 'origin/rfc/illegal_options_for_inheritance'
Shawn M Moore [Sat, 24 Jul 2010 03:38:46 +0000]
Merge remote branch 'origin/rfc/illegal_options_for_inheritance'

Conflicts:
Changes

14 years agoMerge remote branch 'origin/rfc/accessor_overwrite_function_warning'
Shawn M Moore [Sat, 24 Jul 2010 03:30:18 +0000]
Merge remote branch 'origin/rfc/accessor_overwrite_function_warning'

14 years agoimplement a with_traits helper function
Jesse Luehrs [Tue, 20 Jul 2010 04:37:49 +0000]
implement a with_traits helper function

14 years agowarn if we try to overwrite a local function with an accessor
Jesse Luehrs [Sat, 19 Jun 2010 15:47:13 +0000]
warn if we try to overwrite a local function with an accessor

14 years agochangelog
Jesse Luehrs [Sat, 12 Jun 2010 01:30:40 +0000]
changelog

14 years agoclean up some things, and allow overriding unspecified options
Jesse Luehrs [Sat, 12 Jun 2010 01:28:29 +0000]
clean up some things, and allow overriding unspecified options

14 years agoImplement inversed logic when defining which attribute options can be changed
Tuomas Jormola [Tue, 3 Nov 2009 08:33:42 +0000]
Implement inversed logic when defining which attribute options can be changed

14 years agoConflict on File::ChangeNotify for coerce changes
Dave Rolsky [Mon, 12 Jul 2010 16:18:13 +0000]
Conflict on File::ChangeNotify for coerce changes

14 years agoKeep conflicts list alphabetized
Dave Rolsky [Mon, 12 Jul 2010 16:17:51 +0000]
Keep conflicts list alphabetized

14 years agoRemove some crufty unmaintained modules from our test list
Dave Rolsky [Mon, 12 Jul 2010 16:16:45 +0000]
Remove some crufty unmaintained modules from our test list

14 years agouse the correct option name
Jesse Luehrs [Mon, 19 Jul 2010 04:49:33 +0000]
use the correct option name

14 years agoSmall wording tweak in Changes
Dave Rolsky [Mon, 12 Jul 2010 15:36:25 +0000]
Small wording tweak in Changes

14 years agoInclude type name in error when coerce => 1 is given for a type without a coercion
Dave Rolsky [Thu, 8 Jul 2010 23:31:31 +0000]
Include type name in error when coerce => 1 is given for a type without a coercion

14 years agoIf you pass coerce => 1 for an attr, its type must have a coercion or an error is...
Dave Rolsky [Sun, 4 Jul 2010 16:58:25 +0000]
If you pass coerce => 1 for an attr, its type must have a coercion or an error is thrown

14 years agoRemove totally unused chunk of code
Dave Rolsky [Sun, 4 Jul 2010 16:45:18 +0000]
Remove totally unused chunk of code

14 years agoL<> does not need the module name twice any more
Dave Rolsky [Thu, 8 Jul 2010 23:29:40 +0000]
L<> does not need the module name twice any more

14 years agoDon't mention number of releases, since that's already changed.
Dave Rolsky [Thu, 8 Jul 2010 23:28:55 +0000]
Don't mention number of releases, since that's already changed.

14 years agoNo need for "find or create" logic on class types.
Dave Rolsky [Thu, 8 Jul 2010 23:26:30 +0000]
No need for "find or create" logic on class types.

It's safe to call class_type('Foo') repeatedly, so why complicate things.

14 years agoEditing of MX::Types related bits
Dave Rolsky [Thu, 8 Jul 2010 23:24:24 +0000]
Editing of MX::Types related bits

14 years agoRemove some trailing whitesapce, and rework a paragraph.
Dave Rolsky [Thu, 8 Jul 2010 23:21:44 +0000]
Remove some trailing whitesapce, and rework a paragraph.

14 years agoRemove doubled word
Dave Rolsky [Thu, 8 Jul 2010 23:20:42 +0000]
Remove doubled word

14 years agoMove the MooseX:: namespace section under extending Moose
Shawn M Moore [Tue, 6 Jul 2010 19:11:35 +0000]
Move the MooseX:: namespace section under extending Moose

    Doesn't really fit under metaclass compatibility

14 years agobump required perl version to 5.8.3
Jesse Luehrs [Tue, 6 Jul 2010 04:38:35 +0000]
bump required perl version to 5.8.3

14 years agouse 5.10's new recursive regex features for the tc parser
Jesse Luehrs [Tue, 6 Jul 2010 01:32:07 +0000]
use 5.10's new recursive regex features for the tc parser

14 years agoRevert "added extra check in Moose::Meta::Method::Constructor::_generate_default_valu...
Jesse Luehrs [Mon, 5 Jul 2010 06:43:51 +0000]
Revert "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)"

This reverts commit c6aa41d31df9342ced768cf10d59060f56643c62.

14 years agoadded extra check in Moose::Meta::Method::Constructor::_generate_default_value to...
Henry Van Styn [Mon, 5 Jul 2010 06:28:54 +0000]
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)

14 years agoFix pod error
Dave Rolsky [Sun, 4 Jul 2010 16:49:22 +0000]
Fix pod error

14 years agoRevert the change that unimported strict & warnings on no Moose(::Role,::Exporter)
Dave Rolsky [Sun, 4 Jul 2010 15:54:01 +0000]
Revert the change that unimported strict & warnings on no Moose(::Role,::Exporter)

14 years agodon't inline accessors unless the instance supports it
Jesse Luehrs [Wed, 30 Jun 2010 04:19:44 +0000]
don't inline accessors unless the instance supports it

14 years agoIgnore coverage reports
Florian Ragwitz [Fri, 18 Jun 2010 18:51:12 +0000]
Ignore coverage reports

14 years agoversion bump 1.08
Jesse Luehrs [Tue, 15 Jun 2010 16:07:17 +0000]
version bump

14 years agomention a couple extra release steps
Jesse Luehrs [Tue, 15 Jun 2010 16:06:18 +0000]
mention a couple extra release steps

14 years agochangelog
Jesse Luehrs [Tue, 15 Jun 2010 15:46:42 +0000]
changelog

14 years agofactor out a small part of the constructor inlining
Jesse Luehrs [Tue, 15 Jun 2010 08:52:14 +0000]
factor out a small part of the constructor inlining

14 years agohandle fixing when the child class already does all necessary roles
Jesse Luehrs [Thu, 10 Jun 2010 23:25:06 +0000]
handle fixing when the child class already does all necessary roles

14 years agooops, this should have been mentioned in the docs
Jesse Luehrs [Tue, 8 Jun 2010 03:59:17 +0000]
oops, this should have been mentioned in the docs

14 years agotest array delegation edge cases
Jesse Luehrs [Mon, 7 Jun 2010 17:11:51 +0000]
test array delegation edge cases

14 years agoShut up ridiculous warnings from Module::Refresh
Dave Rolsky [Sun, 6 Jun 2010 14:27:26 +0000]
Shut up ridiculous warnings from Module::Refresh

I only saw these when running tests via make test, not via prove.

14 years agoVersion 1.07 1.07
Florian Ragwitz [Sat, 5 Jun 2010 21:03:10 +0000]
Version 1.07

14 years agoneed to use real_ref_name in one more place
Jesse Luehrs [Sat, 5 Jun 2010 21:00:26 +0000]
need to use real_ref_name in one more place

14 years agoadd todo test for metaclass compat with immutable classes (dougdude)
Jesse Luehrs [Sat, 5 Jun 2010 20:47:37 +0000]
add todo test for metaclass compat with immutable classes (dougdude)

14 years agotodo test for insertion order from roles
Jesse Luehrs [Sat, 5 Jun 2010 09:09:46 +0000]
todo test for insertion order from roles

14 years agoVersion 1.06 1.06
Florian Ragwitz [Tue, 1 Jun 2010 18:10:38 +0000]
Version 1.06

14 years agoMerge branch 'master' of git.moose.perl.org:Moose
John Napiorkowski [Tue, 1 Jun 2010 17:41:26 +0000]
Merge branch 'master' of git.moose.perl.org:Moose

14 years agoadded bool context overload to m:m:tc
John Napiorkowski [Tue, 1 Jun 2010 17:41:03 +0000]
added bool context overload to m:m:tc

14 years agoAdd x_authority to META.yml.
Florian Ragwitz [Mon, 31 May 2010 10:51:08 +0000]
Add x_authority to META.yml.

14 years agoLine wrapping
Florian Ragwitz [Thu, 27 May 2010 23:09:29 +0000]
Line wrapping

14 years agoNo need to write "0+$self" when we already overloaded numification
Dave Rolsky [Sun, 30 May 2010 15:20:55 +0000]
No need to write "0+$self" when we already overloaded numification

14 years agoadded to CHANGES
John Napiorkowski [Fri, 28 May 2010 20:48:23 +0000]
added to CHANGES