Dave Rolsky [Wed, 3 Sep 2008 18:39:57 +0000]
add new pod to the manifest
Dave Rolsky [Wed, 3 Sep 2008 17:16:42 +0000]
bump version and update changes for release later today (I hope)
Dave Rolsky [Wed, 3 Sep 2008 16:57:58 +0000]
Add changes for latest bug fix
Dave Rolsky [Wed, 3 Sep 2008 16:57:13 +0000]
Actually track exactly what coderefs we export by stringified name,
and then in unimport only clean if that stringified name
matches. Previously, we relied on Sub::Name actually being present,
which is not guaranteed.
Dave Rolsky [Wed, 3 Sep 2008 16:55:36 +0000]
Fix test count
Dave Rolsky [Wed, 3 Sep 2008 16:55:16 +0000]
We need the evals here to force this stuff to happen at run time, but
we should just do if the eval fails.
Dave Rolsky [Wed, 3 Sep 2008 16:46:57 +0000]
All these evals do is hide when Moose or some other module has a syntax error.
Dave Rolsky [Wed, 3 Sep 2008 15:46:15 +0000]
Clarify that there's just one intentional bug
Dave Rolsky [Wed, 3 Sep 2008 15:45:14 +0000]
$self should be %self if we use map like that
Dave Rolsky [Wed, 3 Sep 2008 15:44:08 +0000]
Redo changes for jnapiorkowski's TC change
Dave Rolsky [Wed, 3 Sep 2008 15:42:39 +0000]
Cosmetic changes (mostly from perltidy).
John Napiorkowski [Wed, 3 Sep 2008 15:41:36 +0000]
updated changes file
Matt S Trout [Wed, 3 Sep 2008 15:28:50 +0000]
fix types with stringifyable TC objects
Dave Rolsky [Wed, 3 Sep 2008 15:04:27 +0000]
add mention of BUILD in Intro
Dave Rolsky [Wed, 3 Sep 2008 05:27:36 +0000]
Fix coercions
Dave Rolsky [Wed, 3 Sep 2008 04:02:46 +0000]
Be consistent in terms of first/second person
Dave Rolsky [Wed, 3 Sep 2008 04:01:31 +0000]
Update changes with the new docs.
Dave Rolsky [Wed, 3 Sep 2008 03:59:21 +0000]
Add Moose::Unsweetened, parallel examples of classes with & without
Moose.
Dave Rolsky [Wed, 3 Sep 2008 03:24:45 +0000]
Fix a code goofup. Add a link to Moose::Unsweetened.
Dave Rolsky [Wed, 3 Sep 2008 02:35:07 +0000]
Fix attribute name
Dave Rolsky [Wed, 3 Sep 2008 02:33:33 +0000]
Rename delegation to make it more distinct
Dave Rolsky [Wed, 3 Sep 2008 02:26:07 +0000]
Add a definition for immutabilization, and a WHAT NEXT section
pointing people at the Cookbook.
Dave Rolsky [Wed, 3 Sep 2008 02:22:10 +0000]
More wordsmithing, general cleanup, speling fixes, examples, and so on.
Jesse Vincent [Wed, 3 Sep 2008 00:01:47 +0000]
i* Added the first version of rough notes on how MooseX::Compile is to
work in the form of an IRC conversation with yuval
Dave Rolsky [Tue, 2 Sep 2008 23:52:51 +0000]
The new Moose::Intro.
Dave Rolsky [Tue, 2 Sep 2008 22:10:06 +0000]
I figure I can reasonably add my name here now.
Dave Rolsky [Tue, 2 Sep 2008 22:09:38 +0000]
Moving justification to Moose::Intro too. Also removed the caveat
about combining extensions, we do have good ways to do that now
(mostly).
Dave Rolsky [Tue, 2 Sep 2008 22:06:00 +0000]
Cut out some extending junk which is better covered in the recipes.
Add a link to the soon-to-be-written Moose::Intro
Dave Rolsky [Tue, 2 Sep 2008 17:23:22 +0000]
Doc constructor_class & destructor_class accessors
Dave Rolsky [Tue, 2 Sep 2008 16:10:47 +0000]
Add some examples of object construction to the synopsis, since this
is pretty important, and shouldn't be buried most of the way down the
text.
Paul Driver [Tue, 2 Sep 2008 14:48:23 +0000]
Another spelling error. Pedantic, ain't it?
Paul Driver [Tue, 2 Sep 2008 14:40:23 +0000]
Tiny little spelling error in Moose::Cookbook::Extending::Recipe1
Dave Rolsky [Mon, 1 Sep 2008 22:41:56 +0000]
Handle the case where $instance ends up resolving to a class name, not
an object, in _inline_check_lazy.
This is a bit of a hack, but the whole immutable thing is a giant
hack, so I don't think it's too bad.
Alternately, we could add a new _inline_class_name method and just
call that, and I could override it for class attributes.
Dave Rolsky [Mon, 1 Sep 2008 22:37:55 +0000]
Pass the invocant name to _inline_check_lazy for consistency (also
makes my class attribute work saner)
Dave Rolsky [Mon, 1 Sep 2008 21:09:07 +0000]
Split out calling an attribute's builder into its own private method.
A) This is a nice refactor.
B) It makes subclassing easier, and I need it for MX::ClassAttribute.
Dave Rolsky [Mon, 1 Sep 2008 16:33:59 +0000]
bump version to 0.56 and update changes for release
Dave Rolsky [Mon, 1 Sep 2008 16:21:00 +0000]
Remove references to
Moose::Meta::Role::Application::ToMetaclassInstance which was
obsoleted by MU::MetaRole.
Dave Rolsky [Mon, 1 Sep 2008 16:15:40 +0000]
require stable MOP 0.65
Dave Rolsky [Sun, 31 Aug 2008 03:57:05 +0000]
update MANIFEST - seriously, why is this in source control?
Dave Rolsky [Sun, 31 Aug 2008 03:56:34 +0000]
bump version to 0.55_04
Dave Rolsky [Sun, 31 Aug 2008 03:55:14 +0000]
merge meta-role-helper branch and update changes
Dave Rolsky [Sun, 31 Aug 2008 03:44:24 +0000]
recipe was missing a number
Dave Rolsky [Sun, 31 Aug 2008 03:43:05 +0000]
merge trunk to meta-role-helper branch
Jonathan Rockway [Sat, 30 Aug 2008 20:23:55 +0000]
use the mathematical definition of "natural number" for the TC example in the POD
Shawn M Moore [Sat, 30 Aug 2008 03:08:33 +0000]
Don't load in Data::Dumper (we don't even use it here!)
Dave Rolsky [Sat, 30 Aug 2008 01:57:15 +0000]
Fix the MOP dep so it actually registers
Dave Rolsky [Sat, 30 Aug 2008 01:56:27 +0000]
bump the version to 0.55_03
Dave Rolsky [Sat, 30 Aug 2008 01:55:55 +0000]
Add changes for 0.55_03
Dave Rolsky [Sat, 30 Aug 2008 01:55:23 +0000]
bump the Class::MOP dep to 0.64_07
Dave Rolsky [Fri, 29 Aug 2008 18:46:23 +0000]
merge trunk to meta-role-helper branch
Dave Rolsky [Fri, 29 Aug 2008 18:44:17 +0000]
When we reinitialize from the super meta class, we need to also reset
constructor & destructor class from the super's meta.
Dave Rolsky [Fri, 29 Aug 2008 18:43:22 +0000]
revert back to code as it was before my depths into madness
Dave Rolsky [Fri, 29 Aug 2008 18:40:45 +0000]
remove some debugging junk
Dave Rolsky [Fri, 29 Aug 2008 18:40:27 +0000]
This is about 50% of the way towards making
_fix_metaclass_incompatibility smart enough to detect when two
metaclass classes differ only in the roles they do.
It works as far as it goes but to do it right it'd have to check and
reconcile the attribute, method, & instance metaclasses, plus the
constructor and destructor class.
All in all, it's a mess.
I'm checking this in to record it, and will rever in the next commit.
Dave Rolsky [Fri, 29 Aug 2008 18:09:09 +0000]
Fix some broken tests (testing the wrong class)
Dave Rolsky [Fri, 29 Aug 2008 17:47:17 +0000]
require the latest MOP
Dave Rolsky [Fri, 29 Aug 2008 17:47:07 +0000]
why do we keep this in source control?
Dave Rolsky [Fri, 29 Aug 2008 17:44:37 +0000]
Don't ship .shipit
Dave Rolsky [Fri, 29 Aug 2008 17:44:11 +0000]
bump version to 0.55_02
Dave Rolsky [Fri, 29 Aug 2008 17:43:00 +0000]
Add a .shipit file
Dave Rolsky [Fri, 29 Aug 2008 17:42:27 +0000]
Update changes for next release
Dave Rolsky [Fri, 29 Aug 2008 17:40:43 +0000]
More tweaking of t0m's doc changes
Dave Rolsky [Fri, 29 Aug 2008 17:38:05 +0000]
a little tweaking of t0m's doc changes
Dave Rolsky [Fri, 29 Aug 2008 15:59:16 +0000]
Merge trunk to meta-role-helper branch
Dave Rolsky [Fri, 29 Aug 2008 15:28:55 +0000]
Remove comment about updating the package cache flag, that's a red
herring (this whole method map thing is a big of a mess).
Dave Rolsky [Fri, 29 Aug 2008 03:45:00 +0000]
Update comment for this test, so it is more accurate.
Dave Rolsky [Fri, 29 Aug 2008 03:43:56 +0000]
Adding a role changes the method map, but it will not change the
package cache flag, so we need to reset that flag when adding a role.
This fixes the bug tokuhirom found, which is tested in
t/030_roles/031_roles_applied_in_create.t
Dave Rolsky [Fri, 29 Aug 2008 03:20:56 +0000]
This test had a bug, and what it's testing is already tested elsewhere.
Tokuhiro Matsuno [Fri, 29 Aug 2008 03:20:49 +0000]
oops. i forgot to commit this method
Dave Rolsky [Fri, 29 Aug 2008 03:19:40 +0000]
redo these tests using is_deeply
Tokuhiro Matsuno [Fri, 29 Aug 2008 03:16:00 +0000]
added new test: t/030_roles/032_roles_alias_methods.t
this test failes on only perl 5.10(maybe)
Dave Rolsky [Thu, 28 Aug 2008 16:56:09 +0000]
add a comment about package cache flags
Dave Rolsky [Thu, 28 Aug 2008 15:40:55 +0000]
Expand the comment for this test
Tomas Doran [Thu, 28 Aug 2008 14:56:38 +0000]
Add an explanation about Roles/Traits and the difference between them (or lack thereof). Also drive-by speeling fixation
Dave Rolsky [Thu, 28 Aug 2008 14:43:53 +0000]
Clean the test up a little to use Test::Exception
Tokuhiro Matsuno [Thu, 28 Aug 2008 14:05:29 +0000]
added new test case: t/030_roles/031_roles_applied_in_create.t
nothingmuch: this tests failed with perl5.10
Dave Rolsky [Wed, 27 Aug 2008 23:41:57 +0000]
More tests that won't pass until _fix_metaclass_incompatibility is much smarter.
Dave Rolsky [Wed, 27 Aug 2008 18:52:47 +0000]
Add a long comment detailing what's not quite right with
_fix_metaclass_incompatibility and describing how it can be fixed.
Dave Rolsky [Wed, 27 Aug 2008 17:56:27 +0000]
document subclass problem with metaclass roles
Dave Rolsky [Wed, 27 Aug 2008 17:50:25 +0000]
Add more tests, including some that won't pass until we can make
_fix_metaclass_incompatibility much smarter.
Dave Rolsky [Wed, 27 Aug 2008 16:42:39 +0000]
Rename $meta to $super_meta in _fix_metaclass_incompatibility to make
it clear whose $meta it is.
Dave Rolsky [Wed, 27 Aug 2008 16:40:33 +0000]
Remove another level of indentation for even more short-circuiting of
our loop.
Dave Rolsky [Wed, 27 Aug 2008 16:37:55 +0000]
Remove some comments that are bogus now that we check is_pristine and
blow up if that is not true.
Dave Rolsky [Wed, 27 Aug 2008 16:37:08 +0000]
Refactored/reformatted _fix_metaclass_incompatibility in order to make
it a little simpler to read, and remove a level of indentation.
Dave Rolsky [Wed, 27 Aug 2008 16:29:02 +0000]
No need to remove the metaclass when we're calling reinitialize
Dave Rolsky [Wed, 27 Aug 2008 15:19:22 +0000]
wrote extending recipe2 (role for object base class)
Dave Rolsky [Wed, 27 Aug 2008 15:09:07 +0000]
Fix copyright year
Dave Rolsky [Wed, 27 Aug 2008 15:08:52 +0000]
Add caveat about metarole experimental-ness
Tomas Doran [Tue, 26 Aug 2008 21:09:30 +0000]
Add a load of docs to some of the under documented bits of type constraints. I don't write great docs, but it's better than it was. Also fix exception in Moose::Meta::TypeConstraint predicate methods, add an exception to Moose::Meta::TypeConstraint::Registry::add_type_constraint if you don't supply something which looks like a type constraint. Couple of other little fixes: warnings, general cleanup and doc additions in the type constraint code.
Dave Rolsky [Tue, 26 Aug 2008 18:02:41 +0000]
Mark extending recipe 2 as TODO
Dave Rolsky [Tue, 26 Aug 2008 18:01:08 +0000]
Added an overview "recipe" for Moose extensions
Dave Rolsky [Tue, 26 Aug 2008 17:56:46 +0000]
renamed some recipes in prep for adding extension intro
Dave Rolsky [Tue, 26 Aug 2008 17:00:49 +0000]
Add a test count.
Dave Rolsky [Tue, 26 Aug 2008 17:00:33 +0000]
Add tests for applying several roles in succession, to make sure we
preserve previously applied roles. Also added a test count.
Dave Rolsky [Tue, 26 Aug 2008 16:23:59 +0000]
Update changes some more
Dave Rolsky [Tue, 26 Aug 2008 16:21:41 +0000]
Re-implemented metaclass traits using Moose::Util::MetaRole. This
means removing some new bits I added in Moose::Util and the
Moose::Meta::Role::Application::ToMetaclassInstance class.
Dave Rolsky [Mon, 25 Aug 2008 15:47:00 +0000]
Add warning to this MetaRole docs that it might go away
Dave Rolsky [Mon, 25 Aug 2008 15:45:48 +0000]
Merge trunk to meta-role-helper branch
Dave Rolsky [Mon, 25 Aug 2008 15:45:15 +0000]
Add docs for Moose::Util::MetaRole
Dave Rolsky [Mon, 25 Aug 2008 15:27:43 +0000]
Implemented Moose::Util::MetaRole, which lets you apply roles to any
meta class, as well as the constructor & destructor classes and the
object base class.
To make this work properly, I had to make constructor & destructor
class attributes of Moose::Meta::Class, rather than just hardcoding
them.