Commit graph

468 commits

Author SHA1 Message Date
Mattt Thompson
adcd7630aa Merge pull request #145 from myell0w/patch-1
Fixed SBJSON decoding function
2011-12-09 13:15:11 -08:00
Matthias Tretter
09eece4df5 Really fixed SBJSON decoding function ;) 2011-12-09 15:46:55 +01:00
Mattt Thompson
48c6d5c19f Merge pull request #144 from Reprazent/patch-1
Fix podspec
2011-12-08 13:06:17 -08:00
Mattt Thompson
68c572ae32 Refactoring -cancel and -isCancelled 2011-12-08 13:21:23 -06:00
Mattt Thompson
1c606919fc UIImageView shouldn't set image to placeholder image whenever an old image request comes in 2011-12-08 12:43:39 -06:00
Mattt Thompson
a466c27886 Adding @try/@catch with autorelease pool for exceptions
Wrapping -start in lock
2011-12-08 12:42:59 -06: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
Bob Van Landuyt
3352d869a4 Fix podspec 2011-12-08 18:35:49 +01:00
Mattt Thompson
813df5f8a7 Merge pull request #140 from houseoflegend/master
Updated "File Upload with Progress Callback" code snippet in README.md.
2011-12-06 19:24:06 -08:00
Larry Legend
fee500c445 Updated "File Upload with Progress Callback" code snippet in README.md.
- Resolved a mismatch between variable names imageData and data.
- Updated to the current appendPartWithFileData:name:fileName:mimeType: method signature.
- Updated to the current upload progress block signature ^(NSInteger bytesWritten, NSInteger totalBytesWritten, NSInteger totalBytesExpectedToWrite) {...}
- Added two lines that create an ad-hoc AFHTTPClient instance, instead of referencing a hypothetical [AFHTTPClient sharedClient] singleton, which new users might be confused by when they're trying to get the example working.
2011-12-04 13:41:10 -05: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
e18c305034 Default implementation for connection:didReceiveAuthenticationChallenge: delegate method 2011-12-04 03:35:21 -06:00
Mattt Thompson
922c617945 Merge pull request #134 from raycmorgan/master
Fix issue with multipart boundaries.
2011-11-30 16:36:58 -08:00
Mattt Thompson
739eef83cc Merge pull request #135 from cameronboehmer/master
UIImageView+AFNetworking success callback runs after setting the image
2011-11-30 16:32:41 -08:00
Cameron Boehmer
6415cade69 in UIImageView+AFNetworking, calling net request success callback after setting UIImageView.image (symmetrical with cached image retrieval/callback) 2011-11-29 17:26:33 -08:00
RayMorgan
1561f0392b Fix issue with multipart form boundaries.
The first boundary should not have a preceeding newline. This causes
some multipart parsers to miss the inital boundary.

An example of a parser facing this issue is node-formidable by felixge.
2011-11-29 14:16:48 -08:00
Mattt Thompson
e37c641656 [Issue #124] Calling super implementation in -isReady, following the guidelines for NSOperation subclasses 2011-11-22 21:22:13 -06:00
Mattt Thompson
a912382431 Changing connection property from retain to assign, to avoid retain cycle caused by NSURLConnection retaining its delegate 2011-11-22 20:57:39 -06:00
Mattt Thompson
b5849ccd66 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2011-11-22 10:40:11 -06:00
Mattt Thompson
db67a8e996 Adding note about Wiki articles
Adding credit to Alan Defibaugh for the AFNetworking logo

Minor edits
2011-11-22 10:40:04 -06:00
Mattt Thompson
627434288a Adding trailing newline to LICENSE 2011-11-22 10:14:56 -06:00
Mattt Thompson
63dac7c278 Merge pull request #123 from iwat/experimental-fix-upcast
[Issue #122] Fix unnecessary up-cast of NSHTTPURLResponse
2011-11-22 08:11:28 -08:00
chaiwats
d1d94e6e77 fix unnecessary up-cast as discussed in #122 2011-11-22 16:50:21 +07:00
Mattt Thompson
c1bc698682 Merge pull request #121 from aaronbrethorst/master
Raise an exception if JSON generation capability doesn't exist
2011-11-21 15:07:39 -08:00
Aaron Brethorst
ac811fc5ec Raise an exception when JSON generation functionality doesn't exist. 2011-11-21 11:57:04 -08:00
Mattt Thompson
1f750a36fe Removing useless check for cache policy before cacheing images in success callback 2011-11-21 12:44:32 -06:00
Mattt Thompson
97191228e0 Fixing default cache policy for URL requests objects in UIImageView category 2011-11-21 12:42:08 -06:00
Mattt Thompson
0e93cf0840 [Issue #110] Fixing orientation issues by using UIImage imageOrientation value rather than assuming UIImageOrientationUp 2011-11-21 11:19:25 -06:00
Mattt Thompson
c466a24ae2 Fixing UIImageView category to work with AFImageRequestOperation refactoring 2011-11-21 10:40:09 -06:00
Mattt Thompson
fd2f678ac1 Fixing Mac example to work without AFImageCache coupling 2011-11-21 10:23:50 -06:00
Mattt Thompson
5b5b32c5b8 Refactoring AFImageRequestOperation to use setCompletionBlockWithSuccess:failure 2011-11-21 10:23:36 -06:00
Mattt Thompson
f28cf63a96 [Issue #116] Fixing SBJSon decoding function 2011-11-21 09:48:42 -06:00
Mattt Thompson
15057a86e1 Merge pull request #119 from InScopeApps/master
Fixed the spelling of 'automatically', sorry about that
2011-11-20 15:52:48 -08:00
David Keegan
8f68c49f08 Fixed the spelling of 'automatically' 2011-11-18 18:39:55 -08:00
Mattt Thompson
a569050972 Merge pull request #118 from InScopeApps/master
Adding a note about third party JSON libraries to the readme
2011-11-18 15:20:37 -08:00
David Keegan
eab584ea98 Adding an NSImage example 2011-11-18 14:40:48 -08:00
David Keegan
5e6a42e930 Adding a note about third party JSON libraries to the requirements section. 2011-11-18 14:23:00 -08:00
Mattt Thompson
60cef780c1 Merge pull request #115 from InScopeApps/master
Adding code to set the responseImage to the correct size.
2011-11-18 11:10:16 -08:00
David Keegan
bfb6b35a3e Update the NSImage code to just use an NSBitmapImageRep for determining the correct pixel width and height
Thanks to @indragiek for the tip.
2011-11-18 09:59:29 -08:00
David Keegan
fbf9186d10 Adding code to set the responceImage to the correct size. 2011-11-17 23:07:40 -08:00
Dan Thorpe
e108095ed0 Merge branch 'master' of github.com:BraveNewTalent/AFNetworking
Conflicts:
	README.md
2011-11-17 15:12:43 +00:00
Dan Thorpe
0da3ec89d2 Modifies the query paramter function to correctly handle argument arrays. Now it adds the key[]=value1&key[]=value2 instead of key=(value1,value2) which isn't compatible with most HTTP servers. 2011-11-17 15:09:21 +00:00
Mattt Thompson
71933c5f26 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2011-11-14 14:24:32 -06:00
Mattt Thompson
ba29765ca9 Fixing formatting for URL construction example code in AFHTTPClient 2011-11-14 14:24:21 -06:00
Mattt Thompson
6b48178105 Merge pull request #113 from iwat/experimental-fix-jsonencode
Fix AFJSONEncode to work properly
2011-11-14 11:33:53 -08:00
chaiwats
10165ccc6f fix AFJSONEncode to work properly 2011-11-14 18:18:01 +07:00
Mattt Thompson
d159be3757 Adding missing authorization header in example 2011-11-12 18:19:00 -06:00
Mattt Thompson
5a3a9b2f41 Updating README to document removal of JSONKit dependency and fixing AFHTTPClient example 2011-11-11 13:22:50 -06:00
Mattt Thompson
3bc5351c63 Fixing Podspec (Thanks, Eloy Durán) 2011-11-11 13:09:38 -06:00
Mattt Thompson
504146d6b5 Updating Podspec to new repository URL 2011-11-11 11:50:32 -06:00