15 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

15 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

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

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

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

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

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

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

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

15 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

15 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(...)".

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

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

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

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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

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

15 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]

15 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

15 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

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

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

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

15 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

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

15 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

15 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

15 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

15 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

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

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

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

15 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

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

15 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

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

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

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

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

15 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

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

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

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

15 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

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

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

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

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

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

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

15 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

15 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!

15 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

15 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

15 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

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

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

15 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

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

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

15 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

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

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

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

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

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