Dave Rolsky [Mon, 4 Jan 2010 17:37:05 +0000]
bump copyright year to 2010
Dave Rolsky [Mon, 4 Jan 2010 17:35:32 +0000]
Merged topic/metarole-distinguishes-role-meta (which includes topic/roles-have-real-attributes as well).
This adds real attributes to roles, and makes some changes to the
Moose::Util::MetaRole API so that users must specify roles for class
metaclasses separately from those for role metaclasses.
Squashed commit of the following:
commit
a6f4f4f4743cc87e8aadbed00312761af15c6822
Merge: 0ed066c 9cc63d2
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Jan 4 11:35:25 2010 -0600
merge master
commit
0ed066c7e278e360d4b7d857ddad84681be9e8ce
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Jan 4 11:02:55 2010 -0600
add docs for Moose::Meta::Mixin::AttributeCore
commit
5ac94c7e9ee3e0d5bd14f82d62ed90176812afa6
Merge: daf482a 301a2fc
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Jan 4 11:01:52 2010 -0600
Merge branch 'master' into topic/metarole-distinguishes-role-meta
Conflicts:
Changes
commit
daf482a1ca9af2de141e8c7c03c9fc6cbddd5feb
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Jan 4 11:00:13 2010 -0600
Add docs for Moose::Meta::Role::Attribute
commit
6b8b7a05f80ce96a0ecb3bf3962fc6ebd6d1e2e3
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Jan 4 10:50:47 2010 -0600
Add exclusions for new methods that don't need docs
commit
61917ede2a286042153f2bd058e90af6274b597b
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Jan 4 10:48:52 2010 -0600
Add metaroles to spelling whitelist
commit
5f242ef82a127bea0fa2b630f7a278b02ac5a49e
Author: Dave Rolsky <autarch@urth.org>
Date: Sun Jan 3 00:04:56 2010 -0600
Remove 0.94 versoin # in the wrong place
commit
7a89f4e0c62338622e2573508e41469bf61f5f4b
Author: Dave Rolsky <autarch@urth.org>
Date: Sun Jan 3 00:04:42 2010 -0600
Changes for next version
commit
ae9042be1aca7d300f67ddccf57833f80dada106
Author: Dave Rolsky <autarch@urth.org>
Date: Sun Jan 3 00:03:17 2010 -0600
Changes for next version
commit
9559e5012a59abe4fb13d255de413122beb80528
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 23:59:47 2010 -0600
Tweak docs for new MetaRole api
commit
806f607b78a1eac6ca588101e8cb0b747a3034f9
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 23:58:14 2010 -0600
Update MetaRole docs
commit
2bbe680397f1474d2099a6f05c805b3f07ba3513
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 17:12:03 2010 -0600
More conflicts
commit
e821045d525f71ebba74389887b612cab71a5913
Merge: 109ab37 8fa582b
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 16:58:10 2010 -0600
Merge branch 'master' into topic/metarole-distinguishes-role-meta
commit
109ab377fcb4636f9052015b752bed588da63d20
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 16:15:37 2010 -0600
update conflicts list
commit
5aafe28556af230278fe7bd631c40b0aaf55452b
Author: Dave Rolsky <autarch@urth.org>
Date: Fri Jan 1 12:54:48 2010 -0600
New MetaRole API to distinguish role & class metaroles.
Made ->reinitialize always preserve existing helper metaclasses for both MMC and MMR.
commit
5f4bdda79ff5bd89dd0f8763f4c313d9e2f4fff8
Author: Dave Rolsky <autarch@urth.org>
Date: Wed Dec 30 11:24:39 2009 -0600
Distinguish between metaroles for a class metaclass and role metaclass.
This means prefixing the options for MetaRole with "role_" -
"role_metaclass_roles", "role_attribute_metaclass_roles", etc.
commit
bed6f91f547d5f335c51434dbf0694cc06d103fb
Merge: 9addd62 4701cef
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Dec 28 16:41:06 2009 -0600
Merge branch 'master' into topic/roles-have-real-attributes
Conflicts:
lib/Moose/Meta/Role.pm
t/050_metaclasses/030_metarole_combination.t
commit
9addd624375d5fe4b11a8e8022e19a116eda78c4
Merge: 05c1cb1 c5e3151
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Dec 28 14:21:54 2009 -0600
Merge branch 'master' into topic/roles-have-real-attributes
commit
05c1cb1dccaeb28231972d5d08396f2c4bb64fd0
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Dec 28 11:21:51 2009 -0600
When comparing attributes during role summation, we need to compare them with an API, not just by comparing their refaddrs.
Added an ->is_same_as method to MMR::Attribute. This compares the values of ->original_options for the two objects.
commit
1fc6c93bbdee6e07f3c06f46f33a717e5eb85d85
Author: Dave Rolsky <autarch@urth.org>
Date: Mon Dec 28 11:08:09 2009 -0600
rename AttributeBase -> AttributeCore
commit
f1eba6b3caa8244c3d831fbc220bb0357fded304
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Dec 26 13:58:53 2009 -0600
Redid role attrs to be their own class.
Role attrs are cloned when added to other roles (and in role summation).
Added tests for role attrs
commit
d1f0dd763dfb2ab8a21e7b3533b60fbd056712e0
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Dec 26 13:11:32 2009 -0600
Roles have real attributes take 2.
Now role attributes a separate attribute-like class which knows how to make "real" attributes.
commit
428fc71e564cf97dfdfe805b37441dfe5e4ea728
Merge: 1fcc19c 1050527
Author: Dave Rolsky <autarch@urth.org>
Date: Fri Dec 25 10:40:08 2009 -0600
Merge branch 'master' into topic/roles-have-real-attributes
commit
10505278de61bec9021b8e64614dbde5840f6954
Author: Dave Rolsky <autarch@urth.org>
Date: Fri Dec 25 10:39:41 2009 -0600
add segfault workaround to pod spelling test
commit
1fcc19ca705350013ba219b1181965b2e87b9e10
Author: Dave Rolsky <autarch@urth.org>
Date: Thu Dec 17 14:16:07 2009 -0600
Remove some debugging cruft
commit
721b5f293969f5cf1b6863fb4cc1361f4bfbb9d8
Author: Dave Rolsky <autarch@urth.org>
Date: Thu Dec 17 11:29:55 2009 -0600
Real attribute objects in roles is now working, with a few hacks and changes to the core code.
This will need serious review before merging.
Dave Rolsky [Mon, 4 Jan 2010 17:28:10 +0000]
Reorder changes to put most interesting ones first
Dave Rolsky [Mon, 4 Jan 2010 17:27:24 +0000]
Document no "+foo" for role attrs, and related composition_class_roles change
Dave Rolsky [Mon, 4 Jan 2010 17:10:56 +0000]
Doc unimport handling of re-exports
Dave Rolsky [Mon, 4 Jan 2010 17:09:57 +0000]
Docs for Moose::Exporter unimport changes in Delta
Dave Rolsky [Mon, 4 Jan 2010 16:32:08 +0000]
Changes for recipe fix
Dave Rolsky [Mon, 4 Jan 2010 16:31:25 +0000]
Fix extending recipe 2 to actually work, and add tests
Jesse Luehrs [Sun, 3 Jan 2010 00:10:34 +0000]
clean up Changes formatting
Dave Rolsky [Sat, 2 Jan 2010 22:56:08 +0000]
Squashed commit of the following:
commit
2899131f4e9ca70dbb54ba6a24b2330074a28cbf
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 16:53:42 2010 -0600
Changes for Exporter fix
commit
88aa1e9bb23ceb54e5fb140c582bde805aa00e5f
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 16:52:13 2010 -0600
Add a missing aTHX_ declaration
commit
f40761d2dfbd0d7352bd0ad4a9e1a4ab89e7c077
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 16:26:25 2010 -0600
various renamings and tidyings
commit
542b4394f15cc12769c82999c871614710b2db3b
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 16:18:59 2010 -0600
Run code through tidy
commit
ced9c00db6abe4f86c0dc4eeb381c072cee0380a
Author: Dave Rolsky <autarch@urth.org>
Date: Sat Jan 2 16:17:21 2010 -0600
Remove a tab
commit
74f49e7b12718386ad40fb614568ceff6bda05e1
Author: Florian Ragwitz <rafl@debian.org>
Date: Sat Jan 2 21:24:42 2010 +0100
Stop wrapping exports. Use sv magic to tag the exports instead.
Florian Ragwitz [Mon, 28 Dec 2009 21:01:06 +0000]
Turn composition_class_roles into a plain method.
Dave Rolsky [Mon, 28 Dec 2009 20:21:41 +0000]
test just a subset of our deps by default (list taken from cpan stable smolder)
Dave Rolsky [Fri, 25 Dec 2009 16:39:41 +0000]
add segfault workaround to pod spelling test
Chris Prather [Tue, 20 Oct 2009 05:12:43 +0000]
update docs and Changes
in #moose
04:40 <@doy> perigrin: you have a typo in the docs (Age vs ValidAge), and you
should add a Changes entry
Chris Prather [Mon, 19 Oct 2009 04:55:20 +0000]
add Moose::Util::TypeConstraints to oose.pm
Someone came into #moose today trying to test out a question with
subtypes. I remembered that it had always annoyed me that I had to
include -MMoose::Util::TypeConstraints when using oose.pm. This should
fix that, with documentation.
Shawn M Moore [Fri, 18 Dec 2009 18:05:42 +0000]
Make the release steps less prone to interpretation :)
Dave Rolsky [Thu, 17 Dec 2009 20:35:43 +0000]
Doc Sam's regex change
Dave Rolsky [Thu, 17 Dec 2009 20:34:19 +0000]
Small changes formatting fixes
Sam Vilain [Wed, 16 Dec 2009 22:23:34 +0000]
TypeConstraints: update the type notation parser to avoid back-tracking
The regex might be slow due to character-by-character back-tracking.
However, there are few if any abiguous forms here; it is almost LL(1), save
for the '$any' rule. We can therefore limit backtracking by surrounding
all "tokens" in the 5.8+ (?>) independent sub-expression construct.
Dave Rolsky [Thu, 17 Dec 2009 17:31:06 +0000]
remove a lying comment
Shlomi Fish [Wed, 16 Dec 2009 16:14:53 +0000]
Fix a typo.
We (accidently) the Role...
Florian Ragwitz [Tue, 1 Dec 2009 16:08:38 +0000]
Disable warnings for t/010_basics/009_import_unimport.t so we won't warn under Test::Harness.
Florian Ragwitz [Tue, 1 Dec 2009 13:09:44 +0000]
Unimport blessed and confess unless they've been replaced by something else.
Dave Rolsky [Mon, 14 Dec 2009 23:11:17 +0000]
add an opt-in test using Test::DependentModules
Dave Rolsky [Mon, 14 Dec 2009 18:56:10 +0000]
More clarification on deprecation changes for get_*_map methods
Dave Rolsky [Mon, 14 Dec 2009 18:51:01 +0000]
Don't start a sentence with lower case
Shawn M Moore [Mon, 14 Dec 2009 18:33:38 +0000]
Instead of mentioning a vague "these", clarify =]
Chris Prather [Mon, 14 Dec 2009 18:29:49 +0000]
add documentation to Moose::Manual::Delta for the deprecation of get_attribute_map
Florian Ragwitz [Fri, 11 Dec 2009 21:36:18 +0000]
Convert all tests to done_testing.
Pedro Melo [Fri, 27 Nov 2009 17:58:14 +0000]
Remove references to jules git repo
Florian Ragwitz [Sun, 13 Dec 2009 22:08:32 +0000]
Remove leftovers of export_to_main.
Shlomi Fish [Sun, 13 Dec 2009 20:03:12 +0000]
Got xt/author/pod_spell.t to pass.
Shlomi Fish [Sun, 13 Dec 2009 19:53:12 +0000]
Merge branch 'master' of git://git.moose.perl.org/Moose
Jesse Luehrs [Sat, 12 Dec 2009 15:30:17 +0000]
fix pod_spell.t
Shlomi Fish [Sat, 12 Dec 2009 15:22:16 +0000]
Correct a typo - "invokes"->"invoke".
Jesse Luehrs [Fri, 11 Dec 2009 00:51:46 +0000]
docs for with_immutable
Jesse Luehrs [Fri, 11 Dec 2009 00:48:34 +0000]
give with_immutable a reasonable return value
Jesse Luehrs [Sat, 5 Dec 2009 00:32:53 +0000]
add with_immutable test helper
Tomas Doran [Tue, 8 Dec 2009 01:04:43 +0000]
Require new Module::Install for dist building
Tomas Doran [Tue, 8 Dec 2009 01:04:19 +0000]
Use Module::Install built in detection of author mode
Tomas Doran [Tue, 8 Dec 2009 01:02:54 +0000]
Make it easier on newbies trying to contribute by making it obvious what they are missing when checking out from git the first time
Shlomi Fish [Thu, 10 Dec 2009 12:34:47 +0000]
Add a missing comma.
Shawn M Moore [Thu, 10 Dec 2009 09:07:01 +0000]
Point to Meta::Recipe3 a little harder in Meta::Recipe2
Shlomi Fish [Wed, 9 Dec 2009 18:15:30 +0000]
Fix a mis-phrasing in the Cookbook.
Shlomi Fish [Wed, 9 Dec 2009 10:40:24 +0000]
Fix more "a Int" -> "an Int".
Shlomi Fish [Wed, 9 Dec 2009 10:19:06 +0000]
Fixed a typo - "a Int" -> "an Int".
Tomas Doran [Tue, 8 Dec 2009 10:24:49 +0000]
Change this back to a link as that's totally valid Pod. L<Text|Link> should be valid, but Test::Pod doesn't know about it, and I'm not keen on broken windows
Jesse Luehrs [Tue, 8 Dec 2009 09:06:57 +0000]
also mention native trait 'elements' in reference to auto_deref
Tomas Doran [Tue, 8 Dec 2009 01:13:26 +0000]
Fix up the Pod tests
Hans Dieter Pearcey [Mon, 7 Dec 2009 18:52:18 +0000]
make it clear that auto_deref still returns references in scalar context
Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 [Mon, 7 Dec 2009 17:39:04 +0000]
expand Class/Role clash error message
* distinction on Moose::Meta::Class as per doy
Shawn M Moore [Wed, 2 Dec 2009 01:20:04 +0000]
Add Native's illustrious porters
Stefan O'Rear [Sun, 22 Nov 2009 08:04:35 +0000]
Collapse magic lvalues in Str
Without this change, $object->str_attribute(substr($string,0,255))
will fail with a type constraint error.
Shawn M Moore [Sat, 21 Nov 2009 19:29:45 +0000]
Fix a grammar error spotted by [rt.cpan.org #51791] (Amir E. Aharoni)
Shawn M Moore [Sat, 21 Nov 2009 05:45:42 +0000]
Capitalize GitHub to satisfy pod_spell.t
lestrrat [Thu, 19 Nov 2009 03:30:16 +0000]
add link to rendered version
Florian Ragwitz [Thu, 19 Nov 2009 01:02:34 +0000]
Checking in changes prior to tagging of version 0.93. Changelog diff is:
diff --git a/Changes b/Changes
index d65eba6..9e38291 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Also see Moose::Manual::Delta for more details of, and workarounds
for, noteworthy changes.
+0.93 Thu, Nov 19, 2009
* Moose::Object
- Calling $object->new() is no longer deprecated, and no longer
warns. (doy)
Florian Ragwitz [Thu, 19 Nov 2009 00:58:17 +0000]
Ignore dists.
Florian Ragwitz [Thu, 19 Nov 2009 00:11:16 +0000]
Changelogging.
Gerda Shank [Wed, 18 Nov 2009 21:33:32 +0000]
update BestPractices to emphasize namespace::autoclean. add link to
Native::Trait
Jesse Luehrs [Wed, 11 Nov 2009 23:57:44 +0000]
update Changes
Jesse Luehrs [Wed, 11 Nov 2009 23:29:14 +0000]
stop overriding the prototype on List::Util::first
Dave Rolsky [Sun, 18 Oct 2009 17:53:35 +0000]
Belatedly add change about Moose::Meta::Role->get_method_list including meta
Jesse Luehrs [Thu, 5 Nov 2009 00:09:50 +0000]
oops, associated_methods returns an arrayref of method objects
Jesse Luehrs [Sat, 24 Oct 2009 18:42:38 +0000]
don't remove accessors we never installed
Jesse Luehrs [Sat, 24 Oct 2009 18:07:13 +0000]
add TODO test for throwing exceptions during delegate installation
Jesse Luehrs [Sat, 24 Oct 2009 18:06:56 +0000]
clean up test a bit
Jeff Bisbee [Sat, 24 Oct 2009 17:39:22 +0000]
tests for handles => CODE block
Shawn M Moore [Tue, 20 Oct 2009 17:36:58 +0000]
Fix pod spelling nit
Dave Rolsky [Fri, 16 Oct 2009 19:08:24 +0000]
Clarify change for Str not accepting globs
chansen [Fri, 16 Oct 2009 17:16:49 +0000]
Update Changes
chansen [Fri, 16 Oct 2009 17:02:15 +0000]
Added type constraint tests for GV
chansen [Fri, 16 Oct 2009 16:34:55 +0000]
Str constraint shouldn't accept GV's
Dave Rolsky [Wed, 14 Oct 2009 16:39:07 +0000]
Add Changes entry for export to main
Yuval Kogman [Thu, 1 Oct 2009 02:52:10 +0000]
allow exporting to main
Dave Rolsky [Wed, 14 Oct 2009 16:32:19 +0000]
mention $self->new in Changes and Delta
Jesse Luehrs [Fri, 9 Oct 2009 00:40:18 +0000]
remove the warning for $self->new
Shawn M Moore [Tue, 13 Oct 2009 21:12:51 +0000]
Clarify who the invocant is in a delegate method call
Dave Rolsky [Mon, 12 Oct 2009 04:22:56 +0000]
Tweak change description for delegation fix to be clearer
Dave Rolsky [Mon, 12 Oct 2009 04:19:49 +0000]
Change log tweaks
Dave Rolsky [Mon, 12 Oct 2009 00:48:16 +0000]
Add arrayrefs to dictionary
Jesse Luehrs [Thu, 10 Sep 2009 06:54:07 +0000]
support arrayrefs as well as lists for enum and duck_type
this should make things more consistent with their anon-type forms,
without breaking backwards compatibility - just use an arrayref in all
cases.
Jesse Luehrs [Sun, 11 Oct 2009 22:11:11 +0000]
preserve aliasing for delegated methods
Dave Rolsky [Thu, 1 Oct 2009 19:22:06 +0000]
deprecate get_attribute_map for roles, and remove it from the recipes
Jesse Luehrs [Sun, 11 Oct 2009 20:50:30 +0000]
Num is a subtype of Str
Shawn M Moore [Thu, 8 Oct 2009 01:21:05 +0000]
Moose::Meta::Role no longer uses subname
Shawn M Moore [Thu, 8 Oct 2009 01:18:57 +0000]
No reason to abbreviate to env var really, makes pod_spell unhappy
Dave Rolsky [Mon, 5 Oct 2009 18:58:50 +0000]
Add details on what goes into making a release
gfx [Sun, 4 Oct 2009 07:31:23 +0000]
Fix a typo in a error message (s/You much supply/You must supply/)
Jesse Luehrs [Sun, 4 Oct 2009 03:45:40 +0000]
fix passing args to a code execute helper (gphat++)
Dave Rolsky [Thu, 1 Oct 2009 19:15:38 +0000]
Forgot to fix the test count
Dave Rolsky [Thu, 1 Oct 2009 19:11:49 +0000]
has_method now allows a false value in CMOP
Dave Rolsky [Sun, 27 Sep 2009 03:25:52 +0000]
grant-description is no longer in the repo
Jesse Luehrs [Sun, 27 Sep 2009 21:41:56 +0000]
add a conflict on mx-nonmoose
Yuval Kogman [Fri, 25 Sep 2009 19:53:15 +0000]
use Test::Exception instead of eval { }
Yuval Kogman [Fri, 25 Sep 2009 19:48:18 +0000]
Test for a more standard error from load_class
Jesse Luehrs [Wed, 23 Sep 2009 02:17:21 +0000]
replace several uses of eval with try
Dave Rolsky [Tue, 22 Sep 2009 21:38:32 +0000]
spelling list updates
Dave Rolsky [Tue, 22 Sep 2009 21:38:09 +0000]
Doc and formatting tweaks for match_on_type
Dave Rolsky [Tue, 22 Sep 2009 21:33:20 +0000]
Tidy and make weaken_value private