Dave Rolsky [Thu, 23 Sep 2010 17:18:17 +0000]
Fix potential value for clear
Dave Rolsky [Wed, 22 Sep 2010 22:21:29 +0000]
Add inlining methods for Number native trait
Dave Rolsky [Wed, 22 Sep 2010 22:15:00 +0000]
Calculate _native_type from role name, rather than hardcoding it
Dave Rolsky [Wed, 22 Sep 2010 21:58:47 +0000]
Inline all Counter methods
Dave Rolsky [Wed, 22 Sep 2010 21:49:23 +0000]
Moved even more code up to Native/Writer
Dave Rolsky [Tue, 21 Sep 2010 18:41:33 +0000]
Move even more code up to parent
Dave Rolsky [Tue, 21 Sep 2010 18:40:44 +0000]
Move more code up to the Native/Writer class
Dave Rolsky [Tue, 21 Sep 2010 18:39:16 +0000]
No need to duplicate code in parent class
Dave Rolsky [Tue, 21 Sep 2010 18:31:59 +0000]
Add inling for native Code trait
Dave Rolsky [Tue, 21 Sep 2010 18:28:19 +0000]
Whitespace tweak
Dave Rolsky [Tue, 21 Sep 2010 18:22:04 +0000]
Inlining for native Bool trait
Dave Rolsky [Tue, 21 Sep 2010 18:19:26 +0000]
Remove another empty class in the native array inheritance hierarchy
Dave Rolsky [Tue, 21 Sep 2010 18:13:46 +0000]
Move some code to Native/Writer since it is the same for all native types
Dave Rolsky [Tue, 21 Sep 2010 17:57:22 +0000]
Remove some empty classes in the String hierarchy
Dave Rolsky [Tue, 21 Sep 2010 05:00:31 +0000]
Refactored native trait inlining some more - added an optimized path to avoid copying data whenever possible
Dave Rolsky [Mon, 20 Sep 2010 22:17:10 +0000]
Add tests for coercion with native traits
Dave Rolsky [Mon, 20 Sep 2010 21:41:19 +0000]
pushing onto undef should (and does) work
This works (under strict/warnings with no warning output)
my $x;
push @{$x}, 1;
Dave Rolsky [Mon, 20 Sep 2010 17:31:56 +0000]
Implemented inlning for all string methods.
Lots of refactoring to existing native trait inlining code to share more between different types.
Dave Rolsky [Mon, 20 Sep 2010 00:09:01 +0000]
Add some whitespace
Dave Rolsky [Sun, 19 Sep 2010 01:29:43 +0000]
Just use Test::Moose
Dave Rolsky [Sat, 18 Sep 2010 16:40:21 +0000]
Lots of refactoring to move native trait reader/writer code into base classes shareable by all native types
Dave Rolsky [Sat, 18 Sep 2010 16:18:38 +0000]
Move some code from Array to Native since it will be shared by many native accessors
Dave Rolsky [Sat, 18 Sep 2010 16:11:24 +0000]
Add some tests for trigger on array changes
Dave Rolsky [Sat, 18 Sep 2010 16:06:52 +0000]
Remove useless load test and renumber other tests so this dir looks like other test dirs
Dave Rolsky [Sat, 18 Sep 2010 04:02:10 +0000]
Tidy all code
Dave Rolsky [Sat, 18 Sep 2010 04:02:03 +0000]
More TC handling fixes
Dave Rolsky [Sat, 18 Sep 2010 04:01:18 +0000]
Fix undef warning
Dave Rolsky [Sat, 18 Sep 2010 01:43:46 +0000]
Copy the potential value if needed so we don't have to regenerate it over and over.
Fix checking the overall constraint so it actually works.
Dave Rolsky [Sat, 18 Sep 2010 01:42:35 +0000]
Get these tests all passing (no more TODO)
Dave Rolsky [Fri, 17 Sep 2010 23:19:50 +0000]
Add some "bridge code" to keep old and new native traits all working
Doing this so I can profile just the arrayref changes.
Dave Rolsky [Fri, 17 Sep 2010 23:19:43 +0000]
If the parent type is ArrayRef and the type itself is also parameterizable, we need to check the whole type, not just members.
Dave Rolsky [Fri, 17 Sep 2010 20:55:36 +0000]
Never use die in generate code when throwing an error.
The meta error throwing makes a more verbose message, but the stack trace is
much more useful than "at generated method x"
Improve error messages from generated methods.
Dave Rolsky [Fri, 17 Sep 2010 20:42:52 +0000]
Fix warnings
Dave Rolsky [Fri, 17 Sep 2010 20:41:15 +0000]
Add tests for natatime_curried
Dave Rolsky [Fri, 17 Sep 2010 20:39:36 +0000]
All native array methods are being inlined.
All native methods are tested
Dave Rolsky [Wed, 15 Sep 2010 20:01:34 +0000]
All of the non-mutating array helpers are now inlined.
Made sure we had tests for all of them, including tests for failure cases.
Dave Rolsky [Wed, 15 Sep 2010 17:03:36 +0000]
Actually unshift curried args into @_
Dave Rolsky [Wed, 15 Sep 2010 17:02:26 +0000]
Put curried args into closed-over environment.
Fix first to do what it's supposed to.
Just push curried args onto the front of @_ for simplicity.
Dave Rolsky [Wed, 15 Sep 2010 17:02:01 +0000]
Move all array helper tests into one .t file
Dave Rolsky [Wed, 15 Sep 2010 01:34:18 +0000]
Work in progress on inlining native traits methods.
So far, so good, but we need to have much better tests, and tests need some
serious cleanup too.
Dave Rolsky [Tue, 14 Sep 2010 20:44:06 +0000]
Some small code cleanups before I start changing everything
Dave Rolsky [Fri, 24 Sep 2010 03:44:16 +0000]
Remove some debugging cruft I left in
Dave Rolsky [Tue, 21 Sep 2010 05:01:53 +0000]
bump version to 1.14
Dave Rolsky [Tue, 21 Sep 2010 05:01:27 +0000]
Add release date
Florian Ragwitz [Sun, 19 Sep 2010 17:31:07 +0000]
Don't rely on qw() providing PAREN tokens
Jay Hannah [Wed, 15 Sep 2010 19:23:58 +0000]
Tiny POD clarification. 'pairs' too ambiguous.
Dave Rolsky [Tue, 14 Sep 2010 16:19:10 +0000]
Bug fixes for next
Dave Rolsky [Tue, 14 Sep 2010 16:18:09 +0000]
Fix weird bug that is probably a bug in List::MoreUtils
Dave Rolsky [Mon, 13 Sep 2010 22:18:29 +0000]
bump version to 1.13
Dave Rolsky [Mon, 13 Sep 2010 22:18:18 +0000]
Date for 1.13
Karen Etheridge [Mon, 13 Sep 2010 17:37:48 +0000]
corrected tense in docs
Dave Rolsky [Mon, 13 Sep 2010 15:28:24 +0000]
Clarify that coerce requires a TC with a coercion
Dave Rolsky [Mon, 13 Sep 2010 15:27:55 +0000]
Clarify that coerce requires a type constraint with a coercion
Dave Rolsky [Fri, 10 Sep 2010 16:38:39 +0000]
Ignore test-mydeps-* files
Dave Rolsky [Fri, 10 Sep 2010 16:38:04 +0000]
Use Test::Requires in recipe tests
Dave Rolsky [Fri, 10 Sep 2010 16:37:14 +0000]
Add all our optional test deps as author_requires
Dave Rolsky [Fri, 10 Sep 2010 02:16:25 +0000]
Changes for this branch
Dave Rolsky [Fri, 10 Sep 2010 02:14:59 +0000]
Just cache does_role for immutabilized classes - no need for an inlined method
Dave Rolsky [Fri, 10 Sep 2010 02:00:46 +0000]
Add replace_does option
Doc inline_does and replace_does options to make_immutable
Dave Rolsky [Fri, 10 Sep 2010 01:58:53 +0000]
Docs for MMM::Does
Dave Rolsky [Fri, 10 Sep 2010 01:58:17 +0000]
Fix doc typo-let
Dave Rolsky [Fri, 10 Sep 2010 01:56:41 +0000]
Inline calculate_all_roles_with_inheritance when making class immutable
Dave Rolsky [Fri, 10 Sep 2010 01:54:38 +0000]
Include inherited roles in inlined does
Dave Rolsky [Fri, 10 Sep 2010 01:51:36 +0000]
Actually test immutable child classes
Dave Rolsky [Fri, 10 Sep 2010 01:51:01 +0000]
Fix name of thing in test descriptions
Dave Rolsky [Fri, 10 Sep 2010 01:50:22 +0000]
More subclass tests
Dave Rolsky [Fri, 10 Sep 2010 01:49:59 +0000]
Test that ->does works properly in subclasses of classes which do a role
Dave Rolsky [Fri, 10 Sep 2010 01:32:29 +0000]
Inline the does method.
Added tests for ->does, both mutable & immutable
Dave Rolsky [Fri, 10 Sep 2010 01:31:12 +0000]
Fix some test descriptions
Dave Rolsky [Fri, 10 Sep 2010 02:17:38 +0000]
Add my name to Changes
Dave Rolsky [Wed, 8 Sep 2010 02:02:11 +0000]
Doc attribute conflict error message improvement in Changes
Dave Rolsky [Wed, 8 Sep 2010 02:01:00 +0000]
Improve message when there is an attribute conflict when composing one role into another
Dave Rolsky [Wed, 8 Sep 2010 02:00:46 +0000]
Add a test for attribute conflict when composing one role into another
Dave Rolsky [Wed, 8 Sep 2010 01:54:09 +0000]
Tests should "use warnings"
Dave Rolsky [Wed, 8 Sep 2010 01:51:59 +0000]
Renamed so we don't have two 044_* tests
Dave Rolsky [Wed, 8 Sep 2010 01:48:52 +0000]
Clarify when Moose::Object is made the parent
Dave Rolsky [Wed, 1 Sep 2010 15:08:06 +0000]
Test Catalyst::Devel
Dave Rolsky [Sat, 28 Aug 2010 15:43:36 +0000]
restore alias/excludes warnings
Dave Rolsky [Sat, 28 Aug 2010 15:40:54 +0000]
bump version to 1.12
Dave Rolsky [Sat, 28 Aug 2010 15:40:32 +0000]
Comment out alias/excludes warnings for 1.12 release
Dave Rolsky [Sat, 28 Aug 2010 15:40:05 +0000]
Changes for 1.12
Dave Rolsky [Sat, 28 Aug 2010 15:38:05 +0000]
Add extra_tests back
Dave Rolsky [Sat, 28 Aug 2010 15:36:54 +0000]
Fix error message text
Dave Rolsky [Sat, 28 Aug 2010 01:15:51 +0000]
Doc alias & excludes warning in Changes
Dave Rolsky [Sat, 28 Aug 2010 01:15:11 +0000]
Restore alias & excludes warning
Dave Rolsky [Sat, 28 Aug 2010 01:12:37 +0000]
Module::Install is a giant broken piece of crap - gah
Dave Rolsky [Sat, 28 Aug 2010 00:58:10 +0000]
Add mention of turning off warning
Dave Rolsky [Sat, 28 Aug 2010 00:57:28 +0000]
Temporarily comment out excludes & alias warning for next release
Dave Rolsky [Sat, 28 Aug 2010 00:57:04 +0000]
Fix indentation
Dave Rolsky [Sat, 28 Aug 2010 00:56:40 +0000]
bump version to 1.11
Dave Rolsky [Fri, 27 Aug 2010 21:15:48 +0000]
A horrible hack to make generating a coercion for a type union lazy
This fixes a bug that was triggered by recursive type constraints in MX::Types.
Dave Rolsky [Fri, 27 Aug 2010 16:21:02 +0000]
Don't bother testing MX::GlobRef - it is old and unmaintained
Dave Rolsky [Fri, 27 Aug 2010 15:20:26 +0000]
Add version & date. Doc "is" overriding change.
Dave Rolsky [Fri, 27 Aug 2010 15:16:27 +0000]
Update changes for tom's mro fix
Dave Rolsky [Fri, 20 Aug 2010 12:22:16 +0000]
Simplify compiled type coercion for union
Dave Rolsky [Mon, 26 Jul 2010 15:30:39 +0000]
Move fixes in this branch to NEXT
Dave Rolsky [Mon, 12 Jul 2010 15:40:10 +0000]
Cannot coerce when the type does not define a coercion
Dave Rolsky [Mon, 12 Jul 2010 15:38:04 +0000]
Can't coerce a type that doesn't define a coercion.
Dave Rolsky [Sun, 4 Jul 2010 16:36:52 +0000]
Fix two bugs coercions for union types
First, the union type always made a coercion, even if none its constituent types had a coercion.
Second, the union coercion always returned undef if none of the coercions
actually coerced. This caused union types which included undef to always pass
the constraint. In other case, returning undef simply led to a bad error
message saying undef did not pass the type constraint.
Jesse Luehrs [Wed, 18 Aug 2010 16:59:53 +0000]
actually, there's no reason that overriding 'is' is unsafe