15 years agoFix magic stuff
gfx [Fri, 28 Aug 2009 05:05:26 +0000]
Fix magic stuff

15 years agoRefactor method generators, preparing XS constructor generator
gfx [Fri, 28 Aug 2009 04:28:47 +0000]
Refactor method generators, preparing XS constructor generator

15 years agoClearify a comment
gfx [Fri, 28 Aug 2009 03:33:24 +0000]
Clearify a comment

15 years agoAdd assert to mi methods
gfx [Fri, 28 Aug 2009 03:12:06 +0000]
Add assert to mi methods

15 years agoAdd is_instance_of() to MOP APIs for extentions
gfx [Fri, 28 Aug 2009 03:04:34 +0000]
Add is_instance_of() to MOP APIs for extentions

15 years agoAdd is_class_loaded() to MOP APIs so that extentions can use it
gfx [Fri, 28 Aug 2009 02:01:17 +0000]
Add is_class_loaded() to MOP APIs so that extentions can use it

15 years agoUse Module::Info instead of eval "require $mod" in Makefile.PL
gfx [Thu, 27 Aug 2009 08:34:47 +0000]
Use Module::Info instead of eval "require $mod" in Makefile.PL

15 years agoTweaks for less memory
gfx [Thu, 27 Aug 2009 08:19:11 +0000]
Tweaks for less memory

15 years agoChange XS Meta Instance API
gfx [Tue, 25 Aug 2009 01:21:43 +0000]
Change XS Meta Instance API

15 years agoMerge branch 'master' into topic/unified-method-generation-w-xs
gfx [Sun, 23 Aug 2009 09:56:18 +0000]
Merge branch 'master' into topic/unified-method-generation-w-xs

Conflicts:
mop.c

15 years agoMerge branch 'topic/unified-method-generation-w-xs' of gitmo@moose.perl.org:Class...
gfx [Sun, 23 Aug 2009 09:47:52 +0000]
Merge branch 'topic/unified-method-generation-w-xs' of gitmo@moose.perl.org:Class-MOP into topic/unified-method-generation-w-xs

15 years agoRemove old accessors that are commented out
gfx [Sun, 23 Aug 2009 09:44:39 +0000]
Remove old accessors that are commented out

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

15 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.

15 years agoAdd a comment for GETMAGIC in accessors
gfx [Sun, 23 Aug 2009 09:13:00 +0000]
Add a comment for GETMAGIC in accessors

15 years agoAdd t/314_method_leak.t for memory leak testing
gfx [Fri, 21 Aug 2009 08:41:03 +0000]
Add t/314_method_leak.t for memory leak testing

15 years agoFix a memory leak
gfx [Fri, 21 Aug 2009 08:38:50 +0000]
Fix a memory leak

15 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

15 years agoRefactor MOP Instance API in XS
gfx [Thu, 20 Aug 2009 02:23:51 +0000]
Refactor MOP Instance API in XS

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

15 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

15 years agoEnsure that generated accessors are XS
gfx [Wed, 19 Aug 2009 07:47:18 +0000]
Ensure that generated accessors are XS

15 years agoOptimize can_xs()
gfx [Wed, 19 Aug 2009 07:46:12 +0000]
Optimize can_xs()

15 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

15 years agoComment out pp accessors in Package.pm
gfx [Tue, 18 Aug 2009 08:19:11 +0000]
Comment out pp accessors in Package.pm

15 years agois_inline as an argument
gfx [Tue, 18 Aug 2009 07:31:55 +0000]
is_inline as an argument

15 years agofix can_xs()
gfx [Tue, 18 Aug 2009 06:40:42 +0000]
fix can_xs()

15 years agocomment for Module::Install::XSUtil
gfx [Tue, 18 Aug 2009 04:50:16 +0000]
comment for Module::Install::XSUtil

15 years agoppport.h tweaks: share the function entity in all object files
gfx [Tue, 18 Aug 2009 04:47:55 +0000]
ppport.h tweaks: share the function entity in all object files

15 years agoA first step to cooperate Moose.xs (topic/xs-accessor)
gfx [Tue, 18 Aug 2009 04:29:52 +0000]
A first step to cooperate Moose.xs (topic/xs-accessor)

15 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

15 years agoMerge branch 'topic/unified-method-generation' into topic/unified-method-generation...
gfx [Mon, 17 Aug 2009 05:41:08 +0000]
Merge branch 'topic/unified-method-generation' into topic/unified-method-generation-w-xs

15 years agoWhether is_inline is true or not does not matter. abandoned/unified-method-generation
gfx [Mon, 17 Aug 2009 05:36:59 +0000]
Whether is_inline is true or not does not matter.

15 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)

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

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

15 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.

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

15 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

15 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

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

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

15 years agoMerge commit 'origin/topic/xs-attr-template' into topic/unified-method-generation...
gfx [Sat, 15 Aug 2009 12:30:52 +0000]
Merge commit 'origin/topic/xs-attr-template' into topic/unified-method-generation-w-xs

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

15 years agoFix ArrayBasedStorage to define is_inlinable{ 1 }
gfx [Sat, 15 Aug 2009 11:04:41 +0000]
Fix ArrayBasedStorage to define is_inlinable{ 1 }

15 years agoFix unified generation
gfx [Sat, 15 Aug 2009 11:04:06 +0000]
Fix unified generation

15 years agoAccessors are generated only once at add_attribute(), not generated in make_immutable()
gfx [Sat, 15 Aug 2009 08:28:52 +0000]
Accessors are generated only once at add_attribute(), not generated in make_immutable()

15 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

15 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.

15 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

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

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

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

15 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.

15 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.

15 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.

15 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 }

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

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

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

15 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}

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

15 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

15 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

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

15 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.

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

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

Conflicts:
Changes

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

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

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

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

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

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

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

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

15 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

15 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

15 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

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

15 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

15 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

15 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

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

15 years agoPure Perl accessors into XS
gfx [Wed, 22 Jul 2009 00:55:29 +0000]
Pure Perl accessors into XS

15 years agoChange the algorithm to use XS accessors. Now "xs" acts as a kind of "inline".
gfx [Wed, 22 Jul 2009 00:53:59 +0000]
Change the algorithm to use XS accessors. Now "xs" acts as a kind of "inline".

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

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

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

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

15 years agoAdd xs accessors
gfx [Tue, 21 Jul 2009 00:03:15 +0000]
Add xs accessors

15 years agoThe first step to frame XS attributes
gfx [Mon, 20 Jul 2009 23:48:12 +0000]
The first step to frame XS attributes

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

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

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

15 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.

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

15 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

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

15 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

15 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(...)".