15 years agoMore perltidying
Dave Rolsky [Mon, 20 Apr 2009 15:13:29 +0000]
More perltidying

15 years agoMore perltidying abuse of CMOP::Class
Dave Rolsky [Mon, 20 Apr 2009 15:12:54 +0000]
More perltidying abuse of CMOP::Class

15 years agoreformat
Yuval Kogman [Mon, 20 Apr 2009 15:08:53 +0000]
reformat

15 years agoallow safe overriding of immutable_trait
Yuval Kogman [Sun, 19 Apr 2009 15:25:14 +0000]
allow safe overriding of immutable_trait

Generates a class name that involves a prefix, the metaclass name and
the trait name when overidden.

when the default immutable_trait is used (99.99999% of the cases ;-) the
name is shorter and omits the immutable trait

15 years agorefactor a Class::MOP::Method::Inlined base class
Yuval Kogman [Sun, 19 Apr 2009 11:50:11 +0000]
refactor a Class::MOP::Method::Inlined base class

15 years agoRemove immutable transformer
Yuval Kogman [Sat, 18 Apr 2009 22:44:24 +0000]
Remove immutable transformer

15 years agoDon't define new() in this benchmark, make_immutable creates one
Shawn M Moore [Fri, 17 Apr 2009 03:41:20 +0000]
Don't define new() in this benchmark, make_immutable creates one

15 years agoFix a speling error in Changes
Dave Rolsky [Fri, 17 Apr 2009 03:27:58 +0000]
Fix a speling error in Changes

15 years agoupdate Changes
Jesse Luehrs [Wed, 15 Apr 2009 03:32:35 +0000]
update Changes

15 years agoDocument deprecation fixes
Dave Rolsky [Thu, 9 Apr 2009 14:11:36 +0000]
Document deprecation fixes

15 years agoPass @_ from deprecation wrapper
Dave Rolsky [Thu, 9 Apr 2009 14:11:27 +0000]
Pass @_ from deprecation wrapper

15 years agowarn if we aren't going to inline a constructor because one is already
Jesse Luehrs [Thu, 9 Apr 2009 00:49:15 +0000]
warn if we aren't going to inline a constructor because one is already
there

15 years agopass in args for all deprecated methods
Yuval Kogman [Wed, 8 Apr 2009 22:16:35 +0000]
pass in args for all deprecated methods

15 years agobump version to 0.81 0.81
Dave Rolsky [Tue, 7 Apr 2009 15:59:21 +0000]
bump version to 0.81

15 years agoUpdate changes for release
Dave Rolsky [Tue, 7 Apr 2009 15:57:57 +0000]
Update changes for release

15 years agoChangelogging.
Florian Ragwitz [Tue, 7 Apr 2009 15:15:07 +0000]
Changelogging.

15 years agoAvoid c compiler warnings by declaring some unused function arguments.
Florian Ragwitz [Tue, 7 Apr 2009 15:12:37 +0000]
Avoid c compiler warnings by declaring some unused function arguments.

15 years agoInclude stack traces in the deprecation warnings.
Florian Ragwitz [Tue, 7 Apr 2009 15:12:01 +0000]
Include stack traces in the deprecation warnings.

15 years agoMake _initialize_body private to match other classes
Dave Rolsky [Mon, 6 Apr 2009 15:41:28 +0000]
Make _initialize_body private to match other classes

15 years agoAdd date for release 0.80_01
Dave Rolsky [Sun, 5 Apr 2009 21:37:43 +0000]
Add date for release

15 years agobump version to 0.80_01
Dave Rolsky [Sun, 5 Apr 2009 21:37:26 +0000]
bump version to 0.80_01

15 years agoHandle undef without warnings in class_of
Dave Rolsky [Sun, 5 Apr 2009 21:15:40 +0000]
Handle undef without warnings in class_of

15 years agoMake the deprecation warning for attributes match all other similar
Dave Rolsky [Sun, 5 Apr 2009 21:12:50 +0000]
Make the deprecation warning for attributes match all other similar
warnings.

15 years agoTweak changes to be a bit more useful
Dave Rolsky [Sun, 5 Apr 2009 17:08:34 +0000]
Tweak changes to be a bit more useful

15 years agoDocument all the renames and deprecations in changes
Dave Rolsky [Sun, 5 Apr 2009 17:07:51 +0000]
Document all the renames and deprecations in changes

15 years agoMake attributes private. Even though it can be inlined at no cost in
Dave Rolsky [Sun, 5 Apr 2009 17:00:51 +0000]
Make attributes private. Even though it can be inlined at no cost in
CMOP, it's useful as a caching method for Moose.

15 years agoone more spot still referring to compute_all_applicable_attributes
Dave Rolsky [Sun, 5 Apr 2009 16:37:03 +0000]
one more spot still referring to compute_all_applicable_attributes

15 years agoRemove mention of compute_all_applicable_attributes
Dave Rolsky [Sun, 5 Apr 2009 16:32:17 +0000]
Remove mention of compute_all_applicable_attributes

15 years agoDoh, had the wrong method name in the deprecation warning
Dave Rolsky [Sun, 5 Apr 2009 16:31:35 +0000]
Doh, had the wrong method name in the deprecation warning

15 years agoFix some comments referencing renamed methods
Dave Rolsky [Sun, 5 Apr 2009 16:26:43 +0000]
Fix some comments referencing renamed methods

15 years agomemoize get_all_attributes, not compute_all_applicable_attributes
Dave Rolsky [Sun, 5 Apr 2009 16:25:05 +0000]
memoize get_all_attributes, not compute_all_applicable_attributes

15 years agoMerge branch 'master' into renames-and-deprecations
Dave Rolsky [Sun, 5 Apr 2009 16:20:37 +0000]
Merge branch 'master' into renames-and-deprecations

Conflicts:
xt/pod_coverage.t

15 years agodeprecate compute_all_applicable_attributes
Dave Rolsky [Sun, 5 Apr 2009 16:17:12 +0000]
deprecate compute_all_applicable_attributes

15 years agomake CMOP::Class->construct_instance private
Dave Rolsky [Sun, 5 Apr 2009 16:06:40 +0000]
make CMOP::Class->construct_instance private

15 years agopreserve compiler flags from Config.pm
Dave Rolsky [Sun, 5 Apr 2009 15:38:34 +0000]
preserve compiler flags from Config.pm

15 years agoAdd release date 0.80
Dave Rolsky [Wed, 1 Apr 2009 16:49:07 +0000]
Add release date

15 years agobump version
Dave Rolsky [Wed, 1 Apr 2009 16:48:52 +0000]
bump version

15 years agoAdd "reblessing" to dictionary
Dave Rolsky [Wed, 1 Apr 2009 16:48:19 +0000]
Add "reblessing" to dictionary

15 years agorebless_instance_away is documented
Dave Rolsky [Wed, 1 Apr 2009 16:48:03 +0000]
rebless_instance_away is documented

15 years agoremove docs for HAVE_ISAREV
Dave Rolsky [Wed, 1 Apr 2009 16:45:47 +0000]
remove docs for HAVE_ISAREV

15 years agoGive everything the same line length
Dave Rolsky [Wed, 1 Apr 2009 16:45:23 +0000]
Give everything the same line length

15 years agoMake HAVE_ISAREV warn
Shawn M Moore [Tue, 31 Mar 2009 03:48:09 +0000]
Make HAVE_ISAREV warn

15 years agoRemove the pure-perl fallback of CMOP::Class->subclasses
Shawn M Moore [Tue, 31 Mar 2009 03:31:33 +0000]
Remove the pure-perl fallback of CMOP::Class->subclasses

    MRO::Compat and mro have always had get_isarev, and HAS_ISAREV was
    always true anyway. That pure-perl fallback has literally never been
    run since August.

15 years agoDeprecate HAS_ISAREV, it was always just returning 1!
Shawn M Moore [Tue, 31 Mar 2009 03:31:15 +0000]
Deprecate HAS_ISAREV, it was always just returning 1!

15 years agoclean up trailing whitespace
Hans Dieter Pearcey [Sun, 29 Mar 2009 20:28:34 +0000]
clean up trailing whitespace

15 years agofix load_first_existing_class to die on an existing class that fails to compile
Hans Dieter Pearcey [Sun, 29 Mar 2009 20:24:28 +0000]
fix load_first_existing_class to die on an existing class that fails to compile

15 years agoMention that we switched to class_of in the Changes entry for ->meta
Shawn M Moore [Sat, 28 Mar 2009 22:55:03 +0000]
Mention that we switched to class_of in the Changes entry for ->meta

15 years agoChanges from no-meta
Shawn M Moore [Sat, 28 Mar 2009 22:31:42 +0000]
Changes from no-meta

15 years agoMove class_of into the scope of %METAS to save a method call (since it's
Shawn M Moore [Sat, 28 Mar 2009 22:15:19 +0000]
Move class_of into the scope of %METAS to save a method call (since it's
so hot!)

15 years agoDon't protect against undef both because this is a hot function and
Shawn M Moore [Sat, 28 Mar 2009 22:13:38 +0000]
Don't protect against undef both because this is a hot function and
because the user shouldn't pass undef to this :)

15 years agoDocument that load_class returns the metaclass
Shawn M Moore [Sat, 28 Mar 2009 21:16:17 +0000]
Document that load_class returns the metaclass

15 years agoUse class_of in CMOP::Object::_new
Shawn M Moore [Sat, 28 Mar 2009 20:04:24 +0000]
Use class_of in CMOP::Object::_new

15 years agoUse class_of in Immutable
Shawn M Moore [Sat, 28 Mar 2009 20:02:04 +0000]
Use class_of in Immutable

15 years agorebless_instance fixes and no-metaing
Shawn M Moore [Sat, 28 Mar 2009 19:58:55 +0000]
rebless_instance fixes and no-metaing

15 years agoMake class_of actually work, since it's not a method! :x
Shawn M Moore [Sat, 28 Mar 2009 19:54:20 +0000]
Make class_of actually work, since it's not a method! :x

15 years agoAnother error change
Shawn M Moore [Sat, 28 Mar 2009 19:51:17 +0000]
Another error change

15 years agoBetter error message given that we're trying to ignore ->meta
Shawn M Moore [Sat, 28 Mar 2009 19:39:24 +0000]
Better error message given that we're trying to ignore ->meta

15 years agoTweaks to class_of
Shawn M Moore [Sat, 28 Mar 2009 19:33:18 +0000]
Tweaks to class_of

15 years agoDoc for class_of
Shawn M Moore [Sat, 28 Mar 2009 19:33:13 +0000]
Doc for class_of

15 years agoClass::MOP::class_of($instance_or_class)
Shawn M Moore [Sat, 28 Mar 2009 19:26:15 +0000]
Class::MOP::class_of($instance_or_class)

15 years agobump version and update Changes 0.79
Dave Rolsky [Fri, 27 Mar 2009 15:48:20 +0000]
bump version and update Changes

15 years agoMerge branch 'master' into renames-and-deprecations
Dave Rolsky [Thu, 26 Mar 2009 21:33:35 +0000]
Merge branch 'master' into renames-and-deprecations

Conflicts:

t/010_self_introspection.t
t/073_make_mutable.t

15 years agoAdd new method
Dave Rolsky [Thu, 26 Mar 2009 17:53:24 +0000]
Add new method

15 years agoAdd release date 0.78_02
Dave Rolsky [Thu, 26 Mar 2009 17:49:06 +0000]
Add release date

15 years agoDocument rebless_instance_away as part of rebless_instance
Shawn M Moore [Tue, 24 Mar 2009 03:25:15 +0000]
Document rebless_instance_away as part of rebless_instance

15 years agoDocument changes
Shawn M Moore [Tue, 24 Mar 2009 03:15:09 +0000]
Document changes

15 years agoAdd a rebless_instance_away hook
Shawn M Moore [Tue, 24 Mar 2009 03:14:57 +0000]
Add a rebless_instance_away hook

15 years agoUse blessed instead of ref to get an instance's class name
Shawn M Moore [Tue, 24 Mar 2009 03:11:42 +0000]
Use blessed instead of ref to get an instance's class name

15 years agochanges for 0.78_02
Dave Rolsky [Mon, 23 Mar 2009 17:57:16 +0000]
changes for 0.78_02

15 years agoXSPROTO backcompat for 5.8.x
Dave Rolsky [Mon, 23 Mar 2009 17:57:08 +0000]
XSPROTO backcompat for 5.8.x

15 years agobump version so Moose has something to depend on
Dave Rolsky [Mon, 23 Mar 2009 15:36:09 +0000]
bump version so Moose has something to depend on

15 years agoCMOP now conflicts with the most recent release of Moose
Dave Rolsky [Mon, 23 Mar 2009 15:34:17 +0000]
CMOP now conflicts with the most recent release of Moose

15 years agoMore about the immutable changes
Dave Rolsky [Mon, 23 Mar 2009 15:31:18 +0000]
More about the immutable changes

15 years agoMore info on doc changes
Dave Rolsky [Mon, 23 Mar 2009 15:30:37 +0000]
More info on doc changes

15 years agochanges for immutable refactoring
Dave Rolsky [Mon, 23 Mar 2009 15:30:24 +0000]
changes for immutable refactoring

15 years agoMerge branch 'master' into refactor-immutable
Dave Rolsky [Sun, 22 Mar 2009 14:00:58 +0000]
Merge branch 'master' into refactor-immutable

Conflicts:

lib/Class/MOP/Immutable.pm
lib/Class/MOP/Instance.pm
lib/Class/MOP/Method/Constructor.pm
xt/pod_coverage.t

15 years agoWe are never going to make a destructor object and then find out it
Dave Rolsky [Sat, 21 Mar 2009 15:13:29 +0000]
We are never going to make a destructor object and then find out it
isn't needed, because we already check if it's needed before making
it!

15 years agoDocumented the is_inline method twice, oops.
Dave Rolsky [Sat, 21 Mar 2009 14:59:31 +0000]
Documented the is_inline method twice, oops.

15 years agoUsing goto is very subclass-unfriendly, and breaks Moose for no reason.
Dave Rolsky [Thu, 19 Mar 2009 18:40:22 +0000]
Using goto is very subclass-unfriendly, and breaks Moose for no reason.

15 years agoMerge branch 'master' into renames-and-deprecations
Dave Rolsky [Thu, 19 Mar 2009 17:14:36 +0000]
Merge branch 'master' into renames-and-deprecations

Conflicts:

lib/Class/MOP/Instance.pm
lib/Class/MOP/Method/Accessor.pm
lib/Class/MOP/Method/Constructor.pm
lib/Class/MOP/Module.pm
xt/pod_coverage.t

15 years agoMore refactoring of immutable code to make it easy to integrate
Dave Rolsky [Thu, 19 Mar 2009 16:33:07 +0000]
More refactoring of immutable code to make it easy to integrate
refactoring with Moose.

15 years agoNot document CMOP::Method::Constructor->options
Dave Rolsky [Wed, 18 Mar 2009 17:20:49 +0000]
Not document CMOP::Method::Constructor->options

15 years agoAnchor the regex properly
Dave Rolsky [Wed, 18 Mar 2009 17:20:38 +0000]
Anchor the regex properly

15 years agoIgnore manifest
Dave Rolsky [Wed, 18 Mar 2009 17:04:48 +0000]
Ignore manifest

15 years agoUse git for tagging
Dave Rolsky [Wed, 18 Mar 2009 17:04:11 +0000]
Use git for tagging

15 years agoIgnore all .git.*
Dave Rolsky [Wed, 18 Mar 2009 17:03:20 +0000]
Ignore all .git.*

15 years agobump version for dev release 0.78_01
Dave Rolsky [Wed, 18 Mar 2009 17:02:29 +0000]
bump version for dev release

15 years agoAdd docs to Changes
Dave Rolsky [Tue, 17 Mar 2009 19:11:22 +0000]
Add docs to Changes

15 years agofinish up docs for CMOP::Immutable
Dave Rolsky [Tue, 17 Mar 2009 18:26:25 +0000]
finish up docs for CMOP::Immutable

15 years agoSome more doc cleanup. Make this pod like the other pod.
Dave Rolsky [Tue, 17 Mar 2009 17:31:07 +0000]
Some more doc cleanup. Make this pod like the other pod.

15 years agoMissing docs on method metaclass names
Dave Rolsky [Tue, 17 Mar 2009 17:29:18 +0000]
Missing docs on method metaclass names

15 years agoSome more words in the dictionary
Dave Rolsky [Tue, 17 Mar 2009 17:25:25 +0000]
Some more words in the dictionary

15 years agoDocs for CMOP::Package
Dave Rolsky [Tue, 17 Mar 2009 17:24:53 +0000]
Docs for CMOP::Package

15 years agofix a pod error
Dave Rolsky [Tue, 17 Mar 2009 17:10:54 +0000]
fix a pod error

15 years agodocs for CMOP::Module
Dave Rolsky [Tue, 17 Mar 2009 16:57:44 +0000]
docs for CMOP::Module

15 years agoDocs for CMOP::Object
Dave Rolsky [Tue, 17 Mar 2009 16:53:27 +0000]
Docs for CMOP::Object

15 years agoDocs for CMOP::Method::Wrapped
Dave Rolsky [Tue, 17 Mar 2009 16:30:31 +0000]
Docs for CMOP::Method::Wrapped

15 years agoDocs for CMOP::Method::Generated (or really, lack of docs).
Dave Rolsky [Tue, 17 Mar 2009 16:23:06 +0000]
Docs for CMOP::Method::Generated (or really, lack of docs).

15 years agoMake the new method in CMOP::Method::Generated throw an error. This is an abstract...
Dave Rolsky [Tue, 17 Mar 2009 16:13:37 +0000]
Make the new method in CMOP::Method::Generated throw an error. This is an abstract base class, and the subclasses really need to implement their own constructor.

15 years agoNo need to pass an index to an array when we can pass the array member
Dave Rolsky [Tue, 17 Mar 2009 16:02:38 +0000]
No need to pass an index to an array when we can pass the array member
directly.