16 years agoUpdate changes for 0.64_07 0.64_07
Dave Rolsky [Fri, 29 Aug 2008 21:58:18 +0000]
Update changes for 0.64_07

16 years agobump version to 0.64_07 for another (in an endless series of) dev release(s)
Dave Rolsky [Fri, 29 Aug 2008 21:56:58 +0000]
bump version to 0.64_07 for another (in an endless series of) dev release(s)

16 years agoThe package names were wrong for some of the XS subs. I got rid of
Dave Rolsky [Fri, 29 Aug 2008 21:54:03 +0000]
The package names were wrong for some of the XS subs. I got rid of
Class::MOP::Method->name because it did not have the same behavior as
the Perl version. It can be redone later easily enough.

16 years agoSome small tweak to how we load XS, most notably shutting up
Dave Rolsky [Fri, 29 Aug 2008 21:53:25 +0000]
Some small tweak to how we load XS, most notably shutting up
subroutine redefined warnings on earlier Perls (5.8.5 spits them out,
probably others).

Also only load Sub::Identify if needed.

16 years agoFix the instance metaclass incompatibility error to make it clear that
Dave Rolsky [Fri, 29 Aug 2008 18:28:31 +0000]
Fix the instance metaclass incompatibility error to make it clear that
it's talking about the instance metaclass.

16 years agoFix comment speling
Dave Rolsky [Thu, 28 Aug 2008 17:52:36 +0000]
Fix comment speling

16 years agoWhen checking for a valid class name, actually use the right regex
Dave Rolsky [Thu, 28 Aug 2008 15:52:45 +0000]
When checking for a valid class name, actually use the right regex
(doh).

Split out valid name checking for easier testing, and added more tests
for this.

16 years agoadd changes for next release
Dave Rolsky [Thu, 28 Aug 2008 15:39:15 +0000]
add changes for next release

16 years agoCheck that class name is actually a valid class name - add a test for this
Dave Rolsky [Thu, 28 Aug 2008 15:31:07 +0000]
Check that class name is actually a valid class name - add a test for this

16 years agoInstead of loading by path, we let Perl do its thing and load by
Dave Rolsky [Thu, 28 Aug 2008 15:06:56 +0000]
Instead of loading by path, we let Perl do its thing and load by
module name. For some reason, this fixes a bug that tokuhirom found in
Moose (t/030_roles/031_roles_applied_in_create.t), which seemed to
have something to do with load order of the various roles. Go figure.

16 years agoBump the version and update changes for 0.64_06 0.64_06
Dave Rolsky [Mon, 25 Aug 2008 13:52:23 +0000]
Bump the version and update changes for 0.64_06

16 years agobump version and update changes for 0.65_05 0.64_05
Dave Rolsky [Mon, 25 Aug 2008 04:58:28 +0000]
bump version and update changes for 0.65_05

16 years agoWe need to take a copy of the version as a string in order to pass
Dave Rolsky [Mon, 25 Aug 2008 04:55:22 +0000]
We need to take a copy of the version as a string in order to pass
that to the XSLoader, or else it complains with something like
'0.64_04 doesn't match 0.6404'

16 years agoReplace the alloca and snprintf stuff with equivalent XS API code,
Dave Rolsky [Mon, 25 Aug 2008 04:54:21 +0000]
Replace the alloca and snprintf stuff with equivalent XS API code,
which should work on all platforms. Visual C++ was barfing on these
functions, apparently.

16 years agobump version and update Changes for 0.64_04 release 0.64_04
Dave Rolsky [Sat, 23 Aug 2008 20:27:22 +0000]
bump version and update Changes for 0.64_04 release

16 years agoDon't ship pod tests since we don't want bogus failures from other
Dave Rolsky [Sat, 23 Aug 2008 20:26:20 +0000]
Don't ship pod tests since we don't want bogus failures from other
people's old pod testing modules.

16 years agochangelog
Yuval Kogman [Sat, 23 Aug 2008 13:47:05 +0000]
changelog

16 years agoworkaround 5.8.1 bug
Yuval Kogman [Sat, 23 Aug 2008 13:46:04 +0000]
workaround 5.8.1 bug

16 years agoBump the version # and updates Changes for 0.64_03 0.64_03
Dave Rolsky [Fri, 22 Aug 2008 03:52:21 +0000]
Bump the version # and updates Changes for 0.64_03

16 years agofix 5.8.2 mystery breakage
Yuval Kogman [Fri, 22 Aug 2008 03:33:04 +0000]
fix 5.8.2 mystery breakage

16 years agoavoid useless constant in void context by using !1 for falseh
Yuval Kogman [Fri, 22 Aug 2008 03:32:51 +0000]
avoid useless constant in void context by using !1 for falseh

16 years agoNo need to ship .shipit file 0.64_02
Dave Rolsky [Thu, 21 Aug 2008 15:06:41 +0000]
No need to ship .shipit file

16 years agobump version # for next release
Dave Rolsky [Thu, 21 Aug 2008 15:06:32 +0000]
bump version # for next release

16 years agoadd a .shipit file for my sake
Dave Rolsky [Thu, 21 Aug 2008 15:05:39 +0000]
add a .shipit file for my sake

16 years agoChanges for next release, plus add dates missing from last one
Dave Rolsky [Thu, 21 Aug 2008 15:04:05 +0000]
Changes for next release, plus add dates missing from last one

16 years agoDocument get_all_attributes method
Dave Rolsky [Thu, 21 Aug 2008 15:01:32 +0000]
Document get_all_attributes method

16 years agoget_all_attributes for MI
Yuval Kogman [Thu, 21 Aug 2008 10:03:32 +0000]
get_all_attributes for MI

16 years agoMore changes
Dave Rolsky [Thu, 21 Aug 2008 03:11:43 +0000]
More changes

16 years agoAdd missing test prereqs. Also, EUMM doesn't support declaring a
Dave Rolsky [Thu, 21 Aug 2008 03:10:39 +0000]
Add missing test prereqs. Also, EUMM doesn't support declaring a
minimum Perl version, so just do it the hard way.

16 years agoMention explicit 5.8.x requirement
Dave Rolsky [Thu, 21 Aug 2008 03:03:05 +0000]
Mention explicit 5.8.x requirement

16 years agoBe even more explicit about requiring Perl 5.8 +
Dave Rolsky [Thu, 21 Aug 2008 02:57:10 +0000]
Be even more explicit about requiring Perl 5.8 +

16 years agoBe explicit about our minimum required Perl.
Dave Rolsky [Thu, 21 Aug 2008 02:56:36 +0000]
Be explicit about our minimum required Perl.

16 years agoFix version in README 0_64_01
Dave Rolsky [Wed, 20 Aug 2008 18:50:57 +0000]
Fix version in README

16 years agoImplement the "eval $VERSION" trick from perlmodstyle so CPAN doesn't
Dave Rolsky [Wed, 20 Aug 2008 18:46:48 +0000]
Implement the "eval $VERSION" trick from perlmodstyle so CPAN doesn't
spit out many warnings on dev versions.

16 years agochangelog
Yuval Kogman [Wed, 20 Aug 2008 17:20:48 +0000]
changelog

16 years agoupdate_package_flag in alias
Yuval Kogman [Wed, 20 Aug 2008 17:20:39 +0000]
update_package_flag in alias

16 years agoUpdate changes for next release, which will be a dev release.
Dave Rolsky [Wed, 20 Aug 2008 17:05:06 +0000]
Update changes for next release, which will be a dev release.

16 years agowrap_method_body
Yuval Kogman [Sat, 16 Aug 2008 03:52:08 +0000]
wrap_method_body

16 years agoget_all_methods memoized in immutable
Yuval Kogman [Fri, 15 Aug 2008 18:56:08 +0000]
get_all_methods memoized in immutable

16 years agosimplify has_method check
Yuval Kogman [Fri, 15 Aug 2008 18:55:52 +0000]
simplify has_method check

16 years agois_pristine
Yuval Kogman [Fri, 15 Aug 2008 18:55:34 +0000]
is_pristine

16 years agopass @_ % 2 == 1 for compat
Yuval Kogman [Fri, 15 Aug 2008 15:35:40 +0000]
pass @_ % 2 == 1 for compat

16 years agoaccept named params to Package::initialize/reinitialize
Yuval Kogman [Thu, 14 Aug 2008 18:21:45 +0000]
accept named params to Package::initialize/reinitialize

16 years agoregister on initialize, and move reinitialize to Package
Yuval Kogman [Thu, 14 Aug 2008 18:21:30 +0000]
register on initialize, and move reinitialize to Package

16 years agomake sure get_method_map always returns a map (might be a dumb fudge)
Yuval Kogman [Thu, 14 Aug 2008 15:05:37 +0000]
make sure get_method_map always returns a map (might be a dumb fudge)

16 years agoClass::MOP::Package->initialize now checks Class::MOP::get_metaclass_by_name for...
Yuval Kogman [Thu, 14 Aug 2008 15:05:21 +0000]
Class::MOP::Package->initialize now checks Class::MOP::get_metaclass_by_name for a singleton

16 years agopass hashref to Attr->_new
Yuval Kogman [Wed, 13 Aug 2008 22:37:35 +0000]
pass hashref to Attr->_new

16 years agooops, put Object::_new back in for Moose
Yuval Kogman [Wed, 13 Aug 2008 22:20:27 +0000]
oops, put Object::_new back in for Moose

16 years agouse hash refs with _new
Yuval Kogman [Wed, 13 Aug 2008 21:48:49 +0000]
use hash refs with _new

16 years agoaccept hash ref to _new
Yuval Kogman [Wed, 13 Aug 2008 21:34:26 +0000]
accept hash ref to _new

16 years agoremove redundant constructors from MOP.pm
Yuval Kogman [Wed, 13 Aug 2008 21:34:09 +0000]
remove redundant constructors from MOP.pm

16 years ago_new for Class::MOP::Class
Yuval Kogman [Wed, 13 Aug 2008 21:21:36 +0000]
_new for Class::MOP::Class

16 years ago_new for Accessor
Yuval Kogman [Wed, 13 Aug 2008 21:21:14 +0000]
_new for Accessor

16 years ago_new for Accessor
Yuval Kogman [Wed, 13 Aug 2008 21:20:57 +0000]
_new for Accessor

16 years ago_new for Instance
Yuval Kogman [Wed, 13 Aug 2008 21:20:42 +0000]
_new for Instance

16 years ago_enw for Method::Constructor
Yuval Kogman [Wed, 13 Aug 2008 21:20:28 +0000]
_enw for Method::Constructor

16 years agouse _new everywhere
Yuval Kogman [Wed, 13 Aug 2008 21:20:10 +0000]
use _new everywhere

16 years agoimmutable constructor for package
Yuval Kogman [Wed, 13 Aug 2008 21:19:56 +0000]
immutable constructor for package

16 years agoimmutable constructor for Attribute
Yuval Kogman [Wed, 13 Aug 2008 21:19:38 +0000]
immutable constructor for Attribute

16 years agoallow forcing of constructor inlining
Yuval Kogman [Wed, 13 Aug 2008 21:19:18 +0000]
allow forcing of constructor inlining

16 years agoimmutable constructor for method
Yuval Kogman [Wed, 13 Aug 2008 21:18:57 +0000]
immutable constructor for method

16 years agouse _new for inline constructors of meta objects
Yuval Kogman [Wed, 13 Aug 2008 21:18:41 +0000]
use _new for inline constructors of meta objects

16 years agopod coverage for in_global_destruction
Yuval Kogman [Wed, 13 Aug 2008 15:05:11 +0000]
pod coverage for in_global_destruction

16 years agoSub::Name prereq
Yuval Kogman [Wed, 13 Aug 2008 15:04:01 +0000]
Sub::Name prereq

16 years agomove Devel::GlobalDestruction usage to MOP.pm so that when it fails to load and we...
Yuval Kogman [Tue, 12 Aug 2008 18:37:13 +0000]
move Devel::GlobalDestruction usage to MOP.pm so that when it fails to load and we use a constant instead it's not registered as a method of Class::MOP::Class

16 years agoppport.h
Yuval Kogman [Tue, 12 Aug 2008 18:24:46 +0000]
ppport.h

16 years agomore cleanup of XS version of get_all_package_symbols
Yuval Kogman [Tue, 12 Aug 2008 18:24:36 +0000]
more cleanup of XS version of get_all_package_symbols

16 years agoARGHGHGHGH!!! FUCKING UNREFERENCED GLOB/
Yuval Kogman [Tue, 12 Aug 2008 18:24:25 +0000]
ARGHGHGHGH!!! FUCKING UNREFERENCED GLOB/

16 years agoUpdate to a newer ppport.h to get things working on 5.8.8 again
Dave Rolsky [Mon, 11 Aug 2008 20:16:14 +0000]
Update to a newer ppport.h to get things working on 5.8.8 again

16 years agouse ref instead of blessed where it's not needed, and other small nits
Yuval Kogman [Mon, 11 Aug 2008 02:39:32 +0000]
use ref instead of blessed where it's not needed, and other small nits

16 years agoXS versions of the most common readsers
Yuval Kogman [Mon, 11 Aug 2008 02:39:14 +0000]
XS versions of the most common readsers

16 years agomore simplification of the MOP.pm boilerplate
Yuval Kogman [Mon, 11 Aug 2008 01:06:28 +0000]
more simplification of the MOP.pm boilerplate

16 years agosimplify loading of XS code so that it's not as nitrusive to the pureperl bits
Yuval Kogman [Mon, 11 Aug 2008 01:06:15 +0000]
simplify loading of XS code so that it's not as nitrusive to the pureperl bits

16 years agosimplify idiot PUSHs/SPAGAIN incest
Yuval Kogman [Mon, 11 Aug 2008 00:35:12 +0000]
simplify idiot PUSHs/SPAGAIN incest

16 years agoXS version of get_all_package_symbols
Yuval Kogman [Mon, 11 Aug 2008 00:33:28 +0000]
XS version of get_all_package_symbols

16 years agoblah
Yuval Kogman [Sun, 10 Aug 2008 21:43:01 +0000]
blah

16 years agobah, cleanup made it much slower
Yuval Kogman [Sun, 10 Aug 2008 21:36:39 +0000]
bah, cleanup made it much slower

16 years agosimplfy get_all_package_symbols
Yuval Kogman [Sun, 10 Aug 2008 21:01:07 +0000]
simplfy get_all_package_symbols

16 years agoget_all_methods and get_all_attributes
Yuval Kogman [Sun, 10 Aug 2008 20:20:38 +0000]
get_all_methods and get_all_attributes

16 years agodeprecate bless_instance_structure
Yuval Kogman [Sun, 10 Aug 2008 19:41:05 +0000]
deprecate bless_instance_structure

16 years agosmall fixes & optimizations in Meta::Instance
Yuval Kogman [Sun, 10 Aug 2008 19:31:27 +0000]
small fixes & optimizations in Meta::Instance

16 years agoremove now redundant init args
Yuval Kogman [Sun, 10 Aug 2008 19:31:09 +0000]
remove now redundant init args

16 years agoFIXME comment for obra optzns
Yuval Kogman [Sun, 10 Aug 2008 18:55:35 +0000]
FIXME comment for obra optzns

16 years agolocalize $@ more
Yuval Kogman [Sun, 10 Aug 2008 18:55:21 +0000]
localize $@ more

16 years agomerge the attribute maps in compute_all_applicable_attributes
Yuval Kogman [Sun, 10 Aug 2008 18:24:17 +0000]
merge the attribute maps in compute_all_applicable_attributes

16 years agopackage_name >= associated_metaclass->name
Yuval Kogman [Sun, 10 Aug 2008 18:24:02 +0000]
package_name >= associated_metaclass->name

16 years agouse associated method map in compute_all_applicable_methods and do it by merging...
Yuval Kogman [Sun, 10 Aug 2008 17:42:43 +0000]
use associated method map in compute_all_applicable_methods and do it by merging the hashes instead of by calling get_method all the time

16 years agoadd associated_metaclass to Method
Yuval Kogman [Sun, 10 Aug 2008 17:42:29 +0000]
add associated_metaclass to Method

16 years agomicrooptimize Class::MOP::Class::initialize since it's called so often
Yuval Kogman [Sun, 10 Aug 2008 16:39:07 +0000]
microoptimize Class::MOP::Class::initialize since it's called so often

16 years agoupdate package cache flag in get_method_map if it was refreshed
Yuval Kogman [Sun, 10 Aug 2008 13:34:32 +0000]
update package cache flag in get_method_map if it was refreshed

16 years agoexplicit meta instance dependencies
Yuval Kogman [Sun, 10 Aug 2008 13:13:51 +0000]
explicit meta instance dependencies

16 years agouse Devel::GlobalDestruction to avoid destroying anon classes at GD
Yuval Kogman [Sun, 10 Aug 2008 05:19:30 +0000]
use Devel::GlobalDestruction to avoid destroying anon classes at GD

16 years agomake initialize() and create() consistent WRT package arg
Yuval Kogman [Sat, 9 Aug 2008 08:16:52 +0000]
make initialize() and create() consistent WRT package arg

16 years agoclean up the mess after a failed attribute addition
Yuval Kogman [Sat, 9 Aug 2008 08:16:35 +0000]
clean up the mess after a failed attribute addition

16 years agoclean up metaclass::import
Yuval Kogman [Sat, 9 Aug 2008 05:51:12 +0000]
clean up metaclass::import

16 years agocorrect invalidation of meta instance
Yuval Kogman [Sat, 9 Aug 2008 05:18:18 +0000]
correct invalidation of meta instance

16 years agouse mro::get_isarev if available
Yuval Kogman [Sat, 9 Aug 2008 05:17:58 +0000]
use mro::get_isarev if available

16 years agoMRO::Compat already does various version fiddling, no need to duplicate
Yuval Kogman [Sat, 9 Aug 2008 05:17:43 +0000]
MRO::Compat already does various version fiddling, no need to duplicate

16 years agoattributes attribute for Class::MOP::Instance
Yuval Kogman [Fri, 8 Aug 2008 23:45:00 +0000]
attributes attribute for Class::MOP::Instance

16 years agouse named params to instance_metaclass->new
Yuval Kogman [Fri, 8 Aug 2008 23:44:45 +0000]
use named params to instance_metaclass->new