13 years agoRelease date for 1.05 1.05
Dave Rolsky [Sun, 22 Aug 2010 15:31:14 +0000]
Release date for 1.05

13 years agoChanges for 1.05
Dave Rolsky [Sun, 22 Aug 2010 15:31:02 +0000]
Changes for 1.05

13 years agoBump version to 1.05
Dave Rolsky [Fri, 20 Aug 2010 12:10:46 +0000]
Bump version to 1.05

I want to do this now, since the latest Moose requires the latest CMOP, and I want to install them locally for various bits of testing.

13 years agoOnly get ISA once in superclasses method
Dave Rolsky [Thu, 19 Aug 2010 14:02:06 +0000]
Only get ISA once in superclasses method

13 years agoDon't make a method object for calls to has_method, just for get_method
Dave Rolsky [Thu, 19 Aug 2010 04:29:08 +0000]
Don't make a method object for calls to has_method, just for get_method

This speeds things up a bit more, since we can check for the existence of a
method without actually inflating a code ref into a method object.

13 years agoMake sure that get_method_list and _get_local_methods handle constants in the namespa...
Dave Rolsky [Sun, 15 Aug 2010 09:17:57 +0000]
Make sure that get_method_list and _get_local_methods handle constants in the namespace safely

13 years agoAdd _get_local_methods method that returns method objects directly.
Dave Rolsky [Sat, 14 Aug 2010 17:28:33 +0000]
Add _get_local_methods method that returns method objects directly.

Using this in various places can make our code much more efficient, since we
avoid calling get_method twice.

13 years agoBig optimization for get_method_list
Dave Rolsky [Sat, 14 Aug 2010 16:54:30 +0000]
Big optimization for get_method_list

By checking for a CODE slot in the glob, we can avoid a lot of calls to
->has_method, which is quite expensive.

This seems to provide a speedup of approximately 10% when compiling
Markdent::Simple::Document (and all the classes it loads in turn).

13 years agoSimplify code a bit by returning immediately from _check_metaclass_compatibility...
Dave Rolsky [Sat, 14 Aug 2010 16:35:32 +0000]
Simplify code a bit by returning immediately from _check_metaclass_compatibility when possible

13 years agoClarify comment after refactoring
Dave Rolsky [Sat, 14 Aug 2010 16:29:30 +0000]
Clarify comment after refactoring

13 years agodocpatch to Class::MOP::Class to make it more clear that get_attribute_list does...
Robert Buels [Tue, 10 Aug 2010 22:50:32 +0000]
docpatch to Class::MOP::Class to make it more clear that get_attribute_list does not traverse the inheritance hierarchy

13 years agoSome small optimizations to avoid repeated accessor calls when inlining a constructor
Dave Rolsky [Sun, 8 Aug 2010 09:14:02 +0000]
Some small optimizations to avoid repeated accessor calls when inlining a constructor

13 years agoTidy oddly formatted chunk of code
Dave Rolsky [Sun, 8 Aug 2010 09:10:49 +0000]
Tidy oddly formatted chunk of code

13 years agoGet the package name once as a small optimization
Dave Rolsky [Sun, 8 Aug 2010 09:02:08 +0000]
Get the package name once as a small optimization

13 years agoInline the clone method in CMOP::Method as an optimization
Dave Rolsky [Sun, 8 Aug 2010 08:58:32 +0000]
Inline the clone method in CMOP::Method as an optimization

13 years agoA small optimization to CMOP::Mixin::HasMethods::get_method (from profiling)
Dave Rolsky [Thu, 5 Aug 2010 23:05:32 +0000]
A small optimization to CMOP::Mixin::HasMethods::get_method (from profiling)

13 years agoAdd Changes for doy's better_default_generation branch
Dave Rolsky [Mon, 26 Jul 2010 17:51:00 +0000]
Add Changes for doy's better_default_generation branch

13 years agoSquashed commit of the following:
Dave Rolsky [Mon, 26 Jul 2010 17:49:03 +0000]
Squashed commit of the following:

commit 255fa25a0a956ccac7b8a3c0434321bef3b67942
Author: Jesse Luehrs <doy@tozt.net>
Date:   Mon Jul 5 19:26:30 2010 -0500

    just close over the default value, stop fiddling with reparsing

commit e78f18dd84e155eccae4986de1de2d8adf0e4373
Author: Jesse Luehrs <doy@tozt.net>
Date:   Mon Jul 5 17:32:45 2010 -0500

    support default => undef better

commit 7be1d004a96a44cc93b0a85bdfb26e6be647e77d
Author: Jesse Luehrs <doy@tozt.net>
Date:   Mon Jul 5 17:24:49 2010 -0500

    refactor out default generation into something moose can use

13 years agoRequire latest Package::DeprecationManager 1.04
Dave Rolsky [Sun, 25 Jul 2010 15:25:32 +0000]
Require latest Package::DeprecationManager

13 years agobump version to 1.04
Dave Rolsky [Sun, 25 Jul 2010 15:24:03 +0000]
bump version to 1.04

13 years agoAdd date for 1.04
Dave Rolsky [Sun, 25 Jul 2010 15:23:36 +0000]
Add date for 1.04

13 years agoImprove docs for CMOP::Deprecated
Dave Rolsky [Wed, 14 Jul 2010 16:42:16 +0000]
Improve docs for CMOP::Deprecated

13 years agoUse Package::DeprecationManager to manage deprecations
Dave Rolsky [Mon, 12 Jul 2010 20:12:46 +0000]
Use Package::DeprecationManager to manage deprecations

13 years agoRemove irrelevant comment
Dave Rolsky [Mon, 12 Jul 2010 16:22:26 +0000]
Remove irrelevant comment

13 years agoAdd authority metadata
Florian Ragwitz [Sat, 5 Jun 2010 21:01:44 +0000]
Add authority metadata

13 years agoVersion 1.03 1.03
Florian Ragwitz [Sat, 5 Jun 2010 20:58:44 +0000]
Version 1.03

13 years agoAdd release day for 1.02
Florian Ragwitz [Sat, 5 Jun 2010 20:58:17 +0000]
Add release day for 1.02

13 years agoChangelog Package::Stash
Florian Ragwitz [Sat, 5 Jun 2010 20:55:13 +0000]
Changelog Package::Stash

13 years agomake CMOP::Package a thin wrapper around Package::Stash
Jesse Luehrs [Tue, 11 May 2010 04:20:29 +0000]
make CMOP::Package a thin wrapper around Package::Stash

13 years agoVersion 1.02 1.02
Florian Ragwitz [Thu, 20 May 2010 19:44:04 +0000]
Version 1.02

13 years agoAdd conflict against old Moose versions
Florian Ragwitz [Thu, 20 May 2010 19:52:14 +0000]
Add conflict against old Moose versions

13 years agoFix 0.01 release date
Florian Ragwitz [Thu, 20 May 2010 19:43:25 +0000]
Fix 0.01 release date

13 years agoFix changelog nit
Florian Ragwitz [Thu, 20 May 2010 19:42:23 +0000]
Fix changelog nit

13 years agoneed to dep on List::MoreUtils now
Jesse Luehrs [Mon, 10 May 2010 22:56:02 +0000]
need to dep on List::MoreUtils now

13 years agomove some metaclass compat docs from moose to here
Jesse Luehrs [Mon, 10 May 2010 21:47:16 +0000]
move some metaclass compat docs from moose to here

13 years agohandle undef metaclasses where they are defined in superclass
Jesse Luehrs [Mon, 10 May 2010 17:58:53 +0000]
handle undef metaclasses where they are defined in superclass

13 years agosimplify
Jesse Luehrs [Mon, 10 May 2010 16:55:40 +0000]
simplify

13 years agoClarify what $TODO is about
Dave Rolsky [Mon, 26 Apr 2010 17:51:42 +0000]
Clarify what $TODO is about

13 years agoSigh, and one more place to use _real_ref_name
Dave Rolsky [Mon, 26 Apr 2010 17:32:55 +0000]
Sigh, and one more place to use _real_ref_name

13 years agoFix one more spot to use ->_real_ref_name
Dave Rolsky [Mon, 26 Apr 2010 17:32:10 +0000]
Fix one more spot to use ->_real_ref_name

13 years agoRefactor code to get a metaclass object's real class name into a method.
Dave Rolsky [Mon, 26 Apr 2010 17:24:44 +0000]
Refactor code to get a metaclass object's real class name into a method.

This eliminates a nasty little bit of duplicated code scattered throughout the code base.

Also need to get Moose to use this.

13 years agodon't whine about unsafe fixing unless we're actually fixing something
Jesse Luehrs [Mon, 19 Apr 2010 01:36:37 +0000]
don't whine about unsafe fixing unless we're actually fixing something

13 years agofix up some immutability stuff
Jesse Luehrs [Fri, 16 Apr 2010 05:39:27 +0000]
fix up some immutability stuff

13 years agomore complicated metaclass initialization tests
Jesse Luehrs [Sat, 3 Apr 2010 00:56:15 +0000]
more complicated metaclass initialization tests

13 years agomore tests
Jesse Luehrs [Fri, 2 Apr 2010 23:34:09 +0000]
more tests

13 years agodon't call $self->initialize, call CMOP::Class->initialize
Jesse Luehrs [Fri, 2 Apr 2010 20:47:33 +0000]
don't call $self->initialize, call CMOP::Class->initialize

now that metaclass compat fixing works, let that take care of picking
the correct metaclass

13 years agodon't try to fix compatible metaclasses
Jesse Luehrs [Fri, 2 Apr 2010 17:52:05 +0000]
don't try to fix compatible metaclasses

13 years agomore correct metaclass compat checking and fixing
Jesse Luehrs [Thu, 17 Sep 2009 23:58:17 +0000]
more correct metaclass compat checking and fixing

13 years agomove methods back into CMOP::Class, now that they're a separate mixin
Jesse Luehrs [Tue, 11 May 2010 02:13:19 +0000]
move methods back into CMOP::Class, now that they're a separate mixin

13 years agoAdd the repository URL to the Makefile.PL/META.yml
Shlomi Fish [Mon, 19 Apr 2010 21:33:55 +0000]
Add the repository URL to the Makefile.PL/META.yml

14 years agoVersion 1.01. 1.01
Florian Ragwitz [Thu, 6 May 2010 00:06:29 +0000]
Version 1.01.

14 years agoAllow requiring a version with is_class_loaded, load_class and load_first_existing_class.
Florian Ragwitz [Sat, 1 May 2010 22:15:19 +0000]
Allow requiring a version with is_class_loaded, load_class and load_first_existing_class.

14 years agodon't allow incorrectly-blessed __INSTANCE__ parameters
Jesse Luehrs [Mon, 3 May 2010 16:43:35 +0000]
don't allow incorrectly-blessed __INSTANCE__ parameters

14 years agoSpell "fucking" properly
Dave Rolsky [Thu, 25 Mar 2010 20:37:18 +0000]
Spell "fucking" properly

14 years agoVersion 1.00. 1.00
Florian Ragwitz [Thu, 25 Mar 2010 18:15:33 +0000]
Version 1.00.

14 years agoVersion 0.99. 0.99
Florian Ragwitz [Thu, 25 Mar 2010 17:59:19 +0000]
Version 0.99.

14 years agoUpdate Changes.
Florian Ragwitz [Thu, 25 Mar 2010 17:57:37 +0000]
Update Changes.

14 years agoChangelog indenting.
Florian Ragwitz [Tue, 2 Feb 2010 23:47:11 +0000]
Changelog indenting.

14 years agoPOD typo corrected
franck cuny [Thu, 21 Jan 2010 14:21:58 +0000]
POD typo corrected

14 years agoAdd release date 0.98
Dave Rolsky [Mon, 18 Jan 2010 17:52:29 +0000]
Add release date

14 years agoUpdated to new style change log and added 0.98 version
Dave Rolsky [Mon, 18 Jan 2010 04:23:02 +0000]
Updated to new style change log and added 0.98 version

14 years agobump version to 0.98
Dave Rolsky [Mon, 18 Jan 2010 04:22:10 +0000]
bump version to 0.98

14 years agoAdd test for non-alphanumeric attr names (with inlining)
Dave Rolsky [Sun, 17 Jan 2010 16:37:05 +0000]
Add test for non-alphanumeric attr names (with inlining)

14 years agoFix changes for rebless_instance_back (it's not in the last release, duh)
Dave Rolsky [Mon, 4 Jan 2010 20:22:17 +0000]
Fix changes for rebless_instance_back (it's not in the last release, duh)

14 years agoMerge topic/reinitialize_instance_back to master.
Jesse Luehrs [Mon, 4 Jan 2010 20:21:39 +0000]
Merge topic/reinitialize_instance_back to master.

Adds a rebless_instance_back method to CMOP::Class, which allows you to
rebless an object into a parent class.

Squashed commit of the following:

commit 163e33b72ad010907a64d39f7ade7ab257e6bf97
Author: Dave Rolsky <autarch@urth.org>
Date:   Mon Jan 4 14:18:35 2010 -0600

    Add deinitialized to whitelist

commit 7ae09debd63b91febc33c3395de34fb3635efdf9
Author: Dave Rolsky <autarch@urth.org>
Date:   Mon Jan 4 14:16:44 2010 -0600

    Run new code through tidy

commit 2586d8600533aa060741991a25ade044668cdbcd
Author: Jesse Luehrs <doy@tozt.net>
Date:   Sat Dec 19 16:17:07 2009 -0600

    implement rebless_instance_back

14 years agoUpdate Changes, bump version to 0.97_01, make copyright 2006-2010 0.97_01
Dave Rolsky [Mon, 4 Jan 2010 17:30:54 +0000]
Update Changes, bump version to 0.97_01, make copyright 2006-2010

14 years agoMerge the topic/mi-methods-attributes branch.
Dave Rolsky [Mon, 4 Jan 2010 17:28:48 +0000]
Merge the topic/mi-methods-attributes branch.

This moves several pieces of functionality into new Mixins so that they can
more easily be reused by Moose, in particular by Moose::Meta::Role and
Moose::Meta::Role::Attribute.

Squashed commit of the following:

commit c871d3eac7cc21ad8dbe6169100feb0514dc4837
Author: Dave Rolsky <autarch@urth.org>
Date:   Sun Jan 3 10:44:17 2010 -0600

    Add minimal pod to mixin classes, add versions, and update pod spelling & coverage tests

commit 3c688b21fd9c4187a8f8b81bec3ff570367d9c2e
Author: Dave Rolsky <autarch@urth.org>
Date:   Sun Jan 3 00:05:47 2010 -0600

    Changes for next version

commit 9e3ca77b02a577f17dad4312b057778b30531b43
Author: Dave Rolsky <autarch@urth.org>
Date:   Mon Dec 28 11:14:24 2009 -0600

    Mixins no longer inherit from CMOP::Object.

    They now inherit from CMOP::Mixin, which just provides a ->meta method.

commit 84dd9b9ac630c5f4f05fda1c92475622bd1d1b59
Author: Dave Rolsky <autarch@urth.org>
Date:   Mon Dec 28 11:06:53 2009 -0600

    rename AttributeBase -> AttributeCore

commit 41d62121a64393345bbdddb71a461521db397132
Author: Dave Rolsky <autarch@urth.org>
Date:   Sat Dec 26 13:11:10 2009 -0600

    only require that attributes implement CMOP::Mixin::AttributeBase to add them to a thing which has attrs

commit 2611f98e2b56d77be2974b624519ceb3260c4e20
Author: Dave Rolsky <autarch@urth.org>
Date:   Fri Dec 25 19:52:52 2009 -0600

    move core meta-attribute attributes to a mixin class for benefit of role attributes

commit 30bf0c82239247a48a464619231ab931c80d2f67
Author: Dave Rolsky <autarch@urth.org>
Date:   Fri Dec 25 10:57:52 2009 -0600

    Rename HasMethod & HasAttributes as Class::MOP::Mixin::...

commit 5e31ca05f9630c567662f23263fa8722cd301444
Merge: 8860f0f 3aad1e2
Author: Dave Rolsky <autarch@urth.org>
Date:   Fri Dec 25 10:39:48 2009 -0600

    Merge branch 'master' into topic/mi-methods-attributes

commit 8860f0f14413d44f94eee530852edd254200a46c
Author: Dave Rolsky <autarch@urth.org>
Date:   Fri Dec 25 10:38:07 2009 -0600

    Refine HasAttributes a bit more so that it only contains the minimum shared behavior between CMOP::Class and Moose::Meta::Role

commit 2d413af5a93064413d7b005150623ab1d70bb25e
Author: Dave Rolsky <autarch@urth.org>
Date:   Thu Dec 17 11:22:56 2009 -0600

    Don't call meta instance related methods unconditionally in HasAttributes.

    Move get_all_attributes back to CMOP::Class, since it only makes sense for
    things with inheritance.

commit b71bd1cded366fe62f4a44471908dd57a8686077
Author: Dave Rolsky <autarch@urth.org>
Date:   Wed Dec 16 14:24:14 2009 -0600

    Moved attribute management to CMOP::HasAttributes.

    Next step is to make Moose::Meta::Role work inherit from this class.

commit e3e651fb972d8c9c1cf82574b53dcc8cadfb717a
Author: Dave Rolsky <autarch@urth.org>
Date:   Wed Dec 16 11:52:38 2009 -0600

    Move having methods to a new superclass - Class::MOP::HasMethods

14 years agoadd segfault workaround to pod spelling test
Dave Rolsky [Fri, 25 Dec 2009 16:39:18 +0000]
add segfault workaround to pod spelling test

14 years agobump version to 0.97 0.97
Dave Rolsky [Sat, 19 Dec 2009 01:16:49 +0000]
bump version to 0.97

14 years agoAdd 0.97 changes and dates for 0.96 & 0.97
Dave Rolsky [Sat, 19 Dec 2009 01:14:25 +0000]
Add 0.97 changes and dates for 0.96 & 0.97

14 years agoChecking in changes prior to tagging of version 0.96. Changelog diff is: 0.96
Shawn M Moore [Fri, 18 Dec 2009 17:52:15 +0000]
Checking in changes prior to tagging of version 0.96.  Changelog diff is:

14 years agoChangelogging
Shawn M Moore [Fri, 18 Dec 2009 17:38:47 +0000]
Changelogging

14 years agoAdd XS & C files to no tabs check
Dave Rolsky [Sun, 13 Dec 2009 18:19:25 +0000]
Add XS & C files to no tabs check

14 years agoConvert all tests to done_testing.
Florian Ragwitz [Thu, 10 Dec 2009 21:15:59 +0000]
Convert all tests to done_testing.

14 years agofix t/082_get_code_info.t for bleadperl
Dave Rolsky [Mon, 7 Dec 2009 17:00:48 +0000]
fix t/082_get_code_info.t for bleadperl

14 years agoget more information out of this test when it fails
Ricardo Signes [Sat, 21 Nov 2009 13:56:40 +0000]
get more information out of this test when it fails

14 years agoChecking in changes prior to tagging of version 0.95. Changelog diff is: 0.95
Florian Ragwitz [Thu, 19 Nov 2009 00:54:20 +0000]
Checking in changes prior to tagging of version 0.95.  Changelog diff is:

diff --git a/Changes b/Changes
index f6ab14f..981c3e0 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
 Revision history for Perl extension Class-MOP.

+0.95 Wed, Nov 19, 2009
     * Class::MOP
       - Make is_class_loaded without any arguments fail loudly
         (Florian Ragwitz).

14 years agoChangelogging.
Florian Ragwitz [Thu, 19 Nov 2009 00:00:41 +0000]
Changelogging.

14 years agoIgnore dists.
Florian Ragwitz [Wed, 18 Nov 2009 21:23:07 +0000]
Ignore dists.

14 years agoStop add_method from behaving differently under the debugger.
Florian Ragwitz [Wed, 18 Nov 2009 20:58:38 +0000]
Stop add_method from behaving differently under the debugger.

Under -d, the subname of an anon coderef is '__ANON__[Some/File.pm:42]' instead
of just '__ANON__'.

14 years agoAdd a test count
Dave Rolsky [Wed, 11 Nov 2009 02:50:54 +0000]
Add a test count

14 years agoMake is_class_loaded without args fail loudly.
Florian Ragwitz [Sun, 25 Oct 2009 00:14:31 +0000]
Make is_class_loaded without args fail loudly.

14 years agoAdd my name to my change and fix a speling error
Dave Rolsky [Mon, 12 Oct 2009 04:20:33 +0000]
Add my name to my change and fix a speling error

14 years agoDeprecate get_attribute_map
Dave Rolsky [Thu, 1 Oct 2009 19:06:30 +0000]
Deprecate get_attribute_map

14 years agoPOD typo corrected.
Jay Hannah [Wed, 7 Oct 2009 21:27:43 +0000]
POD typo corrected.

14 years agoFix a typo in Changes
Dave Rolsky [Mon, 5 Oct 2009 18:31:40 +0000]
Fix a typo in Changes

14 years agoFormatting fix
Dave Rolsky [Fri, 2 Oct 2009 02:05:17 +0000]
Formatting fix

14 years agoAll methods which take a method name should not accept an empty string (using
Dave Rolsky [Fri, 2 Oct 2009 02:04:37 +0000]
All methods which take a method name should not accept an empty string (using
that makes Perl blow up in weird ways), but should allow false values.

14 years agoClean up this test (tidy, improve test descriptions)
Dave Rolsky [Thu, 1 Oct 2009 19:03:36 +0000]
Clean up this test (tidy, improve test descriptions)

14 years agorefactor load_first_existing_class
Yuval Kogman [Fri, 25 Sep 2009 19:27:44 +0000]
refactor load_first_existing_class

14 years agoreplace several uses of eval with try
Jesse Luehrs [Wed, 23 Sep 2009 02:04:26 +0000]
replace several uses of eval with try

14 years agodearbitrarize
Yuval Kogman [Thu, 1 Oct 2009 00:59:24 +0000]
dearbitrarize

14 years agoremove outdated comment
Jesse Luehrs [Wed, 23 Sep 2009 01:45:28 +0000]
remove outdated comment

14 years agobump version to 0.94 0.94
Dave Rolsky [Tue, 22 Sep 2009 21:23:26 +0000]
bump version to 0.94

14 years agoChangelog tweaks for 0.94
Dave Rolsky [Tue, 22 Sep 2009 21:23:17 +0000]
Changelog tweaks for 0.94

14 years agochangelog
Yuval Kogman [Tue, 22 Sep 2009 21:21:20 +0000]
changelog

14 years agoAdd {get,set}_raw_value methods
Yuval Kogman [Wed, 19 Aug 2009 21:37:45 +0000]
Add {get,set}_raw_value methods

Side-effect free versions of {get,set}_value

14 years agoFixed some typos in Class::MOP::Class; no functional or substantive changes.
chromatic [Tue, 15 Sep 2009 23:53:02 +0000]
Fixed some typos in Class::MOP::Class; no functional or substantive changes.

14 years agoAdd release date 0.93
Dave Rolsky [Tue, 15 Sep 2009 14:35:58 +0000]
Add release date

14 years agoAdd -Wdeclaration-after-statement since such things will break MSVC++
Dave Rolsky [Tue, 15 Sep 2009 04:24:57 +0000]
Add -Wdeclaration-after-statement since such things will break MSVC++