15 years agobump version and update changes for release 0.69
Dave Rolsky [Fri, 7 Nov 2008 20:27:26 +0000]
bump version and update changes for release

15 years agoClass::MOP::Class->add_method does not accept any params besides
Dave Rolsky [Fri, 7 Nov 2008 20:03:31 +0000]
Class::MOP::Class->add_method does not accept any params besides
method name and the method itself.

15 years agoAdded introspection methods for method modifiers, along with tests.
Dave Rolsky [Fri, 7 Nov 2008 19:59:57 +0000]
Added introspection methods for method modifiers, along with tests.

15 years agoTidy this bizarrely indented code before adding more tests.
Dave Rolsky [Fri, 7 Nov 2008 19:42:51 +0000]
Tidy this bizarrely indented code before adding more tests.

15 years agoRemove use_ok tests
Dave Rolsky [Fri, 7 Nov 2008 19:42:20 +0000]
Remove use_ok tests

15 years agoFix some bizarro code left behind by a much earlier change.
Dave Rolsky [Tue, 4 Nov 2008 17:30:08 +0000]
Fix some bizarro code left behind by a much earlier change.

15 years agoOops, wrong date
Dave Rolsky [Fri, 24 Oct 2008 21:56:43 +0000]
Oops, wrong date

15 years agoAdd release date. 0.68
Dave Rolsky [Fri, 24 Oct 2008 15:36:54 +0000]
Add release date.

15 years agoBump all versions to 0.68
Dave Rolsky [Thu, 23 Oct 2008 16:30:15 +0000]
Bump all versions to 0.68

15 years agoOops, accidenttaly bumped version in a change log entry.
Dave Rolsky [Thu, 23 Oct 2008 16:29:49 +0000]
Oops, accidenttaly bumped version in a change log entry.

15 years agoI'm about to do a Moose change which requires trunk here, so bump the version so...
Tomas Doran [Wed, 22 Oct 2008 19:54:01 +0000]
I'm about to do a Moose change which requires trunk here, so bump the version so I can bump the dependency in Moose's Makefile.PL

15 years agoChange load_first_existing_class to return the name of the loaded class, rather than...
Tomas Doran [Wed, 22 Oct 2008 14:51:14 +0000]
Change load_first_existing_class to return the name of the loaded class, rather than it's metaclass instance.

15 years agoFix test description and some tidying
Dave Rolsky [Wed, 22 Oct 2008 02:55:12 +0000]
Fix test description and some tidying

15 years agoFix error message. Loads of tests in the Moose test suite rely on the extra space
Tomas Doran [Tue, 21 Oct 2008 22:27:18 +0000]
Fix error message. Loads of tests in the Moose test suite rely on the extra space

15 years agoMore code cleanup for load_first_existing_class()
Dave Rolsky [Tue, 21 Oct 2008 19:40:22 +0000]
More code cleanup for load_first_existing_class()

If we didn't find a class, an exception was thrown.

15 years agoSmall formatting tweak for load class error messages
Dave Rolsky [Tue, 21 Oct 2008 19:37:52 +0000]
Small formatting tweak for load class error messages

15 years agoRename load_first_class_of to load_first_existing_class and so some
Dave Rolsky [Tue, 21 Oct 2008 19:36:47 +0000]
Rename load_first_class_of to load_first_existing_class and so some
cleanup on the code.

15 years agoAddition of load_one_class_of, to allow does method in Moose to be made quicker.
Tomas Doran [Tue, 21 Oct 2008 18:30:05 +0000]
Addition of load_one_class_of, to allow does method in Moose to be made quicker.

15 years agoAdd myself to the list of contributors.
Florian Ragwitz [Fri, 17 Oct 2008 04:03:46 +0000]
Add myself to the list of contributors.

15 years agoChangelogging.
Florian Ragwitz [Fri, 17 Oct 2008 04:03:36 +0000]
Changelogging.

15 years agoInstead of requiring by module name, generate the path and require() that.
Florian Ragwitz [Fri, 17 Oct 2008 03:18:34 +0000]
Instead of requiring by module name, generate the path and require() that.

This doesn't generate confusing errors when loading '__PACKAGE__'.

15 years agoAdd a failing testcase for a sane Class::MOP::load_class('__PACKAGE__') error message.
Florian Ragwitz [Fri, 17 Oct 2008 03:18:25 +0000]
Add a failing testcase for a sane Class::MOP::load_class('__PACKAGE__') error message.

15 years agoupdate manifest 0.67
Dave Rolsky [Tue, 14 Oct 2008 13:37:47 +0000]
update manifest

15 years agoAdd a release date
Dave Rolsky [Tue, 14 Oct 2008 13:29:38 +0000]
Add a release date

15 years agoBump all the modules to 0.67
Dave Rolsky [Mon, 6 Oct 2008 23:05:00 +0000]
Bump all the modules to 0.67

15 years agoClass::MOP::Class::create()
Todd Hepler [Tue, 30 Sep 2008 15:32:31 +0000]
Class::MOP::Class::create()
 - pass unused options to initialize()

15 years agoFix my grammar (missing "a")
Dave Rolsky [Mon, 29 Sep 2008 03:49:06 +0000]
Fix my grammar (missing "a")

15 years agoTest that extending oneself actually throws an error
Shawn M Moore [Mon, 29 Sep 2008 02:32:35 +0000]
Test that extending oneself actually throws an error

15 years agoResolve #39001: Call a method on the class after setting the superclass list so that...
Shawn M Moore [Mon, 29 Sep 2008 02:25:57 +0000]
Resolve #39001: Call a method on the class after setting the superclass list so that we can get Perl to detect cycles before MRO::Compat spirals into an infinite loop

15 years agoAdd CheckVersionsMatch step
Dave Rolsky [Thu, 25 Sep 2008 03:10:30 +0000]
Add CheckVersionsMatch step

15 years agoupdate manifest 0.66
Dave Rolsky [Sat, 20 Sep 2008 14:27:05 +0000]
update manifest

15 years agoload metaclasses more liberally
Yuval Kogman [Tue, 16 Sep 2008 17:52:40 +0000]
load metaclasses more liberally

15 years agoSmall wording change in changes
Dave Rolsky [Mon, 15 Sep 2008 15:28:28 +0000]
Small wording change in changes

15 years agoMerged my deprecate-alias_method branch to trunk
Dave Rolsky [Mon, 15 Sep 2008 15:27:52 +0000]
Merged my deprecate-alias_method branch to trunk

15 years agoOnly skip destroying if the cached metaclas object is not the same as
Dave Rolsky [Sun, 14 Sep 2008 21:15:27 +0000]
Only skip destroying if the cached metaclas object is not the same as
the one going out of scope.

15 years agoDon't destroy a metaclass that has an existing entry in the MOP cache
Dave Rolsky [Sun, 14 Sep 2008 21:09:14 +0000]
Don't destroy a metaclass that has an existing entry in the MOP cache

15 years agoFix some wonky indentation in here
Dave Rolsky [Sun, 14 Sep 2008 01:39:07 +0000]
Fix some wonky indentation in here

15 years agoupdate changes and MANIFEST
Dave Rolsky [Sat, 13 Sep 2008 03:24:02 +0000]
update changes and MANIFEST

15 years agoI kept wondering why I "mistyped" this method name. Oh, it's spelled
Dave Rolsky [Sat, 13 Sep 2008 03:23:03 +0000]
I kept wondering why I "mistyped" this method name. Oh, it's spelled
wrong. Sigh.

15 years agoOops, left some junk in here.
Dave Rolsky [Sat, 13 Sep 2008 03:21:22 +0000]
Oops, left some junk in here.

15 years agoMake it clear that this release has a backwards incompatibility
Dave Rolsky [Fri, 12 Sep 2008 02:55:22 +0000]
Make it clear that this release has a backwards incompatibility

15 years agoClarify the chain-following properties of the various original_* accessors
Dave Rolsky [Thu, 11 Sep 2008 16:36:35 +0000]
Clarify the chain-following properties of the various original_* accessors

15 years agoTest cloning a clone, and make sure original_* accessors follow a
Dave Rolsky [Thu, 11 Sep 2008 16:33:28 +0000]
Test cloning a clone, and make sure original_* accessors follow a
chain of clones to its end point.

15 years agoSimplify wrap_method_body now that Method->wrap takes named args.
Dave Rolsky [Thu, 11 Sep 2008 16:30:04 +0000]
Simplify wrap_method_body now that Method->wrap takes named args.

15 years agoDocument that passing a method object to add_method may cause it be
Dave Rolsky [Thu, 11 Sep 2008 16:28:39 +0000]
Document that passing a method object to add_method may cause it be
cloned.

15 years agoActually implement and test having add_method clone methods. It will
Dave Rolsky [Thu, 11 Sep 2008 16:24:44 +0000]
Actually implement and test having add_method clone methods. It will
now clone the method if just the package name of the object differs
from the class.

15 years agoPart 1 of the great clone plan.
Dave Rolsky [Thu, 11 Sep 2008 16:13:55 +0000]
Part 1 of the great clone plan.

When add_method is called with a method object, it calls clone on that method.

To facilitate tracking the source of a method, we save the original
method (the clone source) in the newly cloned method.

I also added a bunch of convenience methods for getting various
original names out of said original method. Eventually this will be
used in Moose to determine whether a method originally came from a
role.

15 years agoApply changes to deprecate alias_method previously applied on trunk
Dave Rolsky [Thu, 11 Sep 2008 15:49:59 +0000]
Apply changes to deprecate alias_method previously applied on trunk

15 years agoa branch for deprecating alias method and working on new method semantics to preserve...
Dave Rolsky [Thu, 11 Sep 2008 15:31:46 +0000]
a branch for deprecating alias method and working on new method semantics to preserve original methods on clone (take 2)

15 years agoRevert the last few commits related to deprecating alias_method, which
Dave Rolsky [Thu, 11 Sep 2008 15:30:13 +0000]
Revert the last few commits related to deprecating alias_method, which
will now be done on a branch first.

15 years agoa branch for deprecating alias method and working on new method semantics to preserve...
Dave Rolsky [Thu, 11 Sep 2008 15:28:21 +0000]
a branch for deprecating alias method and working on new method semantics to preserve original methods on clone

15 years agos/$code/$self/g for consistency
Dave Rolsky [Thu, 11 Sep 2008 15:17:16 +0000]
s/$code/$self/g for consistency

15 years agoBump the version (so I can install it and start testing these changes
Dave Rolsky [Thu, 11 Sep 2008 14:55:38 +0000]
Bump the version (so I can install it and start testing these changes
with Moose)

15 years agoMake alias_method simply call add_method.
Dave Rolsky [Thu, 11 Sep 2008 14:52:50 +0000]
Make alias_method simply call add_method.

Update docs, tests, and Changes as needed to reflect this.

15 years agoAdd changes for test doubling
Dave Rolsky [Wed, 3 Sep 2008 17:11:29 +0000]
Add changes for test doubling

15 years agoRun all the tests twice if we have XS, once with XS & once without.
Dave Rolsky [Wed, 3 Sep 2008 17:09:56 +0000]
Run all the tests twice if we have XS, once with XS & once without.

This should help us maintainers make less buggy releases, I hope.

15 years agoNeed parens on this sub now.
Dave Rolsky [Wed, 3 Sep 2008 17:09:22 +0000]
Need parens on this sub now.

15 years agoTie together loading our XS plus our XS deps, so we only have _two_
Dave Rolsky [Wed, 3 Sep 2008 17:01:26 +0000]
Tie together loading our XS plus our XS deps, so we only have _two_
effective versions of MOP, as opposed to, uh, a bunch more (math is
hard).

15 years agoChange the docs so that _most_ functions are marked as not for others' use.
Dave Rolsky [Wed, 3 Sep 2008 15:10:21 +0000]
Change the docs so that _most_ functions are marked as not for others' use.

15 years agoClarify public-ness of Class::MOP functions
Dave Rolsky [Tue, 2 Sep 2008 16:17:27 +0000]
Clarify public-ness of Class::MOP functions

15 years agoClarify that utility functions are really functions
Dave Rolsky [Tue, 2 Sep 2008 16:16:16 +0000]
Clarify that utility functions are really functions

15 years agoClass::MOP::load_class no longer creates a metaclass for non Moose/MOP classes
Yuval Kogman [Tue, 2 Sep 2008 15:25:11 +0000]
Class::MOP::load_class no longer creates a metaclass for non Moose/MOP classes

15 years agobump version to 0.65 and update changes for stable release 0.65
Dave Rolsky [Mon, 1 Sep 2008 16:12:51 +0000]
bump version to 0.65 and update changes for stable release

15 years agoExplicitly die if get_all_package_symbols is called as a class method
Dave Rolsky [Mon, 1 Sep 2008 15:05:01 +0000]
Explicitly die if get_all_package_symbols is called as a class method

15 years agoMake sure all the XS methods die when called as a class method, and test for this
Dave Rolsky [Mon, 1 Sep 2008 15:03:42 +0000]
Make sure all the XS methods die when called as a class method, and test for this

15 years agoFix XS so that Class::MOP::Method accessors blow up if called as class methods.
Dave Rolsky [Mon, 1 Sep 2008 14:57:08 +0000]
Fix XS so that Class::MOP::Method accessors blow up if called as class methods.

Restore name() XS accessor and make pure Perl version do the same thing.

Add a package_name() XS accessor and make pure Perl version do the same thing.

15 years agoSpell can't correctly
Dave Rolsky [Mon, 1 Sep 2008 14:51:49 +0000]
Spell can't correctly

15 years agoMake test descriptions clearer
Dave Rolsky [Mon, 1 Sep 2008 14:51:13 +0000]
Make test descriptions clearer

15 years agoUpdate changes for 0.64_07 0.64_07
Dave Rolsky [Fri, 29 Aug 2008 21:58:18 +0000]
Update changes for 0.64_07

15 years agobump version to 0.64_07 for another (in an endless series of) dev release(s)
Dave Rolsky [Fri, 29 Aug 2008 21:56:58 +0000]
bump version to 0.64_07 for another (in an endless series of) dev release(s)

15 years agoThe package names were wrong for some of the XS subs. I got rid of
Dave Rolsky [Fri, 29 Aug 2008 21:54:03 +0000]
The package names were wrong for some of the XS subs. I got rid of
Class::MOP::Method->name because it did not have the same behavior as
the Perl version. It can be redone later easily enough.

15 years agoSome small tweak to how we load XS, most notably shutting up
Dave Rolsky [Fri, 29 Aug 2008 21:53:25 +0000]
Some small tweak to how we load XS, most notably shutting up
subroutine redefined warnings on earlier Perls (5.8.5 spits them out,
probably others).

Also only load Sub::Identify if needed.

15 years agoFix the instance metaclass incompatibility error to make it clear that
Dave Rolsky [Fri, 29 Aug 2008 18:28:31 +0000]
Fix the instance metaclass incompatibility error to make it clear that
it's talking about the instance metaclass.

15 years agoFix comment speling
Dave Rolsky [Thu, 28 Aug 2008 17:52:36 +0000]
Fix comment speling

15 years agoWhen checking for a valid class name, actually use the right regex
Dave Rolsky [Thu, 28 Aug 2008 15:52:45 +0000]
When checking for a valid class name, actually use the right regex
(doh).

Split out valid name checking for easier testing, and added more tests
for this.

15 years agoadd changes for next release
Dave Rolsky [Thu, 28 Aug 2008 15:39:15 +0000]
add changes for next release

15 years agoCheck that class name is actually a valid class name - add a test for this
Dave Rolsky [Thu, 28 Aug 2008 15:31:07 +0000]
Check that class name is actually a valid class name - add a test for this

15 years agoInstead of loading by path, we let Perl do its thing and load by
Dave Rolsky [Thu, 28 Aug 2008 15:06:56 +0000]
Instead of loading by path, we let Perl do its thing and load by
module name. For some reason, this fixes a bug that tokuhirom found in
Moose (t/030_roles/031_roles_applied_in_create.t), which seemed to
have something to do with load order of the various roles. Go figure.

15 years agoBump the version and update changes for 0.64_06 0.64_06
Dave Rolsky [Mon, 25 Aug 2008 13:52:23 +0000]
Bump the version and update changes for 0.64_06

15 years agobump version and update changes for 0.65_05 0.64_05
Dave Rolsky [Mon, 25 Aug 2008 04:58:28 +0000]
bump version and update changes for 0.65_05

15 years agoWe need to take a copy of the version as a string in order to pass
Dave Rolsky [Mon, 25 Aug 2008 04:55:22 +0000]
We need to take a copy of the version as a string in order to pass
that to the XSLoader, or else it complains with something like
'0.64_04 doesn't match 0.6404'

15 years agoReplace the alloca and snprintf stuff with equivalent XS API code,
Dave Rolsky [Mon, 25 Aug 2008 04:54:21 +0000]
Replace the alloca and snprintf stuff with equivalent XS API code,
which should work on all platforms. Visual C++ was barfing on these
functions, apparently.

15 years agobump version and update Changes for 0.64_04 release 0.64_04
Dave Rolsky [Sat, 23 Aug 2008 20:27:22 +0000]
bump version and update Changes for 0.64_04 release

15 years agoDon't ship pod tests since we don't want bogus failures from other
Dave Rolsky [Sat, 23 Aug 2008 20:26:20 +0000]
Don't ship pod tests since we don't want bogus failures from other
people's old pod testing modules.

15 years agochangelog
Yuval Kogman [Sat, 23 Aug 2008 13:47:05 +0000]
changelog

15 years agoworkaround 5.8.1 bug
Yuval Kogman [Sat, 23 Aug 2008 13:46:04 +0000]
workaround 5.8.1 bug

15 years agoBump the version # and updates Changes for 0.64_03 0.64_03
Dave Rolsky [Fri, 22 Aug 2008 03:52:21 +0000]
Bump the version # and updates Changes for 0.64_03

15 years agofix 5.8.2 mystery breakage
Yuval Kogman [Fri, 22 Aug 2008 03:33:04 +0000]
fix 5.8.2 mystery breakage

15 years agoavoid useless constant in void context by using !1 for falseh
Yuval Kogman [Fri, 22 Aug 2008 03:32:51 +0000]
avoid useless constant in void context by using !1 for falseh

15 years agoNo need to ship .shipit file 0.64_02
Dave Rolsky [Thu, 21 Aug 2008 15:06:41 +0000]
No need to ship .shipit file

15 years agobump version # for next release
Dave Rolsky [Thu, 21 Aug 2008 15:06:32 +0000]
bump version # for next release

15 years agoadd a .shipit file for my sake
Dave Rolsky [Thu, 21 Aug 2008 15:05:39 +0000]
add a .shipit file for my sake

15 years agoChanges for next release, plus add dates missing from last one
Dave Rolsky [Thu, 21 Aug 2008 15:04:05 +0000]
Changes for next release, plus add dates missing from last one

15 years agoDocument get_all_attributes method
Dave Rolsky [Thu, 21 Aug 2008 15:01:32 +0000]
Document get_all_attributes method

15 years agoget_all_attributes for MI
Yuval Kogman [Thu, 21 Aug 2008 10:03:32 +0000]
get_all_attributes for MI

15 years agoMore changes
Dave Rolsky [Thu, 21 Aug 2008 03:11:43 +0000]
More changes

15 years agoAdd missing test prereqs. Also, EUMM doesn't support declaring a
Dave Rolsky [Thu, 21 Aug 2008 03:10:39 +0000]
Add missing test prereqs. Also, EUMM doesn't support declaring a
minimum Perl version, so just do it the hard way.

15 years agoMention explicit 5.8.x requirement
Dave Rolsky [Thu, 21 Aug 2008 03:03:05 +0000]
Mention explicit 5.8.x requirement

15 years agoBe even more explicit about requiring Perl 5.8 +
Dave Rolsky [Thu, 21 Aug 2008 02:57:10 +0000]
Be even more explicit about requiring Perl 5.8 +

15 years agoBe explicit about our minimum required Perl.
Dave Rolsky [Thu, 21 Aug 2008 02:56:36 +0000]
Be explicit about our minimum required Perl.