Commit Graph

3127 Commits

Author SHA1 Message Date
Kinarobin b4bf250fd2
Merge pull request #3290 from kinarobin/remove-useless-import-in-uniform-type
Remove useless import with `UniformTypeIdentifiers `
2021-10-12 21:13:39 +08:00
kinarobin 7c62b2d9b3 remove useless import 2021-10-12 20:52:18 +08:00
Kinarobin e10c33bdd0
Merge pull request #3282 from kinarobin/fix-warning-in-uttype
Since `UTI` is an standard, we can use it directly to avoid warning on iOS 15
2021-10-12 20:48:36 +08:00
Kinarobin 0b59464d7d
Merge pull request #3286 from kinarobin/add-tvos-check-in-target-time-stamp
Add tvos check when use `targetTimestamp` in displaylink
2021-10-09 17:48:36 +08:00
kinarobin 9148de2c07 add tvos check in targetTimestamp 2021-10-09 17:31:11 +08:00
Kinarobin 353911612e
Merge pull request #3285 from kinarobin/port-travis-configuration-to-github-actions
Port travis configuration to github actions
2021-10-09 16:47:08 +08:00
kinarobin 653ebbc821 add a scheme name 2021-10-09 16:40:45 +08:00
kinarobin 490644e027 apply github actions 2021-10-09 16:30:38 +08:00
Kinarobin 7425221108
Merge pull request #3281 from SDWebImage/revert-3276-fix-get-image-source-crash
Revert "Fix image source release in iOS 15"
2021-10-09 15:16:22 +08:00
Kinarobin d0f27eb9af
Merge pull request #3284 from kinarobin/update-travis-ci-to-xcode13
Update travis ci to Xcode13
2021-10-08 11:12:13 +08:00
kinarobin a43e46f875 update travis ci to Xcode13 2021-10-08 11:10:49 +08:00
Kinarobin 900d15a5f4
Merge pull request #3283 from kinarobin/fix-test-error-for-macos
Fix test error
2021-10-08 10:51:44 +08:00
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 25f9d15b57 fix warning in uttype for ios15 2021-10-07 18:15:59 +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
Kinarobin a3f5647517
Revert "Fix image source release in iOS 15" 2021-10-07 10:20:00 +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