Commit Graph

3030 Commits

Author SHA1 Message Date
DreamPiggy 52dd3a11ea
Merge pull request #3146 from dreampiggy/fix_potential_cancel_before_start
Fix the case that we setFinished=YES before NSOperation started. This may cause exception from Foundation
2020-12-29 11:38:45 +08:00
DreamPiggy 9ef128f5a1 Update the code comments about status 2020-12-28 19:31:47 +08:00
DreamPiggy 5ce33b12ba Fix the rare case that we setFinished=YES before NSOperation started. This may cause exception from Foundation 2020-12-28 17:39:17 +08:00
DreamPiggy f5fd53b2d2 Bumped version to 5.10.1
update CHANGELOG
2020-12-25 16:38:55 +08:00
DreamPiggy ef9c1d6480
Merge pull request #3142 from dreampiggy/fix_race_condition_cancel_callback
Fix the race condition when user cancel the network loading will not trigger the completion block
2020-12-25 16:25:34 +08:00
DreamPiggy d8961a3e32 Remove the custom NSURLErrorCancelled case when URLSession task been cancelled 2020-12-25 14:32:38 +08:00
DreamPiggy d92c6cd945 Update the test case to check the return error domain and code 2020-12-24 14:52:36 +08:00
DreamPiggy 7313599a6c Added test case `test27DownloadShouldCallbackWhenURLSessionRunning` 2020-12-24 14:35:32 +08:00
DreamPiggy 9a010de0e8 Fix the race condition when user cancel the network loading will not trigger the completion block.
Now we do not relay on URLSession delegate timing, directly callback when cancelled.
2020-12-24 13:04:47 +08:00
DreamPiggy 68a6f83607
Create FUNDING.yml
Added Open Collective link
2020-12-16 12:59:44 +08:00
DreamPiggy 7a17674f7e
Merge pull request #3137 from phoney/feature/fixDeprecationWarnings
Fix deprecation warnings for OSSpinLock
2020-12-04 11:11:23 +08:00
Brian Stern cd2bcaadcb Fix deprecation warnings for OSSpinLock
If the deployment target was newer than the target that os_unfair_lock() became available deprecation warnings were generated for use of OSSpinLock. Now OSSpinLock isn't used if the deployment target is >= the OS version where os_unfair_lock() became available.
2020-12-03 10:52:21 -05:00
Kinarobin a9d9fa82fe
Merge pull request #3134 from Legonaftik/fix_typos_in_docs
Fix typos and markdown in docs
2020-11-30 17:06:20 +08:00
Vladimir Pavlov 79b0f5d433 Fix typos 2020-11-29 03:21:30 +03:00
DreamPiggy 16ccd761e8 Update README about the codedr plugin for AWebP && HEIC 2020-11-25 17:15:53 +08:00
DreamPiggy 775f6e0578 Update test case test35AnimatedImagePlaybackModeReversedBounce 2020-11-25 16:34:53 +08:00
DreamPiggy e857b78ca4 Bumped version to 5.10.0
update CHANGELOG
2020-11-22 18:26:48 +08:00
DreamPiggy a6857352b4
Merge pull request #3130 from dreampiggy/project_ios9_xcode11
Bumped the min deployment target version to iOS 9, macOS 10.11. Bumped the min Xcode version to Xcode 11
2020-11-22 18:10:37 +08:00
DreamPiggy 99c59ac52b Update test case to make it more solid 2020-11-22 12:57:32 +08:00
DreamPiggy ac66153ffb
Merge pull request #3118 from huangboju/feature/short_path
Shorten code indentation
2020-11-22 11:18:01 +08:00
DreamPiggy 91b8caf6d2 Update the Example and Podfile to iOS 9+ 2020-11-22 11:05:40 +08:00
DreamPiggy 6e34315e6c Bumped the min deployment target version to iOS 9, macOS 10.11. Bumped the min Xcode version to Xcode 11
This follows Apple's App Store submit rule, and user request from the dependency
2020-11-22 11:05:40 +08:00
DreamPiggy dd538591f3
Merge pull request #3115 from Insofan/gif
Add some animation playback mode
2020-11-21 23:51:20 +08:00
DreamPiggy f65ab801d0 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into gif 2020-11-20 18:50:14 +08:00
DreamPiggy 6453c6a2a2 Fix the test case to use a longer timeout 2020-11-20 18:49:20 +08:00
DreamPiggy 9b48425a77 Modify the test case `test17ThatMinimumProgressIntervalWorks` to make it more robust on CI environment 2020-11-20 18:25:32 +08:00
DreamPiggy 7a61a3339e Fix the random test case failure because when running next test case, previous test case's animation does not stop 2020-11-20 18:07:27 +08:00
Insomnia 6ecc8c5541 mod: animated test 33 2020-11-20 17:04:14 +08:00
Insomnia c69e80286b Merge branch 'master' into gif_bk 2020-11-20 16:02:18 +08:00
Insomnia d9409e6cd8 mod: 1. change playback mode getter 2. fix playback mode test typo 2020-11-20 15:44:27 +08:00
DreamPiggy af96d0b825
Merge pull request #3128 from dreampiggy/feature_replace_semaphore_with_os_unfair_lock_and_spinlock
Replace all current dispatch_semaphore usage into the os_unfair_lock, use OSSpinLock for lower firmware
2020-11-20 15:28:43 +08:00
DreamPiggy d406215cc9 For macCatalyst, which designed to be used on macOS 10.13, so don't need OSSpinLock 2020-11-20 14:48:14 +08:00
DreamPiggy 6962f8c131
Merge pull request #3129 from dreampiggy/feature_options_context_image_loader_protocol
Added the options and context arg for Image Loader custom protoocl, this can be used for advanced user to grab and check for context for current loading URL to process the logic
2020-11-20 11:52:19 +08:00
DreamPiggy 9365dad9b0 Update the built-in loaders for the new protocol methods 2020-11-19 16:22:44 +08:00
DreamPiggy 6f90bc083a Added the options and context arg for Image Loader custom protoocl, this can be used for advanced user to grab and check for context for current loading URL to process the logic. 2020-11-19 16:17:56 +08:00
DreamPiggy cbbf3285e8 Follow Apple's best practice to use lock for array insert/remove thread safe, replace all current dispatch_semaphore usage into the os_unfair_lock, use OSSpinLock for iOS 10- lower firmware 2020-11-19 15:49:45 +08:00
Bogdan Poplauschi 6465dc3a17 Added link to the Data Collection Practices (https://sdwebimage.github.io/DataCollection/index.html) 2020-11-16 20:41:10 +02:00
DreamPiggy 2c8ed9a2f3 GravatarBumped version to 5.9.5
update CHANGELOG
2020-11-13 17:29:59 +08:00
Insomnia 35628a2a3b add: playback mode test 2020-11-03 11:37:27 +08:00
DreamPiggy 264d7a490c
Merge pull request #3113 from MoZhouqi/master
Add animationImages support when using SDAnimatedImageView
2020-11-03 10:26:39 +08:00
Insomnia 05c6e5d70e mod: change description of animated player 2020-11-03 09:43:43 +08:00
jourhuang 5c88cf19ed Update SDImageCache.m 2020-10-31 22:18:31 +08:00
Zhouqi Mo 4e73d478a9 Add animationImages support when using SDAnimatedImageView 2020-10-30 15:36:56 +08:00
Insomnia 8c108d604f mod: 1. expose animated player 2. modify setup current frame 2020-10-30 11:54:39 +08:00
Insomnia 3926f1bc88 feat: animation playback mode done 2020-10-29 09:58:45 +08:00
Insomnia aa89511c74 sync 2020-10-28 18:13:00 +08:00
Insomnia 184c8768fa sync 2020-10-28 11:53:50 +08:00
Insomnia 310de419e7 sync 2020-10-27 22:03:41 +08:00
Insomnia 32d2a79cf8 add: 1. expose animation player 2. add playback mode enum 2020-10-25 19:28:13 +08:00
DreamPiggy 88b3ba211c Bumped version to 5.9.4
update CHANGELOG
2020-10-23 10:36:09 +08:00