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.
Toby Inkster [Thu, 25 Apr 2013 13:00:00 +0000]
die with a helpful error message if $TYPE_MAP{$isa}->() returned something useless
Graham Knop [Sat, 4 May 2013 19:16:18 +0000]
fix breakage introduced by accessor fix
Graham Knop [Wed, 17 Apr 2013 11:16:15 +0000]
avoid using separate variable for value in modifier when possible
Graham Knop [Wed, 17 Apr 2013 11:01:56 +0000]
try to avoid localizing @_ when not needed
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.
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!
Graham Knop [Sun, 31 Mar 2013 03:16:15 +0000]
add changelog entry for non-ref defaults fix, and missed entry from previous version
Graham Knop [Fri, 22 Mar 2013 23:06:43 +0000]
fix for eager false non-ref defaults
Graham Knop [Fri, 22 Mar 2013 23:03:41 +0000]
tests for eager false non-ref defaults
Graham Knop [Thu, 2 May 2013 17:16:33 +0000]
moosify on overridden attributes adds to list of subs
Matt Phillips [Tue, 30 Apr 2013 14:59:46 +0000]
squash, cleanup on _validate_codulatable
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.
Toby Inkster [Fri, 19 Apr 2013 12:49:16 +0000]
add checks that refaddr of $spec->{isa} and $spec->{coerce} are unchanged
Graham Knop [Thu, 18 Apr 2013 20:05:22 +0000]
test that repeated calls to accessor doesn't re-trigger overloads on isa/coerce
Graham Knop [Thu, 18 Apr 2013 19:57:49 +0000]
fix overload-coderefs test
Toby Inkster [Fri, 5 Apr 2013 17:56:39 +0000]
inlining for overloaded object isa/coerce
Graham Knop [Wed, 17 Apr 2013 16:55:40 +0000]
changelog entries for accessor fixes
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.
Graham Knop [Wed, 17 Apr 2013 07:30:34 +0000]
failing test for lazy builder re-calling when isa fails
Graham Knop [Wed, 17 Apr 2013 07:16:39 +0000]
failing test for isa being called on already built values
Graham Knop [Thu, 18 Apr 2013 04:34:47 +0000]
make weak_ref+lazy match behavior of moose
Graham Knop [Fri, 12 Apr 2013 05:38:40 +0000]
bump Devel::GlobalDestruction dep to fix warnings on cleanup under -c
Graham Knop [Sun, 31 Mar 2013 03:19:29 +0000]
add missing changelog entry for FOREIGNBUILDARGS
Graham Knop [Mon, 18 Mar 2013 21:11:25 +0000]
documentation for FOREIGNBUILDARGS
Christian Walde [Fri, 3 May 2013 11:38:14 +0000]
typo fix
Graham Knop [Tue, 30 Apr 2013 13:22:08 +0000]
kill each
Karen Etheridge [Sat, 30 Mar 2013 16:01:06 +0000]
use TEST_REQUIRES when available
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.
Karen Etheridge [Tue, 19 Mar 2013 21:42:11 +0000]
document that ->make_immutable does nothing - resolves RT#83188)
Graham Knop [Sun, 17 Mar 2013 22:21:01 +0000]
fix asserter generator not passing $spec
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 15:44:42 +0000]
Fix POD markup for default predicate names
Matt Phillips [Sat, 16 Mar 2013 18:57:06 +0000]
refactor asserter code into _generate_asserter()
Matt S Trout [Sat, 16 Mar 2013 21:08:17 +0000]
Release commit for 1.001000
Matt S Trout [Sat, 16 Mar 2013 21:06:28 +0000]
bump version for 1.1.0
Matt S Trout [Sat, 16 Mar 2013 20:11:30 +0000]
make moo-accessors.t inlineable for xt/handle_moose.t to use
Matt S Trout [Sat, 16 Mar 2013 20:10:06 +0000]
clean up merge error in accessor generation test
Matt S Trout [Sat, 16 Mar 2013 20:01:00 +0000]
clean up docs on default and incompatibility
Toby Inkster [Fri, 15 Feb 2013 12:24:00 +0000]
update Changes
Toby Inkster [Fri, 15 Feb 2013 12:09:39 +0000]
test cases for +attr and overwriting methods
Toby Inkster [Fri, 15 Feb 2013 11:55:04 +0000]
fix test case that relies on a misfeature
Toby Inkster [Fri, 15 Feb 2013 11:54:37 +0000]
not sure why that "unless caller" was there, but prove does not like
Toby Inkster [Fri, 15 Feb 2013 11:48:24 +0000]
fix conflict with two lexical variables called $spec
Toby Inkster [Tue, 18 Dec 2012 16:48:58 +0000]
improve the overwriting exception's handling of has '+attr'
Toby Inkster [Sat, 15 Dec 2012 22:37:31 +0000]
generalize this feature - FAILING TESTS - DO NOT MERGE WITH MASTER YET
Toby Inkster [Sun, 9 Dec 2012 12:36:26 +0000]
fix for 81181
Graham Knop [Thu, 21 Feb 2013 12:20:55 +0000]
move moose method registration after attribute registration
Graham Knop [Thu, 21 Feb 2013 11:34:39 +0000]
test for rt#83508, inflated metaclass sometimes forgetting role methods
Damien Krotkine [Wed, 27 Feb 2013 15:21:29 +0000]
updated doc
Damien Krotkine [Wed, 27 Feb 2013 14:19:50 +0000]
added documtentation for attributes overloading
Graham Knop [Fri, 1 Mar 2013 10:09:04 +0000]
allow non-ref defaults
Torsten Raudssus [Mon, 4 Mar 2013 16:35:35 +0000]
Fixed link to chat from classical L<> to =for html
Torsten Raudssus [Mon, 4 Mar 2013 14:05:28 +0000]
added more meta resources and added more support relevant links into the POD documentation
Graham Knop [Fri, 22 Feb 2013 23:20:09 +0000]
apply coercion to subtype of inflated moose type when using %TYPE_MAP
Graham Knop [Fri, 22 Feb 2013 23:19:19 +0000]
also test that name is correct for moose types with coercion
Graham Knop [Sat, 12 Jan 2013 21:29:12 +0000]
test for bug with different coercions on same native type
Graham Knop [Fri, 22 Feb 2013 09:59:21 +0000]
implementation of FOREIGNBUILDARGS
Graham Knop [Fri, 22 Feb 2013 09:58:44 +0000]
test for FOREIGNBUILDARGS
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; }
Matt Phillips [Fri, 15 Feb 2013 20:14:27 +0000]
add myself to committer list
Graham Knop [Mon, 25 Feb 2013 02:17:56 +0000]
fix minor whitespace issue in synopsis
Graham Knop [Mon, 25 Feb 2013 01:37:45 +0000]
changelog entry for trigger docs clarification
Graham Knop [Sun, 24 Feb 2013 13:57:12 +0000]
clarify that default and built values don't call trigger
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.
Karen Etheridge [Sun, 17 Feb 2013 01:25:30 +0000]
fix spelling in example
Matt S Trout [Tue, 12 Feb 2013 08:55:14 +0000]
clarify is => 'lazy' docs to explain that the rw+lazy footgun still works
Christian Walde [Mon, 11 Feb 2013 12:23:54 +0000]
handles => "RoleName" should try to load the module
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.
Matt S Trout [Wed, 6 Feb 2013 01:12:04 +0000]
Release commit for 1.000008
Matt S Trout [Wed, 6 Feb 2013 01:11:15 +0000]
bump version
Graham Knop [Wed, 6 Feb 2013 01:00:46 +0000]
add myself to contributors
Matt S Trout [Wed, 6 Feb 2013 00:34:55 +0000]
fixup exporting to be sane and consistent
Graham Knop [Tue, 18 Dec 2012 13:49:54 +0000]
test for Moose consuming a role with no subs after Moo does
Graham Knop [Tue, 18 Dec 2012 13:49:45 +0000]
test for use Moo after no Moo
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
Christian Walde [Thu, 10 Jan 2013 13:56:11 +0000]
builder => sub{} now installs that as a method
Matt S Trout [Wed, 6 Feb 2013 00:04:11 +0000]
changelog unimport fixes
Matt S Trout [Sun, 11 Nov 2012 19:24:16 +0000]
preserve global non-subs during unimport
Christian Walde [Wed, 5 Sep 2012 13:23:16 +0000]
added failing unimport test that demonstrates clobbering of package globals
Christian Walde [Wed, 5 Sep 2012 13:22:36 +0000]
added tests for no Moo/::Role
Matt S Trout [Tue, 5 Feb 2013 23:47:44 +0000]
change Mouse handling to avoid dying on old versions
Matt S Trout [Tue, 5 Feb 2013 23:45:42 +0000]
changelog _install_coderef fix
Christian Walde [Tue, 22 Jan 2013 14:12:59 +0000]
prevent call of _install_coderef in Sub::Defer from being indirect
Christian Walde [Thu, 10 Jan 2013 13:56:43 +0000]
typo fix
Toby Inkster [Sat, 15 Dec 2012 22:10:15 +0000]
Add MooX::late link to pod
Matt S Trout [Sat, 15 Dec 2012 21:01:44 +0000]
Release commit for 1.000007
Matt S Trout [Sat, 15 Dec 2012 21:01:02 +0000]
version bump for release
Toby Inkster [Fri, 9 Nov 2012 16:35:59 +0000]
restore lives_and
Toby Inkster [Tue, 30 Oct 2012 22:02:29 +0000]
get ilmari's test to pass
Dagfinn Ilmari Mannsåker [Tue, 30 Oct 2012 15:46:46 +0000]
Add TODO test for RT#80492
Toby Inkster [Sun, 9 Dec 2012 09:37:34 +0000]
die if somebody imports both Moo::Role and Moo into a package
Dagfinn Ilmari Mannsåker [Fri, 16 Nov 2012 11:18:35 +0000]
Release commit for 1.000006
Dagfinn Ilmari Mannsåker [Fri, 16 Nov 2012 10:29:28 +0000]
Bump version
Dagfinn Ilmari Mannsåker [Wed, 14 Nov 2012 10:26:12 +0000]
Bump Role::Tiny prereq to fix method modifier breakage on 5.10.0
Peter Rabbitson [Sat, 10 Nov 2012 23:22:27 +0000]
Bump bugfixed strictures dep
Dagfinn Ilmari Mannsåker [Fri, 9 Nov 2012 16:35:06 +0000]
Don't use $_ as loop variable when calling arbitrary code (RT#81072)
Dagfinn Ilmari Mannsåker [Fri, 9 Nov 2012 16:34:13 +0000]
Ignore editor droppings
Dagfinn Ilmari Mannsåker [Tue, 23 Oct 2012 15:29:11 +0000]
Release commit for 1.000005
Dagfinn Ilmari Mannsåker [Tue, 23 Oct 2012 15:27:25 +0000]
Bump version
Dagfinn Ilmari Mannsåker [Tue, 23 Oct 2012 15:23:57 +0000]
bump Class::Method::Modifiers dependency to avoid warnings on 5.8