Commits on May 6, 2011
  1. @rfk

    dump to version 0.2.0

    rfk committed May 6, 2011
  2. @rfk
  3. @rfk
  4. @rfk
Commits on Apr 13, 2011
  1. @rfk
Commits on Apr 11, 2011
  1. @rfk
Commits on Apr 10, 2011
  1. @rfk
  2. @rfk

    refactor to use an explicit struct of function pointers.

    This costs a little in performance, since the compiler can't inline
    trivial functions like tns_get_null().  But, it will make it much easier
    to provide slightly different parsing/rending strategies e.g.
    automatically turning unicode strings into utf8 bytes.
    rfk committed Apr 10, 2011
Commits on Apr 6, 2011
  1. @rfk

    fix typo

    rfk committed Apr 6, 2011
Commits on Apr 4, 2011
  1. @rfk
  2. @rfk

    add distribution-related palaver

    rfk committed Apr 4, 2011
  3. @rfk
  4. @rfk

    tighten up tns_strtosz

    rfk committed Apr 4, 2011
  5. @rfk
  6. @rfk
Commits on Apr 3, 2011
  1. @rfk
  2. @rfk
  3. @rfk

    some additional comments

    rfk committed Apr 4, 2011
  4. @rfk

    adjust date in copyright notice

    rfk committed Apr 3, 2011
  5. @rfk
  6. @rfk
  7. @rfk
  8. @rfk
  9. @rfk

    fix test methodname typo

    rfk committed Apr 3, 2011
  10. @rfk

    remove LoadError/DumpError in favour of plain ValueError.

    This is what the stdlib json module uses, and it seems appropriate.
    Custom error classes don't really buy us anything.
    rfk committed Apr 3, 2011
  11. @rfk

    implement load() and dump() for working with files.

    dump() is just a simpler wrapper around dumps(), while load() does some
    extra work to ensure it only reads as much data as it needs.
    rfk committed Apr 3, 2011
Commits on Apr 2, 2011
  1. @rfk
  2. @rfk
  3. @rfk
  4. @rfk
Commits on Mar 31, 2011
  1. @rfk

    refactor to allow experimenting with different outbuf routines

    tns_outbuf_rev.c now contains the original write-in-reverse routines,
    while tns_outbuf_push.c contains routines that write from the back
    of the buffer but keep the data right-way-round.
    rfk committed Mar 31, 2011
Commits on Mar 27, 2011
  1. @rfk
  2. @rfk
  3. @rfk

    more speedups for pure-python rendering.

    This attempt uses a deque to collect fragments of the output, generated
    last-chunk-first.  We save the overhead of reversing lots of little
    strings.
    rfk committed Mar 28, 2011
  4. @rfk