13 years agoDocs, Delta, and Changes for inline constraints
Dave Rolsky [Thu, 21 Apr 2011 18:54:47 +0000]
Docs, Delta, and Changes for inline constraints

13 years agoRename has_inlined_type_constraint to can_be_inlined
Dave Rolsky [Thu, 21 Apr 2011 18:44:24 +0000]
Rename has_inlined_type_constraint to can_be_inlined

13 years agochangelog
Jesse Luehrs [Thu, 21 Apr 2011 14:13:35 +0000]
changelog

13 years agoone more Eval::Closure use
Jesse Luehrs [Thu, 21 Apr 2011 14:02:04 +0000]
one more Eval::Closure use

13 years agoone more fix for unoptimized constraints
Jesse Luehrs [Thu, 21 Apr 2011 06:03:39 +0000]
one more fix for unoptimized constraints

13 years agostop using a package global for enums, just close over it
Jesse Luehrs [Thu, 21 Apr 2011 05:55:51 +0000]
stop using a package global for enums, just close over it

13 years agoalso use Eval::Closure in the test
Jesse Luehrs [Thu, 21 Apr 2011 05:55:03 +0000]
also use Eval::Closure in the test

13 years agofix a couple of unoptimized constraints
Jesse Luehrs [Thu, 21 Apr 2011 05:40:22 +0000]
fix a couple of unoptimized constraints

there are still more that need to be fixed i think, but do we really
care about these at all? they're pretty much only useful for
informational purposes, i don't think there's any way to actually
trigger this codepath

13 years agoconfess here, since this should never happen
Jesse Luehrs [Thu, 21 Apr 2011 05:39:35 +0000]
confess here, since this should never happen

13 years agomore readable inlined code
Jesse Luehrs [Thu, 21 Apr 2011 05:39:23 +0000]
more readable inlined code

13 years agouse Eval::Closure rather than doing string eval directly
Jesse Luehrs [Thu, 21 Apr 2011 01:41:12 +0000]
use Eval::Closure rather than doing string eval directly

13 years agocompare references with == rather than eq
Jesse Luehrs [Thu, 21 Apr 2011 01:35:03 +0000]
compare references with == rather than eq

13 years agoAdd tests for a fake regex object ( bless {}, 'Regexp' )
Dave Rolsky [Fri, 15 Apr 2011 16:11:07 +0000]
Add tests for a fake regex object ( bless {}, 'Regexp' )

13 years agoDon't disable 'once' warnings in the whole test
Dave Rolsky [Fri, 15 Apr 2011 16:10:00 +0000]
Don't disable 'once' warnings in the whole test

13 years agoTest that Str can handle return value of substr()
Dave Rolsky [Fri, 15 Apr 2011 16:08:33 +0000]
Test that Str can handle return value of substr()

13 years agoMake sure that Int rejects "1\n" and "\n1" (but Num does accept it)
Dave Rolsky [Fri, 15 Apr 2011 16:03:20 +0000]
Make sure that Int rejects "1\n" and "\n1" (but Num does accept it)

13 years agoA name-only subtype now inherits inlining from its parent type
Dave Rolsky [Fri, 15 Apr 2011 15:40:12 +0000]
A name-only subtype now inherits inlining from its parent type

Remove explicit optimized constraint in M::M::TC subclasses

13 years agoAdd inlining code for Role constraint class
Dave Rolsky [Fri, 15 Apr 2011 15:40:04 +0000]
Add inlining code for Role constraint class

13 years agoExplicitly set the constraint for role type
Dave Rolsky [Fri, 15 Apr 2011 15:37:21 +0000]
Explicitly set the constraint for role type

13 years agoEnum needs to check that the value is not a ref
Dave Rolsky [Fri, 15 Apr 2011 15:36:24 +0000]
Enum needs to check that the value is not a ref

13 years agoDrop optimized subs for all builtins - instead use the inlining code to generate...
Dave Rolsky [Fri, 15 Apr 2011 15:23:29 +0000]
Drop optimized subs for all builtins - instead use the inlining code to generate a sub

Fix inline code for ArrayRef & HashRef type - need to check the ref type of
the value before dereferencing it

Fix TODO test to test the right thing in inlining.t

13 years agoAdd a thorough test for inlining TCs, especially testing parameterized types and...
Dave Rolsky [Mon, 11 Apr 2011 15:33:15 +0000]
Add a thorough test for inlining TCs, especially testing parameterized types and unions

13 years agoExport inline_as
Dave Rolsky [Mon, 11 Apr 2011 15:33:06 +0000]
Export inline_as

13 years agoUse Moose->throw_error to throw errors
Dave Rolsky [Mon, 11 Apr 2011 15:32:59 +0000]
Use Moose->throw_error to throw errors

13 years agoUse an inlined constraint when checking member values for native collection
Dave Rolsky [Sun, 10 Apr 2011 23:56:00 +0000]
Use an inlined constraint when checking member values for native collection

13 years agoWe don't want two different inline code chunks to use the same var names or else...
Dave Rolsky [Sun, 10 Apr 2011 23:55:24 +0000]
We don't want two different inline code chunks to use the same var names or else they can clash and cause a warning

This happens in the case of a type union of Str | Int, for example

13 years agoRemove extra newline
Dave Rolsky [Sun, 10 Apr 2011 20:42:49 +0000]
Remove extra newline

13 years agoAdd inlining for union types
Dave Rolsky [Sun, 10 Apr 2011 20:42:25 +0000]
Add inlining for union types

13 years agoAll TC objects (except unions) now have inlining code, and tests for all the variatio...
Dave Rolsky [Sun, 10 Apr 2011 20:29:16 +0000]
All TC objects (except unions) now have inlining code, and tests for all the variations on calling.

Along the way, fixed the basic constraint generation for the various TC
subclasses, which were not actually setting a proper constraint sub when they
were created.

13 years agoInlining parameterized type seems to work, but needs more explicit tests
Dave Rolsky [Sun, 10 Apr 2011 16:40:18 +0000]
Inlining parameterized type seems to work, but needs more explicit tests

13 years agoAdd tests for un-parameterized Maybe
Dave Rolsky [Sun, 10 Apr 2011 16:20:09 +0000]
Add tests for un-parameterized Maybe

Add inlining for parameterizable types - add infrastructure for inlining parameterized, but it needs tests

13 years agoRewrite builtin type tests to test optimized, unoptimized, and inlined version of...
Dave Rolsky [Sun, 10 Apr 2011 15:57:19 +0000]
Rewrite builtin type tests to test optimized, unoptimized, and inlined version of every constraint.

FileHandle is not subtype of GlobRef, since an IO::Handle object does not pass the GlobRef constraint.

13 years agoRemove use of confess when we should use Moose->throw_error
Dave Rolsky [Sun, 10 Apr 2011 15:41:35 +0000]
Remove use of confess when we should use Moose->throw_error

13 years agoAll non-parameterized types now have inlining code
Dave Rolsky [Sun, 10 Apr 2011 03:11:59 +0000]
All non-parameterized types now have inlining code

All tests pass, but we really need explicit tests for unoptimized, optimized, and inline cases

13 years agoFix XS for RegexpRef
Dave Rolsky [Sun, 10 Apr 2011 02:58:47 +0000]
Fix XS for RegexpRef

13 years agoMove optimized constraint subs to new Builtins package
Dave Rolsky [Sun, 10 Apr 2011 02:31:17 +0000]
Move optimized constraint subs to new Builtins package

13 years agoMove definition of built in types to a separate package just for sanity
Dave Rolsky [Sun, 10 Apr 2011 02:28:15 +0000]
Move definition of built in types to a separate package just for sanity

13 years agotypo
Karen Etheridge [Tue, 17 May 2011 23:32:32 +0000]
typo

13 years agopod spelling
Jesse Luehrs [Tue, 17 May 2011 18:14:09 +0000]
pod spelling

13 years agoedits
Jesse Luehrs [Tue, 17 May 2011 18:13:31 +0000]
edits

13 years agoupdate our support policy with regards to supported perl versions
Jesse Luehrs [Tue, 17 May 2011 17:30:17 +0000]
update our support policy with regards to supported perl versions

13 years agobe quieter when cleaning, to make listdeps work better
Jesse Luehrs [Mon, 16 May 2011 20:13:46 +0000]
be quieter when cleaning, to make listdeps work better

13 years agoAdd parens around qw() to avoid warning with 5.14
Dave Rolsky [Sun, 15 May 2011 16:34:46 +0000]
Add parens around qw() to avoid warning with 5.14

13 years agoMake the changelog lie less
Florian Ragwitz [Sun, 15 May 2011 08:16:18 +0000]
Make the changelog lie less

13 years agoAssert the correct version of CMOP being installed
Florian Ragwitz [Sat, 14 May 2011 14:47:35 +0000]
Assert the correct version of CMOP being installed

13 years agopod coverage
Jesse Luehrs [Sat, 14 May 2011 03:30:49 +0000]
pod coverage

13 years agochangelog
Jesse Luehrs [Fri, 13 May 2011 17:18:00 +0000]
changelog

13 years agomore complete clone implementation
Jesse Luehrs [Fri, 13 May 2011 16:34:10 +0000]
more complete clone implementation

13 years agomore tests
Jesse Luehrs [Fri, 13 May 2011 16:12:40 +0000]
more tests

13 years agoMake instance cloning go through attribute setters
Florian Ragwitz [Fri, 13 May 2011 11:42:17 +0000]
Make instance cloning go through attribute setters

This way things like weakening will be taken care of.

13 years agoAdd failing test for cloning attrs with weak refs
Florian Ragwitz [Fri, 13 May 2011 11:32:28 +0000]
Add failing test for cloning attrs with weak refs

13 years agoadd Test::Magpie to test-my-deps
Jesse Luehrs [Tue, 10 May 2011 20:39:49 +0000]
add Test::Magpie to test-my-deps

13 years agoPut MooseX::MultiObject back into the list of modules to test
Dave Rolsky [Tue, 10 May 2011 06:30:07 +0000]
Put MooseX::MultiObject back into the list of modules to test

13 years agoadd example of role-based delegation to Moose::Role synopsis
Jesse Luehrs [Tue, 10 May 2011 02:42:42 +0000]
add example of role-based delegation to Moose::Role synopsis

13 years agochangelog
Jesse Luehrs [Tue, 10 May 2011 00:38:40 +0000]
changelog

13 years agoRemove MooseX::MultiObject - it has a test dep on Class::API, which does not exist...
Dave Rolsky [Mon, 9 May 2011 17:29:44 +0000]
Remove MooseX::MultiObject - it has a test dep on Class::API, which does not exist on CPAN

13 years agochangelog
Jesse Luehrs [Mon, 9 May 2011 15:17:50 +0000]
changelog

13 years agofix package name for no-indexing
Jesse Luehrs [Mon, 9 May 2011 14:53:54 +0000]
fix package name for no-indexing

13 years agochangelog
Jesse Luehrs [Mon, 9 May 2011 14:53:06 +0000]
changelog

13 years agowhoops again
Jesse Luehrs [Mon, 9 May 2011 14:52:19 +0000]
whoops again

13 years agoSpace between changes
Dave Rolsky [Mon, 9 May 2011 15:13:32 +0000]
Space between changes

13 years agochangelog
Jesse Luehrs [Mon, 9 May 2011 09:11:42 +0000]
changelog

13 years agochangelog
Jesse Luehrs [Mon, 9 May 2011 09:01:49 +0000]
changelog

13 years agosort some things to allow for some better caching
Jesse Luehrs [Mon, 9 May 2011 09:00:56 +0000]
sort some things to allow for some better caching

13 years agochangelog
Jesse Luehrs [Mon, 9 May 2011 08:58:24 +0000]
changelog

13 years agough, depend on a non-broken List::MoreUtils
Jesse Luehrs [Mon, 9 May 2011 08:57:23 +0000]
ugh, depend on a non-broken List::MoreUtils

13 years agochangelog
Jesse Luehrs [Mon, 9 May 2011 08:17:34 +0000]
changelog

13 years agothis doesn't exist anymore
Jesse Luehrs [Mon, 9 May 2011 07:26:54 +0000]
this doesn't exist anymore

13 years agosetting weaken should be based on the passed in cache value
Jesse Luehrs [Sat, 7 May 2011 19:48:00 +0000]
setting weaken should be based on the passed in cache value

13 years agoand fix the reference to the test file
Jesse Luehrs [Sat, 7 May 2011 19:25:57 +0000]
and fix the reference to the test file

13 years agothis is actually from recipe 9
Jesse Luehrs [Sat, 7 May 2011 19:24:00 +0000]
this is actually from recipe 9

13 years agofix up Moose::Object docs a bit
Jesse Luehrs [Sat, 7 May 2011 18:38:57 +0000]
fix up Moose::Object docs a bit

13 years agomention that metaclass.pm shouldn't really be used with moose
Jesse Luehrs [Sat, 7 May 2011 18:30:26 +0000]
mention that metaclass.pm shouldn't really be used with moose

13 years agofix up oose.pm docs a bit
Jesse Luehrs [Sat, 7 May 2011 18:28:48 +0000]
fix up oose.pm docs a bit

13 years agocouple more things to ignore for pod coverage
Jesse Luehrs [Sat, 7 May 2011 18:09:37 +0000]
couple more things to ignore for pod coverage

13 years agofix recipe synopsis
Jesse Luehrs [Sat, 7 May 2011 18:09:26 +0000]
fix recipe synopsis

13 years agooverriding new isn't necessary when using mx-nonmoose
Jesse Luehrs [Sat, 7 May 2011 18:03:13 +0000]
overriding new isn't necessary when using mx-nonmoose

13 years agotypo
Jesse Luehrs [Sat, 7 May 2011 18:01:59 +0000]
typo

13 years agothis is not what gender means
Jesse Luehrs [Sat, 7 May 2011 17:58:08 +0000]
this is not what gender means

13 years agotypos
Jesse Luehrs [Sat, 7 May 2011 17:56:55 +0000]
typos

13 years agotypo fixes
Jesse Luehrs [Sat, 7 May 2011 07:21:31 +0000]
typo fixes

13 years agotalking about things as "magical" isn't helpful
Jesse Luehrs [Sat, 7 May 2011 07:12:34 +0000]
talking about things as "magical" isn't helpful

13 years agono need for this to be a footnote, since we talk about it above now
Jesse Luehrs [Sat, 7 May 2011 07:09:13 +0000]
no need for this to be a footnote, since we talk about it above now

13 years agosimplify a bit by giving this a default
Jesse Luehrs [Sat, 7 May 2011 07:04:56 +0000]
simplify a bit by giving this a default

13 years agonote how BUILD works here, since it's the first time it's mentioned
Jesse Luehrs [Sat, 7 May 2011 06:56:25 +0000]
note how BUILD works here, since it's the first time it's mentioned

13 years agotypo fixes
Jesse Luehrs [Sat, 7 May 2011 06:56:16 +0000]
typo fixes

13 years agoclarify a bit
Jesse Luehrs [Sat, 7 May 2011 06:50:35 +0000]
clarify a bit

13 years agostop recommending '.' as a type namespace separator
Jesse Luehrs [Sat, 7 May 2011 06:07:24 +0000]
stop recommending '.' as a type namespace separator

13 years agocopy over some Moose.pm changes to Moose/Role.pm
Jesse Luehrs [Sat, 7 May 2011 03:11:02 +0000]
copy over some Moose.pm changes to Moose/Role.pm

13 years agodon't talk about class metaclasses either
Jesse Luehrs [Sat, 7 May 2011 03:10:40 +0000]
don't talk about class metaclasses either

13 years agofix up some abstracts
Jesse Luehrs [Sat, 7 May 2011 01:51:14 +0000]
fix up some abstracts

13 years agoone more package to hide
Jesse Luehrs [Sat, 7 May 2011 01:48:02 +0000]
one more package to hide

13 years agonote that this example really should be using native traits
Jesse Luehrs [Sat, 7 May 2011 01:47:24 +0000]
note that this example really should be using native traits

13 years agomake this its own header
Jesse Luehrs [Sat, 7 May 2011 01:43:42 +0000]
make this its own header

13 years agotypo fixes
Jesse Luehrs [Sat, 7 May 2011 01:43:37 +0000]
typo fixes

13 years agotypo fixes
Jesse Luehrs [Sat, 7 May 2011 01:30:56 +0000]
typo fixes

13 years agostop documenting BUILDALL and DEMOLISHALL
Jesse Luehrs [Sat, 7 May 2011 01:09:53 +0000]
stop documenting BUILDALL and DEMOLISHALL

13 years agocmop is no longer a separate dist
Jesse Luehrs [Sat, 7 May 2011 00:47:06 +0000]
cmop is no longer a separate dist

13 years agomore grammar cleanups
Jesse Luehrs [Sat, 7 May 2011 00:39:40 +0000]
more grammar cleanups

13 years agogrammar and formatting cleanups
Jesse Luehrs [Sat, 7 May 2011 00:37:14 +0000]
grammar and formatting cleanups