Commit Graph

1911 Commits

Author SHA1 Message Date
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
Lizhen Hu 3ee1b60678 Revert replacement of @synchronized in SDWebImageCombinedOperation 2018-05-30 14:57:41 +08:00
Lizhen Hu 0b8207b1d2 Refactor in SDWebImageManager 2018-05-30 13:58:47 +08:00
Lizhen Hu 1aced8aa62 Remove unused header file 2018-05-28 23:26:09 +08:00
Lizhen Hu 09020fac87 Replace @synchronized lock with dispatch_semaphore lock for SDWebImageCombinedOperation 2018-05-28 23:14:12 +08:00
Lizhen Hu 7dc38751e9 Use non-recursive lock for runningOperations in SDWebImageManager 2018-05-28 23:10:40 +08:00
Lizhen Hu a6e3907f26 Replace @synchronized with pthread_mutex_t & dispatch_semaphore_t in SDWebImageManager 2018-05-28 13:35:19 +08:00
DreamPiggy 76f7eacdd0
Merge pull request #2329 from zhongwuzw/fix-async
Minor optimize for dispatch_queue_async_safe
2018-05-25 13:20:09 +08:00
DreamPiggy 994bf0fe38 Add the support for watchOS to use View Category method (sd_setImageWithURL:) on WKInterfaceImage 2018-05-24 03:08:56 +08:00
DreamPiggy 522e729094
Merge pull request #2330 from dreampiggy/bugfix_watchOS_animated_image
Fix that watchOS UIImage+WebCache does not mark as available and cause crash
2018-05-24 02:06:33 +08:00
DreamPiggy 0471861d23 Fix that watchOS UIImage+WebCache does not mark as available and cause crash 2018-05-24 01:37:11 +08:00
DreamPiggy 3ee6c01b22
Merge pull request #2328 from zhongwuzw/fix-safe-async
Remove dispatch_queue_async_safe && optimize dispatch_main_async_safe
2018-05-23 11:31:07 +08:00
DreamPiggy 6d7d89cd3b
Merge branch '5.x' into fix-safe-async 2018-05-22 20:43:57 +08:00
zhongwuzw 7515f06b44 Minor optimize for dispatch_queue_async_safe 2018-05-22 20:34:41 +08:00
zhongwuzw 7d170d47d9 Remove dispatch_queue_async_safe && optimize dispatch_main_async_safe 2018-05-21 17:51:07 +08:00
DreamPiggy 42e9376db4
Merge pull request #2327 from dreampiggy/bugfix_macOS_incremental_decoding
Fix the progressive decoding bug on macOS. Including image orientation & SDAnimatedimageView
2018-05-21 17:37:18 +08:00
DreamPiggy a34133b864 Fix the progressive decoding bug on macOS. Including image orientation & SDAnimatedimageView 2018-05-21 15:50:06 +08:00
DreamPiggy 0a0bdc92db Merge branch 'master' of https://github.com/rs/SDWebImage into 5.x
# Conflicts:
#	SDWebImage/SDWebImageImageIOCoder.m
#	SDWebImage/SDWebImageWebPCoder.m
#	Tests/Tests/SDImageCoderTests.m
2018-05-17 11:24:47 +08:00
DreamPiggy e9527b393a Add optimalFrameCacheSize && predrawingEnabled options for FLAnimatedImage. It makes users to set optimal frame cache size of FLAnimatedImage after image load. 2018-05-16 15:35:55 +08:00
Bogdan Poplauschi 1f50833567
Merge pull request #2319 from dreampiggy/bugfix_5.x_image_cache_options
Bugfix 5.x image cache options
2018-05-11 13:15:28 +03:00
Bogdan Poplauschi 55d65569dc
Merge pull request #2318 from dreampiggy/bugfix_WebP_encode_color_mode
Fix WebP Encoding only works for RGBA8888 CGImage but not other color mode
2018-05-11 13:14:43 +03:00
DreamPiggy 55584b7e91 Remove one unused header 2018-05-10 14:49:48 +08:00
DreamPiggy 5df8f2a8b9 Fix image cache options issue, remove the unused `SDImageCacheTransformAnimatedImage` 2018-05-10 14:49:15 +08:00
DreamPiggy 18ee2352b0 Fix WebP Encoding only works for RGBA8888 CGImage but not other color mode.
Detect the current CGImage color mode, covert the all other case to RGB888/RGBA8888 using vImage
2018-05-10 14:22:51 +08:00
Bogdan Poplauschi 12fe445498
Merge pull request #2315 from dreampiggy/improvement_image_transition_user_interaction
Add `UIViewAnimationOptionAllowUserInteraction` as default options for convenient image transition
2018-05-09 12:50:53 +03:00
Bogdan Poplauschi df69e8c492
Merge pull request #2311 from dreampiggy/bugfix_WebP_encode_color_mode
Bugfix webp encode color mode
2018-05-09 12:47:07 +03:00
Bogdan Poplauschi 02b0f8cb14
Merge pull request #2312 from dreampiggy/feature_cache_query_options
Add options to specify query cache sync/async behavior
2018-05-09 12:41:57 +03:00
DreamPiggy e9c824c95f
Merge pull request #2314 from dreampiggy/fix_duplicated_force_decode_imageIO
Remove the duplicated process to force decode (draw on bitmap context) in Image/IO's progressive decoding.
2018-05-07 19:41:40 +08:00
DreamPiggy 7ae1c149ad
Merge pull request #2313 from dreampiggy/performance_image_orientation
Remove the extra calculation of image orientation for ImageIO coder
2018-05-07 18:17:06 +08:00
DreamPiggy ec37a48ba3 Add `UIViewAnimationOptionAllowUserInteraction` as default options for convenient image transition 2018-05-04 16:48:52 +08:00
DreamPiggy ab854e3575 Remove the duplicated process to force decode (draw on bitmap context) in Image/IO's progressive decoding. 2018-05-04 16:38:17 +08:00
DreamPiggy c6fa6e31fb Remove the extra calculation of image orientation for ImageIO coder 2018-05-04 16:30:39 +08:00
DreamPiggy d7ceb2764b Add options to specify query cache sync/async behavior. This can help for web cache manager to avoid flashing during cell reusing. 2018-05-03 21:00:20 +08:00