15 years agoadd a warning for the deprecated Class::MOP::Instance->bless_intsance_structure method
Dave Rolsky [Mon, 16 Mar 2009 20:53:51 +0000]
add a warning for the deprecated Class::MOP::Instance->bless_intsance_structure method

15 years agodocs for CMOP::Instance
Dave Rolsky [Mon, 16 Mar 2009 20:50:43 +0000]
docs for CMOP::Instance

15 years agosmall tweaks to meta method docs
Dave Rolsky [Mon, 16 Mar 2009 20:50:29 +0000]
small tweaks to meta method docs

15 years agoadd docs for meta method
Dave Rolsky [Mon, 16 Mar 2009 20:50:18 +0000]
add docs for meta method

15 years agomore spelling fixes
Dave Rolsky [Mon, 16 Mar 2009 19:35:11 +0000]
more spelling fixes

15 years agoproper API docs for CMOP::Immutable
Dave Rolsky [Mon, 16 Mar 2009 16:48:46 +0000]
proper API docs for CMOP::Immutable
removed docs on some methods which are not really useful for "outside" users as-is.I will do
some more refactoring in a branch.

15 years agoAdd warnings when calling CMOP::Class->{compute_all_applicable_method,alias_method}.
Dave Rolsky [Mon, 16 Mar 2009 16:13:43 +0000]
Add warnings when calling CMOP::Class->{compute_all_applicable_method,alias_method}.

These were both deprecated a while back, but didn't warn when called.

15 years agomake CMOP::Class->clone_instance private
Dave Rolsky [Mon, 16 Mar 2009 16:09:41 +0000]
make CMOP::Class->clone_instance private

15 years agomake create_meta_instance private
Dave Rolsky [Mon, 16 Mar 2009 16:08:14 +0000]
make create_meta_instance private

15 years agomake check_metaclass_compatibility private
Dave Rolsky [Mon, 16 Mar 2009 16:07:10 +0000]
make check_metaclass_compatibility private

15 years agomake construct_class_instance a private method
Dave Rolsky [Mon, 16 Mar 2009 04:59:19 +0000]
make construct_class_instance a private method

15 years agoFixed the scrwed up the list of methods which are not document for
Dave Rolsky [Mon, 16 Mar 2009 05:06:23 +0000]
Fixed the scrwed up the list of methods which are not document for
CMOP::Class.

Add docs for add_method and remove_method

15 years agoPod fixlet
Dave Rolsky [Mon, 16 Mar 2009 04:57:58 +0000]
Pod fixlet

15 years agoone more mispelled spot to fix
Dave Rolsky [Mon, 16 Mar 2009 04:55:27 +0000]
one more mispelled spot to fix

15 years agoFix the mispelled method name here too
Dave Rolsky [Mon, 16 Mar 2009 04:45:50 +0000]
Fix the mispelled method name here too

15 years agomajor revamp of CMOP::Class docs
Dave Rolsky [Mon, 16 Mar 2009 04:38:38 +0000]
major revamp of CMOP::Class docs

15 years agoFix a mispelled method
Dave Rolsky [Mon, 16 Mar 2009 04:35:29 +0000]
Fix a mispelled method

15 years agoMake sure method map is updated after a method is removed
Dave Rolsky [Sat, 14 Mar 2009 19:57:03 +0000]
Make sure method map is updated after a method is removed

15 years agoImprove deprecation warning
Dave Rolsky [Sat, 14 Mar 2009 18:49:54 +0000]
Improve deprecation warning

15 years agoUpgrade ppport.h from 3.16 to 3.17.
Florian Ragwitz [Sun, 15 Mar 2009 18:20:09 +0000]
Upgrade ppport.h from 3.16 to 3.17.

Gah. 3.17 was released shortly before upgrading to 3.16 and didn't show up on
search.cpan.org yet.

15 years agoChangelogging.
Florian Ragwitz [Sun, 15 Mar 2009 18:09:10 +0000]
Changelogging.

15 years agoUpgrade ppport.h from 3.14 to 3.16.
Florian Ragwitz [Sun, 15 Mar 2009 18:08:32 +0000]
Upgrade ppport.h from 3.14 to 3.16.

15 years agoStop redefining the prototype for XSUBs.
Florian Ragwitz [Sun, 15 Mar 2009 18:06:43 +0000]
Stop redefining the prototype for XSUBs.

15 years agoChangelogging.
Florian Ragwitz [Sun, 15 Mar 2009 18:00:10 +0000]
Changelogging.

15 years agoDo a proper cast go get from I32 to mop_prehashed_key_t.
Florian Ragwitz [Sun, 15 Mar 2009 17:59:18 +0000]
Do a proper cast go get from I32 to mop_prehashed_key_t.

15 years agoDeclaring extern functions within a scope doesn't seem to be valid in c++.
Florian Ragwitz [Sun, 15 Mar 2009 17:57:40 +0000]
Declaring extern functions within a scope doesn't seem to be valid in c++.

15 years agoUninline mop_prehashed_{key,hash}_for.
Florian Ragwitz [Sun, 15 Mar 2009 17:54:03 +0000]
Uninline mop_prehashed_{key,hash}_for.

They wouldn't be inlined anyway and some compilers complain.

15 years agomore speling fixes and dictionary updates
Dave Rolsky [Sat, 14 Mar 2009 18:14:49 +0000]
more speling fixes and dictionary updates

15 years agoClean up code a bit
Dave Rolsky [Sat, 14 Mar 2009 18:12:07 +0000]
Clean up code a bit

15 years agoUpdate the spelling dictionary and fix errors in Class::MOP docs
Dave Rolsky [Sat, 14 Mar 2009 18:09:56 +0000]
Update the spelling dictionary and fix errors in Class::MOP docs

15 years agomoved pod tests to xt dir
Dave Rolsky [Sat, 14 Mar 2009 18:00:46 +0000]
moved pod tests to xt dir

15 years agofix test count
Dave Rolsky [Sat, 14 Mar 2009 18:00:10 +0000]
fix test count

15 years agogot rid of check_metaclass_compatability method
Dave Rolsky [Sat, 14 Mar 2009 17:41:49 +0000]
got rid of check_metaclass_compatability method

15 years agoKill the back-compat for misspelled check_metaclass_compatability
Dave Rolsky [Sat, 14 Mar 2009 17:41:24 +0000]
Kill the back-compat for misspelled check_metaclass_compatability

15 years agoTidy SYNOPSIS code
Dave Rolsky [Sat, 14 Mar 2009 17:40:03 +0000]
Tidy SYNOPSIS code

15 years agomake process_accessors private
Dave Rolsky [Sat, 14 Mar 2009 17:37:54 +0000]
make process_accessors private

15 years agoGah, kill use_ok and prototypes.
Dave Rolsky [Sat, 14 Mar 2009 17:37:40 +0000]
Gah, kill use_ok and prototypes.

15 years agoFix spelling in a comment
Dave Rolsky [Sat, 14 Mar 2009 17:31:16 +0000]
Fix spelling in a comment

15 years agoMake get_code_info "public"(er)
Dave Rolsky [Sat, 14 Mar 2009 17:15:41 +0000]
Make get_code_info "public"(er)

15 years agoDocument definition_context
Dave Rolsky [Fri, 13 Mar 2009 23:18:26 +0000]
Document definition_context

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.