Dave Rolsky [Thu, 4 Dec 2008 17:52:03 +0000]
Fix comment which totally disagreed with code it commented on
Dave Rolsky [Thu, 4 Dec 2008 17:24:17 +0000]
More refactorings to break down immutabilization into smaller (mostly
private) methods.
Dave Rolsky [Thu, 4 Dec 2008 17:13:16 +0000]
Fix a method name to actually reflect what it does
Dave Rolsky [Thu, 4 Dec 2008 17:08:29 +0000]
Sort the lists we iterate through to make finding a specific test in
the output a little easier.
Dave Rolsky [Thu, 4 Dec 2008 17:06:43 +0000]
These tests reversed the got/expected order to is_deeply in most cases.
Dave Rolsky [Thu, 4 Dec 2008 16:59:27 +0000]
More refactorings - short circuit out of various methods if we're not
going to do them (inline constructor, destructor, etc)
Dave Rolsky [Thu, 4 Dec 2008 16:56:57 +0000]
Refactor the make_metaclass_immutable method into a bunch of smaller
methods for each thing being made immutable.
Dave Rolsky [Thu, 4 Dec 2008 04:26:14 +0000]
skip .gitignore
Florian Ragwitz [Thu, 4 Dec 2008 04:06:31 +0000]
Add .gitignore.
Florian Ragwitz [Thu, 4 Dec 2008 03:53:07 +0000]
Make the xs code work if RVs are IVs (again!).
Dave Rolsky [Thu, 4 Dec 2008 03:23:38 +0000]
update MANIFEST
Florian Ragwitz [Thu, 4 Dec 2008 03:21:43 +0000]
Silence a gcc warning.
Dave Rolsky [Thu, 4 Dec 2008 03:18:06 +0000]
update version for release and update changes
Florian Ragwitz [Thu, 4 Dec 2008 03:13:33 +0000]
s/parent/base/.
Florian Ragwitz [Thu, 4 Dec 2008 03:12:12 +0000]
Don't stringify the globs of stub functions.
Dave Rolsky [Thu, 4 Dec 2008 02:50:30 +0000]
Small change tweaks
Florian Ragwitz [Thu, 4 Dec 2008 02:45:50 +0000]
Changelog entry for the stub method crap.
Florian Ragwitz [Thu, 4 Dec 2008 02:42:47 +0000]
Test execution of stub meta methods after the stub functions got defined.
Florian Ragwitz [Thu, 4 Dec 2008 02:42:31 +0000]
Add tests for RT#41255.
Florian Ragwitz [Thu, 4 Dec 2008 02:17:40 +0000]
Depend on B.
Florian Ragwitz [Thu, 4 Dec 2008 02:03:45 +0000]
Make the perl version of get_all_package_symbols handle stub functions.
This also fixes the pure perl version of get_method_map, as it uses
get_all_package_symbols internally.
Florian Ragwitz [Thu, 4 Dec 2008 02:03:35 +0000]
Make the xs version of get_method_map include stub functions.
Florian Ragwitz [Thu, 4 Dec 2008 02:03:26 +0000]
Make the xs version of get_all_package_symbols return coderefs for stub functions.
Florian Ragwitz [Thu, 4 Dec 2008 02:03:18 +0000]
Test that stub functions are handled like every other function.
Florian Ragwitz [Thu, 4 Dec 2008 02:03:09 +0000]
Properly initialize values that'll be checked in boolean context later with NULL.
Florian Ragwitz [Thu, 4 Dec 2008 02:02:59 +0000]
Remove trailing whitespace.
Dave Rolsky [Wed, 3 Dec 2008 04:11:16 +0000]
Document XS get_method_map
Dave Rolsky [Wed, 3 Dec 2008 04:01:25 +0000]
Fix spacing
Dave Rolsky [Wed, 3 Dec 2008 04:01:06 +0000]
Restore the doubled parens, cause they shut up gcc -Wall - add a
comment about this.
Dave Rolsky [Wed, 3 Dec 2008 03:58:58 +0000]
Redo get_method_map with PPCODE (and fix indentation)
Dave Rolsky [Wed, 3 Dec 2008 03:33:13 +0000]
A bunch of style tweaks to try to get things more consistent. Also
removed a bunch of do-nothing doubled parens and made them single
parens.
Dave Rolsky [Wed, 3 Dec 2008 03:27:51 +0000]
This is a tweaked version of Goro Fuji's XS implementation of
get_method_map. Tweaks were done for style, and some implementation
issues based on comments from rafl.
It seems to be about 3x faster when rebuilding the map, though if the
map doesn't need rebuilding, the speed difference is trivial.
Dave Rolsky [Wed, 3 Dec 2008 03:14:14 +0000]
Mention my perf tweaks in Changes
Shawn M Moore [Wed, 3 Dec 2008 02:59:11 +0000]
When we memoize methods, get their results lazily to remove some compile-time cost
Shawn M Moore [Wed, 3 Dec 2008 02:56:45 +0000]
Avoid calling $self->metaclass->meta again and again
Dave Rolsky [Wed, 3 Dec 2008 00:23:30 +0000]
->wrap is documented as a constructor, so it should expect a class name as the first argument, not an object.
Dave Rolsky [Tue, 2 Dec 2008 23:28:18 +0000]
Avoid calling get_method_map when possible. Instead, we check
$self->{methods} directly in several places.
Dave Rolsky [Tue, 2 Dec 2008 23:07:01 +0000]
Made creating the immutable class lazy
Dave Rolsky [Tue, 2 Dec 2008 23:01:50 +0000]
Get class name into a local var earlier
Shawn M Moore [Sat, 29 Nov 2008 01:37:57 +0000]
Doc using the new method->execute API
Shawn M Moore [Sat, 29 Nov 2008 01:28:48 +0000]
Class::MOP::Method->execute
Dave Rolsky [Wed, 26 Nov 2008 19:37:34 +0000]
Add release date
Dave Rolsky [Wed, 26 Nov 2008 18:16:54 +0000]
bump _all_ the versions to 0.71
Tomas Doran [Wed, 26 Nov 2008 17:35:40 +0000]
Bump version number as Moose needs trunk MOP (r6678)
Shawn M Moore [Tue, 25 Nov 2008 07:36:15 +0000]
Use the same _is_valid_class_name check in is_class_loaded
Shawn M Moore [Tue, 25 Nov 2008 06:28:08 +0000]
Document the small refactor I did
Shawn M Moore [Tue, 25 Nov 2008 05:48:17 +0000]
Typo fix
Shawn M Moore [Tue, 25 Nov 2008 05:14:15 +0000]
Move the actual module/package creation from Class::MOP::Class to Class::MOP::Module
Dave Rolsky [Wed, 19 Nov 2008 14:49:43 +0000]
Doh, I'm retarded.
I already release 0.70, and then went and released 0.69_01.
Re-releasing with proper changes as 0.70_01 to get some testing
Dave Rolsky [Tue, 18 Nov 2008 15:58:04 +0000]
update Changes and make version 0.69_01
Florian Ragwitz [Sat, 15 Nov 2008 15:00:44 +0000]
Don't declare return values for PPCODE.
This silences some more compiler warnings.
Florian Ragwitz [Sat, 15 Nov 2008 15:00:35 +0000]
Silence some compiler warnings.
Florian Ragwitz [Sat, 15 Nov 2008 09:03:22 +0000]
Don't try to get a CV from globs that are references, but not SvROK.
This might happen on newer perls where SVt_RV has been merged into SVt_IV.
Fixes RT#39149.
Dave Rolsky [Fri, 14 Nov 2008 22:21:21 +0000]
update manifest
Dave Rolsky [Fri, 14 Nov 2008 22:11:13 +0000]
s/bus error/segfault/
Dave Rolsky [Fri, 14 Nov 2008 21:35:58 +0000]
bump version # and update changes
Dave Rolsky [Fri, 14 Nov 2008 21:35:18 +0000]
got rid of all the use_ok junk except for 000_load.t
Dave Rolsky [Fri, 14 Nov 2008 21:14:27 +0000]
none of this use_ok nonsense
Florian Ragwitz [Fri, 14 Nov 2008 21:04:53 +0000]
Don't mortalize the CVs behind inlined constants in the xs version of get_all_package_symbols.
Florian Ragwitz [Fri, 14 Nov 2008 21:04:42 +0000]
Add a failing testcase for get_all_package_symbols and inlined constants.
Dave Rolsky [Fri, 14 Nov 2008 20:03:33 +0000]
Depend on Task::Weaken so we know we have an XS Scalar::Util
Dave Rolsky [Fri, 7 Nov 2008 20:27:26 +0000]
bump version and update changes for release
Dave Rolsky [Fri, 7 Nov 2008 20:03:31 +0000]
Class::MOP::Class->add_method does not accept any params besides
method name and the method itself.
Dave Rolsky [Fri, 7 Nov 2008 19:59:57 +0000]
Added introspection methods for method modifiers, along with tests.
Dave Rolsky [Fri, 7 Nov 2008 19:42:51 +0000]
Tidy this bizarrely indented code before adding more tests.
Dave Rolsky [Fri, 7 Nov 2008 19:42:20 +0000]
Remove use_ok tests
Dave Rolsky [Tue, 4 Nov 2008 17:30:08 +0000]
Fix some bizarro code left behind by a much earlier change.
Dave Rolsky [Fri, 24 Oct 2008 21:56:43 +0000]
Oops, wrong date
Dave Rolsky [Fri, 24 Oct 2008 15:36:54 +0000]
Add release date.
Dave Rolsky [Thu, 23 Oct 2008 16:30:15 +0000]
Bump all versions to 0.68
Dave Rolsky [Thu, 23 Oct 2008 16:29:49 +0000]
Oops, accidenttaly bumped version in a change log entry.
Tomas Doran [Wed, 22 Oct 2008 19:54:01 +0000]
I'm about to do a Moose change which requires trunk here, so bump the version so I can bump the dependency in Moose's Makefile.PL
Tomas Doran [Wed, 22 Oct 2008 14:51:14 +0000]
Change load_first_existing_class to return the name of the loaded class, rather than it's metaclass instance.
Dave Rolsky [Wed, 22 Oct 2008 02:55:12 +0000]
Fix test description and some tidying
Tomas Doran [Tue, 21 Oct 2008 22:27:18 +0000]
Fix error message. Loads of tests in the Moose test suite rely on the extra space
Dave Rolsky [Tue, 21 Oct 2008 19:40:22 +0000]
More code cleanup for load_first_existing_class()
If we didn't find a class, an exception was thrown.
Dave Rolsky [Tue, 21 Oct 2008 19:37:52 +0000]
Small formatting tweak for load class error messages
Dave Rolsky [Tue, 21 Oct 2008 19:36:47 +0000]
Rename load_first_class_of to load_first_existing_class and so some
cleanup on the code.
Tomas Doran [Tue, 21 Oct 2008 18:30:05 +0000]
Addition of load_one_class_of, to allow does method in Moose to be made quicker.
Florian Ragwitz [Fri, 17 Oct 2008 04:03:46 +0000]
Add myself to the list of contributors.
Florian Ragwitz [Fri, 17 Oct 2008 04:03:36 +0000]
Changelogging.
Florian Ragwitz [Fri, 17 Oct 2008 03:18:34 +0000]
Instead of requiring by module name, generate the path and require() that.
This doesn't generate confusing errors when loading '__PACKAGE__'.
Florian Ragwitz [Fri, 17 Oct 2008 03:18:25 +0000]
Add a failing testcase for a sane Class::MOP::load_class('__PACKAGE__') error message.
Dave Rolsky [Tue, 14 Oct 2008 13:37:47 +0000]
update manifest
Dave Rolsky [Tue, 14 Oct 2008 13:29:38 +0000]
Add a release date
Dave Rolsky [Mon, 6 Oct 2008 23:05:00 +0000]
Bump all the modules to 0.67
Todd Hepler [Tue, 30 Sep 2008 15:32:31 +0000]
Class::MOP::Class::create()
- pass unused options to initialize()
Dave Rolsky [Mon, 29 Sep 2008 03:49:06 +0000]
Fix my grammar (missing "a")
Shawn M Moore [Mon, 29 Sep 2008 02:32:35 +0000]
Test that extending oneself actually throws an error
Shawn M Moore [Mon, 29 Sep 2008 02:25:57 +0000]
Resolve #39001: Call a method on the class after setting the superclass list so that we can get Perl to detect cycles before MRO::Compat spirals into an infinite loop
Dave Rolsky [Thu, 25 Sep 2008 03:10:30 +0000]
Add CheckVersionsMatch step
Dave Rolsky [Sat, 20 Sep 2008 14:27:05 +0000]
update manifest
Yuval Kogman [Tue, 16 Sep 2008 17:52:40 +0000]
load metaclasses more liberally
Dave Rolsky [Mon, 15 Sep 2008 15:28:28 +0000]
Small wording change in changes
Dave Rolsky [Mon, 15 Sep 2008 15:27:52 +0000]
Merged my deprecate-alias_method branch to trunk
Dave Rolsky [Sun, 14 Sep 2008 21:15:27 +0000]
Only skip destroying if the cached metaclas object is not the same as
the one going out of scope.
Dave Rolsky [Sun, 14 Sep 2008 21:09:14 +0000]
Don't destroy a metaclass that has an existing entry in the MOP cache
Dave Rolsky [Sun, 14 Sep 2008 01:39:07 +0000]
Fix some wonky indentation in here
Dave Rolsky [Sat, 13 Sep 2008 03:24:02 +0000]
update changes and MANIFEST
Dave Rolsky [Sat, 13 Sep 2008 03:23:03 +0000]
I kept wondering why I "mistyped" this method name. Oh, it's spelled
wrong. Sigh.