DreamPiggy
f9b80167f4
Merge pull request #3167 from younata/no_data_copy_in_decoding
...
Don't unnecessarily copy image data in the Download Operation
2021-02-02 17:44:28 +08:00
DreamPiggy
8ae8bf83be
Merge pull request #3168 from pixelomer/master
...
Fix link to v3.7.6 in README.md
2021-02-02 15:41:47 +08:00
pixelomer
9a8f2d391f
Fix link to v3.7.6 in README.md
2021-02-02 10:31:43 +03:00
Rachel Brindle
60de72aa5b
Don't unnecessarily copy image data in the Downloader Operation
...
In the DownloaderOperation, we were copying the image data to an NSData, then immediately unassigning the imageData property. Presumably, this was done to prevent the imageData that would be decoded from having additional data added to it while we were decoding it. However, by unassigning the only other reference to it, we already prevented that.
In the SDImageIOCoders, use NSData-initWithData to allow the class cluster to hopefully prevent an unnecessary copy of the data
2021-02-01 18:16:20 -08:00
DreamPiggy
4aaca57fb2
Bumped version to 5.10.3
...
update CHANGELOG
2021-01-24 18:30:56 +08:00
DreamPiggy
27b37912df
Merge pull request #3157 from kinarobin/fix-query-image-to-cache-bug
...
Fixed the store cache type was specified to `SDImageCacheTypeDisk ` that pictures shouldn't cache to memory.
2021-01-21 17:02:19 +08:00
kinarobin
83183150bb
fix query disk image cache to memory bug
2021-01-15 11:48:58 +08:00
DreamPiggy
564d238f88
Bumped version to 5.10.2
...
update CHANGELOG
2020-12-29 11:41:01 +08:00
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