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.

13 years agoadd weak ref checking to Sub::Quote
Matt S Trout [Wed, 12 Jan 2011 16:19:39 +0000]
add weak ref checking to Sub::Quote

13 years agoSwitch package name for class+role composed class to be valid
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

13 years ago0.9.5 release commit release_0.9.5
Matt S Trout [Tue, 11 Jan 2011 21:58:07 +0000]
0.9.5 release commit

13 years agofix clobberage of runtime-installed wrappers by Sub::Defer
Matt S Trout [Sat, 8 Jan 2011 07:05:16 +0000]
fix clobberage of runtime-installed wrappers by Sub::Defer

13 years agofix constructor firing for nonMoo through multiple layers of Moo
Matt S Trout [Sat, 8 Jan 2011 06:14:54 +0000]
fix constructor firing for nonMoo through multiple layers of Moo

13 years agorewrite nonMoo detection
Matt S Trout [Sat, 8 Jan 2011 05:41:04 +0000]
rewrite nonMoo detection

13 years agoversion bump for 0.9.4 release_0.9.4
Matt S Trout [Mon, 13 Dec 2010 21:31:22 +0000]
version bump for 0.9.4

13 years agohandle non-Moo superclass constructors
Matt S Trout [Mon, 6 Dec 2010 21:36:30 +0000]
handle non-Moo superclass constructors

13 years agoupdate Changes for release release_0.9.3
matthewt [Sun, 5 Dec 2010 19:23:10 +0000]
update Changes for release

13 years agotest for load_module fixes
matthewt [Sun, 5 Dec 2010 19:22:58 +0000]
test for load_module fixes

13 years agobump version of strictures
matthewt [Sun, 5 Dec 2010 19:22:47 +0000]
bump version of strictures

13 years agoversion bump
matthewt [Sun, 5 Dec 2010 19:15:52 +0000]
version bump

13 years agofix _load_module to deal with subpackages correctly
matthewt [Sun, 5 Dec 2010 18:53:10 +0000]
fix _load_module to deal with subpackages correctly

14 years ago.gitignore
Peter Rabbitson [Sat, 20 Nov 2010 18:11:59 +0000]
.gitignore

14 years agodocs: is => 'ro' gives a get-only accessor, not a set-only one :)
Andrew Rodland [Wed, 17 Nov 2010 09:05:12 +0000]
docs: is => 'ro' gives a get-only accessor, not a set-only one :)

14 years agobump version, set Changes for release 0.009002
Matt S Trout [Wed, 17 Nov 2010 08:08:32 +0000]
bump version, set Changes for release

14 years agoadd rationale section
Matt S Trout [Wed, 17 Nov 2010 08:06:33 +0000]
add rationale section

14 years agofixes for 5.10.0
Matt S Trout [Tue, 16 Nov 2010 21:43:54 +0000]
fixes for 5.10.0

14 years agoMake perl -Moo DTRT
Matt S Trout [Tue, 16 Nov 2010 03:25:50 +0000]
Make perl -Moo DTRT

14 years agoMakefile.PL and maint code 0.009001
Matt S Trout [Tue, 16 Nov 2010 02:33:13 +0000]
Makefile.PL and maint code

14 years agoChanges file
Matt S Trout [Tue, 16 Nov 2010 02:24:03 +0000]
Changes file

14 years agoapparently working MYMETA generation
Matt S Trout [Tue, 16 Nov 2010 01:54:34 +0000]
apparently working MYMETA generation

14 years agoFix wording on global unquote
Peter Rabbitson [Tue, 16 Nov 2010 01:08:28 +0000]
Fix wording on global unquote

14 years agofix up tests to new calling convention
Matt S Trout [Tue, 16 Nov 2010 00:56:47 +0000]
fix up tests to new calling convention

14 years agocleanup and warning notice
Matt S Trout [Tue, 16 Nov 2010 00:51:33 +0000]
cleanup and warning notice

14 years agoclean up and add NAME sections
Matt S Trout [Tue, 16 Nov 2010 00:26:51 +0000]
clean up and add NAME sections

14 years agomake role application interface consistent
Matt S Trout [Tue, 16 Nov 2010 00:17:04 +0000]
make role application interface consistent

14 years agoclean up, expand, undocument 'not yet' features
Matt S Trout [Tue, 16 Nov 2010 00:03:59 +0000]
clean up, expand, undocument 'not yet' features

14 years agoMoo - Miminalist Object Orientation
Matt S Trout [Sun, 14 Nov 2010 19:47:36 +0000]
Moo - Miminalist Object Orientation

14 years agocorrect Sub::Quote docs
Matt S Trout [Sun, 14 Nov 2010 19:41:49 +0000]
correct Sub::Quote docs

14 years agoclean up does_role docs
Matt S Trout [Sun, 14 Nov 2010 19:28:24 +0000]
clean up does_role docs

14 years agoDocumentation for Moo::Role
Arthur Axel 'fREW' Schmidt [Wed, 10 Nov 2010 04:07:25 +0000]
Documentation for Moo::Role

14 years agoDocumentation for Role::Tiny
Arthur Axel 'fREW' Schmidt [Tue, 9 Nov 2010 04:26:51 +0000]
Documentation for Role::Tiny

14 years agoDocumentation for Moo
Arthur Axel 'fREW' Schmidt [Tue, 9 Nov 2010 03:05:49 +0000]
Documentation for Moo

14 years agoDocumentation for Sub::Quote
Arthur Axel 'fREW' Schmidt [Sun, 7 Nov 2010 16:11:46 +0000]
Documentation for Sub::Quote

14 years agoDocumentation for Sub::Defer
Arthur Axel 'fREW' Schmidt [Sun, 7 Nov 2010 04:27:21 +0000]
Documentation for Sub::Defer

14 years agoguard against double import
Matt S Trout [Tue, 16 Nov 2010 00:46:08 +0000]
guard against double import

14 years agomake does_role work on objects
Matt S Trout [Mon, 15 Nov 2010 02:55:00 +0000]
make does_role work on objects

14 years agomove _getglob def above strict for elegance
Matt S Trout [Sun, 14 Nov 2010 19:50:52 +0000]
move _getglob def above strict for elegance

14 years agooo!
Matt S Trout [Sun, 14 Nov 2010 03:02:19 +0000]
oo!

14 years agomst: jnap: now you write me a test
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

14 years agodon't try and apply modifiers during role composition
Matt S Trout [Sat, 13 Nov 2010 22:24:17 +0000]
don't try and apply modifiers during role composition

14 years agoMakefile.PL
Matt S Trout [Sat, 13 Nov 2010 20:45:52 +0000]
Makefile.PL

14 years ago_load_module
Matt S Trout [Sat, 13 Nov 2010 20:22:43 +0000]
_load_module

14 years agotest hashref arg for new
Arthur Axel 'fREW' Schmidt [Sat, 13 Nov 2010 16:58:41 +0000]
test hashref arg for new

14 years agosupport weak_ref
Matt S Trout [Sat, 13 Nov 2010 04:41:10 +0000]
support weak_ref

14 years agoadd inlinability for Accessor.pm
Matt S Trout [Sat, 13 Nov 2010 03:05:29 +0000]
add inlinability for Accessor.pm

14 years agoMOAR bench options
Peter Rabbitson [Sat, 13 Nov 2010 02:37:42 +0000]
MOAR bench options

14 years agoimproved quoted sub inlining
Matt S Trout [Sat, 13 Nov 2010 02:06:17 +0000]
improved quoted sub inlining

14 years agoMore attrs to bench
Peter Rabbitson [Sat, 13 Nov 2010 01:17:33 +0000]
More attrs to bench

14 years agoRefactor object benchmarks even more
Peter Rabbitson [Sat, 13 Nov 2010 01:17:16 +0000]
Refactor object benchmarks even more

14 years agotests for handles
Arthur Axel 'fREW' Schmidt [Fri, 12 Nov 2010 01:37:50 +0000]
tests for handles

14 years agohandles and asserter support
Matt S Trout [Fri, 12 Nov 2010 07:32:13 +0000]
handles and asserter support

14 years agoTest for reader/writer/accessor
Arthur Axel 'fREW' Schmidt [Thu, 11 Nov 2010 04:37:58 +0000]
Test for reader/writer/accessor

14 years agoadd support for reader/writer/accessor
Matt S Trout [Fri, 12 Nov 2010 04:45:08 +0000]
add support for reader/writer/accessor

14 years agoremove return from M::G::Accessor to make inlining easier
Matt S Trout [Fri, 12 Nov 2010 02:29:59 +0000]
remove return from M::G::Accessor to make inlining easier

14 years agoEnable C::XSA on win32 until proven problematic
Peter Rabbitson [Thu, 11 Nov 2010 02:40:51 +0000]
Enable C::XSA on win32 until proven problematic

14 years agoMake bench require XSAccessor to fix blowups when it's not there
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.

14 years agoBake some mousse
Peter Rabbitson [Thu, 11 Nov 2010 02:22:11 +0000]
Bake some mousse

14 years agoMOAR bench
Peter Rabbitson [Thu, 11 Nov 2010 01:53:36 +0000]
MOAR bench

14 years agosplit benches up for readability
Matt S Trout [Wed, 10 Nov 2010 08:08:24 +0000]
split benches up for readability

14 years agoremove bless because it confuses things
Matt S Trout [Wed, 10 Nov 2010 05:05:49 +0000]
remove bless because it confuses things

14 years agoNow --run works
Peter Rabbitson [Wed, 10 Nov 2010 04:34:24 +0000]
Now --run works

14 years agoThis benchmark is even saner
Peter Rabbitson [Wed, 10 Nov 2010 04:16:56 +0000]
This benchmark is even saner

14 years agoThis benchmark is saner
Peter Rabbitson [Wed, 10 Nov 2010 03:57:24 +0000]
This benchmark is saner

14 years agoInitial benchmark (totally incomplete)
Peter Rabbitson [Wed, 10 Nov 2010 03:00:34 +0000]
Initial benchmark (totally incomplete)

14 years agoMoo/Role was new, not an mv, so got missed
Matt S Trout [Wed, 10 Nov 2010 00:40:13 +0000]
Moo/Role was new, not an mv, so got missed

14 years agofactor out and rename
Matt S Trout [Wed, 10 Nov 2010 00:21:45 +0000]
factor out and rename

14 years agofix bugs in XS support
Matt S Trout [Mon, 8 Nov 2010 06:50:21 +0000]
fix bugs in XS support

14 years agouse XSAccessor if available
Matt S Trout [Mon, 8 Nov 2010 05:49:02 +0000]
use XSAccessor if available

14 years agofixup whitespace once again
Matt S Trout [Mon, 8 Nov 2010 05:15:59 +0000]
fixup whitespace once again

14 years agoadd predicate and clearer
Matt S Trout [Mon, 8 Nov 2010 05:15:06 +0000]
add predicate and clearer