Commit Graph

2565 Commits

Author SHA1 Message Date
DreamPiggy 6c36b7542a
Merge pull request #2874 from dreampiggy/fix_behavior_macOS_animatedimage_animates_and_set_image
Fix SDAnimatedImage on macOS use extra aniamtes property check, which is not intuitive and cause extra setup before usage
2019-10-27 05:31:21 +08:00
DreamPiggy 3d1382a1cb Update the shouldAnimate status when animating status changes, to avoid that macOS call `animates = NO`, `setImage:newImage`, `aniamtes = YES`, the animation does not restarted issue 2019-10-27 04:52:33 +08:00
DreamPiggy fc4497d4f9
Merge pull request #2873 from dreampiggy/bugfix_animated_image_macOS_pause_resume_speed
Fix the issue that SDAnimatedImageView on macOS will change the wrong duration speed when pause and resume again
2019-10-27 04:39:53 +08:00
DreamPiggy 8b14ca759d Revert the code to SDAnimatedImageView, which break the pause and reusme speed
Fix the issue that SDAnimatedImageView on macOS will change the wrong duration speed when pause and resume again
2019-10-27 04:08:25 +08:00
DreamPiggy a42a22ff88 Bumped version to 5.2.3
Update the CHANGELOG
2019-10-09 17:35:33 +08:00
DreamPiggy 6d67ed0143
Merge pull request #2863 from dreampiggy/bugfix_revert_apng_constants
Revert the change for APNG constants fix for iOS 8 devices which cause crash
2019-10-09 17:07:01 +08:00
DreamPiggy 456bfbac52 Revert the change for APNG constants fix for iOS 8 devices which cause crash, use previous deployment target macro check instead of runtime firmware version check 2019-10-09 16:09:59 +08:00
DreamPiggy 4ad718a1ed Update the readme about the AVIF format coder 2019-10-08 15:02:09 +08:00
DreamPiggy 0f02fa67a4 Update the readme about the features, add more SDWebImage 5.0 stuff 2019-10-06 01:05:42 +08:00
DreamPiggy 77d8dfb32c Update the readme with SwiftUI integration 2019-10-03 15:04:10 +08:00
DreamPiggy 39ecbe51de Bumped version to 5.2.2
Update the CHANGELOG
2019-10-02 16:41:55 +08:00
DreamPiggy 1254de0756
Merge pull request #2860 from dreampiggy/fix_warnings
Fix warnings when deployment target version set to iOS 13+
2019-10-02 16:39:00 +08:00
DreamPiggy 4ad976d2eb A little renaming of CVDisplayLink callback method 2019-10-02 15:27:45 +08:00
DreamPiggy f97c7d4d87 Change the CVDisplayLink to use the better way to get duration, fix warnings 2019-10-02 14:56:44 +08:00
DreamPiggy eb67ece614 Ignore the warning which can not been solved by code changes, like MD5 2019-10-02 14:56:16 +08:00
DreamPiggy 66f783cf7d Bumped version to 5.2.1
Update the CHANGELOG
2019-10-01 11:41:37 +08:00
DreamPiggy c294c0c6a7
Merge pull request #2856 from dreampiggy/fix_retain_cancel_token
Make the SDWebImageDownloadToken to not retain the completion block so that user don't need weak-strong dance
2019-10-01 11:28:06 +08:00
DreamPiggy a3a0260253 Refactory, remove the `cancel:` method on SDWebImageDownloader. This does the same thing as `token.downloadOperationCancelToken` since 5.1.0 we can always ensure `cancel will trigger a callback` 2019-09-30 13:41:11 +08:00
DreamPiggy 1096075ccb Change the token implementation to not retain the cancel token and completion block, which may it possible for user to retain the token in completion block without weak-strong dance. 2019-09-30 13:41:11 +08:00
DreamPiggy d0d19d23a2
Merge pull request #2857 from dreampiggy/fix_test_case
Try to fix the test case `test15DownloaderLIFOExecutionOrder`
2019-09-30 13:29:28 +08:00
DreamPiggy e8ee90b85e Try to fix the test case `test15DownloaderLIFOExecutionOrder`, because the queue dispatch delay, we add the next 8-14 urls just after url 7 start downloading 2019-09-30 12:36:39 +08:00
DreamPiggy 66dc0ee4e8 Update the readme with the contributor graph 2019-09-28 17:54:48 +08:00
DreamPiggy 302a547854 Update the readme, fix typo about supported formats 2019-09-27 17:28:25 +08:00
DreamPiggy 9c1682e37b Bumped version to 5.2.0 2019-09-27 12:17:21 +08:00
DreamPiggy 40b0b5acb4 update CHANGELOG 2019-09-27 12:16:19 +08:00
DreamPiggy fbf7eb2f46
Merge pull request #2854 from dreampiggy/revert_heic_default_coder
Revert animated heic coder from default coder list due to Apple's performance issue
2019-09-27 12:15:02 +08:00
DreamPiggy 4ba92b6749 Update the example with HEIC coder, this can be used to investigate future performance enhancement from Apple 2019-09-27 11:44:09 +08:00
DreamPiggy d91ea19768 Remove the HEIC coder from default coder list. Since it contains performance issue and may block main thread. Needs to check in the future iOS release 2019-09-27 11:41:00 +08:00
DreamPiggy 46bdb3b8c1
Merge pull request #2852 from dreampiggy/fix_fifo_order_policy
Fix the LIFO order inverse issue when adding new urls during previous url query
2019-09-27 11:17:17 +08:00
DreamPiggy 76a6beb029 Fix the LIFO execute order issue, we should make all previous operation dependent the new operation, Foundation will take care of dependency graph and calculate the order 2019-09-27 00:45:52 +08:00
DreamPiggy 902c619126 Added the test case `test15DownloaderLIFOExecutionOrder` to fix the LIFO order. See #2823 2019-09-26 22:49:31 +08:00
DreamPiggy 61f8ddeb8c Update the readme about markdown link, using the GitHub page instead of raw download link 2019-09-26 14:30:51 +08:00
DreamPiggy 23e06df752 Update the readme about Mac Catalyst, HEIC coder and contribution guide 2019-09-26 14:25:37 +08:00
DreamPiggy dfc118d2f7
Merge pull request #2849 from dreampiggy/feature_heics_animated_coder
Supports HEIC sequence (animated) image on iOS 13/macOS 10.15+
2019-09-25 14:57:37 +08:00
DreamPiggy 4638700886 Use the NSString static variable to avoid bridge twice. For HEIC and APNG constants 2019-09-24 16:05:53 +08:00
DreamPiggy 859c76fa9f Fix the Travis-CI test using iPhone 11 Pro (iOS 13.0) simulator with Apple Watch 2019-09-22 18:25:18 +08:00
DreamPiggy 164409d30a Fix the iOS 13 Test case 2019-09-22 17:20:57 +08:00
DreamPiggy 918427d39b Fix the Travis-CI test using iPhone 11 (iOS 13.0) simulator 2019-09-22 16:56:01 +08:00
DreamPiggy f80a2840c0 Fix the Travis-CI test issue for macOS 10.15 2019-09-22 16:03:45 +08:00
DreamPiggy 2afd943cd9 Add support for SDAnimatedImageRep for HEIC sequence 2019-09-22 16:02:38 +08:00
DreamPiggy 26a3402f16 Update the Travis-CI environment to Xcode 11, because the test case need this 2019-09-22 15:26:43 +08:00
DreamPiggy ae958381f1 Update the comments here about HEIC coder 2019-09-22 15:08:09 +08:00
DreamPiggy 1a32f90f9c Add test. case for HEIC animated imaged decoding && encoding 2019-09-22 15:06:03 +08:00
DreamPiggy 9b8712e04b Add HEICCoder (HEIF naming is taken by SDWebImageHEIFCoder repo), supports animated HEICS format as well 2019-09-22 15:05:30 +08:00
DreamPiggy 20c8adc22d
Merge pull request #2847 from dreampiggy/bugfix_mac_gif_loop_count
Fix the macOS SDAnimatedImageRep to match Netscape standard of GIF loop count, which should use 1 when there are no loop count information
2019-09-21 14:15:39 +08:00
DreamPiggy d20b25b72c Fix the unused code warning on test cases 2019-09-20 19:07:19 +08:00
DreamPiggy 7e83241c37 Fix the macOS SDAnimatedImageRep to match Netscape standard of GIF loop count, which should use 1 when there are no loop count information 2019-09-20 18:59:14 +08:00
Kinarobin d7ce577b90
Merge pull request #2846 from dreampiggy/refactory_imageio_animated_coder
Refactor APNG and GIF coder implementation with abstract base class
2019-09-20 18:43:48 +08:00
DreamPiggy a7ae1053ec Fix the test case issue. The loop count test case need another PR to fix 2019-09-20 17:44:38 +08:00
DreamPiggy a04ddceb3c Fix the public API configuration of CI build for framework target 2019-09-20 16:47:51 +08:00