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
Stevan Little [Mon, 23 Feb 2009 19:58:00 +0000]
new test
Dave Rolsky [Sun, 22 Feb 2009 16:26:21 +0000]
require the dev version of CMOP, 0.77_01
Dave Rolsky [Sun, 22 Feb 2009 16:24:08 +0000]
More changes for next version
Dave Rolsky [Sun, 22 Feb 2009 16:21:51 +0000]
Update changes for release
Dave Rolsky [Sun, 22 Feb 2009 16:21:38 +0000]
make a dev version to go with the CMOP release
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
Dave Rolsky [Sun, 22 Feb 2009 15:46:11 +0000]
Start changes for 0.72
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.
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.
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.
Dave Rolsky [Sat, 21 Feb 2009 20:23:21 +0000]
Missing a space in the error message here
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.
Dave Rolsky [Sat, 21 Feb 2009 15:28:35 +0000]
We were leaving the package name in the arg list
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.
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.
Dave Rolsky [Fri, 20 Feb 2009 17:30:32 +0000]
Perltidy this test file
Dave Rolsky [Fri, 20 Feb 2009 17:30:11 +0000]
triggers no longer get a meta-object
Dave Rolsky [Thu, 19 Feb 2009 21:46:53 +0000]
Link to MX::Types here
Dave Rolsky [Thu, 19 Feb 2009 21:46:41 +0000]
Remove MX::Types bits from types manual page
Dave Rolsky [Thu, 19 Feb 2009 21:44:11 +0000]
Small tweaks to namespace recommendation
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
Matt S Trout [Thu, 19 Feb 2009 16:56:31 +0000]
switch to :: definitions, explain MooseX::Types usage better
Dave Rolsky [Thu, 19 Feb 2009 14:34:52 +0000]
bump version to 0.71
Dave Rolsky [Thu, 19 Feb 2009 14:34:10 +0000]
Clean up changes and add release date
Shawn M Moore [Thu, 19 Feb 2009 07:00:34 +0000]
Bring Changes up to date
Shawn M Moore [Thu, 19 Feb 2009 06:46:50 +0000]
Move extract-inline-tests to author/
Jesse Luehrs [Thu, 19 Feb 2009 04:33:03 +0000]
add test and docs for with_caller/as_is overriding also
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")
Dave Rolsky [Wed, 18 Feb 2009 20:21:41 +0000]
Don't delete tests we didn't create
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.
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.
Dave Rolsky [Wed, 18 Feb 2009 20:18:24 +0000]
ignore generated recipes
Dave Rolsky [Wed, 18 Feb 2009 20:16:30 +0000]
remove cookbook tests (will be replaced with inline tests)
Dave Rolsky [Wed, 18 Feb 2009 20:16:06 +0000]
rename basics recipe 10 test
Dave Rolsky [Wed, 18 Feb 2009 19:56:57 +0000]
Fix some bugs in the recipe code
Dave Rolsky [Wed, 18 Feb 2009 15:30:59 +0000]
wrote roles recipe 3 - applying a role to an object instance
Dave Rolsky [Tue, 17 Feb 2009 15:42:23 +0000]
Add basics recipe 11 to changes
Dave Rolsky [Tue, 17 Feb 2009 15:41:43 +0000]
Add basics recipe 11, BUILD & BUILDARGS
Dave Rolsky [Tue, 17 Feb 2009 15:14:44 +0000]
Tidy this code
Dave Rolsky [Sun, 15 Feb 2009 16:54:59 +0000]
Fix a typo in the docs
Dave Rolsky [Sat, 14 Feb 2009 23:56:51 +0000]
Fix some test descriptions I just broke by trying to fix
Dave Rolsky [Sat, 14 Feb 2009 23:55:52 +0000]
Fix some mixed up test descriptions
Dave Rolsky [Sat, 14 Feb 2009 23:54:15 +0000]
Remove useless use of use_ok #
15125124359
Dave Rolsky [Sat, 14 Feb 2009 23:53:50 +0000]
Fix some bizarro code formatting
Dave Rolsky [Sat, 14 Feb 2009 23:48:00 +0000]
Just use Class::MOP for the optimized ClassName check
Dave Rolsky [Sat, 14 Feb 2009 18:05:13 +0000]
bump version to 0.70
Dave Rolsky [Sat, 14 Feb 2009 18:02:42 +0000]
Add release date
Dave Rolsky [Sat, 14 Feb 2009 18:00:44 +0000]
More changes
Dave Rolsky [Sat, 14 Feb 2009 17:58:41 +0000]
Make more attribute 'ro' in the example code
Dave Rolsky [Sat, 14 Feb 2009 17:57:40 +0000]
Make a bunch of example attributes read-only
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.
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
Dave Rolsky [Sat, 14 Feb 2009 17:47:01 +0000]
Be consistent and say "attribute option(s)", not "parameter(s)"
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.
Dave Rolsky [Sat, 14 Feb 2009 17:41:19 +0000]
Doc trigger change in Changes
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
Dave Rolsky [Sat, 14 Feb 2009 17:26:29 +0000]
require latest CMOP
Dave Rolsky [Sat, 14 Feb 2009 15:17:08 +0000]
Clarify that default & builder is called as a method with no additional params
Dave Rolsky [Sat, 14 Feb 2009 15:13:49 +0000]
Update Changes for next release
Dave Rolsky [Sat, 14 Feb 2009 15:11:03 +0000]
Remove docs about metaclass incompat problems, which should be fixed
Jesse Luehrs [Sat, 14 Feb 2009 01:22:10 +0000]
always call DEMOLISHALL, so that method modifiers work properly on it
Florian Ragwitz [Sat, 14 Feb 2009 01:10:05 +0000]
Allow Moose::Util::MetaRole to apply roles to wrapped_method_metaclass.
Dave Rolsky [Fri, 13 Feb 2009 20:25:12 +0000]
Remove the Comments of Obviousness +5
Dave Rolsky [Fri, 13 Feb 2009 20:22:12 +0000]
no need for Makefile.PL to be executable
Dave Rolsky [Fri, 13 Feb 2009 20:21:44 +0000]
Use test_requires for test requirements
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)
Dave Rolsky [Fri, 13 Feb 2009 20:05:46 +0000]
Add "coverage" for RoleName in pod
Dave Rolsky [Fri, 13 Feb 2009 19:31:33 +0000]
More formatting tweaks to Changes
Dave Rolsky [Fri, 13 Feb 2009 19:31:20 +0000]
Tweaked changes
Dave Rolsky [Fri, 13 Feb 2009 19:29:33 +0000]
Add RoleName
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.
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.
Stevan Little [Fri, 13 Feb 2009 19:01:11 +0000]
adding more tests to the binary tree recipe, and adding the RoleName type constraint
Dave Rolsky [Fri, 13 Feb 2009 16:01:48 +0000]
Mention that you can override new if your parent is not a Moose::Object
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
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.
Dave Rolsky [Thu, 12 Feb 2009 20:14:17 +0000]
bump version and update release date
Dave Rolsky [Thu, 12 Feb 2009 20:12:47 +0000]
Add doy's delegation fix to the change log
Dave Rolsky [Thu, 12 Feb 2009 17:20:57 +0000]
Mention that the cookbook work was part of the grant
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
Dave Rolsky [Thu, 12 Feb 2009 17:15:06 +0000]
Add changes $NEXT
Dave Rolsky [Thu, 12 Feb 2009 17:12:41 +0000]
Revised types snack (and perltidied its code)
Dave Rolsky [Thu, 12 Feb 2009 17:10:08 +0000]
Small revision to keywords snack
Dave Rolsky [Thu, 12 Feb 2009 17:06:09 +0000]
Tweak the cookbook intro a little
Dave Rolsky [Thu, 12 Feb 2009 17:03:14 +0000]
Revise extending recipe 4
Dave Rolsky [Thu, 12 Feb 2009 17:01:25 +0000]
Apparentl S<C<< doesn't work with all pod parsers
Dave Rolsky [Thu, 12 Feb 2009 16:59:47 +0000]
Some more pod fixlets
Dave Rolsky [Thu, 12 Feb 2009 16:57:55 +0000]
Revised extending recipe 3
Dave Rolsky [Thu, 12 Feb 2009 16:51:31 +0000]
Avoid breaking inside code
Dave Rolsky [Thu, 12 Feb 2009 16:49:20 +0000]
Revised recipe 2
Dave Rolsky [Thu, 12 Feb 2009 16:37:27 +0000]
Revised extending recipe 1
Dave Rolsky [Thu, 12 Feb 2009 16:06:12 +0000]
Revised meta recipe 5
Dave Rolsky [Thu, 12 Feb 2009 16:01:25 +0000]
Revise meta recipe 4
Dave Rolsky [Thu, 12 Feb 2009 15:58:13 +0000]
Revised recipe 3
Dave Rolsky [Thu, 12 Feb 2009 15:33:17 +0000]
Revised recipe 2
Ricardo SIGNES [Thu, 12 Feb 2009 02:03:26 +0000]
no need to declare that, it is 5.8 core
Dave Rolsky [Wed, 11 Feb 2009 19:33:58 +0000]
Revised meta recipe 1
Dave Rolsky [Wed, 11 Feb 2009 19:32:13 +0000]
Make the "do not coerce class names" example match basics recipe 5
Dave Rolsky [Wed, 11 Feb 2009 19:31:37 +0000]
Don't define a coercion directly to a class like URI. Make a subtype
and coerce that instead.