15 years agoa few more tweaks now that CMOP::Class->_immutable_metaclass is not public 0.82_01
Dave Rolsky [Thu, 23 Apr 2009 20:22:11 +0000]
a few more tweaks now that CMOP::Class->_immutable_metaclass is not public

15 years agochangelog immutable work
Matt S Trout [Thu, 23 Apr 2009 20:14:23 +0000]
changelog immutable work

15 years agoDon't document can_be_inlined here
Dave Rolsky [Thu, 23 Apr 2009 19:30:11 +0000]
Don't document can_be_inlined here

15 years agoNo need for API docs in Class::MOP::Class::Immutable::Trait or Class::MOP::Class...
Dave Rolsky [Thu, 23 Apr 2009 19:29:54 +0000]
No need for API docs in Class::MOP::Class::Immutable::Trait or Class::MOP::Class::Immutable::Class::MOP::Class

15 years agoDocs for CMOP::Method::Inlined
Dave Rolsky [Thu, 23 Apr 2009 19:29:01 +0000]
Docs for CMOP::Method::Inlined

15 years agoMake immutable_metaclass private and move it so it comes after where it is used.
Dave Rolsky [Thu, 23 Apr 2009 19:26:54 +0000]
Make immutable_metaclass private and move it so it comes after where it is used.

15 years agoDocs for Class::MOP::Class::Immutable::Trait Class::MOP::Class
Dave Rolsky [Thu, 23 Apr 2009 19:25:04 +0000]
Docs for Class::MOP::Class::Immutable::Trait Class::MOP::Class

15 years agoAdd docs to Class::MOP::Class::Immutable::Trait
Dave Rolsky [Thu, 23 Apr 2009 19:24:10 +0000]
Add docs to Class::MOP::Class::Immutable::Trait

15 years agobump version to 0.82_01
Dave Rolsky [Thu, 23 Apr 2009 19:19:45 +0000]
bump version to 0.82_01

15 years agoAdd header for next release
Dave Rolsky [Thu, 23 Apr 2009 19:19:22 +0000]
Add header for next release

15 years agoDon't use no_plan!
Shawn M Moore [Tue, 21 Apr 2009 06:33:09 +0000]
Don't use no_plan!

15 years agoMerge branch 'no_immutable_transformer'
Yuval Kogman [Mon, 20 Apr 2009 15:51:26 +0000]
Merge branch 'no_immutable_transformer'

15 years agobump version to 0.82 0.82
Dave Rolsky [Mon, 20 Apr 2009 15:31:59 +0000]
bump version to 0.82

15 years agoadd date to Changes
Dave Rolsky [Mon, 20 Apr 2009 15:31:50 +0000]
add date to Changes

15 years agoMove creation of the warning until the end of the method, right before we warn
Dave Rolsky [Mon, 20 Apr 2009 15:20:55 +0000]
Move creation of the warning until the end of the method, right before we warn

15 years agoReduce nested if-ness by short-circuiting and returning as soon as possible
Dave Rolsky [Mon, 20 Apr 2009 15:20:00 +0000]
Reduce nested if-ness by short-circuiting and returning as soon as possible

15 years agoPerltidy this file
Dave Rolsky [Mon, 20 Apr 2009 15:14:16 +0000]
Perltidy this file

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 agoPush to origin after tagging
Dave Rolsky [Sun, 19 Apr 2009 03:14:41 +0000]
Push to origin after tagging

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