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.
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).
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.
Dave Rolsky [Tue, 30 Jun 2009 19:45:35 +0000]
almost all tests passing!
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.
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.
Florian Ragwitz [Tue, 30 Jun 2009 18:18:51 +0000]
Ignore temporary files created by xsubpp/eumm.
Florian Ragwitz [Tue, 30 Jun 2009 18:17:52 +0000]
There can only be one PPCODE section.
Dave Rolsky [Tue, 30 Jun 2009 18:03:06 +0000]
De-tabify
Dave Rolsky [Tue, 30 Jun 2009 17:28:41 +0000]
Tweak comment for clarity
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.
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).
Florian Ragwitz [Tue, 30 Jun 2009 18:00:47 +0000]
Return an empty method map instead of undef for non-existant stashes.
Dave Rolsky [Tue, 30 Jun 2009 04:05:03 +0000]
Improve error message for metaclass incompat errors
Shawn M Moore [Thu, 25 Jun 2009 21:48:46 +0000]
Update CMOP comments
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)
Jesse Luehrs [Thu, 25 Jun 2009 15:35:20 +0000]
doc inline_rebless_instance_structure
Jesse Luehrs [Thu, 25 Jun 2009 15:29:24 +0000]
update Changes
Jesse Luehrs [Thu, 25 Jun 2009 15:27:51 +0000]
add a few more tests for inline instance methods
Jesse Luehrs [Thu, 25 Jun 2009 15:15:20 +0000]
add inline version of rebless_instance_structure
Dave Rolsky [Tue, 23 Jun 2009 19:17:03 +0000]
Conflicts with the last Moose release
Dave Rolsky [Tue, 23 Jun 2009 19:15:04 +0000]
bump version to 0.88
Dave Rolsky [Tue, 23 Jun 2009 19:14:53 +0000]
Add release date
Jesse Luehrs [Tue, 23 Jun 2009 05:36:07 +0000]
update Changes
Jesse Luehrs [Tue, 23 Jun 2009 05:24:09 +0000]
fix up the 000_load test to handle the immutable trait changes
Jesse Luehrs [Tue, 23 Jun 2009 05:23:27 +0000]
need to initialize a moose meta if called from Moose::Meta::Class
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).
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)
Dave Rolsky [Mon, 22 Jun 2009 13:28:37 +0000]
Remove references to Moose
Dave Rolsky [Sun, 21 Jun 2009 20:10:04 +0000]
Add an explicit return
Dave Rolsky [Sun, 21 Jun 2009 20:00:15 +0000]
Add release date
Jesse Luehrs [Mon, 22 Jun 2009 05:34:47 +0000]
update Changes
Jesse Luehrs [Mon, 22 Jun 2009 02:08:05 +0000]
document the __INSTANCE__ thing being pushed back to CMOP
Jesse Luehrs [Sun, 21 Jun 2009 20:33:30 +0000]
push the __INSTANCE__ parameter back into cmop
Dave Rolsky [Sun, 21 Jun 2009 16:29:06 +0000]
Update changes
Dave Rolsky [Sun, 21 Jun 2009 16:18:32 +0000]
bump version to 0.87
Dave Rolsky [Sun, 21 Jun 2009 16:18:05 +0000]
spelling and dictionary fixes
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.
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.
Dave Rolsky [Sun, 21 Jun 2009 15:54:27 +0000]
Remove a useless eval block
Dave Rolsky [Sun, 21 Jun 2009 15:53:03 +0000]
The immutable_transformer method is gone
Dave Rolsky [Sun, 21 Jun 2009 15:39:16 +0000]
Latest changes to CMOP destructor inlining break Moose
Dave Rolsky [Sun, 21 Jun 2009 15:37:56 +0000]
Minor doc formatting tweak
Dave Rolsky [Sun, 21 Jun 2009 15:37:33 +0000]
Minor code formatting tweaks
Dave Rolsky [Sun, 21 Jun 2009 15:33:48 +0000]
update Changes
Dave Rolsky [Sun, 21 Jun 2009 15:33:34 +0000]
Docs for immutability
Dave Rolsky [Sun, 21 Jun 2009 15:30:00 +0000]
Add a little more docs to CMOP::Immutable::Trait
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.
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.
Dave Rolsky [Tue, 16 Jun 2009 13:41:46 +0000]
Reword change a little
Dave Rolsky [Tue, 16 Jun 2009 13:40:16 +0000]
bump version to 0.86
Dave Rolsky [Tue, 16 Jun 2009 13:38:39 +0000]
Clean up changes for rela
Dave Rolsky [Tue, 16 Jun 2009 13:37:22 +0000]
Add date for next release
Dave Rolsky [Tue, 16 Jun 2009 13:36:51 +0000]
Tweak some code for clarity and formatting
Dave Rolsky [Tue, 16 Jun 2009 13:13:59 +0000]
Add changes for cache removal fix
Dave Rolsky [Mon, 15 Jun 2009 15:32:33 +0000]
Shut up a warning from this test
Dave Rolsky [Mon, 15 Jun 2009 15:31:39 +0000]
Remove commented-out code (this is why we have source control)
Dave Rolsky [Mon, 15 Jun 2009 15:29:40 +0000]
Fix test description
Dave Rolsky [Mon, 15 Jun 2009 15:28:12 +0000]
Add Hardison to the spelling stop list
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)
Dave Rolsky [Mon, 15 Jun 2009 15:24:54 +0000]
Revert caching of added methods, since that caused a bug.
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.
Dave Rolsky [Thu, 11 Jun 2009 15:30:18 +0000]
Tweak skip message
Dylan William Hardison [Thu, 11 Jun 2009 15:21:46 +0000]
Merge branch 'master' of gitmo@git.shadowcat.co.uk:Class-MOP
Dave Rolsky [Thu, 11 Jun 2009 15:21:13 +0000]
Small code style fixes
Dylan William Hardison [Thu, 11 Jun 2009 15:18:01 +0000]
bumped version, updated Changes, added myself to authors list.
Dylan William Hardison [Thu, 11 Jun 2009 15:08:07 +0000]
removed tabs - s/\t/ /
Dylan William Hardison [Thu, 11 Jun 2009 14:57:08 +0000]
Bug fix: DESTROY was being overridden by make_immutable.
Dylan William Hardison [Thu, 11 Jun 2009 14:56:52 +0000]
Test message was wrong. Fixed.
Dylan William Hardison [Thu, 11 Jun 2009 14:55:18 +0000]
Alright, test skips in the absense of Moose now.
Dylan William Hardison [Thu, 11 Jun 2009 14:48:29 +0000]
add test that requires Moose -- skips if moose is not installed.
Dylan William Hardison [Thu, 11 Jun 2009 14:34:47 +0000]
added test case for immutable destroy overriding.
Jay Kuri [Tue, 9 Jun 2009 17:53:35 +0000]
Added note to make clear that get_attribute does not search superclasses
Dave Rolsky [Sat, 6 Jun 2009 19:40:04 +0000]
Formatting tweaks
Dave Rolsky [Sat, 6 Jun 2009 19:35:33 +0000]
bump version and update Changes
Shawn M Moore [Sat, 30 May 2009 18:53:44 +0000]
Remove long, old warning about possibly outdated modules
Shawn M Moore [Sat, 30 May 2009 18:12:04 +0000]
Test count fix
Shawn M Moore [Thu, 28 May 2009 16:12:45 +0000]
Add a hook for _superclasses_updated
Marc Mims [Tue, 26 May 2009 16:14:43 +0000]
Added tests or UNIVERSAL methods
Yuval Kogman [Sun, 24 May 2009 00:35:20 +0000]
Add test for new subname behavior
Yuval Kogman [Sat, 23 May 2009 21:13:00 +0000]
Only use subname on __ANON__ code refs
Shawn M Moore [Tue, 19 May 2009 23:29:05 +0000]
Add direct_subclasses method, also tests for that and subclasses
Shawn M Moore [Tue, 19 May 2009 16:10:50 +0000]
Localize $SIG{__DIE__} inside _try_load_one_class
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
Dave Rolsky [Tue, 12 May 2009 20:08:54 +0000]
bump version to 0.84
Dave Rolsky [Tue, 12 May 2009 20:08:41 +0000]
Add release date
Florian Ragwitz [Tue, 12 May 2009 11:31:13 +0000]
Depend on latest Test::Exception to avoid failing tests.
Closes RT#45987.
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
nperez [Fri, 8 May 2009 18:51:33 +0000]
Change the writer for insertion_order to include an underscore prefix
nperez [Fri, 8 May 2009 18:49:19 +0000]
Update POD to reflect new insertion_order
nperez [Fri, 8 May 2009 18:30:12 +0000]
add test for insertion order
nperez [Fri, 8 May 2009 18:29:13 +0000]
and it would be a good idea to use the writer
nperez [Fri, 8 May 2009 18:25:56 +0000]
insertion order should be zero based, obviously
nperez [Fri, 8 May 2009 18:14:21 +0000]
Update 014 test to include insertion_order
nperez [Fri, 8 May 2009 18:10:24 +0000]
Populate insertion_order when attributes are added
nperez [Fri, 8 May 2009 18:08:23 +0000]
Add bootstrapping code for insertion_order in Attribute.pm
nperez [Fri, 8 May 2009 18:07:31 +0000]
insertion_order needs an writer before bootstrap
nperez [Fri, 8 May 2009 17:57:14 +0000]
Update Attribute.pm to support insertion order
Jesse Luehrs [Fri, 8 May 2009 07:30:27 +0000]
fix the docs for load_class to match the implementation
Jesse Luehrs [Fri, 8 May 2009 07:25:47 +0000]
note the caveat about the IO modules and is_class_loaded