15 years agobump version and update Changes for release 0.72
Dave Rolsky [Tue, 24 Feb 2009 04:44:24 +0000]
bump version and update Changes for release

15 years agoHandle Foo->new(undef) consistently, with an error saying a single param to new(...
Dave Rolsky [Mon, 23 Feb 2009 21:22:26 +0000]
Handle Foo->new(undef) consistently, with an error saying a single param to new() must be a hashref

15 years agonew test
Stevan Little [Mon, 23 Feb 2009 19:58:00 +0000]
new test

15 years agorequire the dev version of CMOP, 0.77_01 0.71_01
Dave Rolsky [Sun, 22 Feb 2009 16:26:21 +0000]
require the dev version of CMOP, 0.77_01

15 years agoMore changes for next version
Dave Rolsky [Sun, 22 Feb 2009 16:24:08 +0000]
More changes for next version

15 years agoUpdate changes for release
Dave Rolsky [Sun, 22 Feb 2009 16:21:51 +0000]
Update changes for release

15 years agomake a dev version to go with the CMOP release
Dave Rolsky [Sun, 22 Feb 2009 16:21:38 +0000]
make a dev version to go with the CMOP release

15 years agobump version
Dave Rolsky [Sun, 22 Feb 2009 15:54:57 +0000]
bump version
not releasing yet, but I want to install this locally as a new version

15 years agoStart changes for 0.72
Dave Rolsky [Sun, 22 Feb 2009 15:46:11 +0000]
Start changes for 0.72

15 years agoA couple changes to make MX::Types keep working.
Dave Rolsky [Sun, 22 Feb 2009 04:22:36 +0000]
A couple changes to make MX::Types keep working.

First, make subtype handle a first arg which is a blessed reference
(which MX::Types will cause to happen).

Second, kill the prototype on as() and use a nasty hack to make it
keep working.

15 years agoOfficially document sugar-free form for type and subtype where it
Dave Rolsky [Sat, 21 Feb 2009 22:28:17 +0000]
Officially document sugar-free form for type and subtype where it
accepts a hashref of named parameters, rather than positional params.

This preserves the safety of non-positional params, but lets you
integrate easily with other modules, for doing

  subtype( 'Foo', { where => sub_returner() } );

Added tests for this new style and made sure the docs show it too.

15 years agoChange how the TC sugar bits work so that the arguments are
Dave Rolsky [Sat, 21 Feb 2009 22:00:59 +0000]
Change how the TC sugar bits work so that the arguments are
unambiguous (as long as you use the sugar).

If type or subtype is called without sugar helpers, the behavior
remains the same (but is deprecated).

Added tests for the things that are fixed, as well as for the old behavior.

15 years agoMissing a space in the error message here
Dave Rolsky [Sat, 21 Feb 2009 20:23:21 +0000]
Missing a space in the error message here

15 years agoA hack I think will fix the formatting on search.cpan.
Dave Rolsky [Sat, 21 Feb 2009 19:15:45 +0000]
A hack I think will fix the formatting on search.cpan.

search.cpan seems to dislike a =begin block that isn't a single
word. Hopefully it accepts dashes.

If search.cpan wasn't a fucking closed source app I could actually
look at the code and figure this out.

15 years agoWe were leaving the package name in the arg list
Dave Rolsky [Sat, 21 Feb 2009 15:28:35 +0000]
We were leaving the package name in the arg list

15 years agoChanges to work with 0.78 meta-instance code, which no longer expects
Dave Rolsky [Fri, 20 Feb 2009 20:11:05 +0000]
Changes to work with 0.78 meta-instance code, which no longer expects
a quoted attr name when inlning attr access.

15 years agoWe need to make sure Moose is loaded before using
Dave Rolsky [Fri, 20 Feb 2009 18:06:53 +0000]
We need to make sure Moose is loaded before using
Moose->throw_error. Normally Moose is loaded, but in cases where it's
not we end up losing the real error, which is very annoying.

15 years agoPerltidy this test file
Dave Rolsky [Fri, 20 Feb 2009 17:30:32 +0000]
Perltidy this test file

15 years agotriggers no longer get a meta-object
Dave Rolsky [Fri, 20 Feb 2009 17:30:11 +0000]
triggers no longer get a meta-object

15 years agoLink to MX::Types here
Dave Rolsky [Thu, 19 Feb 2009 21:46:53 +0000]
Link to MX::Types here

15 years agoRemove MX::Types bits from types manual page
Dave Rolsky [Thu, 19 Feb 2009 21:46:41 +0000]
Remove MX::Types bits from types manual page

15 years agoSmall tweaks to namespace recommendation
Dave Rolsky [Thu, 19 Feb 2009 21:44:11 +0000]
Small tweaks to namespace recommendation

15 years agoswitch to :: for types in BestPractices, note the perl identifier requirement for...
Matt S Trout [Thu, 19 Feb 2009 17:05:45 +0000]
switch to :: for types in BestPractices, note the perl identifier requirement for using MX::Types to package type sets later

15 years agoswitch to :: definitions, explain MooseX::Types usage better
Matt S Trout [Thu, 19 Feb 2009 16:56:31 +0000]
switch to :: definitions, explain MooseX::Types usage better

15 years agobump version to 0.71 0.71
Dave Rolsky [Thu, 19 Feb 2009 14:34:52 +0000]
bump version to 0.71

15 years agoClean up changes and add release date
Dave Rolsky [Thu, 19 Feb 2009 14:34:10 +0000]
Clean up changes and add release date

15 years agoBring Changes up to date
Shawn M Moore [Thu, 19 Feb 2009 07:00:34 +0000]
Bring Changes up to date

15 years agoMove extract-inline-tests to author/
Shawn M Moore [Thu, 19 Feb 2009 06:46:50 +0000]
Move extract-inline-tests to author/

15 years agoadd test and docs for with_caller/as_is overriding also
Jesse Luehrs [Thu, 19 Feb 2009 04:33:03 +0000]
add test and docs for with_caller/as_is overriding also

15 years agoload exports from classes specified by 'also' first, so that subs locally specified...
Jesse Luehrs [Thu, 19 Feb 2009 04:07:41 +0000]
load exports from classes specified by 'also' first, so that subs locally specified by with_caller or as_is have the opportunity to override them (i.e. "export everything from Moose, except use my custom version of extends")

15 years agoDon't delete tests we didn't create
Dave Rolsky [Wed, 18 Feb 2009 20:21:41 +0000]
Don't delete tests we didn't create

15 years agoExtract inline tests when Makefile.PL is run, if we're not an end
Dave Rolsky [Wed, 18 Feb 2009 20:20:34 +0000]
Extract inline tests when Makefile.PL is run, if we're not an end
user.

15 years agoAdd tool for extracting inline tests.
Dave Rolsky [Wed, 18 Feb 2009 20:19:08 +0000]
Add tool for extracting inline tests.

Moved all the recipe tests (except basics 10) to inline tests, which
found a number of bugs along the way.

15 years agoignore generated recipes
Dave Rolsky [Wed, 18 Feb 2009 20:18:24 +0000]
ignore generated recipes

15 years agoremove cookbook tests (will be replaced with inline tests)
Dave Rolsky [Wed, 18 Feb 2009 20:16:30 +0000]
remove cookbook tests (will be replaced with inline tests)

15 years agorename basics recipe 10 test
Dave Rolsky [Wed, 18 Feb 2009 20:16:06 +0000]
rename basics recipe 10 test

15 years agoFix some bugs in the recipe code
Dave Rolsky [Wed, 18 Feb 2009 19:56:57 +0000]
Fix some bugs in the recipe code

15 years agowrote roles recipe 3 - applying a role to an object instance
Dave Rolsky [Wed, 18 Feb 2009 15:30:59 +0000]
wrote roles recipe 3 - applying a role to an object instance

15 years agoAdd basics recipe 11 to changes
Dave Rolsky [Tue, 17 Feb 2009 15:42:23 +0000]
Add basics recipe 11 to changes

15 years agoAdd basics recipe 11, BUILD & BUILDARGS
Dave Rolsky [Tue, 17 Feb 2009 15:41:43 +0000]
Add basics recipe 11, BUILD & BUILDARGS

15 years agoTidy this code
Dave Rolsky [Tue, 17 Feb 2009 15:14:44 +0000]
Tidy this code

15 years agoFix a typo in the docs
Dave Rolsky [Sun, 15 Feb 2009 16:54:59 +0000]
Fix a typo in the docs

15 years agoFix some test descriptions I just broke by trying to fix
Dave Rolsky [Sat, 14 Feb 2009 23:56:51 +0000]
Fix some test descriptions I just broke by trying to fix

15 years agoFix some mixed up test descriptions
Dave Rolsky [Sat, 14 Feb 2009 23:55:52 +0000]
Fix some mixed up test descriptions

15 years agoRemove useless use of use_ok #15125124359
Dave Rolsky [Sat, 14 Feb 2009 23:54:15 +0000]
Remove useless use of use_ok #15125124359

15 years agoFix some bizarro code formatting
Dave Rolsky [Sat, 14 Feb 2009 23:53:50 +0000]
Fix some bizarro code formatting

15 years agoJust use Class::MOP for the optimized ClassName check
Dave Rolsky [Sat, 14 Feb 2009 23:48:00 +0000]
Just use Class::MOP for the optimized ClassName check

15 years agobump version to 0.70 0.70
Dave Rolsky [Sat, 14 Feb 2009 18:05:13 +0000]
bump version to 0.70

15 years agoAdd release date
Dave Rolsky [Sat, 14 Feb 2009 18:02:42 +0000]
Add release date

15 years agoMore changes
Dave Rolsky [Sat, 14 Feb 2009 18:00:44 +0000]
More changes

15 years agoMake more attribute 'ro' in the example code
Dave Rolsky [Sat, 14 Feb 2009 17:58:41 +0000]
Make more attribute 'ro' in the example code

15 years agoMake a bunch of example attributes read-only
Dave Rolsky [Sat, 14 Feb 2009 17:57:40 +0000]
Make a bunch of example attributes read-only

15 years agoFix a mistake, triggers are not called for default or builder values,
Dave Rolsky [Sat, 14 Feb 2009 17:55:33 +0000]
Fix a mistake, triggers are not called for default or builder values,
but are called for things passed to the constructor.

15 years agoClarify how roles do and do not participate in inheritance.
Dave Rolsky [Sat, 14 Feb 2009 17:53:08 +0000]
Clarify how roles do and do not participate in inheritance.

Add a section on abstract base classes vs roles

15 years agoBe consistent and say "attribute option(s)", not "parameter(s)"
Dave Rolsky [Sat, 14 Feb 2009 17:47:01 +0000]
Be consistent and say "attribute option(s)", not "parameter(s)"

15 years agoUse a trigger in recipe 3, since we want to update the parent for
Dave Rolsky [Sat, 14 Feb 2009 17:42:38 +0000]
Use a trigger in recipe 3, since we want to update the parent for
trees passed to the constructor, not just the accessor.

15 years agoDoc trigger change in Changes
Dave Rolsky [Sat, 14 Feb 2009 17:41:19 +0000]
Doc trigger change in Changes

15 years agoNon-inlined trigger code no longer passes the meta-attr object, and updated the docs...
Dave Rolsky [Sat, 14 Feb 2009 17:40:31 +0000]
Non-inlined trigger code no longer passes the meta-attr object, and updated the docs to match

15 years agorequire latest CMOP
Dave Rolsky [Sat, 14 Feb 2009 17:26:29 +0000]
require latest CMOP

15 years agoClarify that default & builder is called as a method with no additional params
Dave Rolsky [Sat, 14 Feb 2009 15:17:08 +0000]
Clarify that default & builder is called as a method with no additional params

15 years agoUpdate Changes for next release
Dave Rolsky [Sat, 14 Feb 2009 15:13:49 +0000]
Update Changes for next release

15 years agoRemove docs about metaclass incompat problems, which should be fixed
Dave Rolsky [Sat, 14 Feb 2009 15:11:03 +0000]
Remove docs about metaclass incompat problems, which should be fixed

15 years agoalways call DEMOLISHALL, so that method modifiers work properly on it
Jesse Luehrs [Sat, 14 Feb 2009 01:22:10 +0000]
always call DEMOLISHALL, so that method modifiers work properly on it

15 years agoAllow Moose::Util::MetaRole to apply roles to wrapped_method_metaclass.
Florian Ragwitz [Sat, 14 Feb 2009 01:10:05 +0000]
Allow Moose::Util::MetaRole to apply roles to wrapped_method_metaclass.

15 years agoRemove the Comments of Obviousness +5
Dave Rolsky [Fri, 13 Feb 2009 20:25:12 +0000]
Remove the Comments of Obviousness +5

15 years agono need for Makefile.PL to be executable
Dave Rolsky [Fri, 13 Feb 2009 20:22:12 +0000]
no need for Makefile.PL to be executable

15 years agoUse test_requires for test requirements
Dave Rolsky [Fri, 13 Feb 2009 20:21:44 +0000]
Use test_requires for test requirements

15 years agoRequires Test::Warn 0.11 to avoid some bugs it seems to trigger (based on a report...
Dave Rolsky [Fri, 13 Feb 2009 20:08:48 +0000]
Requires Test::Warn 0.11 to avoid some bugs it seems to trigger (based on a report from IRC)

15 years agoAdd "coverage" for RoleName in pod
Dave Rolsky [Fri, 13 Feb 2009 20:05:46 +0000]
Add "coverage" for RoleName in pod

15 years agoMore formatting tweaks to Changes
Dave Rolsky [Fri, 13 Feb 2009 19:31:33 +0000]
More formatting tweaks to Changes

15 years agoTweaked changes
Dave Rolsky [Fri, 13 Feb 2009 19:31:20 +0000]
Tweaked changes

15 years agoAdd RoleName
Dave Rolsky [Fri, 13 Feb 2009 19:29:33 +0000]
Add RoleName

15 years agoAdd RoleName to docs and clarify RoleName vs Role. Also clarify what
Dave Rolsky [Fri, 13 Feb 2009 19:28:58 +0000]
Add RoleName to docs and clarify RoleName vs Role. Also clarify what
class_type and role_type do.

15 years agoMention that we could use a trigger instead of a before modifier in
Dave Rolsky [Fri, 13 Feb 2009 19:18:40 +0000]
Mention that we could use a trigger instead of a before modifier in
our example code.

15 years agoadding more tests to the binary tree recipe, and adding the RoleName type constraint
Stevan Little [Fri, 13 Feb 2009 19:01:11 +0000]
adding more tests to the binary tree recipe, and adding the RoleName type constraint

15 years agoMention that you can override new if your parent is not a Moose::Object
Dave Rolsky [Fri, 13 Feb 2009 16:01:48 +0000]
Mention that you can override new if your parent is not a Moose::Object

15 years agoAdd a test that version numbers are consistent across all .pm files - inspired by...
Dave Rolsky [Fri, 13 Feb 2009 14:56:42 +0000]
Add a test that version numbers are consistent across all .pm files - inspired by MX::GlobRef test

15 years agoThis test does some really wiked cool testing stuff. It was confirmed to be a bug...
Evan Carroll [Fri, 13 Feb 2009 01:49:32 +0000]
This test does some really wiked cool testing stuff. It was confirmed to be a bug because mst was inconsistant with reality.

15 years agobump version and update release date 0.69
Dave Rolsky [Thu, 12 Feb 2009 20:14:17 +0000]
bump version and update release date

15 years agoAdd doy's delegation fix to the change log
Dave Rolsky [Thu, 12 Feb 2009 20:12:47 +0000]
Add doy's delegation fix to the change log

15 years agoMention that the cookbook work was part of the grant
Dave Rolsky [Thu, 12 Feb 2009 17:20:57 +0000]
Mention that the cookbook work was part of the grant

15 years agothis speling test is really useful. fixed a whole bunch of types in the cookbook
Dave Rolsky [Thu, 12 Feb 2009 17:20:16 +0000]
this speling test is really useful. fixed a whole bunch of types in the cookbook

15 years agoAdd changes $NEXT
Dave Rolsky [Thu, 12 Feb 2009 17:15:06 +0000]
Add changes $NEXT

15 years agoRevised types snack (and perltidied its code)
Dave Rolsky [Thu, 12 Feb 2009 17:12:41 +0000]
Revised types snack (and perltidied its code)

15 years agoSmall revision to keywords snack
Dave Rolsky [Thu, 12 Feb 2009 17:10:08 +0000]
Small revision to keywords snack

15 years agoTweak the cookbook intro a little
Dave Rolsky [Thu, 12 Feb 2009 17:06:09 +0000]
Tweak the cookbook intro a little

15 years agoRevise extending recipe 4
Dave Rolsky [Thu, 12 Feb 2009 17:03:14 +0000]
Revise extending recipe 4

15 years agoApparentl S<C<< doesn't work with all pod parsers
Dave Rolsky [Thu, 12 Feb 2009 17:01:25 +0000]
Apparentl S<C<< doesn't work with all pod parsers

15 years agoSome more pod fixlets
Dave Rolsky [Thu, 12 Feb 2009 16:59:47 +0000]
Some more pod fixlets

15 years agoRevised extending recipe 3
Dave Rolsky [Thu, 12 Feb 2009 16:57:55 +0000]
Revised extending recipe 3

15 years agoAvoid breaking inside code
Dave Rolsky [Thu, 12 Feb 2009 16:51:31 +0000]
Avoid breaking inside code

15 years agoRevised recipe 2
Dave Rolsky [Thu, 12 Feb 2009 16:49:20 +0000]
Revised recipe 2

15 years agoRevised extending recipe 1
Dave Rolsky [Thu, 12 Feb 2009 16:37:27 +0000]
Revised extending recipe 1

15 years agoRevised meta recipe 5
Dave Rolsky [Thu, 12 Feb 2009 16:06:12 +0000]
Revised meta recipe 5

15 years agoRevise meta recipe 4
Dave Rolsky [Thu, 12 Feb 2009 16:01:25 +0000]
Revise meta recipe 4

15 years agoRevised recipe 3
Dave Rolsky [Thu, 12 Feb 2009 15:58:13 +0000]
Revised recipe 3

15 years agoRevised recipe 2
Dave Rolsky [Thu, 12 Feb 2009 15:33:17 +0000]
Revised recipe 2

15 years agono need to declare that, it is 5.8 core
Ricardo SIGNES [Thu, 12 Feb 2009 02:03:26 +0000]
no need to declare that, it is 5.8 core

15 years agoRevised meta recipe 1
Dave Rolsky [Wed, 11 Feb 2009 19:33:58 +0000]
Revised meta recipe 1

15 years agoMake the "do not coerce class names" example match basics recipe 5
Dave Rolsky [Wed, 11 Feb 2009 19:32:13 +0000]
Make the "do not coerce class names" example match basics recipe 5