From: Hans Dieter Pearcey Date: Tue, 14 Jul 2009 14:08:44 +0000 (-0400) Subject: Merge branch 'master' into attribute_helpers X-Git-Tag: 0.89_02~84 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e925c3e0729699c52e8d97c22f4f25a964c2e4f1;p=gitmo%2FMoose.git Merge branch 'master' into attribute_helpers Conflicts: Changes --- e925c3e0729699c52e8d97c22f4f25a964c2e4f1 diff --cc Changes index 5584c04,848f560..b254acc --- a/Changes +++ b/Changes @@@ -5,15 -5,13 +5,23 @@@ for, noteworthy changes * Moose::Meta::Method::Accessor - No longer uses inline_slot_access in accessors, to support non-lvalue-based meta instances. + + * Moose::Meta::Attribute + - Added the currying syntax for delegation from AttributeHelpers + to the existing delegation API. (hdp) + + * Moose::AttributeHelpers + - Moved in from MooseX with API tweaks. See Moose::Manual::Delta for + details. (hdp, jhannah, rbuels) + + * Moose::Manual::Contributing + - Re-write the Moose::Manual::Contributing document to reflect the new + layout and methods of work for the Git repository. All work now should + be done in topic branches and reviewed by a core committer before + being applied to master. All releases are done by a cabal member and + merged from master to stable. This plan was devised by Yuval, blame + him. (perigrin) ++ 0.87 Tue Jul 7, 2009 * Moose::Meta::Method::Delegation - Once again allow class names as well as objects for diff --cc lib/Moose/Manual/Delta.pod index 4cfe14a,43e8196..a3b5951 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@@ -16,36 -16,27 +16,55 @@@ feature. If you encounter a problem an it documented here, or think we missed an important feature, please send us a patch. +=head1 Version 0.85 + +L has been moved into the Moose core from +L. Major changes include: + +=over + +=item C, not C + +Method providers are only available via traits. + +=item C, not C or C + +The C syntax was like core Moose C<< handles => HASHREF >> +syntax, but with the keys and values reversed. This was confusing, +and AttributeHelpers now uses C<< handles => HASHREF >> in a way that +should be intuitive to anyone already familiar with how it is used for +other attributes. + +The C functionality provided by AttributeHelpers has been +generalized to apply to all cases of C<< handles => HASHREF >>, though +not every piece of functionality has been ported (currying with a +CODEREF is not supported). + +=back + +See L for the new documentation. + =head1 Version 0.84 + When an attribute generates I accessors, we now warn. This is to help + users who forget the C option. If you really do not want any accessors, + you can use C<< is => 'bare' >>. + + When an accessor overwrites an existing method, we now warn. To work around + this warning (if you really must have this behavior), you can explicitly + remove the method before creating it as an accessor: + + sub foo {} + + __PACKAGE__->meta->remove_method('foo'); + + has foo => ( + is => 'ro', + ); + + When an unknown option is passed to C, we now warn. You can silence + the warning by fixing your code. :) + The C type has been deprecated. On its own, it was useless, since it just checked C<< $object->can('does') >>. If you were using it as a parent type, just call C to create an diff --cc xt/author/pod_spell.t index 385d90a,004a6aa..397dc64 --- a/xt/author/pod_spell.t +++ b/xt/author/pod_spell.t @@@ -117,9 -111,11 +117,12 @@@ AP APIs Baz Changelog + codebase + committer + committers compat datetimes +dec definedness destructor destructors