Commit Graph

421 Commits

Author SHA1 Message Date
DreamPiggy e4ed4ad790 Bump the limit to Xcode 12, because we need new iOS 14+ APIs check 2021-02-23 15:37:46 +08:00
DreamPiggy 98372a776c
Merge pull request #166 from SDWebImage/update_watchOS_demo_progressView
Update watchOS demo to watchOS 7, remove the custom indicator sample and use `ProgressView` instead
2021-02-23 15:30:46 +08:00
DreamPiggy 75a1b2cf50 Update watchOS demo to watchOS 7, remove the custom indicator sample and use `ProgressView` instead 2021-02-23 15:29:03 +08:00
DreamPiggy de29f0b0a6
Merge pull request #165 from SDWebImage/update_webimage_defaults_animating
Update the WebImage to defaults animatable
2021-02-23 14:52:28 +08:00
DreamPiggy 25a9b46cd0 Update the WebImage to defaults animatable 2021-02-23 14:47:51 +08:00
DreamPiggy 74d142deca
Merge pull request #164 from SDWebImage/bugfix_appear_webimage
Fix the issue sometime the `WebImage` appear/disappear logic wrong. Using UIKit/AppKit to detect the visibility
2021-02-23 14:40:18 +08:00
DreamPiggy b512e31d28 Fix the issue sometime the `WebImage` appear/disappear logic wrong. Using UIKit/AppKit to detect the visibility 2021-02-23 14:31:55 +08:00
DreamPiggy 5832951dd9
Merge pull request #162 from SDWebImage/bugfix_lazyvstack_recursive_update_freeze
Try to fix the recusive updateView when using AnimatedImage inside `ScrollView/LazyVStack`.
2021-02-22 19:46:19 +08:00
DreamPiggy 013a1b95ba
Merge pull request #163 from SDWebImage/bugfix_webimage_animated_leak
Fix the leak of WebImage with animation and NavigationLink.
2021-02-22 19:45:47 +08:00
DreamPiggy ad067f7b4e Protect when animatedImage does not have CGImage (not possible in real situation) 2021-02-22 19:45:16 +08:00
DreamPiggy 7f8a06588f Update the test case 2021-02-22 19:41:54 +08:00
DreamPiggy 8b1dfc01cf Fix the leak of WebImage with animation and NavigationLink. The leak is because of @State which may cause reference cycle 2021-02-22 19:33:27 +08:00
DreamPiggy 66ca5fbb83 Update the logic to be compatible with LazyVStack's resetting status behavior 2021-02-22 17:05:56 +08:00
DreamPiggy 3a7132a499 Try to fix the recusive updateView when using AnimatedImage inside `ScrollView/LazyVStack`. Because from iOS 14+, the @Published update will always trigger another `updateUIView` 2021-02-22 16:20:43 +08:00
DreamPiggy cf8d30810d
Merge pull request #160 from SDWebImage/update_example
Update the Example to make WebImage animatable by default
2021-02-19 14:59:29 +08:00
DreamPiggy b3530ac956 Update the Example to make WebImage animatable by default 2021-02-19 14:58:03 +08:00
DreamPiggy 7750264245
Merge pull request #159 from SDWebImage/bugfix_ios14
Remove the fix for EXIF image in WebImage, which is fixed by Apple in iOS 14
2021-02-19 14:41:50 +08:00
DreamPiggy 5e9d0f3e3d Remove the fix for EXIF image in WebImage, which is fixed by Apple in iOS 14 2021-02-19 14:35:25 +08:00
DreamPiggy 0c23726533
Merge pull request #127 from master-nevi/master
Update availability for all extensions for consistency
2020-07-22 10:32:26 +08:00
David Robles 62f332f711
Update PlatformView extension availability 2020-07-21 14:48:21 -07:00
David Robles 960f7205d6
Update ImageManager extension availability 2020-07-21 14:47:25 -07:00
David Robles b0b765579b
Update Image.Orientation extension availability 2020-07-21 14:46:23 -07:00
DreamPiggy 4c7f169e39 Released v1.5.0 version
Update the CHANGELOG.md
2020-06-01 17:23:04 +08:00
DreamPiggy 231627b921
Merge pull request #116 from SDWebImage/feature_convenient_transition_with_duration
Feature convenient transition with duration
2020-06-01 10:52:04 +08:00
DreamPiggy fbd5a53e1f Update the Example and Readme 2020-05-29 20:10:56 +08:00
DreamPiggy 111a2f6b8a Add the convenient API support to use SwiftUI transition with ease-in-out duration 2020-05-29 19:54:27 +08:00
DreamPiggy 28e68492ec
Merge pull request #98 from SDWebImage/travis_catalina
Update the Travis-CI to use Catalina and enable macOS test case
2020-05-12 20:20:02 +08:00
DreamPiggy fdd36a0566 Fix the macOS test case 2020-05-12 19:49:56 +08:00
DreamPiggy 62b4f2570d Update the Travis-CI to use Catalina and enable macOS test case 2020-05-12 17:05:10 +08:00
DreamPiggy 1ed96d9b08 Released v1.4.0 version
Update the CHANGELOG.md
2020-05-07 11:25:31 +08:00
DreamPiggy 3f2f135fe9
Merge pull request #109 from SDWebImage/feature_support_data_arg_2
Add the same overload method for onSuccess API, which introduce the image data arg. Keep the source code compatibility
2020-05-07 11:01:17 +08:00
DreamPiggy f36440f508 Update the test case about the new image data arg 2020-05-06 23:19:28 +08:00
DreamPiggy b174fee26b Add the same overload method for onSuccess API, which introduce the image data arg. Keep the source code compatibility 2020-05-06 23:10:20 +08:00
DreamPiggy 8a347dc4dc
Merge pull request #107 from SDWebImage/add_data_observable
Add the support for image data observable on ImageManager
2020-04-30 17:56:27 +08:00
DreamPiggy 82ae39a391 Released v1.3.4 version
Update the CHANGELOG.md
2020-04-30 15:59:27 +08:00
DreamPiggy f85b5eb941
Merge pull request #106 from SDWebImage/revert_performance_prefetch_memory
Revert the changes to prefetch the image url from memory cache
2020-04-30 15:54:05 +08:00
DreamPiggy 2341575cad Add the support for image data observable on ImageManager 2020-04-30 15:53:03 +08:00
DreamPiggy b927adbb79 Revert the changes to prefetch the image url from memory cache, because there are cases that the `onAppear` does not get called at all, which need at least update the remote URL. See #105 2020-04-30 15:21:41 +08:00
DreamPiggy 728e0701e0
Update README.md
Update the description on Which View to choose
2020-04-18 22:41:40 +08:00
DreamPiggy 8e61e4451e Released v1.3.3 version
Update the CHANGELOG.md
2020-04-15 20:11:18 +08:00
DreamPiggy 10ab2a2415
Merge pull request #102 from SDWebImage/hack_exif_webimage_rendering_aspect_ratio
Try to solve the SwiftUI bug of rendering EXIF UIImage in WebImage, as well as vector images
2020-04-15 20:07:40 +08:00
DreamPiggy 3982797ac4 Fix the watchOS compile issue 2020-04-15 19:47:58 +08:00
DreamPiggy 1b23e14577 Only apply the patch for EXIF 5-8 images, not including 1-4 images, I think this should be fixed by SwiftUI team :) 2020-04-15 19:18:19 +08:00
DreamPiggy c4a01c9ba2 Remove the extra cases for UIAnimatedImage, since SwiftUI may add support in the future. Currently grab the poster image does not do any performance benefit 2020-04-15 18:05:27 +08:00
DreamPiggy 438994f1c3 Support the case when UIImage has accessibilityLabel, should use correspond API instead 2020-04-15 17:39:27 +08:00
DreamPiggy d564aa5ca1 Only use CGImage based when the EXIF orientation is not equal to Up. I think SwfitUI will fix this issue in the future and we'd better use UIImage as much as possible 2020-04-15 17:31:44 +08:00
DreamPiggy 0a41337ed0 Try to solve the SwiftUI bug of rendering EXIF UIImage in WebImage. Now we use the Image(decorative:) API to grab the CGImage and orientation instead. For vector image, draw vector image into bitmap for rescue 2020-04-15 12:40:25 +08:00
DreamPiggy 14a3cce8e5 Released v1.3.2 version
Update the CHANGELOG.md
2020-04-14 22:39:02 +08:00
DreamPiggy c255043a0f
Merge pull request #100 from SDWebImage/module_export_sd
Automatically import SDWebImage when user write import SDWebImageSwiftUI
2020-04-14 22:36:14 +08:00
DreamPiggy 7c18cc0549 Remove the import of umbrella header in the SDWebImageSwiftUI.h, we now use Swift exported module instead 2020-04-14 22:06:42 +08:00