Commit Graph

1893 Commits

Author SHA1 Message Date
Bogdan Poplauschi 2299d9ab6a Another update per @dreampiggy 2018-07-16 10:13:19 +03:00
Bogdan Poplauschi bc44c5e438 Reviewed version of the migration guide - with @dreampiggy + added the API-Diff generated by @dreampiggy using objc-diff 2018-07-12 20:54:03 +03:00
Bogdan Poplauschi 99b96e4be1 Updates 2018-07-12 12:46:52 +03:00
Bogdan Poplauschi 153af72369 Set version to 5.0.0-beta, Xcode 8 required, updated the CHANGELOG and added 5.0 Migration Guide 2018-07-11 13:28:13 +03:00
DreamPiggy 76215d7717
Merge pull request #2376 from zhongwuzw/fix-race-condition 2018-07-11 12:05:10 +08:00
DreamPiggy d7e5d6df49
Merge pull request #2381 from zhongwuzw/fix-download-token-crash
Fix crash when assign request property of SDWebImageDownloadToken
2018-07-09 22:44:12 +08:00
zhongwuzw 28eb1b4b5c Fix crash when assign request property of SDWebImageDownloadToken 2018-07-09 16:32:47 +08:00
DreamPiggy 8dc39b17fe
Merge pull request #2371 from zhongwuzw/remove-unnecessary-copy
Remove unnecessary copy
2018-07-08 22:15:55 +08:00
zhongwuzw ab86065f38 Fix image prefetcher completion logical handler 2018-07-08 14:26:38 +08:00
DreamPiggy 2b4687cccb
Merge pull request #2372 from dreampiggy/project_upgrade_xcode_9
Follow App Store submit rule, upgrade the min Xcode version to Xcode 9.0. Using `@available` and `API_AVAILABLE` to check API availability
2018-07-06 14:10:22 +08:00
DreamPiggy dd6e4a1d2e Follow App Store submit rule, upgrade the min Xcode version to Xcode 9.0
Using `@available` and `API_AVAILABLE` to check API availability
2018-07-06 12:57:43 +08:00
DreamPiggy 3dad550180
Merge pull request #2370 from zhongwuzw/fix_nullable
Fix HTTP Header key field nullable
2018-07-06 00:00:47 +08:00
zhongwuzw bb55b6eb72 Fix typo 2018-07-05 22:24:25 +08:00
zhongwuzw a2d65b61e1 Fix race condition of SDWebImagePrefetcher's completion handler 2018-07-05 22:03:35 +08:00
DreamPiggy 35e31c9fc5
Merge pull request #2373 from zhongwuzw/fix-loder-manager
Fix SDImageLoaderManager that only load image when loader can handle url
2018-07-04 16:46:23 +08:00
zhongwuzw 6d295c2a83 Fix typo 2018-07-04 15:49:39 +08:00
zhongwuzw 572a074161 Fix SDImageLoaderManager that only load image when loader can handle url 2018-07-04 15:19:12 +08:00
zhongwuzw c294bebec1 update available macro 2018-07-04 14:57:20 +08:00
zhongwuzw d84e656d05 Remove unnecessary copy 2018-07-04 12:22:33 +08:00
zhongwuzw 6674b9f711 Fix HTTP Header key field nullable 2018-07-03 21:18:02 +08:00
DreamPiggy 5fc84dbbba
Merge pull request #2364 from dreampiggy/renaming_uiimage_webcache
Renaming UIImage+WebCache to the correct naming UIImage+Metadata, make clear of the category usage
2018-06-27 23:56:05 +08:00
DreamPiggy a82a4e15b2 Renaming UIImage+WebCache to the correct naming UIImage+Metadata, make clear of the category usage 2018-06-25 13:52:46 +08:00
DreamPiggy 9452012ea2
Merge pull request #2363 from dreampiggy/fix_macOS_transform_alphainfo
Fix that UIImage+Transform on macOS to use BGRA8888 instead of ARGB8888, as Apple's doc
2018-06-23 23:50:23 +08:00
DreamPiggy 4dbb15712b Fix that UIImage+Transform on macOS to use BGRA8888 instead of ARGB8888, as Apple's doc 2018-06-23 23:06:48 +08:00
DreamPiggy 24861d2982
Merge pull request #2362 from dreampiggy/improvement_view_category_context_arg
Add one convenient method to pass context arg without completed block for all View Category
2018-06-23 18:57:43 +08:00
DreamPiggy e5716db4d0 Add one convenient method to pass context arg without completed block for all View Category 2018-06-23 15:04:12 +08:00
DreamPiggy ab75235b3b
Merge pull request #2360 from dreampiggy/feature_manager_store_cache_option
Add the `SDWebImageContextStoreCacheType` context option to specify target cache type when the image is downloaded by manager and will store to cache
2018-06-23 13:45:38 +08:00
DreamPiggy abf9031818
Merge pull request #2361 from dreampiggy/refactor_uiimage_multiformat
Refactor the UIImage+MultiFormat and GIF/WebP category
2018-06-23 13:34:56 +08:00
DreamPiggy e533a3da80 Refactor the UIImage+MultiFormat and GIF/WebP category. Simplify the usage and remove the extra method which is not used so common. 2018-06-16 20:05:54 +08:00
DreamPiggy fcc53f9e08
Merge pull request #2359 from dreampiggy/fix_transformer_cache_key
fix that SDImageCache does not use transformed key to query cache when provide a transformer
2018-06-16 00:09:32 +08:00
DreamPiggy a57e0f7e13 fix that SDImageCache does not use transformed key to query cache when provide a transformer 2018-06-15 23:20:45 +08:00
DreamPiggy e5bee68164 Add the `SDWebImageContextStoreCacheType` context option to specify detailed cache when the image is downloaded by manager and will store to cache.
This replace the previous `SDWebImageCacheMemoryOnly` option, which is not so accurate and lack of detail control for cache behavior.
2018-06-15 23:13:59 +08:00
DreamPiggy 997bf8ff35 Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/SDWebImageWebPCoder.m
2018-06-07 23:33:28 +08:00
DreamPiggy b05959dbcb Bumped version to 4.4.1
update CHANGELOG
2018-06-07 23:14:41 +08:00
DreamPiggy b502ab7c44
Merge pull request #2326 from dreampiggy/renaming_image_loader
Renaming image loader
2018-06-07 15:07:40 +08:00
DreamPiggy 577c0770ba
Merge pull request #2348 from dreampiggy/fix_webp_decoding_iOS_12
Fix that WebP (including Animated WebP) decoding issue on iOS 12.
2018-06-07 12:14:52 +08:00
DreamPiggy 0437759c80 Fix that WebP (including Animated WebP) decoding issue on iOS 12. Using the correct bitmapInfo to avoid `CGImageCreate` failed when the WebP image contains no alpha channel 2018-06-07 11:08:52 +08:00
DreamPiggy 1343a65321 Fix the test 2018-06-06 16:06:34 +08:00
DreamPiggy 4eb13bf2a1 Remove the header dependency of SDWebImageManager of SDWebImageDownloader. Use SDImageLoaderProgressBlock instead of SDWebImageDownloadProgressBlock 2018-06-06 14:41:44 +08:00
DreamPiggy f96c94ef7d Renaming all `SDWebImageLoader` -> `SDImageLoader` 2018-06-06 14:41:44 +08:00
DreamPiggy 7571f8962b Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	Examples/SDWebImage Watch Demo Extension/InterfaceController.m
#	SDWebImage/SDWebImageCompat.h
#	SDWebImage/SDWebImageDownloader.m
#	SDWebImage/SDWebImageManager.m
#	SDWebImage/UIView+WebCache.h
#	SDWebImage/UIView+WebCache.m
2018-06-06 14:38:38 +08:00
DreamPiggy e13f503125
Merge pull request #2346 from dreampiggy/fix_operation_race_condition
Fix that the downloader operation may not call the completion block in race condition
2018-06-06 14:25:59 +08:00
DreamPiggy 48acb8e423 Fix that the downloader operation may not call the completion block in race condition, which the operation we get is finished but not been removed from the operation array. 2018-06-04 20:20:28 +08:00
DreamPiggy 5062a7653e Bumped version to 4.4.0
update CHANGELOG
2018-05-31 17:39:02 +08:00
DreamPiggy c6bb3971ab
Merge pull request #2343 from dreampiggy/feature_watchkit_setImage_4.x
Add the support for watchOS to use View Category method (sd_setImageWithURL:) on WKInterfaceImage
2018-05-31 17:01:15 +08:00
DreamPiggy 799ef18c06 Add the support for watchOS to use View Category method (sd_setImageWithURL:) on WKInterfaceImage 2018-05-31 11:32:52 +08:00
DreamPiggy ee6bca1518
Merge pull request #2331 from dreampiggy/feature_watchkit_setImage
Feature watchOS WKInterfaceImage with sd_setImageWithURL
2018-05-30 22:01:56 +08:00
DreamPiggy dfe010273a
Merge pull request #2323 from dreampiggy/feature_FLAnimatedImageVIewOptimizationLevel
Add optimalFrameCacheSize && predrawingEnabled options for FLAnimatedImage
2018-05-30 21:58:55 +08:00
DreamPiggy bf3c0b42dc A little improvement for image progress code for UIView+WebCache.m 2018-05-30 21:42:40 +08:00
DreamPiggy 6661575432
Merge pull request #2340 from hulizhen/optimization/replace-synchronized
Replace @synchronized with dispatch_semaphore_t in SDWebImageManager
2018-05-30 15:28:20 +08:00