Commit Graph

2587 Commits

Author SHA1 Message Date
DreamPiggy 77830dd4f2 Add all the Test Case on tvOS platform, using the same code as iOS 2019-10-27 22:32:53 +08:00
DreamPiggy 72a8b3ed8e
Merge pull request #2876 from dreampiggy/fix_SDDisplayLink_test
Fix the SDDisplayLink issue of default value, add test cases
2019-10-27 22:31:19 +08:00
DreamPiggy 1442534f6d Fix the SDDisplayLink issue of default value, add test cases `testSDDisplayLink` 2019-10-27 21:47:09 +08:00
DreamPiggy 61d185d4ee Solve the merge conflict due to SDDisplayLink refactory, using the output time instead of now time of CVDisplayLink on macOS 2019-10-27 21:16:23 +08:00
DreamPiggy 39364483cc Merge branch '5.2.x'
# Conflicts:
#	SDWebImage/Core/SDAnimatedImageView.m
2019-10-27 20:43:09 +08:00
DreamPiggy bcf7576c31 Bumped version to 5.2.5
Update the CHANGELOG
2019-10-27 13:59:50 +08:00
DreamPiggy 15898ce32b
Merge pull request #2875 from dreampiggy/fix_macos_indicator_layout_center
Fix macOS SDWebImageIndicator center layout issue when indicator was initialized with 0 frame
2019-10-27 13:57:06 +08:00
DreamPiggy 61888409fb Fix macOS indicator center layout issue. Should use the frame origin instead of frame, which will cause issue if superView contains no zero bounds origin 2019-10-27 13:12:27 +08:00
DreamPiggy ae6ccf1652 Bumped version to 5.2.4
Update the CHANGELOG
2019-10-27 12:00:53 +08:00
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 bbf2c28f84
Merge pull request #2867 from dreampiggy/refactory_animated_player
Refactory animated player phase 1 - cross-platform display link implementation
2019-10-21 17:46:59 +08:00
DreamPiggy 4d917547ac Fix the NSTimer implementation for display link 2019-10-17 14:51:25 +08:00
DreamPiggy 37bf9f66d1 Change the implementation to use the cross-platform SDDisplayLink 2019-10-17 01:21:42 +08:00
DreamPiggy 7e85869e6c Refactory the display link with a cross-platform implementation, CADisplayLink. for iOS/tvOS, CVDDisplayLink for macOS, NSTimer for watchOS 2019-10-17 01:21:15 +08:00
DreamPiggy 75fb66c834
Merge pull request #2866 from dreampiggy/feature_response_modifier_data_decrypter
Feature response modifier data decrypter
2019-10-16 18:59:30 +08:00
DreamPiggy 5aab84df90 Fix the test case naming and documentation 2019-10-16 17:04:03 +08:00
DreamPiggy 34e736375e Refactory to seperate the response modifier and data decryptor, one for HTTP response, one for Data decrypt. 2019-10-15 20:16:52 +08:00
DreamPiggy 9b6d2b5691 Fix the typo on documentation 2019-10-15 17:47:52 +08:00
DreamPiggy 537b86a7c8 Update the documentation for request/response modifier 2019-10-15 16:56:04 +08:00
DreamPiggy d6fbaaff04 Add test case `test24ThatDownloadRequestModifierWorks `, including the base64 and zlib testing for both fileURL and webURL 2019-10-15 16:40:59 +08:00
DreamPiggy 6825b2c9be Fix the issue of response modifier, including Public header, initialize, etc 2019-10-15 16:40:59 +08:00
DreamPiggy c0602e6733 Add one convenient method to use base64 encoded image data 2019-10-15 15:02:03 +08:00
DreamPiggy 68d73f4cb2 Add the response modifier and data decrypter, which allows user to provide a modified version of URL Response and image data, like Gzip or other encoding form 2019-10-15 14:36:41 +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