Commit Graph

2598 Commits

Author SHA1 Message Date
DreamPiggy 9461bd5c11 Update the WatchKit demo with the `SDAnimatedPlayer` to show the simple usage 2019-11-04 03:59:48 +08:00
DreamPiggy b0d6825842 Fix the header of that animated player 2019-11-04 03:52:52 +08:00
DreamPiggy 5f74f0aa23 Update all the comments about aniamted player 2019-11-04 03:24:21 +08:00
DreamPiggy 1fe5fb28af Refactory the `SDAnimatedImageView` implementation. Put all animation calculation logic into `SDAnimatedPlayer`. Refactory the animated progressive implementation to directly get the coder 2019-11-04 02:52:27 +08:00
DreamPiggy c8b84c7575 Add a new optional method for SDAnimatedImage, because we want to do refactory of `Progressive Animated Loading` 2019-11-04 02:21:28 +08:00
DreamPiggy 5d5679a75b Add SDDeviceHelper to hold the memory calculation method, instead of that Static function 2019-11-03 22:40:56 +08:00
DreamPiggy 469d2c5e9b
Merge pull request #2877 from dreampiggy/test_tvOS_platform
Test: Add tvOS platform into core test case
2019-10-28 14:59:22 +08:00
DreamPiggy a4888081ea Change the "Tests" iOS target name into "Tests iOS", since now we have 3 test target, to help for readability 2019-10-28 13:18:12 +08:00
DreamPiggy 57ce5eb459 Add the tvOS flag for codecov 2019-10-28 13:11:57 +08:00
DreamPiggy 0db2169665 Update tvOS available check on test case 2019-10-27 22:48:43 +08:00
DreamPiggy b1f8cf5ed2 Update travis-CI script to add tvOS test coverage 2019-10-27 22:32:53 +08:00
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