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.

14 years agoRevert "Default accessor generators to use inline generators"
gfx [Thu, 13 Aug 2009 08:11:23 +0000]
Revert "Default accessor generators to use inline generators"

This reverts commit 9f4ddc6e70f5666a21f99c0d5b682140175feafc.

14 years agoRevert "Fix example to define sub is_inline{ 0 }"
gfx [Thu, 13 Aug 2009 08:10:55 +0000]
Revert "Fix example to define sub is_inline{ 0 }"

This reverts commit 640e075762ff5c90fd088fe39df040a0aabe366c.

14 years agoFix example to define sub is_inline{ 0 }
gfx [Thu, 13 Aug 2009 08:02:03 +0000]
Fix example to define sub is_inline{ 0 }

14 years agoDefault accessor generators to use inline generators
gfx [Thu, 13 Aug 2009 07:59:55 +0000]
Default accessor generators to use inline generators

14 years agoRemove unneccessary code
gfx [Thu, 13 Aug 2009 06:59:23 +0000]
Remove unneccessary code

14 years agoFix too much quotemeta in Instance metaclass
gfx [Thu, 13 Aug 2009 06:57:11 +0000]
Fix too much quotemeta in Instance metaclass

14 years agoAdd source printing code to Method::Generated that is contralled by $ENV{MOP_PRINT_SO...
gfx [Thu, 13 Aug 2009 06:48:58 +0000]
Add source printing code to Method::Generated that is contralled by $ENV{MOP_PRINT_SOURCE}

14 years agoAdd tests using immulable classes
gfx [Thu, 13 Aug 2009 06:40:41 +0000]
Add tests using immulable classes

14 years agoEnhance bench/loading-benchmark.pl to try to load blead Moose
gfx [Thu, 13 Aug 2009 05:26:38 +0000]
Enhance bench/loading-benchmark.pl to try to load blead Moose

14 years agoWe accept false attribute names now, update the test
Shawn M Moore [Wed, 12 Aug 2009 00:40:40 +0000]
We accept false attribute names now, update the test

14 years agoChangelogging.
Florian Ragwitz [Sat, 8 Aug 2009 15:45:37 +0000]
Changelogging.

14 years agoAllow attributes to be have a name which is false.
Florian Ragwitz [Fri, 7 Aug 2009 19:25:21 +0000]
Allow attributes to be have a name which is false.

14 years agoMore Changes reformatting tweaks
Dave Rolsky [Wed, 29 Jul 2009 21:50:27 +0000]
More Changes reformatting tweaks

14 years agoMerge branch 'stable'
Dave Rolsky [Wed, 29 Jul 2009 21:48:57 +0000]
Merge branch 'stable'

Conflicts:
Changes

14 years agobump version to 0.91 0.91
Dave Rolsky [Wed, 29 Jul 2009 21:47:48 +0000]
bump version to 0.91

14 years agoAdd date for release
Dave Rolsky [Wed, 29 Jul 2009 21:47:39 +0000]
Add date for release

14 years agowhoops forgot the changelog
Stevan Little [Wed, 29 Jul 2009 21:05:22 +0000]
whoops forgot the changelog

14 years agoemergency fix for bad variable usage
Stevan Little [Wed, 29 Jul 2009 21:03:27 +0000]
emergency fix for bad variable usage

14 years agoChanges reformatting
Dave Rolsky [Wed, 29 Jul 2009 21:11:05 +0000]
Changes reformatting

14 years agowhoops forgot the changelog
Stevan Little [Wed, 29 Jul 2009 21:05:22 +0000]
whoops forgot the changelog

14 years agoemergency fix for bad variable usage
Stevan Little [Wed, 29 Jul 2009 21:03:27 +0000]
emergency fix for bad variable usage

14 years agoupdate Changes
Jesse Luehrs [Sun, 26 Jul 2009 03:23:10 +0000]
update Changes

14 years agoupdate docs for calling ->wrap on a method object
Jesse Luehrs [Sun, 26 Jul 2009 03:21:36 +0000]
update docs for calling ->wrap on a method object

14 years agoadd tests for wrapping a method metaobject
Jesse Luehrs [Sun, 26 Jul 2009 02:07:39 +0000]
add tests for wrapping a method metaobject

14 years agoclone and rebless when wrapping a method object
Jesse Luehrs [Sun, 26 Jul 2009 02:17:06 +0000]
clone and rebless when wrapping a method object

14 years agomove Changes to an unreleased version
Hans Dieter Pearcey [Wed, 22 Jul 2009 23:18:24 +0000]
move Changes to an unreleased version

14 years agoMerge branch 'master' into method_map_move
Hans Dieter Pearcey [Wed, 22 Jul 2009 23:02:54 +0000]
Merge branch 'master' into method_map_move

Conflicts:
lib/Class/MOP/Class.pm
t/010_self_introspection.t

14 years agoImplement naming routine in add_package_symbol(xsub) to avoid type-glob duplication
gfx [Wed, 22 Jul 2009 08:39:35 +0000]
Implement naming routine in add_package_symbol(xsub) to avoid type-glob duplication

14 years agoFix RT #48072 using isGV_with_GP directly, which is now ported by ppport.h
gfx [Wed, 22 Jul 2009 00:58:29 +0000]
Fix RT #48072 using isGV_with_GP directly, which is now ported by ppport.h

14 years agoUpdate ppport.h to 3.19
gfx [Wed, 22 Jul 2009 00:56:56 +0000]
Update ppport.h to 3.19

14 years agoUpdate dependencies in README
gfx [Wed, 22 Jul 2009 00:34:47 +0000]
Update dependencies in README

14 years agoAdd a release date 0.90
Dave Rolsky [Tue, 21 Jul 2009 21:04:54 +0000]
Add a release date

14 years agobump version to 0.90
Dave Rolsky [Tue, 21 Jul 2009 20:58:05 +0000]
bump version to 0.90

14 years agoUpdate changelog for 0.90
Dave Rolsky [Tue, 21 Jul 2009 20:56:10 +0000]
Update changelog for 0.90

14 years agoOptimize symbol manipulators
gfx [Sun, 19 Jul 2009 02:35:41 +0000]
Optimize symbol manipulators

14 years agoRemove a "no strict 'refs'" statement
gfx [Sun, 19 Jul 2009 02:05:11 +0000]
Remove a "no strict 'refs'" statement

14 years agofix symbol manipulators
gfx [Sun, 19 Jul 2009 02:03:30 +0000]
fix symbol manipulators

14 years agoFix exception when $_ is modified in before/after.
Stash [Fri, 17 Jul 2009 01:10:03 +0000]
Fix exception when $_ is modified in before/after.

I _think_ what's happening here is that $_ was getting aliased to an entry in
@$before/@$after, so that modifying $_ would in fact modify that array slot's
scalar.

Declaring `my $c` like this doesn't seem to impact performance vs. using $_.
Putting it outside the "cache" closure means `my` only gets run once.

14 years agoRemove pure perl implementations
gfx [Thu, 16 Jul 2009 08:15:29 +0000]
Remove pure perl implementations

14 years agoPackage symbol manipulators into XS
gfx [Thu, 16 Jul 2009 08:05:02 +0000]
Package symbol manipulators into XS

TODO:
pass all the test existing
write new tests if needed

14 years agoMethod modifier tweaks. Add missing Wrapped::_new()
gfx [Thu, 16 Jul 2009 00:07:06 +0000]
Method modifier tweaks. Add missing Wrapped::_new()

14 years agoRemove has_method() in _immutable_metaclass(), which always returns false
gfx [Wed, 15 Jul 2009 23:58:23 +0000]
Remove has_method() in _immutable_metaclass(), which always returns false

14 years agoRemove unnecessary calls of has_method()
gfx [Wed, 15 Jul 2009 23:56:07 +0000]
Remove unnecessary calls of has_method()

has_method() is simply "defined get_method(...)".

14 years agoDon't fail if a coderef's GV doesn't have a stash.
Florian Ragwitz [Wed, 15 Jul 2009 22:24:36 +0000]
Don't fail if a coderef's GV doesn't have a stash.

14 years agoMore code tidying
Dave Rolsky [Wed, 15 Jul 2009 14:36:55 +0000]
More code tidying

14 years agoFix a typo in Changes
Dave Rolsky [Wed, 15 Jul 2009 14:35:21 +0000]
Fix a typo in Changes

14 years agotidy new code from Goro
Dave Rolsky [Wed, 15 Jul 2009 14:35:07 +0000]
tidy new code from Goro

14 years agovarious tweaks, and refactor _instantiate_module not to use eval STRING
gfx [Wed, 15 Jul 2009 10:52:04 +0000]
various tweaks, and refactor _instantiate_module not to use eval STRING

14 years agono get_method_map in get_all_method_names
gfx [Wed, 15 Jul 2009 10:16:05 +0000]
no get_method_map in get_all_method_names

14 years agoFix bench/foo.pl
gfx [Wed, 15 Jul 2009 08:39:01 +0000]
Fix bench/foo.pl

14 years agoProfile script for KiokuDB
gfx [Wed, 15 Jul 2009 08:37:12 +0000]
Profile script for KiokuDB

14 years agoNote about JPA's sponsorship and the importance of testing for back-compat
Shawn M Moore [Wed, 15 Jul 2009 07:32:49 +0000]
Note about JPA's sponsorship and the importance of testing for back-compat

14 years agoChanges entry for gfx/topic/reduce-inline-constructor
Shawn M Moore [Wed, 15 Jul 2009 07:29:44 +0000]
Changes entry for gfx/topic/reduce-inline-constructor

14 years agoMerge branch 'topic/reduce-inline-constructor' of git://github.com/gfx/class-mop
Shawn M Moore [Wed, 15 Jul 2009 07:28:54 +0000]
Merge branch 'topic/reduce-inline-constructor' of git://github.com/gfx/class-mop

14 years agoChanges entry for gfx/topic/no-get_method_map
Shawn M Moore [Wed, 15 Jul 2009 07:21:19 +0000]
Changes entry for gfx/topic/no-get_method_map

14 years agoMerge branch 'topic/no-get_method_map' of git://github.com/gfx/class-mop
Shawn M Moore [Wed, 15 Jul 2009 07:21:06 +0000]
Merge branch 'topic/no-get_method_map' of git://github.com/gfx/class-mop