DreamPiggy
2e7d526a69
Performance enhancement: Allows to use progressive decoding image to callback the completion when finished. Which can reduce the decoding pressure and animation loading delay
2021-03-04 18:46:29 +08:00
DreamPiggy
c82b7552b3
Merge pull request #3177 from Jackylee1992/patch-1
...
Update UIView+WebCache.m
2021-02-19 11:36:09 +08:00
jackylee
013223ca8e
Update UIView+WebCache.m
...
fix typo error from `callCompletedBlockClojure` to `callCompletedBlockClosure`
2021-02-13 23:56:56 +08:00
DreamPiggy
a6b6e44ead
Bumped version to 5.10.4
...
update CHANGELOG
2021-02-02 17:56:01 +08:00
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
kinarobin
784a29578c
not add protect in frameDuration method
2021-01-04 13:36:10 +08:00
kinarobin
e52686b452
change to IOAnimatedCoder
2021-01-02 21:27:05 +08:00
kinarobin
872b59e32a
Merge branch 'fix-ImageIO-encode/decode-crash' of https://github.com/kinarobin/SDWebImage into fix-ImageIO-encode/decode-crash
2021-01-02 18:12:30 +08:00
kinarobin
8ab5eb29cd
add test case
2021-01-02 18:11:57 +08:00
Kinarobin
500ff37b85
Merge branch 'master' into fix-ImageIO-encode/decode-crash
2021-01-02 17:41:30 +08:00
kinarobin
5a0e31b81b
Do not encode/decode when app terminated
2021-01-02 17:35:13 +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