11 years agoinclude moo-outdated in manifest
Graham Knop [Mon, 17 Jun 2013 23:36:53 +0000]
include moo-outdated in manifest

11 years agouse Test::Fatal instead of Test::Exception in all xt tests
Graham Knop [Mon, 17 Jun 2013 00:28:03 +0000]
use Test::Fatal instead of Test::Exception in all xt tests

11 years agooops; went overboard and forgot the whole point of the alt-die branch; need to handle...
Toby Inkster [Sat, 15 Jun 2013 11:54:38 +0000]
oops; went overboard and forgot the whole point of the alt-die branch; need to handle exceptions which are refs

11 years agomention $CurrentAttribute in changelog
Toby Inkster [Sat, 15 Jun 2013 02:27:24 +0000]
mention $CurrentAttribute in changelog

11 years agocombine three strings into a hashref
Toby Inkster [Sat, 15 Jun 2013 01:49:48 +0000]
combine three strings into a hashref

11 years agomake sigdie handler private
Toby Inkster [Sat, 15 Jun 2013 01:41:40 +0000]
make sigdie handler private

11 years agopull the SIG{__DIE__} handler out of the eval
Toby Inkster [Sat, 15 Jun 2013 01:38:52 +0000]
pull the SIG{__DIE__} handler out of the eval

11 years agouse the _attr_desc function instead of reinventing it
Toby Inkster [Sat, 15 Jun 2013 00:50:21 +0000]
use the _attr_desc function instead of reinventing it

11 years agotidy
Toby Inkster [Sat, 15 Jun 2013 00:43:10 +0000]
tidy

11 years agoreimplementation of SIGDIE stuff using a single coderef for the constructor (backed...
Toby Inkster [Sat, 15 Jun 2013 00:38:23 +0000]
reimplementation of SIGDIE stuff using a single coderef for the constructor (backed by some localized variables) rather than one coderef per isa/coerce

11 years agoMerge branch 'topic/conflicting_upstream_deps'
Karen Etheridge [Thu, 13 Jun 2013 21:44:33 +0000]
Merge branch 'topic/conflicting_upstream_deps'

We now have conflict tracking! Please keep it up to date when an issue is observed.

11 years agoonly sleep when installing interactively
Karen Etheridge [Thu, 13 Jun 2013 21:40:27 +0000]
only sleep when installing interactively

11 years agoHTML::Restrict 2.1.5 breaks with Moo 1.002000 (see RT#85088)
Karen Etheridge [Mon, 6 May 2013 17:30:59 +0000]
HTML::Restrict 2.1.5 breaks with Moo 1.002000 (see RT#85088)

11 years agoalso add x_breaks to META.*
Karen Etheridge [Mon, 6 May 2013 17:30:24 +0000]
also add x_breaks to META.*

11 years agointroduction of conflicts checking for Moo
Karen Etheridge [Mon, 6 May 2013 17:17:39 +0000]
introduction of conflicts checking for Moo

This was copied from the latest Moose build (which in turn was auto-generated
via Dist::Zilla::Plugin::Conflicts).

11 years agochangelog FOREIGNBUILDARGS fix
Graham Knop [Thu, 13 Jun 2013 18:57:41 +0000]
changelog FOREIGNBUILDARGS fix

11 years agofix FOREIGNBUILDARGS not being called when no attributes created
Tomohiro Hosaka [Thu, 13 Jun 2013 18:52:08 +0000]
fix FOREIGNBUILDARGS not being called when no attributes created

11 years agoremove HTML-Zoom-Parser-HH5P from broken dependent list
Graham Knop [Wed, 12 Jun 2013 18:50:43 +0000]
remove HTML-Zoom-Parser-HH5P from broken dependent list

11 years agoremove GeoIP2 from broken dependent list
Graham Knop [Mon, 27 May 2013 00:30:11 +0000]
remove GeoIP2 from broken dependent list

11 years agofix module name determination
Graham Knop [Wed, 15 May 2013 15:31:09 +0000]
fix module name determination

11 years agomark todo dependent tests
Graham Knop [Tue, 14 May 2013 22:03:26 +0000]
mark todo dependent tests

11 years agoexclude by dist in dependents test, with some refactoring
Graham Knop [Tue, 14 May 2013 02:45:50 +0000]
exclude by dist in dependents test, with some refactoring

11 years agoskip prereq tests on some problematic modules and know broken modules
Graham Knop [Mon, 13 May 2013 22:22:05 +0000]
skip prereq tests on some problematic modules and know broken modules

11 years agotest to check dependents
Graham Knop [Mon, 13 May 2013 19:48:42 +0000]
test to check dependents

11 years agochangelog Sub::Quote documentation updates
Graham Knop [Wed, 12 Jun 2013 18:22:09 +0000]
changelog Sub::Quote documentation updates

11 years agocorrect docs for capture_unroll
Graham Knop [Fri, 31 May 2013 00:56:27 +0000]
correct docs for capture_unroll

11 years agoDocument Sub::Quote's use of strictures as a caveat
Toby Inkster [Tue, 28 May 2013 07:29:24 +0000]
Document Sub::Quote's use of strictures as a caveat

11 years agochangelog multiple modifier inflation
Graham Knop [Wed, 12 Jun 2013 18:19:38 +0000]
changelog multiple modifier inflation

11 years agofix inflating method modifiers applied to multiple methods
Graham Knop [Fri, 7 Jun 2013 15:34:27 +0000]
fix inflating method modifiers applied to multiple methods

11 years agochangelog attribute trait fix
Graham Knop [Fri, 24 May 2013 16:47:18 +0000]
changelog attribute trait fix

11 years agotest for trait inflation from moo roles
Graham Knop [Tue, 14 May 2013 22:10:32 +0000]
test for trait inflation from moo roles

11 years agohard code traits as valid for attribute inflation
Graham Knop [Tue, 14 May 2013 21:34:13 +0000]
hard code traits as valid for attribute inflation

11 years agofuck you, Moose::Meta::Role::Attribute. in the ear. with a rusty spork.
Matt S Trout [Sun, 5 May 2013 18:18:39 +0000]
fuck you, Moose::Meta::Role::Attribute. in the ear. with a rusty spork.

11 years agoclean up trait test and add check for init_arg => undef
Graham Knop [Sun, 5 May 2013 18:11:10 +0000]
clean up trait test and add check for init_arg => undef

11 years agorestore init_arg => undef checking
Matt S Trout [Sun, 5 May 2013 18:04:53 +0000]
restore init_arg => undef checking

11 years agoswitch to a more functional style for the attribute ripping code
Matt S Trout [Sun, 5 May 2013 17:55:18 +0000]
switch to a more functional style for the attribute ripping code

11 years agoalso include attributes from attribute traits on inflate
Graham Knop [Sun, 5 May 2013 17:29:19 +0000]
also include attributes from attribute traits on inflate

11 years agotest for attribute attributes coming from traits
Graham Knop [Sun, 5 May 2013 14:23:36 +0000]
test for attribute attributes coming from traits

11 years agowhen inhaling Moose roles, only include original options for attributes
Graham Knop [Sun, 5 May 2013 14:26:15 +0000]
when inhaling Moose roles, only include original options for attributes

11 years agoremove out of date docs about unquoting all subs
Graham Knop [Mon, 27 May 2013 04:48:24 +0000]
remove out of date docs about unquoting all subs

11 years agotest for composing non-role
Graham Knop [Fri, 24 May 2013 17:06:35 +0000]
test for composing non-role

11 years agoExplicitly use Role::Tiny in Moo::Role
Graham Knop [Sun, 19 May 2013 22:08:29 +0000]
Explicitly use Role::Tiny in Moo::Role

base.pm will ignore failures loading a module if there are any entries
in its stash.  Moo will cause an entry to exist because it refers to
Role::Tiny::INFO.  Loading Moo before before Moo::Role will thus cause
base.pm to ignore failures loading Role::Tiny.  Fix this by explicitly
loading Role::Tiny in Moo::Role.

11 years agotighten up list of ignored files
Karen Etheridge [Sun, 19 May 2013 18:07:26 +0000]
tighten up list of ignored files

11 years agotypo fix
Graham Knop [Wed, 15 May 2013 15:31:31 +0000]
typo fix

11 years agoproperly die when composing a non-Role module
Graham Knop [Mon, 13 May 2013 19:46:43 +0000]
properly die when composing a non-Role module

11 years agoRelease commit for 1.002000 v1.002000
Matt S Trout [Sat, 4 May 2013 20:35:39 +0000]
Release commit for 1.002000

11 years agochangelog moosify feature
Matt S Trout [Sat, 4 May 2013 20:33:19 +0000]
changelog moosify feature

11 years agoSilence warning in pre-5.8.3 weaken test
Dagfinn Ilmari Mannsåker [Sat, 4 May 2013 20:30:10 +0000]
Silence warning in pre-5.8.3 weaken test

11 years agobump version
Matt S Trout [Sat, 4 May 2013 20:28:30 +0000]
bump version

11 years agoFix warnings about unknown attribute parameters on metaclass inflation
Dagfinn Ilmari Mannsåker [Sun, 21 Apr 2013 15:23:18 +0000]
Fix warnings about unknown attribute parameters on metaclass inflation

Moo::Role::_inhale_if_moose inhales the entire guts of the attribute
metaobject, so make sure we pass the correct constructor args for the
attribute metaclass.

11 years agomore tests (because I cannot believe that fixed it)
Arthur Axel 'fREW' Schmidt [Fri, 26 Apr 2013 22:09:01 +0000]
more tests (because I cannot believe that fixed it)

11 years agodon't copy delegates into overridden attributes
Graham Knop [Fri, 26 Apr 2013 19:26:23 +0000]
don't copy delegates into overridden attributes

11 years agooverriding delegate methods should work
Arthur Axel 'fREW' Schmidt [Fri, 26 Apr 2013 19:04:31 +0000]
overriding delegate methods should work

11 years agoAvoid braces as regex delimiters when used escaped in the pattern
Dagfinn Ilmari Mannsåker [Sat, 4 May 2013 20:09:16 +0000]
Avoid braces as regex delimiters when used escaped in the pattern

It warns in 5.17.x, and the parsing and metacharcter status is subject
to change in future versions of perl.

11 years agodie with a helpful error message if $TYPE_MAP{$isa}->() returned something useless
Toby Inkster [Thu, 25 Apr 2013 13:00:00 +0000]
die with a helpful error message if $TYPE_MAP{$isa}->() returned something useless

11 years agofix breakage introduced by accessor fix
Graham Knop [Sat, 4 May 2013 19:16:18 +0000]
fix breakage introduced by accessor fix

11 years agoavoid using separate variable for value in modifier when possible
Graham Knop [Wed, 17 Apr 2013 11:16:15 +0000]
avoid using separate variable for value in modifier when possible

11 years agotry to avoid localizing @_ when not needed
Graham Knop [Wed, 17 Apr 2013 11:01:56 +0000]
try to avoid localizing @_ when not needed

11 years agolib/Moo/HandleMoose.pm: Fix for rt#84615
Kent Fredric [Tue, 23 Apr 2013 21:11:21 +0000]
lib/Moo/HandleMoose.pm: Fix for rt#84615

If the constructor autovivification call returns 'undef', then the
package we're trying to get the contructor for, ( and from that, the
    constructor specs ), that package was not constructed via

  package;
  use Moo;

doesn't turn up in %Moo::MAKERS, and must either be either Moose::Object itself, or a simple child class of
that.

Therefore, assume it has no attributes, and inflate a minimal
methods-only metaclass.

11 years agoadd xt/ test for RT#84615 : Moo::Object->meta->can() dies
Kent Fredric [Tue, 23 Apr 2013 19:48:00 +0000]
add xt/ test for RT#84615 : Moo::Object->meta->can() dies

Add a test for people doing simple inheritance of Moo::Object, which also exhibits RT#84615

Add Haargs test case which is seemingly more common than the other two
combined. get_all_attributes even works as expected!

11 years agoadd changelog entry for non-ref defaults fix, and missed entry from previous version
Graham Knop [Sun, 31 Mar 2013 03:16:15 +0000]
add changelog entry for non-ref defaults fix, and missed entry from previous version

11 years agofix for eager false non-ref defaults
Graham Knop [Fri, 22 Mar 2013 23:06:43 +0000]
fix for eager false non-ref defaults

11 years agotests for eager false non-ref defaults
Graham Knop [Fri, 22 Mar 2013 23:03:41 +0000]
tests for eager false non-ref defaults

11 years agomoosify on overridden attributes adds to list of subs
Graham Knop [Thu, 2 May 2013 17:16:33 +0000]
moosify on overridden attributes adds to list of subs

11 years agosquash, cleanup on _validate_codulatable
Matt Phillips [Tue, 30 Apr 2013 14:59:46 +0000]
squash, cleanup on _validate_codulatable

11 years agoAdds moosify isa spec
Matt Phillips [Fri, 22 Mar 2013 20:35:43 +0000]
Adds moosify isa spec

This feature is an optional coderef that gets fired when Moo::HandleMoose is
injecting a real metaclass. The spec hashref is passed as the only argument to
allow for modifications to carry forward to Moose.

The main usecase for this is to allow thirdparty extensions such as
MooX::HandlesVia to mutate their Moo specific attributes to something Moose
will understand.

11 years agoadd checks that refaddr of $spec->{isa} and $spec->{coerce} are unchanged
Toby Inkster [Fri, 19 Apr 2013 12:49:16 +0000]
add checks that refaddr of $spec->{isa} and $spec->{coerce} are unchanged

11 years agotest that repeated calls to accessor doesn't re-trigger overloads on isa/coerce
Graham Knop [Thu, 18 Apr 2013 20:05:22 +0000]
test that repeated calls to accessor doesn't re-trigger overloads on isa/coerce

11 years agofix overload-coderefs test
Graham Knop [Thu, 18 Apr 2013 19:57:49 +0000]
fix overload-coderefs test

11 years agoinlining for overloaded object isa/coerce
Toby Inkster [Fri, 5 Apr 2013 17:56:39 +0000]
inlining for overloaded object isa/coerce

11 years agochangelog entries for accessor fixes
Graham Knop [Wed, 17 Apr 2013 16:55:40 +0000]
changelog entries for accessor fixes

11 years agofix accessor bugs
Graham Knop [Wed, 17 Apr 2013 10:14:06 +0000]
fix accessor bugs

Fixes bugs with isa being called on every access for lazy accessors,
and invalid defaults modifying the object.  This required converting
_generate_use_default to create an expression that could be returned
rather than a statement to assign the default.  The calling location
was then adjusted to return that expression directly.

11 years agofailing test for lazy builder re-calling when isa fails
Graham Knop [Wed, 17 Apr 2013 07:30:34 +0000]
failing test for lazy builder re-calling when isa fails

11 years agofailing test for isa being called on already built values
Graham Knop [Wed, 17 Apr 2013 07:16:39 +0000]
failing test for isa being called on already built values

11 years agomake weak_ref+lazy match behavior of moose
Graham Knop [Thu, 18 Apr 2013 04:34:47 +0000]
make weak_ref+lazy match behavior of moose

11 years agobump Devel::GlobalDestruction dep to fix warnings on cleanup under -c
Graham Knop [Fri, 12 Apr 2013 05:38:40 +0000]
bump Devel::GlobalDestruction dep to fix warnings on cleanup under -c

11 years agoadd missing changelog entry for FOREIGNBUILDARGS
Graham Knop [Sun, 31 Mar 2013 03:19:29 +0000]
add missing changelog entry for FOREIGNBUILDARGS

11 years agodocumentation for FOREIGNBUILDARGS
Graham Knop [Mon, 18 Mar 2013 21:11:25 +0000]
documentation for FOREIGNBUILDARGS

11 years agotypo fix
Christian Walde [Fri, 3 May 2013 11:38:14 +0000]
typo fix

11 years agokill each
Graham Knop [Tue, 30 Apr 2013 13:22:08 +0000]
kill each

11 years agouse TEST_REQUIRES when available
Karen Etheridge [Sat, 30 Mar 2013 16:01:06 +0000]
use TEST_REQUIRES when available

11 years agodocument Moose type constraint creation for roles and classes
Dagfinn Ilmari Mannsåker [Wed, 27 Mar 2013 18:50:01 +0000]
document Moose type constraint creation for roles and classes

It was actually fixed in 1.001000, but I forgot to add documentation and
Changes entry.

11 years agodocument that ->make_immutable does nothing - resolves RT#83188)
Karen Etheridge [Tue, 19 Mar 2013 21:42:11 +0000]
document that ->make_immutable does nothing - resolves RT#83188)

11 years agofix asserter generator not passing $spec
Graham Knop [Sun, 17 Mar 2013 22:21:01 +0000]
fix asserter generator not passing $spec

11 years agoFix POD markup for default predicate names
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 15:44:42 +0000]
Fix POD markup for default predicate names

11 years agorefactor asserter code into _generate_asserter()
Matt Phillips [Sat, 16 Mar 2013 18:57:06 +0000]
refactor asserter code into _generate_asserter()

11 years agoRelease commit for 1.001000 v1.001000
Matt S Trout [Sat, 16 Mar 2013 21:08:17 +0000]
Release commit for 1.001000

11 years agobump version for 1.1.0
Matt S Trout [Sat, 16 Mar 2013 21:06:28 +0000]
bump version for 1.1.0

11 years agomake moo-accessors.t inlineable for xt/handle_moose.t to use
Matt S Trout [Sat, 16 Mar 2013 20:11:30 +0000]
make moo-accessors.t inlineable for xt/handle_moose.t to use

11 years agoclean up merge error in accessor generation test
Matt S Trout [Sat, 16 Mar 2013 20:10:06 +0000]
clean up merge error in accessor generation test

11 years agoclean up docs on default and incompatibility
Matt S Trout [Sat, 16 Mar 2013 20:01:00 +0000]
clean up docs on default and incompatibility

11 years agoupdate Changes
Toby Inkster [Fri, 15 Feb 2013 12:24:00 +0000]
update Changes

11 years agotest cases for +attr and overwriting methods
Toby Inkster [Fri, 15 Feb 2013 12:09:39 +0000]
test cases for +attr and overwriting methods

11 years agofix test case that relies on a misfeature
Toby Inkster [Fri, 15 Feb 2013 11:55:04 +0000]
fix test case that relies on a misfeature

11 years agonot sure why that "unless caller" was there, but prove does not like
Toby Inkster [Fri, 15 Feb 2013 11:54:37 +0000]
not sure why that "unless caller" was there, but prove does not like

11 years agofix conflict with two lexical variables called $spec
Toby Inkster [Fri, 15 Feb 2013 11:48:24 +0000]
fix conflict with two lexical variables called $spec

11 years agoimprove the overwriting exception's handling of has '+attr'
Toby Inkster [Tue, 18 Dec 2012 16:48:58 +0000]
improve the overwriting exception's handling of has '+attr'

11 years agogeneralize this feature - FAILING TESTS - DO NOT MERGE WITH MASTER YET
Toby Inkster [Sat, 15 Dec 2012 22:37:31 +0000]
generalize this feature - FAILING TESTS - DO NOT MERGE WITH MASTER YET

11 years agofix for 81181
Toby Inkster [Sun, 9 Dec 2012 12:36:26 +0000]
fix for 81181

11 years agomove moose method registration after attribute registration
Graham Knop [Thu, 21 Feb 2013 12:20:55 +0000]
move moose method registration after attribute registration