12 years agotest Isa checking
Arthur Axel 'fREW' Schmidt [Tue, 3 Apr 2012 22:39:16 +0000]
test Isa checking

12 years agofixup! fixup! add method modifiers test
Arthur Axel 'fREW' Schmidt [Tue, 3 Apr 2012 22:33:02 +0000]
fixup! fixup! add method modifiers test

12 years agofixup! add method modifiers test
Arthur Axel 'fREW' Schmidt [Tue, 3 Apr 2012 22:32:28 +0000]
fixup! add method modifiers test

12 years agoadd method modifiers test
Arthur Axel 'fREW' Schmidt [Tue, 3 Apr 2012 22:29:38 +0000]
add method modifiers test

12 years agoadd basic requires test
Arthur Axel 'fREW' Schmidt [Tue, 3 Apr 2012 22:22:59 +0000]
add basic requires test

12 years agonote in changes that this exists
Matt S Trout [Mon, 2 Apr 2012 18:39:05 +0000]
note in changes that this exists

12 years agorole application works for a simple case
Matt S Trout [Mon, 2 Apr 2012 18:38:23 +0000]
role application works for a simple case

12 years agothe beginnings of Moose handling
Matt S Trout [Mon, 2 Apr 2012 18:27:44 +0000]
the beginnings of Moose handling

12 years agoRelease commit for 0.009014 v0.009014
Matt S Trout [Thu, 29 Mar 2012 20:09:42 +0000]
Release commit for 0.009014

12 years agobump version to 0.009014
Matt S Trout [Thu, 29 Mar 2012 19:39:37 +0000]
bump version to 0.009014

12 years agosplit Role::Tiny into its own dist
Matt S Trout [Thu, 29 Mar 2012 19:33:24 +0000]
split Role::Tiny into its own dist

12 years agoclean up coerce generation a bit
Matt S Trout [Sat, 24 Mar 2012 19:34:06 +0000]
clean up coerce generation a bit

12 years agoFix a bug where coercions weren't called on lazy default/builder returns
Matt S Trout [Sat, 24 Mar 2012 19:25:43 +0000]
Fix a bug where coercions weren't called on lazy default/builder returns

12 years agofix quote_sub usage in t/accessor-coerce.t
Matt S Trout [Sat, 24 Mar 2012 19:24:36 +0000]
fix quote_sub usage in t/accessor-coerce.t

12 years agoTest that triggers don't fire for attr default values (lazy or not)
Andrew Rodland [Sat, 17 Mar 2012 21:30:26 +0000]
Test that triggers don't fire for attr default values (lazy or not)

This is consistent with what's documented in Moose perldoc

12 years agoTest that lazy defaults get coerced the same as non-lazy ones
Andrew Rodland [Sat, 17 Mar 2012 20:33:18 +0000]
Test that lazy defaults get coerced the same as non-lazy ones

12 years agoFix spurious 'once' warnings
Peter Rabbitson [Fri, 16 Mar 2012 10:51:16 +0000]
Fix spurious 'once' warnings

12 years agoModule::Runtime-ify
Matt S Trout [Fri, 16 Mar 2012 09:48:39 +0000]
Module::Runtime-ify

12 years agoadd myself to CONTRIBUTORS as per mst
Chris Prather [Sun, 19 Feb 2012 23:59:41 +0000]
add myself to CONTRIBUTORS as per mst

12 years agoadd line about ->dump missing from Moo objects too
Chris Prather [Sun, 19 Feb 2012 23:56:38 +0000]
add line about ->dump missing from Moo objects too

12 years agoimprove incompat w/Moose docs
Matt S Trout [Sun, 19 Feb 2012 23:34:28 +0000]
improve incompat w/Moose docs

12 years agoremove the outstanding queue from Sub::Quote; benchamarks show it didn't actually...
Matt S Trout [Fri, 17 Feb 2012 19:15:08 +0000]
remove the outstanding queue from Sub::Quote; benchamarks show it didn't actually have a point

12 years agoadditional local $\@ removals
Matt S Trout [Sat, 11 Feb 2012 22:56:01 +0000]
additional local $\@ removals

12 years agoremove vestigial _is_scalar_ref sub
Matt S Trout [Sat, 11 Feb 2012 19:36:59 +0000]
remove vestigial _is_scalar_ref sub

12 years agorevert local $\@ around require to avoid eating errors
Matt S Trout [Sat, 11 Feb 2012 19:34:33 +0000]
revert local $\@ around require to avoid eating errors

12 years agoadded a test for errors in load_module resulting in "unknown error"
Christian Walde [Sat, 11 Feb 2012 18:29:42 +0000]
added a test for errors in load_module resulting in "unknown error"

12 years agoExplicitly require Role::Tiny in Role::Tiny::With (RT#70446)
Peter Rabbitson [Fri, 23 Dec 2011 15:09:06 +0000]
Explicitly require Role::Tiny in Role::Tiny::With (RT#70446)

12 years agoRelease commit for 0.009013 v0.009013
Peter Rabbitson [Fri, 23 Dec 2011 15:01:23 +0000]
Release commit for 0.009013

12 years agoBump Moo.pm version
Peter Rabbitson [Fri, 23 Dec 2011 14:50:23 +0000]
Bump Moo.pm version

12 years agogitignoring
Peter Rabbitson [Fri, 23 Dec 2011 14:45:13 +0000]
gitignoring

12 years agoSkip failing cygwin test
Peter Rabbitson [Fri, 23 Dec 2011 14:43:56 +0000]
Skip failing cygwin test

12 years agoFix missing escape on < 5.8.3 codepath
Peter Rabbitson [Fri, 23 Dec 2011 14:34:11 +0000]
Fix missing escape on < 5.8.3 codepath

12 years agostop documenting in terms of private methods
Arthur Axel 'fREW' Schmidt [Fri, 23 Dec 2011 14:43:18 +0000]
stop documenting in terms of private methods

12 years agoupdate Changes
Matt S Trout [Fri, 23 Dec 2011 02:27:41 +0000]
update Changes

12 years agoNo need for ScalarRef when using Sub::Quote
Mateu X Hunter [Thu, 15 Dec 2011 15:33:11 +0000]
No need for ScalarRef when using Sub::Quote

12 years agoadded some docs regarding how handles works, and also more on Moose compat
John Napiorkowski [Wed, 14 Dec 2011 22:06:55 +0000]
added some docs regarding how handles works, and also more on Moose compat

12 years agodeal when the case when Class::XSAccessor is a trial release on CPAN and make us...
John Napiorkowski [Mon, 12 Dec 2011 15:59:34 +0000]
deal when the case when Class::XSAccessor is a trial release on CPAN and make us dependend on a more modern version

13 years agodocument handles
Justin Hunter [Sat, 26 Nov 2011 02:39:40 +0000]
document handles

13 years agoRelease commit for 0.009012 v0.009012
Matt S Trout [Tue, 15 Nov 2011 00:27:30 +0000]
Release commit for 0.009012

13 years agoclean up global destruction testing
Matt S Trout [Tue, 15 Nov 2011 00:27:03 +0000]
clean up global destruction testing

13 years agobump Moo.pm version
Matt S Trout [Mon, 14 Nov 2011 23:58:34 +0000]
bump Moo.pm version

13 years agofix $obj->new
Matt S Trout [Mon, 14 Nov 2011 23:53:20 +0000]
fix $obj->new

13 years agoalso update Role::Tiny to handle VSTRING and credit doy for pointing it out
Matt S Trout [Mon, 14 Nov 2011 23:44:58 +0000]
also update Role::Tiny to handle VSTRING and credit doy for pointing it out

13 years agofix bug where constants containing a reference weren't handled correctly
Matt S Trout [Sun, 6 Nov 2011 20:38:41 +0000]
fix bug where constants containing a reference weren't handled correctly

13 years agoRelease commit for 0.009011 v0.009011
Matt S Trout [Mon, 3 Oct 2011 05:42:28 +0000]
Release commit for 0.009011

13 years agobump version for release
Matt S Trout [Mon, 3 Oct 2011 05:41:21 +0000]
bump version for release

13 years agoupdate DESTROY documentation
Matt S Trout [Mon, 3 Oct 2011 05:38:31 +0000]
update DESTROY documentation

13 years agomove to early generation of DESTROY/DEMOLISHALL where possible and hope like hell...
Matt S Trout [Mon, 3 Oct 2011 05:30:18 +0000]
move to early generation of DESTROY/DEMOLISHALL where possible and hope like hell it does the right thing

13 years agocleanup require usage so we don't trample on $@ and tweak the DEMOLISH code slightly
Matt S Trout [Mon, 3 Oct 2011 05:14:42 +0000]
cleanup require usage so we don't trample on $@ and tweak the DEMOLISH code slightly

13 years agoTenative switch to a generated DEMOLISHALL - see rest of message for caveats
Matt S Trout [Thu, 25 Aug 2011 23:44:42 +0000]
Tenative switch to a generated DEMOLISHALL - see rest of message for caveats

I'm wondering if the reason that ajgb didn't do it this way is that it has
bad interactions with global destruction on some perls; it did, however, work
fine in the t/ cases. Rather than use the ugly "let's figure this out every
time" code that he wrote (which did, admittedly, work) I think that if the
generation doesn't work across perls then our best path forwards is to try
and accelerate DEMOLISHALL construction - perhaps even lifting it to new()
time so that classes without a DEMOLISH method don't get a DESTROY added (I
hate having to always have a DESTROY method).

But first, I want to see if this breaks so that I know how to test that
lifting to new() time fixes it.

13 years agoprovide DEMOLISH
Alex J. G. Burzyński [Fri, 5 Aug 2011 09:50:14 +0000]
provide DEMOLISH

13 years agouse Moo::_Utils::_get_linear_isa
Alex J. G. Burzyński [Fri, 5 Aug 2011 09:48:37 +0000]
use Moo::_Utils::_get_linear_isa

13 years agoadd _get_linear_isa and _in_global_destruction
Alex J. G. Burzyński [Fri, 5 Aug 2011 09:47:47 +0000]
add _get_linear_isa and _in_global_destruction

13 years agodecrease indent in method generator
Alex J. G. Burzyński [Fri, 26 Aug 2011 09:20:29 +0000]
decrease indent in method generator

13 years agodecrease indent on BUILD calls
Alex J. G. Burzyński [Fri, 26 Aug 2011 09:15:22 +0000]
decrease indent on BUILD calls

13 years agomore readable subconstructor handling for BUILDALL
Alex J. G. Burzyński [Fri, 26 Aug 2011 09:00:56 +0000]
more readable subconstructor handling for BUILDALL

13 years agofix BUILDALL constructor
Alex J. G. Burzyński [Thu, 18 Aug 2011 11:49:45 +0000]
fix BUILDALL constructor

13 years agoinline BUILDARGS
Alex J. G. Burzyński [Fri, 29 Jul 2011 16:20:36 +0000]
inline BUILDARGS

13 years agoadd newlines at die messages
Alex J. G. Burzyński [Fri, 29 Jul 2011 12:18:31 +0000]
add newlines at die messages

13 years agotest for odd number of arguments
Alex J. G. Burzyński [Fri, 29 Jul 2011 12:18:09 +0000]
test for odd number of arguments

13 years agocall BUILDARGS if defined
Alex J. G. Burzyński [Fri, 29 Jul 2011 11:22:28 +0000]
call BUILDARGS if defined

13 years agodie rather than warn on odd number of arguments
Alex J. G. Burzyński [Fri, 29 Jul 2011 11:20:24 +0000]
die rather than warn on odd number of arguments

13 years agoadded BUILDARGS support
Alex J. G. Burzyński [Fri, 29 Jul 2011 10:29:42 +0000]
added BUILDARGS support

13 years agodocument reader and writer
Arthur Axel 'fREW' Schmidt [Thu, 21 Jul 2011 21:48:38 +0000]
document reader and writer

13 years agoRelease commit for 0.009010 release_0.009010
Matt S Trout [Wed, 20 Jul 2011 04:48:11 +0000]
Release commit for 0.009010

13 years agomake note I cocked up a release again
Matt S Trout [Wed, 20 Jul 2011 04:46:46 +0000]
make note I cocked up a release again

13 years agobump version
Matt S Trout [Wed, 20 Jul 2011 04:46:13 +0000]
bump version

13 years agoRelease commit for 0.009009 release_0.009009
Matt S Trout [Wed, 20 Jul 2011 04:44:37 +0000]
Release commit for 0.009009

13 years agobump version
Matt S Trout [Wed, 20 Jul 2011 04:43:10 +0000]
bump version

13 years agouse Test::Fatal since we already need it
Matt S Trout [Wed, 20 Jul 2011 04:40:24 +0000]
use Test::Fatal since we already need it

13 years agoremove the big scary warning because we seem to be mostly working now
Matt S Trout [Wed, 20 Jul 2011 04:37:24 +0000]
remove the big scary warning because we seem to be mostly working now

13 years agohelps to get the package name right (Role::Tiny::With)
Matt S Trout [Wed, 20 Jul 2011 04:33:07 +0000]
helps to get the package name right (Role::Tiny::With)

13 years agomake ro accessor die
Matt S Trout [Wed, 20 Jul 2011 04:24:01 +0000]
make ro accessor die

13 years agoChanges entry for Role::Tiny::With and add chip to CONTRIBUTORS
Matt S Trout [Wed, 20 Jul 2011 02:57:29 +0000]
Changes entry for Role::Tiny::With and add chip to CONTRIBUTORS

13 years agoRole::Tiny::With try1
Chip Salzenberg [Tue, 12 Jul 2011 20:24:04 +0000]
Role::Tiny::With try1

13 years agogenerate constructors in subclasses on demand
Matt S Trout [Wed, 20 Jul 2011 02:28:46 +0000]
generate constructors in subclasses on demand

13 years agoauto-fetch Distar
Matt S Trout [Fri, 15 Jul 2011 15:46:35 +0000]
auto-fetch Distar

13 years agomove adding coercion to next release
Alex J. G. Burzyński [Mon, 11 Jul 2011 09:12:24 +0000]
move adding coercion to next release

13 years agodocument coerce handling
Alex J. G. Burzyński [Sat, 21 May 2011 21:21:29 +0000]
document coerce handling

13 years agocoerce value from eager defaults
Alex J. G. Burzyński [Sat, 21 May 2011 15:35:17 +0000]
coerce value from eager defaults

13 years agoadd tests for attributes with eager default
Alex J. G. Burzyński [Sat, 21 May 2011 15:09:16 +0000]
add tests for attributes with eager default

13 years agopass coerce tests
Alex J. G. Burzyński [Thu, 19 May 2011 22:28:03 +0000]
pass coerce tests

13 years agofix test
Alex J. G. Burzyński [Thu, 19 May 2011 22:27:00 +0000]
fix test

13 years agoinitial test for coerce
Arthur Axel 'fREW' Schmidt [Sat, 13 Nov 2010 05:53:08 +0000]
initial test for coerce

13 years agoRelease commit for 0.009008 release_0.009008
Matt S Trout [Fri, 3 Jun 2011 17:08:50 +0000]
Release commit for 0.009008

13 years agoincrement version for 0.9.8
Matt S Trout [Fri, 3 Jun 2011 17:07:27 +0000]
increment version for 0.9.8

13 years agoadd distar lib line to maint Makefile.PL.include
Matt S Trout [Fri, 3 Jun 2011 17:07:01 +0000]
add distar lib line to maint Makefile.PL.include

13 years agotransfer changes to _load_module to Role::Tiny's inlined version and document that...
Matt S Trout [Fri, 3 Jun 2011 16:35:12 +0000]
transfer changes to _load_module to Role::Tiny's inlined version and document that it's a copy

13 years agoBring back 5.8.1 support
Peter Rabbitson [Fri, 22 Apr 2011 10:32:56 +0000]
Bring back 5.8.1 support

- 5.8.1 randomizes hash keys - need to sort when comparing
- < 5.8.3 can not weaken refs to r/o vars, die with more info
  (the extra code is compiled away on >= 5.8.3)
- Spurious warnings from indirect.pm (RT#67692) trip up strictures'
  dfatalized warnings

13 years agofix typo
Justin Hunter [Mon, 14 Mar 2011 17:11:36 +0000]
fix typo

13 years agoRelease commit for 0.009007 release_0.009007
Matt S Trout [Fri, 25 Feb 2011 17:03:54 +0000]
Release commit for 0.009007

13 years agobump to 0.9.7 for the 'mst is an idiot' release
Matt S Trout [Fri, 25 Feb 2011 17:03:24 +0000]
bump to 0.9.7 for the 'mst is an idiot' release

13 years agofix copyright
Matt S Trout [Fri, 25 Feb 2011 17:03:01 +0000]
fix copyright

13 years agoRelease commit for 0.009006 release_0.009006
Matt S Trout [Fri, 25 Feb 2011 16:55:33 +0000]
Release commit for 0.009006

13 years agobump version to 0.9.6 for point release
Matt S Trout [Fri, 25 Feb 2011 16:43:35 +0000]
bump version to 0.9.6 for point release

13 years agofixup contributors list
Matt S Trout [Fri, 25 Feb 2011 16:26:10 +0000]
fixup contributors list

Adding, while we're here, cpan ID as well to the data I've scavenged.

Alphabetical order by IRC nick, standard format.

13 years agofactor out eager default calculation
Matt S Trout [Fri, 25 Feb 2011 16:19:02 +0000]
factor out eager default calculation

Both constructor and accessor now need to test if an attribute has an
eager default for their parts in generating the population code, so
factor the logic out onto accessor to leave it pluggable for later.

13 years agohandle non-lazy default and builder when init_arg is undef
Matt S Trout [Fri, 25 Feb 2011 15:54:08 +0000]
handle non-lazy default and builder when init_arg is undef

We were skipping attributes entirely in new if there's no init_arg, but
this is not correct - given a non-lazy default or builder the attribute
should be initialized during new().

To handle this, I've re-ordered the checks slightly in Constructor.pm to
do the "is_simple" check first - an attribute with a default or builder
will fail that check, then we skip anyway if no init_arg and no default
or builder (yes, this is hardcoded-ish, but in that case we're definitely
not constructing anything so far as I can see). default and builder are
disregarded if lazy so as not to try and populate pure-lazy attributes.

Accessor also needed tweaking so it could handle the concept of a thing to
build without an init_arg to populate from. This only needs to happen in
one branch since the other branch is for "no default or builder" and thus
never reached.

13 years agoSwitch to Distar for author side tooling
Matt S Trout [Fri, 25 Feb 2011 15:43:34 +0000]
Switch to Distar for author side tooling

We're now using Distar, currently available at

git://git.shadowcat.co.uk/p5sagit/Distar.git

to simplify author-side work. If this breaks your head, touch META.yml.

13 years agoadd copyright statements
Matt S Trout [Fri, 25 Feb 2011 15:30:47 +0000]
add copyright statements

I've done the usual AUTHOR + CONTRIBUTORS - and referred from the other
modules.

Role::Tiny will need tweaking before it goes to its own dist but meh.