kinarobin
22c9a4e549
fix test error in tvos
2021-10-08 10:33:57 +08:00
kinarobin
3d108c86a1
fix test error in macos
2021-10-07 18:30:38 +08:00
Kinarobin
8c0753c4a5
Merge pull request #3280 from biscuitehh/bugfix/fix-promotion-display-issues
...
Fix ProMotion display issues
2021-10-07 14:56:33 +08:00
Michael Thomas
0076d8c447
Add negative duration check for unit tests
...
- The new`targetTimestamp` property causes the duration to be a negative value during the unit tests. Added an additional check to handle this case.
2021-10-05 16:18:00 -04:00
Michael Thomas
19540b3596
Use targetTimestamp in SDDisplayLink
2021-10-05 15:51:36 -04:00
lizhuoli
d636743952
update CHANGELOG
2021-09-30 17:43:04 +08:00
DreamPiggy
e0b8bf97d0
Merge pull request #3277 from dreampiggy/fix_pixel_ratio_thumbnail_calculation
...
Fix pixel ratio thumbnail calculation
2021-09-30 17:41:18 +08:00
lizhuoli
8a13cbb68c
Fix the pixel ratio calculation for thumbnail decoding
2021-09-30 17:39:13 +08:00
lizhuoli
894f061acc
Fix compile issue
2021-09-30 17:37:17 +08:00
DreamPiggy
923e175326
Merge pull request #3258 from GetToSet/sdanimatedimagerep-copy-semantic
...
Make SDAnimatedImageRep confirms to correct copy semantic
2021-09-30 17:29:09 +08:00
lizhuoli
da66643282
Bumped version to 5.12.0
...
update CHANGELOG
2021-09-30 17:25:05 +08:00
DreamPiggy
922c126bbf
Merge pull request #3239 from dreampiggy/behavior_weak_cache_default
...
Do a extra memory cache sync when weak cache feature enabled && Change the default value for `shouldUseWeakMemoryCache` to NO
2021-09-30 17:16:32 +08:00
DreamPiggy
2e824441ce
Merge pull request #3276 from kinarobin/fix-get-image-source-crash
...
Fix image source release in iOS 15
2021-09-30 16:35:09 +08:00
kinarobin
615e181257
fix image source release in advance
2021-09-29 11:17:12 +08:00
Ethan Wong
2b95a12541
Make SDAnimatedImageRep confirms to correct copy semantic
2021-08-11 23:42:27 +08:00
DreamPiggy
73cd294129
Merge pull request #3241 from dreampiggy/fix_cert_verity_optional
...
Change the default delegate method to allows optional cert in SSL verify, matches URLSession's behavior
2021-05-25 18:01:36 +08:00
DreamPiggy
1e7f7174b6
Merge pull request #3243 from dreampiggy/convenience_api_frame_count
...
Added `sd_imageFrameCount` convenient API for UIAinmatedImage/NSBitmapImageRep
2021-05-25 17:58:35 +08:00
DreamPiggy
a77e5f561e
Avoid extra calculation for sd_imageFrameCount
2021-05-25 16:08:53 +08:00
DreamPiggy
7f078d21ba
Adopt SDAnimatedImage for `sd_imageFrameCount`
2021-05-25 16:05:42 +08:00
DreamPiggy
4ae33983e0
Added `sd_imageFrameCount` convenient API for UIAinmatedImage/NSBitmapImageRep
...
Fix one issue when input UIAnimatedImage contains only 1 image
2021-05-25 15:43:46 +08:00
DreamPiggy
18eda252d2
Change the default delegate method to allows optional cert in SSL verify, matches URLSession's behavior
2021-05-23 11:36:39 +08:00
DreamPiggy
b1ee90dca6
Change the default value for `shouldUseWeakMemoryCache` to NO. This feature may effect a little query performance, so it's not suitable to enable by default.
2021-05-21 17:04:06 +08:00
DreamPiggy
e58a872daa
Do a extra memory cache sync when weak cache feature enabled. This can avoid the deallocation from imageView during `sd_setImageWithURL:`
...
This actually fix current weak cache feature's main use case. Before the weak cache may not works as function
2021-05-21 16:59:37 +08:00
DreamPiggy
fd326e3d51
Merge pull request #3238 from dreampiggy/fix_image_from_cache_api_behavior
...
Fix imageFromCacheForKey with options and context behavior, matching the async version one.
2021-05-21 15:43:14 +08:00
DreamPiggy
63a3d0b996
Merge pull request #3237 from kinarobin/fix-wrong-memory-cost
...
Fix wrong memory cost in `_UIAnimatedImage`
2021-05-21 15:37:27 +08:00
DreamPiggy
e83b76946a
Update the test for sync version API as well
2021-05-21 15:13:07 +08:00
kinarobin
426830d55f
change to AWebP
2021-05-21 14:57:14 +08:00
DreamPiggy
04c07f983f
Fix imageFromCacheForKey with options and context behavior, matching the async version one.
...
Support `SDImageCacheDecodeFirstFrameOnly` and `SDImageCacheMatchAnimatedImageClass`
2021-05-21 14:28:16 +08:00
kinarobin
22cd94d08a
fix wrong memory cast in _UIAnimatedImage
2021-05-21 14:06:26 +08:00
DreamPiggy
2e07701e50
Merge pull request #3236 from dreampiggy/fix_warning
...
Fix the warning, enable `APPLICATION_EXTENSION_API_ONLY` for all framework target
2021-05-21 11:50:32 +08:00
DreamPiggy
46912090f9
Fix the warning, enable `APPLICATION_EXTENSION_API_ONLY` for all framework target
2021-05-21 11:50:12 +08:00
DreamPiggy
0b304a867d
Merge pull request #3227 from dreampiggy/feature_acceptable_status_code_content_type
...
Feature: allow user to custom acceptable status code and content type
2021-05-11 16:17:43 +08:00
DreamPiggy
f3d68c9cc2
Added `SDWebImageErrorDownloadResponseKey` userInfo for better error report
2021-05-07 16:40:10 +08:00
DreamPiggy
43219b0739
Added test case `test29AcceptableStatusCodeAndContentType`
2021-05-07 16:26:52 +08:00
DreamPiggy
df7d56373d
Added the feature to config the status code and content type checking logic, do not hard-coded 200-400
2021-05-07 16:26:38 +08:00
DreamPiggy
041377680b
Merge pull request #3223 from Huang-Libo/patch-2
...
Correct document in SDWebImageDownloader
2021-04-26 11:16:31 +08:00
Huang-Libo
e1d928a10d
Correct document in SDWebImageDownloader
2021-04-25 23:25:35 +08:00
DreamPiggy
76dd4b4911
Bumped version to 5.11.1
...
update CHANGELOG
2021-04-23 20:33:53 +08:00
DreamPiggy
a4199067ef
Merge pull request #3221 from dreampiggy/bugfix_original_cache_miss_continue_download
...
Fix the bug that when querying original cache miss, the download process will be skipped. This is not designed behavior.
2021-04-23 19:50:30 +08:00
DreamPiggy
896c5f62f7
Fix the bug that when querying original cache miss, the download process will be skipped. This is not designed behavior.
2021-04-23 12:43:27 +08:00
DreamPiggy
e88df1f819
Merge pull request #3219 from dreampiggy/behavior_transformer_store_query_default_disk
...
Change the .originalStoreCaheType and .originalQueryCacheType into .disk, Now we will store the full image data into disk and re-query the full image data by default
2021-04-23 12:43:02 +08:00
DreamPiggy
72daa08a04
Merge pull request #3220 from Huang-Libo/patch-1
...
Fix spelling error in SDWebImageDownloaderOperation
2021-04-23 12:26:32 +08:00
Huang-Libo
f9a8de5684
Fix spelling error in SDWebImageDownloaderOperation
...
tokent -> token
2021-04-23 11:34:34 +08:00
DreamPiggy
a9ef21bd80
Change the .originalStoreCaheType and .originalQueryCacheType into [.disk]. Now we will store the full image data into disk and re-query the full image data by default, which makes it easy for transformer to avoid re-downloading the full size image data.
2021-04-22 17:34:53 +08:00
DreamPiggy
05a459e55b
Merge pull request #3210 from dreampiggy/bugfix_will_terminate_clear_disk_cache
...
Change the willTerminate auto clean cache logic into sync version
2021-04-11 14:45:10 +08:00
DreamPiggy
51176c7b74
Added new disk cache config `shouldRemoveExpiredDataWhenTerminate`
2021-04-11 12:53:54 +08:00
DreamPiggy
8f34f98c61
Change the willTerminate auto clean cache logic into sync version
2021-04-11 11:30:51 +08:00
DreamPiggy
15e16e9e7f
Merge pull request #3205 from dreampiggy/bugfix_session_invalid
...
Ensure the invalid URLSeesion will receive the cancel callback and does not trigger the any exception from framework
2021-04-08 14:44:01 +08:00
DreamPiggy
d452afdb54
Ensure the invalid URLSeesion will receive the cancel callback and does not trigger the any exception from framework
2021-04-07 11:03:56 +08:00
DreamPiggy
3fcf40d12f
Merge pull request #3206 from dreampiggy/revert_imageio_terminate_decode_crash
...
Revert the "Don't encode/decode image when app will terminate"
2021-04-07 11:02:44 +08:00