14 years agoupdate docs for calling ->wrap on a method object
Jesse Luehrs [Sun, 26 Jul 2009 03:21:36 +0000]
update docs for calling ->wrap on a method object

14 years agoadd tests for wrapping a method metaobject
Jesse Luehrs [Sun, 26 Jul 2009 02:07:39 +0000]
add tests for wrapping a method metaobject

14 years agoclone and rebless when wrapping a method object
Jesse Luehrs [Sun, 26 Jul 2009 02:17:06 +0000]
clone and rebless when wrapping a method object

14 years agomove Changes to an unreleased version
Hans Dieter Pearcey [Wed, 22 Jul 2009 23:18:24 +0000]
move Changes to an unreleased version

14 years agoMerge branch 'master' into method_map_move
Hans Dieter Pearcey [Wed, 22 Jul 2009 23:02:54 +0000]
Merge branch 'master' into method_map_move

Conflicts:
lib/Class/MOP/Class.pm
t/010_self_introspection.t

14 years agoFix RT #48072 using isGV_with_GP directly, which is now ported by ppport.h
gfx [Wed, 22 Jul 2009 00:58:29 +0000]
Fix RT #48072 using isGV_with_GP directly, which is now ported by ppport.h

14 years agoUpdate ppport.h to 3.19
gfx [Wed, 22 Jul 2009 00:56:56 +0000]
Update ppport.h to 3.19

14 years agoUpdate dependencies in README
gfx [Wed, 22 Jul 2009 00:34:47 +0000]
Update dependencies in README

14 years agoAdd a release date 0.90
Dave Rolsky [Tue, 21 Jul 2009 21:04:54 +0000]
Add a release date

14 years agobump version to 0.90
Dave Rolsky [Tue, 21 Jul 2009 20:58:05 +0000]
bump version to 0.90

14 years agoUpdate changelog for 0.90
Dave Rolsky [Tue, 21 Jul 2009 20:56:10 +0000]
Update changelog for 0.90

14 years agoFix exception when $_ is modified in before/after.
Stash [Fri, 17 Jul 2009 01:10:03 +0000]
Fix exception when $_ is modified in before/after.

I _think_ what's happening here is that $_ was getting aliased to an entry in
@$before/@$after, so that modifying $_ would in fact modify that array slot's
scalar.

Declaring `my $c` like this doesn't seem to impact performance vs. using $_.
Putting it outside the "cache" closure means `my` only gets run once.

14 years agoMethod modifier tweaks. Add missing Wrapped::_new()
gfx [Thu, 16 Jul 2009 00:07:06 +0000]
Method modifier tweaks. Add missing Wrapped::_new()

14 years agoRemove has_method() in _immutable_metaclass(), which always returns false
gfx [Wed, 15 Jul 2009 23:58:23 +0000]
Remove has_method() in _immutable_metaclass(), which always returns false

14 years agoRemove unnecessary calls of has_method()
gfx [Wed, 15 Jul 2009 23:56:07 +0000]
Remove unnecessary calls of has_method()

has_method() is simply "defined get_method(...)".

14 years agoDon't fail if a coderef's GV doesn't have a stash.
Florian Ragwitz [Wed, 15 Jul 2009 22:24:36 +0000]
Don't fail if a coderef's GV doesn't have a stash.

14 years agoMore code tidying
Dave Rolsky [Wed, 15 Jul 2009 14:36:55 +0000]
More code tidying

14 years agoFix a typo in Changes
Dave Rolsky [Wed, 15 Jul 2009 14:35:21 +0000]
Fix a typo in Changes

14 years agotidy new code from Goro
Dave Rolsky [Wed, 15 Jul 2009 14:35:07 +0000]
tidy new code from Goro

14 years agovarious tweaks, and refactor _instantiate_module not to use eval STRING
gfx [Wed, 15 Jul 2009 10:52:04 +0000]
various tweaks, and refactor _instantiate_module not to use eval STRING

14 years agono get_method_map in get_all_method_names
gfx [Wed, 15 Jul 2009 10:16:05 +0000]
no get_method_map in get_all_method_names

14 years agoFix bench/foo.pl
gfx [Wed, 15 Jul 2009 08:39:01 +0000]
Fix bench/foo.pl

14 years agoProfile script for KiokuDB
gfx [Wed, 15 Jul 2009 08:37:12 +0000]
Profile script for KiokuDB

14 years agoNote about JPA's sponsorship and the importance of testing for back-compat
Shawn M Moore [Wed, 15 Jul 2009 07:32:49 +0000]
Note about JPA's sponsorship and the importance of testing for back-compat

14 years agoChanges entry for gfx/topic/reduce-inline-constructor
Shawn M Moore [Wed, 15 Jul 2009 07:29:44 +0000]
Changes entry for gfx/topic/reduce-inline-constructor

14 years agoMerge branch 'topic/reduce-inline-constructor' of git://github.com/gfx/class-mop
Shawn M Moore [Wed, 15 Jul 2009 07:28:54 +0000]
Merge branch 'topic/reduce-inline-constructor' of git://github.com/gfx/class-mop

14 years agoChanges entry for gfx/topic/no-get_method_map
Shawn M Moore [Wed, 15 Jul 2009 07:21:19 +0000]
Changes entry for gfx/topic/no-get_method_map

14 years agoMerge branch 'topic/no-get_method_map' of git://github.com/gfx/class-mop
Shawn M Moore [Wed, 15 Jul 2009 07:21:06 +0000]
Merge branch 'topic/no-get_method_map' of git://github.com/gfx/class-mop

14 years agoImprove profiling script. Type "perl bench/profile.pl" and nytprof-$branch will be...
gfx [Wed, 15 Jul 2009 06:13:52 +0000]
Improve profiling script. Type "perl bench/profile.pl" and nytprof-$branch will be created.

14 years agoExtend bench/loading-benchmark.pl
gfx [Wed, 15 Jul 2009 04:17:56 +0000]
Extend bench/loading-benchmark.pl

Usage: perl loading-benchmark.pl [count] [module]

14 years agoMove __class_to_pmfile() in load_first_existing_class() to a correct place
gfx [Wed, 15 Jul 2009 04:14:00 +0000]
Move __class_to_pmfile() in load_first_existing_class() to a correct place

14 years agowrap_method_body is in Package now
Shawn M Moore [Sun, 12 Jul 2009 23:20:40 +0000]
wrap_method_body is in Package now

14 years agomove get_method_map into Package
Hans Dieter Pearcey [Sun, 12 Jul 2009 23:04:03 +0000]
move get_method_map into Package

14 years agoImplement an idea of reducing inline constructors in basic metaclasses
gfx [Sun, 12 Jul 2009 07:04:38 +0000]
Implement an idea of reducing inline constructors in basic metaclasses

put all the inlined constructors _new() in modules directly.

14 years agoadd_attribute tweaks
gfx [Sun, 12 Jul 2009 04:41:30 +0000]
add_attribute tweaks

14 years agoMerge branch 'master' of gitmo@git.moose.perl.org:Class-MOP
gfx [Sun, 12 Jul 2009 04:32:46 +0000]
Merge branch 'master' of gitmo@git.moose.perl.org:Class-MOP

14 years agoCache init_arg() in _generate_slot_initializer()
gfx [Sun, 12 Jul 2009 04:31:21 +0000]
Cache init_arg() in _generate_slot_initializer()

14 years agono get_method_map in get_method_list
gfx [Sun, 12 Jul 2009 03:55:08 +0000]
no get_method_map in get_method_list

14 years agoRemove method object generation stuff, which is no longer required
gfx [Sun, 12 Jul 2009 03:54:02 +0000]
Remove method object generation stuff, which is no longer required

14 years agothis syntax apparently hasn't worked in a while
Jesse Luehrs [Sat, 11 Jul 2009 22:10:09 +0000]
this syntax apparently hasn't worked in a while

14 years agorefactoring no-get_method_map with package symmbol APIs
gfx [Fri, 10 Jul 2009 06:31:49 +0000]
refactoring no-get_method_map with package symmbol APIs

14 years agoImprove get_method/has_method/add_method not to use get_method_map.
gfx [Fri, 10 Jul 2009 03:26:44 +0000]
Improve get_method/has_method/add_method not to use get_method_map.

Normal method objects, or implicit methods, are no longer created until required.
bench/loading-benchmark.pl says this makes loading time 10% faster.

14 years agoRevert "give unique names to method modifiers"
Dave Rolsky [Tue, 7 Jul 2009 20:46:01 +0000]
Revert "give unique names to method modifiers"

This reverts commit 3a642c024cf3e964eedddffa171cc501bac9265d.

14 years agoRevert "really try to make method modifier names unique"
Dave Rolsky [Tue, 7 Jul 2009 20:45:54 +0000]
Revert "really try to make method modifier names unique"

This reverts commit 4884b0cd5dd83114eba79aa05372cb0d52309f80.

14 years agoreally try to make method modifier names unique
Dave Rolsky [Tue, 7 Jul 2009 18:07:57 +0000]
really try to make method modifier names unique

14 years agogive unique names to method modifiers
Dave Rolsky [Tue, 7 Jul 2009 18:05:48 +0000]
give unique names to method modifiers

14 years agoapply patch from Goro Fuji for anon class mem leak
Dave Rolsky [Mon, 6 Jul 2009 18:51:24 +0000]
apply patch from Goro Fuji for anon class mem leak

14 years agoAdd changes for mem leak fixes
Dave Rolsky [Mon, 6 Jul 2009 14:27:24 +0000]
Add changes for mem leak fixes

14 years agoApplied patch from Goro Fuji to fix leaks in creating an anonymous
Dave Rolsky [Mon, 6 Jul 2009 14:25:49 +0000]
Applied patch from Goro Fuji to fix leaks in creating an anonymous
class.

14 years agoAdd test count
Dave Rolsky [Mon, 6 Jul 2009 14:23:45 +0000]
Add test count

14 years agoAdd test count
Dave Rolsky [Mon, 6 Jul 2009 14:23:23 +0000]
Add test count

14 years agono Win32 line endings, code formatting tweaks
Dave Rolsky [Mon, 6 Jul 2009 14:15:18 +0000]
no Win32 line endings, code formatting tweaks

14 years agoadd bench/oading-benchmark.pl
gfx [Mon, 6 Jul 2009 07:20:16 +0000]
add bench/oading-benchmark.pl

14 years agoadd bench/loading-profile.pl
gfx [Mon, 6 Jul 2009 07:19:31 +0000]
add bench/loading-profile.pl

14 years agoRemoved "use B" in Class::MOP::Package
gfx [Mon, 6 Jul 2009 05:42:10 +0000]
Removed "use B" in Class::MOP::Package

14 years agoThese tests all had tabs, so I just ran them through perltidy
Dave Rolsky [Fri, 3 Jul 2009 15:32:22 +0000]
These tests all had tabs, so I just ran them through perltidy

14 years agoadd a notabs test
Dave Rolsky [Fri, 3 Jul 2009 15:30:55 +0000]
add a notabs test

14 years agoFix release date 0.89
Dave Rolsky [Fri, 3 Jul 2009 15:22:51 +0000]
Fix release date

14 years agobump version to 0.89
Dave Rolsky [Fri, 3 Jul 2009 02:24:26 +0000]
bump version to 0.89

14 years agoThis release breaks with last Moose
Dave Rolsky [Fri, 3 Jul 2009 02:23:51 +0000]
This release breaks with last Moose

14 years agoAdd release date
Dave Rolsky [Fri, 3 Jul 2009 02:23:29 +0000]
Add release date

14 years agoAdd changes for 0.89
Dave Rolsky [Fri, 3 Jul 2009 02:22:48 +0000]
Add changes for 0.89

14 years agoMerge branch 'master' into immutable_as_real_trait
Dave Rolsky [Fri, 3 Jul 2009 02:20:37 +0000]
Merge branch 'master' into immutable_as_real_trait

14 years agoplease do not use Moose in CMOP tests!
Dave Rolsky [Fri, 3 Jul 2009 02:20:22 +0000]
please do not use Moose in CMOP tests!

14 years agoRemove some cruft left over from earlier experimentation
Dave Rolsky [Fri, 3 Jul 2009 02:13:09 +0000]
Remove some cruft left over from earlier experimentation

14 years agonext person who uses Moose in the CMOP tests gets a beat down
Dave Rolsky [Wed, 1 Jul 2009 21:42:48 +0000]
next person who uses Moose in the CMOP tests gets a beat down

14 years agoMerge branch 'master' into immutable_as_real_trait
Dave Rolsky [Wed, 1 Jul 2009 17:57:09 +0000]
Merge branch 'master' into immutable_as_real_trait

14 years agoChanges tweaks
Dave Rolsky [Wed, 1 Jul 2009 17:55:29 +0000]
Changes tweaks

14 years agoThis test does pass (but we'll keep it since apparently it was broken
Dave Rolsky [Wed, 1 Jul 2009 17:55:10 +0000]
This test does pass (but we'll keep it since apparently it was broken
at some point).

14 years agoReverse sense of test to check for success, not failure
Dave Rolsky [Wed, 1 Jul 2009 17:45:28 +0000]
Reverse sense of test to check for success, not failure

14 years agoAdd some parens to is()
Dave Rolsky [Wed, 1 Jul 2009 17:44:36 +0000]
Add some parens to is()

14 years agoperltidy this test a bit
Dave Rolsky [Wed, 1 Jul 2009 17:44:25 +0000]
perltidy this test a bit

14 years agoMerge branch 'master' into immutable_as_real_trait
Dave Rolsky [Wed, 1 Jul 2009 17:43:07 +0000]
Merge branch 'master' into immutable_as_real_trait

14 years agorenumber test
Dave Rolsky [Wed, 1 Jul 2009 17:42:11 +0000]
renumber test

14 years agoImprove changes for ash's fix
Dave Rolsky [Wed, 1 Jul 2009 17:41:37 +0000]
Improve changes for ash's fix

14 years agoTest as requested by autarch
Tomas Doran (t0m [Wed, 1 Jul 2009 17:35:26 +0000]
Test as requested by autarch

14 years agoapply patch from ash on #moose
Chris Prather [Wed, 1 Jul 2009 14:32:47 +0000]
apply patch from ash on #moose

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

14 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).

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

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

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

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

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

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

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

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

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

14 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).

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

14 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

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

14 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)

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

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

14 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

14 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

14 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

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

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