Mattt Thompson
3dcc97ec8e
Minor updates to AFURLConnectionOperation documentation
2012-10-14 10:41:37 -07:00
Mattt Thompson
ff37bb59f8
Merge branch 'master' into 1.0RC2
...
Conflicts:
AFNetworking/AFHTTPClient.m
AFNetworking/AFHTTPRequestOperation.m
AFNetworking/AFJSONRequestOperation.m
AFNetworking/AFNetworkActivityIndicatorManager.m
AFNetworking/AFURLConnectionOperation.h
2012-09-14 10:30:25 -07:00
Mattt Thompson
5ddd070607
Fixing appledoc compliation errors in documentation
...
Assorted copy edits and reformatting to documentation
2012-08-31 09:53:55 -07:00
Mattt Thompson
4f89cc650e
Significant restructuring and editing of documentation, organizing notifications, functions, and constants into separate sections at the end of the class header
2012-08-29 14:15:35 -07:00
Mattt Thompson
ed94ddf7b0
[Issue #472 ] Defining error keys for failing request and response to be included in NSError created in AFHTTPRequestOperation
...
Refactoring AFHTTPRequestOperation error handling code
2012-08-29 12:24:58 -07:00
Mattt Thompson
6558e95ae5
Merge pull request #476 from garethson/precision-loss-downloadProgress
...
Calling downloadProgress no longer casting [data length] to (long long)
2012-08-29 09:59:06 -07:00
Gareth du Plooy
13ec70cc8f
AFURLConnectionOperationProgressBlock bytes now NSUinteger
...
This seems to be the most proper data type for this parameter.
What gets passed in for uploadProgress is an NSInteger (guaranteed to be positive), and [NSData length], which is an NSUInteger, for downloadProgress.
2012-08-23 13:15:47 -05:00
Steven Fisher
dd0e659e09
Spelling corrections.
2012-08-23 10:08:12 -07:00
Mattt Thompson
384df960ac
Converting int to NSUInteger for instances of manually checking status code in AFHTTPRequestOperation
2012-08-22 11:46:03 -07:00
Mattt Thompson
19a491b45b
Adding additional details in NSCopying / NSCopying documentation about stream properties
2012-08-15 10:03:46 -07:00
Mattt Thompson
7132b96124
Adding documentation for NSCoding / NSCopying behavior
...
Minor fixes to -copyWithZone:
Minor refactoring of -encodeWithCoder:
2012-08-15 09:59:00 -07:00
Mattt Thompson
9ed38fd30a
Initial implementation of NSCoding and NSCopying support
2012-08-15 08:16:42 -07:00
Mattt Thompson
b494bfe3fb
Adding NSURLConnection delegate method declarations in the AFURLConnection header to allow subclasses to call out to super implementation. Will be removed in 1.0, since iOS 5 / Mac OS 10.7 defined these as a formal protocol.
2012-08-04 15:48:01 -04:00
Mattt Thompson
c9680e1246
[Issue #411 ] Dispatching upload/download progress blocks to the main queue
2012-08-04 15:34:09 -04:00
Mattt Thompson
b9641edc81
Updating documentation for -pause
...
Returning early for -pause if operation is already cancelled
2012-07-23 16:22:48 -07:00
Mattt Thompson
16dc57c1fa
[Issue #388 ] Make AFURLConnectionOperation conform to NSURLConnectionDelegate and NSURLConnectionDataDelegate
2012-06-26 22:15:09 -07:00
Mattt Thompson
f1b3101a63
First pass at converting to ARC
2012-06-26 09:14:52 -07:00
Mattt Thompson
aa5c3783ea
Minor refactoring, code formatting, and documentation changes
2012-05-25 15:03:19 -07:00
Kevin Harwood
cd788cea8a
Added URL Redirect Block
2012-05-24 14:45:01 -05:00
Mattt Thompson
346799dc8b
Adding documentation for pause/resume
2012-04-24 21:28:06 -07:00
Mattt Thompson
7e16e13a3a
Merge branch 'experimental-1.0RC1' into experimental-pause-resume
...
Conflicts:
AFNetworking/AFURLConnectionOperation.h
AFNetworking/AFURLConnectionOperation.m
2012-04-24 20:42:59 -07:00
Mattt Thompson
7697140bf9
Merge branch 'master' into experimental-1.0RC1
...
Conflicts:
AFNetworking/AFHTTPRequestOperation.h
AFNetworking/AFHTTPRequestOperation.m
2012-04-24 20:36:43 -07:00
Mattt Thompson
da1acf5a56
Merge branch 'master' into experimental-pause-resume
...
Conflicts:
AFNetworking/AFHTTPRequestOperation.h
AFNetworking/AFURLConnectionOperation.h
2012-04-08 15:28:58 -07:00
Mattt Thompson
407374746c
Removing unnecessary ivar declaration in headers
2012-04-08 15:25:20 -07:00
Mattt Thompson
2a1d81a792
Cleaning up experimental bits
...
Re-creating AFDownloadRequestOperation, now with an API closer to NSURLDownload
2012-03-27 12:05:00 -07:00
Mattt Thompson
ca697ce300
Settling on a relatively stable implementation of pause/resume
2012-03-27 11:01:20 -07:00
Mattt Thompson
331d7bcbf2
Moving resumeable streaming download functionality to AFHTTPRequestOperation
2012-03-25 12:23:40 -07:00
Mattt Thompson
7bd7ee609b
Replacing NSMutableData accumulator with NSOutputStream
2012-03-25 11:47:51 -07:00
Mattt Thompson
f2ae5c40ba
Stashing re-implementation of resumeable streaming downloads into AFURLConnectionOperation
2012-03-25 11:14:17 -07:00
Peter Steinberger
2b2558a90e
fixes an integer overflow for files > 2GB
2012-03-25 01:50:02 -07:00
Peter Steinberger
b8007fed90
Explicitly declare that we implement NSURLConnectionDataDelegate here.
2012-03-25 00:53:16 -07:00
Mattt Thompson
2ec0c3ec2f
Adding AFURLConnectionOperation -setShouldExecuteAsBackgroundTaskWithExpirationHandler:
2012-03-20 11:31:18 -07:00
James Gill
91d854a8a6
Fixing upload/download typo.
2012-03-15 17:20:56 -07:00
Mattt Thompson
34b7d01af8
Updating documentation for AFURLConnectionOperation about implemented NSURLConnectionDelegate methods
2012-03-13 09:04:59 -07:00
Mattt Thompson
ce2063f06d
[Issue #236 ] Adding AFURLConnectionOperation -setCacheResponseBlock:, which allows the behavior of the NSURLConnectionDelegate method -connection:willCacheResponse: to be overridden without subclassing
2012-03-09 13:50:46 -08:00
Mattt Thompson
467de06532
[Issue #237 ] Adding warning about crashing behavior in iOS 4 loading a file:// URL
2012-03-09 12:56:10 -08:00
Mattt Thompson
17f55849d9
[Issue 204] Adding authenticationAgainstProtectionSpace block, to intercept connection:canAuthenticateAgainstProtectionSpace: (Thanks Kevin Harwood & Peter Steinberger)
...
Adding #ifdef _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_ macros for NSURLConnection authentication delegate methods
2012-02-14 08:38:49 -08:00
Mattt Thompson
df21de7e63
Merge branch 'experimental-thread-safe' into experimental-0.9
...
Conflicts:
AFNetworking/AFURLConnectionOperation.m
2012-01-19 16:55:00 -08:00
Mattt Thompson
680fcd5071
First iteration of thread-safety on AFURLConnectionOperation, using a combination of NSRecursiveLock and common sense
2011-12-08 12:23:58 -06:00
Mattt Thompson
8869bb9ad3
Adding authentication challenge callback block to override default NSURLConnection delegate method implementation
2011-12-04 03:45:02 -06:00
Mattt Thompson
58693e8d8c
Updating and revising documentation
2011-11-11 11:28:05 -06:00
Mattt Thompson
4a93904566
Set text encoding for -responseString to UTF-8 by default, in case an encoding is not set in the response
2011-10-13 12:57:39 -05:00
Mattt Thompson
c492d488d8
Further documentation revisions
2011-10-12 10:42:53 -05:00
Mattt Thompson
a84be8b922
Mass edits and fixes to documentation
2011-10-11 16:48:10 -05:00
Mattt Thompson
840eca217c
Documentation for AFURLConnectionOperation
2011-10-11 15:27:36 -05:00
Mattt Thompson
c2e5ca2726
Renaming _responseBody ivar to _responseData
2011-10-05 12:47:51 -05:00
Mattt Thompson
ccdc5f2d9b
Approaching a reasonable design for restructuring AFHTTPRequestOperation and subclasses
2011-10-05 12:36:45 -05:00
Mattt Thompson
561df45eb7
Initial working implementation of new candidate class structure
2011-10-04 00:13:12 -05:00