git.shadowcat.co.uk Git - gitmo/Mouse.git/atom - lib/Mouse/Attribute.pm historynow lives at https://github.com/gfx/p5-Mousehttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.gitgit-favicon.pnggit-logo.png2008-06-10T04:24:16ZBegin moving Moose::Attribute and Moose::Class into Moose::Meta::*2008-06-10T04:24:16ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T04:24:16Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=58af95b87869e95b132806405054324491903fa1
Begin moving Moose::Attribute and Moose::Class into Moose::Meta::*
Finish the use of overload::StrVal, in verify_type_constraint2008-06-10T04:15:05ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T04:15:05Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=f3e05dfdd5e7f41de2e6caad94c8adb017eb2a5a
Finish the use of overload::StrVal, in verify_type_constraint
use overload::StrVal in type-constraint errors2008-06-10T04:14:57ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T04:14:57Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=e8b3db47ed7f906cc4ad294d2a28b36656a3c333
Moose compat: init_arg is not used for the hash key, name is2008-06-10T03:59:32ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T03:59:32Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=f3c1ccc818bb5c50c50e17b9141b91c09b077b04
Moose compat: init_arg is not used for the hash key, name is
Moose compat: the weak_ref reader is spelled is_weak_ref, don't weaken nonreferences2008-06-10T03:55:13ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T03:55:13Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=3645b3164ce4e4fafa8ee65c515281175da0efe7
Moose compat: the weak_ref reader is spelled is_weak_ref, don't weaken nonreferences
Moose compat: handles are not canonicalized in the meta attribute's storage, instead... 2008-06-10T03:31:01ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T03:31:01Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=c3cc36426995c03e0b44d087c6d0cf3f2a3ceb69
Moose compat: handles are not canonicalized in the meta attribute's storage, instead at handle generation time
Moose compat: no longer an error to have a trigger on a readonly attribute2008-06-10T03:10:27ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T03:10:27Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=8473108059ddb46644a679a32f6e9bae8d9fd73c
Moose compat: no longer an error to have a trigger on a readonly attribute
Moose compat: lazy-no-default error message2008-06-10T02:58:26ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T02:58:26Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=4eb1339a32ef811a7f9a8045261113588565162b
Moose compat: throw an error on $self->reader(value)2008-06-10T02:57:38ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T02:57:38Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=636c002e5c9f843ad7c7cfb35a1511b4ccbb562f
Moose compat: throw an error on $self->reader(value)
Tests and implementation for builder with lazy and clearer2008-06-10T02:42:06ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T02:42:06Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=9367e029d69af6065f843df198c0631a91834c95
Tests and implementation for builder with lazy and clearer
Little nits2008-06-10T02:14:14ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T02:14:14Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=fb706f5c1e60ddafe873717be7209066d47b8998
Fix type_constraint always being set to undef2008-06-10T02:08:50ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T02:08:50Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=c021207d4b8eb14c8c6f29af37bfbdd475937343
Factor out canonicalize_handles into a separate method2008-06-10T01:57:47ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T01:57:47Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=af745d5a30ceb45518de556943e95dfdc03f451a
Factor out canonicalize_handles into a separate method
Improve doc coverage, remove some needless methods2008-06-10T01:42:22ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T01:42:22Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=ab27a55e79fe77296eeebfbba1adbd3155f1a746
Improve doc coverage, remove some needless methods
Unknown type constraints are now interpreted as blessed($value) eq $type2008-06-10T01:41:45ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T01:41:45Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=3301fa546394abbef62f5a7f9bbfc1c49ae6eb50
Unknown type constraints are now interpreted as blessed($value) eq $type
More methodification, change some names to be what Moose::Meta::Attribute uses2008-06-10T01:19:38ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T01:19:38Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=2434d21b71b6770a7d1a8a6ea5abebab3e4602be
More methodification, change some names to be what Moose::Meta::Attribute uses
Use methods on attribute instead of poking directly in the hash2008-06-10T01:11:26ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-10T01:11:26Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=de9a434a5cdc3c564b6f4cb93bb053f2eed20a03
Use methods on attribute instead of poking directly in the hash
Use "undef" and avoid uninitialized warnings when the value we're type checking is... 2008-06-09T23:42:53ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-09T23:42:53Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=1f2b47800eef4a10a8a914b4663ae9af699c7f72
Use "undef" and avoid uninitialized warnings when the value we're type checking is undef
Verify type constraints in the constructor2008-06-04T04:04:58ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-04T04:04:58Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=5aa30cedaeea188c11688187a689d70f4b7698d2
Add predicates to the informational Mouse::Attribute attributes2008-06-04T04:04:50ZShawn M Mooresartak@gmail.comShawn M Mooresartak@gmail.com2008-06-04T04:04:50Zhttp://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Mouse.git;a=commitdiff;h=ccea8101f730f46ee7e85769b6472cf91d0f5240
Add predicates to the informational Mouse::Attribute attributes