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.
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.
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.
Matt S Trout [Wed, 12 Jan 2011 16:19:39 +0000]
add weak ref checking to Sub::Quote
Matt S Trout [Wed, 12 Jan 2011 08:27:41 +0000]
Switch package name for class+role composed class to be valid
We used to join together the components with + so you got -
Class+Role1+Role2+Role3
however this then screws with Sub::Quote's ability to generate a constructor
into the final class since
sub Class+Role1+Role2+Role3::new {
isn't valid perl. Therefore, I've switched the code to generate
Class__WITH__Role1__AND__Role3__AND__Role3
which is substantially uglier but works. Thanks to DGL for the test
Matt S Trout [Tue, 11 Jan 2011 21:58:07 +0000]
0.9.5 release commit
Matt S Trout [Sat, 8 Jan 2011 07:05:16 +0000]
fix clobberage of runtime-installed wrappers by Sub::Defer
Matt S Trout [Sat, 8 Jan 2011 06:14:54 +0000]
fix constructor firing for nonMoo through multiple layers of Moo
Matt S Trout [Sat, 8 Jan 2011 05:41:04 +0000]
rewrite nonMoo detection
Matt S Trout [Mon, 13 Dec 2010 21:31:22 +0000]
version bump for 0.9.4
Matt S Trout [Mon, 6 Dec 2010 21:36:30 +0000]
handle non-Moo superclass constructors
matthewt [Sun, 5 Dec 2010 19:23:10 +0000]
update Changes for release
matthewt [Sun, 5 Dec 2010 19:22:58 +0000]
test for load_module fixes
matthewt [Sun, 5 Dec 2010 19:22:47 +0000]
bump version of strictures
matthewt [Sun, 5 Dec 2010 19:15:52 +0000]
version bump
matthewt [Sun, 5 Dec 2010 18:53:10 +0000]
fix _load_module to deal with subpackages correctly
Peter Rabbitson [Sat, 20 Nov 2010 18:11:59 +0000]
.gitignore
Andrew Rodland [Wed, 17 Nov 2010 09:05:12 +0000]
docs: is => 'ro' gives a get-only accessor, not a set-only one :)
Matt S Trout [Wed, 17 Nov 2010 08:08:32 +0000]
bump version, set Changes for release
Matt S Trout [Wed, 17 Nov 2010 08:06:33 +0000]
add rationale section
Matt S Trout [Tue, 16 Nov 2010 21:43:54 +0000]
fixes for 5.10.0
Matt S Trout [Tue, 16 Nov 2010 03:25:50 +0000]
Make perl -Moo DTRT
Matt S Trout [Tue, 16 Nov 2010 02:33:13 +0000]
Makefile.PL and maint code
Matt S Trout [Tue, 16 Nov 2010 02:24:03 +0000]
Changes file
Matt S Trout [Tue, 16 Nov 2010 01:54:34 +0000]
apparently working MYMETA generation
Peter Rabbitson [Tue, 16 Nov 2010 01:08:28 +0000]
Fix wording on global unquote
Matt S Trout [Tue, 16 Nov 2010 00:56:47 +0000]
fix up tests to new calling convention
Matt S Trout [Tue, 16 Nov 2010 00:51:33 +0000]
cleanup and warning notice
Matt S Trout [Tue, 16 Nov 2010 00:26:51 +0000]
clean up and add NAME sections
Matt S Trout [Tue, 16 Nov 2010 00:17:04 +0000]
make role application interface consistent
Matt S Trout [Tue, 16 Nov 2010 00:03:59 +0000]
clean up, expand, undocument 'not yet' features
Matt S Trout [Sun, 14 Nov 2010 19:47:36 +0000]
Moo - Miminalist Object Orientation
Matt S Trout [Sun, 14 Nov 2010 19:41:49 +0000]
correct Sub::Quote docs
Matt S Trout [Sun, 14 Nov 2010 19:28:24 +0000]
clean up does_role docs
Arthur Axel 'fREW' Schmidt [Wed, 10 Nov 2010 04:07:25 +0000]
Documentation for Moo::Role
Arthur Axel 'fREW' Schmidt [Tue, 9 Nov 2010 04:26:51 +0000]
Documentation for Role::Tiny
Arthur Axel 'fREW' Schmidt [Tue, 9 Nov 2010 03:05:49 +0000]
Documentation for Moo
Arthur Axel 'fREW' Schmidt [Sun, 7 Nov 2010 16:11:46 +0000]
Documentation for Sub::Quote
Arthur Axel 'fREW' Schmidt [Sun, 7 Nov 2010 04:27:21 +0000]
Documentation for Sub::Defer
Matt S Trout [Tue, 16 Nov 2010 00:46:08 +0000]
guard against double import
Matt S Trout [Mon, 15 Nov 2010 02:55:00 +0000]
make does_role work on objects
Matt S Trout [Sun, 14 Nov 2010 19:50:52 +0000]
move _getglob def above strict for elegance
Matt S Trout [Sun, 14 Nov 2010 03:02:19 +0000]
oo!
John Napiorkowski [Sat, 13 Nov 2010 23:45:58 +0000]
mst: jnap: now you write me a test
mst: jnap: t/role-tiny.t - add an extra class and an intermediate role
Matt S Trout [Sat, 13 Nov 2010 22:24:17 +0000]
don't try and apply modifiers during role composition
Matt S Trout [Sat, 13 Nov 2010 20:45:52 +0000]
Makefile.PL
Matt S Trout [Sat, 13 Nov 2010 20:22:43 +0000]
_load_module
Arthur Axel 'fREW' Schmidt [Sat, 13 Nov 2010 16:58:41 +0000]
test hashref arg for new
Matt S Trout [Sat, 13 Nov 2010 04:41:10 +0000]
support weak_ref
Matt S Trout [Sat, 13 Nov 2010 03:05:29 +0000]
add inlinability for Accessor.pm
Peter Rabbitson [Sat, 13 Nov 2010 02:37:42 +0000]
MOAR bench options
Matt S Trout [Sat, 13 Nov 2010 02:06:17 +0000]
improved quoted sub inlining
Peter Rabbitson [Sat, 13 Nov 2010 01:17:33 +0000]
More attrs to bench
Peter Rabbitson [Sat, 13 Nov 2010 01:17:16 +0000]
Refactor object benchmarks even more
Arthur Axel 'fREW' Schmidt [Fri, 12 Nov 2010 01:37:50 +0000]
tests for handles
Matt S Trout [Fri, 12 Nov 2010 07:32:13 +0000]
handles and asserter support
Arthur Axel 'fREW' Schmidt [Thu, 11 Nov 2010 04:37:58 +0000]
Test for reader/writer/accessor
Matt S Trout [Fri, 12 Nov 2010 04:45:08 +0000]
add support for reader/writer/accessor
Matt S Trout [Fri, 12 Nov 2010 02:29:59 +0000]
remove return from M::G::Accessor to make inlining easier
Peter Rabbitson [Thu, 11 Nov 2010 02:40:51 +0000]
Enable C::XSA on win32 until proven problematic
Andrew Rodland [Thu, 11 Nov 2010 02:42:13 +0000]
Make bench require XSAccessor to fix blowups when it's not there
Also make sure that Method::Generate::Accessor really thinks it can do
XS.
Peter Rabbitson [Thu, 11 Nov 2010 02:22:11 +0000]
Bake some mousse
Peter Rabbitson [Thu, 11 Nov 2010 01:53:36 +0000]
MOAR bench
Matt S Trout [Wed, 10 Nov 2010 08:08:24 +0000]
split benches up for readability
Matt S Trout [Wed, 10 Nov 2010 05:05:49 +0000]
remove bless because it confuses things
Peter Rabbitson [Wed, 10 Nov 2010 04:34:24 +0000]
Now --run works
Peter Rabbitson [Wed, 10 Nov 2010 04:16:56 +0000]
This benchmark is even saner
Peter Rabbitson [Wed, 10 Nov 2010 03:57:24 +0000]
This benchmark is saner
Peter Rabbitson [Wed, 10 Nov 2010 03:00:34 +0000]
Initial benchmark (totally incomplete)
Matt S Trout [Wed, 10 Nov 2010 00:40:13 +0000]
Moo/Role was new, not an mv, so got missed
Matt S Trout [Wed, 10 Nov 2010 00:21:45 +0000]
factor out and rename
Matt S Trout [Mon, 8 Nov 2010 06:50:21 +0000]
fix bugs in XS support
Matt S Trout [Mon, 8 Nov 2010 05:49:02 +0000]
use XSAccessor if available
Matt S Trout [Mon, 8 Nov 2010 05:15:59 +0000]
fixup whitespace once again
Matt S Trout [Mon, 8 Nov 2010 05:15:06 +0000]
add predicate and clearer
Matt S Trout [Mon, 8 Nov 2010 04:53:12 +0000]
refactor constructor generation and test more complex cases
Matt S Trout [Mon, 8 Nov 2010 01:37:39 +0000]
BUILDALL for generated constructor
Matt S Trout [Mon, 8 Nov 2010 01:24:23 +0000]
add BUILDALL support
Matt S Trout [Mon, 8 Nov 2010 00:01:23 +0000]
refactor Role::Tiny and add class w/roles construction
Matt S Trout [Sun, 7 Nov 2010 21:29:03 +0000]
support for default at construction time
Matt S Trout [Sun, 7 Nov 2010 10:53:50 +0000]
working lazy default and builder
Matt S Trout [Sun, 7 Nov 2010 09:06:04 +0000]
factor out sub quote unrolling code, add isa support
Matt S Trout [Sun, 7 Nov 2010 07:59:35 +0000]
detab. again. think I might've fixed it this time.
Matt S Trout [Sun, 7 Nov 2010 07:37:36 +0000]
handle trigger with captures
Matt S Trout [Sun, 7 Nov 2010 07:07:15 +0000]
inline quoted trigger
Matt S Trout [Sun, 7 Nov 2010 06:58:11 +0000]
support trigger
Matt S Trout [Sun, 7 Nov 2010 05:32:07 +0000]
subclassing and role composition for attributes
Matt S Trout [Sun, 7 Nov 2010 05:11:51 +0000]
deferred constructor construction
Matt S Trout [Sun, 7 Nov 2010 04:41:46 +0000]
remove more tabs. frackers are breeding in the pipes.
Matt S Trout [Sun, 7 Nov 2010 04:40:02 +0000]
remove tab. how the fsck did a tab get into my source code? :(
Matt S Trout [Sun, 7 Nov 2010 04:27:44 +0000]
fix indentation in generated constructor
Matt S Trout [Sun, 7 Nov 2010 04:00:43 +0000]
constructor generation, add option to quote_sub to name without installing
Matt S Trout [Sun, 7 Nov 2010 02:36:35 +0000]
clean up quote debugging output
Matt S Trout [Sun, 7 Nov 2010 04:16:06 +0000]
clean up method naming
Matt S Trout [Sun, 7 Nov 2010 02:21:15 +0000]
ro and rw accessor generation
Matt S Trout [Sun, 7 Nov 2010 01:41:30 +0000]
import strictures
Matt S Trout [Sun, 7 Nov 2010 01:08:54 +0000]
explain no warnings closure
Matt S Trout [Sun, 7 Nov 2010 01:03:10 +0000]
add Sub::Quote and rename Defer routines
Matt S Trout [Sat, 6 Nov 2010 22:02:10 +0000]
Class::Tiny and refactor _getglob out into _Utils
Matt S Trout [Sat, 6 Nov 2010 21:03:23 +0000]
first cut at Sub::Defer