14 years agoRemove an ancient and not very useful test
Dave Rolsky [Fri, 20 Aug 2010 12:14:02 +0000]
Remove an ancient and not very useful test

14 years agoUse _get_local_methods instead of recreating methods over and over
Dave Rolsky [Thu, 19 Aug 2010 04:38:27 +0000]
Use _get_local_methods instead of recreating methods over and over

14 years agotest files should not be executable
Dave Rolsky [Thu, 19 Aug 2010 04:37:26 +0000]
test files should not be executable

14 years agoUse done_testing
Dave Rolsky [Thu, 19 Aug 2010 04:36:52 +0000]
Use done_testing

14 years agoUse done_testing
Dave Rolsky [Thu, 19 Aug 2010 04:36:46 +0000]
Use done_testing

14 years agoCleanup syntax and use done_testing
Dave Rolsky [Thu, 19 Aug 2010 04:36:29 +0000]
Cleanup syntax and use done_testing

14 years agoReally require CMOP 1.05
Dave Rolsky [Wed, 18 Aug 2010 09:47:03 +0000]
Really require CMOP 1.05

14 years agoConflict with MX::Singleton 0.24
Dave Rolsky [Wed, 18 Aug 2010 09:46:34 +0000]
Conflict with MX::Singleton 0.24

14 years agoNo need to test MooseX::Policy::SemiAffordanceAccessor
Dave Rolsky [Tue, 17 Aug 2010 15:35:15 +0000]
No need to test MooseX::Policy::SemiAffordanceAccessor

14 years agoRefactor role application code to call ->get_method much less.
Dave Rolsky [Sun, 15 Aug 2010 08:48:05 +0000]
Refactor role application code to call ->get_method much less.

14 years agoUse new _get_local_methods API, and add it to MM::Role::Composite
Dave Rolsky [Sat, 14 Aug 2010 17:24:38 +0000]
Use new _get_local_methods API, and add it to MM::Role::Composite

14 years agotodo test for satisfying a requires() assertion via composing another role
Karen Etheridge [Wed, 11 Aug 2010 21:09:21 +0000]
todo test for satisfying a requires() assertion via composing another role

14 years agoadd native hash attribute tests to confirm that set will always return the value...
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

14 years agoFix a syntax error in the Makefile.PL
Dave Rolsky [Mon, 2 Aug 2010 12:50:42 +0000]
Fix a syntax error in the Makefile.PL

14 years agoAdd missing underscore
Dave Rolsky [Sat, 31 Jul 2010 17:15:57 +0000]
Add missing underscore

14 years agoexplicitly specify origin/master as the start point for a new topic branch; as a...
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).

14 years agoadding MooseX::NaturalKey to test-my-dependents
Karen Etheridge [Fri, 30 Jul 2010 00:52:16 +0000]
adding MooseX::NaturalKey to test-my-dependents

14 years agoword choice
Justin Hunter [Thu, 29 Jul 2010 19:22:52 +0000]
word choice

14 years agoConflict with MX::POE 0.205
Dave Rolsky [Wed, 28 Jul 2010 04:45:58 +0000]
Conflict with MX::POE 0.205

14 years agoConflict with MX::AlwaysCoerce 0.05
Dave Rolsky [Wed, 28 Jul 2010 04:45:31 +0000]
Conflict with MX::AlwaysCoerce 0.05

14 years agoFix version for pre-0.94 MetaRole API warning
Dave Rolsky [Tue, 27 Jul 2010 21:08:15 +0000]
Fix version for pre-0.94 MetaRole API warning

14 years agoNeed to dep on next CMOP for default generation changes
Dave Rolsky [Mon, 26 Jul 2010 18:00:48 +0000]
Need to dep on next CMOP for default generation changes

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