14 years agoremove some undocumented apis from our tests
Jesse Luehrs [Fri, 12 Nov 2010 23:11:19 +0000]
remove some undocumented apis from our tests

14 years agospeed up has_method a little bit, hopefully
Jesse Luehrs [Fri, 12 Nov 2010 02:46:04 +0000]
speed up has_method a little bit, hopefully

14 years agocache the full method map where possible
Jesse Luehrs [Fri, 12 Nov 2010 02:11:38 +0000]
cache the full method map where possible

14 years agoalso need to remove methods from the map when it's invalidated
Jesse Luehrs [Thu, 11 Nov 2010 23:02:38 +0000]
also need to remove methods from the map when it's invalidated

14 years agoi think the changes i made to _method_map could make this work?
Jesse Luehrs [Thu, 11 Nov 2010 22:13:04 +0000]
i think the changes i made to _method_map could make this work?

i don't know though, i don't know what was breaking previously

14 years agomove the package_cache stuff back into ::HasMethods
Jesse Luehrs [Thu, 11 Nov 2010 21:25:31 +0000]
move the package_cache stuff back into ::HasMethods

14 years agoget rid of _full_method_map, and make _method_map do the cache checks
Jesse Luehrs [Thu, 11 Nov 2010 21:22:14 +0000]
get rid of _full_method_map, and make _method_map do the cache checks

14 years agotest fail with Sub::Name 0.04; bump prereq
Gerda Shank [Thu, 11 Nov 2010 17:57:28 +0000]
test fail with Sub::Name 0.04; bump prereq

14 years agoUpdate release date 1.11
Dave Rolsky [Sun, 31 Oct 2010 16:27:25 +0000]
Update release date

14 years agoRequire Package::Stash 0.13
Dave Rolsky [Sun, 31 Oct 2010 16:25:18 +0000]
Require Package::Stash 0.13

14 years agobump version to 1.11
Dave Rolsky [Fri, 29 Oct 2010 13:53:03 +0000]
bump version to 1.11

14 years agoAdd version & release date
Dave Rolsky [Fri, 29 Oct 2010 13:52:54 +0000]
Add version & release date

14 years agoCredit changes for Test::Fatal
Dave Rolsky [Thu, 28 Oct 2010 22:22:13 +0000]
Credit changes for Test::Fatal

14 years agoRedo conversion to Test::Fatal
Dave Rolsky [Thu, 28 Oct 2010 21:52:20 +0000]
Redo conversion to Test::Fatal

14 years agoRevert "convert all uses of Test::Exception to Test::Fatal."
Dave Rolsky [Thu, 28 Oct 2010 21:49:43 +0000]
Revert "convert all uses of Test::Exception to Test::Fatal."

This reverts commit 13b8971fa6cc4edf7d55a2e5482820d62ba38f16.

Conflicts:

Makefile.PL

14 years agoTidy lists of required modules
Dave Rolsky [Thu, 28 Oct 2010 00:19:26 +0000]
Tidy lists of required modules

14 years agoBump Package::DeprecationManager dep to avoid Test::Exception in prereq chain
Dave Rolsky [Thu, 28 Oct 2010 00:18:41 +0000]
Bump Package::DeprecationManager dep to avoid Test::Exception in prereq chain

14 years agonote the switch to Test::Fatal in changelog
Ricardo Signes [Mon, 25 Oct 2010 11:52:48 +0000]
note the switch to Test::Fatal in changelog

14 years agoconvert all uses of Test::Exception to Test::Fatal.
Karen Etheridge [Sun, 24 Oct 2010 18:03:43 +0000]
convert all uses of Test::Exception to Test::Fatal.

14 years agoUpdates release # and date in Changes 1.10
Dave Rolsky [Mon, 18 Oct 2010 14:37:21 +0000]
Updates release # and date in Changes

14 years agoimplement inlined access to the mop slot, to fix immutable anon classes
Jesse Luehrs [Sat, 16 Oct 2010 00:29:23 +0000]
implement inlined access to the mop slot, to fix immutable anon classes

14 years agomove the __MOP__ stuff back into the instance metaclass
Jesse Luehrs [Sat, 16 Oct 2010 00:28:35 +0000]
move the __MOP__ stuff back into the instance metaclass

14 years agobump version to 1.10 so we can dep on it in Moose
Dave Rolsky [Sat, 16 Oct 2010 01:41:37 +0000]
bump version to 1.10 so we can dep on it in Moose

14 years agoadd inline_get_is_lvalue
Jesse Luehrs [Fri, 15 Oct 2010 22:08:37 +0000]
add inline_get_is_lvalue

14 years agochangelog
Jesse Luehrs [Sat, 16 Oct 2010 00:30:28 +0000]
changelog

14 years agothe __MOP__ slot should be used for any weak class, not just anon
Jesse Luehrs [Fri, 1 Oct 2010 04:59:32 +0000]
the __MOP__ slot should be used for any weak class, not just anon

14 years agodocs for weaken
Jesse Luehrs [Fri, 1 Oct 2010 04:56:25 +0000]
docs for weaken

14 years agoweaken properly on reinitialize
Jesse Luehrs [Fri, 1 Oct 2010 04:46:12 +0000]
weaken properly on reinitialize

14 years agoadd Class::MOP::metaclass_is_weak
Jesse Luehrs [Fri, 1 Oct 2010 02:37:07 +0000]
add Class::MOP::metaclass_is_weak

14 years agodon't let anon classes disappear while subclasses still exist
Jesse Luehrs [Fri, 1 Oct 2010 00:26:28 +0000]
don't let anon classes disappear while subclasses still exist

14 years agomake weakening of anon classes explicit
Jesse Luehrs [Fri, 1 Oct 2010 00:18:58 +0000]
make weakening of anon classes explicit

14 years agoadd a bunch of anon class tests
Jesse Luehrs [Thu, 30 Sep 2010 23:49:18 +0000]
add a bunch of anon class tests

14 years agofix up the __MOP__ slot when reblessing to or from anon classes
Jesse Luehrs [Thu, 30 Sep 2010 22:36:50 +0000]
fix up the __MOP__ slot when reblessing to or from anon classes

14 years ago# and date for 1.09 1.09
Dave Rolsky [Tue, 5 Oct 2010 19:05:32 +0000]
# and date for 1.09

14 years agoRevert "document the return value of add_attribute"
Karen Etheridge [Wed, 29 Sep 2010 19:24:54 +0000]
Revert "document the return value of add_attribute"

This reverts commit 392c350b99ac9271d8a2ef56b913daa6e0a77f0e.

14 years agodocument the return value of add_attribute
Karen Etheridge [Wed, 29 Sep 2010 00:04:39 +0000]
document the return value of add_attribute

14 years agofix pod markup error
Karen Etheridge [Wed, 29 Sep 2010 00:03:42 +0000]
fix pod markup error

14 years agolet the method subclasses take care of their own hackery
Jesse Luehrs [Mon, 27 Sep 2010 20:45:08 +0000]
let the method subclasses take care of their own hackery

14 years agorequire Class::MOP in MiniTrait - fixes some failure cases
Dave Rolsky [Mon, 27 Sep 2010 17:53:02 +0000]
require Class::MOP in MiniTrait - fixes some failure cases

14 years agoa few more spelling exceptions
Jesse Luehrs [Mon, 27 Sep 2010 15:07:54 +0000]
a few more spelling exceptions

14 years agoversion bump ::Meta
Jesse Luehrs [Mon, 27 Sep 2010 15:06:10 +0000]
version bump ::Meta

14 years agofix warning on earlier perls
Jesse Luehrs [Mon, 27 Sep 2010 15:05:44 +0000]
fix warning on earlier perls

14 years agoactually, why not make the meta method renameable
Jesse Luehrs [Mon, 27 Sep 2010 08:05:03 +0000]
actually, why not make the meta method renameable

14 years agough, need the hack for this too
Jesse Luehrs [Mon, 27 Sep 2010 07:46:54 +0000]
ugh, need the hack for this too

14 years agobootstrap the meta method in CMOP::Mixin too
Jesse Luehrs [Mon, 27 Sep 2010 01:14:42 +0000]
bootstrap the meta method in CMOP::Mixin too

14 years agopass no_meta in the tests where we hardcode method metaclasses
Jesse Luehrs [Mon, 27 Sep 2010 01:05:58 +0000]
pass no_meta in the tests where we hardcode method metaclasses

14 years agochangelog
Jesse Luehrs [Thu, 23 Sep 2010 08:34:47 +0000]
changelog

14 years agomove this back to HasMethods, since moose roles will need it too
Jesse Luehrs [Thu, 23 Sep 2010 08:14:43 +0000]
move this back to HasMethods, since moose roles will need it too

14 years agotests for meta method object
Jesse Luehrs [Thu, 23 Sep 2010 07:59:09 +0000]
tests for meta method object

14 years agomake this a bit more extensible, for moose's benefit
Jesse Luehrs [Thu, 23 Sep 2010 07:48:07 +0000]
make this a bit more extensible, for moose's benefit

14 years agogive CMOP::Object a real meta method, and simplify some things
Jesse Luehrs [Thu, 23 Sep 2010 07:31:52 +0000]
give CMOP::Object a real meta method, and simplify some things

14 years agofactor out meta method generation
Jesse Luehrs [Thu, 23 Sep 2010 05:43:14 +0000]
factor out meta method generation

14 years agodon't pass %options through again here, metaclass compat will handle it
Jesse Luehrs [Thu, 23 Sep 2010 05:34:43 +0000]
don't pass %options through again here, metaclass compat will handle it

14 years agough, hacks
Jesse Luehrs [Mon, 27 Sep 2010 07:37:55 +0000]
ugh, hacks

14 years agopush this stuff back into HasMethods and HasAttributes
Jesse Luehrs [Mon, 27 Sep 2010 06:59:52 +0000]
push this stuff back into HasMethods and HasAttributes

14 years agosimplify
Jesse Luehrs [Mon, 27 Sep 2010 06:41:09 +0000]
simplify

14 years agopush a bunch of details about metaclass compat into CMOP::Object
Jesse Luehrs [Mon, 27 Sep 2010 04:09:57 +0000]
push a bunch of details about metaclass compat into CMOP::Object

14 years agoThis CMOP conflicts with Moose
Dave Rolsky [Mon, 27 Sep 2010 01:01:40 +0000]
This CMOP conflicts with Moose

14 years agobump version to 1.09
Dave Rolsky [Mon, 27 Sep 2010 01:00:32 +0000]
bump version to 1.09

14 years agoAdd some whitespace and NEXT
Dave Rolsky [Mon, 27 Sep 2010 00:58:27 +0000]
Add some whitespace and NEXT

14 years agoreorder these methods into a more "proper" order
Jesse Luehrs [Mon, 27 Sep 2010 00:12:56 +0000]
reorder these methods into a more "proper" order

14 years agohandle reblessing metaclasses with attributes properly
Jesse Luehrs [Mon, 27 Sep 2010 00:07:03 +0000]
handle reblessing metaclasses with attributes properly

14 years agochangelog
Jesse Luehrs [Sun, 26 Sep 2010 19:44:07 +0000]
changelog

14 years agomake sure accessors are properly removed on reinitialize
Jesse Luehrs [Sun, 26 Sep 2010 11:33:01 +0000]
make sure accessors are properly removed on reinitialize

14 years agobetter tests
Jesse Luehrs [Sun, 26 Sep 2010 09:56:10 +0000]
better tests

14 years agobasic implementation of preserving attrs/methods across reinitialization
Jesse Luehrs [Sun, 26 Sep 2010 09:04:53 +0000]
basic implementation of preserving attrs/methods across reinitialization

14 years agoAdd inline_rebless_instance to metaclass
Dave Rolsky [Sun, 26 Sep 2010 15:51:46 +0000]
Add inline_rebless_instance to metaclass

14 years agoWhen inlining constructor, don't access meta instance directly, use metaclass to...
Dave Rolsky [Sun, 26 Sep 2010 05:16:27 +0000]
When inlining constructor, don't access meta instance directly, use metaclass to do inlining

14 years agoImplement inlining code in CMOP::Attribute
Dave Rolsky [Sun, 26 Sep 2010 05:09:03 +0000]
Implement inlining code in CMOP::Attribute

This can mostly be reused in Moose, and ensures all attributes have a consistent API

14 years agoUse AuthorRequires to force authors to run all tests
Shawn M Moore [Sun, 26 Sep 2010 03:19:13 +0000]
Use AuthorRequires to force authors to run all tests

14 years agoAdd CMOP::MiniTrait
Dave Rolsky [Thu, 23 Sep 2010 17:14:43 +0000]
Add CMOP::MiniTrait

This just takes the logic that we use when applying the immutability trait and
puts it into a separate package for reuse by other core classes.

14 years agocorrect link to Perl6-ObjectSpace
Ricardo Signes [Thu, 23 Sep 2010 15:11:06 +0000]
correct link to Perl6-ObjectSpace

14 years agoalso allow suppressing the meta method during CMOP::Class->create
Jesse Luehrs [Thu, 23 Sep 2010 04:59:40 +0000]
also allow suppressing the meta method during CMOP::Class->create

14 years agodocs and changelog
Jesse Luehrs [Thu, 23 Sep 2010 04:50:38 +0000]
docs and changelog

14 years agomake lack of a meta method testable
Jesse Luehrs [Thu, 23 Sep 2010 01:26:07 +0000]
make lack of a meta method testable

14 years agodon't both "use metaclass" and then "use base 'Class::MOP::Class'"
Jesse Luehrs [Thu, 23 Sep 2010 00:50:24 +0000]
don't both "use metaclass" and then "use base 'Class::MOP::Class'"

this breaks several assumptions, including metaclass compatibility (use
base can't recheck that) and the existence of a 'meta' method (if
no_meta => 1 is passed to use metaclass). neither of these are an issue
here specifically, but better to not open up the issue (and it's not
necessary anyway).

14 years agoallow not importing a meta method
Jesse Luehrs [Tue, 6 Jul 2010 05:50:15 +0000]
allow not importing a meta method

14 years agouse get_or_add_package_symbol where appropriate
Jesse Luehrs [Wed, 22 Sep 2010 18:17:28 +0000]
use get_or_add_package_symbol where appropriate

14 years ago_get_method_map was renamed to _method_map a while ago
Jesse Luehrs [Wed, 22 Sep 2010 16:43:25 +0000]
_get_method_map was renamed to _method_map a while ago

14 years agoDepend on a known good version of Package::Stash
Florian Ragwitz [Mon, 20 Sep 2010 18:47:34 +0000]
Depend on a known good version of Package::Stash

14 years agoremove debugging warn
Dave Rolsky [Fri, 17 Sep 2010 20:19:54 +0000]
remove debugging warn

14 years agoRemove pointless concatenation
Dave Rolsky [Thu, 16 Sep 2010 16:37:26 +0000]
Remove pointless concatenation

14 years agoUse Perl::Tidy to tidy dump of generate source code if we can.
Dave Rolsky [Wed, 15 Sep 2010 02:04:56 +0000]
Use Perl::Tidy to tidy dump of generate source code if we can.

Also check source dumping env var each time we generate a sub. This makes it
possible to turn it on selectively, at the cost of a small speed hit (which I
really doubt matters next to the cost of eval'ing a block of code!)

14 years agoBump version to 1.08 1.08
Dave Rolsky [Mon, 13 Sep 2010 15:54:04 +0000]
Bump version to 1.08

14 years agoRelease date for 1.08
Dave Rolsky [Mon, 13 Sep 2010 15:53:57 +0000]
Release date for 1.08

14 years agoadd conflict for earlier namespace::autoclean, which uses deprecated method_map calls
Karen Etheridge [Sat, 11 Sep 2010 17:49:32 +0000]
add conflict for earlier namespace::autoclean, which uses deprecated method_map calls

14 years agoDoc changes from gfx
Dave Rolsky [Mon, 6 Sep 2010 15:00:40 +0000]
Doc changes from gfx

14 years agoClarify comment for new code
Dave Rolsky [Mon, 6 Sep 2010 14:59:45 +0000]
Clarify comment for new code

14 years agoTidy code
Dave Rolsky [Mon, 6 Sep 2010 14:59:24 +0000]
Tidy code

14 years agoFix a bug that get_method_list() thrown the error for subroutine stubs
gfx [Mon, 6 Sep 2010 04:56:35 +0000]
Fix a bug that get_method_list() thrown the error for subroutine stubs

14 years agouse Test::Requires in tests
Karen Etheridge [Tue, 24 Aug 2010 20:34:47 +0000]
use Test::Requires in tests

14 years agoMake M::I::ExtraTests fail more obvious
Florian Ragwitz [Tue, 24 Aug 2010 19:26:16 +0000]
Make M::I::ExtraTests fail more obvious

14 years agoSmall changes wording tweaks 1.07
Dave Rolsky [Tue, 24 Aug 2010 14:38:07 +0000]
Small changes wording tweaks

14 years agobump version to 1.07
Dave Rolsky [Tue, 24 Aug 2010 14:37:46 +0000]
bump version to 1.07

14 years agoChanges for 1.07
Dave Rolsky [Tue, 24 Aug 2010 14:37:25 +0000]
Changes for 1.07

14 years agoFix a mysterious failure reported by Piers Cawley
Dave Rolsky [Tue, 24 Aug 2010 14:36:32 +0000]
Fix a mysterious failure reported by Piers Cawley

Unfortunately, neither of us could think of a simple test for this, but Piers
confirmed that the patch fixes the failure he saw in production. May be
related to the use of MX::Declare and/or TryCatch.

14 years agoRestore the call to check_conflicts 1.06
Dave Rolsky [Mon, 23 Aug 2010 13:34:57 +0000]
Restore the call to check_conflicts

14 years agoRevert "Use check_conflicts from Module::Install"
Dave Rolsky [Mon, 23 Aug 2010 13:34:04 +0000]
Revert "Use check_conflicts from Module::Install"

This reverts commit 3f3e009e602ec89c1f724e3fabef114ddf68e6d3.

Using this seems to break make disttest and I don't have time to figure this
out.

14 years agoRemove extra use of check_conflicts
Dave Rolsky [Mon, 23 Aug 2010 13:20:38 +0000]
Remove extra use of check_conflicts

14 years agobump version to 1.06
Dave Rolsky [Mon, 23 Aug 2010 13:18:47 +0000]
bump version to 1.06