Commit Graph

3362 Commits

Author SHA1 Message Date
Ethan Wong 30c9563511
Fix crash of accessing mainScreen from background thread on 10.11. 2022-04-02 15:12:57 +08:00
Inso 7c66265ee8 refactor: refactor store data to memory cache logic 2022-03-30 15:24:32 +08:00
Inso 6a2eaf707e feat: store image data 2022-03-28 12:41:22 +08:00
DreamPiggy 2e63d0061d Bumped version to 5.12.5
update CHANGELOG
2022-03-16 15:58:50 +08:00
DreamPiggy 4974524a47
Merge pull request #3334 from dreampiggy/bugfix_force_decode_use_image_renderer_and_argb8888
Workaround iOS 15+ force decode again using Image Renderer(preferred) and RGB888
2022-03-16 15:55:31 +08:00
DreamPiggy 874b674cb6 Unify the colorspace on macOS/watchOS choosen for draw to use sRGB firstly
Remove the unused OS version check
2022-03-16 15:06:55 +08:00
DreamPiggy 368825eff6 Update the test case, now when using force decode, the image orientation is always UP 2022-03-15 22:56:03 +08:00
DreamPiggy c0cc245632 Update AppKit SDGraphics convenient API to use main screen colorspace
Update macOS demo URL as well
2022-03-15 22:38:48 +08:00
DreamPiggy fce270631f Use RGBX8888 for non-alpha image force decoding, which workaround iOS 15+ issue 2022-03-15 22:22:08 +08:00
DreamPiggy 51d1b50ef4 Fix the false decode implementation using the ImageRenderer instead of directly create CGContext 2022-03-15 17:54:44 +08:00
lizhuoli 0228390699 Bumped version to 5.12.4
update CHANGELOG
2022-03-08 15:26:41 +08:00
DreamPiggy ba66c41fd6
Merge pull request #3332 from dreampiggy/workaround_prefer_input_cgimage_bitmap_info
Workaround the iOS 15+ Force Decode may return black image because of CoreGraphics
2022-03-08 15:17:04 +08:00
lizhuoli 3eb553d251 Update the test case again for checking non-blank image 2022-03-04 17:55:07 +08:00
lizhuoli 6dcbec2b87 Update the test case and use Xcode 13.2.1 with iOS 15.3+ simulator 2022-03-04 11:37:44 +08:00
lizhuoli 64902962e3 Fix the test case by adding a little inaccuracy for blur effect result 2022-03-03 21:49:49 +08:00
lizhuoli 1b0fdd8cb6 Fix the iOS 15+ draw image blank because that CoreGraphics may not transcode on BGRX8888 pixel format context 2022-03-03 20:49:57 +08:00
lizhuoli 4589048fdd Fix the some transform test case does not check the color hex 2022-03-03 19:43:59 +08:00
DreamPiggy 020481d5c8
Merge pull request #3327 from soondl/fix/imageView_blink_diskDataSync
Fix imageView blinks with option 'SDImageCacheQueryDiskDataSync'
2022-03-03 18:27:06 +08:00
soondl 4302777c6f Add test case `testUIImageViewSetImageWithURLDiskSync` 2022-02-20 19:01:12 +09:00
soondl 8445f2b1a7 Fix imageView blinks with option 'SDImageCacheQueryDiskDataSync' 2022-02-20 16:08:40 +09:00
lizhuoli 2c53f531f1 Bumped version to 5.12.3
update CHANGELOG
2022-01-27 21:46:56 +08:00
DreamPiggy 81ea1c9a9c
Merge pull request #3321 from ty0x2333/fix_scale_down_image
Fix #3320 `decodedAndScaledDownImageWithImage` does not render the image completely
2022-01-27 21:34:48 +08:00
ty0x2333 33ff352d4e Add test case: test07ThatDecodeAndScaleDownAlwaysCompleteRendering 2022-01-26 15:46:21 +08:00
ty0x2333 8ce13403bc Fix the bug that `decodedAndScaledDownImageWithImage` does not render the image completely due to the loss of precision. 2022-01-26 07:12:35 +08:00
DreamPiggy 0cd9a6485a
Merge pull request #3318 from zakishaheen/patch-1
update URL for SDWebImageSVGKitPlugin in readme
2022-01-19 15:01:01 +08:00
Zaki aa99c37799
update URL for SDWebImageSVGKitPlugin 2022-01-18 16:53:30 -08:00
lizhuoli 0fff0d7505 GravatarBumped version to 5.12.2
update CHANGELOG
2021-12-31 17:21:57 +08:00
DreamPiggy 89313b997e
Merge pull request #3312 from JPlay/fix_animated_image_total_duration_calculate
fix: Eliminates accumulated floating point errors.
2021-12-31 16:28:32 +08:00
zhuoyan cecc984e3f fix: Eliminates accumulated floating point errors. 2021-12-30 11:31:54 +08:00
Kinarobin 8d558cb79f
Merge pull request #3304 from mmdock/patch-2
Don't copy image data
2021-11-26 10:07:39 +08:00
Morgan Dock b02f6f9e45
Don't copy image data 2021-11-25 00:17:08 -06:00
DreamPiggy 602af15947
Merge pull request #3293 from dreampiggy/bugfix_image_loaders_can_request
Fix the support for `SDImageLoadersManager` for canRequest API check, should be compatible with both old and new API
2021-10-19 11:15:56 +08:00
lizhuoli c0fbe7e3ef Update test case 2021-10-18 21:44:01 +08:00
lizhuoli 4274158949 Fix the support for `SDImageLoadersManager` for canRequest API check, should be compatible with both old and new API 2021-10-18 21:30:34 +08:00
lizhuoli a72df48494 Bumped version to 5.12.1
update CHANGELOG
2021-10-15 19:01:43 +08:00
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