Commit graph

855 commits

Author SHA1 Message Date
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
Mattt Thompson
0ec7995128 Merge pull request #327 from flambert/missing-block-parameter-name
Add missing block parameter name preventing auto-complete to work
2012-05-07 09:11:09 -07:00
Mattt Thompson
75cf1650fa Merge pull request #332 from mattchen/master
Minor fix for tornado upload support
2012-05-07 08:54:03 -07:00
mattchen
31ccb23f69 Minor fix for tornado upload support 2012-05-06 17:12:20 +08:00
Francois Lambert
8ce55df371 Add missing block parameter name preventing auto-complete to work
When function name is auto-completed and the imageProcessingBlock stub is created, it was missing the UIImage* parameter name.
2012-05-03 18:50:32 -04:00
Mattt Thompson
7a57210e6d [Issue #295] Fixing documentation for UIImageView+AFNetworking to use correct enum value for NSURLRequest cache policy 2012-05-03 07:47:00 -07:00
Mattt Thompson
8f7ad20117 Merge pull request #325 from tewha/patch-1
Update AFNetworking/AFHTTPRequestOperation.m
2012-05-03 07:40:12 -07:00
Mattt Thompson
c1760d30d0 Merge pull request #326 from tewha/patch-2
Update header comment to match file name
2012-05-03 07:39:35 -07:00
Steven Fisher
00a6d249e4 Update header comment to match file name 2012-05-02 11:08:01 -07:00
Steven Fisher
021fe2b463 Update AFNetworking/AFHTTPRequestOperation.m 2012-05-02 10:13:03 -07:00
Mattt Thompson
2f79428e34 [Issue #323] Close existing outputStream in setOutputStream: 2012-05-01 08:04:29 -07:00
Mattt Thompson
3ee1fefeac Minor formatting 2012-04-30 10:49:00 -07:00
Zachary Waldowski
25620fe839 Restore iOS 4.0 compatibility.
Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
2012-04-28 18:00:28 -04:00
Mattt Thompson
904d6ba50d Merge pull request #321 from tomwans/master
Fix an issue where _skippedCharacterSet would get dealloc'd early
2012-04-28 12:41:48 -07:00
Mattt Thompson
7ad92ea9ea Adding note about iOS < 4.3 deprecation 2012-04-27 16:55:34 -07:00
Tom Wanielista
02c849bdc8 Fix an issue where the skipped character set points to bad memory. 2012-04-27 11:45:47 -07:00
Mattt Thompson
c77a001e73 [Issue #320] Documenting iOS 4.3 minimum requirement for new metaprogramming functions 2012-04-27 07:36:46 -07:00
Mattt Thompson
3413dedb59 Fixing JSON request example in introduction
Fixing link to Gowalla for iPhone

Adding link to Stack Overflow

Adding NextiveJson to list of supported JSON libraries
2012-04-25 10:06:02 -07:00
Mattt Thompson
8602c9f6a1 Updating CHANGES up to 1.0RC1 2012-04-25 09:56:28 -07:00
Mattt Thompson
18f5095d2e Updating CHANGES up to 0.9.2 2012-04-25 09:48:25 -07:00
Mattt Thompson
f457dcdcb9 Updating CHANGES up to 0.9.1 2012-04-25 09:35:40 -07:00
Mattt Thompson
17ee2b4cf0 Merge pull request #316 from dismory/dev
Fix the duplicated `AFJSONDecode()` calling that cause message sending t...
2012-04-25 09:00:50 -07:00
dismory
b76b28f4b3 Fix the duplicated AFJSONDecode() calling that cause message sending to deallocated NSError object 2012-04-25 16:02:29 +08:00
Mattt Thompson
ce23a0757b [Issue #274] Fixing crash when creating network reachability when baseURL is nil 2012-04-24 22:22:32 -07:00
Mattt Thompson
51bd23de8c Updating podspec to 1.0RC1 2012-04-24 22:01:47 -07:00
Mattt Thompson
948628e11d Merge branch 'experimental-1.0RC1' 2012-04-24 22:00:46 -07:00
Mattt Thompson
04d976d12f Updating podspec to 0.9.2 2012-04-24 21:59:59 -07:00
Mattt Thompson
346799dc8b Adding documentation for pause/resume 2012-04-24 21:28:06 -07:00
Mattt Thompson
4c8634dfce Removing AFDownloadRequestOperation 2012-04-24 20:43:46 -07:00