Permalink
Commits on Aug 31, 2011
  1. Merge pull request #18 from evanlong/master

    Mattt Thompson committed Aug 31, 2011
    Thread safety
  2. Ok, making the entire reading and increment atomic.

    Evan Long committed Aug 31, 2011
  3. Need the reads on the property to be atomic as well. Otherwise there …

    Evan Long committed Aug 31, 2011
    …as cases like 'startAnimating' getting called from two seperate threads. Each would read a value A. The first thread would then write the value A+1. Thread 2 also read A so it would also write A+1. As a result missing an increment
  4. Making AFImageCache lazy init thread safe since it is called from mai…

    evanlong committed with Evan Long Aug 31, 2011
    …n thread and background threads. Also making the increment and decrement for AFNetworkActivityIndicatorManager thread safe since start/stopAnimating are called from different threads.
Commits on Aug 25, 2011
  1. Merge pull request #15 from adamjernst/master

    Mattt Thompson committed Aug 25, 2011
    Only check HTTP status code if network error did not occur
Commits on Aug 24, 2011
  1. Only check HTTP status code and content type if there isn't already a…

    adamjernst committed Aug 24, 2011
    …n error passed in to the completion block. Otherwise network errors are overwritten by a faulty error stating the HTTP status code is 0.
Commits on Aug 23, 2011
  1. Experimental implementation of download progress block

    mattt committed Aug 23, 2011
    Renaming progressBlock to uploadProgressBlock
  2. Experimental implementation using a single, dedicated network thread,…

    mattt committed Aug 23, 2011
    … rather than spinning up new run loops for each request
Commits on Aug 22, 2011
  1. Fixing example in README to use user-defined NSOperationQueue

    mattt committed Aug 22, 2011
    Reorganizing examples
  2. Fixing example in README to use NSOperationQueue instead of just call…

    mattt committed Aug 22, 2011
    …ing -start on an operation
Commits on Aug 16, 2011
Commits on Aug 15, 2011
  1. Merge pull request #9 from dstnbrkr/master

    Mattt Thompson committed Aug 15, 2011
    Handle responses with no content (ex. http status code 204)
  2. Changing activity status counter to signed integer, to ensure MAX(0,_…

    mattt committed Aug 15, 2011
    …activityCount) is enforced as expected
  3. Merge branch 'gzip-compression-experimental' into experimental-gcd-pr…

    mattt committed Aug 15, 2011
    …ocessing
    
    Conflicts:
    	AFNetworking/AFHTTPRequestOperation.m
    	AFNetworking/AFImageRequestOperation.m
    	AFNetworking/AFJSONRequestOperation.m
  4. Adding progress callback to AFHTTPRequestOperations, which can be use…

    mattt committed Aug 15, 2011
    …d to monitor the progress of POST data being sent in a file upload, for instance
Commits on Aug 10, 2011
  1. Call success with nil if response data has length == 0.

    dstnbrkr committed Aug 10, 2011
    Fixes exception when attempting to parse empty response data (i.e. HTTP Status Code 204 No Content).
Commits on Aug 9, 2011
  1. Don't wait for selectors to perform on main thread, and don't schedul…

    mattt committed Aug 9, 2011
    …e in particular run loops
Commits on Aug 7, 2011
  1. Removing NSDefaultRunLoop frrom default runLoopModes in AFHTTPRequest…

    mattt committed Aug 7, 2011
    …Operation instances
  2. Removing unnecessary NSPort instance, which was attached to NSRunLoop…

    mattt committed Aug 7, 2011
    … to prevent it from immediately exiting
Commits on Aug 5, 2011
  1. Expanding success and failure block of most explicit signature for AF…

    mattt committed Aug 5, 2011
    …JSONRequestOperation to include request and response objects