Commit Graph

2651 Commits

Author SHA1 Message Date
DreamPiggy 7ef9a314b1 Update the CHANGELOG for 5.4.0 2019-12-06 15:44:40 +08:00
DreamPiggy 421ed8fa8a
Merge pull request #2903 from dreampiggy/fix_thread_safe_datatask
Fix the thread safe issue with Downloader and DownloaderOperation during cancel
2019-12-06 14:21:02 +08:00
DreamPiggy 1601418d51 Remove one unused import 2019-12-05 19:40:45 +08:00
DreamPiggy 9dae0e7b96 Fix the thread safe issue with Downloader and DownloaderOperation during cancel 2019-12-05 19:33:10 +08:00
DreamPiggy bc9b488bf3 Bumped version to 5.4.0
Update the CHANGELOG
2019-12-05 19:26:18 +08:00
DreamPiggy 73daf38db8
Merge pull request #2902 from dreampiggy/fix_ensure_UIImage_associated_object
Using one global function to ensure we always sync all the UIImage category assocaited object status correctly inside our framework
2019-12-05 15:13:44 +08:00
DreamPiggy 7f0789aca9 memory cost should not be copied between different UIImage, it's a getter-only method in general 2019-12-04 16:18:52 +08:00
DreamPiggy 69d163fc37 Using one global function to ensure we always sync all the UIImage category assocaited object status correctly inside our framework 2019-12-03 21:21:07 +08:00
DreamPiggy 936d04f726 Fix the build issue on SDWebImage Static library target 2019-12-03 20:42:46 +08:00
DreamPiggy d6068191d7 Merge branch '5.3.x' 2019-12-03 20:05:19 +08:00
DreamPiggy 1f801b44ef Bumped version to 5.3.3
Update the CHANGELOG
2019-12-03 19:40:36 +08:00
Ben Cherry 9f6422b506 Support using NSCache delegate with SDMemoryCache default implementation 2019-12-03 19:30:22 +08:00
DreamPiggy 0139a8004e
Merge pull request #2899 from bcherry/nscache_delegate
Support using NSCache delegate with SDMemoryCache default implementation
2019-12-02 20:36:47 +08:00
DreamPiggy 96bb7b753e
Merge pull request #2900 from dreampiggy/feature_wait_store_cache
Add `SDWebImageWaitStoreCache`, which wait for all the async disk cache written finished and then callback, useful for advanced user who want to touch the cache right in completion block
2019-12-02 20:34:16 +08:00
DreamPiggy e37d07bda8 Add `SDWebImageWaitStoreCache`, which wait for all the async disk cache written finished and then callback, useful for advanced user who want to touch the cache right in completion block 2019-11-29 15:02:16 +08:00
DreamPiggy 6d7a68e07e
Merge pull request #2898 from dreampiggy/feature_extended_metadata_disk_cache
Allows advanced user to read/write extended metadata associated with image data from disk cache
2019-11-29 14:58:43 +08:00
DreamPiggy 5c1351a2fd Added `test47DiskCacheExtendedData` test case 2019-11-28 21:02:26 +08:00
DreamPiggy 5f2a9695d8 Add the test case for SDFileAttributeHelper, fix the issue that associated object is lost 2019-11-28 19:49:51 +08:00
Ben Cherry dd2c5263c8 Support using NSCache delegate with SDMemoryCache default implementation 2019-11-26 10:22:35 -08:00
DreamPiggy 9aa4ac1ca7 Rename the NSFileManager+ExtendedAttributes into the SDFileAttributeHelper, because it does not have any reply on NSFileManager API 2019-11-25 21:53:12 +08:00
DreamPiggy 1df1d6a3ce Using the new NSKeyedArchive method on iOS 11+, use try catch on the old fireware to protect runtime crash 2019-11-25 20:10:35 +08:00
DreamPiggy 9f470954c4 Change the id<NSCoding> into id<NSObject, NSCoding>, to support directlly usage like isKindOfClass 2019-11-25 17:05:27 +08:00
DreamPiggy 46b0c4bae8 Use the NSCoding object instead of `NSData`, make it possible to directlly get the extended data from memory cache without unarhive by user. 2019-11-25 15:43:31 +08:00
DreamPiggy 7c8d3225c8 Rename the the extended data to bind it into the UIImage object, which make it compatible for memory cache 2019-11-24 01:33:08 +08:00
DreamPiggy 892a7ad892 Add the feature to allows advanced user to provided extended data associarted with image data, used for scale factor saving, rich link metadata saving, etc 2019-11-23 18:50:39 +08:00
DreamPiggy 74526bdde4 Bumped version to 5.3.2
Update the CHANGELOG
2019-11-22 16:22:42 +08:00
DreamPiggy d1be404b63 Remove the untracked DS_Store file 2019-11-22 16:16:20 +08:00
DreamPiggy 2e4107e21e
Merge pull request #2895 from ZXIOU/fixAnimatedImageBugs
Fix animated image playback bugs
2019-11-22 14:23:37 +08:00
zxiou dd8ea8f7fb delete IDEWorkspaceChecks 2019-11-22 11:49:57 +08:00
zxiou d5da5dbef7 delete useless files 2019-11-21 19:32:11 +08:00
zxiou fe0e42afc2 fix the core render of SDAnimatedImagePlayer and fix assignment animationRepeatCount does not work
Signed-off-by: zxiou <zhangxu6@xiaomi.com>
2019-11-21 19:17:44 +08:00
DreamPiggy 7adc385b7d Bumped version to 5.3.1
Update the CHANGELOG
2019-11-09 15:17:33 +08:00
DreamPiggy 92d173e221
Merge pull request #2888 from dreampiggy/bugfix_animated_player_when_invisible
Fix the case even when Animated Image View is not visible, user calll startAnimating can still do animation
2019-11-09 14:53:38 +08:00
DreamPiggy 983dd59e4f Add one test case for this behavior: `test14AnimatedImageViewStopPlayingWhenHidden` 2019-11-09 13:48:27 +08:00
DreamPiggy 29027a693a Update the test case for animated image view format test 2019-11-09 03:10:18 +08:00
DreamPiggy eef82411c4 Add a double check on SDAnimatedImageView's startAnimating, don't actually do animation when not visible 2019-11-08 22:34:47 +08:00
DreamPiggy b75c227433 Do not cause the display link to fire before user calling `startPlaying` method 2019-11-08 22:23:50 +08:00
DreamPiggy 48909c2a74 Bumped version to 5.3.0
Update the CHANGELOG
2019-11-06 21:56:41 +08:00
DreamPiggy 387944bbc1
Merge pull request #2886 from dreampiggy/feature_runloop_mac
Support the runloop mode control for macOS.  Which can be useful when user want to pause animation when drag the mouse, or presenting modal window
2019-11-06 20:19:22 +08:00
DreamPiggy ed9696f65b SDDisplayLink on macOS, if runloopMode is nil (remove all), don't callback at all, match iOS/tvOS/watchOS behavior. 2019-11-06 14:32:08 +08:00
DreamPiggy 323e038aaf Support the runloop mode control for macOS. Which can be useful when user want to pause animation when drag the mouse, or open the Save/Open modal window 2019-11-06 14:32:08 +08:00
DreamPiggy 253a5eb7f2
Merge pull request #2885 from dreampiggy/feature_animated_player_rate
Feature supports to control the AnimatedImage View/Player 's play rate
2019-11-06 14:27:13 +08:00
DreamPiggy 867da45caf Rename playRate to playbackRate, match the Apple API naming 2019-11-06 01:18:49 +08:00
DreamPiggy 4e157a84f9 Check playRate in advance to avoid querying to frame duration 2019-11-06 01:00:16 +08:00
DreamPiggy 25e96717d6 Remove the cocoapods spec source to get benefit from 1.8.0+ CDN source 2019-11-06 00:55:05 +08:00
DreamPiggy a6e515208b Add animated image playback rate config. Allows user to control the animation speed 2019-11-05 23:11:53 +08:00
DreamPiggy f7821b8285
Merge pull request #2882 from dreampiggy/refactory_animated_player_phase2
Refactory AnimatedImageView with player backend, supports more rendering target like WatchKit/SwiftUI
2019-11-05 21:23:09 +08:00
DreamPiggy aa3d2225db Update the example with toggle animation button 2019-11-05 20:50:13 +08:00
DreamPiggy 64b4c24535 Code indent garden 2019-11-05 11:36:00 +08:00
DreamPiggy 2c723aa2a3 Add protect code again for animated player 2019-11-05 11:30:18 +08:00