15 years agoRevert the change to get rid of caller()-currying for Moose.pm
Dave Rolsky [Wed, 6 Aug 2008 20:18:05 +0000]
Revert the change to get rid of caller()-currying for Moose.pm
exports. Sigh.

15 years agoI realized that all the "with caller" wrapper stuff is pointless. We
Dave Rolsky [Wed, 6 Aug 2008 19:42:11 +0000]
I realized that all the "with caller" wrapper stuff is pointless. We
can get the caller via caller().

This greatly simplifies lots of things.

15 years agoRefactored the code so we have methods for making import &
Dave Rolsky [Wed, 6 Aug 2008 19:09:52 +0000]
Refactored the code so we have methods for making import &
unimport. Also tidied everything some more.

15 years agoTidy this method
Dave Rolsky [Wed, 6 Aug 2008 19:06:22 +0000]
Tidy this method

15 years agoRedo this so we can have a per-module list of methods/subs that we
Dave Rolsky [Wed, 6 Aug 2008 19:03:48 +0000]
Redo this so we can have a per-module list of methods/subs that we
don't expect to be doc'd

15 years agoMight as well be explicit about requiring namespace::clean 0.08 since
Dave Rolsky [Wed, 6 Aug 2008 18:56:51 +0000]
Might as well be explicit about requiring namespace::clean 0.08 since
we really don't want the source filter version.

15 years agoRequire the latest namespace::clean
Dave Rolsky [Wed, 6 Aug 2008 18:56:07 +0000]
Require the latest namespace::clean

15 years agoRemoved __CURRY_EXPORTS_FOR_CLASS__
Dave Rolsky [Wed, 6 Aug 2008 18:55:40 +0000]
Removed __CURRY_EXPORTS_FOR_CLASS__

Renamed init_meta to _init_meta and have it automatically called from
Moose::Exporter's generated import. Left in Moose::init_meta for
backwards compat.

Use namespace::clean to remove exported sugar functions, per hack from
mst.

15 years agoMissed a few use_ok calls that started warning now that Moose::Role
Dave Rolsky [Wed, 6 Aug 2008 18:39:05 +0000]
Missed a few use_ok calls that started warning now that Moose::Role
warns when loaded into main.

15 years agoAdd a test for loading Moose::Role into main (which now also warns)
Dave Rolsky [Wed, 6 Aug 2008 18:37:16 +0000]
Add a test for loading Moose::Role into main (which now also warns)

15 years agoStep 2: eliminate the need for import and unimport in users of
Dave Rolsky [Wed, 6 Aug 2008 17:15:05 +0000]
Step 2: eliminate the need for import and unimport in users of
Moose::Exporter, just build it all on the fly

15 years agoMove init_meta() to the end to match Moose.pm
Dave Rolsky [Wed, 6 Aug 2008 16:44:05 +0000]
Move init_meta() to the end to match Moose.pm

15 years agoStep 1: Moose::Exporter lets Moose & Moose::Role have the same
Dave Rolsky [Wed, 6 Aug 2008 16:43:13 +0000]
Step 1: Moose::Exporter lets Moose & Moose::Role have the same
functionality as they did before.

Next up, making Moose::Exporter work as a _re-exporter_ so MooseX::Foo
can export all of Moose and its own functions too.

15 years agoa branch for experimenting with my notional Moose::Exporter
Dave Rolsky [Wed, 6 Aug 2008 03:52:09 +0000]
a branch for experimenting with my notional Moose::Exporter

15 years agoRevised Basics Recipe 1 a fair bit ...
Dave Rolsky [Tue, 5 Aug 2008 17:19:41 +0000]
Revised Basics Recipe 1 a fair bit ...

Got rid of direct hashref access, since that is just confusing to see
in a first example (it's an example of what _not_ to do).

A lot of stylistic changes to make the text shorter and more
consistent (use first person plural everywhere).

15 years agoFix the inlined code generated for immutable constructor when a value is retruned...
Tomas Doran [Tue, 5 Aug 2008 15:21:43 +0000]
Fix the inlined code generated for immutable constructor when a value is retruned by default/builder so that it gets correctly coerced. Add tests for this

15 years agoHide remove_keywords a bit, rename it to _remove_keywords. Warn about it maybe being...
Shawn M Moore [Tue, 5 Aug 2008 03:50:26 +0000]
Hide remove_keywords a bit, rename it to _remove_keywords. Warn about it maybe being deprecated. Sub::Exporter anyone? :)

15 years agoSome of the test code was formatted very weirdly (tabs, wrong spacing,
Dave Rolsky [Tue, 5 Aug 2008 03:06:53 +0000]
Some of the test code was formatted very weirdly (tabs, wrong spacing,
etc), mostly the code copied verbatim from recipes.

15 years agoMoose now warns when you try to load it from the main package. Added a
Dave Rolsky [Tue, 5 Aug 2008 03:04:22 +0000]
Moose now warns when you try to load it from the main package. Added a
test for this (which requires Test::Output to run).

The tests had many "use_ok('Moose')" lines that started warning. The
use_ok tests weren't really testing anything, since the tests need the
modules they were trying to load in order to run. You actually get a
better error message by just using the module normally (if said module
fails to compile).

15 years agoPerltidy this code a bit.
Dave Rolsky [Mon, 4 Aug 2008 04:05:41 +0000]
Perltidy this code a bit.

15 years agoMoose->unimport has to be caled as a method for the into_level stuff to work
Dave Rolsky [Mon, 4 Aug 2008 04:04:51 +0000]
Moose->unimport has to be caled as a method for the into_level stuff to work

15 years agoAdd a remove_keywords function so if you extend Moose you don't have to cargo cult...
Shawn M Moore [Mon, 4 Aug 2008 01:34:26 +0000]
Add a remove_keywords function so if you extend Moose you don't have to cargo cult Moose's unimport

15 years agoBump to 0.56
Shawn M Moore [Mon, 4 Aug 2008 00:49:16 +0000]
Bump to 0.56

15 years agoUpdate MANIFEST 0_55
Shawn M Moore [Mon, 4 Aug 2008 00:44:15 +0000]
Update MANIFEST

15 years agoUpdate version number in README
Shawn M Moore [Mon, 4 Aug 2008 00:44:10 +0000]
Update version number in README

15 years agoUpdate Changes
Shawn M Moore [Mon, 4 Aug 2008 00:33:26 +0000]
Update Changes

15 years agoAdd a reference to Extending recipe 1 here, since this one is a
Dave Rolsky [Sun, 3 Aug 2008 17:55:26 +0000]
Add a reference to Extending recipe 1 here, since this one is a
continuation of said recipe.

15 years agoAdd another TODO recipe, for hooking into the immutabilization
Dave Rolsky [Sun, 3 Aug 2008 17:53:31 +0000]
Add another TODO recipe, for hooking into the immutabilization
system. This should come before meta-instance (which will at least
reference immutabilization)

15 years agoWrote Extending recipe 1, on using an alternate object base class.
Dave Rolsky [Sun, 3 Aug 2008 17:47:29 +0000]
Wrote Extending recipe 1, on using an alternate object base class.

15 years agoAdd link to extending recipe 2
Dave Rolsky [Sat, 2 Aug 2008 22:25:25 +0000]
Add link to extending recipe 2

15 years agoBetter abstract for extending recipe 2
Dave Rolsky [Sat, 2 Aug 2008 19:49:16 +0000]
Better abstract for extending recipe 2

15 years agoFix some POD errors.
Dave Rolsky [Sat, 2 Aug 2008 03:49:04 +0000]
Fix some POD errors.

15 years agoHaving init_meta() in the same scope as $CALLER always makes me look
Dave Rolsky [Sat, 2 Aug 2008 03:48:01 +0000]
Having init_meta() in the same scope as $CALLER always makes me look
for how init_meta() uses $CALLER, but it _doesn't_, so I'm moving it.

15 years agoDocument cookbook stuff in Changes
Dave Rolsky [Sat, 2 Aug 2008 03:41:47 +0000]
Document cookbook stuff in Changes

15 years agoAdd an abstract for meta recipe 1
Dave Rolsky [Sat, 2 Aug 2008 03:38:30 +0000]
Add an abstract for meta recipe 1

15 years agoGive each section its own abstract.
Dave Rolsky [Sat, 2 Aug 2008 03:37:47 +0000]
Give each section its own abstract.

15 years agomake_immutable is no longer a keyword
Dave Rolsky [Sat, 2 Aug 2008 03:33:35 +0000]
make_immutable is no longer a keyword

15 years agoLink to the keywords snack
Dave Rolsky [Sat, 2 Aug 2008 03:32:42 +0000]
Link to the keywords snack

15 years agoSmall wording tweak
Dave Rolsky [Sat, 2 Aug 2008 03:31:38 +0000]
Small wording tweak

15 years agoAdded a new cookbook section, extending Moose.
Dave Rolsky [Sat, 2 Aug 2008 03:30:26 +0000]
Added a new cookbook section, extending Moose.

Added extending recipe 2, on how to write something that looks like
Moose.pm. This is some nasty shit, but since there's a bunch of CPAN
modules doing it already, it might as well be documented ;)

15 years agoWrote meta recipe 4, a very simple metaclss example.
Dave Rolsky [Sat, 2 Aug 2008 02:54:52 +0000]
Wrote meta recipe 4, a very simple metaclss example.

I also planned out several more meta recipes. Recipe 5 is pending on
merging the metaclass traits branch. Recipe 6 is coming soon. Recipe 7
will come at some point, but needs to come after metaclasses and
sugar/importing, since a new meta-instance probably both a new
metaclass and a Moose.pm-like interface.

15 years agoFix references to previous recipe
Dave Rolsky [Sat, 2 Aug 2008 02:52:02 +0000]
Fix references to previous recipe

15 years agoFix a little bit of grammar
Dave Rolsky [Sat, 2 Aug 2008 02:24:28 +0000]
Fix a little bit of grammar

15 years agoTweak the abstracts for the two existing meta recipes
Dave Rolsky [Sat, 2 Aug 2008 02:05:39 +0000]
Tweak the abstracts for the two existing meta recipes

15 years agoFix all references to cookbook recipes
Dave Rolsky [Wed, 30 Jul 2008 16:24:49 +0000]
Fix all references to cookbook recipes

15 years agofix coerce to accept anon types like subtype can
Matt S Trout [Wed, 30 Jul 2008 14:25:21 +0000]
fix coerce to accept anon types like subtype can

15 years agoSubtypes is one word
Dave Rolsky [Tue, 29 Jul 2008 18:11:17 +0000]
Subtypes is one word

15 years agoImprove the English for the recipe 10 summary
Dave Rolsky [Tue, 29 Jul 2008 18:11:01 +0000]
Improve the English for the recipe 10 summary

15 years agoAdd new Meta::Recipe1 to changes
Dave Rolsky [Tue, 29 Jul 2008 18:06:33 +0000]
Add new Meta::Recipe1 to changes

15 years agoadd the welcome to the meta-world "recipe" - more of an intro than a recipe
Dave Rolsky [Tue, 29 Jul 2008 18:05:03 +0000]
add the welcome to the meta-world "recipe" - more of an intro than a recipe

15 years agoSome small tweaks to the overloading recipe
Dave Rolsky [Tue, 29 Jul 2008 17:47:22 +0000]
Some small tweaks to the overloading recipe

15 years agoReorganized all the recipes so they're broken into subsections, and
Dave Rolsky [Tue, 29 Jul 2008 17:45:41 +0000]
Reorganized all the recipes so they're broken into subsections, and
numbered internally in each subsection, as opposed to globally.

15 years agoCorrection of broken links to MooseX::
Paul Jamieson Fenwick [Tue, 29 Jul 2008 07:48:35 +0000]
Correction of broken links to MooseX::

15 years agoRemoved "whitespace only" lines in POD, making podchecker more happy.
Paul Jamieson Fenwick [Tue, 29 Jul 2008 07:34:07 +0000]
Removed "whitespace only" lines in POD, making podchecker more happy.

15 years agoAdded additional documentation links:
Paul Jamieson Fenwick [Tue, 29 Jul 2008 07:28:34 +0000]
Added additional documentation links:

    * Moose::Cookbook
    * The Moose is Flying (R. Schwartz)

15 years agoRemove dependency on List::MoreUtils from recipe 12 .t.
Aran Clary Deltac [Mon, 28 Jul 2008 23:01:05 +0000]
Remove dependency on List::MoreUtils from recipe 12 .t.

15 years agoNew cookbook recipe # 12.
Aran Clary Deltac [Mon, 28 Jul 2008 22:47:37 +0000]
New cookbook recipe # 12.

15 years agoThere was a passing TODO test in here.
Dave Rolsky [Mon, 28 Jul 2008 13:57:09 +0000]
There was a passing TODO test in here.

15 years agoActually make the todo tests TODO
Dave Rolsky [Mon, 28 Jul 2008 13:52:53 +0000]
Actually make the todo tests TODO

15 years agoFixed the test count, and made the failing tests TODO tests
Dave Rolsky [Mon, 28 Jul 2008 13:48:53 +0000]
Fixed the test count, and made the failing tests TODO tests

15 years agoExplicitly require Class::MOP 0.64.
Dave Rolsky [Mon, 28 Jul 2008 13:45:02 +0000]
Explicitly require Class::MOP 0.64.

15 years agoAdd some tests to ensure that the ->foo() method is always present (as
Dave Rolsky [Mon, 28 Jul 2008 13:38:11 +0000]
Add some tests to ensure that the ->foo() method is always present (as
expected).

15 years agoFix test description so it matches code.
Dave Rolsky [Mon, 28 Jul 2008 13:29:02 +0000]
Fix test description so it matches code.

15 years agoignore metaclass in superclasses if it isn't a Class::MOP::Class but still found...
Yuval Kogman [Thu, 24 Jul 2008 13:58:59 +0000]
ignore metaclass in superclasses if it isn't a Class::MOP::Class but still found in ->meta

15 years agominor doc fix
Wallace Reis [Wed, 23 Jul 2008 15:30:39 +0000]
minor doc fix

15 years agofixing theplers tests
Stevan Little [Tue, 22 Jul 2008 15:59:12 +0000]
fixing theplers tests

15 years agorolling back
Stevan Little [Tue, 22 Jul 2008 15:43:50 +0000]
rolling back

15 years agobug for immutable class that does a role
Todd Hepler [Tue, 22 Jul 2008 01:44:42 +0000]
bug for immutable class that does a role

15 years agoAdd a test script to make sure my idiom of "sub BUILD, after BUILD" in a role will...
Shawn M Moore [Sat, 19 Jul 2008 22:18:42 +0000]
Add a test script to make sure my idiom of "sub BUILD, after BUILD" in a role will work tomorrow

15 years agoSartak's fancy triggers
Paul Driver [Fri, 18 Jul 2008 21:59:40 +0000]
Sartak's fancy triggers

15 years agostevan says "wont fix"
Guillermo Roditi [Fri, 18 Jul 2008 21:06:11 +0000]
stevan says "wont fix"

15 years agoChangelog message. :)
Paul Driver [Fri, 18 Jul 2008 20:51:52 +0000]
Changelog message. :)

15 years agoUpdated some documentation
Paul Driver [Fri, 18 Jul 2008 20:16:22 +0000]
Updated some documentation

15 years agoAdded support for fancy triggers, and a test.
Paul Driver [Fri, 18 Jul 2008 20:09:41 +0000]
Added support for fancy triggers, and a test.

15 years agoBranch for fancy around/after/before triggers.
Paul Driver [Fri, 18 Jul 2008 20:05:10 +0000]
Branch for fancy around/after/before triggers.

15 years agonew fialing test. yayy
Guillermo Roditi [Fri, 18 Jul 2008 17:48:36 +0000]
new fialing test. yayy

15 years agovarious pod fixes
Yuval Kogman [Fri, 11 Jul 2008 02:24:26 +0000]
various pod fixes

15 years agofixing bug
Stevan Little [Wed, 9 Jul 2008 20:58:02 +0000]
fixing bug

15 years agosome refactoring of handles
Stevan Little [Tue, 8 Jul 2008 00:42:32 +0000]
some refactoring of handles

15 years ago0.54
Stevan Little [Fri, 4 Jul 2008 03:48:41 +0000]
0.54

15 years ago0.55 setup
Stevan Little [Thu, 3 Jul 2008 21:24:31 +0000]
0.55 setup

15 years ago0.53
Stevan Little [Thu, 3 Jul 2008 21:21:52 +0000]
0.53

15 years agoOPTIMIZE!!! YERHA!!!!
Yuval Kogman [Thu, 3 Jul 2008 17:55:00 +0000]
OPTIMIZE!!! YERHA!!!!

15 years agosetting up 0.53
Stevan Little [Thu, 3 Jul 2008 17:05:34 +0000]
setting up 0.53

15 years ago0.52
Stevan Little [Thu, 3 Jul 2008 17:04:22 +0000]
0.52

15 years agoSpeling fix.
Dave Rolsky [Thu, 3 Jul 2008 01:32:55 +0000]
Speling fix.

15 years agoadded legal_options_for_inheritance
Wallace Reis [Wed, 2 Jul 2008 21:20:30 +0000]
added legal_options_for_inheritance

15 years agosome changes, seee changes for details
Stevan Little [Wed, 2 Jul 2008 16:46:41 +0000]
some changes, seee changes for details

15 years agosome doc cleanup
Stevan Little [Wed, 2 Jul 2008 15:45:53 +0000]
some doc cleanup

15 years agoRemove nothingmuch's nasty tabs ;)
Dave Rolsky [Wed, 2 Jul 2008 14:35:12 +0000]
Remove nothingmuch's nasty tabs ;)

15 years agocheck that attr and method conflict in two different roles
Yuval Kogman [Wed, 2 Jul 2008 14:32:58 +0000]
check that attr and method conflict in two different roles

15 years agoadd TODO tests for various role/attr related features
Yuval Kogman [Wed, 2 Jul 2008 14:25:34 +0000]
add TODO tests for various role/attr related features

15 years agoIn the case where a child type constraint's parent constraint fails, the exception...
Adam J. Foxson [Mon, 30 Jun 2008 17:33:06 +0000]
In the case where a child type constraint's parent constraint fails, the exception should reference the parent type constraint that actually failed instead of always referencing the child'd type constraint.

15 years agoLOLZ
Yuval Kogman [Mon, 30 Jun 2008 13:55:22 +0000]
LOLZ

15 years agoMooseX::Types::Moose in Cookbook::Style
Yuval Kogman [Mon, 30 Jun 2008 13:51:37 +0000]
MooseX::Types::Moose in Cookbook::Style

15 years agorepharse a bit
Yuval Kogman [Mon, 30 Jun 2008 12:47:23 +0000]
repharse a bit

15 years agoa note about social style
Yuval Kogman [Mon, 30 Jun 2008 12:22:22 +0000]
a note about social style

15 years agonamespace::clean note
Yuval Kogman [Mon, 30 Jun 2008 10:08:10 +0000]
namespace::clean note

15 years agoadd a heading
Yuval Kogman [Mon, 30 Jun 2008 09:58:29 +0000]
add a heading

15 years agostart a style guide
Yuval Kogman [Mon, 30 Jun 2008 09:54:59 +0000]
start a style guide