15 years agoFixes to accomodate a metaclass which is an anon subclass of something
Dave Rolsky [Tue, 30 Jun 2009 20:10:11 +0000]
Fixes to accomodate a metaclass which is an anon subclass of something
like Moose::Meta::Class. This happens when you make your own metaclass
using Moose and then load modules which apply roles to the metaclass.

Also, when making the new metaclass immutable, don't inline the
constructor.

15 years agoThe immutable class's metaclass should be an object of the mutable
Dave Rolsky [Tue, 30 Jun 2009 20:01:16 +0000]
The immutable class's metaclass should be an object of the mutable
class's metaclass.

Wrap _immutable_metaclass in the trait for the sake of the tests (not
sure if the test is valid, but whatever).

15 years agoWhat the heck, make the new immutable subclass immutable itself. All
Dave Rolsky [Tue, 30 Jun 2009 19:49:08 +0000]
What the heck, make the new immutable subclass immutable itself. All
tests pass, and it just feels nice.

15 years agoalmost all tests passing!
Dave Rolsky [Tue, 30 Jun 2009 19:45:35 +0000]
almost all tests passing!

15 years agoHacking on making immutable a real(ish) trait so it doesn't show up in
Dave Rolsky [Tue, 30 Jun 2009 19:40:56 +0000]
Hacking on making immutable a real(ish) trait so it doesn't show up in
the inheritance hierarchy at all.

15 years agoAttempting to call ->make_immutable on a class instead of an object is
Dave Rolsky [Tue, 30 Jun 2009 19:38:25 +0000]
Attempting to call ->make_immutable on a class instead of an object is
just wrong, even if it accidentally works.

15 years agoIgnore temporary files created by xsubpp/eumm.
Florian Ragwitz [Tue, 30 Jun 2009 18:18:51 +0000]
Ignore temporary files created by xsubpp/eumm.

15 years agoThere can only be one PPCODE section.
Florian Ragwitz [Tue, 30 Jun 2009 18:17:52 +0000]
There can only be one PPCODE section.

15 years agoDe-tabify
Dave Rolsky [Tue, 30 Jun 2009 18:03:06 +0000]
De-tabify

15 years agoTweak comment for clarity
Dave Rolsky [Tue, 30 Jun 2009 17:28:41 +0000]
Tweak comment for clarity

15 years agoThere's no point making the new metaclass for immutable metaclasses
Dave Rolsky [Tue, 30 Jun 2009 16:10:47 +0000]
There's no point making the new metaclass for immutable metaclasses
immutable itself. We will never construct an object (we just rebless),
so there's no constructor to inline, and it's relatively uncommon to
need to introspect the new class.

15 years agoAvoid a warning when the inherited method has no uninlined body (which
Dave Rolsky [Tue, 30 Jun 2009 04:09:06 +0000]
Avoid a warning when the inherited method has no uninlined body (which
is weird but seems to happen in some bizarro cases).

15 years agoReturn an empty method map instead of undef for non-existant stashes.
Florian Ragwitz [Tue, 30 Jun 2009 18:00:47 +0000]
Return an empty method map instead of undef for non-existant stashes.

15 years agoImprove error message for metaclass incompat errors
Dave Rolsky [Tue, 30 Jun 2009 04:05:03 +0000]
Improve error message for metaclass incompat errors

15 years agoUpdate CMOP comments
Shawn M Moore [Thu, 25 Jun 2009 21:48:46 +0000]
Update CMOP comments

15 years agoMake inline_slot_access use double quotes to be consistent (found by
Cory Watson [Thu, 25 Jun 2009 19:30:34 +0000]
Make inline_slot_access use double quotes to be consistent (found by
me, blessed by Sartak)

15 years agodoc inline_rebless_instance_structure
Jesse Luehrs [Thu, 25 Jun 2009 15:35:20 +0000]
doc inline_rebless_instance_structure

15 years agoupdate Changes
Jesse Luehrs [Thu, 25 Jun 2009 15:29:24 +0000]
update Changes

15 years agoadd a few more tests for inline instance methods
Jesse Luehrs [Thu, 25 Jun 2009 15:27:51 +0000]
add a few more tests for inline instance methods

15 years agoadd inline version of rebless_instance_structure
Jesse Luehrs [Thu, 25 Jun 2009 15:15:20 +0000]
add inline version of rebless_instance_structure

15 years agoConflicts with the last Moose release 0.88
Dave Rolsky [Tue, 23 Jun 2009 19:17:03 +0000]
Conflicts with the last Moose release

15 years agobump version to 0.88
Dave Rolsky [Tue, 23 Jun 2009 19:15:04 +0000]
bump version to 0.88

15 years agoAdd release date
Dave Rolsky [Tue, 23 Jun 2009 19:14:53 +0000]
Add release date

15 years agoupdate Changes
Jesse Luehrs [Tue, 23 Jun 2009 05:36:07 +0000]
update Changes

15 years agofix up the 000_load test to handle the immutable trait changes
Jesse Luehrs [Tue, 23 Jun 2009 05:24:09 +0000]
fix up the 000_load test to handle the immutable trait changes

15 years agoneed to initialize a moose meta if called from Moose::Meta::Class
Jesse Luehrs [Tue, 23 Jun 2009 05:23:27 +0000]
need to initialize a moose meta if called from Moose::Meta::Class

15 years agomake CMOP::Immutable::Trait stop lying about its metaclass
Jesse Luehrs [Tue, 23 Jun 2009 05:22:49 +0000]
make CMOP::Immutable::Trait stop lying about its metaclass

Class::MOP::Class is an immutable class, so its metaclass really does
need to be the immutable version of itself
(Class::MOP::Class::Immutable::Class::MOP::Class). Hiding this just
causes confusing issues. Class::MOP::Class::Immutable::Class::MOP::Class
isa Class::MOP::Class, so this shouldn't actually affect the behavior of
any code (that wasn't doing things wrong to begin with).

15 years agoClass::MOP::Class::Immutable::Trait can not really be made immutable (it lies when...
Dave Rolsky [Tue, 23 Jun 2009 04:28:08 +0000]
Class::MOP::Class::Immutable::Trait can not really be made immutable (it lies when you call ->meta on it)

15 years agoRemove references to Moose
Dave Rolsky [Mon, 22 Jun 2009 13:28:37 +0000]
Remove references to Moose

15 years agoAdd an explicit return
Dave Rolsky [Sun, 21 Jun 2009 20:10:04 +0000]
Add an explicit return

15 years agoAdd release date
Dave Rolsky [Sun, 21 Jun 2009 20:00:15 +0000]
Add release date

15 years agoupdate Changes
Jesse Luehrs [Mon, 22 Jun 2009 05:34:47 +0000]
update Changes

15 years agodocument the __INSTANCE__ thing being pushed back to CMOP
Jesse Luehrs [Mon, 22 Jun 2009 02:08:05 +0000]
document the __INSTANCE__ thing being pushed back to CMOP

15 years agopush the __INSTANCE__ parameter back into cmop
Jesse Luehrs [Sun, 21 Jun 2009 20:33:30 +0000]
push the __INSTANCE__ parameter back into cmop

15 years agoUpdate changes
Dave Rolsky [Sun, 21 Jun 2009 16:29:06 +0000]
Update changes

15 years agobump version to 0.87
Dave Rolsky [Sun, 21 Jun 2009 16:18:32 +0000]
bump version to 0.87

15 years agospelling and dictionary fixes
Dave Rolsky [Sun, 21 Jun 2009 16:18:05 +0000]
spelling and dictionary fixes

15 years agoMake sure we always local-ize $@ and $SIG{__DIE__} for code evals.
Dave Rolsky [Sun, 21 Jun 2009 16:14:09 +0000]
Make sure we always local-ize $@ and $SIG{__DIE__} for code evals.

This required some changes to the CMOP::Method::Inlined API which
propogated out to anything that calls ->_eval_closure.

15 years agoMake sure to local-ize $@ and $SIG{__DIE__} for each eval, and rethrow
Dave Rolsky [Sun, 21 Jun 2009 15:57:49 +0000]
Make sure to local-ize $@ and $SIG{__DIE__} for each eval, and rethrow
$@ as needed.

15 years agoRemove a useless eval block
Dave Rolsky [Sun, 21 Jun 2009 15:54:27 +0000]
Remove a useless eval block

15 years agoThe immutable_transformer method is gone
Dave Rolsky [Sun, 21 Jun 2009 15:53:03 +0000]
The immutable_transformer method is gone

15 years agoLatest changes to CMOP destructor inlining break Moose
Dave Rolsky [Sun, 21 Jun 2009 15:39:16 +0000]
Latest changes to CMOP destructor inlining break Moose

15 years agoMinor doc formatting tweak
Dave Rolsky [Sun, 21 Jun 2009 15:37:56 +0000]
Minor doc formatting tweak

15 years agoMinor code formatting tweaks
Dave Rolsky [Sun, 21 Jun 2009 15:37:33 +0000]
Minor code formatting tweaks

15 years agoupdate Changes
Dave Rolsky [Sun, 21 Jun 2009 15:33:48 +0000]
update Changes

15 years agoDocs for immutability
Dave Rolsky [Sun, 21 Jun 2009 15:33:34 +0000]
Docs for immutability

15 years agoAdd a little more docs to CMOP::Immutable::Trait
Dave Rolsky [Sun, 21 Jun 2009 15:30:00 +0000]
Add a little more docs to CMOP::Immutable::Trait

15 years agoAdd tests for inline {con,de}structor warnings and inlining. Got rid
Dave Rolsky [Sun, 21 Jun 2009 15:20:17 +0000]
Add tests for inline {con,de}structor warnings and inlining. Got rid
of tests that need Moose.

Added a replace_destructor immutable option, and use the same logic
for inlining a destructor as we do for a constructor.

15 years agofixing test suite to address RT ticket 47119
Andrew Moore [Thu, 18 Jun 2009 16:49:18 +0000]
fixing test suite to address RT ticket 47119

changing test to require a specific version of Moose. Old versions of
Moose would make the tests fail. Now they're skipped.

15 years agoReword change a little 0.86
Dave Rolsky [Tue, 16 Jun 2009 13:41:46 +0000]
Reword change a little

15 years agobump version to 0.86
Dave Rolsky [Tue, 16 Jun 2009 13:40:16 +0000]
bump version to 0.86

15 years agoClean up changes for rela
Dave Rolsky [Tue, 16 Jun 2009 13:38:39 +0000]
Clean up changes for rela

15 years agoAdd date for next release
Dave Rolsky [Tue, 16 Jun 2009 13:37:22 +0000]
Add date for next release

15 years agoTweak some code for clarity and formatting
Dave Rolsky [Tue, 16 Jun 2009 13:36:51 +0000]
Tweak some code for clarity and formatting

15 years agoAdd changes for cache removal fix
Dave Rolsky [Tue, 16 Jun 2009 13:13:59 +0000]
Add changes for cache removal fix

15 years agoShut up a warning from this test
Dave Rolsky [Mon, 15 Jun 2009 15:32:33 +0000]
Shut up a warning from this test

15 years agoRemove commented-out code (this is why we have source control)
Dave Rolsky [Mon, 15 Jun 2009 15:31:39 +0000]
Remove commented-out code (this is why we have source control)

15 years agoFix test description
Dave Rolsky [Mon, 15 Jun 2009 15:29:40 +0000]
Fix test description

15 years agoAdd Hardison to the spelling stop list
Dave Rolsky [Mon, 15 Jun 2009 15:28:12 +0000]
Add Hardison to the spelling stop list

15 years agoUndo dylan's version bump (either do it everywhere at once or don't do
Dave Rolsky [Mon, 15 Jun 2009 15:27:04 +0000]
Undo dylan's version bump (either do it everywhere at once or don't do
it at all)

15 years agoRevert caching of added methods, since that caused a bug.
Dave Rolsky [Mon, 15 Jun 2009 15:24:54 +0000]
Revert caching of added methods, since that caused a bug.

15 years agoAdd failing test for bug where a glob-assignment-created method that
Dave Rolsky [Mon, 15 Jun 2009 15:13:13 +0000]
Add failing test for bug where a glob-assignment-created method that
replaces an accessor is never called.

15 years agoTweak skip message
Dave Rolsky [Thu, 11 Jun 2009 15:30:18 +0000]
Tweak skip message

15 years agoMerge branch 'master' of gitmo@git.shadowcat.co.uk:Class-MOP
Dylan William Hardison [Thu, 11 Jun 2009 15:21:46 +0000]
Merge branch 'master' of gitmo@git.shadowcat.co.uk:Class-MOP

15 years agoSmall code style fixes
Dave Rolsky [Thu, 11 Jun 2009 15:21:13 +0000]
Small code style fixes

15 years agobumped version, updated Changes, added myself to authors list.
Dylan William Hardison [Thu, 11 Jun 2009 15:18:01 +0000]
bumped version, updated Changes, added myself to authors list.

15 years agoremoved tabs - s/\t/ /
Dylan William Hardison [Thu, 11 Jun 2009 15:08:07 +0000]
removed tabs - s/\t/    /

15 years agoBug fix: DESTROY was being overridden by make_immutable.
Dylan William Hardison [Thu, 11 Jun 2009 14:57:08 +0000]
Bug fix: DESTROY was being overridden by make_immutable.

15 years agoTest message was wrong. Fixed.
Dylan William Hardison [Thu, 11 Jun 2009 14:56:52 +0000]
Test message was wrong. Fixed.

15 years agoAlright, test skips in the absense of Moose now.
Dylan William Hardison [Thu, 11 Jun 2009 14:55:18 +0000]
Alright, test skips in the absense of Moose now.

15 years agoadd test that requires Moose -- skips if moose is not installed.
Dylan William Hardison [Thu, 11 Jun 2009 14:48:29 +0000]
add test that requires Moose -- skips if moose is not installed.

15 years agoadded test case for immutable destroy overriding.
Dylan William Hardison [Thu, 11 Jun 2009 14:34:47 +0000]
added test case for immutable destroy overriding.

15 years agoAdded note to make clear that get_attribute does not search superclasses
Jay Kuri [Tue, 9 Jun 2009 17:53:35 +0000]
Added note to make clear that get_attribute does not search superclasses

15 years agoFormatting tweaks 0.85
Dave Rolsky [Sat, 6 Jun 2009 19:40:04 +0000]
Formatting tweaks

15 years agobump version and update Changes
Dave Rolsky [Sat, 6 Jun 2009 19:35:33 +0000]
bump version and update Changes

15 years agoRemove long, old warning about possibly outdated modules
Shawn M Moore [Sat, 30 May 2009 18:53:44 +0000]
Remove long, old warning about possibly outdated modules

15 years agoTest count fix
Shawn M Moore [Sat, 30 May 2009 18:12:04 +0000]
Test count fix

15 years agoAdd a hook for _superclasses_updated
Shawn M Moore [Thu, 28 May 2009 16:12:45 +0000]
Add a hook for _superclasses_updated

15 years agoAdded tests or UNIVERSAL methods
Marc Mims [Tue, 26 May 2009 16:14:43 +0000]
Added tests or UNIVERSAL methods

15 years agoAdd test for new subname behavior
Yuval Kogman [Sun, 24 May 2009 00:35:20 +0000]
Add test for new subname behavior

15 years agoOnly use subname on __ANON__ code refs
Yuval Kogman [Sat, 23 May 2009 21:13:00 +0000]
Only use subname on __ANON__ code refs

15 years agoAdd direct_subclasses method, also tests for that and subclasses
Shawn M Moore [Tue, 19 May 2009 23:29:05 +0000]
Add direct_subclasses method, also tests for that and subclasses

15 years agoLocalize $SIG{__DIE__} inside _try_load_one_class
Shawn M Moore [Tue, 19 May 2009 16:10:50 +0000]
Localize $SIG{__DIE__} inside _try_load_one_class

15 years agoAdd back rafl and rhesa's original changes and tweak them for steven's okay for defau...
nperez [Mon, 18 May 2009 19:29:10 +0000]
Add back rafl and rhesa's original changes and tweak them for steven's okay for default => Class::MOP::Method

15 years agobump version to 0.84 0.84
Dave Rolsky [Tue, 12 May 2009 20:08:54 +0000]
bump version to 0.84

15 years agoAdd release date
Dave Rolsky [Tue, 12 May 2009 20:08:41 +0000]
Add release date

15 years agoDepend on latest Test::Exception to avoid failing tests.
Florian Ragwitz [Tue, 12 May 2009 11:31:13 +0000]
Depend on latest Test::Exception to avoid failing tests.

Closes RT#45987.

15 years agooops. Updated the writer to the accessor to be private with an underscore and forgot...
nperez [Mon, 11 May 2009 22:19:06 +0000]
oops. Updated the writer to the accessor to be private with an underscore and forgot to update the test

15 years agoChange the writer for insertion_order to include an underscore prefix
nperez [Fri, 8 May 2009 18:51:33 +0000]
Change the writer for insertion_order to include an underscore prefix

15 years agoUpdate POD to reflect new insertion_order
nperez [Fri, 8 May 2009 18:49:19 +0000]
Update POD to reflect new insertion_order

15 years agoadd test for insertion order
nperez [Fri, 8 May 2009 18:30:12 +0000]
add test for insertion order

15 years agoand it would be a good idea to use the writer
nperez [Fri, 8 May 2009 18:29:13 +0000]
and it would be a good idea to use the writer

15 years agoinsertion order should be zero based, obviously
nperez [Fri, 8 May 2009 18:25:56 +0000]
insertion order should be zero based, obviously

15 years agoUpdate 014 test to include insertion_order
nperez [Fri, 8 May 2009 18:14:21 +0000]
Update 014 test to include insertion_order

15 years agoPopulate insertion_order when attributes are added
nperez [Fri, 8 May 2009 18:10:24 +0000]
Populate insertion_order when attributes are added

15 years agoAdd bootstrapping code for insertion_order in Attribute.pm
nperez [Fri, 8 May 2009 18:08:23 +0000]
Add bootstrapping code for insertion_order in Attribute.pm

15 years agoinsertion_order needs an writer before bootstrap
nperez [Fri, 8 May 2009 18:07:31 +0000]
insertion_order needs an writer before bootstrap

15 years agoUpdate Attribute.pm to support insertion order
nperez [Fri, 8 May 2009 17:57:14 +0000]
Update Attribute.pm to support insertion order

15 years agofix the docs for load_class to match the implementation
Jesse Luehrs [Fri, 8 May 2009 07:30:27 +0000]
fix the docs for load_class to match the implementation

15 years agonote the caveat about the IO modules and is_class_loaded
Jesse Luehrs [Fri, 8 May 2009 07:25:47 +0000]
note the caveat about the IO modules and is_class_loaded