Commits on May 6, 2011
  1. dump to version 0.2.0

    rfk committed May 6, 2011
Commits on Apr 13, 2011
Commits on Apr 11, 2011
Commits on Apr 10, 2011
  1. 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. fix typo

    rfk committed Apr 6, 2011
Commits on Apr 4, 2011
  1. add distribution-related palaver

    rfk committed Apr 4, 2011
  2. tighten up tns_strtosz

    rfk committed Apr 4, 2011
Commits on Apr 3, 2011
  1. some additional comments

    rfk committed Apr 3, 2011
  2. adjust date in copyright notice

    rfk committed Apr 3, 2011
  3. fix test methodname typo

    rfk committed Apr 3, 2011
  4. 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
  5. 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
Commits on Mar 31, 2011
  1. 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. 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
    rfk committed Mar 27, 2011