16 years agoSpell my name correctly :-/
Florian Ragwitz [Tue, 10 Mar 2009 03:46:40 +0000]
Spell my name correctly :-/

16 years agoChangelogging.
Florian Ragwitz [Tue, 10 Mar 2009 03:46:11 +0000]
Changelogging.

16 years agoPrefix all exported symbols with "mop_"
Florian Ragwitz [Tue, 10 Mar 2009 03:44:33 +0000]
Prefix all exported symbols with "mop_"

16 years agoRemove tabs from c code.
Florian Ragwitz [Tue, 10 Mar 2009 03:33:39 +0000]
Remove tabs from c code.

16 years agoMerge branch 'xs_reorg'
Florian Ragwitz [Tue, 10 Mar 2009 02:45:57 +0000]
Merge branch 'xs_reorg'

* xs_reorg:
  Update .gitignore.
  Split MOP.xs into more managable parts under xs/

16 years agoChangelogging.
Florian Ragwitz [Tue, 10 Mar 2009 00:56:11 +0000]
Changelogging.

16 years agoRemove another unecessarily optional test plan.
Florian Ragwitz [Tue, 10 Mar 2009 00:53:04 +0000]
Remove another unecessarily optional test plan.

16 years agoMerge branch 'master' into xs_reorg
Florian Ragwitz [Tue, 10 Mar 2009 00:25:42 +0000]
Merge branch 'master' into xs_reorg

* master:
  Stop segfaulting when trying to get the name from a sub that's still being compiled.
  Remove optional test plan.
  Testcase for get_code_info on a sub that's still being compiled
  Make brace style consistent

Conflicts:
MOP.xs

16 years agoMerge commit 'origin/master'
Florian Ragwitz [Tue, 10 Mar 2009 00:15:01 +0000]
Merge commit 'origin/master'

* commit 'origin/master':
  Make brace style consistent

16 years agoStop segfaulting when trying to get the name from a sub that's still being compiled.
Florian Ragwitz [Tue, 10 Mar 2009 00:13:35 +0000]
Stop segfaulting when trying to get the name from a sub that's still being compiled.

16 years agoRemove optional test plan.
Florian Ragwitz [Tue, 10 Mar 2009 00:12:58 +0000]
Remove optional test plan.

We have a hard dependency on Sub::Name now.

16 years agoTestcase for get_code_info on a sub that's still being compiled
Florian Ragwitz [Tue, 10 Mar 2009 00:11:13 +0000]
Testcase for get_code_info on a sub that's still being compiled

16 years agoUpdate .gitignore.
Florian Ragwitz [Mon, 9 Mar 2009 23:36:56 +0000]
Update .gitignore.

16 years agoSplit MOP.xs into more managable parts under xs/
Florian Ragwitz [Mon, 9 Mar 2009 23:36:47 +0000]
Split MOP.xs into more managable parts under xs/

16 years agoMake brace style consistent
Dave Rolsky [Mon, 9 Mar 2009 22:38:47 +0000]
Make brace style consistent

16 years agoChangelogging.
Florian Ragwitz [Mon, 9 Mar 2009 22:34:37 +0000]
Changelogging.

16 years agoDon't iterate over all package symbols only to check if there is at least one method.
Florian Ragwitz [Mon, 9 Mar 2009 22:30:24 +0000]
Don't iterate over all package symbols only to check if there is at least one method.

16 years agoRefactor get_all_package_symbols to allow short-circuiting.
Florian Ragwitz [Mon, 9 Mar 2009 22:26:33 +0000]
Refactor get_all_package_symbols to allow short-circuiting.

16 years agoDon't reimplement parts of get_all_package_symbols in is_class_loaded.
Florian Ragwitz [Mon, 9 Mar 2009 22:03:20 +0000]
Don't reimplement parts of get_all_package_symbols in is_class_loaded.

This makes a failing test pass, but also makes is_class_loaded quite a bit
slower. get_all_package_symbols needs refactoring to allow returning after it
found at least one symbol that matches the filter.

16 years agoAdd test for load_class on stashes with GVs without actual methods.
Florian Ragwitz [Mon, 9 Mar 2009 22:02:10 +0000]
Add test for load_class on stashes with GVs without actual methods.

16 years agoAdd the change I made to Changes
Shawn M Moore [Sun, 8 Mar 2009 07:55:20 +0000]
Add the change I made to Changes

16 years agoThis change was for Class::MOP not Moose
Shawn M Moore [Sun, 8 Mar 2009 07:53:49 +0000]
This change was for Class::MOP not Moose

16 years agoSemi-hack to fix the rebless + overload behavior on 5.8
Shawn M Moore [Sun, 8 Mar 2009 07:52:48 +0000]
Semi-hack to fix the rebless + overload behavior on 5.8

16 years agoAdd failing test (on 5.8.8 anyway) for rebless + overload
Shawn M Moore [Sun, 8 Mar 2009 07:51:30 +0000]
Add failing test (on 5.8.8 anyway) for rebless + overload

16 years agoMore gitignore files
Shawn M Moore [Sun, 8 Mar 2009 07:39:29 +0000]
More gitignore files

16 years agoPerltidy this code
Dave Rolsky [Thu, 26 Feb 2009 16:12:46 +0000]
Perltidy this code

16 years agoNo need for Sub::Identify
Dave Rolsky [Thu, 26 Feb 2009 16:12:07 +0000]
No need for Sub::Identify

16 years agoMake the changes for 0.78 a little more useful
Dave Rolsky [Thu, 26 Feb 2009 04:48:59 +0000]
Make the changes for 0.78 a little more useful

16 years agobump version and update Changes for a release 0.78
Dave Rolsky [Tue, 24 Feb 2009 04:43:17 +0000]
bump version and update Changes for a release

16 years agoUpdate changes for release 0.77_01
Dave Rolsky [Sun, 22 Feb 2009 16:19:40 +0000]
Update changes for release

16 years agoSwitch back to Module::Install.
Dave Rolsky [Sun, 22 Feb 2009 16:18:12 +0000]
Switch back to Module::Install.

Add a conflict warning for Moose < 0.72

16 years agorenumber to 0.77_01 for a dev release
Dave Rolsky [Sun, 22 Feb 2009 16:04:16 +0000]
renumber to 0.77_01 for a dev release

16 years agoRemove all the pure Perl bits to go XS-only
Dave Rolsky [Sun, 22 Feb 2009 03:37:25 +0000]
Remove all the pure Perl bits to go XS-only

16 years agoTweak code to be more consistent
Dave Rolsky [Fri, 20 Feb 2009 20:03:21 +0000]
Tweak code to be more consistent

16 years agoAdd a test for a problem that the Moose tests were running into when
Dave Rolsky [Fri, 20 Feb 2009 19:35:08 +0000]
Add a test for a problem that the Moose tests were running into when
using a pure Perl CMOP

16 years agoAdd a test for adding a method modifier to a method added after class was first defined
Dave Rolsky [Fri, 20 Feb 2009 19:22:15 +0000]
Add a test for adding a method modifier to a method added after class was first defined

16 years agoSpell withdrawal correctly
Dave Rolsky [Fri, 20 Feb 2009 18:23:31 +0000]
Spell withdrawal correctly

16 years agoAdd a test for wrapping a method which doesn't exist.
Dave Rolsky [Fri, 20 Feb 2009 18:23:12 +0000]
Add a test for wrapping a method which doesn't exist.

16 years agoMake the error message for an unfound method (that is being wrapped) a little clearer.
Dave Rolsky [Fri, 20 Feb 2009 18:22:35 +0000]
Make the error message for an unfound method (that is being wrapped) a little clearer.

16 years agoperltidy this test file
Dave Rolsky [Fri, 20 Feb 2009 18:19:22 +0000]
perltidy this test file

16 years agoFix one more instance of passing a quoted attr name
Dave Rolsky [Fri, 20 Feb 2009 18:09:55 +0000]
Fix one more instance of passing a quoted attr name

16 years agoRevert back to checking for code compilation failure at the caller.
Dave Rolsky [Fri, 20 Feb 2009 17:40:29 +0000]
Revert back to checking for code compilation failure at the caller.

Fixed some error messages along the way.

16 years agobump the version so I can make svn Moose require this version
Dave Rolsky [Fri, 20 Feb 2009 17:22:44 +0000]
bump the version so I can make svn Moose require this version

16 years agoMake the meta-instance class take a bare attribute name when inlining
Dave Rolsky [Fri, 20 Feb 2009 17:21:58 +0000]
Make the meta-instance class take a bare attribute name when inlining
attribute-related bits.

16 years agoI'm a dumbass.
Dave Rolsky [Fri, 20 Feb 2009 17:20:28 +0000]
I'm a dumbass.

We were checking that code compiled, but I switched to check where the
code is eval'd. This means we see _all_ the code in the error message.

Also, my previous changes broke all the code generation because it
wasn't returning the generated sub.

16 years agoEven better, include the code that failed to compile in the error.
Dave Rolsky [Fri, 20 Feb 2009 17:11:43 +0000]
Even better, include the code that failed to compile in the error.

16 years agoHey, here's a crazy idea, let's die we try to generate some code that
Dave Rolsky [Fri, 20 Feb 2009 17:09:13 +0000]
Hey, here's a crazy idea, let's die we try to generate some code that
don't work.

16 years agoheirachy -> hierarchy
Jesse Luehrs [Fri, 20 Feb 2009 09:01:58 +0000]
heirachy -> hierarchy

16 years agoActually test that this works and fix some unchanged var names
Dave Rolsky [Thu, 19 Feb 2009 21:33:56 +0000]
Actually test that this works and fix some unchanged var names

16 years agoClarify variable naming here
Dave Rolsky [Thu, 19 Feb 2009 21:33:15 +0000]
Clarify variable naming here

16 years agoOh, the irony
Dave Rolsky [Sat, 14 Feb 2009 20:42:16 +0000]
Oh, the irony

16 years agobump version to 0.77 0.77
Dave Rolsky [Sat, 14 Feb 2009 17:23:59 +0000]
bump version to 0.77

16 years agoAdd release date for 0.77 and fix 0.76 release date
Dave Rolsky [Sat, 14 Feb 2009 17:23:38 +0000]
Add release date for 0.77 and fix 0.76 release date

16 years agoWarn about future removal of backcompat mispelled method name
Dave Rolsky [Sat, 14 Feb 2009 15:20:17 +0000]
Warn about future removal of backcompat mispelled method name

16 years agoTidy the constructor code
Dave Rolsky [Sat, 14 Feb 2009 15:07:06 +0000]
Tidy the constructor code

16 years agoChangelogging.
Florian Ragwitz [Sat, 14 Feb 2009 02:59:18 +0000]
Changelogging.

16 years agoDon't call GvCV on something that's not a GV.
Florian Ragwitz [Sat, 14 Feb 2009 02:59:10 +0000]
Don't call GvCV on something that's not a GV.

16 years agoAdd a wrapped_method_metaclass attribute to CMOP::Class.
Florian Ragwitz [Sat, 14 Feb 2009 00:44:55 +0000]
Add a wrapped_method_metaclass attribute to CMOP::Class.

Stop hardcoding Class::MOP::Method::Wrapped.

16 years agoUpdate changes for CMOP
Dave Rolsky [Thu, 12 Feb 2009 20:15:50 +0000]
Update changes for CMOP

16 years agoDisable deprecated get_all_packge_symbols in list context.
Florian Ragwitz [Mon, 9 Feb 2009 03:51:00 +0000]
Disable deprecated get_all_packge_symbols in list context.

16 years agoMake MOP.xs compile again.
Florian Ragwitz [Sun, 8 Feb 2009 16:52:36 +0000]
Make MOP.xs compile again.

16 years agoAdd changes
Dave Rolsky [Sun, 8 Feb 2009 16:51:11 +0000]
Add changes

16 years agoAdd comment referring people looking at is_class_loaded to the pure
Dave Rolsky [Sun, 8 Feb 2009 16:47:38 +0000]
Add comment referring people looking at is_class_loaded to the pure
Perl version

16 years agoMake the XS version of is_class_loaded smarter about handling corner
Dave Rolsky [Sun, 8 Feb 2009 16:41:11 +0000]
Make the XS version of is_class_loaded smarter about handling corner
cases where a VERSION entry in the stash exists but we haven't
_really_ loaded the class yet.

16 years agoremove and ignore manifest
Dave Rolsky [Sun, 8 Feb 2009 15:10:38 +0000]
remove and ignore manifest

16 years agoMove next changes to next version
Dave Rolsky [Sun, 8 Feb 2009 15:09:29 +0000]
Move next changes to next version

16 years agoImprove is_class_loaded checking
Dave Rolsky [Sun, 8 Feb 2009 15:08:27 +0000]
Improve is_class_loaded checking

16 years agoadd a bunch of tests for is_class_loaded
Dave Rolsky [Sun, 8 Feb 2009 15:07:54 +0000]
add a bunch of tests for is_class_loaded

16 years agomove 306 test to 083 where the other class loading/is it loaded tests live
Dave Rolsky [Sun, 8 Feb 2009 14:53:48 +0000]
move 306 test to 083 where the other class loading/is it loaded tests live

16 years agothis fix of just checking of GV-ness to determine if a class has methods defined...
Dave Rolsky [Sun, 8 Feb 2009 14:46:45 +0000]
this fix of just checking of GV-ness to determine if a class has methods defined seems to fix 5.8.8 with an XS MOP. it still is not quite the same as what the pure Perl version is doing. I think we are missing some tests for all this

16 years agoAdd get_all_method_names
Shawn M Moore [Thu, 5 Feb 2009 21:11:13 +0000]
Add get_all_method_names

16 years agoDocument that initialize() returns a cached metaclass if it exists.
Dave Rolsky [Sat, 31 Jan 2009 17:21:11 +0000]
Document that initialize() returns a cached metaclass if it exists.

16 years agoMake the pure-perl test generation compatible with bsd make implementations.
Florian Ragwitz [Fri, 23 Jan 2009 10:42:25 +0000]
Make the pure-perl test generation compatible with bsd make implementations.

Courtesy of Stoned Elipot.

16 years agoRun the pure perl tests on the smokers.
Florian Ragwitz [Fri, 23 Jan 2009 07:38:32 +0000]
Run the pure perl tests on the smokers.

16 years agodoh, forgot to add a date
Dave Rolsky [Thu, 22 Jan 2009 22:39:23 +0000]
doh, forgot to add a date

16 years agoupdate the manifest 0.76
Dave Rolsky [Thu, 22 Jan 2009 22:24:44 +0000]
update the manifest

16 years agobump all the versions to 0.76
Dave Rolsky [Thu, 22 Jan 2009 22:22:30 +0000]
bump all the versions to 0.76

16 years agoupdate changes
Dave Rolsky [Thu, 22 Jan 2009 22:21:43 +0000]
update changes

16 years agodocument USING_XS constant
Dave Rolsky [Thu, 22 Jan 2009 22:17:42 +0000]
document USING_XS constant

16 years agorephrase skip_all test
Dave Rolsky [Thu, 22 Jan 2009 22:17:25 +0000]
rephrase skip_all test

16 years agoremove a useless comment
Dave Rolsky [Thu, 22 Jan 2009 22:04:45 +0000]
remove a useless comment

16 years agotry to make t/306_is_class_loaded.t skip except when it is meaningful
Dave Rolsky [Thu, 22 Jan 2009 21:52:37 +0000]
try to make t/306_is_class_loaded.t skip except when it is meaningful

16 years agoSkip all the tests unless using XS and Perl < 5.10.
Dave Rolsky [Thu, 22 Jan 2009 21:44:48 +0000]
Skip all the tests unless using XS and Perl < 5.10.

Clarify what needs to be fixed.

16 years agoAdd a line break for readability(-ishness)
Dave Rolsky [Thu, 22 Jan 2009 21:38:26 +0000]
Add a line break for readability(-ishness)

16 years agoReformat _eval_closure a bit and don't use q!! (used q[] instead).
Dave Rolsky [Thu, 22 Jan 2009 21:34:33 +0000]
Reformat _eval_closure a bit and don't use q!! (used q[] instead).

16 years agoMerge method_generation_cleanup branch
Yuval Kogman [Sat, 17 Jan 2009 22:59:55 +0000]
Merge method_generation_cleanup branch

16 years agoadd _compile_code, a wrapper for _eval_closure and _add_line_directive
Yuval Kogman [Sat, 17 Jan 2009 22:36:34 +0000]
add _compile_code, a wrapper for _eval_closure and _add_line_directive

16 years agoMerge from trunk to method_generation_cleanup branch (all tests pass)
Dave Rolsky [Wed, 14 Jan 2009 08:46:12 +0000]
Merge from trunk to method_generation_cleanup branch (all tests pass)

16 years agoOops, needed that voodoo
Dave Rolsky [Wed, 14 Jan 2009 08:43:07 +0000]
Oops, needed that voodoo

16 years agoRemove some useless voodoo, and tidy
Dave Rolsky [Wed, 14 Jan 2009 08:42:32 +0000]
Remove some useless voodoo, and tidy

16 years agoFix test description to match names used in test
Dave Rolsky [Wed, 14 Jan 2009 08:41:45 +0000]
Fix test description to match names used in test

16 years agoget_method_map, find_method_by_name, and remove_method deal with Class::MOP::Method...
Jesse Luehrs [Wed, 14 Jan 2009 08:26:17 +0000]
get_method_map, find_method_by_name, and remove_method deal with Class::MOP::Method instances, not CODE refs

16 years agoTODO test showing differences between xs and pp versions of Class::MOP::is_class_loaded
Tomas Doran [Mon, 12 Jan 2009 17:31:58 +0000]
TODO test showing differences between xs and pp versions of Class::MOP::is_class_loaded

16 years agoadd definition_context
Yuval Kogman [Mon, 12 Jan 2009 06:45:08 +0000]
add definition_context

This is used to generate #line declarations for evaled code.

Currently only in use for accessors, should be added to constructor as
well.

16 years agoRemove commented-out bit of code
Dave Rolsky [Sun, 11 Jan 2009 11:20:02 +0000]
Remove commented-out bit of code

16 years agoInstead of appending to the pp test file, replace it.
Shawn M Moore [Wed, 7 Jan 2009 15:00:18 +0000]
Instead of appending to the pp test file, replace it.

16 years agoMetaclass-cache documentation cleanups
Shawn M Moore [Wed, 7 Jan 2009 14:53:00 +0000]
Metaclass-cache documentation cleanups

16 years agoTypo fix
Shawn M Moore [Wed, 7 Jan 2009 14:49:25 +0000]
Typo fix

16 years agoTurn generation of pure perl tests into a makefile target.
Florian Ragwitz [Wed, 7 Jan 2009 06:59:23 +0000]
Turn generation of pure perl tests into a makefile target.

16 years agoRemove shebangs from tests.
Florian Ragwitz [Wed, 7 Jan 2009 06:59:05 +0000]
Remove shebangs from tests.