Permalink
Commits on May 30, 2009
  1. Version bump to 0.5.2

    brianmario committed May 30, 2009
  2. set READ_BUFSIZE back to 8kb by default

    brianmario committed May 30, 2009
    set WRITE_BUFSIZE to 8kb, and use it to throttle writes to the encode stream for better performance in 1.9
    fixed a spec typo
Commits on May 29, 2009
  1. patch Yajl so encoding can continue as a stream as well, without the …

    brianmario committed May 29, 2009
    …need to re-alloc a new encoder for each encoded object
    
    added test for the newly added multiple-encoding feature
Commits on May 26, 2009
  1. added the class methods Yajl::Encoder.encode and Yajl::Parser.parse a…

    brianmario committed May 26, 2009
    …s helpers for one-off encodes/parses
    
    added tests for the above
    updated the streaming twitter example to have a less verbose output
  2. updated changelog, internal version and gemspec for 0.5.1 release (mo…

    brianmario committed May 26, 2009
    …stly just to rebuild the gem with the latest stuff)
  3. Version bump to 0.5.1

    brianmario committed May 26, 2009
Commits on May 25, 2009
  1. added spec tests for encoding with :pretty turned on and different in…

    brianmario committed May 25, 2009
    …dent characters specified
  2. Refactored internal API for ease of use, new options, thread-safety a…

    brianmario committed May 23, 2009
    …nd much much more to come!
    
    initial work on refactor, pushing so I can continue from home
    initial refactor working, but slower - will go back and optimize after the API is complete
    new initial encoder API is in, benchmarks, spec tests and library code updated for new API
    removing debug compile flags for now, changed parsing benchmark to parsing the larger file so I can start work on my optimization pass
    setting a default value for indentString to appease the compiler gods
    fix loading the rest of the yajl-ruby lib for spec tests when run locally and compiled extension for testing
    updated examples to have 1.9 file encoding magic comment
    updated twitter_stream.json with a new capture
    fixed a bug in the Chunked transfer encoding parser when a received chunk was smaller than the size requested by IO#read
    fixed a typo in the chunked_spec
    all tests pass again!
    add deprecated methods and STDERR messages about it, bump internal version for upcoming release
    second refactor pass, this time focused on optimization
    * changed instance variable assignment and referencing to an in-C struct to save on context switching between Ruby and C
    finish converting chunked parsing over to newer struct architecture
    removed ActiveSupport from stream parsing test, it was complaining about who knows what...
    remove yajl_set_context hack, don't need it anymore with the new API
    fixed another bug in the chunked http parser
    increased read buffer size to 65k
    switched Data_Get_Struct calls to an inline macro for a little more DRY code
    Version bump to 0.5.0
    Yajl::Parser.new and Yajl::Encoder.new now both accept options for the constructed parser/encoder
    * Yajl::Parser.new(:allow_comments => true, :check_utf8 => true)
    * Yajl::Encoder.new(:pretty => true, :indent => "  ")
    reorganizing examples dir so I can add more of other types
    moved twitter example into http folder
    updated changelog for next release, removed require for socket lib in twitter examples
    updating gemspec with new structure
Commits on May 22, 2009
Commits on May 20, 2009
  1. updating internal version

    brianmario committed May 20, 2009
  2. Version bump to 0.4.9

    brianmario committed May 20, 2009
  3. added support for chunked HTTP responses for Yajl::HttpStream.get

    brianmario committed May 20, 2009
    * added support for passing a block used as a callback for chunked responses that contain multiple JSON strings
    added an examples folder and put a Twitter Streaming API example in there to start with, will add more later
    fixed some more parser state bugs surfaced by more edge cases
  4. remove a puts from testing

    brianmario committed May 20, 2009
Commits on May 19, 2009
  1. Version bump to 0.4.8

    brianmario committed May 19, 2009