Commit Graph

2982 Commits

Author SHA1 Message Date
DreamPiggy 40023d5668 Merge branch '5.8.x' of https://github.com/SDWebImage/SDWebImage 2020-07-16 21:38:53 +08:00
DreamPiggy 2f9ef53b99 Bumped version to 5.8.4
update CHANGELOG
2020-07-16 21:33:06 +08:00
kinarobin 0e0cc576da early return when image load canceled 2020-07-16 21:29:23 +08:00
kinarobin 4ed1ce29dc fix race condition when use transition 2020-07-16 21:29:23 +08:00
DreamPiggy 19ca248e93
Merge pull request #3053 from kinarobin/fix-race-condition-when-using-transition
Fix race condition when use transition but canceling an operation
2020-07-16 21:27:51 +08:00
kinarobin 8cde50d03d early return when image load canceled 2020-07-16 20:52:15 +08:00
DreamPiggy 5a34f2d468
Merge pull request #3052 from dreampiggy/fix_imageio_copy_mutable_dictionary_crash
Try to copy the local NSMutableDictionary before calling CGImageSourceCreateImageAtIndex, try to solve the rare crash inside ImageIO call stack.
2020-07-16 20:14:53 +08:00
kinarobin 088b356a1f fix race condition when use transition 2020-07-16 18:02:47 +08:00
DreamPiggy aba80b66c2 Try to copy the local NSMutableDictionary before calling CGImageSourceCreateImageAtIndex, try to solve the rare crash inside ImageIO call stack. 2020-07-16 14:26:51 +08:00
DreamPiggy e7b87885ae
Merge pull request #3048 from dreampiggy/feature_webp_ios14
Supports built-in WebP/AWebP codec from ImageIO for iOS 14/tvOS 14/macOS 11/watchOS 7
2020-07-15 17:58:11 +08:00
DreamPiggy 6fb20ce312 Refactory the implementation of that canDecode/canEncode, use single method with Set to check, instead of creating different internal files 2020-07-06 11:22:53 +08:00
DreamPiggy 53b2420789 Mark the API available for HEIC/AWebP coders, update the example 2020-07-06 10:55:01 +08:00
DreamPiggy d09ff5a654 Fix the SwiftPM support and Static library 2020-07-03 16:37:01 +08:00
DreamPiggy 8dbc0ac7d8 Add the test cases for WebP decoding. iOS 14 seems does not support Web Encoding currently 2020-07-03 15:53:35 +08:00
DreamPiggy 7bfd67a94f Update the Example of WebP coder for iOS/macOS/tvOS/watchOS 2020-07-03 12:55:49 +08:00
DreamPiggy 62a6ab8e71 Update the project settings for WebP coder 2020-07-03 12:55:49 +08:00
DreamPiggy 6eacb15067 Add support for built-in ImageIO WebP codec for iOS 14/tvOS 14/macOS 11/watchOS 7 2020-07-03 12:55:49 +08:00
DreamPiggy f876da5031 Bumped version to 5.8.3
update CHANGELOG
2020-07-02 11:06:08 +08:00
DreamPiggy 8a57e935b8
Merge pull request #3047 from dreampiggy/behavior_sdanimatedimage_encoding_animation
Add the support for that UIImage+MultiFormat methods on SDAnimartedImage, which supports encoding the animation like GIF/APNG/WebP with lower compression quality.
2020-07-02 10:42:54 +08:00
DreamPiggy 04cc6f682c Add the support for that UIImage+MultiFormat methods on SDAnimartedImage, which supports encoding the animation like GIF/APNG/WebP with lower compression quality. 2020-07-01 23:21:02 +08:00
DreamPiggy 4e2a52556c
Merge pull request #3046 from dreampiggy/fix_ios14_vector_image_rendering
Fix the issue of iOS 14 vector image rendering on SDAnimatedImageView
2020-07-01 22:42:52 +08:00
DreamPiggy 221aa2c905 Fix the wrong code use super.respondsToSelector, should use the superClass.instancesRespondToSelector to check super class itself contains the implementation 2020-07-01 19:33:19 +08:00
DreamPiggy 033bb5321f Fix the issue of iOS 14 vector image rendering on SDAnimatedImageView. Should call super method if need for best compatibility 2020-07-01 17:10:32 +08:00
DreamPiggy df8bd89a86 Bumped version to 5.8.2
update CHANGELOG
2020-06-23 21:33:36 +08:00
DreamPiggy 15fb09afa1
Merge pull request #3043 from dreampiggy/fix_ios14_animated_image_static_render
Fix the issue that SDAnimatedImageView can not render static image on iOS 14.
2020-06-23 21:20:56 +08:00
DreamPiggy bb7b1914e6 Fix the issue that SDAnimatedImageView can not render static image on iOS 14.
UIKit some internal behavior changes and we should always update the render layer if we have no `currentFrame`
2020-06-23 16:01:42 +08:00
DreamPiggy 28898e23fa
Merge pull request #3039 from henry2423/master
Fix the `maxPixelSize` logic issue will cause a upscale in SDImageIOAnimatedCoder
2020-06-23 11:13:03 +08:00
Henry Huang 4332c29740 Fix the `maxPixelSize` logic issue will cause a upscale in SDImageIOAnimatedCoder 2020-06-22 16:15:22 +08:00
DreamPiggy fe92b7aa3d Bumped version to 5.8.1
update CHANGELOG
2020-06-12 16:12:34 +08:00
DreamPiggy 6f5f8354fa
Merge pull request #3038 from dreampiggy/bugfix_embed_thumbnail_max_pixel_size
Change to use kCGImageSourceCreateThumbnailFromImageAlways to solve the issue when HEIC/JPEG contains an embed thumbnail but its size is much smaller than provided `maxPixelSize`
2020-06-12 16:04:19 +08:00
DreamPiggy 6a227343a6 Change to use kCGImageSourceCreateThumbnailFromImageAlways to solve the issue when HEIC/JPEG contains an embed thumbnail but its size is much smaller than provided `maxPixelSize` 2020-06-12 11:41:22 +08:00
DreamPiggy f8fa41218d
Merge pull request #3037 from dreampiggy/bugfix_request_modifier_nil
Fix the issue that the NSURLRequest method should not be nil, which may cause Crash
2020-06-12 11:29:32 +08:00
DreamPiggy 2d33fc8e6e Fix the issue that the NSURLRequest method should not be nil. 2020-06-12 11:21:55 +08:00
DreamPiggy 121a18568d
Merge pull request #3030 from PhilipDukhov/master
SDAnimatedImagePlayer seek returning nil image fix
2020-06-11 17:51:40 +08:00
Philip Dukhov 30053c2ac3 animated image seek frame test added 2020-06-11 12:35:36 +07:00
Philip Dukhov 7435113072 seek returning nil image fix 2020-06-02 13:58:53 +07:00
DreamPiggy b0ceb25747
Merge pull request #3027 from dreampiggy/feature_convenient_transition_with_duration
Added the convenient transition with duration APIs
2020-06-02 11:37:30 +08:00
DreamPiggy c9ef6ce541 Added the convenient transition with duration APIs 2020-06-02 10:50:34 +08:00
DreamPiggy 964864f243
Merge pull request #3010 from dreampiggy/travis_catalina
Update the Travis-CI to use Catalina and enable macCatalyst test case
2020-06-01 15:44:43 +08:00
DreamPiggy 16cd77203e Do not clean DerivedData before test, share the common cache 2020-06-01 12:56:07 +08:00
DreamPiggy df4153bdf3 Use New Build System for testing to re-use the compiled cache 2020-06-01 11:38:21 +08:00
DreamPiggy d946725274 Try to reduce the travis CI build time, avoid unused build 2020-06-01 10:56:30 +08:00
DreamPiggy a4e531b1e5 Update the Travis-CI to use Catalina and enable macCatalyst test case 2020-06-01 10:56:30 +08:00
DreamPiggy c4acfe5e81
Merge pull request #3026 from jstart/jstart/typo-cleanup
Fixing Typos throughout project
2020-06-01 10:50:55 +08:00
Christopher Truman 4c6f9201ba One more 2020-05-31 18:18:26 -07:00
Christopher Truman 05bd44e56e Fixing Typos throughout project 2020-05-31 17:30:01 -07:00
DreamPiggy ab80a9e3d1
Merge pull request #3015 from dreampiggy/fix_max_pixel_size_larger_than_image_size
Fix the issue that ImageIO max pixel size larger than image size will cause a upscale
2020-05-15 12:31:01 +08:00
DreamPiggy 34ec3b7bf1 Fix the issue that ImageIO max pixel size larger than image size will cause a upscale. This is not the documented behavior 2020-05-15 11:02:05 +08:00
DreamPiggy 5818cf70fd Bumped version to 5.8.0
update CHANGELOG
2020-05-11 11:31:38 +08:00
DreamPiggy f2f1daf7bb Update the comments about autoPlayAnimatedImage 2020-05-11 11:31:29 +08:00