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++

14 years agoRevert "MS VC++ compilation fix"
Dave Rolsky [Tue, 15 Sep 2009 04:20:06 +0000]
Revert "MS VC++ compilation fix"

This reverts commit ca2126106133419088523aefe7cf5d0c91524086.

Conflicts:

Changes

14 years agoSo apparently the case I thought could never happen _does_ happen.
Dave Rolsky [Mon, 14 Sep 2009 21:29:03 +0000]
So apparently the case I thought could never happen _does_ happen.

This fixes it, but I don't really understand why.

14 years agoOk, the error that can never happened, so it should give a useful error message
Dave Rolsky [Mon, 14 Sep 2009 20:42:03 +0000]
Ok, the error that can never happened, so it should give a useful error message

14 years agobump version to 0.93
Dave Rolsky [Mon, 14 Sep 2009 20:11:32 +0000]
bump version to 0.93

14 years agoTweak change bug description
Dave Rolsky [Mon, 14 Sep 2009 20:10:34 +0000]
Tweak change bug description

14 years agoAdd some details to changes for get_method_map privatization
Dave Rolsky [Mon, 14 Sep 2009 18:43:32 +0000]
Add some details to changes for get_method_map privatization

14 years agoActually implemented public get_method_map for back-compat, and made sure all its...
Dave Rolsky [Mon, 14 Sep 2009 18:26:41 +0000]
Actually implemented public get_method_map for back-compat, and made sure all its values are still method objects.

Tweaked docs in CMOP::Deprecated.

14 years agoCMOP::Package should have an attribute for methods, just a private one
Dave Rolsky [Fri, 11 Sep 2009 15:22:13 +0000]
CMOP::Package should have an attribute for methods, just a private one

14 years agofix tests for latest Moose
Dave Rolsky [Fri, 11 Sep 2009 15:06:44 +0000]
fix tests for latest Moose

14 years agoRemove debugging cruft
Dave Rolsky [Fri, 28 Aug 2009 20:20:07 +0000]
Remove debugging cruft

14 years agoAdd changes for this branch
Dave Rolsky [Wed, 26 Aug 2009 17:32:43 +0000]
Add changes for this branch

14 years agoMake get_method_map private (as _full_method_map) and deprecate the public
Dave Rolsky [Wed, 26 Aug 2009 17:29:00 +0000]
Make get_method_map private (as _full_method_map) and deprecate the public
version.

14 years agoThe methods attribute is now inherited from Package
Dave Rolsky [Wed, 26 Aug 2009 17:28:46 +0000]
The methods attribute is now inherited from Package

14 years agoFix RT 48985
Dave Rolsky [Tue, 25 Aug 2009 17:58:07 +0000]
Fix RT 48985

When add_method is called, it now always adds _something_ to the method map,
but it may be a raw coderef. In get_method, we check for this and inflate it
into a proper method meta-object as needed.

This means that the method map contains a mix of objects and code refs, and so
is no longer fit for public consumption.

14 years agoChangelog entry
Shawn M Moore [Mon, 14 Sep 2009 02:26:20 +0000]
Changelog entry

14 years agoInclude method name in immutable methods (fixes #49680)
Shawn M Moore [Mon, 14 Sep 2009 02:22:04 +0000]
Include method name in immutable methods (fixes #49680)

14 years agotidy benchmark code
Dave Rolsky [Sun, 13 Sep 2009 16:00:35 +0000]
tidy benchmark code

14 years agoAdd a little more to changes for load_class
Dave Rolsky [Sun, 13 Sep 2009 15:28:44 +0000]
Add a little more to changes for load_class

14 years agoFix test description
Dave Rolsky [Sat, 12 Sep 2009 23:20:58 +0000]
Fix test description

14 years agomake load_class return true for the benefit of dumb code in the wild
Dave Rolsky [Sat, 12 Sep 2009 23:20:03 +0000]
make load_class return true for the benefit of dumb code in the wild

14 years agoDo not return anything from load_class.
Dave Rolsky [Sat, 12 Sep 2009 22:23:37 +0000]
Do not return anything from load_class.

The existing return value was goofy (metaclass object or class name). We can
always return the class name, but why bother?

14 years agoSmall tweaks to initializer docs
Dave Rolsky [Sat, 12 Sep 2009 22:23:31 +0000]
Small tweaks to initializer docs

14 years agoMS VC++ compilation fix
Dave Rolsky [Fri, 11 Sep 2009 16:21:40 +0000]
MS VC++ compilation fix

14 years agobump version to 0.92_01 and add release date 0.92_01
Dave Rolsky [Fri, 11 Sep 2009 02:28:18 +0000]
bump version to 0.92_01 and add release date

14 years agoCMOP::Class now has an immutable_options method
Dave Rolsky [Fri, 11 Sep 2009 02:26:08 +0000]
CMOP::Class now has an immutable_options method

14 years agoChanges for immutable_options
Dave Rolsky [Thu, 10 Sep 2009 17:53:26 +0000]
Changes for immutable_options

14 years agoDocs for immutable_options
Dave Rolsky [Thu, 10 Sep 2009 17:52:22 +0000]
Docs for immutable_options

14 years agoRemove method that no longer exists
Dave Rolsky [Thu, 10 Sep 2009 17:51:09 +0000]
Remove method that no longer exists

14 years agoadd test that custom immutable options are returned by immutable_options()
Dave Rolsky [Thu, 10 Sep 2009 17:50:20 +0000]
add test that custom immutable options are returned by immutable_options()

14 years agomake immutable_options part of the regular CMOP::Class API and add some tests for it
Dave Rolsky [Thu, 10 Sep 2009 17:47:45 +0000]
make immutable_options part of the regular CMOP::Class API and add some tests for it

14 years agoMake get_mutable_metaclass_name private (it was never documented to start with)
Dave Rolsky [Thu, 10 Sep 2009 17:40:03 +0000]
Make get_mutable_metaclass_name private (it was never documented to start with)

14 years agoAdd some Changes for 0.93
Dave Rolsky [Mon, 7 Sep 2009 21:34:01 +0000]
Add some Changes for 0.93

14 years agoMake debugging output for MOP_PRINT_SOURCE a little nicer
Dave Rolsky [Wed, 26 Aug 2009 21:42:51 +0000]
Make debugging output for MOP_PRINT_SOURCE a little nicer

14 years ago.pm files should not be executable
Dave Rolsky [Tue, 25 Aug 2009 21:45:56 +0000]
.pm files should not be executable

14 years agoAdd test plan, tidy, and add test descriptions
Dave Rolsky [Tue, 25 Aug 2009 17:34:00 +0000]
Add test plan, tidy, and add test descriptions

14 years agoSeparate deprecated features to Deprecated.pm
gfx [Sat, 22 Aug 2009 08:09:50 +0000]
Separate deprecated features to Deprecated.pm

With cleanups by Dave Rolksy

14 years agoHandle magical scalars in XS
gfx [Sun, 23 Aug 2009 09:30:06 +0000]
Handle magical scalars in XS

14 years agoAdd a test file for magical scalars. Note that XSUB does not handle magical scalars...
gfx [Sun, 23 Aug 2009 09:29:07 +0000]
Add a test file for magical scalars. Note that XSUB does not handle magical scalars automatically.

14 years agoremove a misplaced sentence in the POD
franck cuny [Thu, 20 Aug 2009 15:22:54 +0000]
remove a misplaced sentence in the POD

14 years agoRefactor mop_get_package_symbols
gfx [Wed, 19 Aug 2009 09:26:18 +0000]
Refactor mop_get_package_symbols

14 years agoRevert "Remove subname() in add_method(). Now add_package_symbol() does it in a smart...
gfx [Wed, 19 Aug 2009 09:11:33 +0000]
Revert "Remove subname() in add_method(). Now add_package_symbol() does it in a smart way."

This reverts commit d6d832874639934e7faa18e6ecb70a2a821c3b21.

Conflicts:

lib/Class/MOP/Module.pm

14 years agoRevert "Merge branch 'master' into topic/symbol-manipulator"
Jesse Luehrs [Wed, 19 Aug 2009 03:21:51 +0000]
Revert "Merge branch 'master' into topic/symbol-manipulator"

This reverts commit c8fd7a1e8d0bd8db0b3d7ea745c491e2ce24decd, reversing
changes made to 122aa3d6bbb1cc8f7bcb45254e2d7f62c8bb1e0e.

Conflicts:

lib/Class/MOP/Module.pm
xs/Package.xs

14 years agofix url in POD for meta-model
franck cuny [Mon, 17 Aug 2009 10:40:29 +0000]
fix url in POD for meta-model

14 years agoEnsure backword compatibility (checked in 5.8.1)
gfx [Mon, 17 Aug 2009 04:51:50 +0000]
Ensure backword compatibility (checked in 5.8.1)

14 years agoAdd a comment.
gfx [Mon, 17 Aug 2009 04:36:24 +0000]
Add a comment.

14 years agoTiny tweaks in Package.xs
gfx [Mon, 17 Aug 2009 04:36:07 +0000]
Tiny tweaks in Package.xs

14 years agoRemove subname() in add_method(). Now add_package_symbol() does it in a smart way.
gfx [Mon, 17 Aug 2009 04:34:48 +0000]
Remove subname() in add_method(). Now add_package_symbol() does it in a smart way.

14 years agotiny tweaks
gfx [Mon, 17 Aug 2009 04:15:39 +0000]
tiny tweaks

14 years agoMerge branch 'master' into topic/symbol-manipulator
gfx [Sun, 16 Aug 2009 01:51:35 +0000]
Merge branch 'master' into topic/symbol-manipulator

Conflicts:
lib/Class/MOP/Class.pm
xs/Package.xs

14 years agoadd_package_symbol is no longer called from get_package_symbol
gfx [Sun, 16 Aug 2009 01:46:40 +0000]
add_package_symbol is no longer called from get_package_symbol

14 years agotab -> space*4
gfx [Sun, 16 Aug 2009 01:36:38 +0000]
tab -> space*4

14 years agoRefactor XS symbol manipulators
gfx [Sun, 16 Aug 2009 01:33:48 +0000]
Refactor XS symbol manipulators

14 years agoMerge branch 'master' of gitmo@git.moose.perl.org:Class-MOP
gfx [Sat, 15 Aug 2009 07:56:34 +0000]
Merge branch 'master' of gitmo@git.moose.perl.org:Class-MOP

14 years agoAllow metaclasses to be reinitialized from an existing metaclass, instead of only...
Florian Ragwitz [Thu, 30 Jul 2009 12:16:46 +0000]
Allow metaclasses to be reinitialized from an existing metaclass, instead of only a package name.

14 years agoMerge branch 'master' of gitmo@git.moose.perl.org:Class-MOP
gfx [Fri, 14 Aug 2009 00:19:55 +0000]
Merge branch 'master' of gitmo@git.moose.perl.org:Class-MOP

14 years agoAdd release date to Changes 0.92
Dave Rolsky [Thu, 13 Aug 2009 21:48:57 +0000]
Add release date to Changes

14 years agoTidy Changes
Dave Rolsky [Thu, 13 Aug 2009 21:48:44 +0000]
Tidy Changes

14 years agobump version to 0.92
Dave Rolsky [Thu, 13 Aug 2009 21:47:37 +0000]
bump version to 0.92

14 years agoUse double-quotes and quotemeta for inlined hash slot access.
Dave Rolsky [Thu, 13 Aug 2009 15:46:38 +0000]
Use double-quotes and quotemeta for inlined hash slot access.

This seems safer than using regex substitutions to escape strings.