Skip to content
This repository
branch: redstr

Sep 04, 2012

  1. Yves Orton

    regenerate table

    authored September 04, 2012
  2. Yves Orton

    reduce the amount of tags used for short strings (so we can use the f…

    …or something else later)
    authored September 04, 2012
  3. Yves Orton

    unroll one liner. :-)

    Now you can do:
    
        perl -x srl_decoder.h
    
    to autoupdate the string table from the defines.
    authored September 04, 2012
  4. Yves Orton

    cast char* to U8* and back again - sigh (silence warnings)

    authored September 04, 2012
  5. Yves Orton

    Make tests robust to size range changes of short strings

    authored September 04, 2012
  6. Yves Orton

    add tests and fix round trips of utf8 keys in the latin1 range

    Perl stores hashes in two forms: UTF8 and Latin-1 (binary).
    
    If a unicode key is stored in a hash then perl will see if it can be reencoded as
    latin-1 (binary). If it can then it is stored as latin-1 with the flag "WASUTF8".
    If it cant then it is stored as utf8 with the flag ISUTF8.
    
    If the key is latin-1/binary from the beginning then it is stored as latin-1 with
    neither flag set.
    
    When fetching the keys of a hash and the key has the WASUTF8 then perl upgrades
    the string before returning it to the user so it has the correct semantics. This
    means that we also have to do the same thing for WASUTF8 keys or they will not
    round trip properly.
    authored September 04, 2012
  7. Steffen Müller

    Revert "Move back towards 585 compat"

    This reverts commit df5c7d3.
    
    Collision with Yves' more complete fix.
    authored September 04, 2012
  8. Steffen Müller

    Version bump for new packaging run

    authored September 04, 2012
  9. Yves Orton

    fixup copied utf8 key logic for 5.8.x

    authored September 04, 2012
  10. Yves Orton

    Rework how we handle copy tags for hash keys so we do less work.

    Part of this patch also switches from using direct bitmap tests
    for ASCII tags with macros. This makes it easier to ensure all
    of these tests work properly should we need to change the logic.
    authored September 04, 2012
  11. Yves Orton

    make it easier to debug by storing the tag names in the binary

    authored September 04, 2012
  12. Steffen Müller

    Implement croak_on_bless option in the Encoder

    authored September 04, 2012
  13. Steffen Müller

    Move back towards 585 compat

    authored September 04, 2012
  14. Yves Orton

    Make the new hash logic work on p585

    It seems that back in the mists of time there was a static hv_fetch_common() which was
    refactored into hv_common(). So on ancient perls use hv_fetch().
    authored September 04, 2012
  15. Yves Orton

    fix bug - we would fail to deal with aliases in hashes right

    We need many more tests for aliases. :-(
    authored September 04, 2012
  16. Steffen Müller

    Version bump to 0.02

    For internal test release.
    authored September 04, 2012
  17. Steffen Müller

    MakeMaker kind of requires two separate inc/ copies

    Due to how MakeMaker works, we need to maintain separate copies of the
    code in inc/ (which is required for Makefile.PL). Symlinks fuck of the
    make dist and make manifest stages of distribution building and we
    really don't want that.
    
    Yves, if this breaks your build again, try a fresh clone!
    authored September 04, 2012

Sep 03, 2012

  1. Yves Orton

    add inc to .gitignore

    authored September 04, 2012
  2. Yves Orton

    make test set robust to changes in string sizes

    authored September 04, 2012
  3. Yves Orton

    add some missing predeclares and add a new varint routine for copy

    authored September 04, 2012
  4. Yves Orton

    fixup build issue

    authored September 04, 2012
  5. Yves Orton

    put keys in front of values (sigh) to avoid leaks from parsing keys

    We also switch to using hv_common in a more intelligent way.  This improves
    performance, and I dont think it actually violates the API either.
    authored September 03, 2012
  6. Yves Orton

    defend against hand crafted attack packets

    authored September 03, 2012
  7. Steffen Müller

    Ignore more cloned files

    authored September 03, 2012
  8. Steffen Müller

    TODO lives in top level of repo now

    authored September 03, 2012
  9. Steffen Müller

    Move shared things to the shared subdirectory

    This seems necessary for dist/manifest building.
    authored September 03, 2012
  10. Steffen Müller

    More ignorance and release prep/cleanup

    authored September 03, 2012
  11. Yves Orton

    pass tests on 5.8.5

    Regexp logic was in the wrong place, and we werent created hashes with shared keys properly
    authored September 03, 2012
  12. Steffen Müller

    Fixup broken new benchmark functionality

    authored September 03, 2012
  13. Steffen Müller

    more elaborate benchmark (see CLI options!)

    authored September 03, 2012
  14. Yves Orton

    unrolling sv_dump a little makes our code about 30% faster

    authored September 03, 2012
  15. Yves Orton

    add logic to unroll hash iteration on non magical hashes

    authored September 03, 2012
  16. Steffen Müller

    Doh - actually use OO decoder in tests

    authored September 03, 2012
  17. Steffen Müller

    Fix compiler warnings

    authored September 03, 2012
  18. Steffen Müller

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

    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.
    authored September 03, 2012
Something went wrong with that request. Please try again.