13 years agoMerge branch 'stable' master
Florian Ragwitz [Mon, 3 Jan 2011 17:19:22 +0000]
Merge branch 'stable'

* stable:
  Version 1.12
  remove some undocumented apis from our tests

Conflicts:
Changes

13 years agoVersion 1.12 stable 1.12
Florian Ragwitz [Mon, 3 Jan 2011 17:04:21 +0000]
Version 1.12

13 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

13 years agoChanges for merged branches
Dave Rolsky [Fri, 19 Nov 2010 02:55:19 +0000]
Changes for merged branches

13 years agoactually, cmop should be handling initializers here too
Jesse Luehrs [Thu, 11 Nov 2010 17:00:11 +0000]
actually, cmop should be handling initializers here too

13 years agoa bit more refactoring
Jesse Luehrs [Thu, 11 Nov 2010 15:12:02 +0000]
a bit more refactoring

13 years agoneed to use a consistent sort order, now that this isn't cached
Jesse Luehrs [Thu, 11 Nov 2010 15:11:48 +0000]
need to use a consistent sort order, now that this isn't cached

13 years agomake the constructor a bit more extensible
Jesse Luehrs [Thu, 11 Nov 2010 05:54:07 +0000]
make the constructor a bit more extensible

13 years agostart pushing constructor inlining back into the metaclass
Jesse Luehrs [Thu, 11 Nov 2010 05:29:35 +0000]
start pushing constructor inlining back into the metaclass

13 years agopush a thin error throwing wrapper back here
Jesse Luehrs [Thu, 11 Nov 2010 03:29:45 +0000]
push a thin error throwing wrapper back here

13 years agoadd a hook in here for moose to override
Jesse Luehrs [Thu, 11 Nov 2010 01:50:39 +0000]
add a hook in here for moose to override

13 years agomake inlining a bit more easily extensible
Jesse Luehrs [Thu, 11 Nov 2010 01:34:17 +0000]
make inlining a bit more easily extensible

13 years agosimplify more stuff
Jesse Luehrs [Thu, 21 Oct 2010 06:49:35 +0000]
simplify more stuff

13 years agorefactor this to use _eval_environment
Jesse Luehrs [Thu, 21 Oct 2010 06:44:18 +0000]
refactor this to use _eval_environment

13 years agoclean up the constructor generation code
Jesse Luehrs [Thu, 21 Oct 2010 06:37:28 +0000]
clean up the constructor generation code

13 years agofactor codegen stuff out to Eval::Closure
Jesse Luehrs [Wed, 20 Oct 2010 23:20:58 +0000]
factor codegen stuff out to Eval::Closure

13 years agoclean up ::HasMethods a bunch
Jesse Luehrs [Wed, 17 Nov 2010 01:59:00 +0000]
clean up ::HasMethods a bunch

13 years agodep on the xs implementation of package-stash explicitly
Jesse Luehrs [Wed, 17 Nov 2010 00:47:22 +0000]
dep on the xs implementation of package-stash explicitly

13 years agoconvert the rest of the simple readers in cmop to xs
Jesse Luehrs [Wed, 17 Nov 2010 00:36:20 +0000]
convert the rest of the simple readers in cmop to xs

because why not?

13 years agothis should be AttributeCore
Jesse Luehrs [Tue, 16 Nov 2010 22:00:25 +0000]
this should be AttributeCore

13 years agodon't invalidate the method map if we add a method object
Jesse Luehrs [Tue, 16 Nov 2010 17:01:03 +0000]
don't invalidate the method map if we add a method object

13 years agobump the Package::Stash dep
Jesse Luehrs [Sun, 14 Nov 2010 22:33:51 +0000]
bump the Package::Stash dep

13 years agouse the package::stash get_all_package_symbols implementation
Jesse Luehrs [Sun, 14 Nov 2010 20:04:16 +0000]
use the package::stash get_all_package_symbols implementation

13 years agouse the new names for the package-stash methods
Jesse Luehrs [Sun, 14 Nov 2010 06:01:40 +0000]
use the new names for the package-stash methods

13 years agoget_package_symbol no longer calls add_package_symbol
Jesse Luehrs [Sat, 13 Nov 2010 21:49:20 +0000]
get_package_symbol no longer calls add_package_symbol

13 years agostop using the old-style api here, it's slower
Jesse Luehrs [Sat, 13 Nov 2010 21:49:05 +0000]
stop using the old-style api here, it's slower

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

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

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

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

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

13 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

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

13 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

13 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

13 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.

13 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

13 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

13 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

13 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

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

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

13 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

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

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

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

13 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

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

13 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

13 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

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

13 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.

13 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

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

13 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

13 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

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

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

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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

13 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

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

13 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

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

13 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

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

13 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

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

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

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

13 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

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

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

13 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

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

13 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

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

13 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

13 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

13 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

13 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.

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

13 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

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