* 'master' of https://github.com/rs/SDWebImage:
Add a delegate method to control the custom logic when blocking the failed url
Clarify the block comment in SDWebImageManager
Enable CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
# Conflicts:
# SDWebImage/SDImageCache.m
This enables the CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning on all
targets. #2225 fixed a number of these, but a new one crept back in so
this fixes that issue as well.
* 'master' of https://github.com/rs/SDWebImage:
Bumped version to 4.3.1
update CHANGELOG
Create a subclass of NSCache using a weak cache. Only remove the cache when memory warning and sync back the alive instance from weak cache into cache.
# Conflicts:
# SDWebImage/SDImageCache.m
* 'master' of https://github.com/rs/SDWebImage:
Fix CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning
Disable travis-ci email notification
Fix prefetcher test to first clear the disk cache, and manager test to only fulfill the finished one
Improve the travis-ci to not clean the build for dynamic framework to speed up the demo build
Create a subclass of NSBitmapImageRep to fix the GIF frame duration issue on macOS
Use lock instead of barrier queue to keep callbacks block thread-safe
Decode the image in the operation level's queue instead of URLSession delegate queue. Because URLSession delegate queue is a barrier queue and shared between different operations
Expose the read write to FLAnimatedImage associate to the UIImage to allow advanced feature like placeholder
Fix that SDImageCacheQueryDataWhenInMemory should response cacheType to memory cache when the in-memory cache hit (#2218)
Update the docs
Improvement download operation for priority and some protect (#2208)
Update the readme about macOS minimum deployment target version
Fix the macOS wrong minimum deployment target version to 10.9. And also fix the warning on Xcode 9 by enable more warning options
# Conflicts:
# SDWebImage.podspec
# SDWebImage.xcodeproj/project.pbxproj
# SDWebImage/SDImageCache.m
# SDWebImage/SDWebImageDownloaderOperation.m
# SDWebImage/SDWebImageFrame.h
* 'master' of https://github.com/rs/SDWebImage:
Revert that SDImageCacheQueryMemoryOnly because it's misunderstanding. Use `imageFromMemoryCacheForKey` instead
* 'master' of https://github.com/rs/SDWebImage:
Update the comments and a little enhancement for FLAnimatedImageView Category
Use a dispatch semaphore to keep thread safe for downloader because it need the hold cancel and add procedure be thread-safe
Add the current image/alternateImage url for NSButton category. A little code refactoring
Update macOS demo to add a clear cache button using NSButton category
Fix that reset alternateImage cancel the image load operation for NSButton+WebCache
Add WebCache category for NSButton on macOS
A little enhancement to avoid block capture the heap object
Use a internal method to avoid thread-safe issue for file manager. Remove that checkIOQueue and add sync version exist API
Add the image transition argument for all UIView+WebCache, make this easy for user to do some fade transition. It also reuse the current setImageBlock and make it easy to customize
# Conflicts:
# SDWebImage.xcodeproj/project.pbxproj
# SDWebImage/SDImageCache.h
# SDWebImage/SDImageCache.m
# SDWebImage/UIView+WebCache.h
# SDWebImage/UIView+WebCache.m
# WebImage/SDWebImage.h
* 'master' of https://github.com/rs/SDWebImage:
Fix the getSize method which use the default file manager instead of current file manager
Deprecate the sd_setImageWithPreviousCachedImageWithURL with the specify options to achieve this usage
Use the @synchronized to access NSURLCache to fix the potential thread-safe problem, also fix that we always use shared cache but not follow session's configuration
* 'master' of https://github.com/rs/SDWebImage:
Update the test and description to make it more clear
Fix the issue that `setAnimationImagesWithURLs` weak reference may dealloc before the animated images was set
Fix the strange file permissions issue
Add the SDImageCacheQueryMemoryOnly to specify query memory only
Update the cache options name to make it more clear
Added missing param in storeImage examples
Add a NSProgress property represent the image loading progress, this allow user add KVO on it for complicated logic
* 'master' of https://github.com/rs/SDWebImage:
Update the spec file to define the dependency version for libwebp
Bugfix for loopCount (#2155)
Fix that 0 pixels error should be used when width OR height is zero but not AND
Avoid user accidentally invalidates the session used in shared downloader
Remove the extra memory warning notification for AutoPurgeCache
* 'master' of https://github.com/rs/SDWebImage: (25 commits)
When store image with no data for SDImageCache, check whether it contains alpha to use PNG or JPEG format
Fix the way remove all elements from pointer array
Remove some unused code, fix typo, update the comments
Use a weak pointerArray to store the operations for sd_setAnimationImagesWithURLs, avoid extra retain of operation instance
Use a copy-weak maptable for operations stored in UIView(WebCacheOperation) category to avoid retain of operation, and also use lock to keep thread-safe
Fix progressive WebP decoding by creating data provider with actual data size
Add a SDWebImageExternalCustomManagerKey context arguments to allow user to custom image manager for UIView category to avoid build from scratch
Check the group instance before calling group leave
Remove the out-dated compatible code for non-ARC
Update the comments
Allow custom SDWebImageDownloaderOperation to handle HTTP redirect
Update the comments for that SDWebImageInternalSetImageGroupKey key
Fix potential thread-safe problem in SDWebImagePrefetcher by keeping all access through prefetcher queue and retain the local URLs firstly
Update the comments and remove the unnecessary main queue check
Follow Apple doc and remove that manual calculation of byte alignment to make it more universal for different architecture device
Change prefetchURLs from nonatomic to atomic to avoid multi-thread access crash
capture currentURL instead of using index to access to avoid race condition
Grab the poster image instead of image itself to avoid an UIAnimatedImage been set
Update the documents
Update tests to invalidate session after usage
...