16 years agoequals testing for class type constraint
Yuval Kogman [Sat, 12 Apr 2008 15:45:51 +0000]
equals testing for class type constraint

16 years agoadd a test for the 'class' attribute of TC::Class
Yuval Kogman [Sat, 12 Apr 2008 15:01:21 +0000]
add a test for the 'class' attribute of TC::Class

16 years agoadd the C<parents> method to TypeConstraint, which is just an alias to C<parent>...
Yuval Kogman [Sat, 12 Apr 2008 15:00:56 +0000]
add the C<parents> method to TypeConstraint, which is just an alias to C<parent>. Useful for polymorphism with TC::Class

16 years agoadd C<equals> method to TypeConstraint, and make use of it int he subtype checks
Yuval Kogman [Sat, 12 Apr 2008 15:00:01 +0000]
add C<equals> method to TypeConstraint, and make use of it int he subtype checks

16 years agofind_type_constraint now DWIms when given an object
Yuval Kogman [Sat, 12 Apr 2008 14:56:27 +0000]
find_type_constraint now DWIms when given an object

16 years agoadd 'class' attr to TypeConstraint::Class
Yuval Kogman [Sat, 12 Apr 2008 14:53:49 +0000]
add 'class' attr to TypeConstraint::Class

16 years agofix typo in initialize_body method
Yuval Kogman [Sat, 12 Apr 2008 14:51:30 +0000]
fix typo in initialize_body method

16 years agoWe mention test files by name in the first few recipes - they were moved into t/000_r...
Shawn M Moore [Tue, 8 Apr 2008 12:48:33 +0000]
We mention test files by name in the first few recipes - they were moved into t/000_recipes/

16 years agoMoose's class type constraints aren't limited to Moose-based objects
Shawn M Moore [Tue, 8 Apr 2008 12:08:38 +0000]
Moose's class type constraints aren't limited to Moose-based objects

16 years agoNon hashref instances are no longer a pipe dream, update the caveat in Recipe1
Shawn M Moore [Tue, 8 Apr 2008 09:43:27 +0000]
Non hashref instances are no longer a pipe dream, update the caveat in Recipe1

16 years agoNote that one benefit of making your class extend Moose::Object is that you get a...
Shawn M Moore [Tue, 8 Apr 2008 09:35:22 +0000]
Note that one benefit of making your class extend Moose::Object is that you get a constructor

16 years agowhat is done for isa should be done for does, so it was written!
Stevan Little [Sun, 6 Apr 2008 21:06:39 +0000]
what is done for isa should be done for does, so it was written!

16 years agofixing bug;
Stevan Little [Sat, 5 Apr 2008 21:17:18 +0000]
fixing bug;

16 years agodoc fix
Stevan Little [Fri, 4 Apr 2008 20:29:29 +0000]
doc fix

16 years agos/die/croak/
Stevan Little [Thu, 3 Apr 2008 22:39:24 +0000]
s/die/croak/

16 years agoWhen an attribute property is malformed (such as lazy without a default), give the...
Shawn M Moore [Mon, 31 Mar 2008 08:00:50 +0000]
When an attribute property is malformed (such as lazy without a default), give the name of the attribute in the error message

16 years agosome doc tweaks and removing the ->includes_type from TC::Union for now
Stevan Little [Fri, 28 Mar 2008 20:27:31 +0000]
some doc tweaks and removing the ->includes_type from TC::Union for now

16 years agoTypeConstraint::Union->includes_type in the changelog
Shawn M Moore [Fri, 28 Mar 2008 19:55:22 +0000]
TypeConstraint::Union->includes_type in the changelog

16 years agoInherited attributes may now be extended without restriction
Shawn M Moore [Fri, 28 Mar 2008 19:46:02 +0000]
Inherited attributes may now be extended without restriction

16 years agoA bunch of tests for includes_type
Shawn M Moore [Thu, 27 Mar 2008 04:54:25 +0000]
A bunch of tests for includes_type

16 years agoInstead of belaboring the point, make sure that "Type" => "Subtype A | Subtype B...
Shawn M Moore [Thu, 27 Mar 2008 04:54:14 +0000]
Instead of belaboring the point, make sure that "Type" => "Subtype A | Subtype B" works

16 years agoImplementation of TypeConstraint::Union->includes_type, and use it in Attribute.
Shawn M Moore [Thu, 27 Mar 2008 04:12:48 +0000]
Implementation of TypeConstraint::Union->includes_type, and use it in Attribute.

16 years agoSome error checks (I think it's time for a dedicated type test file)
Shawn M Moore [Thu, 27 Mar 2008 04:12:35 +0000]
Some error checks (I think it's time for a dedicated type test file)

16 years agoTest for narrowing "Str | Int | ArrayRef" down to "Int | ArrayRef" too
Shawn M Moore [Thu, 27 Mar 2008 03:25:11 +0000]
Test for narrowing "Str | Int | ArrayRef" down to "Int | ArrayRef" too

16 years agoFailing tests for narrowing a consumed attribute's type constraint
Shawn M Moore [Thu, 27 Mar 2008 03:20:24 +0000]
Failing tests for narrowing a consumed attribute's type constraint

16 years agoRemove Str isa Str|ArrayRef tests (for now anyway) for design reasons
Shawn M Moore [Thu, 27 Mar 2008 03:20:11 +0000]
Remove Str isa Str|ArrayRef tests (for now anyway) for design reasons

16 years agoadd doap.rdf
Chris Prather [Mon, 24 Mar 2008 04:48:51 +0000]
add doap.rdf

16 years agoFailing tests for Str and ArrayRef being subtypes of (Str | ArrayRef)
Shawn M Moore [Sat, 22 Mar 2008 19:42:48 +0000]
Failing tests for Str and ArrayRef being subtypes of (Str | ArrayRef)

16 years agoAdded summaries for all of the existing recipes
Dave Rolsky [Sat, 22 Mar 2008 18:04:24 +0000]
Added summaries for all of the existing recipes

16 years agocookbook plans
Stevan Little [Sat, 22 Mar 2008 17:20:29 +0000]
cookbook plans

16 years agocookbook plans
Stevan Little [Sat, 22 Mar 2008 17:07:27 +0000]
cookbook plans

16 years agotweaking the cookbook
Stevan Little [Sat, 22 Mar 2008 17:06:21 +0000]
tweaking the cookbook

16 years agotweaking the cookbook
Stevan Little [Sat, 22 Mar 2008 17:05:13 +0000]
tweaking the cookbook

16 years agomoving stuff around a bit
Stevan Little [Sat, 22 Mar 2008 15:41:19 +0000]
moving stuff around a bit

16 years agoFix a small comment typo
Dave Rolsky [Fri, 21 Mar 2008 22:16:35 +0000]
Fix a small comment typo

16 years agoAn immutable constructor called non-lazy attribute default subs twice.
Dave Rolsky [Fri, 21 Mar 2008 22:13:33 +0000]
An immutable constructor called non-lazy attribute default subs twice.

16 years agoadding the test
Stevan Little [Thu, 20 Mar 2008 16:14:18 +0000]
adding the test

16 years agodoc updates
Stevan Little [Mon, 17 Mar 2008 01:18:09 +0000]
doc updates

16 years agomake_immutable is now deprecated, stop using it and a fix your old code please
Stevan Little [Sun, 16 Mar 2008 21:48:07 +0000]
make_immutable is now deprecated, stop using it and a fix your old code please

16 years agos/metaclass/__PACKAGE__->meta/
Stevan Little [Sun, 16 Mar 2008 21:20:27 +0000]
s/metaclass/__PACKAGE__->meta/

16 years agos/make_immutable/metaclass->make_immutable/
Stevan Little [Sun, 16 Mar 2008 21:13:53 +0000]
s/make_immutable/metaclass->make_immutable/

16 years agofirst swipe at MX::Storage::Dir
Stevan Little [Sun, 16 Mar 2008 15:16:12 +0000]
first swipe at MX::Storage::Dir

16 years agotests for metaclass() export
Todd Hepler [Sun, 16 Mar 2008 01:58:03 +0000]
tests for metaclass() export

16 years agoexport metaclass() to give a functional export for __PACKAGE__->meta
Chris Prather [Sat, 15 Mar 2008 18:44:32 +0000]
export metaclass() to give a functional export for __PACKAGE__->meta
-- the make_immutable export is a degenerate version of this and it's causing problems with debugging if you forget to unimport it

16 years agoPOD-COVERAGE SUCKS!
Stevan Little [Sat, 15 Mar 2008 03:02:26 +0000]
POD-COVERAGE SUCKS!

16 years agosome last minute tweaks
Stevan Little [Fri, 14 Mar 2008 15:37:01 +0000]
some last minute tweaks

16 years ago0.39
Stevan Little [Fri, 14 Mar 2008 15:03:36 +0000]
0.39

16 years agosome changes
Stevan Little [Fri, 14 Mar 2008 14:54:50 +0000]
some changes

16 years agosome changes
Stevan Little [Fri, 14 Mar 2008 14:54:19 +0000]
some changes

16 years agoadding in the ability to pass params to rebles when doing runtime roles
Stevan Little [Fri, 14 Mar 2008 12:51:13 +0000]
adding in the ability to pass params to rebles when doing runtime roles

16 years agoadding in the ability to pass params to rebles when doing runtime roles
Stevan Little [Fri, 14 Mar 2008 12:48:57 +0000]
adding in the ability to pass params to rebles when doing runtime roles

16 years agoallow class_type to accept a custom message. sorry about the diffnoise, editor strips...
Guillermo Roditi [Thu, 13 Mar 2008 23:05:59 +0000]
allow class_type to accept a custom message. sorry about the diffnoise, editor strips trailing whitespace

16 years agotweaking formatting to match existing tests and code, also change log stuff
Stevan Little [Tue, 11 Mar 2008 18:51:23 +0000]
tweaking formatting to match existing tests and code, also change log stuff

16 years agoadd cache attribute to M::Meta::Class->create_anon_class
Jonathan Rockway [Tue, 11 Mar 2008 18:33:39 +0000]
add cache attribute to M::Meta::Class->create_anon_class

16 years agosigh
Stevan Little [Tue, 11 Mar 2008 17:31:14 +0000]
sigh

16 years agocleanin up a bit, and adding changes
Stevan Little [Tue, 11 Mar 2008 16:58:01 +0000]
cleanin up a bit, and adding changes

16 years agoadd support for roles => [] option to Moose::Meta::Create
Jonathan Rockway [Tue, 11 Mar 2008 16:43:19 +0000]
add support for roles => [] option to Moose::Meta::Create

16 years agofixing sartaks test
Stevan Little [Tue, 11 Mar 2008 16:33:42 +0000]
fixing sartaks test

16 years agoFailing make_immutable test case. It seems that inherited "new" is just plain broken...
Shawn M Moore [Mon, 3 Mar 2008 05:32:41 +0000]
Failing make_immutable test case. It seems that inherited "new" is just plain broken. And I was bitten by this one, so it's not academic :)

16 years agoadding in anon-enums
Stevan Little [Tue, 26 Feb 2008 18:51:11 +0000]
adding in anon-enums

16 years agoovidsbug
Stevan Little [Tue, 26 Feb 2008 15:42:39 +0000]
ovidsbug

16 years agohas +name from role officially supported
Stevan Little [Sun, 24 Feb 2008 20:04:28 +0000]
has +name from role officially supported

16 years agohas +name from role officially supported
Stevan Little [Sun, 24 Feb 2008 20:03:20 +0000]
has +name from role officially supported

16 years agosorry konobi, not enough of a perf win, so lets wait till we get something more befor...
Stevan Little [Fri, 22 Feb 2008 22:33:37 +0000]
sorry konobi, not enough of a perf win, so lets wait till we get something more before introducing XS

16 years agochanges in Moose::Object
Stevan Little [Fri, 22 Feb 2008 21:49:11 +0000]
changes in Moose::Object

16 years agoUpdate non-XS optimized constraints to use their XS partners
Scott McWhirter [Wed, 20 Feb 2008 03:45:40 +0000]
Update non-XS optimized constraints to use their XS partners

16 years agoAdd ObjectOfType XS function for use with anon types constraints that
Scott McWhirter [Wed, 20 Feb 2008 03:29:57 +0000]
Add ObjectOfType XS function for use with anon types constraints that
are generated against classes.

16 years agoTidy up XS Type Constraints
Scott McWhirter [Wed, 20 Feb 2008 03:05:20 +0000]
Tidy up XS Type Constraints
  - Add Undef and Defined XS constraints
  - Make XS keep single reference to "Regexp"
  - Remove old optimized versions

16 years agoAdd XS Optimized Type Constraints
Scott McWhirter [Wed, 20 Feb 2008 02:33:49 +0000]
Add XS Optimized Type Constraints

16 years agomaking handles and AUTOLOAD play a bit better
Stevan Little [Mon, 18 Feb 2008 14:55:48 +0000]
making handles and AUTOLOAD play a bit better

16 years agofixing delegation
Stevan Little [Sat, 16 Feb 2008 20:09:57 +0000]
fixing delegation

16 years agofixing delegation
Stevan Little [Sat, 16 Feb 2008 20:07:16 +0000]
fixing delegation

16 years agowhoops nother bug, dammit
Stevan Little [Fri, 15 Feb 2008 19:07:40 +0000]
whoops nother bug, dammit

16 years agochangelog on it
Stevan Little [Fri, 15 Feb 2008 18:03:25 +0000]
changelog on it

16 years agowhoops
Stevan Little [Fri, 15 Feb 2008 18:00:40 +0000]
whoops

16 years agofixing tests
Stevan Little [Fri, 15 Feb 2008 15:13:36 +0000]
fixing tests

16 years ago0.37
Stevan Little [Thu, 14 Feb 2008 20:16:29 +0000]
0.37

16 years agoa bug fix and some tweaks 0_37
Stevan Little [Mon, 11 Feb 2008 17:00:30 +0000]
a bug fix and some tweaks

16 years agotweaking tests
Stevan Little [Thu, 7 Feb 2008 16:17:58 +0000]
tweaking tests

16 years agomore tests and the constructor stuff as well
Stevan Little [Thu, 7 Feb 2008 15:16:42 +0000]
more tests and the constructor stuff as well

16 years agofailing test for two subclasses of the same non-Moose class with different metaclasses
Matt S Trout [Thu, 7 Feb 2008 13:42:46 +0000]
failing test for two subclasses of the same non-Moose class with different metaclasses

16 years agocope with fixed initializer arg order in mop
Ricardo SIGNES [Thu, 7 Feb 2008 03:47:19 +0000]
cope with fixed initializer arg order in mop

16 years agochangelog
Ricardo SIGNES [Thu, 7 Feb 2008 03:44:23 +0000]
changelog

16 years agomerge initializer branch, add test
Ricardo SIGNES [Thu, 7 Feb 2008 03:42:20 +0000]
merge initializer branch, add test

16 years agoadd default class name "Class" to oose.pm
Chris Prather [Wed, 6 Feb 2008 21:47:01 +0000]
add default class name "Class" to oose.pm

16 years agoadding make_immutable sugar
Stevan Little [Wed, 6 Feb 2008 20:23:51 +0000]
adding make_immutable sugar

16 years agofor use with Class-MOP-initializer
Ricardo SIGNES [Wed, 6 Feb 2008 02:15:03 +0000]
for use with Class-MOP-initializer

16 years agomaking has $name => {} fail
Stevan Little [Tue, 5 Feb 2008 19:45:31 +0000]
making has $name => {} fail

16 years agometa instance doc improvements
Yuval Kogman [Sun, 3 Feb 2008 18:43:43 +0000]
meta instance doc improvements

16 years agotests
Stevan Little [Thu, 31 Jan 2008 18:31:52 +0000]
tests

16 years agofixed demolish calls
Stevan Little [Thu, 31 Jan 2008 17:48:57 +0000]
fixed demolish calls

16 years agofixed demolish calls
Stevan Little [Thu, 31 Jan 2008 17:46:45 +0000]
fixed demolish calls

16 years agocomment the strict/warnings hack because I'm bored of being asked about it by people...
Matt S Trout [Mon, 28 Jan 2008 14:38:18 +0000]
comment the strict/warnings hack because I'm bored of being asked about it by people who didn't think to RTFS strict.pm then look up $^H

16 years agotype constraint messages work now (kinda) and other misc cleanup so that tests run...
Stevan Little [Mon, 28 Jan 2008 02:45:26 +0000]
type constraint messages work now (kinda) and other misc cleanup so that tests run (see Changelog)

16 years agodie in Attribute::_process_options if the attr is required but there is no way to...
Yuval Kogman [Sun, 27 Jan 2008 00:20:14 +0000]
die in Attribute::_process_options if the attr is required but there is no way to set it during construction (init_arg, builder or default)

16 years agoinit_arg can be undef
Yuval Kogman [Sun, 27 Jan 2008 00:03:08 +0000]
init_arg can be undef

16 years agoinit_arg can be undef
Yuval Kogman [Sat, 26 Jan 2008 23:53:58 +0000]
init_arg can be undef

16 years agoFailing tests for custom type error messages. Now let's see about making them pass..
Shawn M Moore [Sat, 26 Jan 2008 16:54:47 +0000]
Failing tests for custom type error messages. Now let's see about making them pass..

16 years ago(no commit message)
Shawn M Moore [Sat, 26 Jan 2008 16:54:03 +0000]

16 years agoGive an error message when a handles attribute's object is undefined, so it doesn...
Shawn M Moore [Sat, 26 Jan 2008 16:50:56 +0000]
Give an error message when a handles attribute's object is undefined, so it doesn't look like a Moose error