15 years agobump copyright year to 2009
Dave Rolsky [Thu, 12 Mar 2009 19:34:53 +0000]
bump copyright year to 2009

15 years agoLots of doc updates and cleanup.
Dave Rolsky [Thu, 12 Mar 2009 19:33:45 +0000]
Lots of doc updates and cleanup.

15 years agoRevamped the docs for Class::MOP::Attribute
Dave Rolsky [Thu, 12 Mar 2009 18:59:44 +0000]
Revamped the docs for Class::MOP::Attribute

15 years agoAdd a test to ensure that the get_write_method returns undef for a read-only attribute
Dave Rolsky [Thu, 12 Mar 2009 16:45:03 +0000]
Add a test to ensure that the get_write_method returns undef for a read-only attribute

15 years agoNo space between function name & args in docs.
Dave Rolsky [Thu, 12 Mar 2009 15:00:37 +0000]
No space between function name & args in docs.

Fix handling of book and paper titles to be correct (book titles are
underlined or italicized, papers are quoted).

15 years agoChangelogging.
Florian Ragwitz [Wed, 11 Mar 2009 19:47:08 +0000]
Changelogging.

15 years agoImplement INSTALL_SIMPLE_READER in terms of INSTALL_SIMPLE_READER_WITH_KEY.
Florian Ragwitz [Wed, 11 Mar 2009 05:19:04 +0000]
Implement INSTALL_SIMPLE_READER in terms of INSTALL_SIMPLE_READER_WITH_KEY.

15 years agoRebuild all c code if mop.h changed.
Florian Ragwitz [Wed, 11 Mar 2009 05:16:09 +0000]
Rebuild all c code if mop.h changed.

15 years agoDon't make DECLARE_KEY* available for anything but mop.c.
Florian Ragwitz [Wed, 11 Mar 2009 05:11:25 +0000]
Don't make DECLARE_KEY* available for anything but mop.c.

15 years agoMake the logic easier to follow.
Florian Ragwitz [Wed, 11 Mar 2009 04:59:27 +0000]
Make the logic easier to follow.

15 years agoInline mop_simple_reader.
Florian Ragwitz [Wed, 11 Mar 2009 04:57:37 +0000]
Inline mop_simple_reader.

15 years agoMake it easier to simple xs hashref readers using prehashed keys.
Florian Ragwitz [Wed, 11 Mar 2009 04:20:04 +0000]
Make it easier to simple xs hashref readers using prehashed keys.

15 years agoRefactor how prehashed hash keys work.
Florian Ragwitz [Wed, 11 Mar 2009 03:39:13 +0000]
Refactor how prehashed hash keys work.

15 years agoFormatting fixes
Dave Rolsky [Wed, 11 Mar 2009 03:34:18 +0000]
Formatting fixes

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

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

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

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

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

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

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

15 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

15 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

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

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

15 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

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

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

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

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

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

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

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

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

15 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

15 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

15 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

15 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

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

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

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

15 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

15 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

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

15 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

15 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

15 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

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

15 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

15 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

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

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

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

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

15 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

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

15 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

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

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

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

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

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

15 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

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

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

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

15 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

15 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

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

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

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

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

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

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

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

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

15 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

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

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

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

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

15 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

15 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

15 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

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

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

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

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

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

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

15 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

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

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

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

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

15 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

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

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

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

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