Commit graph

683 commits

Author SHA1 Message Date
Max Lansing
d434de241f moved mobilecoreservices framework in xcode proj 2012-06-30 16:42:45 -07:00
Max Lansing
ced167f867 reimplemented multipart form data to use a body streaming object that aggregates file streams and in-memory data objects to compose the request body just in time. also trimmed the multipart form body public API and added CoreMobileServices framework to enable lookup of MIME type by file extension. 2012-06-30 16:32:11 -07:00
Max Lansing
5e90a17c76 merge before the storm 2012-06-30 16:21:24 -07:00
Mattt Thompson
7fda89e4a2 [Issue #379] Fixing AFHTTPRequestOperation +canProcessRequest: 2012-06-28 15:51:55 -07:00
Mattt Thompson
b4406a3d03 Adding 0.10.0 podspec 2012-06-26 08:26:01 -07:00
Mattt Thompson
58b9eb51b7 Updating Changes to 0.10.0 2012-06-26 08:25:11 -07:00
Mattt Thompson
4984262534 Updating README 2012-06-22 15:12:07 -07:00
Mattt Thompson
af406e4103 Merge pull request #381 from ltbl/master
AFHTTPClient adds an unnecessary data when constructing a multipart request with nil parameters
2012-06-21 11:21:16 -07:00
Taeho Kim
61047bac76 Avoid AFHTTPClient adding an unnecessary parameter when constructing a multipart request with nil parameters. 2012-06-21 22:13:04 +09:00
Mattt Thompson
c4f07c4b07 Minor code reformatting 2012-06-19 15:47:28 -07:00
Mattt Thompson
06d09903be Adding workspaces for individual projects 2012-06-19 15:30:41 -07:00
Mattt Thompson
b648e33481 Reload table view on image load 2012-06-19 14:40:11 -07:00
Mattt Thompson
ec2cee42d2 Adding profileImage property to bind image views to dynamically-loaded content 2012-06-19 14:30:49 -07:00
Mattt Thompson
a3f39712c7 Removing unused window controller 2012-06-19 13:07:16 -07:00
Mattt Thompson
9d399e9ffa Fixed window closing 2012-06-19 13:06:51 -07:00
Mattt Thompson
eaa9059cd2 Stashing working implementation 2012-06-19 12:50:26 -07:00
Mattt Thompson
d1e993f1fd Merge pull request #376 from AFNetworking/experimental-default-http-pipelining
Automatically use HTTP pipelining for GET and HEAD requests in AFHTTPClient
2012-06-19 11:08:45 -07:00
Mattt Thompson
4afd15bfa0 Improving documentation for UIImageView+AFNetworking 2012-06-16 13:23:50 -07:00
Mattt Thompson
a0f592c23a [Issue #375] Restore support for non-GCC compilers in AFNetworkActivityIndicatorManager 2012-06-14 08:50:49 -07:00
Mattt Thompson
286b8100c5 [Issue #368] Checking for non-zero data length before attempting to append to write to output stream in multipart form data builder 2012-06-13 14:54:31 -07:00
Mattt Thompson
af99154694 Automatically use HTTP pipelining for GET and HEAD requests in AFHTTPClient 2012-06-13 14:44:46 -07:00
Max Lansing
7399eaa7cc close input buffer when creating multpart form from streaming nsurl 2012-06-12 23:13:55 -07:00
Max Lansing
d92462ef8c fixed zero-length appendData bug and added appendPartWithStreamingURL method 2012-06-12 22:46:39 -07:00
Mattt Thompson
d7852c19e1 Reformatting method signatures in multipart form builder implementation 2012-06-12 08:20:08 -07:00
Mattt Thompson
6b9187b6c2 Close the stream and return the original request if no data has been written for multipart request form data 2012-06-12 08:01:50 -07:00
Mattt Thompson
8432cb7dfd Adding additional note about not ever really having to manually increment or decrement the activity count on AFNetworkActivityIndicatorManager 2012-06-11 07:57:33 -07:00
Mattt Thompson
5c26d435bf Removing @private variable declaration 2012-06-11 07:31:40 -07:00
Mattt Thompson
512a513ace [Issue 370] Remove unnecessary dispatch_retain for dispatchGroup in enqueueBatchOfHTTPRequestOperations... 2012-06-11 07:26:25 -07:00
Mattt Thompson
2071196450 Merge pull request #368 from AFNetworking/experimental-multipart-streaming
Multipart Upload Streaming
2012-06-11 07:19:00 -07:00
Mattt Thompson
9b515d4ebe Code reformatting and adding conditional callback queue dispatch to UIImage callback 2012-06-09 09:52:28 -04:00
Sergey Gavrilyuk
91d4614028 in case there is an image processing block, success block should be called on the same queue as without one. 2012-06-08 15:44:42 -04:00
Mattt Thompson
959ce14e46 Upgrading Xcode project file 2012-06-05 08:57:16 -07:00
Mattt Thompson
90db2543d7 Initial implementation of streaming multipart uploads by writing form body to temporary file 2012-06-05 08:56:27 -07:00
Mattt Thompson
7620d3e373 Adding missing space. 2012-06-04 16:33:39 -07:00
Mattt Thompson
dd0abd2e12 [Issue #366] Adding note about 64-bit architecture requirement for AFNetworking 2012-06-04 16:33:06 -07:00
Mattt Thompson
ca4d700a81 Merge pull request #359 from pal/master
README: Set `-fno-objc-arc` for all files at once
2012-06-01 09:38:37 -07:00
Pål Brattberg
88277451d4 Updated README to explain how to set the -fno-objc-arc for all files at once, saving a bunch of clicking for users. 2012-06-01 11:17:10 +03:00
Mattt Thompson
aa5c3783ea Minor refactoring, code formatting, and documentation changes 2012-05-25 15:03:19 -07:00
Mattt Thompson
d17b2998d7 Merge branch 'url-redirect-block' of https://github.com/kcharwood/AFNetworking into kcharwood-url-redirect-block 2012-05-25 14:43:14 -07:00
Mattt Thompson
71610bbd3c Merge pull request #345 from tewha/patch-1
#import UIKit in AFURLConnectionOperation
2012-05-25 14:24:27 -07:00
Mattt Thompson
a12bef0303 Removing missing file references in Mac Example App 2012-05-25 14:15:26 -07:00
Mattt Thompson
f02c501e93 [Issue #347] Removing deprecated cacheName parameter in AFImageRequestOperation 2012-05-25 14:15:12 -07:00
Steven Fisher
985d8cfd51 AFURLConnectionOperation.m should #import UIKit, instead of relying on the prefix including it. 2012-05-24 16:24:53 -07:00
Kevin Harwood
cd788cea8a Added URL Redirect Block 2012-05-24 14:45:01 -05:00
Mattt Thompson
09a8b1dbcf Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-05-24 09:43:17 -07:00
Mattt Thompson
170b3f0656 [Issue #342] Removing URL encoding normalization 2012-05-24 09:35:31 -07:00
Mattt Thompson
8657907f1a Merge pull request #336 from shanev/doc_fix
fixed AFHTTPClient documentation
2012-05-22 07:49:46 -07:00
Jon Parise
002cbe74af Avoid appending empty form data parts.
AFQueryStringComponentsFromKeyAndValue() always returns at least one
component (even if its `value` parameter is `nil`).  If a component
doesn't have any form data, there's no need for us to append an empty,
nameless part to the multipart body.

Additional improvements to consider (which are not mutually exclusive
with this change):

 - Don't run this loop at all when `parameters` is `nil`.
 - Change AFQueryStringComponentsFromKeyAndValue() to return an empty
   iterable when its `value` paramter is `nil`.
2012-05-14 17:07:07 -07:00
Jon Parise
ebdac4a01d Remove unused kAFMultipartFormLineDelimiter.
This constant appears to have been superseded by the introduction of
kAFMultipartFormCRLF later in this source file.  The latter is used
consistently in the multipart-building code, so this first one can go.
2012-05-14 16:53:44 -07:00
Shane Vitarana
c7a19a6e63 fixed AFHTTPClient documentation 2012-05-14 14:46:45 -07:00