Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: Sereal-Decoder…
Commits on Sep 3, 2012
  1. @tsee

    Ignore more cloned files

    tsee authored
  2. @tsee
  3. @tsee

    Move shared things to the shared subdirectory

    tsee authored
    This seems necessary for dist/manifest building.
  4. @tsee
  5. @demerphq

    pass tests on 5.8.5

    demerphq authored
    Regexp logic was in the wrong place, and we werent created hashes with shared keys properly
  6. @tsee
  7. @tsee
  8. @demerphq
  9. @demerphq
  10. @tsee
  11. @tsee

    Fix compiler warnings

    tsee authored
  12. @tsee

    Always call av_extend - the 8 default size applies to hashes only

    tsee authored
    We've been assuming that by default, arrays have an underlying C array
    of 8 SVs, but that's not true, as far as I can tell. sv.c has that logic
    for hashes, but not for arrays. So we always call av_extend - even
    though it could be argued that it shouldn't be called for length=0
    arrays, but the extra branch is probably not worth that comparatively
    rare special case.
Commits on Sep 2, 2012
  1. @demerphq

    Unroll av_fetch()

    demerphq authored
    If the array is not magical then we can just iterate over the C level array.
  2. @demerphq

    further tweaks - make weakref logic do less work

    demerphq authored
    this is tricky, adding expect_false() in places where we expect false seems to slow
    things down. be careful to benchmark
  3. @demerphq
  4. @demerphq

    decode the classname before the reference it blesses

    demerphq authored
    It is easier on the encoder to encode the classname before
    it encodes whatever is blessed. So we swapped them around.
  5. @demerphq
  6. @demerphq
Commits on Sep 1, 2012
  1. @demerphq
  2. @demerphq
  3. @tsee

    Avoid resetting persistent decoder flags

    tsee authored
    Some (most, right now) flags in the decoder are "static", IOW, they are
    not intended to be reset for each decoder run. For example, one of the
    flags marks the difference between a decoder that will be freed soon
    versus a decoder that will be reused.
    
    We were unconditionally unsetting all flags in various cleanup places.
    That was bad. Instead, we just unset all flags that pertain to the
    current decoder run.
Commits on Aug 31, 2012
  1. @demerphq
  2. @demerphq
  3. @demerphq

    apparently we have to manually SvREFCNT_dec after we pop

    demerphq authored
    Which I find weird. Could this be version dependent? It IS the case
    on 5.8.5.
    
    Yves
  4. @demerphq
  5. @tsee

    Fix unrolled newRV_noincs for old perls

    tsee authored
    Until (exclusive) 5.12, we used to have an actual SV type SVt_RV. Now
    it's the same as SVt_IV, but we need to explicitly upgrade to the right
    type depending on the perl version.
  6. @demerphq
  7. @demerphq
  8. @demerphq

    rework decoder logic so top level routines are wrapped

    demerphq authored
    this allows a lot of subs  to marked inline
  9. @tsee

    DOOOOOCUMENTATION!

    tsee authored
  10. @tsee
  11. @tsee

    More documentation for Encoder and Decoder

    tsee authored
    Encoder isn't too bad now (including documentation for all three public
    functions), but the Decoder docs need a lot of work.
    
    We'll have to think carefully about how to implement protocol-level
    compatibility and how to expose it to Perl. Also, should we have a
    protocol spec exposed as POD somewhere?
  12. @tsee
  13. @tsee

    I give in: No shiny new typemap tools

    tsee authored
    Too painful to build packages for them on our old, shit 5.8.5.
  14. @tsee
Something went wrong with that request. Please try again.