Permalink
Commits on Jul 7, 2011
  1. There was evidence that spinning the run-loop to wait for the result …

    …of the asynchronous calls
    
    within the synchronous proxy was not very efficient and used excess CPU cycles.
    
    The solution was to replace the run-loop spin with an NSCondition which waits to be signalled
    by the synchronous proxy block.
    
    In order for this to work, the asynchronous work needs to happen on a different thread. Because
    in iOS4 and greater, we can guarantee that any operation added to any queue by the main queue
    happens off of the main thread (thanks to GCD), we can remove the shunt to main thread and
    run NSURLConnection in the secondary thread's run loop instead.
    
    This also has a nice side effect of increasing performance slightly; the test suite improved by
    roughly 1 second on my machine.
    lukeredpath committed Jul 7, 2011
  2. Further retry tests.

    lukeredpath committed Jul 7, 2011
  3. I just spent ages debugging a failing test because I was passing in a…

    … path, not an HTTP URL.
    
    I added this assertion as a sanity test; it also revealed one other test where I'd forgotten
    to pass in a complete URL - doh!
    lukeredpath committed Jul 7, 2011
Commits on Jul 2, 2011
  1. Added rdiscount to gemfile

    lukeredpath committed Jul 2, 2011
  2. Added Jekyll to gemfile

    lukeredpath committed Jul 2, 2011
  3. Fixed README

    lukeredpath committed Jul 2, 2011
Commits on Jun 30, 2011
  1. This was failing in iOS 4.3

    lukeredpath committed Jun 30, 2011
  2. This was crashing with iOS4, it seems sensible to check for nil heade…

    …rs before calling
    
    an API that is expecting an NSDictionary.
    lukeredpath committed Jun 30, 2011
  3. Added README note about ARC

    lukeredpath committed Jun 30, 2011
Commits on Jun 26, 2011
  1. Fix API reference link

    lukeredpath committed Jun 26, 2011
  2. Hide private interfaces

    lukeredpath committed Jun 26, 2011
  3. Expand the payload protocol to allow implementers to explicitly retur…

    …n their request data and content-type.
    lukeredpath committed Jun 26, 2011
Commits on Jun 25, 2011
  1. Remove Doxygen artefacts

    lukeredpath committed Jun 25, 2011
  2. Update rake task structure

    lukeredpath committed Jun 25, 2011