13 years agobump version to 1.15
Dave Rolsky [Mon, 27 Sep 2010 21:41:47 +0000]
bump version to 1.15

13 years agoadd some more tests (including some TODOs)
Jesse Luehrs [Mon, 27 Sep 2010 21:32:46 +0000]
add some more tests (including some TODOs)

13 years agomore multiple inheritance fiddling
Jesse Luehrs [Mon, 27 Sep 2010 20:54:40 +0000]
more multiple inheritance fiddling

13 years agoApply the Moose::Meta::Object::Trait to Moose::Error::Default
Dave Rolsky [Mon, 27 Sep 2010 17:02:02 +0000]
Apply the Moose::Meta::Object::Trait to Moose::Error::Default

13 years agotypo fixes
Jesse Luehrs [Mon, 27 Sep 2010 15:09:28 +0000]
typo fixes

13 years agochanges and delta
Jesse Luehrs [Mon, 27 Sep 2010 09:25:32 +0000]
changes and delta

13 years agotests for meta_name
Jesse Luehrs [Mon, 27 Sep 2010 09:17:19 +0000]
tests for meta_name

13 years agoactually, why not make the meta method renameable
Jesse Luehrs [Mon, 27 Sep 2010 08:44:28 +0000]
actually, why not make the meta method renameable

13 years agouse cluck for this warning
Jesse Luehrs [Mon, 27 Sep 2010 01:52:10 +0000]
use cluck for this warning

13 years agofirst pass at allowing Moose and Moose::Role to omit the meta method
Jesse Luehrs [Sat, 25 Sep 2010 21:19:04 +0000]
first pass at allowing Moose and Moose::Role to omit the meta method

not currently working because of issues with metaclass
reinitialization... if someone uses a metarole type thing after moose
installs the meta method, it gets turned back into a regular
Moose::Meta::Method object, and so a bunch of checks don't work
correctly (this is the cause of the warnings in the test suite).

13 years agostop testing for methods named 'meta'
Jesse Luehrs [Fri, 24 Sep 2010 01:25:22 +0000]
stop testing for methods named 'meta'

13 years agomake Moose and Moose::Role install proper meta methods
Jesse Luehrs [Thu, 23 Sep 2010 16:51:29 +0000]
make Moose and Moose::Role install proper meta methods

13 years agomake MMC->create and MMR->create install meta methods properly
Jesse Luehrs [Thu, 23 Sep 2010 08:27:25 +0000]
make MMC->create and MMR->create install meta methods properly

13 years agoadding a meta method here is unnecessary
Jesse Luehrs [Thu, 23 Sep 2010 05:27:22 +0000]
adding a meta method here is unnecessary

13 years agostop using ->meta in a last couple places, to allow it to be disabled
Jesse Luehrs [Tue, 6 Jul 2010 06:19:39 +0000]
stop using ->meta in a last couple places, to allow it to be disabled

just need to figure out how to get Moose::Exporter to let me pass that
option around

13 years agouse _real_ref_name
Jesse Luehrs [Tue, 6 Jul 2010 06:18:53 +0000]
use _real_ref_name

13 years agono, actually, we do require this to work/:
Jesse Luehrs [Mon, 27 Sep 2010 07:39:03 +0000]
no, actually, we do require this to work/:

13 years agohandle role reinitialization too
Jesse Luehrs [Mon, 27 Sep 2010 07:02:53 +0000]
handle role reinitialization too

13 years agothis stuff is now all unnecessary
Jesse Luehrs [Mon, 27 Sep 2010 06:44:07 +0000]
this stuff is now all unnecessary

13 years agooverride metaclass compat stuff in a trait for CMOP::Object subclasses
Jesse Luehrs [Mon, 27 Sep 2010 06:19:45 +0000]
override metaclass compat stuff in a trait for CMOP::Object subclasses

13 years agofix this broken test (oops again)
Jesse Luehrs [Mon, 27 Sep 2010 06:04:10 +0000]
fix this broken test (oops again)

13 years agobe a bit more accurate in determining role-only subclasses
Jesse Luehrs [Mon, 27 Sep 2010 06:03:53 +0000]
be a bit more accurate in determining role-only subclasses

13 years agooops, need to handle the "can't reinitialize" case here
Jesse Luehrs [Mon, 27 Sep 2010 05:49:04 +0000]
oops, need to handle the "can't reinitialize" case here

13 years agofall back to calculate_all_roles here so role metas can use it
Jesse Luehrs [Mon, 27 Sep 2010 02:29:47 +0000]
fall back to calculate_all_roles here so role metas can use it

13 years agomove role reconciliation calculation to Moose::Util
Jesse Luehrs [Mon, 27 Sep 2010 02:27:54 +0000]
move role reconciliation calculation to Moose::Util

13 years agomake _reconcile_roles_for_metaclass just return the metaclass name
Jesse Luehrs [Mon, 27 Sep 2010 01:52:22 +0000]
make _reconcile_roles_for_metaclass just return the metaclass name

13 years agothe error classes should be cmop objects
Jesse Luehrs [Mon, 27 Sep 2010 04:21:39 +0000]
the error classes should be cmop objects

13 years agoConlict with MX::NonMoose
Dave Rolsky [Mon, 27 Sep 2010 01:21:15 +0000]
Conlict with MX::NonMoose

13 years agoConflict with MX::ClassAttribute
Dave Rolsky [Mon, 27 Sep 2010 01:20:09 +0000]
Conflict with MX::ClassAttribute

13 years agoReally require CMOP 1.09
Dave Rolsky [Mon, 27 Sep 2010 01:00:22 +0000]
Really require CMOP 1.09

13 years agoReword reinit changes description
Dave Rolsky [Mon, 27 Sep 2010 00:57:55 +0000]
Reword reinit changes description

13 years agochangelog
Jesse Luehrs [Mon, 27 Sep 2010 00:49:39 +0000]
changelog

13 years agoadd trait_aliases option to Moose::Exporter
Jesse Luehrs [Wed, 22 Sep 2010 07:00:09 +0000]
add trait_aliases option to Moose::Exporter

13 years agoreorder these methods into a more "proper" order
Jesse Luehrs [Mon, 27 Sep 2010 00:22:08 +0000]
reorder these methods into a more "proper" order

13 years agobump our cmop dep for the reinit stuff
Jesse Luehrs [Sun, 26 Sep 2010 19:54:29 +0000]
bump our cmop dep for the reinit stuff

13 years agochangelog
Jesse Luehrs [Sun, 26 Sep 2010 19:54:21 +0000]
changelog

13 years agoupdate docs about initialize
Jesse Luehrs [Sun, 26 Sep 2010 19:42:49 +0000]
update docs about initialize

13 years agolet reinitialization fix metaobjs via role reconciliation
Jesse Luehrs [Sun, 26 Sep 2010 19:37:48 +0000]
let reinitialization fix metaobjs via role reconciliation

13 years agoapply_all_roles is broken with lists of role metas at the moment
Jesse Luehrs [Sun, 26 Sep 2010 19:23:07 +0000]
apply_all_roles is broken with lists of role metas at the moment

13 years agoAllow overloading on arguments to native trait methods
Dave Rolsky [Mon, 27 Sep 2010 00:09:21 +0000]
Allow overloading on arguments to native trait methods

13 years agoAlso conflict on Fey::ORM
Dave Rolsky [Sun, 26 Sep 2010 19:15:08 +0000]
Also conflict on Fey::ORM

13 years agoRefactored native trait accessors so they are done entirely in roles.
Dave Rolsky [Sun, 26 Sep 2010 19:12:22 +0000]
Refactored native trait accessors so they are done entirely in roles.

The class to do the inlining is generated based on the attribute's accessor &
delegation metaclasses, which means this works even when the attribute changes
those classes.

Added code to check if the attr's slot access can be inlined, and to use a
slower but working code path if it can't (see MX::AttributeTree for an example
of why this might be needed).

13 years agoRemove extra newline
Dave Rolsky [Sun, 26 Sep 2010 16:50:02 +0000]
Remove extra newline

13 years agoHandle uninlinable instance in native trait code generation
Dave Rolsky [Sun, 26 Sep 2010 16:27:58 +0000]
Handle uninlinable instance in native trait code generation

13 years agoAdd semi-colon in code that generates entire assignment, which makes snippets more...
Dave Rolsky [Sun, 26 Sep 2010 16:25:20 +0000]
Add semi-colon in code that generates entire assignment, which makes snippets more flexible

13 years agoMore docs in Delta
Dave Rolsky [Sun, 26 Sep 2010 16:20:08 +0000]
More docs in Delta

13 years agoNo semi on potential value
Dave Rolsky [Sun, 26 Sep 2010 16:11:23 +0000]
No semi on potential value

13 years agoDoc bug fix for weak ref set
Dave Rolsky [Sun, 26 Sep 2010 05:31:25 +0000]
Doc bug fix for weak ref set

13 years agoAlways get inlining code from meta-attr/class, never direct from meta-instance
Dave Rolsky [Sun, 26 Sep 2010 05:20:06 +0000]
Always get inlining code from meta-attr/class, never direct from meta-instance

13 years agoWhen generating inline_store code, don't weaken non-ref value on set
Dave Rolsky [Sun, 26 Sep 2010 05:19:16 +0000]
When generating inline_store code, don't weaken non-ref value on set

13 years agoGet inline slot access snippets from attr, not direct from meta-instance
Dave Rolsky [Sun, 26 Sep 2010 05:09:58 +0000]
Get inline slot access snippets from attr, not direct from meta-instance

13 years agoDon't expect pod in MMMA::Native
Dave Rolsky [Sun, 26 Sep 2010 03:26:33 +0000]
Don't expect pod in MMMA::Native

13 years agoMoved some inlining duties to Attribute class, which in turn delegates to meta-instance.
Dave Rolsky [Sun, 26 Sep 2010 03:24:11 +0000]
Moved some inlining duties to Attribute class, which in turn delegates to meta-instance.

This makes it much easier for attributes from MX classes to change how
inlining is done, without having to change the Accessor generators.

13 years agoConflict with Fey 0.36
Dave Rolsky [Sun, 26 Sep 2010 02:57:26 +0000]
Conflict with Fey 0.36

13 years agoMore Delta docs
Dave Rolsky [Sun, 26 Sep 2010 02:45:57 +0000]
More Delta docs

13 years agoDoc changes in Changes and Delta
Dave Rolsky [Sun, 26 Sep 2010 02:23:19 +0000]
Doc changes in Changes and Delta

13 years agoAdd tests for coercing native Hash trait
Dave Rolsky [Sun, 26 Sep 2010 01:59:27 +0000]
Add tests for coercing native Hash trait

13 years agoAdd tests for triggers on a native Hash trait attr
Dave Rolsky [Sat, 25 Sep 2010 23:23:40 +0000]
Add tests for triggers on a native Hash trait attr

13 years agoTests that various subtypes are enforced for hash types
Dave Rolsky [Sat, 25 Sep 2010 20:56:16 +0000]
Tests that various subtypes are enforced for hash types

13 years agoEven more code path testing (add an empty trigger for all traits)
Dave Rolsky [Sat, 25 Sep 2010 20:10:12 +0000]
Even more code path testing (add an empty trigger for all traits)

13 years agoMore tests for native traits to exercise all code paths
Dave Rolsky [Sat, 25 Sep 2010 20:08:26 +0000]
More tests for native traits to exercise all code paths

13 years agoRemove superfluous argument passing
Dave Rolsky [Sat, 25 Sep 2010 20:08:17 +0000]
Remove superfluous argument passing

13 years agoRename _inline_copy_value so we don't accidentally reuse the version for non-native...
Dave Rolsky [Sat, 25 Sep 2010 20:07:48 +0000]
Rename _inline_copy_value so we don't accidentally reuse the version for non-native traits

13 years agoMake sure potential value is a hash ref
Dave Rolsky [Sat, 25 Sep 2010 20:07:31 +0000]
Make sure potential value is a hash ref

13 years agoFix potential_value for string inc
Dave Rolsky [Sat, 25 Sep 2010 20:06:41 +0000]
Fix potential_value for string inc

13 years agoDon't turn hash into array when copying the old hash value
Dave Rolsky [Sat, 25 Sep 2010 20:00:15 +0000]
Don't turn hash into array when copying the old hash value

13 years agoMore tests for Hash trait to ensure we test all code gen paths
Dave Rolsky [Sat, 25 Sep 2010 19:53:38 +0000]
More tests for Hash trait to ensure we test all code gen paths

13 years agoUse _writer_core
Dave Rolsky [Sat, 25 Sep 2010 19:52:31 +0000]
Use _writer_core

Get _potential_value from set

13 years agoJust use _writer_core for accessor
Dave Rolsky [Sat, 25 Sep 2010 19:52:07 +0000]
Just use _writer_core for accessor

Get _potential_value from set class

13 years agoMore tests for array refs to make sure we test all code generation paths
Dave Rolsky [Sat, 25 Sep 2010 19:51:45 +0000]
More tests for array refs to make sure we test all code generation paths

13 years agoMake sure accessor's writer side does what the writer code does
Dave Rolsky [Sat, 25 Sep 2010 19:48:50 +0000]
Make sure accessor's writer side does what the writer code does

13 years agoFix potential value for set
Dave Rolsky [Sat, 25 Sep 2010 19:43:54 +0000]
Fix potential value for set

13 years agoRename so each trait is in alpha order and we have room for multiple files per trait
Dave Rolsky [Sat, 25 Sep 2010 19:37:16 +0000]
Rename so each trait is in alpha order and we have room for multiple files per trait

13 years agoImprove tests for Code trait
Dave Rolsky [Sat, 25 Sep 2010 19:09:13 +0000]
Improve tests for Code trait

13 years agoAdd tests for argument checking with Number trait
Dave Rolsky [Sat, 25 Sep 2010 19:00:10 +0000]
Add tests for argument checking with Number trait

13 years agoImprove Bool trait tests
Dave Rolsky [Sat, 25 Sep 2010 18:58:03 +0000]
Improve Bool trait tests

13 years agoTest lazy default for String trait
Dave Rolsky [Sat, 25 Sep 2010 18:54:25 +0000]
Test lazy default for String trait

13 years agoImprove Number trait tests
Dave Rolsky [Sat, 25 Sep 2010 18:53:20 +0000]
Improve Number trait tests

13 years agoMore tests for Hash trait
Dave Rolsky [Sat, 25 Sep 2010 18:32:39 +0000]
More tests for Hash trait

13 years agoSome tidying
Dave Rolsky [Sat, 25 Sep 2010 18:26:48 +0000]
Some tidying

13 years agoMore tests for Counter trait
Dave Rolsky [Sat, 25 Sep 2010 18:26:16 +0000]
More tests for Counter trait

13 years agos/page/foo/g
Dave Rolsky [Sat, 25 Sep 2010 18:17:41 +0000]
s/page/foo/g

13 years agoImprove tests for Counter trait
Dave Rolsky [Sat, 25 Sep 2010 18:17:10 +0000]
Improve tests for Counter trait

13 years agoRemove code that handled method providers now that all native traits use inlining
Dave Rolsky [Fri, 24 Sep 2010 16:19:37 +0000]
Remove code that handled method providers now that all native traits use inlining

13 years agoLoad accessor generator
Dave Rolsky [Fri, 24 Sep 2010 16:16:50 +0000]
Load accessor generator

13 years agoMake array accessor follow same pattern as hash accessor
Dave Rolsky [Fri, 24 Sep 2010 16:15:59 +0000]
Make array accessor follow same pattern as hash accessor

13 years agoMake hash accessor actually work
Dave Rolsky [Fri, 24 Sep 2010 16:15:26 +0000]
Make hash accessor actually work

13 years agoRemove all references to method providers
Dave Rolsky [Fri, 24 Sep 2010 16:09:00 +0000]
Remove all references to method providers

13 years agoAdd more test for Counter type
Dave Rolsky [Fri, 24 Sep 2010 16:06:18 +0000]
Add more test for Counter type

13 years agoDon't expect docs for all the Native::* accessor modules
Dave Rolsky [Thu, 23 Sep 2010 22:39:32 +0000]
Don't expect docs for all the Native::* accessor modules

13 years agomake sure all modules have the same version
Dave Rolsky [Thu, 23 Sep 2010 22:08:21 +0000]
make sure all modules have the same version

13 years agoGot inlining for hashes working.
Dave Rolsky [Thu, 23 Sep 2010 21:58:57 +0000]
Got inlining for hashes working.

Lots of refactoring to push code to a shared collection mini-trait used for
hashes & arrays, since the inlining code for the two is _really_ similar.

13 years agoFix potential value for clear
Dave Rolsky [Thu, 23 Sep 2010 17:18:17 +0000]
Fix potential value for clear

13 years agoAdd inlining methods for Number native trait
Dave Rolsky [Wed, 22 Sep 2010 22:21:29 +0000]
Add inlining methods for Number native trait

13 years agoCalculate _native_type from role name, rather than hardcoding it
Dave Rolsky [Wed, 22 Sep 2010 22:15:00 +0000]
Calculate _native_type from role name, rather than hardcoding it

13 years agoInline all Counter methods
Dave Rolsky [Wed, 22 Sep 2010 21:58:47 +0000]
Inline all Counter methods

13 years agoMoved even more code up to Native/Writer
Dave Rolsky [Wed, 22 Sep 2010 21:49:23 +0000]
Moved even more code up to Native/Writer

13 years agoMove even more code up to parent
Dave Rolsky [Tue, 21 Sep 2010 18:41:33 +0000]
Move even more code up to parent

13 years agoMove more code up to the Native/Writer class
Dave Rolsky [Tue, 21 Sep 2010 18:40:44 +0000]
Move more code up to the Native/Writer class

13 years agoNo need to duplicate code in parent class
Dave Rolsky [Tue, 21 Sep 2010 18:39:16 +0000]
No need to duplicate code in parent class