13 years agoMake the duck type constraint closure check for blessing
Florian Ragwitz [Thu, 25 Aug 2011 13:24:33 +0000]
Make the duck type constraint closure check for blessing

It's what the inlined variant already does. Synchronise with it.

13 years agoFix duck_type constraint generators
Florian Ragwitz [Thu, 25 Aug 2011 13:19:12 +0000]
Fix duck_type constraint generators

Both the regular constraint closure and its inlined variant called
Scalar::Util::all assuming that $_[0] would point to the value to be validated
within the all {} block, which of course it doesn't.

I don't know how this ever worked.

13 years agoWe work just fine with older EU::ParseXS versions
Florian Ragwitz [Wed, 24 Aug 2011 20:06:02 +0000]
We work just fine with older EU::ParseXS versions

mop.h has the right compatibility glue.

13 years agoanother todo
Jesse Luehrs [Mon, 22 Aug 2011 17:23:37 +0000]
another todo

13 years agoFix is_class_loaded on blead
Florian Ragwitz [Mon, 22 Aug 2011 00:02:17 +0000]
Fix is_class_loaded on blead

SvOK is only valid on scalars. It's pointless to call it on the result of
de-referencing an arbitrary scalar.

Blead recently made calling ->VERSION upgrade the scalar of the VERSION glob to
a version object. This broke us as SvOK(version_object) doesn't mean what we
thought it would.

Just dropping the entire SvROK branch and checking for any valid scalar in the
VERSION glob is the right thing to do here.

13 years agodon't rely on Carp::confess existing when compiling generated code
Jesse Luehrs [Sun, 21 Aug 2011 23:07:06 +0000]
don't rely on Carp::confess existing when compiling generated code

13 years agoIgnore MYMETA.json
Florian Ragwitz [Sun, 21 Aug 2011 23:06:35 +0000]
Ignore MYMETA.json

13 years agoXS() was changed to imply static linkage - adapt
Florian Ragwitz [Sun, 21 Aug 2011 23:00:21 +0000]
XS() was changed to imply static linkage - adapt

There's a new XS_EXTERNAL to provide the old XS() semantics. ExtUtils::ParseXS
3.03_02 provides XS_EXTERNAL for compatibility with older perls.

13 years agoAdd applied_attribute as a possible role metarole
Dave Rolsky [Sun, 7 Aug 2011 03:29:30 +0000]
Add applied_attribute as a possible role metarole

13 years agomore todo
Jesse Luehrs [Sat, 30 Jul 2011 23:02:50 +0000]
more todo

13 years agoadd a few more rt tickets
Jesse Luehrs [Sat, 30 Jul 2011 22:44:24 +0000]
add a few more rt tickets

13 years agoAdd a little bit on handling of broken behavior that cannot be deprecated.
Dave Rolsky [Sat, 30 Jul 2011 22:46:27 +0000]
Add a little bit on handling of broken behavior that cannot be deprecated.

13 years agoAdded a todo item for 2.04
Dave Rolsky [Sat, 30 Jul 2011 22:25:55 +0000]
Added a todo item for 2.04

13 years agochangelog
Jesse Luehrs [Tue, 26 Jul 2011 06:38:25 +0000]
changelog

13 years agoconflict on MooseX::Types::Parameterizable 0.05
Jesse Luehrs [Mon, 25 Jul 2011 17:10:16 +0000]
conflict on MooseX::Types::Parameterizable 0.05

13 years agoFix up weird indentation in code example (3-space indent?)
Dave Rolsky [Mon, 25 Jul 2011 18:16:45 +0000]
Fix up weird indentation in code example (3-space indent?)

13 years agochangelog
Jesse Luehrs [Mon, 25 Jul 2011 16:26:04 +0000]
changelog

13 years agoclean up the moose::exporter doc additions a bit
Jesse Luehrs [Mon, 25 Jul 2011 16:24:01 +0000]
clean up the moose::exporter doc additions a bit

13 years agobe a bit stricter and more consistent with tc messages
Jesse Luehrs [Mon, 25 Jul 2011 16:12:20 +0000]
be a bit stricter and more consistent with tc messages

13 years agoMention that the import method can take a into argument in
Paweł Murias [Sat, 23 Jul 2011 21:58:45 +0000]
Mention that the import method can take a into argument in
the Moose::Export documentation.

13 years agochangelog
Jesse Luehrs [Fri, 22 Jul 2011 14:31:12 +0000]
changelog

13 years agoUpdate delta for deprecation warning
Dave Rolsky [Wed, 20 Jul 2011 17:25:43 +0000]
Update delta for deprecation warning

13 years agoFix delta - we will warn for optimize_as in 2.0300, not 2.0200
Dave Rolsky [Wed, 20 Jul 2011 18:32:03 +0000]
Fix delta - we will warn for optimize_as in 2.0300, not 2.0200

13 years agodeprecate optimize_as
Dave Rolsky [Wed, 20 Jul 2011 15:12:58 +0000]
deprecate optimize_as

13 years agoinitialize the metaclass when calling ->does
Jesse Luehrs [Wed, 20 Jul 2011 15:12:41 +0000]
initialize the metaclass when calling ->does

13 years agoactually, don't just call random ->does methods we don't control
Jesse Luehrs [Wed, 20 Jul 2011 14:49:25 +0000]
actually, don't just call random ->does methods we don't control

13 years agochangelog
Jesse Luehrs [Mon, 18 Jul 2011 18:58:45 +0000]
changelog

13 years agochangelog 2.0200
Jesse Luehrs [Mon, 18 Jul 2011 18:53:13 +0000]
changelog

13 years agoversion bump
Jesse Luehrs [Mon, 18 Jul 2011 18:52:29 +0000]
version bump

13 years agoSpelling fix
Dave Rolsky [Mon, 18 Jul 2011 18:10:11 +0000]
Spelling fix

13 years agoMI issues exist with all method modifiers
Karen Etheridge [Mon, 18 Jul 2011 17:29:07 +0000]
MI issues exist with all method modifiers

13 years agodocument shortcomings with inner/augment and MI.
Karen Etheridge [Mon, 18 Jul 2011 17:27:03 +0000]
document shortcomings with inner/augment and MI.

13 years agotodo += a bunch
Jesse Luehrs [Wed, 6 Jul 2011 18:35:27 +0000]
todo += a bunch

13 years agoclarification of wording
Karen Etheridge [Wed, 6 Jul 2011 17:54:16 +0000]
clarification of wording

13 years agoRemove a done item, and update todo for 2.04
Dave Rolsky [Wed, 6 Jul 2011 16:47:27 +0000]
Remove a done item, and update todo for 2.04

13 years agoFix small typo in Delta
Dave Rolsky [Tue, 5 Jul 2011 17:14:34 +0000]
Fix small typo in Delta

13 years agochangelog
Jesse Luehrs [Mon, 27 Jun 2011 18:11:59 +0000]
changelog

13 years agoversion bump 2.0105
Jesse Luehrs [Mon, 27 Jun 2011 15:11:46 +0000]
version bump

13 years agomake Moose::Util::does_role respect overridden ->does methods
Jesse Luehrs [Sat, 25 Jun 2011 18:05:52 +0000]
make Moose::Util::does_role respect overridden ->does methods

13 years agoRemove empty packages
Dave Rolsky [Mon, 20 Jun 2011 21:55:19 +0000]
Remove empty packages

13 years agoadd some more conflicts
Jesse Luehrs [Mon, 20 Jun 2011 18:04:39 +0000]
add some more conflicts

13 years agothese have had deprecation warnings forever, and are now broken
Jesse Luehrs [Mon, 20 Jun 2011 18:02:10 +0000]
these have had deprecation warnings forever, and are now broken

13 years agochangelog
Jesse Luehrs [Mon, 20 Jun 2011 13:42:08 +0000]
changelog

13 years agoversion bump 2.0104
Jesse Luehrs [Mon, 20 Jun 2011 13:37:40 +0000]
version bump

13 years agochangelog
Jesse Luehrs [Mon, 20 Jun 2011 13:37:18 +0000]
changelog

13 years agochangelog
Jesse Luehrs [Mon, 20 Jun 2011 13:26:15 +0000]
changelog

13 years agodon't load_class if a metaclass already exists
Jesse Luehrs [Mon, 20 Jun 2011 13:19:45 +0000]
don't load_class if a metaclass already exists

otherwise this breaks things like:

package Foo;
use MooseX::Thing;
...

when MooseX::Thing both applies roles and re-exports Moose::Role stuff,
because at the time that MooseX::Thing::init_meta is called, the package
is empty (it won't get anything in it until Moose::Role::init_meta is
called).

13 years agoindicate TRIAL status in changelog
Jesse Luehrs [Mon, 20 Jun 2011 06:12:29 +0000]
indicate TRIAL status in changelog

13 years agochangelog
Jesse Luehrs [Mon, 20 Jun 2011 06:11:09 +0000]
changelog

13 years agopod coverage 2.0103
Jesse Luehrs [Mon, 20 Jun 2011 06:03:33 +0000]
pod coverage

13 years agoversion bump
Jesse Luehrs [Mon, 20 Jun 2011 05:59:35 +0000]
version bump

13 years agoimprove method-modifier docs to highlight issues with regex selection of methods...
joel [Sun, 19 Jun 2011 10:28:07 +0000]
improve method-modifier docs to highlight issues with regex selection of methods to override

13 years agochangelog
Jesse Luehrs [Sun, 19 Jun 2011 08:33:42 +0000]
changelog

13 years agoChanges for rebless_triggers branch
Dave Rolsky [Thu, 16 Jun 2011 15:26:24 +0000]
Changes for rebless_triggers branch

13 years agocode tidying
Dave Rolsky [Thu, 16 Jun 2011 15:24:59 +0000]
code tidying

13 years agoTidy new code
Dave Rolsky [Thu, 16 Jun 2011 15:21:05 +0000]
Tidy new code

13 years agocall all triggers in rebless_instance - tests now pass.
Karen Etheridge [Wed, 1 Jun 2011 00:40:09 +0000]
call all triggers in rebless_instance - tests now pass.

refactored common code out into a sub. As it happens, this is sufficient even for the immutable path, because $meta->rebless_instance is not inlined, even though there is a sub in CMOP for generating inlineable code!

13 years agoreturn ASAP if the class is already immutable
Karen Etheridge [Wed, 1 Jun 2011 00:36:27 +0000]
return ASAP if the class is already immutable

13 years agonew tests for initializers and triggers on rebless_instance
Karen Etheridge [Tue, 31 May 2011 23:42:18 +0000]
new tests for initializers and triggers on rebless_instance

initializers work, as this comes from CMOP, but Moose::Meta::Class needs an override - so this test is marked TODO for now.

13 years agodo these tests twice, with with_immutable()
Karen Etheridge [Tue, 31 May 2011 21:44:58 +0000]
do these tests twice, with with_immutable()

13 years agochangelog
Jesse Luehrs [Sun, 19 Jun 2011 07:29:27 +0000]
changelog

13 years agoremove some code duplication
Jesse Luehrs [Sun, 19 Jun 2011 07:26:42 +0000]
remove some code duplication

13 years agoImprove the docs for this feature, extend the tests
Kent Fredric [Sun, 19 Jun 2011 01:07:48 +0000]
Improve the docs for this feature, extend the tests

13 years agoHack it this way in order to permit us to set the name ( which is forbidden to do...
Kent Fredric [Sun, 19 Jun 2011 00:42:38 +0000]
Hack it this way in order to permit us to set the name ( which is forbidden to do after construction ) without the risk of breaking existing union code

13 years agoAdded union constructor tests
Kent Fredric [Sun, 19 Jun 2011 00:24:28 +0000]
Added union constructor tests

13 years agoAdd a union type constraint constructor sugar to
Kent Fredric [Sun, 19 Jun 2011 00:11:45 +0000]
Add a union type constraint constructor sugar to
Moose::Util::TypeConstraints

13 years agoFix FAQ on require+attributes
Mark A. Stratman [Fri, 11 Mar 2011 19:38:09 +0000]
Fix FAQ on require+attributes

13 years agoAdd FAQ on requires and attribute-generated methods
Mark A. Stratman [Fri, 11 Mar 2011 19:31:17 +0000]
Add FAQ on requires and attribute-generated methods

13 years agotests and changelog
Jesse Luehrs [Sun, 19 Jun 2011 06:52:07 +0000]
tests and changelog

13 years agoalso add this error for roles
Jesse Luehrs [Sun, 19 Jun 2011 06:51:53 +0000]
also add this error for roles

13 years agocheck if the metaclass is loaded
Jason May [Sat, 7 Aug 2010 17:59:14 +0000]
check if the metaclass is loaded

13 years agochangelog
Jesse Luehrs [Sun, 19 Jun 2011 06:33:18 +0000]
changelog

13 years agomake sure the applicant is loaded first
Jesse Luehrs [Sun, 19 Jun 2011 06:27:03 +0000]
make sure the applicant is loaded first

13 years agoinitialize a metaclass when trying to apply all roles
Chris Prather [Sat, 21 Aug 2010 07:09:07 +0000]
initialize a metaclass when trying to apply all roles

Applying a role to a non-Moose class currently requires manually
initializing the metaclass before calling
Moose::Util::apply_all_roles(). This commit changes that by swapping
find_meta for initialize() when setting up $applicant.

13 years agoFix error reporting in duck_type
Tomas Doran [Thu, 23 Dec 2010 15:47:00 +0000]
Fix error reporting in duck_type

13 years agofix tests for the deprecation stuff
Jesse Luehrs [Sun, 19 Jun 2011 06:14:30 +0000]
fix tests for the deprecation stuff

13 years agoremove a bit more deprecation code
Jesse Luehrs [Sun, 19 Jun 2011 05:49:57 +0000]
remove a bit more deprecation code

13 years agooops, need a package::deprecationmanager fix
Jesse Luehrs [Sun, 19 Jun 2011 05:48:05 +0000]
oops, need a package::deprecationmanager fix

13 years agochangelog
Jesse Luehrs [Sun, 19 Jun 2011 05:41:23 +0000]
changelog

13 years agoremove old deprecated code
Jesse Luehrs [Sun, 19 Jun 2011 04:59:59 +0000]
remove old deprecated code

13 years agothese are unnecessary, since we know the parent is Item
Jesse Luehrs [Sun, 19 Jun 2011 04:26:49 +0000]
these are unnecessary, since we know the parent is Item

13 years agochangelog
Jesse Luehrs [Sat, 18 Jun 2011 17:49:57 +0000]
changelog

13 years agoconflict on mx-attribute-deflator 2.1.5 2.0102
Jesse Luehrs [Sat, 18 Jun 2011 17:44:40 +0000]
conflict on mx-attribute-deflator 2.1.5

13 years agoversion bump
Jesse Luehrs [Sat, 18 Jun 2011 17:43:04 +0000]
version bump

13 years agochangelog
Jesse Luehrs [Sat, 18 Jun 2011 17:42:55 +0000]
changelog

13 years agooops, this was supposed to be an expression
Jesse Luehrs [Sat, 18 Jun 2011 17:38:40 +0000]
oops, this was supposed to be an expression

13 years agochangelog
Jesse Luehrs [Sat, 18 Jun 2011 17:27:07 +0000]
changelog

13 years agoadding quotes around arbitrary stuff isn't safe, just stringify
Jesse Luehrs [Fri, 17 Jun 2011 22:56:38 +0000]
adding quotes around arbitrary stuff isn't safe, just stringify

13 years agomove eval_environment for accessors to the attribute metaclass
Jesse Luehrs [Fri, 17 Jun 2011 22:42:56 +0000]
move eval_environment for accessors to the attribute metaclass

13 years agomove eval_environment for constructors to the metaclass
Jesse Luehrs [Fri, 17 Jun 2011 22:28:57 +0000]
move eval_environment for constructors to the metaclass

13 years agoMake our Makefile.PL more friendly by explicitly checking for modules that it needs
Dave Rolsky [Fri, 17 Jun 2011 15:41:54 +0000]
Make our Makefile.PL more friendly by explicitly checking for modules that it needs

13 years agochangelog
Jesse Luehrs [Thu, 16 Jun 2011 22:48:16 +0000]
changelog

13 years agomake sure the correct delegation name is used in errors
Jesse Luehrs [Thu, 16 Jun 2011 17:04:50 +0000]
make sure the correct delegation name is used in errors

13 years agoif we aren't calling _inline_return_value, none of this is necessary
Jesse Luehrs [Thu, 16 Jun 2011 16:51:51 +0000]
if we aren't calling _inline_return_value, none of this is necessary

13 years agoAdd some tests for array traits to make sure it doesn't have the same accessor method...
Dave Rolsky [Thu, 16 Jun 2011 15:35:14 +0000]
Add some tests for array traits to make sure it doesn't have the same accessor method bug that hash traits had

13 years agoSort the keys in %handles when making delegation methods
Dave Rolsky [Thu, 16 Jun 2011 15:34:21 +0000]
Sort the keys in %handles when making delegation methods

This makes it easier to find a given generated method when dumping the generated source

13 years agoTweak test description and tidy code
Dave Rolsky [Thu, 16 Jun 2011 15:30:56 +0000]
Tweak test description and tidy code

13 years agoOptimize the get branch for hash accessors a little bit
Dave Rolsky [Thu, 16 Jun 2011 15:29:22 +0000]
Optimize the get branch for hash accessors a little bit

13 years agochangelog
Jesse Luehrs [Wed, 15 Jun 2011 23:33:22 +0000]
changelog

13 years agofix hash accessor generation (with a bit of a hack/:)
Jesse Luehrs [Wed, 15 Jun 2011 23:31:23 +0000]
fix hash accessor generation (with a bit of a hack/:)