Permalink
Switch branches/tags
Commits on Oct 18, 2011
  1. postgres: Pass interp to Parrot_str_new

    This was segfaulting because Parrot_str_new expects an interp, a
    buffer, and a length but we were only passing a buffer and length.
    The result was... not good.  See gh-168 for gory details.
    Benabik committed Oct 18, 2011
  2. Fix typo in socket.pmc

    tadzik committed Oct 18, 2011
  3. Update some stuff to 3.9.0

    leto committed Oct 18, 2011
  4. update and reformat changelog

    leto committed Oct 18, 2011
  5. fix C90 violation

    NotFound committed Oct 18, 2011
  6. PackfileAnnotations: Fix decl-after-statement

    Apparently benabik-- somehow forgot to test the code he pushed.  My
    guess is that it late and this one slipped through some cleanups.
    gerd++ for noticing.
    Benabik committed Oct 18, 2011
  7. Update Packfile* PMC documentation

    Packfile:
     - Does not have a uuid_length key
     - unpack takes a string, does not return one
    
    PackfileDebug:
     - Doesn't have two get_string_keyed_int methods
    
    PackfileOpMap
     - Isn't a debug segment
     - Has opcode mappings, not filename mappings
    Benabik committed with petdance Oct 16, 2011
  8. PackfileOpMap: Add a way to get loaded oplibs

    Since OpLibs don't know their own name, use a hash.
    Benabik committed Oct 18, 2011
  9. PackfileDebug: Lookup filenames in the const table

    The method of doing so is modeled after the code in PackfileAnnotations.
    Benabik committed Oct 18, 2011
  10. PackfileDebug: Bring more sanity to VTABLEs

    - We have a custom mark VTABLE, so mention that in init.
    - Shorten mark a little by getting all the attributes at once.
    - The get_integer VTABLE is actually returning the number of
      elements in the PMC, so use the elements VTABLE.
    - The line number is an integer so use get_integer_keyed_int
      This keeps around get_pmc_keyed_int as a wrapper.
    - Refactor get_string_keyed_int in preparation for further
      changes.
    Benabik committed Oct 18, 2011
  11. PackfileAnnotations: Ignore SUPER a little less

    We didn't call the superclass's init, and the superclass
    has a set_directory which does a little bit of work.
    
    Sadly, SUPER doesn't work inside of methods, so this is basically
    an inlined version.
    Benabik committed Oct 18, 2011
Commits on Oct 17, 2011
  1. Document the Opcode PMC

    Includes information on what various integer values mean (determined
    by examining the type definitions.
    Benabik committed Oct 17, 2011
  2. OpLib PMC: Used fixed array for version()

    I suppose it's a minor nit, but we know the length of the array
    exactly and it's never going to change, so use a FIA instead of an
    RIA.  Plus, using set_integer_keyed_int should be faster than
    push_integer.
    Benabik committed Oct 17, 2011
  3. Document oplib PMC

    Benabik committed Oct 17, 2011
  4. PDD17: Mention init_int VTABLE

    Message mostly copied from init_pmc explanation.  I figured a
    repetitive description is better than none.
    Benabik committed Oct 17, 2011
  5. update winxed info in changelog

    NotFound committed Oct 17, 2011
  6. update changelog

    leto committed Oct 17, 2011
  7. Add get_string to Fixed Float and Integer Array

    Also adds tests for get_string to Boolean and PMC.
    
    This makes most Fixed*Array consistent.  The exception is
    FixedPMCArray which prints the number of elements instead of the
    elements themselves.  We may wish to change that, but I simply wanted
    to add the missing strings to avoid exceptions when printing.
    Benabik committed Oct 17, 2011
Commits on Oct 16, 2011
  1. Update Packfile* PMC documentation

    Packfile:
     - Does not have a uuid_length key
     - unpack takes a string, does not return one
    
    PackfileDebug:
     - Doesn't have two get_string_keyed_int methods
    
    PackfileOpMap
     - Isn't a debug segment
     - Has opcode mappings, not filename mappings
    Benabik committed Oct 16, 2011
Commits on Oct 14, 2011
Commits on Oct 13, 2011
  1. "Repeated code is a mistake." -- MJD. "This is Perl; when in doubt, u…

    …se a hash." -- unknown
    
    (at least to google)."
    jkeenan committed Oct 13, 2011
Commits on Oct 12, 2011
  1. removed two unused fucntions

    petdance committed Oct 12, 2011