Skip to content
Commits on Sep 15, 2011
  1. @mattt

    Adding -cancelImageRequestOperation to UIImageView category

    Improving performance of UIImageView -setImageWithURL:... by cancelling running operation if new image url request is different than passed url request
    mattt committed Sep 15, 2011
  2. @mattt

    Fixing AFHTTPOperation's implementation of -cancel, to match expectat…

    …ions of NSOperationSubclass
    mattt committed Sep 15, 2011
  3. @mattt
  4. @mattt
  5. @mattt
  6. @mattt

    [Issue #29] Fixing operationWithRequest:inputStream:outputStream:comp…

    …letion: to actually assign outputStream
    mattt committed Sep 15, 2011
  7. @mattt

    Merge pull request #28 from evanlong/master

    Fixing a leak as a result of a race condition in the sample Gowalla client
    mattt committed Sep 15, 2011
  8. The allocation for the shared client could occur twice resulting in a…

    … leak. Two
    
    threads could pass the nil check. One would acquire the lock and create the
    sharedClient. The second thread would eventually get the lock and also acquire
    a sharedClient.
    Evan Long committed Sep 15, 2011
Commits on Sep 13, 2011
  1. @mattt

    Merge pull request #22 from steipete/master

    Fixes warnings, Improves UIImageView loading helper
    mattt committed Sep 12, 2011
Commits on Sep 12, 2011
  1. @steipete

    add BOOL if cache was used to load image

    This is useful for animation - if function directly returns, there's no need to animate the new image
    steipete committed Sep 12, 2011
  2. @steipete

    fix selector warnings, fix warning "ignore declaration shadows a loca…

    …l variable" with using MIN inside of MAX
    steipete committed Sep 12, 2011
  3. @steipete

    execute custom block _before_ setting image

    This is particularly useful if you want to animate the image change, e.g. with a core animation block - that's not possible after image is changed.
    steipete committed Sep 12, 2011
  4. @steipete
Commits on Sep 7, 2011
  1. @mattt
Commits on Aug 31, 2011
  1. @mattt
  2. @mattt
  3. @mattt

    Merge pull request #18 from evanlong/master

    Thread safety
    mattt committed Aug 31, 2011
  4. Ok, making the entire reading and increment atomic.

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

    …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
    Evan Long committed Aug 30, 2011
  6. @evanlong

    Making AFImageCache lazy init thread safe since it is called from mai…

    …n thread and background threads. Also making the increment and decrement for AFNetworkActivityIndicatorManager thread safe since start/stopAnimating are called from different threads.
    evanlong committed with Evan Long Aug 30, 2011
Commits on Aug 25, 2011
  1. @mattt

    Merge pull request #15 from adamjernst/master

    Only check HTTP status code if network error did not occur
    mattt committed Aug 24, 2011
Commits on Aug 24, 2011
  1. @mattt
  2. @adamjernst

    Only check HTTP status code and content type if there isn't already a…

    …n error passed in to the completion block. Otherwise network errors are overwritten by a faulty error stating the HTTP status code is 0.
    adamjernst committed Aug 24, 2011
  3. @mattt
  4. @mattt
Commits on Aug 23, 2011
  1. @mattt

    Experimental implementation of download progress block

    Renaming progressBlock to uploadProgressBlock
    mattt committed Aug 23, 2011
  2. @mattt

    Experimental implementation using a single, dedicated network thread,…

    … rather than spinning up new run loops for each request
    mattt committed Aug 22, 2011
Commits on Aug 22, 2011
  1. @mattt

    Fixing example in README to use user-defined NSOperationQueue

    Reorganizing examples
    mattt committed Aug 22, 2011
  2. @mattt

    Fixing example in README to use NSOperationQueue instead of just call…

    …ing -start on an operation
    mattt committed Aug 22, 2011
Commits on Aug 16, 2011
  1. @mattt
Commits on Aug 15, 2011
  1. @mattt
  2. @mattt

    Merge pull request #9 from dstnbrkr/master

    Handle responses with no content (ex. http status code 204)
    mattt committed Aug 14, 2011
  3. @mattt
  4. @mattt

    Changing activity status counter to signed integer, to ensure MAX(0,_…

    …activityCount) is enforced as expected
    mattt committed Aug 14, 2011
  5. @mattt

    Merge branch 'gzip-compression-experimental' into experimental-gcd-pr…

    …ocessing
    
    Conflicts:
    	AFNetworking/AFHTTPRequestOperation.m
    	AFNetworking/AFImageRequestOperation.m
    	AFNetworking/AFJSONRequestOperation.m
    mattt committed Aug 14, 2011
Something went wrong with that request. Please try again.