Permalink
Commits on Jul 16, 2010
  1. @schwern

    Version 2.3.0_02

    schwern committed Jul 16, 2010
  2. @schwern

    Document signature introspection

    schwern committed Jul 16, 2010
  3. @schwern

    Signatures are always true, even if the string rep is not.

    Otherwise do_something if $code->signature wouldn't DWIM.
    schwern committed Jul 16, 2010
  4. @schwern
  5. @schwern

    Change Signature->parameters and Signature->num_parameters to params …

    …to better match Perl 6.
    schwern committed Jul 16, 2010
  6. @schwern

    Make Signature objects stringify

    schwern committed Jul 16, 2010
  7. @schwern

    Mark methods properly

    schwern committed Jul 16, 2010
  8. @schwern

    Finally giving defined routines their signatures.

    Had to split out the Signature code into real classes and avoid using perl5i to avoid
    load dependencies.  Otherwise perl5i::2::Signatures would have to be loaded before
    enough of perl5i is bootstrapped.  Or perl5i couldn't use signatures inside itself.
    schwern committed Jul 16, 2010
Commits on Jul 15, 2010
  1. @schwern

    The segfault was being caused by make_real being called during global…

    … destruction.
    
    Because it didn't check for DESTROY.
    schwern committed Jul 15, 2010
  2. @schwern

    Make signature objects assignable and retrievable from any code ref.

    Unfortunately, this causes a segfault inside autobox.  Hopefully chocolateboy can figure it out.
    schwern committed Jul 15, 2010
  3. @schwern
  4. @schwern
  5. @schwern

    make sure the optimization works

    schwern committed Jul 15, 2010
  6. @schwern

    A class to efficiently store signatures.

    Not hooked up to anything yet.
    schwern committed Jul 15, 2010
Commits on Jul 13, 2010
  1. @schwern
Commits on Jul 12, 2010
  1. @schwern

    Version 2.3.0_01

    schwern committed Jul 12, 2010
  2. @schwern
  3. @schwern

    Document @INC error improvement

    schwern committed Jul 12, 2010
  4. @schwern
  5. @schwern
  6. @schwern

    Add basic subroutine and method signatures.

    Its very basic, but it uses the emerging common syntax and behavior.  Its essentially
    cut & coded from Method::Signatures::Simple with a slight modification to not grab
    the invocant.
    
    This little bit fixes a lot of potential syntax issues which would benefit from
    using a callback function.  For example:
    
        $hash->each( def($key, $val) {
             print "$key => $val\n";
        });
    
        my @foo = @array->map( def($thing) { $thing++ } );
    
    Of course, that requires getting anonymous declarations working.
    
    Can't decide between 'def' and 'func'.  'func' is short and probably the clearest.  'def'
    is short and has the weight of languages behind it (Ruby, Python, Groovy, Scala).  So
    we use both and one will be deprecated.
    schwern committed Jul 12, 2010
  7. @schwern

    Note ngrep, nfor and nmap

    schwern committed Jul 12, 2010
Commits on Jun 29, 2010
  1. @avar
Commits on May 17, 2010
  1. @schwern

    Merge branch 'bugfix'

    Conflicts:
    	t/command_line_wrapper.t
    schwern committed May 17, 2010
  2. @schwern

    Version 2.2.2

    schwern committed May 17, 2010
  3. @schwern

    Pull the command line wrapper test from master.

    Its more robust and fixes a minor issue.  Doesn't test any new features.
    schwern committed May 17, 2010
  4. @schwern
  5. @schwern

    Fix the command line wrapper test so it can always find the perl5i li…

    …braries.
    
    Typo running perl5i instead of $perl5i
    
    Make sure the newly build perl5i program can find lib/perl5i/cmd.pm
    schwern committed May 17, 2010
  6. @schwern

    Merge branch 'bugfix'

    schwern committed May 17, 2010
  7. @schwern

    Version 2.2.1

    schwern committed May 17, 2010
  8. @schwern

    Fix the "modification of read-only value" errors from non-threaded Pe…

    …rls.
    
    Its like this.  For some reason lost to the mists of time, bless will not bless
    a reference to a read only value.  So bless \"foo", $class isn't supposed to work.
    This is just what our meta objects do.  For some unknown reason, this doesn't
    trip when threads are turned on.  Possibly something to do with @_ magic.
    
    The work around is to take a reference to the reference.  Its stupid and
    probably slow.
    
    A better thing to do might be to take advantage of field hashes to store
    the meta object instead of recreating it every time.
    schwern committed May 17, 2010
Commits on May 13, 2010
  1. @exodist

    Add Block-NamedVar

     * Add min version to Build.PL
     * Use it when using perl5i
     * Document it's use
    exodist committed May 13, 2010
Commits on May 12, 2010
  1. @exodist

    Regenerated README

    exodist committed May 12, 2010
  2. @exodist

    * Modularize @INC improvements, and document

     * The @INC improvements are contained in lib/perl5i/2/RequireMessage.pm
     * Documented the @INC changes in lib/perl5i.pm
    exodist committed May 12, 2010
  3. @exodist