Commit Graph

161 Commits

Author SHA1 Message Date
Kevin Harwood
748a410ba7 Fixed bug with webview delegate callback 2016-10-06 10:13:24 -05:00
Kevin Harwood
f51f0b8533 Merge pull request #3565 from chenxin0123/cx
Moved `[self didChangeValueForKey:@"currentState"]` into correct scope
2016-08-03 08:12:55 -05:00
Mathieu Meylan
7dc973b89c Fixed an issue where registering a UIProgessView to a task that was already completed would crash with the following error:
CRASH: Fatal exception: An instance ***** of class ******* was deallocated while key value observers were still registered with it.
2016-07-05 17:01:53 +02:00
CX
023f3505c8 move [self didChangeValueForKey:@"currentState"]; into if scope 2016-06-11 20:04:48 +08:00
Diego Chohfi
c0131a92a1 Deprecating method dataTaskWithRequest:completionHandler: from AFURLSessionManager 2016-05-03 11:53:11 -03:00
Cédric Luthi
885e0a4b4e Enable more warnings 2016-04-09 01:06:05 +02:00
Cédric Luthi
c52ff8510f Remove unnecessary #pragma clang diagnostic ignored 2016-04-09 00:41:38 +02:00
Cédric Luthi
16c09fae46 Remove all #pragma clang diagnostic ignored "-Wgnu" 2016-04-08 23:46:10 +02:00
Kevin Harwood
32cf30a245 Merge pull request #3385 from AFNetworking/bug/fix_image_downloader_crash_with_bad_url
Fixed crash if bad URL was passed into the image downloader
2016-03-14 13:10:59 -05:00
Kevin Harwood
aba212c842 Merge pull request #3332 from duanhong169/master
Fixed issue where UIButton image downloading called wrong cancel method
2016-03-14 09:06:40 -05:00
Kevin Harwood
ac6ba4580e Refactored to dispatch an error if a bad URL is passed in. 2016-03-14 09:02:48 -05:00
Christian Wen
fa2c806a39 Prevent crash when "AFImageDownloader identifier" is nil (which is cause by passing an NSURLRequest which doesn't return an absoluteString). #3343. Added a test for this behavior. 2016-03-14 08:50:28 -05:00
Kevin Harwood
326ccb170d Merge pull request #3384 from Draveness/patch-2
Added white space to URLs in code comment to allow Xcode to properly parse them
2016-03-14 08:48:06 -05:00
Draveness
c27b46c87d Add leading whitespace to urls 2016-03-14 10:17:27 +08:00
Draveness
d0b1db20d8 Add whitespace between url and ')' to prevent Xcode misunderstanding 2016-03-14 10:12:20 +08:00
Hakon Hanesand
5623891554 update documentation to match method names 2016-03-03 18:40:58 -06:00
周明宇
fac9d87340 Fixed image memory calculation 2016-02-17 10:44:52 +08:00
duanhong
49e77f198b typo and incomplete doc 2016-02-16 10:05:33 +08:00
duanhong
e457fc980d fix: wrong methods called. 2016-02-16 10:05:33 +08:00
Kevin Harwood
ed39be2a09 Improved the Unit Test
Fixed issue where test could still fail if cancelled in a certain order
2016-02-08 10:56:28 -06:00
Kevin Harwood
bfc67c9d6c Fixed image downloading cancellation race condition
Addresses #3324
2016-02-08 10:56:28 -06:00
Kevin Harwood
056a1b69d6 Merge pull request #3290 from AFNetworking/docs/copyright_bump
Bumping copyright to 2016
2016-01-14 16:23:50 -06:00
Kevin Harwood
412d903e62 Fixed crash when passing nil/null for progress in UIWebView extension 2016-01-14 08:31:45 -06:00
Kevin Harwood
5d73b00640 Bumping copyright to 2016 2016-01-05 09:22:42 -06:00
eofs
4ead780eee Button image changed instead of background image 2015-12-14 15:11:57 +02:00
Kevin Harwood
43d4847e39 Fixed race condition with image downloader when starting/cancelling/starting the same request
Alternate Solution

See https://github.com/Alamofire/AlamofireImage/issues/55 for details
2015-12-11 10:36:54 -06:00
Chris Utz
c920f3ce81 add newlines to end of .h files. 2015-12-06 11:37:27 -06:00
Kevin Harwood
2adeda5d44 Added a deprecated flag to older methods in the API 2015-12-04 11:18:22 -06:00
Kevin Harwood
210c260422 New Progress Reporting API
These changes expose a simpler, block based progress reporting API, while maintaining the ability for more advanced features using KVO on NSProgress.
2015-12-04 11:18:22 -06:00
Cédric Luthi
19097d695d Remove OS_OBJECT_HAVE_OBJC_SUPPORT conditional compilation
`OS_OBJECT_HAVE_OBJC_SUPPORT` is defined to 1 for iOS deployment target >= 6.0 and OS X deployment target >= 10.8.
2015-11-25 00:33:53 +01:00
Rick Silva
cfed41d1cf Fix AFImageDownloader stalling after number of failures reaches maximumActiveDownloads.
The active task count was only being decremented after success. Once
the number of failures reaches the maximumActiveDownloads, no more
tasks were being started.
2015-11-12 11:42:44 -05:00
Kevin Harwood
848a1905f5 Fixed crash that occurred if you passed a nil URL to the image view
Fix for #3145
2015-11-10 08:24:49 -06:00
Kevin Harwood
8c57f945ed Fixed warnings generated in UIWebView category
commit resolves #3114
2015-11-05 18:16:08 -06:00
Kevin Harwood
be56e159ff - Added synchronized block for accessing activity count
- Refactored test class to begin using common timeout across all classes
2015-10-26 08:58:27 -05:00
Kevin Harwood
1a42db67b9 A refactored version of #3086 allowing a delayed start to the network activity indicator 2015-10-23 08:43:16 -05:00
Kyle Fuller
778a1aa9c7 Use instancetype where applicable 2015-10-15 11:01:37 -07:00
Kevin Harwood
20bcb6322a Fix for #3037 2015-10-12 09:37:18 -05:00
Kevin Harwood
62ba94204c Removed UIAlertView category due to deprecation 2015-10-09 11:33:16 -05:00
Greg Fiumara
fb55caf396 clang only recognizes 'typeof' in GNU dialects. 2015-10-04 13:15:12 -04:00
Greg Fiumara
0831289989 Remove unnecessary semicolon. 2015-10-04 13:03:08 -04:00
Kevin Harwood
280c3750b0 Switched response queue to be a serial queue
Fixed the tvOS image size in the example
2015-10-02 14:09:48 -05:00
Kevin Harwood
44859ba006 Fixed warning 2015-10-02 14:09:48 -05:00
Kevin Harwood
1245bde7b1 -Added additional tests for Image Downloader
-Fixed minor bugs
2015-10-02 14:09:48 -05:00
Kevin Harwood
641f342fad Adjusted dispatch_async logic 2015-10-02 14:09:48 -05:00
Kevin Harwood
c54bf45980 Critical bug fixes for AFImageDownloader (tests coming soon) 2015-10-02 14:09:48 -05:00
Kevin Harwood
8000151931 - Added tests for Image Cache
- Fixed minor bugs with Image Cache
2015-10-02 14:09:48 -05:00
Kevin Harwood
f4179e28a4 Migrating to _Nullable 2015-10-02 14:09:47 -05:00
Kevin Harwood
3697462102 Added documentation 2015-10-02 14:09:47 -05:00
Kevin Harwood
01f6aed22a - Removed support for NSURLConnection based API's
- Simplified example project to include all targets
- Added support for tvOS
2015-10-02 14:09:47 -05:00
Kevin Harwood
1bfb8495a4 - Marked Response as nullable in UIKit categories.
- Changed UIButton category to behave like the UIKit category
- Improved UIButton category documentation
2015-10-01 08:47:17 -05:00