Permalink
Commits on Apr 25, 2012
  1. Updating podspec to 1.0RC1

    mattt committed Apr 25, 2012
  2. Merge branch 'experimental-1.0RC1'

    mattt committed Apr 25, 2012
  3. Updating podspec to 0.9.2

    mattt committed Apr 25, 2012
  4. Merge branch 'experimental-1.0RC1' into experimental-pause-resume

    Conflicts:
    	AFNetworking/AFURLConnectionOperation.h
    	AFNetworking/AFURLConnectionOperation.m
    mattt committed Apr 25, 2012
  5. Merge branch 'master' into experimental-1.0RC1

    Conflicts:
    	AFNetworking/AFHTTPRequestOperation.h
    	AFNetworking/AFHTTPRequestOperation.m
    mattt committed Apr 25, 2012
  6. Merge branch 'master' into experimental-pause-resume

    Conflicts:
    	AFNetworking/AFHTTPRequestOperation.h
    	AFNetworking/AFHTTPRequestOperation.m
    mattt committed Apr 25, 2012
Commits on Apr 24, 2012
  1. Merge pull request #294 from kirsplatrick/callbackQueue-fix

    Fixed crash in special case for custom callback queues
    Mattt Thompson committed Apr 24, 2012
  2. Merge pull request #310 from cahn/experimental-try-catch-removal

    Try-catch in Objective-C should not be used to recover from exceptions
    Mattt Thompson committed Apr 24, 2012
Commits on Apr 19, 2012
  1. Try-catch in Objective-C should not be used to recover from exceptions

    http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/Exceptions/Articles/ExceptionsAndCocoaFrameworks.html#//apple_ref/doc/uid/TP40009045-SW1
    
    Relevant Quote:
      "The Cocoa frameworks are generally not exception-safe. The general
      pattern is that exceptions are reserved for programmer error only, and
      the program catching such an exception should quit soon afterwards."
    
    More discussion here:
    http://stackoverflow.com/questions/324284/how-to-throw-an-exception-in-objective-c-cocoa
    
    Given all this, prefer a crash on the background thread.
    cahn committed Apr 19, 2012
Commits on Apr 15, 2012
  1. Merge pull request #298 from bONchON/master

    Fixing race condition in UIImageView+AFNetworking that caused images to not load on occasion.
    Mattt Thompson committed Apr 15, 2012
  2. Merge pull request #302 from kirsplatrick/AFHTTPRequestOperation-leak…

    …-fix
    
    Fixed a leak of AFHTTPRequestOperation in setCompletionBlock:
    Mattt Thompson committed Apr 15, 2012
Commits on Apr 14, 2012
  1. Fixed a leak of AFHTTPRequestOperation in setCompletionBlock:

    - Added a block object to reference self in the completion block
    - Added a pointer to the onceToken to be used in the completion block
    kirsplatrick committed Apr 14, 2012
Commits on Apr 13, 2012
  1. since there is no guarantee that

    cancelling a request => success/fail block will not be called,
    you shouldn't nil out a request unless it corresponds to the correct URL.
    Essentially, this fixes the problem where images are sometimes not loaded.
    bogardon committed Apr 13, 2012
  2. Fixing pragma mark label

    mattt committed Apr 13, 2012
  3. Merge pull request #291 from steipete/fix-cache-policy

    The cache policy set here was from the WRONG enum.
    Mattt Thompson committed Apr 13, 2012
  4. Merge pull request #288 from kirsplatrick/experimental-dispatchgroup

    Update to support batch completion block firing after all dependent completion blocks.
    Mattt Thompson committed Apr 13, 2012
Commits on Apr 11, 2012
  1. Fixed crash in special case for custom callback queues

    - Added a line for setting _successCallbackQueue to NULL when releasing the call back queue in the setter
    - Added a line for setting _failureCallbackQueue to NULL when releasing the call back queue in the setter
    kirsplatrick committed Apr 11, 2012
  2. The cache policy set here was from the WRONG enum.

    So NSURLCacheStorgeNotAllowed has the value 2, which maps to NSURLRequestReturnCacheDataElseLoad. I'm not sure why this is here in the first place, but the correct enum is of the type NSURLRequestCachePolicy.
    steipete committed Apr 11, 2012
Commits on Apr 10, 2012
  1. Restore download resuming.

    The default destination will be the documents folder, unless set otherwise. We also look into the response metadata for the actual filename (unless set otherwise)
    steipete committed Apr 10, 2012
  2. adds function to responseFilePath (streaming into a file, if set)

    adds total/offsetContentLength. We really need those in case we pause/resume.
    steipete committed Apr 10, 2012
Commits on Apr 9, 2012
  1. create and set temporary path

    steipete committed Apr 6, 2012
  2. Optimized how enqueueing operations works

    - Removed the NSBlockOperation as it was not longer needed for completion block to be fired appropriately
    - Added a safety call to setCompletionBlock in AFHTTPRequestOperation to ensure that dispatch_group_leave would be called
    kirsplatrick committed Apr 9, 2012