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

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

10 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

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

10 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.

10 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)

10 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

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

10 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.

10 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

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

10 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

10 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

10 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.

10 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!

10 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

10 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

10 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

10 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

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

10 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.

10 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

10 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

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

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

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

10 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.

10 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

10 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

10 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

10 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

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

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

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

10 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

11 years agotest for rt#83508, inflated metaclass sometimes forgetting role methods
Graham Knop [Thu, 21 Feb 2013 11:34:39 +0000]
test for rt#83508, inflated metaclass sometimes forgetting role methods

11 years agoupdated doc
Damien Krotkine [Wed, 27 Feb 2013 15:21:29 +0000]
updated doc

11 years agoadded documtentation for attributes overloading
Damien Krotkine [Wed, 27 Feb 2013 14:19:50 +0000]
added documtentation for attributes overloading

11 years agoallow non-ref defaults
Graham Knop [Fri, 1 Mar 2013 10:09:04 +0000]
allow non-ref defaults

11 years agoFixed link to chat from classical L<> to =for html
Torsten Raudssus [Mon, 4 Mar 2013 16:35:35 +0000]
Fixed link to chat from classical L<> to =for html

11 years agoadded more meta resources and added more support relevant links into the POD document...
Torsten Raudssus [Mon, 4 Mar 2013 14:05:28 +0000]
added more meta resources and added more support relevant links into the POD documentation

11 years agoapply coercion to subtype of inflated moose type when using %TYPE_MAP
Graham Knop [Fri, 22 Feb 2013 23:20:09 +0000]
apply coercion to subtype of inflated moose type when using %TYPE_MAP

11 years agoalso test that name is correct for moose types with coercion
Graham Knop [Fri, 22 Feb 2013 23:19:19 +0000]
also test that name is correct for moose types with coercion

11 years agotest for bug with different coercions on same native type
Graham Knop [Sat, 12 Jan 2013 21:29:12 +0000]
test for bug with different coercions on same native type

11 years agoimplementation of FOREIGNBUILDARGS
Graham Knop [Fri, 22 Feb 2013 09:59:21 +0000]
implementation of FOREIGNBUILDARGS

11 years agotest for FOREIGNBUILDARGS
Graham Knop [Fri, 22 Feb 2013 09:58:44 +0000]
test for FOREIGNBUILDARGS

11 years agoRT #83361, asserter now operates on definedness
Matt Phillips [Fri, 15 Feb 2013 20:14:10 +0000]
RT #83361, asserter now operates on definedness

As per haargs suggestion:
11:32 <haarg> mattp: i'd say use the predicate to test for existance, but after
calling get.  so something like do { my $val = $get->(); die "Attempted to
access..." unless $has->(); $val; }

11 years agoadd myself to committer list
Matt Phillips [Fri, 15 Feb 2013 20:14:27 +0000]
add myself to committer list

11 years agofix minor whitespace issue in synopsis
Graham Knop [Mon, 25 Feb 2013 02:17:56 +0000]
fix minor whitespace issue in synopsis

11 years agochangelog entry for trigger docs clarification
Graham Knop [Mon, 25 Feb 2013 01:37:45 +0000]
changelog entry for trigger docs clarification

11 years agoclarify that default and built values don't call trigger
Graham Knop [Sun, 24 Feb 2013 13:57:12 +0000]
clarify that default and built values don't call trigger

11 years agoRevert "fix spelling in example"
Karen Etheridge [Thu, 21 Feb 2013 20:55:05 +0000]
Revert "fix spelling in example"

It turns out that 'dagron' isn't a typo after all. Now I know!
This reverts commit a0b12b0243e9916e97f9191e2a7ae51e413adf86.

11 years agofix spelling in example
Karen Etheridge [Sun, 17 Feb 2013 01:25:30 +0000]
fix spelling in example

11 years agoclarify is => 'lazy' docs to explain that the rw+lazy footgun still works
Matt S Trout [Tue, 12 Feb 2013 08:55:14 +0000]
clarify is => 'lazy' docs to explain that the rw+lazy footgun still works

11 years agohandles => "RoleName" should try to load the module
Christian Walde [Mon, 11 Feb 2013 12:23:54 +0000]
handles => "RoleName" should try to load the module

11 years agoCreate class and role type constraints for Moose
Dagfinn Ilmari Mannsåker [Sat, 9 Feb 2013 17:50:08 +0000]
Create class and role type constraints for Moose

Moose implicitly creates type constraints for roles and classes, which
means that isa => 'SomeRole' accepts an object that does the role.  For
increased compatibility, create these constraints when injecting the
fake meta class.

11 years agoRelease commit for 1.000008 v1.000008
Matt S Trout [Wed, 6 Feb 2013 01:12:04 +0000]
Release commit for 1.000008

11 years agobump version
Matt S Trout [Wed, 6 Feb 2013 01:11:15 +0000]
bump version

11 years agoadd myself to contributors
Graham Knop [Wed, 6 Feb 2013 01:00:46 +0000]
add myself to contributors

11 years agofixup exporting to be sane and consistent
Matt S Trout [Wed, 6 Feb 2013 00:34:55 +0000]
fixup exporting to be sane and consistent

11 years agotest for Moose consuming a role with no subs after Moo does
Graham Knop [Tue, 18 Dec 2012 13:49:54 +0000]
test for Moose consuming a role with no subs after Moo does

11 years agotest for use Moo after no Moo
Graham Knop [Tue, 18 Dec 2012 13:49:45 +0000]
test for use Moo after no Moo

11 years agodo not generate an accessor on an rw attr if reader and writer are defined, this...
Christian Walde [Tue, 18 Dec 2012 16:11:24 +0000]
do not generate an accessor on an rw attr if reader and writer are defined, this gives compatibility with Moose

11 years agobuilder => sub{} now installs that as a method
Christian Walde [Thu, 10 Jan 2013 13:56:11 +0000]
builder => sub{} now installs that as a method

11 years agochangelog unimport fixes
Matt S Trout [Wed, 6 Feb 2013 00:04:11 +0000]
changelog unimport fixes

11 years agopreserve global non-subs during unimport
Matt S Trout [Sun, 11 Nov 2012 19:24:16 +0000]
preserve global non-subs during unimport

11 years agoadded failing unimport test that demonstrates clobbering of package globals
Christian Walde [Wed, 5 Sep 2012 13:23:16 +0000]
added failing unimport test that demonstrates clobbering of package globals

11 years agoadded tests for no Moo/::Role
Christian Walde [Wed, 5 Sep 2012 13:22:36 +0000]
added tests for no Moo/::Role

11 years agochange Mouse handling to avoid dying on old versions
Matt S Trout [Tue, 5 Feb 2013 23:47:44 +0000]
change Mouse handling to avoid dying on old versions

11 years agochangelog _install_coderef fix
Matt S Trout [Tue, 5 Feb 2013 23:45:42 +0000]
changelog _install_coderef fix

11 years agoprevent call of _install_coderef in Sub::Defer from being indirect
Christian Walde [Tue, 22 Jan 2013 14:12:59 +0000]
prevent call of _install_coderef in Sub::Defer from being indirect

11 years agotypo fix
Christian Walde [Thu, 10 Jan 2013 13:56:43 +0000]
typo fix

11 years agoAdd MooX::late link to pod
Toby Inkster [Sat, 15 Dec 2012 22:10:15 +0000]
Add MooX::late link to pod

11 years agoRelease commit for 1.000007 v1.000007
Matt S Trout [Sat, 15 Dec 2012 21:01:44 +0000]
Release commit for 1.000007

11 years agoversion bump for release
Matt S Trout [Sat, 15 Dec 2012 21:01:02 +0000]
version bump for release

11 years agorestore lives_and
Toby Inkster [Fri, 9 Nov 2012 16:35:59 +0000]
restore lives_and

11 years agoget ilmari's test to pass
Toby Inkster [Tue, 30 Oct 2012 22:02:29 +0000]
get ilmari's test to pass

11 years agoAdd TODO test for RT#80492
Dagfinn Ilmari Mannsåker [Tue, 30 Oct 2012 15:46:46 +0000]
Add TODO test for RT#80492

11 years agodie if somebody imports both Moo::Role and Moo into a package
Toby Inkster [Sun, 9 Dec 2012 09:37:34 +0000]
die if somebody imports both Moo::Role and Moo into a package

11 years agoRelease commit for 1.000006 v1.000006
Dagfinn Ilmari Mannsåker [Fri, 16 Nov 2012 11:18:35 +0000]
Release commit for 1.000006