14 years agoAdded methods (~ verbatim from List::MoreUtils) to ::Native::MethodProvider::Array. attic/native-array-additions
Scott Eisenberg [Wed, 22 Sep 2010 05:51:41 +0000]
Added methods (~ verbatim from List::MoreUtils) to ::Native::MethodProvider::Array.

Methods added:
- find_after (List::MoreUtils::after)
- find_before (List::MoreUtils::before)
- find_after_incl (List::MoreUtils::after_incl(
- find_before_incl (List::MoreUtils::before_incl(
- insert_after (List::MoreUtils::insert_after)
- firstidx (List::MoreUtils::firstidx)
- lastidx (List::MoreUtils::lastidx)
- sort_in_place_start_end (sorts in place array slice, as specified by start/end arguments)

14 years agobump version to 1.14 1.14
Dave Rolsky [Tue, 21 Sep 2010 05:01:53 +0000]
bump version to 1.14

14 years agoAdd release date
Dave Rolsky [Tue, 21 Sep 2010 05:01:27 +0000]
Add release date

14 years agoDon't rely on qw() providing PAREN tokens
Florian Ragwitz [Sun, 19 Sep 2010 17:31:07 +0000]
Don't rely on qw() providing PAREN tokens

14 years agoTiny POD clarification. 'pairs' too ambiguous.
Jay Hannah [Wed, 15 Sep 2010 19:23:58 +0000]
Tiny POD clarification. 'pairs' too ambiguous.

14 years agoBug fixes for next
Dave Rolsky [Tue, 14 Sep 2010 16:19:10 +0000]
Bug fixes for next

14 years agoFix weird bug that is probably a bug in List::MoreUtils
Dave Rolsky [Tue, 14 Sep 2010 16:18:09 +0000]
Fix weird bug that is probably a bug in List::MoreUtils

14 years agobump version to 1.13 1.13
Dave Rolsky [Mon, 13 Sep 2010 22:18:29 +0000]
bump version to 1.13

14 years agoDate for 1.13
Dave Rolsky [Mon, 13 Sep 2010 22:18:18 +0000]
Date for 1.13

14 years agocorrected tense in docs
Karen Etheridge [Mon, 13 Sep 2010 17:37:48 +0000]
corrected tense in docs

14 years agoClarify that coerce requires a TC with a coercion
Dave Rolsky [Mon, 13 Sep 2010 15:28:24 +0000]
Clarify that coerce requires a TC with a coercion

14 years agoClarify that coerce requires a type constraint with a coercion
Dave Rolsky [Mon, 13 Sep 2010 15:27:55 +0000]
Clarify that coerce requires a type constraint with a coercion

14 years agoIgnore test-mydeps-* files
Dave Rolsky [Fri, 10 Sep 2010 16:38:39 +0000]
Ignore test-mydeps-* files

14 years agoUse Test::Requires in recipe tests
Dave Rolsky [Fri, 10 Sep 2010 16:38:04 +0000]
Use Test::Requires in recipe tests

14 years agoAdd all our optional test deps as author_requires
Dave Rolsky [Fri, 10 Sep 2010 16:37:14 +0000]
Add all our optional test deps as author_requires

14 years agoChanges for this branch
Dave Rolsky [Fri, 10 Sep 2010 02:16:25 +0000]
Changes for this branch

14 years agoJust cache does_role for immutabilized classes - no need for an inlined method
Dave Rolsky [Fri, 10 Sep 2010 02:14:59 +0000]
Just cache does_role for immutabilized classes - no need for an inlined method

14 years agoAdd replace_does option
Dave Rolsky [Fri, 10 Sep 2010 02:00:46 +0000]
Add replace_does option

Doc inline_does and replace_does options to make_immutable

14 years agoDocs for MMM::Does
Dave Rolsky [Fri, 10 Sep 2010 01:58:53 +0000]
Docs for MMM::Does

14 years agoFix doc typo-let
Dave Rolsky [Fri, 10 Sep 2010 01:58:17 +0000]
Fix doc typo-let

14 years agoInline calculate_all_roles_with_inheritance when making class immutable
Dave Rolsky [Fri, 10 Sep 2010 01:56:41 +0000]
Inline calculate_all_roles_with_inheritance when making class immutable

14 years agoInclude inherited roles in inlined does
Dave Rolsky [Fri, 10 Sep 2010 01:54:38 +0000]
Include inherited roles in inlined does

14 years agoActually test immutable child classes
Dave Rolsky [Fri, 10 Sep 2010 01:51:36 +0000]
Actually test immutable child classes

14 years agoFix name of thing in test descriptions
Dave Rolsky [Fri, 10 Sep 2010 01:51:01 +0000]
Fix name of thing in test descriptions

14 years agoMore subclass tests
Dave Rolsky [Fri, 10 Sep 2010 01:50:22 +0000]
More subclass tests

14 years agoTest that ->does works properly in subclasses of classes which do a role
Dave Rolsky [Fri, 10 Sep 2010 01:49:59 +0000]
Test that ->does works properly in subclasses of classes which do a role

14 years agoInline the does method.
Dave Rolsky [Fri, 10 Sep 2010 01:32:29 +0000]
Inline the does method.

Added tests for ->does, both mutable & immutable

14 years agoFix some test descriptions
Dave Rolsky [Fri, 10 Sep 2010 01:31:12 +0000]
Fix some test descriptions

14 years agoAdd my name to Changes
Dave Rolsky [Fri, 10 Sep 2010 02:17:38 +0000]
Add my name to Changes

14 years agoDoc attribute conflict error message improvement in Changes
Dave Rolsky [Wed, 8 Sep 2010 02:02:11 +0000]
Doc attribute conflict error message improvement in Changes

14 years agoImprove message when there is an attribute conflict when composing one role into...
Dave Rolsky [Wed, 8 Sep 2010 02:01:00 +0000]
Improve message when there is an attribute conflict when composing one role into another

14 years agoAdd a test for attribute conflict when composing one role into another
Dave Rolsky [Wed, 8 Sep 2010 02:00:46 +0000]
Add a test for attribute conflict when composing one role into another

14 years agoTests should "use warnings"
Dave Rolsky [Wed, 8 Sep 2010 01:54:09 +0000]
Tests should "use warnings"

14 years agoRenamed so we don't have two 044_* tests
Dave Rolsky [Wed, 8 Sep 2010 01:51:59 +0000]
Renamed so we don't have two 044_* tests

14 years agoClarify when Moose::Object is made the parent
Dave Rolsky [Wed, 8 Sep 2010 01:48:52 +0000]
Clarify when Moose::Object is made the parent

14 years agoTest Catalyst::Devel
Dave Rolsky [Wed, 1 Sep 2010 15:08:06 +0000]
Test Catalyst::Devel

14 years agorestore alias/excludes warnings
Dave Rolsky [Sat, 28 Aug 2010 15:43:36 +0000]
restore alias/excludes warnings

14 years agobump version to 1.12 1.12
Dave Rolsky [Sat, 28 Aug 2010 15:40:54 +0000]
bump version to 1.12

14 years agoComment out alias/excludes warnings for 1.12 release
Dave Rolsky [Sat, 28 Aug 2010 15:40:32 +0000]
Comment out alias/excludes warnings for 1.12 release

14 years agoChanges for 1.12
Dave Rolsky [Sat, 28 Aug 2010 15:40:05 +0000]
Changes for 1.12

14 years agoAdd extra_tests back
Dave Rolsky [Sat, 28 Aug 2010 15:38:05 +0000]
Add extra_tests back

14 years agoFix error message text
Dave Rolsky [Sat, 28 Aug 2010 15:36:54 +0000]
Fix error message text

14 years agoDoc alias & excludes warning in Changes
Dave Rolsky [Sat, 28 Aug 2010 01:15:51 +0000]
Doc alias & excludes warning in Changes

14 years agoRestore alias & excludes warning
Dave Rolsky [Sat, 28 Aug 2010 01:15:11 +0000]
Restore alias & excludes warning

14 years agoModule::Install is a giant broken piece of crap - gah 1.11
Dave Rolsky [Sat, 28 Aug 2010 01:12:37 +0000]
Module::Install is a giant broken piece of crap - gah

14 years agoAdd mention of turning off warning
Dave Rolsky [Sat, 28 Aug 2010 00:58:10 +0000]
Add mention of turning off warning

14 years agoTemporarily comment out excludes & alias warning for next release
Dave Rolsky [Sat, 28 Aug 2010 00:57:28 +0000]
Temporarily comment out excludes & alias warning for next release

14 years agoFix indentation
Dave Rolsky [Sat, 28 Aug 2010 00:57:04 +0000]
Fix indentation

14 years agobump version to 1.11
Dave Rolsky [Sat, 28 Aug 2010 00:56:40 +0000]
bump version to 1.11

14 years agoA horrible hack to make generating a coercion for a type union lazy
Dave Rolsky [Fri, 27 Aug 2010 21:15:48 +0000]
A horrible hack to make generating a coercion for a type union lazy

This fixes a bug that was triggered by recursive type constraints in MX::Types.

14 years agoDon't bother testing MX::GlobRef - it is old and unmaintained
Dave Rolsky [Fri, 27 Aug 2010 16:21:02 +0000]
Don't bother testing MX::GlobRef - it is old and unmaintained

14 years agoAdd version & date. Doc "is" overriding change.
Dave Rolsky [Fri, 27 Aug 2010 15:20:26 +0000]
Add version & date. Doc "is" overriding change.

14 years agoUpdate changes for tom's mro fix
Dave Rolsky [Fri, 27 Aug 2010 15:16:27 +0000]
Update changes for tom's mro fix

14 years agoSimplify compiled type coercion for union
Dave Rolsky [Fri, 20 Aug 2010 12:22:16 +0000]
Simplify compiled type coercion for union

14 years agoMove fixes in this branch to NEXT
Dave Rolsky [Mon, 26 Jul 2010 15:30:39 +0000]
Move fixes in this branch to NEXT

14 years agoCannot coerce when the type does not define a coercion
Dave Rolsky [Mon, 12 Jul 2010 15:40:10 +0000]
Cannot coerce when the type does not define a coercion

14 years agoCan't coerce a type that doesn't define a coercion.
Dave Rolsky [Mon, 12 Jul 2010 15:38:04 +0000]
Can't coerce a type that doesn't define a coercion.

14 years agoFix two bugs coercions for union types
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.

14 years agoactually, there's no reason that overriding 'is' is unsafe
Jesse Luehrs [Wed, 18 Aug 2010 16:59:53 +0000]
actually, there's no reason that overriding 'is' is unsafe

14 years agomro::get_linear_isa not a method
Tomas Doran [Wed, 25 Aug 2010 13:00:49 +0000]
mro::get_linear_isa not a method

14 years agouse Test::Requires in tests
Karen Etheridge [Tue, 24 Aug 2010 21:15:55 +0000]
use Test::Requires in tests

14 years agoMake M::I::ExtraTests fail more obvious
Florian Ragwitz [Tue, 24 Aug 2010 19:25:29 +0000]
Make M::I::ExtraTests fail more obvious

14 years agoAdd extra_tests() call
Dave Rolsky [Tue, 24 Aug 2010 19:22:34 +0000]
Add extra_tests() call

14 years agoCorrect Delta (coerce => 1 without a coercion on the type is just a warning)
Dave Rolsky [Mon, 23 Aug 2010 23:32:47 +0000]
Correct Delta (coerce => 1 without a coercion on the type is just a warning)

14 years agoRemove "Version" from headings
Dave Rolsky [Mon, 23 Aug 2010 23:31:18 +0000]
Remove "Version" from headings

14 years agoRevert "Use Module::Install::CheckConflicts rather than doing it ourself"
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

14 years agoUse Module::Install::CheckConflicts rather than doing it ourself
Dave Rolsky [Sun, 22 Aug 2010 16:30:27 +0000]
Use Module::Install::CheckConflicts rather than doing it ourself

14 years agoChanges and date for 1.10 release 1.10
Dave Rolsky [Sun, 22 Aug 2010 15:32:54 +0000]
Changes and date for 1.10 release

14 years agoIssue a deprecation warning for alias or excludes (sans leading dash)
Dave Rolsky [Sat, 21 Aug 2010 16:17:44 +0000]
Issue a deprecation warning for alias or excludes (sans leading dash)

14 years agoThis test doesn't pass, and uses Test::NoWarnings.
Dave Rolsky [Fri, 20 Aug 2010 12:26:36 +0000]
This test doesn't pass, and uses Test::NoWarnings.

14 years agoBump version to 1.10
Dave Rolsky [Fri, 20 Aug 2010 12:14:23 +0000]
Bump version to 1.10

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